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.
- package/dist/vvplot.esm.js +843 -737
- package/dist/vvplot.esm.min.js +18 -18
- package/dist/vvplot.global.js +843 -737
- package/dist/vvplot.global.min.js +18 -18
- package/package.json +2 -1
package/dist/vvplot.esm.min.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import{computed as X,isRef as Xn,reactive as Pt,unref as Mt,getCurrentScope as Dl,onScopeDispose as ql,watch as Ct,getCurrentInstance as Vo,hasInjectionContext as Bo,inject as N1,toValue as He,shallowRef as M1,readonly as Vl,watchEffect as Bl,onMounted as Io,Fragment as lt,useTemplateRef as qt,nextTick as On,openBlock as P,createElementBlock as I,mergeProps as J,renderSlot as Ro,toDisplayString as zt,createCommentVNode as Ot,createTextVNode as dt,renderList as ut,createBlock as bt,toHandlers as Tt,normalizeStyle as D1,createVNode as re,createElementVNode as Nt,normalizeProps as se,resolveDynamicComponent as Xe,guardReactiveProps as v1,useModel as Ae,createPropsRestProxy as Ho,mergeModels as d1,ref as an,useId as Il,Teleport as Rl,useSlots as Hl,useAttrs as Xl,provide as wr,withCtx as Yl}from"vue";function Xo(t){return Dl()?(ql(t),!0):!1}const Yn=new WeakMap,_l=(...t)=>{var e;const n=t[0],i=(e=Vo())==null?void 0:e.proxy;if(i==null&&!Bo())throw new Error("injectLocal must be called in setup");return i&&Yn.has(i)&&n in Yn.get(i)?Yn.get(i)[n]:N1(...t)};function zl(t){if(!Xn(t))return Pt(t);const e=new Proxy({},{get(n,i,r){return Mt(Reflect.get(t.value,i,r))},set(n,i,r){return Xn(t.value[i])&&!Xn(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Pt(e)}function Le(t){return zl(X(t))}const Fl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ul=Object.prototype.toString,Gl=t=>Ul.call(t)==="[object Object]",Wl=()=>{};function kr(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function _n(t){return Array.isArray(t)?t:[t]}function Yo(t,e,n){return Ct(t,e,{...n,immediate:!0})}const Pn=Fl?window:void 0;function ni(t){var e;const n=He(t);return(e=n?.$el)!=null?e:n}function Kl(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,a,s,u)=>(c.addEventListener(a,s,u),()=>c.removeEventListener(a,s,u)),r=X(()=>{const c=_n(He(t[0])).filter(a=>a!=null);return c.every(a=>typeof a!="string")?c:void 0}),o=Yo(()=>{var c,a;return[(a=(c=r.value)==null?void 0:c.map(s=>ni(s)))!=null?a:[Pn].filter(s=>s!=null),_n(He(r.value?t[1]:t[0])),_n(Mt(r.value?t[2]:t[1])),He(r.value?t[3]:t[2])]},([c,a,s,u])=>{if(n(),!c?.length||!a?.length||!s?.length)return;const d=Gl(u)?{...u}:u;e.push(...c.flatMap(f=>a.flatMap(h=>s.map(m=>i(f,h,m,d)))))},{flush:"post"}),l=()=>{o(),n()};return Xo(n),l}function Zl(){const t=M1(!1),e=Vo();return e&&Io(()=>{t.value=!0},e),t}function _o(t){const e=Zl();return X(()=>(e.value,!!t()))}const Ql=Symbol("vueuse-ssr-width");function Jl(){const t=Bo()?_l(Ql,null):null;return typeof t=="number"?t:void 0}function ta(t,e={}){const{window:n=Pn,ssrWidth:i=Jl()}=e,r=_o(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=M1(typeof i=="number"),l=M1(),c=M1(!1),a=s=>{c.value=s.matches};return Bl(()=>{if(o.value){o.value=!r.value;const s=He(t).split(",");c.value=s.some(u=>{const d=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(f||h);return f&&m&&(m=i>=kr(f[1])),h&&m&&(m=i<=kr(h[1])),d?!m:m});return}r.value&&(l.value=n.matchMedia(He(t)),c.value=l.value.matches)}),Kl(l,"change",a,{passive:!0}),X(()=>c.value)}function ea(t={}){const{window:e=Pn}=t,n=M1(1),i=ta(()=>`(resolution: ${n.value}dppx)`,t);let r=Wl;return e&&(r=Yo(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:Vl(n),stop:r}}function zo(t,e,n={}){const{window:i=Pn,...r}=n;let o;const l=_o(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},a=X(()=>{const d=He(t);return Array.isArray(d)?d.map(f=>ni(f)):[ni(d)]}),s=Ct(a,d=>{if(c(),l.value&&i){o=new ResizeObserver(e);for(const f of d)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return Xo(u),{isSupported:l,stop:u}}function na(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const H1=()=>!1,ii=Object.assign,ia="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ar=na(ia),ra=Symbol(""),oa=Symbol(""),sa=Symbol(""),la=Symbol(""),Fo={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function aa(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Fo}}function ri(t,e=!1,n=Fo,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const Sr=new Uint8Array([123,123]),Cr=new Uint8Array([125,125]);function Mr(t){return t>=97&&t<=122||t>=65&&t<=90}function ne(t){return t===32||t===10||t===9||t===12||t===13}function Te(t){return t===47||t===62||ne(t)}function cn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Ft={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ca{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Sr,this.delimiterClose=Cr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Sr,this.delimiterClose=Cr}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,c=r;for(;l+1<c;){const a=l+c>>>1;this.newlines[a]<e?l=a:c=a}o=l}else for(let l=r-1;l>=0;l--)if(e>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Te(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ne(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Ft.TitleEnd||this.currentSequence===Ft.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Ft.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ft.Cdata.length&&(this.state=28,this.currentSequence=Ft.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Ft.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):Mr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Te(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Te(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(cn("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ne(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Mr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ne(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ne(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ne(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Te(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Te(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||Te(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||Te(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Te(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ne(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ne(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ne(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Ft.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Ft.ScriptEnd[3]?this.startSpecial(Ft.ScriptEnd,4):e===Ft.StyleEnd[3]?this.startSpecial(Ft.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Ft.TitleEnd[3]?this.startSpecial(Ft.TitleEnd,4):e===Ft.TextareaEnd[3]?this.startSpecial(Ft.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Ft.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function Nr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Uo(t,e){const n=Nr("MODE",e),i=Nr(t,e);return n===3?i===!0:i!==!1}function un(t,e,n,...i){return Uo(t,e)}function ua(t){throw t}function ha(t){}function fa(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const da=t=>t.type===4&&t.isStatic;function ma(t){switch(t){case"Teleport":case"teleport":return ra;case"Suspense":case"suspense":return oa;case"KeepAlive":case"keep-alive":return sa;case"BaseTransition":case"base-transition":return la}}function ga(t,e){return!!(t&&da(t)&&t.content===e)}function $r(t){return t.type===7&&t.name==="pre"}const ya=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function pa(t){for(let e=0;e<t.length;e++)if(!ne(t.charCodeAt(e)))return!1;return!0}const Go={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:H1,isPreTag:H1,isIgnoreNewlineTag:H1,isCustomElement:H1,onError:ua,onWarn:ha,comments:!1,prefixIdentifiers:!1};let xt=Go,$1=null,Me="",Ut=null,gt=null,ee="",ke=-1,De=-1,Li=0,Ee=!1,oi=null;const St=[],Lt=new ca(St,{onerr:be,ontext(t,e){X1(Yt(t,e),t,e)},ontextentity(t,e,n){X1(t,e,n)},oninterpolation(t,e){if(Ee)return X1(Yt(t,e),t,e);let n=t+Lt.delimiterOpen.length,i=e-Lt.delimiterClose.length;for(;ne(Me.charCodeAt(n));)n++;for(;ne(Me.charCodeAt(i-1));)i--;let r=Yt(n,i);r.includes("&")&&(r=xt.decodeEntities(r,!1)),si({type:5,content:nn(r,!1,Dt(n,i)),loc:Dt(t,e)})},onopentagname(t,e){const n=Yt(t,e);Ut={type:1,tag:n,ns:xt.getNamespace(n,St[0],xt.ns),tagType:0,props:[],children:[],loc:Dt(t-1,e),codegenNode:void 0}},onopentagend(t){Er(t)},onclosetag(t,e){const n=Yt(t,e);if(!xt.isVoidTag(n)){let i=!1;for(let r=0;r<St.length;r++)if(St[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&be(24,St[0].loc.start.offset);for(let l=0;l<=r;l++){const c=St.shift();en(c,e,l<r)}break}i||be(23,Wo(t,60))}},onselfclosingtag(t){const e=Ut.tag;Ut.isSelfClosing=!0,Er(t),St[0]&&St[0].tag===e&&en(St.shift(),t)},onattribname(t,e){gt={type:6,name:Yt(t,e),nameLoc:Dt(t,e),value:void 0,loc:Dt(t)}},ondirname(t,e){const n=Yt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ee&&i===""&&be(26,t),Ee||i==="")gt={type:6,name:n,nameLoc:Dt(t,e),value:void 0,loc:Dt(t)};else if(gt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ri("prop")]:[],loc:Dt(t)},i==="pre"){Ee=Lt.inVPre=!0,oi=Ut;const r=Ut.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=Ma(r[o]))}},ondirarg(t,e){if(t===e)return;const n=Yt(t,e);if(Ee&&!$r(gt))gt.name+=n,Ie(gt.nameLoc,e);else{const i=n[0]!=="[";gt.arg=nn(i?n:n.slice(1,-1),i,Dt(t,e),i?3:0)}},ondirmodifier(t,e){const n=Yt(t,e);if(Ee&&!$r(gt))gt.name+="."+n,Ie(gt.nameLoc,e);else if(gt.name==="slot"){const i=gt.arg;i&&(i.content+="."+n,Ie(i.loc,e))}else{const i=ri(n,!0,Dt(t,e));gt.modifiers.push(i)}},onattribdata(t,e){ee+=Yt(t,e),ke<0&&(ke=t),De=e},onattribentity(t,e,n){ee+=t,ke<0&&(ke=e),De=n},onattribnameend(t){const e=gt.loc.start.offset,n=Yt(e,t);gt.type===7&&(gt.rawName=n),Ut.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&be(2,e)},onattribend(t,e){if(Ut&>){if(Ie(gt.loc,e),t!==0)if(ee.includes("&")&&(ee=xt.decodeEntities(ee,!0)),gt.type===6)gt.name==="class"&&(ee=Zo(ee).trim()),t===1&&!ee&&be(13,e),gt.value={type:2,content:ee,loc:t===1?Dt(ke,De):Dt(ke-1,De+1)},Lt.inSFCRoot&&Ut.tag==="template"&>.name==="lang"&&ee&&ee!=="html"&&Lt.enterRCDATA(cn("</template"),0);else{let n=0;gt.exp=nn(ee,!1,Dt(ke,De),0,n),gt.name==="for"&&(gt.forParseResult=xa(gt.exp));let i=-1;gt.name==="bind"&&(i=gt.modifiers.findIndex(r=>r.content==="sync"))>-1&&un("COMPILER_V_BIND_SYNC",xt,gt.loc,gt.arg.loc.source)&&(gt.name="model",gt.modifiers.splice(i,1))}(gt.type!==7||gt.name!=="pre")&&Ut.props.push(gt)}ee="",ke=De=-1},oncomment(t,e){xt.comments&&si({type:3,content:Yt(t,e),loc:Dt(t-4,e+3)})},onend(){const t=Me.length;for(let e=0;e<St.length;e++)en(St[e],t-1),be(24,St[e].loc.start.offset)},oncdata(t,e){(St[0]?St[0].ns:xt.ns)!==0?X1(Yt(t,e),t,e):be(1,t-9)},onprocessinginstruction(t){(St[0]?St[0].ns:xt.ns)===0&&be(21,t-1)}}),Tr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,va=/^\(|\)$/g;function xa(t){const e=t.loc,n=t.content,i=n.match(ya);if(!i)return;const[,r,o]=i,l=(d,f,h=!1)=>{const m=e.start.offset+f,y=m+d.length;return nn(d,!1,Dt(m,y),0,h?1:0)},c={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=r.trim().replace(va,"").trim();const s=r.indexOf(a),u=a.match(Tr);if(u){a=a.replace(Tr,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,s+a.length),c.key=l(d,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=l(h,n.indexOf(h,c.key?f+d.length:s+a.length),!0))}}return a&&(c.value=l(a,s,!0)),c}function Yt(t,e){return Me.slice(t,e)}function Er(t){Lt.inSFCRoot&&(Ut.innerLoc=Dt(t+1,t+1)),si(Ut);const{tag:e,ns:n}=Ut;n===0&&xt.isPreTag(e)&&Li++,xt.isVoidTag(e)?en(Ut,t):(St.unshift(Ut),(n===1||n===2)&&(Lt.inXML=!0)),Ut=null}function X1(t,e,n){{const o=St[0]&&St[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=xt.decodeEntities(t,!1))}const i=St[0]||$1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,Ie(r.loc,n)):i.children.push({type:2,content:t,loc:Dt(e,n)})}function en(t,e,n=!1){n?Ie(t.loc,Wo(e,60)):Ie(t.loc,ba(e,62)+1),Lt.inSFCRoot&&(t.children.length?t.innerLoc.end=ii({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ii({},t.innerLoc.start),t.innerLoc.source=Yt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Ee||(i==="slot"?t.tagType=2:Lr(t)?t.tagType=3:ka(t)&&(t.tagType=1)),Lt.inRCDATA||(t.children=Ko(o)),r===0&&xt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&xt.isPreTag(i)&&Li--,oi===t&&(Ee=Lt.inVPre=!1,oi=null),Lt.inXML&&(St[0]?St[0].ns:xt.ns)===0&&(Lt.inXML=!1);{const l=t.props;if(!Lt.inSFCRoot&&Uo("COMPILER_NATIVE_TEMPLATE",xt)&&t.tag==="template"&&!Lr(t)){const a=St[0]||$1,s=a.children.indexOf(t);a.children.splice(s,1,...t.children)}const c=l.find(a=>a.type===6&&a.name==="inline-template");c&&un("COMPILER_INLINE_TEMPLATE",xt,c.loc)&&t.children.length&&(c.value={type:2,content:Yt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function ba(t,e){let n=t;for(;Me.charCodeAt(n)!==e&&n<Me.length-1;)n++;return n}function Wo(t,e){let n=t;for(;Me.charCodeAt(n)!==e&&n>=0;)n--;return n}const wa=new Set(["if","else","else-if","for","slot"]);function Lr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&wa.has(e[n].name))return!0}return!1}function ka({tag:t,props:e}){if(xt.isCustomElement(t))return!1;if(t==="component"||Aa(t.charCodeAt(0))||ma(t)||xt.isBuiltInComponent&&xt.isBuiltInComponent(t)||xt.isNativeTag&&!xt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(un("COMPILER_IS_ON_ELEMENT",xt,i.loc))return!0}}else if(i.name==="bind"&&ga(i.arg,"is")&&un("COMPILER_IS_ON_ELEMENT",xt,i.loc))return!0}return!1}function Aa(t){return t>64&&t<91}const Sa=/\r\n/g;function Ko(t){const e=xt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Li)r.content=r.content.replace(Sa,`
|
|
2
|
-
`);else if(pa(r.content)){const o=t[i-1]&&t[i-1].type,l=t[i+1]&&t[i+1].type;!o||!l||e&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&Ca(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=Zo(r.content))}return n?t.filter(Boolean):t}function Ca(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function Zo(t){let e="",n=!1;for(let i=0;i<t.length;i++)ne(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function si(t){(St[0]||$1).children.push(t)}function Dt(t,e){return{start:Lt.getPos(t),end:e==null?e:Lt.getPos(e),source:e==null?e:Yt(t,e)}}function Ie(t,e){t.end=Lt.getPos(e),t.source=Yt(t.start.offset,e)}function Ma(t){const e={type:6,name:t.rawName,nameLoc:Dt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function nn(t,e=!1,n,i=0,r=0){return ri(t,e,n,i)}function be(t,e,n){xt.onError(fa(t,Dt(e,e)))}function Na(){Lt.reset(),Ut=null,gt=null,ee="",ke=-1,De=-1,St.length=0}function $a(t,e){if(Na(),Me=t,xt=ii({},Go),e){let r;for(r in e)e[r]!=null&&(xt[r]=e[r])}Lt.mode=xt.parseMode==="html"?1:xt.parseMode==="sfc"?2:0,Lt.inXML=xt.ns===1||xt.ns===2;const n=e&&e.delimiters;n&&(Lt.delimiterOpen=cn(n[0]),Lt.delimiterClose=cn(n[1]));const i=$1=aa([],t);return Lt.parse(Me),i.loc=Dt(0,t.length),i.children=Ko(i.children),$1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");function T1(t){return t==null?[]:t.flatMap(e=>e.type==lt?T1(e.children):e.type=="template"?T1(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class c1 extends String{static#t=new Map;constructor(e){const n=String(e);if(c1.#t.has(n))return c1.#t.get(n);super(n),c1.#t.set(n,this)}}class u1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(u1.#t.has(n))return u1.#t.get(n);super(n),u1.#t.set(n,this)}}class Ye{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new c1(e);if(typeof e=="number"||e instanceof Number)return new u1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof c1||e instanceof u1}}class Qo{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class _e extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=li(Array.from(e).filter(i=>!(i instanceof Ye)&&i!=null).map(i=>String(i))).sort((i,r)=>Or(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>Or(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new Qo(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,_e.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof Ye?i:this.mapping[i]);return n.level=this,n}}function t1(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function Fe(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="object"&&t!==null&&typeof t.valueOf()!="number"&&typeof t.valueOf()!="bigint"}function ft(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const At={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(t1)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(t1)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(t1)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(t1)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(t1)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,a)=>c-a);let r=(t.length-1)*e,o=Math.floor(r),l=Math.ceil(r);return o==l?t[o]:t[o]*(l-r)+t[l]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(t1)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,l)=>o<l?o:l,1/0),r=Array.from(t).reduce((o,l)=>o>l?o:l,-1/0);return Object.assign([i,r],{min:i,max:r})}},jt={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+(l[r]??0)+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function Gt(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]!==void 0&&(e[i]=n[i]);return e},{})}function qe(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function li(t,e=null,n=null){let i=new Map;for(let r in t){let o=e?e(t[r]):t[r];i.has(o)?n&&i.set(o,n(i.get(o),t[r])):i.set(o,t[r])}return Array.from(i.values())}function Or(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function Be(t,...e){return Array.isArray(t)?(t=t.filter(n=>typeof n=="function"),t.length===0?!1:(t.forEach(n=>n(...e)),!0)):typeof t!="function"?!1:(t(...e),!0)}function Oe(t,{min:e,max:n}){return t<e||t>n?NaN:t}function yt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function ai(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function _t(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function Jo(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!Jo(t[r],e[r]))return!1;return!0}function Ta(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(l=>Jo(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function Ea(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),l=n.findIndex(c=>c.every((a,s)=>a===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function Zt(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,l)=>{if(Array.isArray(l)){if(o==null)return l.length;if(o!=l.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let l=Object.fromEntries(n.map(a=>[a,Array.isArray(t[a])?t[a][o]:t[a]])),c=i.findIndex(a=>n.every(s=>a[s]===l[s]));c===-1&&(i.push(l),c=i.length-1),r.push(c)}return r.categories=i,r}function Oi(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Ht(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}const zn={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function La(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(c){let a=c.childNodes.length;for(;a--;){const s=c.childNodes[a];s.nodeType===Node.COMMENT_NODE?c.removeChild(s):s.nodeType===Node.ELEMENT_NODE&&(n(s),s.getAttribute("style")==""&&s.removeAttribute("style"),s.getAttribute("class")==""&&s.removeAttribute("class"))}}let i=t.cloneNode(!0),r=Array.from(t.querySelectorAll("foreignObject")),o=Array.from(i.querySelectorAll("foreignObject"));for(let c=0;c<r.length;c++){let a=r[c],s=o[c],u=r[c].querySelector("canvas");if(!u)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",u.toDataURL()),d.setAttribute("x",a.getAttribute("x")),d.setAttribute("y",a.getAttribute("y")),d.setAttribute("width",a.getAttribute("width")),d.setAttribute("height",a.getAttribute("height")),s.parentNode.replaceChild(d,s)}for(let c of i.querySelectorAll(".vvplot-interactive,foreignObject"))c.remove();return n(i),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),zn[e]||(e=""),i.setAttribute("width",t.scrollWidth/zn[e]+e),i.setAttribute("height",t.scrollHeight/zn[e]+e),i.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(i)}const ts={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18,grid_width:1,grid_width_major:2},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},plot:{margin:20,padding_h:50,padding_v:30},legend:{spacing:4},selection:{background:"#00000020"}},es={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},Oa={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},Pa={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},ja={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},Da={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},qa={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"}},Va={axis:null};function Ba(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=Gt(e[i],n[i]);return e??void 0},{})}function Ia(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,plot:{margin_x:l,margin_y:c,margin_h:a,margin_v:s,padding_x:u,padding_y:d,padding_h:f,padding_v:h,...m}={},...y}=t;return e?(n=Gt(n,o),i=Gt(i,r),m.margin_h=c===void 0?a:c,m.margin_v=l===void 0?s:l,m.padding_h=d===void 0?f:d,m.padding_v=u===void 0?h:u):(n=Gt(n,r),i=Gt(i,o),m.margin_h=l===void 0?a:l,m.margin_v=c===void 0?s:c,m.padding_h=u===void 0?f:u,m.padding_v=d===void 0?h:d),{axis_h:n,axis_v:i,plot:m,...y}}function Ra(t){return{axis:{h:Gt(...["axis","axis_h"].map(e=>t?.[e])),v:Gt(...["axis","axis_v"].map(e=>t?.[e])),left:Gt(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Gt(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Gt(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Gt(...["axis","axis_h","axis_bottom"].map(e=>t?.[e]))},plot:{margin:{left:["margin","margin_h","margin_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["margin","margin_h","margin_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["margin","margin_v","margin_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["padding","padding_h","padding_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["padding","padding_v","padding_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const Ha={base:ts,default:es,light:Oa,classic:qa,gray:Pa,dark:ja,linedraw:Da,void:Va},Xa={scale_attrs:[],coord_scale(t,e){return null},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return null}};let Et=jt.sum;const Ya={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0;if(t.x){let r=Et(e.x?.apply?.(t.x)??t.x,n),o=Et(r,t.width?.map?.(y=>-y/2)??-.5),l=Et(r,t.width?.map?.(y=>+y/2)??.5),c=Et(t.lwisker,i),a=Et(t.Q1,i),s=Et(t.median,i),u=Et(t.Q3,i),d=Et(t.uwisker,i),f=jt.apply((y,{y:b,$raw:A},T)=>Et(b,T).map((S,$)=>({x:y,y:S,$raw:A[$]})),r,t.outliers??[],i),h=Et(t.min,i),m=Et(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:m}}else if(t.y){let r=Et(e.y?.apply?.(t.y)??t.y,i),o=Et(r,t.height?.map?.(y=>-y/2)??-.5),l=Et(r,t.height?.map?.(y=>+y/2)??.5),c=Et(t.lwisker,n),a=Et(t.Q1,n),s=Et(t.median,n),u=Et(t.Q3,n),d=Et(t.uwisker,n),f=jt.apply((y,{x:b,$raw:A},T)=>Et(b,T).map((S,$)=>({x:S,y,$raw:A[$]})),r,t.outliers??[],n),h=Et(t.min,n),m=Et(t.max,n);return{y:r,ymin:o,ymax:l,lwisker:c,Q1:a,median:s,Q3:u,uwisker:d,outliers:f,$xmin:h,$xmax:m,$ymin:o,$ymax:l}}return{}},get_range(t,e){if(e=="x")return t.x||(t.min??[]).concat(t.max??[]);if(e=="y")return t.y||(t.min??[]).concat(t.max??[])},validate(t){return[t.$xmin,t.$xmax,t.$ymin,t.$ymax].some(e=>isNaN(e))?null:t}},_a={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>({x:+(e?.x?.[c.x]??c.x)+(n?.[l]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[l]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let e1=jt.sum;const za={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=t.xnudge??0,l=t.ynudge??0,c=e1(e.x?.apply?.(t.cx)??t.cx,o),a=e1(e.y?.apply?.(t.cy)??t.cy,l);return{cx:c,cy:a,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=jt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return e1(t.cx??[],n).concat(e1(t.cx??[],jt.opposite(n))??[])}if(e=="y"){let n=jt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return e1(t.cy??[],n).concat(e1(t.cy??[],jt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let Y1=jt.sum;const Fa={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Y1(e.x?.apply?.(t.x)??t.x,n),o=Y1(e.y?.apply?.(t.y)??t.y,i),l=Y1(e.x?.apply?.(t.xend)??t.xend,n),c=Y1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Pr=jt.sum;const Ua={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Pr(e.x?.apply?.(t.x)??t.x,n),o=Pr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let _1=jt.sum;const Ga={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=_1(e.x?.apply?.(t.x)??t.x,n),o=_1(e.y?.apply?.(t.y)??t.y,i),l=_1(e.x?.apply?.(t.xend)??t.xend,n),c=_1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let jr=jt.sum;const Wa={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=jr(e.x?.apply?.(t.x)??t.x,n),o=jr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},Ka={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,l)=>o.map(c=>({x:+(e?.x?.[c.x]??c.x)+(n?.[l]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[l]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let z1=jt.sum;const Za={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=z1(e.x?.apply?.(t.xmin)??t.xmin,n),o=z1(e.x?.apply?.(t.xmax)??t.xmax,n),l=z1(e.y?.apply?.(t.ymin)??t.ymin,i),c=z1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Qa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=e.x?.apply?.(t.x)??t.x,i=e.y?.apply?.(t.y)??t.y,r=t.xnudge?.map(c=>+c),o=t.ynudge?.map(c=>+c);return{points:t.points.map((c,a)=>c.map(s=>({x:+(e?.x?.[s.x]??s.x)+(r?.[a]??0)+n[a],y:+(e?.y?.[s.y]??s.y)+(o?.[a]??0)+i[a]})))}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x")return(t.points??[]).flatMap((n,i)=>n.map(r=>r.x+t.x[i]));if(e=="y")return(t.points??[]).flatMap((n,i)=>n.map(r=>r.y+t.y[i]))},validate(t){return Array.isArray(t.points)?t:null}};let n1=jt.sum;const Ja={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=n1(e.x?.apply?.(t.x)??t.x,n),o=n1(e.y?.apply?.(t.y)??t.y,i),l=n1(r,t.dx),c=n1(o,t.dy);return{x:r,y:o,xend:l,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(n1(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(n1(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let Dr=jt.sum;const tc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=Dr(e.x?.apply?.(t.x)??t.x,n),o=Dr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let F1=jt.sum;const ec={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=F1(e.x?.apply?.(t.x)??t.x,n),o=F1(e.y?.apply?.(t.y)??t.y,i),l=F1(e.x?.apply?.(t.xend)??t.xend,n),c=F1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let U1=jt.sum;const nc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,l=U1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=U1(r,t.width?.map?.(u=>+u/2)??.5,n),a=U1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=U1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:c,ymin:a,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=jt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=jt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=jt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=jt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Se=Object.freeze(Object.defineProperty({__proto__:null,blank:Xa,boxplot:Ya,curve:_a,ellipse:za,line:Fa,markdown:Ua,markdownsegment:Ga,point:Wa,polygon:Ka,rect:Za,shape:Qa,stick:Ja,text:tc,textsegment:ec,tile:nc},Symbol.toStringTag,{value:"Module"})),ic=Object.assign(function(t,{position:e="stack",width:n=.9,height:i=.9}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let r=t.x?"x":"y",o=t[r];if(o==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(o.some(h=>typeof h=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let l=Object.keys(t).filter(h=>!h.startsWith("$")),c=Zt(Object.fromEntries(l.map(h=>[h,t[h]]))),a=Zt({group:c??0,value:o}),s=Map.groupBy(t.$raw,(h,m)=>a.categories[a[m]]),u=Array.from(s.values()),d=Array.from(s.keys()),f={$raw:u,$group:d.map(h=>h.group)};for(let h of l)f[h]=d.map(m=>m.group).map(m=>c.categories[m][h]);if(r=="x"?(f.x=d.map(h=>h.value),f.height=u.map(h=>h.length)):(f.y=d.map(h=>h.value),f.width=u.map(h=>h.length)),e=="stack"){let h=Object.groupBy(f.$group,(y,b)=>c.categories[y][r]),m=d.map(y=>0);for(let y in h){let b=0;for(let A of h[y])m[A]=b,b+=u[A].length}r=="x"?(f.y=f.height.map((y,b)=>m[b]+y/2),f.width=d.map(y=>n)):(f.x=f.width.map((y,b)=>m[b]+y/2),f.height=d.map(y=>i))}else if(e=="dodge"){let h=Object.groupBy(f.$group,(y,b)=>c.categories[y][r]),m=f.$group.map(y=>h[c.categories[y][r]]);r=="x"?(f.y=f.height.map(y=>y/2),f.width=m.map(y=>n/y.length),f.xnudge=m.map((y,b)=>(f.xnudge?.[b]??0)+((y.indexOf(f.$group[b])+.5)/y.length-.5)*n)):(f.x=f.width.map(y=>y/2),f.height=m.map(y=>i/y.length),f.ynudge=m.map((y,b)=>(f.ynudge?.[b]??0)+((y.indexOf(f.$group[b])+.5)/y.length-.5)*i))}else r=="x"?(f.y=f.height.map(h=>h/2),f.width=d.map(h=>n)):(f.x=f.width.map(h=>h/2),f.height=d.map(h=>i));return f},{core_attrs:["x","y","xnudge","ynudge"]}),rc=Object.assign(function(t,{position:e="dodge",width:n=.9,height:i=.9}){let r=["x","y"].filter(k=>t[k]==null);if(r.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${r.join('", "')}"`);let o=t.x.some(Fe),l=t.y.some(Fe);if(o&&l)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!o&&!l)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[c,a]=o?["y","x"]:["x","y"],s=Object.keys(t).filter(k=>k!=c&&!k.startsWith("$")),u=Zt(Object.fromEntries(s.map(k=>[k,t[k]]))),d=Zt({group:u??0,cate:t[a]}),f=Map.groupBy(d.map((k,v)=>v),(k,v)=>d.categories[d[v]]),h=Array.from(f.keys()),m=Array.from(f.values()).map(k=>k.map(v=>t.$raw[v])),y=Array.from(f.values()).map(k=>k.map(v=>t[c][v])),b=y.map(k=>At.min(k)),A=y.map(k=>At.quantile(k,.25)),T=y.map(k=>At.quantile(k,.5)),S=y.map(k=>At.quantile(k,.75)),$=y.map(k=>At.max(k)),E=y.map((k,v)=>S[v]-A[v]),C=y.map((k,v)=>Math.max(b[v],A[v]-1.5*E[v])),L=y.map((k,v)=>Math.min($[v],S[v]+1.5*E[v])),g=Array.from(f.values()).map((k,v)=>{let w=k.filter(D=>t[c][D]<C[v]||t[c][D]>L[v]);return{[c]:w.map(D=>t[c][D]),$raw:w.map(D=>t.$raw[D])}}),p={$raw:m,$group:h.map(k=>k.group),min:b,lwisker:C,Q1:A,median:T,Q3:S,uwisker:L,max:$,outliers:g};if(e=="dodge"){let k=Object.groupBy(p.$group,(w,D)=>u.categories[w][a]),v=p.$group.map(w=>k[u.categories[w][a]]);o?(p.width=v.map(w=>n/w.length),p.xnudge=v.map((w,D)=>(p.xnudge?.[D]??0)+((w.indexOf(p.$group[D])+.5)/w.length-.5)*n)):(p.height=v.map(w=>i/w.length),p.ynudge=v.map((w,D)=>(p.ynudge?.[D]??0)+((w.indexOf(p.$group[D])+.5)/w.length-.5)*i))}else o?p.width=h.map(k=>n):p.height=h.map(k=>i);for(let k of s)p[k]=h.map(v=>v.group).map(v=>u.categories[v][k]);return p},{core_attrs:["x","y","xnudge","ynudge"]}),oc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=Zt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Zt({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Oi({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),sc=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="area"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(r.some(m=>typeof m!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=qr[n],!n)throw new Error(`kernel must be one of ${Object.keys(qr).map(m=>`"${m}"`).join(", ")}`);let o=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),l=Zt(Object.fromEntries(o.map(m=>[m,t[m]]))),c=Zt({group:l??new Array(r.length).fill(0)}).map((m,y,b)=>b.categories[m]),a=Map.groupBy(t.$raw,(m,y)=>c[y]),s=Array.from(a.values()),u=Array.from(a.keys()),d=Array.from(Map.groupBy(r,(m,y)=>c[y]).values()),f={$raw:s,$group:u.map(m=>m.group)},h=d.map(m=>{let y=lc.nrd0(m),{min:b,max:A}=At.extent(m);b-=3*y,A+=3*y;let T=(A-b)/(e-1),S=Array.from({length:e},(E,C)=>b+C*T),$=i==="count"?m.length:1;return S.map(E=>[E,At.mean(m.map(C=>n((E-C)/y)))/y*$])});for(let m of o)f[m]=u.map(y=>l.categories[y.group][m]);return t.x?f.points=h.map(m=>m.map(([y,b])=>({x:y,y:b}))):f.points=h.map(m=>m.map(([y,b])=>({x:b,y}))),f},{core_attrs:["x","y","xnudge","ynudge"]}),lc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=At.sd(t),n=At.quantile(t,.75)-At.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=At.sd(t),n=At.quantile(t,.75)-At.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},qr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},ac=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=Zt(Object.fromEntries(i.map(f=>[f,t[f]]))),o=Zt({group:r??new Array(t.x.length).fill(0)}).map((f,h,m)=>m.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(l.values()),a=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(Oi({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let m=f.reduce(($,E)=>$+E.x,0)/h,y=f.reduce(($,E)=>$+E.y,0)/h;if(h<2)return{};let b=f.reduce(($,E)=>$+(E.x-m)**2,0)/(h-1),A=f.reduce(($,E)=>$+(E.x-m)*(E.y-y),0)/(h-1),T=f.reduce(($,E)=>$+(E.y-y)**2,0)/(h-1),S=(b*T-A*A)*s;return{cx:m,cy:y,A:T/S,B:-A/S,C:b/S}}),d={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)d[f]=a.map(h=>h.group).map(h=>r.categories[h][f]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),cc=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=At.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(m,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=Zt(Object.fromEntries(o.map(f=>[f,t[f]]))),c=Zt({group:l??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,m)=>m.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(a.values()),u=Array.from(a.keys()),d={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)d[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:m,ymin:y=s.map(()=>0),...b})=>({xmin:f,xmax:h,ymin:y,ymax:m,...b}))(d):(({upper:f,lower:h,count:m,xmin:y=s.map(()=>0),...b})=>({xmin:y,xmax:m,ymin:f,ymax:h,...b}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),uc=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),hc=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,d)=>(s[u]??=[],s[u].push(d),s),{})).map(s=>s.map((u,d)=>[t[e][u],d]).sort((u,d)=>u[0]-d[0]).map((u,d)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a={};for(let s in t)a[s]=l.map(u=>t[s][u]);return a.xend=c.map(s=>t.x[s]),a.yend=c.map(s=>t.y[s]),a},{core_attrs:["x","y","xnudge","ynudge"]}),fc=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),dc=Object.assign(function(t){let e=["x","y"].filter(a=>t[a]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((a,s,u)=>(a[s]??=[],a[s].push(u),a),{})).map(a=>a.map((s,u)=>a[u])),o=r.map(a=>a.slice(0,-1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),l=r.map(a=>a.slice(1).concat(NaN)).reduce((a,s)=>a.concat(s),[]).filter(a=>!isNaN(a)),c={};for(let a in t)c[a]=o.map(s=>t[a][s]);return c.xend=l.map(a=>t.x[a]),c.yend=l.map(a=>t.y[a]),c},{core_attrs:["x","y","xnudge","ynudge"]}),mc=Object.assign(function(t){let e=["x","y"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPoint": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge"]}),gc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=Zt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Zt({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),l=Array.from(o.values()),c=Array.from(o.keys()),a=Array.from(Map.groupBy(Oi({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:l,points:a};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),yc=Object.assign(function(t){let e=["xmin","xmax","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatRect": "${e.join('", "')}"`);return t},{core_attrs:["xmin","xmax","ymin","ymax","xnudge","ynudge"]}),pc=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatSegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge"]}),vc=Object.assign(function(t){let e=["x","y","points"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatShape": "${e.join('", "')}"`);return t},{core_attrs:["x","y","points","xnudge","ynudge"]}),xc=Object.assign(function(t){t.dx==null&&(t.dx=Array(t.x.length).fill(0)),t.dy==null&&(t.dy=Array(t.y.length).fill(0));let e=["x","y","dx","dy"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatStick": "${e.join('", "')}"`);return t},{core_attrs:["x","y","dx","dy","xnudge","ynudge"]}),bc=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),wc=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),kc=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Ac=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="width",position:r="dodge",width:o=.9,height:l=.9}={}){let c=["x","y"].filter(L=>t[L]==null);if(c.length>0)throw new Error(`Missing aesthetics for "StatViolin": "${c.join('", "')}"`);let a=t.x.some(Fe),s=t.y.some(Fe);if(a&&s)throw new Error('Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic');if(!a&&!s)throw new Error('Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic');if(n=Vr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Vr).map(L=>`"${L}"`).join(", ")}`);let[u,d,f]=a?["y","x",o]:["x","y",l],h=t[u],m=Object.keys(t).filter(L=>L!=u&&!L.startsWith("$")),y=Zt(Object.fromEntries(m.map(L=>[L,t[L]]))),b=Zt({group:y??new Array(h.length).fill(0)}).map((L,g,p)=>p.categories[L]),A=Map.groupBy(t.$raw,(L,g)=>b[g]),T=Array.from(A.values()),S=Array.from(A.keys()),$=Array.from(Map.groupBy(h,(L,g)=>b[g]).values()),E={$raw:T,$group:S.map(L=>L.group),[u]:S.map(L=>0)},C=$.map(L=>{let g=Sc.nrd0(L),{min:p,max:k}=At.extent(L);p-=3*g,k+=3*g;let v=(k-p)/(e-1),w=Array.from({length:e},(U,Y)=>p+Y*v),D=w.map(U=>At.mean(L.map(Y=>n((U-Y)/g)))/g),j=i=="area"?1:1/At.max(D);return w.map((U,Y)=>[U,D[Y]*j/2])});for(let L of m)E[L]=S.map(g=>y.categories[g.group][L]);if(r=="dodge"){let L=Object.groupBy(E.$group,(p,k)=>y.categories[p][d]),g=E.$group.map(p=>L[y.categories[p][d]]);C=g.map((p,k)=>C[k].map(([v,w])=>[v,w*f/p.length])),a?E.xnudge=g.map((p,k)=>(E.xnudge?.[k]??0)+((p.indexOf(E.$group[k])+.5)/p.length-.5)*o):E.ynudge=g.map((p,k)=>(E.ynudge?.[k]??0)+((p.indexOf(E.$group[k])+.5)/p.length-.5)*l)}else C=C.map(L=>L.map(([g,p])=>[g,p*f]));return a?E.points=C.map(L=>L.map(([g,p])=>({x:p,y:g})).concat(L.map(([g,p])=>({x:-p,y:g})).reverse())):E.points=C.map(L=>L.map(([g,p])=>({x:g,y:p})).concat(L.map(([g,p])=>({x:g,y:-p})).reverse())),E},{core_attrs:["x","y","xnudge","ynudge"]}),Sc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=At.sd(t),n=At.quantile(t,.75)-At.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=At.sd(t),n=At.quantile(t,.75)-At.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Vr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},ns=Object.freeze(Object.defineProperty({__proto__:null,bar:ic,boxplot:rc,curve:oc,density:sc,ellipse:ac,histogram:cc,identity:uc,line:hc,linerange:fc,path:dc,point:mc,polygon:gc,rect:yc,segment:pc,shape:vc,stick:xc,text:bc,textsegment:wc,tile:kc,violin:Ac},Symbol.toStringTag,{value:"Module"}));function rn(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Cc(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function is(t){let e,n,i;t.length!==2?(e=rn,n=(c,a)=>rn(t(c),a),i=(c,a)=>t(c)-a):(e=t===rn||t===Cc?t:Mc,n=t,i=t);function r(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<0?s=d+1:u=d}while(s<u)}return s}function o(c,a,s=0,u=c.length){if(s<u){if(e(a,a)!==0)return u;do{const d=s+u>>>1;n(c[d],a)<=0?s=d+1:u=d}while(s<u)}return s}function l(c,a,s=0,u=c.length){const d=r(c,a,s,u-1);return d>s&&i(c[d-1],a)>-i(c[d],a)?d-1:d}return{left:r,center:l,right:o}}function Mc(){return 0}function Nc(t){return t===null?NaN:+t}const $c=is(rn),Tc=$c.right;is(Nc).center;const Ec=Math.sqrt(50),Lc=Math.sqrt(10),Oc=Math.sqrt(2);function hn(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),l=o>=Ec?10:o>=Lc?5:o>=Oc?2:1;let c,a,s;return r<0?(s=Math.pow(10,-r)/l,c=Math.round(t*s),a=Math.round(e*s),c/s<t&&++c,a/s>e&&--a,s=-s):(s=Math.pow(10,r)*l,c=Math.round(t/s),a=Math.round(e/s),c*s<t&&++c,a*s>e&&--a),a<c&&.5<=n&&n<2?hn(t,e,n*2):[c,a,s]}function Pc(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,l]=i?hn(e,t,n):hn(t,e,n);if(!(o>=r))return[];const c=o-r+1,a=new Array(c);if(i)if(l<0)for(let s=0;s<c;++s)a[s]=(o-s)/-l;else for(let s=0;s<c;++s)a[s]=(o-s)*l;else if(l<0)for(let s=0;s<c;++s)a[s]=(r+s)/-l;else for(let s=0;s<c;++s)a[s]=(r+s)*l;return a}function ci(t,e,n){return e=+e,t=+t,n=+n,hn(t,e,n)[2]}function jc(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?ci(e,t,n):ci(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var Dc={value:()=>{}};function rs(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new on(n)}function on(t){this._=t}function qc(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}on.prototype=rs.prototype={constructor:on,on:function(t,e){var n=this._,i=qc(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=Vc(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<l;)if(r=(t=i[o]).type)n[r]=Br(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Br(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new on(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function Vc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Br(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Dc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var ui="http://www.w3.org/1999/xhtml";const Ir={svg:"http://www.w3.org/2000/svg",xhtml:ui,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function jn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ir.hasOwnProperty(e)?{space:Ir[e],local:t}:t}function Bc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ui&&e.documentElement.namespaceURI===ui?e.createElement(t):e.createElementNS(n,t)}}function Ic(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function os(t){var e=jn(t);return(e.local?Ic:Bc)(e)}function Rc(){}function Pi(t){return t==null?Rc:function(){return this.querySelector(t)}}function Hc(t){typeof t!="function"&&(t=Pi(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=new Array(l),a,s,u=0;u<l;++u)(a=o[u])&&(s=t.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new he(i,this._parents)}function Xc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Yc(){return[]}function ss(t){return t==null?Yc:function(){return this.querySelectorAll(t)}}function _c(t){return function(){return Xc(t.apply(this,arguments))}}function zc(t){typeof t=="function"?t=_c(t):t=ss(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&(i.push(t.call(a,a.__data__,s,l)),r.push(a));return new he(i,r)}function ls(t){return function(){return this.matches(t)}}function as(t){return function(e){return e.matches(t)}}var Fc=Array.prototype.find;function Uc(t){return function(){return Fc.call(this.children,t)}}function Gc(){return this.firstElementChild}function Wc(t){return this.select(t==null?Gc:Uc(typeof t=="function"?t:as(t)))}var Kc=Array.prototype.filter;function Zc(){return Array.from(this.children)}function Qc(t){return function(){return Kc.call(this.children,t)}}function Jc(t){return this.selectAll(t==null?Zc:Qc(typeof t=="function"?t:as(t)))}function t0(t){typeof t!="function"&&(t=ls(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new he(i,this._parents)}function cs(t){return new Array(t.length)}function e0(){return new he(this._enter||this._groups.map(cs),this._parents)}function fn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}fn.prototype={constructor:fn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function n0(t){return function(){return t}}function i0(t,e,n,i,r,o){for(var l=0,c,a=e.length,s=o.length;l<s;++l)(c=e[l])?(c.__data__=o[l],i[l]=c):n[l]=new fn(t,o[l]);for(;l<a;++l)(c=e[l])&&(r[l]=c)}function r0(t,e,n,i,r,o,l){var c,a,s=new Map,u=e.length,d=o.length,f=new Array(u),h;for(c=0;c<u;++c)(a=e[c])&&(f[c]=h=l.call(a,a.__data__,c,e)+"",s.has(h)?r[c]=a:s.set(h,a));for(c=0;c<d;++c)h=l.call(t,o[c],c,o)+"",(a=s.get(h))?(i[c]=a,a.__data__=o[c],s.delete(h)):n[c]=new fn(t,o[c]);for(c=0;c<u;++c)(a=e[c])&&s.get(f[c])===a&&(r[c]=a)}function o0(t){return t.__data__}function s0(t,e){if(!arguments.length)return Array.from(this,o0);var n=e?r0:i0,i=this._parents,r=this._groups;typeof t!="function"&&(t=n0(t));for(var o=r.length,l=new Array(o),c=new Array(o),a=new Array(o),s=0;s<o;++s){var u=i[s],d=r[s],f=d.length,h=l0(t.call(u,u&&u.__data__,s,i)),m=h.length,y=c[s]=new Array(m),b=l[s]=new Array(m),A=a[s]=new Array(f);n(u,d,y,b,A,h,e);for(var T=0,S=0,$,E;T<m;++T)if($=y[T]){for(T>=S&&(S=T+1);!(E=b[S])&&++S<m;);$._next=E||null}}return l=new he(l,i),l._enter=c,l._exit=a,l}function l0(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function a0(){return new he(this._exit||this._groups.map(cs),this._parents)}function c0(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function u0(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),c=new Array(r),a=0;a<l;++a)for(var s=n[a],u=i[a],d=s.length,f=c[a]=new Array(d),h,m=0;m<d;++m)(h=s[m]||u[m])&&(f[m]=h);for(;a<r;++a)c[a]=n[a];return new he(c,this._parents)}function h0(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],l;--r>=0;)(l=i[r])&&(o&&l.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(l,o),o=l);return this}function f0(t){t||(t=d0);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],c=l.length,a=r[o]=new Array(c),s,u=0;u<c;++u)(s=l[u])&&(a[u]=s);a.sort(e)}return new he(r,this._parents).order()}function d0(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function m0(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function g0(){return Array.from(this)}function y0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function p0(){let t=0;for(const e of this)++t;return t}function v0(){return!this.node()}function x0(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,c;o<l;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function b0(t){return function(){this.removeAttribute(t)}}function w0(t){return function(){this.removeAttributeNS(t.space,t.local)}}function k0(t,e){return function(){this.setAttribute(t,e)}}function A0(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function S0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function C0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function M0(t,e){var n=jn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?w0:b0:typeof e=="function"?n.local?C0:S0:n.local?A0:k0)(n,e))}function us(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function N0(t){return function(){this.style.removeProperty(t)}}function $0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function T0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function E0(t,e,n){return arguments.length>1?this.each((e==null?N0:typeof e=="function"?T0:$0)(t,e,n??"")):m1(this.node(),t)}function m1(t,e){return t.style.getPropertyValue(e)||us(t).getComputedStyle(t,null).getPropertyValue(e)}function L0(t){return function(){delete this[t]}}function O0(t,e){return function(){this[t]=e}}function P0(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function j0(t,e){return arguments.length>1?this.each((e==null?L0:typeof e=="function"?P0:O0)(t,e)):this.node()[t]}function hs(t){return t.trim().split(/^|\s+/)}function ji(t){return t.classList||new fs(t)}function fs(t){this._node=t,this._names=hs(t.getAttribute("class")||"")}fs.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function ds(t,e){for(var n=ji(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function ms(t,e){for(var n=ji(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function D0(t){return function(){ds(this,t)}}function q0(t){return function(){ms(this,t)}}function V0(t,e){return function(){(e.apply(this,arguments)?ds:ms)(this,t)}}function B0(t,e){var n=hs(t+"");if(arguments.length<2){for(var i=ji(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?V0:e?D0:q0)(n,e))}function I0(){this.textContent=""}function R0(t){return function(){this.textContent=t}}function H0(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function X0(t){return arguments.length?this.each(t==null?I0:(typeof t=="function"?H0:R0)(t)):this.node().textContent}function Y0(){this.innerHTML=""}function _0(t){return function(){this.innerHTML=t}}function z0(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function F0(t){return arguments.length?this.each(t==null?Y0:(typeof t=="function"?z0:_0)(t)):this.node().innerHTML}function U0(){this.nextSibling&&this.parentNode.appendChild(this)}function G0(){return this.each(U0)}function W0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function K0(){return this.each(W0)}function Z0(t){var e=typeof t=="function"?t:os(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Q0(){return null}function J0(t,e){var n=typeof t=="function"?t:os(t),i=e==null?Q0:typeof e=="function"?e:Pi(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function tu(){var t=this.parentNode;t&&t.removeChild(this)}function eu(){return this.each(tu)}function nu(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function iu(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ru(t){return this.select(t?iu:nu)}function ou(t){return arguments.length?this.property("__data__",t):this.node().__data__}function su(t){return function(e){t.call(this,e,this.__data__)}}function lu(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function au(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function cu(t,e,n){return function(){var i=this.__on,r,o=su(e);if(i){for(var l=0,c=i.length;l<c;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function uu(t,e,n){var i=lu(t+""),r,o=i.length,l;if(arguments.length<2){var c=this.node().__on;if(c){for(var a=0,s=c.length,u;a<s;++a)for(r=0,u=c[a];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(c=e?cu:au,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function gs(t,e,n){var i=us(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function hu(t,e){return function(){return gs(this,t,e)}}function fu(t,e){return function(){return gs(this,t,e.apply(this,arguments))}}function du(t,e){return this.each((typeof e=="function"?fu:hu)(t,e))}function*mu(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,l;r<o;++r)(l=i[r])&&(yield l)}var gu=[null];function he(t,e){this._groups=t,this._parents=e}function q1(){return new he([[document.documentElement]],gu)}function yu(){return this}he.prototype=q1.prototype={constructor:he,select:Hc,selectAll:zc,selectChild:Wc,selectChildren:Jc,filter:t0,data:s0,enter:e0,exit:a0,join:c0,merge:u0,selection:yu,order:h0,sort:f0,call:m0,nodes:g0,node:y0,size:p0,empty:v0,each:x0,attr:M0,style:E0,property:j0,classed:B0,text:X0,html:F0,raise:G0,lower:K0,append:Z0,insert:J0,remove:eu,clone:ru,datum:ou,on:uu,dispatch:du,[Symbol.iterator]:mu};function V1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Dn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Ze(){}var E1=.7,dn=1/E1,h1="\\s*([+-]?\\d+)\\s*",L1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pu=/^#([0-9a-f]{3,8})$/,vu=new RegExp(`^rgb\\(${h1},${h1},${h1}\\)$`),xu=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),bu=new RegExp(`^rgba\\(${h1},${h1},${h1},${L1}\\)$`),wu=new RegExp(`^rgba\\(${ge},${ge},${ge},${L1}\\)$`),ku=new RegExp(`^hsl\\(${L1},${ge},${ge}\\)$`),Au=new RegExp(`^hsla\\(${L1},${ge},${ge},${L1}\\)$`),Rr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};V1(Ze,Ue,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Hr,formatHex:Hr,formatHex8:Su,formatHsl:Cu,formatRgb:Xr,toString:Xr});function Hr(){return this.rgb().formatHex()}function Su(){return this.rgb().formatHex8()}function Cu(){return ps(this).formatHsl()}function Xr(){return this.rgb().formatRgb()}function Ue(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=pu.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Yr(e):n===3?new Wt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?G1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?G1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=vu.exec(t))?new Wt(e[1],e[2],e[3],1):(e=xu.exec(t))?new Wt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=bu.exec(t))?G1(e[1],e[2],e[3],e[4]):(e=wu.exec(t))?G1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ku.exec(t))?Fr(e[1],e[2]/100,e[3]/100,1):(e=Au.exec(t))?Fr(e[1],e[2]/100,e[3]/100,e[4]):Rr.hasOwnProperty(t)?Yr(Rr[t]):t==="transparent"?new Wt(NaN,NaN,NaN,0):null}function Yr(t){return new Wt(t>>16&255,t>>8&255,t&255,1)}function G1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Wt(t,e,n,i)}function ys(t){return t instanceof Ze||(t=Ue(t)),t?(t=t.rgb(),new Wt(t.r,t.g,t.b,t.opacity)):new Wt}function hi(t,e,n,i){return arguments.length===1?ys(t):new Wt(t,e,n,i??1)}function Wt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}V1(Wt,hi,Dn(Ze,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?E1:Math.pow(E1,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Wt(ze(this.r),ze(this.g),ze(this.b),mn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_r,formatHex:_r,formatHex8:Mu,formatRgb:zr,toString:zr}));function _r(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}`}function Mu(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}${Re((isNaN(this.opacity)?1:this.opacity)*255)}`}function zr(){const t=mn(this.opacity);return`${t===1?"rgb(":"rgba("}${ze(this.r)}, ${ze(this.g)}, ${ze(this.b)}${t===1?")":`, ${t})`}`}function mn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ze(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Re(t){return t=ze(t),(t<16?"0":"")+t.toString(16)}function Fr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ue(t,e,n,i)}function ps(t){if(t instanceof ue)return new ue(t.h,t.s,t.l,t.opacity);if(t instanceof Ze||(t=Ue(t)),!t)return new ue;if(t instanceof ue)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),l=NaN,c=o-r,a=(o+r)/2;return c?(e===o?l=(n-i)/c+(n<i)*6:n===o?l=(i-e)/c+2:l=(e-n)/c+4,c/=a<.5?o+r:2-o-r,l*=60):c=a>0&&a<1?0:l,new ue(l,c,a,t.opacity)}function Nu(t,e,n,i){return arguments.length===1?ps(t):new ue(t,e,n,i??1)}function ue(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}V1(ue,Nu,Dn(Ze,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new ue(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?E1:Math.pow(E1,t),new ue(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Wt(Fn(t>=240?t-240:t+120,r,i),Fn(t,r,i),Fn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ue(Ur(this.h),W1(this.s),W1(this.l),mn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=mn(this.opacity);return`${t===1?"hsl(":"hsla("}${Ur(this.h)}, ${W1(this.s)*100}%, ${W1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ur(t){return t=(t||0)%360,t<0?t+360:t}function W1(t){return Math.max(0,Math.min(1,t||0))}function Fn(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const $u=Math.PI/180,Tu=180/Math.PI,gn=18,vs=.96422,xs=1,bs=.82521,ws=4/29,f1=6/29,ks=3*f1*f1,Eu=f1*f1*f1;function As(t){if(t instanceof ye)return new ye(t.l,t.a,t.b,t.opacity);if(t instanceof Ce)return Cs(t);t instanceof Wt||(t=ys(t));var e=Kn(t.r),n=Kn(t.g),i=Kn(t.b),r=Un((.2225045*e+.7168786*n+.0606169*i)/xs),o,l;return e===n&&n===i?o=l=r:(o=Un((.4360747*e+.3850649*n+.1430804*i)/vs),l=Un((.0139322*e+.0971045*n+.7141733*i)/bs)),new ye(116*r-16,500*(o-r),200*(r-l),t.opacity)}function fi(t,e,n,i){return arguments.length===1?As(t):new ye(t,e,n,i??1)}function ye(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}V1(ye,fi,Dn(Ze,{brighter(t){return new ye(this.l+gn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ye(this.l-gn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=vs*Gn(e),t=xs*Gn(t),n=bs*Gn(n),new Wt(Wn(3.1338561*e-1.6168667*t-.4906146*n),Wn(-.9787684*e+1.9161415*t+.033454*n),Wn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Un(t){return t>Eu?Math.pow(t,1/3):t/ks+ws}function Gn(t){return t>f1?t*t*t:ks*(t-ws)}function Wn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Kn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Lu(t){if(t instanceof Ce)return new Ce(t.h,t.c,t.l,t.opacity);if(t instanceof ye||(t=As(t)),t.a===0&&t.b===0)return new Ce(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Tu;return new Ce(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ss(t,e,n,i){return arguments.length===1?Lu(t):new Ce(t,e,n,i??1)}function Ce(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function Cs(t){if(isNaN(t.h))return new ye(t.l,0,0,t.opacity);var e=t.h*$u;return new ye(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}V1(Ce,Ss,Dn(Ze,{brighter(t){return new Ce(this.h,this.c,this.l+gn*(t??1),this.opacity)},darker(t){return new Ce(this.h,this.c,this.l-gn*(t??1),this.opacity)},rgb(){return Cs(this).rgb()}}));const Di=t=>()=>t;function Ou(t,e){return function(n){return t+n*e}}function Pu(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function ju(t){return(t=+t)==1?s1:function(e,n){return n-e?Pu(e,n,t):Di(isNaN(e)?n:e)}}function s1(t,e){var n=e-t;return n?Ou(t,n):Di(isNaN(t)?e:t)}const yn=(function t(e){var n=ju(e);function i(r,o){var l=n((r=hi(r)).r,(o=hi(o)).r),c=n(r.g,o.g),a=n(r.b,o.b),s=s1(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=c(u),r.b=a(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function Du(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function qu(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Vu(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)r[l]=qi(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(c){for(l=0;l<i;++l)o[l]=r[l](c);return o}}function Bu(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ce(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Iu(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=qi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var di=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zn=new RegExp(di.source,"g");function Ru(t){return function(){return t}}function Hu(t){return function(e){return t(e)+""}}function Ms(t,e){var n=di.lastIndex=Zn.lastIndex=0,i,r,o,l=-1,c=[],a=[];for(t=t+"",e=e+"";(i=di.exec(t))&&(r=Zn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(i=i[0])===(r=r[0])?c[l]?c[l]+=r:c[++l]=r:(c[++l]=null,a.push({i:l,x:ce(i,r)})),n=Zn.lastIndex;return n<e.length&&(o=e.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?a[0]?Hu(a[0].x):Ru(e):(e=a.length,function(s){for(var u=0,d;u<e;++u)c[(d=a[u]).i]=d.x(s);return c.join("")})}function qi(t,e){var n=typeof e,i;return e==null||n==="boolean"?Di(e):(n==="number"?ce:n==="string"?(i=Ue(e))?(e=i,yn):Ms:e instanceof Ue?yn:e instanceof Date?Bu:qu(e)?Du:Array.isArray(e)?Vu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Iu:ce)(t,e)}function Xu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Gr=180/Math.PI,mi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ns(t,e,n,i,r,o){var l,c,a;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(a=t*n+e*i)&&(n-=t*a,i-=e*a),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,a/=c),t*i<e*n&&(t=-t,e=-e,a=-a,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Gr,skewX:Math.atan(a)*Gr,scaleX:l,scaleY:c}}var K1;function Yu(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?mi:Ns(e.a,e.b,e.c,e.d,e.e,e.f)}function _u(t){return t==null||(K1||(K1=document.createElementNS("http://www.w3.org/2000/svg","g")),K1.setAttribute("transform",t),!(t=K1.transform.baseVal.consolidate()))?mi:(t=t.matrix,Ns(t.a,t.b,t.c,t.d,t.e,t.f))}function $s(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push("translate(",null,e,null,n);m.push({i:y-4,x:ce(s,d)},{i:y-2,x:ce(u,f)})}else(d||f)&&h.push("translate("+d+e+f+n)}function l(s,u,d,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:d.push(r(d)+"rotate(",null,i)-2,x:ce(s,u)})):u&&d.push(r(d)+"rotate("+u+i)}function c(s,u,d,f){s!==u?f.push({i:d.push(r(d)+"skewX(",null,i)-2,x:ce(s,u)}):u&&d.push(r(d)+"skewX("+u+i)}function a(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");m.push({i:y-4,x:ce(s,d)},{i:y-2,x:ce(u,f)})}else(d!==1||f!==1)&&h.push(r(h)+"scale("+d+","+f+")")}return function(s,u){var d=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,d,f),l(s.rotate,u.rotate,d,f),c(s.skewX,u.skewX,d,f),a(s.scaleX,s.scaleY,u.scaleX,u.scaleY,d,f),s=u=null,function(h){for(var m=-1,y=f.length,b;++m<y;)d[(b=f[m]).i]=b.x(h);return d.join("")}}}var zu=$s(Yu,"px, ","px)","deg)"),Fu=$s(_u,", ",")",")");function gi(t,e){var n=s1((t=fi(t)).l,(e=fi(e)).l),i=s1(t.a,e.a),r=s1(t.b,e.b),o=s1(t.opacity,e.opacity);return function(l){return t.l=n(l),t.a=i(l),t.b=r(l),t.opacity=o(l),t+""}}var g1=0,A1=0,b1=0,Ts=1e3,pn,S1,vn=0,Ge=0,qn=0,O1=typeof performance=="object"&&performance.now?performance:Date,Es=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Vi(){return Ge||(Es(Uu),Ge=O1.now()+qn)}function Uu(){Ge=0}function xn(){this._call=this._time=this._next=null}xn.prototype=Ls.prototype={constructor:xn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Vi():+n)+(e==null?0:+e),!this._next&&S1!==this&&(S1?S1._next=this:pn=this,S1=this),this._call=t,this._time=n,yi()},stop:function(){this._call&&(this._call=null,this._time=1/0,yi())}};function Ls(t,e,n){var i=new xn;return i.restart(t,e,n),i}function Gu(){Vi(),++g1;for(var t=pn,e;t;)(e=Ge-t._time)>=0&&t._call.call(void 0,e),t=t._next;--g1}function Wr(){Ge=(vn=O1.now())+qn,g1=A1=0;try{Gu()}finally{g1=0,Ku(),Ge=0}}function Wu(){var t=O1.now(),e=t-vn;e>Ts&&(qn-=e,vn=t)}function Ku(){for(var t,e=pn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:pn=n);S1=t,yi(i)}function yi(t){if(!g1){A1&&(A1=clearTimeout(A1));var e=t-Ge;e>24?(t<1/0&&(A1=setTimeout(Wr,t-O1.now()-qn)),b1&&(b1=clearInterval(b1))):(b1||(vn=O1.now(),b1=setInterval(Wu,Ts)),g1=1,Es(Wr))}}function Kr(t,e,n){var i=new xn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var Zu=rs("start","end","cancel","interrupt"),Qu=[],Os=0,Zr=1,pi=2,sn=3,Qr=4,vi=5,ln=6;function Vn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;Ju(t,n,{name:e,index:i,group:r,on:Zu,tween:Qu,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Os})}function Bi(t,e){var n=fe(t,e);if(n.state>Os)throw new Error("too late; already scheduled");return n}function pe(t,e){var n=fe(t,e);if(n.state>sn)throw new Error("too late; already running");return n}function fe(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Ju(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=Ls(o,0,n.time);function o(s){n.state=Zr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,d,f,h;if(n.state!==Zr)return a();for(u in i)if(h=i[u],h.name===n.name){if(h.state===sn)return Kr(l);h.state===Qr?(h.state=ln,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=ln,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Kr(function(){n.state===sn&&(n.state=Qr,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=pi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===pi){for(n.state=sn,r=new Array(f=n.tween.length),u=0,d=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=h);r.length=d+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(a),n.state=vi,1),d=-1,f=r.length;++d<f;)r[d].call(t,u);n.state===vi&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=ln,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function t2(t,e){var n=t.__transition,i,r,o=!0,l;if(n){e=e==null?null:e+"";for(l in n){if((i=n[l]).name!==e){o=!1;continue}r=i.state>pi&&i.state<vi,i.state=ln,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function e2(t){return this.each(function(){t2(this,t)})}function n2(t,e){var n,i;return function(){var r=pe(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,c=i.length;l<c;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function i2(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=pe(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var c={name:e,value:n},a=0,s=r.length;a<s;++a)if(r[a].name===e){r[a]=c;break}a===s&&r.push(c)}o.tween=r}}function r2(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=fe(this.node(),n).tween,r=0,o=i.length,l;r<o;++r)if((l=i[r]).name===t)return l.value;return null}return this.each((e==null?n2:i2)(n,t,e))}function Ii(t,e,n){var i=t._id;return t.each(function(){var r=pe(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return fe(r,i).value[e]}}function Ps(t,e){var n;return(typeof e=="number"?ce:e instanceof Ue?yn:(n=Ue(e))?(e=n,yn):Ms)(t,e)}function o2(t){return function(){this.removeAttribute(t)}}function s2(t){return function(){this.removeAttributeNS(t.space,t.local)}}function l2(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function a2(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttributeNS(t.space,t.local);return l===r?null:l===i?o:o=e(i=l,n)}}function c2(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttribute(t):(l=this.getAttribute(t),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function u2(t,e,n){var i,r,o;return function(){var l,c=n(this),a;return c==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),a=c+"",l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c)))}}function h2(t,e){var n=jn(t),i=n==="transform"?Fu:Ps;return this.attrTween(t,typeof e=="function"?(n.local?u2:c2)(n,i,Ii(this,"attr."+t,e)):e==null?(n.local?s2:o2)(n):(n.local?a2:l2)(n,i,e))}function f2(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function d2(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function m2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&d2(t,o)),n}return r._value=e,r}function g2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&f2(t,o)),n}return r._value=e,r}function y2(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=jn(t);return this.tween(n,(i.local?m2:g2)(i,e))}function p2(t,e){return function(){Bi(this,t).delay=+e.apply(this,arguments)}}function v2(t,e){return e=+e,function(){Bi(this,t).delay=e}}function x2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?p2:v2)(e,t)):fe(this.node(),e).delay}function b2(t,e){return function(){pe(this,t).duration=+e.apply(this,arguments)}}function w2(t,e){return e=+e,function(){pe(this,t).duration=e}}function k2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?b2:w2)(e,t)):fe(this.node(),e).duration}function A2(t,e){if(typeof e!="function")throw new Error;return function(){pe(this,t).ease=e}}function S2(t){var e=this._id;return arguments.length?this.each(A2(e,t)):fe(this.node(),e).ease}function C2(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;pe(this,t).ease=n}}function M2(t){if(typeof t!="function")throw new Error;return this.each(C2(this._id,t))}function N2(t){typeof t!="function"&&(t=ls(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],l=o.length,c=i[r]=[],a,s=0;s<l;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new Ne(i,this._parents,this._name,this._id)}function $2(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),l=new Array(i),c=0;c<o;++c)for(var a=e[c],s=n[c],u=a.length,d=l[c]=new Array(u),f,h=0;h<u;++h)(f=a[h]||s[h])&&(d[h]=f);for(;c<i;++c)l[c]=e[c];return new Ne(l,this._parents,this._name,this._id)}function T2(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function E2(t,e,n){var i,r,o=T2(e)?Bi:pe;return function(){var l=o(this,t),c=l.on;c!==i&&(r=(i=c).copy()).on(e,n),l.on=r}}function L2(t,e){var n=this._id;return arguments.length<2?fe(this.node(),n).on.on(t):this.each(E2(n,t,e))}function O2(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function P2(){return this.on("end.remove",O2(this._id))}function j2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Pi(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var c=i[l],a=c.length,s=o[l]=new Array(a),u,d,f=0;f<a;++f)(u=c[f])&&(d=t.call(u,u.__data__,f,c))&&("__data__"in u&&(d.__data__=u.__data__),s[f]=d,Vn(s[f],e,n,f,s,fe(u,n)));return new Ne(o,this._parents,e,n)}function D2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=ss(t));for(var i=this._groups,r=i.length,o=[],l=[],c=0;c<r;++c)for(var a=i[c],s=a.length,u,d=0;d<s;++d)if(u=a[d]){for(var f=t.call(u,u.__data__,d,a),h,m=fe(u,n),y=0,b=f.length;y<b;++y)(h=f[y])&&Vn(h,e,n,y,f,m);o.push(f),l.push(u)}return new Ne(o,l,e,n)}var q2=q1.prototype.constructor;function V2(){return new q2(this._groups,this._parents)}function B2(t,e){var n,i,r;return function(){var o=m1(this,t),l=(this.style.removeProperty(t),m1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function js(t){return function(){this.style.removeProperty(t)}}function I2(t,e,n){var i,r=n+"",o;return function(){var l=m1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function R2(t,e,n){var i,r,o;return function(){var l=m1(this,t),c=n(this),a=c+"";return c==null&&(a=c=(this.style.removeProperty(t),m1(this,t))),l===a?null:l===i&&a===r?o:(r=a,o=e(i=l,c))}}function H2(t,e){var n,i,r,o="style."+e,l="end."+o,c;return function(){var a=pe(this,t),s=a.on,u=a.value[o]==null?c||(c=js(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),a.on=i}}function X2(t,e,n){var i=(t+="")=="transform"?zu:Ps;return e==null?this.styleTween(t,B2(t,i)).on("end.style."+t,js(t)):typeof e=="function"?this.styleTween(t,R2(t,i,Ii(this,"style."+t,e))).each(H2(this._id,t)):this.styleTween(t,I2(t,i,e),n).on("end.style."+t,null)}function Y2(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function _2(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&Y2(t,l,n)),i}return o._value=e,o}function z2(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,_2(t,e,n??""))}function F2(t){return function(){this.textContent=t}}function U2(t){return function(){var e=t(this);this.textContent=e??""}}function G2(t){return this.tween("text",typeof t=="function"?U2(Ii(this,"text",t)):F2(t==null?"":t+""))}function W2(t){return function(e){this.textContent=t.call(this,e)}}function K2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&W2(r)),e}return i._value=t,i}function Z2(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,K2(t))}function Q2(){for(var t=this._name,e=this._id,n=Ds(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)if(a=l[s]){var u=fe(a,e);Vn(a,t,n,s,l,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ne(i,this._parents,t,n)}function J2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var c={value:l},a={value:function(){--r===0&&o()}};n.each(function(){var s=pe(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(a)),s.on=e}),r===0&&o()})}var t9=0;function Ne(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Ds(){return++t9}var we=q1.prototype;Ne.prototype={constructor:Ne,select:j2,selectAll:D2,selectChild:we.selectChild,selectChildren:we.selectChildren,filter:N2,merge:$2,selection:V2,transition:Q2,call:we.call,nodes:we.nodes,node:we.node,size:we.size,empty:we.empty,each:we.each,on:L2,attr:h2,attrTween:y2,style:X2,styleTween:z2,text:G2,textTween:Z2,remove:P2,tween:r2,delay:x2,duration:k2,ease:S2,easeVarying:M2,end:J2,[Symbol.iterator]:we[Symbol.iterator]};function e9(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var n9={time:null,delay:0,duration:250,ease:e9};function i9(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function r9(t){var e,n;t instanceof Ne?(e=t._id,t=t._name):(e=Ds(),(n=n9).time=Vi(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],c=l.length,a,s=0;s<c;++s)(a=l[s])&&Vn(a,t,e,s,l,n||i9(a,e));return new Ne(i,this._parents,t,e)}q1.prototype.interrupt=e2;q1.prototype.transition=r9;const xi=Math.PI,bi=2*xi,Ve=1e-6,o9=bi-Ve;function qs(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function s9(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return qs;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class l9{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?qs:s9(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,l){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+l}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,a=i-e,s=r-n,u=l-e,d=c-n,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>Ve)if(!(Math.abs(d*a-s*u)>Ve)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,m=r-c,y=a*a+s*s,b=h*h+m*m,A=Math.sqrt(y),T=Math.sqrt(f),S=o*Math.tan((xi-Math.acos((y+f-b)/(2*A*T)))/2),$=S/T,E=S/A;Math.abs($-1)>Ve&&this._append`L${e+$*u},${n+$*d}`,this._append`A${o},${o},0,0,${+(d*h>u*m)},${this._x1=e+E*a},${this._y1=n+E*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),a=i*Math.sin(r),s=e+c,u=n+a,d=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>Ve||Math.abs(this._y1-u)>Ve)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%bi+bi),f>o9?this._append`A${i},${i},0,1,${d},${e-c},${n-a}A${i},${i},0,1,${d},${this._x1=s},${this._y1=u}`:f>Ve&&this._append`A${i},${i},0,${+(f>=xi)},${d},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function a9(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function bn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function y1(t){return t=bn(Math.abs(t)),t?t[1]:NaN}function c9(t,e){return function(n,i){for(var r=n.length,o=[],l=0,c=t[0],a=0;r>0&&c>0&&(a+c+1>i&&(c=Math.max(1,i-a)),o.push(n.substring(r-=c,r+c)),!((a+=c+1)>i));)c=t[l=(l+1)%t.length];return o.reverse().join(e)}}function u9(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var h9=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(t){if(!(e=h9.exec(t)))throw new Error("invalid format: "+t);var e;return new Ri({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}wn.prototype=Ri.prototype;function Ri(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Ri.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function f9(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var kn;function d9(t,e){var n=bn(t,e);if(!n)return kn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(kn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+bn(t,Math.max(0,e+o-1))[0]}function Jr(t,e){var n=bn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const to={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:a9,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Jr(t*100,e),r:Jr,s:d9,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function eo(t){return t}var no=Array.prototype.map,io=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function m9(t){var e=t.grouping===void 0||t.thousands===void 0?eo:c9(no.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?eo:u9(no.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",a=t.nan===void 0?"NaN":t.nan+"";function s(d,f){d=wn(d);var h=d.fill,m=d.align,y=d.sign,b=d.symbol,A=d.zero,T=d.width,S=d.comma,$=d.precision,E=d.trim,C=d.type;C==="n"?(S=!0,C="g"):to[C]||($===void 0&&($=12),E=!0,C="g"),(A||h==="0"&&m==="=")&&(A=!0,h="0",m="=");var L=(f&&f.prefix!==void 0?f.prefix:"")+(b==="$"?n:b==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():""),g=(b==="$"?i:/[%p]/.test(C)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),p=to[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(w){var D=L,j=g,U,Y,z;if(C==="c")j=p(w)+j,w="";else{w=+w;var V=w<0||1/w<0;if(w=isNaN(w)?a:p(Math.abs(w),$),E&&(w=f9(w)),V&&+w==0&&y!=="+"&&(V=!1),D=(V?y==="("?y:c:y==="-"||y==="("?"":y)+D,j=(C==="s"&&!isNaN(w)&&kn!==void 0?io[8+kn/3]:"")+j+(V&&y==="("?")":""),k){for(U=-1,Y=w.length;++U<Y;)if(z=w.charCodeAt(U),48>z||z>57){j=(z===46?r+w.slice(U+1):w.slice(U))+j,w=w.slice(0,U);break}}}S&&!A&&(w=e(w,1/0));var H=D.length+w.length+j.length,F=H<T?new Array(T-H+1).join(h):"";switch(S&&A&&(w=e(F+w,F.length?T-j.length:1/0),F=""),m){case"<":w=D+w+j+F;break;case"=":w=D+F+w+j;break;case"^":w=F.slice(0,H=F.length>>1)+D+w+j+F.slice(H);break;default:w=F+D+w+j;break}return o(w)}return v.toString=function(){return d+""},v}function u(d,f){var h=Math.max(-8,Math.min(8,Math.floor(y1(f)/3)))*3,m=Math.pow(10,-h),y=s((d=wn(d),d.type="f",d),{suffix:io[8+h/3]});return function(b){return y(m*b)}}return{format:s,formatPrefix:u}}var Z1,Vs,Bs;g9({thousands:",",grouping:[3],currency:["$",""]});function g9(t){return Z1=m9(t),Vs=Z1.format,Bs=Z1.formatPrefix,Z1}function y9(t){return Math.max(0,-y1(Math.abs(t)))}function p9(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(y1(e)/3)))*3-y1(Math.abs(t)))}function v9(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,y1(e)-y1(t))+1}function x9(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function b9(t){return function(){return t}}function w9(t){return+t}var ro=[0,1];function l1(t){return t}function wi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:b9(isNaN(e)?NaN:.5)}function k9(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function A9(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=wi(r,i),o=n(l,o)):(i=wi(i,r),o=n(o,l)),function(c){return o(i(c))}}function S9(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),l=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++l<i;)r[l]=wi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(c){var a=Tc(t,c,1,i)-1;return o[a](r[a](c))}}function C9(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function M9(){var t=ro,e=ro,n=qi,i,r,o,l=l1,c,a,s;function u(){var f=Math.min(t.length,e.length);return l!==l1&&(l=k9(t[0],t[f-1])),c=f>2?S9:A9,a=s=null,d}function d(f){return f==null||isNaN(f=+f)?o:(a||(a=c(t.map(i),e,n)))(i(l(f)))}return d.invert=function(f){return l(r((s||(s=c(e,t.map(i),ce)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,w9),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),n=Xu,u()},d.clamp=function(f){return arguments.length?(l=f?!0:l1,u()):l!==l1},d.interpolate=function(f){return arguments.length?(n=f,u()):n},d.unknown=function(f){return arguments.length?(o=f,d):o},function(f,h){return i=f,r=h,u()}}function N9(){return M9()(l1,l1)}function $9(t,e,n,i){var r=jc(t,e,n),o;switch(i=wn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=p9(r,l))&&(i.precision=o),Bs(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=v9(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=y9(r))&&(i.precision=o-(i.type==="%")*2);break}}return Vs(i)}function T9(t){var e=t.domain;return t.ticks=function(n){var i=e();return Pc(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return $9(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,l=i[r],c=i[o],a,s,u=10;for(c<l&&(s=l,l=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=ci(l,c,n),s===a)return i[r]=l,i[o]=c,e(i);if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s;else if(s<0)l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s;else break;a=s}return t},t}function Is(){var t=N9();return t.copy=function(){return C9(t,Is())},x9.apply(t,arguments),T9(t)}function i1(t){return function(){return t}}const oo=1e-12;function E9(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new l9(e)}function L9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Rs(t){this._context=t}Rs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Hi(t){return new Rs(t)}function O9(t){return t[0]}function P9(t){return t[1]}function j9(t,e){var n=i1(!0),i=null,r=Hi,o=null,l=E9(c);t=typeof t=="function"?t:t===void 0?O9:i1(t),e=typeof e=="function"?e:e===void 0?P9:i1(e);function c(a){var s,u=(a=L9(a)).length,d,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(d=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(d,s,a),+e(d,s,a));if(h)return o=null,h+""||null}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:i1(+a),c):t},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:i1(+a),c):e},c.defined=function(a){return arguments.length?(n=typeof a=="function"?a:i1(!!a),c):n},c.curve=function(a){return arguments.length?(r=a,i!=null&&(o=r(i)),c):r},c.context=function(a){return arguments.length?(a==null?i=o=null:o=r(i=a),c):i},c}function p1(){}function ki(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Xi(t,e){this._context=t,this._k=(1-e)/6}Xi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ki(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ki(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Hs=(function t(e){function n(i){return new Xi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function Yi(t,e){this._context=t,this._k=(1-e)/6}Yi.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ki(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Xs=(function t(e){function n(i){return new Yi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function Ys(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>oo){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>oo){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/u,l=(l*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,l,t._x2,t._y2)}function _s(t,e){this._context=t,this._alpha=e}_s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ys(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const zs=(function t(e){function n(i){return e?new _s(i,e):new Xi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Fs(t,e){this._context=t,this._alpha=e}Fs.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ys(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Us=(function t(e){function n(i){return e?new Fs(i,e):new Yi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Gs(t){this._context=t}Gs.prototype={areaStart:p1,areaEnd:p1,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Ws(t){return new Gs(t)}function Ks(t){this._context=t}Ks.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=so(t),r=so(e),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[l],e[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function so(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),l=new Array(n);for(r[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,l[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,l[e]-=i*l[e-1];for(r[n-1]=l[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(l[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function An(t){return new Ks(t)}function C1(t,e,n){this.k=t,this.x=e,this.y=n}C1.prototype={constructor:C1,scale:function(t){return t===1?this:new C1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new C1(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};C1.prototype;const D9={censor:Oe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:ai,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function o1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function Zs({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(l=>t[+l]??e)}:r=function(o){return o.map(l=>t[l]??e)},Object.assign(r,{title:n},i)}function r1({limits:t,oob:e=Oe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(a){let s=this?.limits?.min??this?.limits?.[0]??a.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??a.extent?.[1],d=u-s,f=n?.min??n[0],h=n?.max??n[1],m=h-f;return a.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/d*m))},{title:o,limits:t,oob:e},l)}function lo({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function Ai({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function Sn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:l,oob:c=Oe,na_value:a="#7f7f7f",null_value:s=null,title:u,...d}={}){return Object.assign(function(h){let m=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],b=y-m,A=t?.min??t[0],T=t?.max??t[1],S=T-A;return h.map($=>($=this.oob($,{min:m,max:y}),$===null?s:isNaN($)?a:Ss(i+A+S*($-m)/b*o,e,n,r).toString()))},{title:u,limits:l,oob:c},d)}function q9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return Zs({values:t,na_value:e,title:n,...i})}function Cn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Oe,na_value:r="#7f7f7f",null_value:o=null,title:l,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=gi(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:d}),h===null?o:isNaN(h)?r:u===d?f(.5):h>d?e:h<u?t:f((h-u)/(d-u))))},{title:l,limits:n,oob:i},c)}function V9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Oe,na_value:l="#7f7f7f",null_value:c=null,title:a,...s}={}){return Object.assign(function(d){let f=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],m=i??(f+h)/2,y=gi(t,e),b=gi(e,n);return d.map(A=>(A=this.oob(A,{min:f,max:h}),A===null?c:isNaN(A)?l:A<m?y((A-f)/(m-f)):b((A-m)/(h-m))))},{title:a,limits:r,oob:o},s)}function B9({colors:t=[],values:e,anchors:n,limits:i,oob:r=Oe,na_value:o="#7f7f7f",null_value:l=null,title:c,...a}={}){return Object.assign(function(u){let d=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>d+(f-d)*y);h??=Array(t.length).fill(0).map((y,b)=>d+(f-d)*b/(t.length-1)),t=t.filter((y,b)=>!isNaN(h[b])),h=h.filter(y=>!isNaN(y));let m=Is(h,t);return u.map(y=>(y=this.oob(y,{min:d,max:f}),y===null?l:isNaN(y)?o:m(y)))},{title:c,limits:i,oob:r},a)}function ao({alpha:t,limits:e,oob:n=Oe,title:i,...r}={}){let o=Sn({alpha:t}),l=Cn();return Object.assign(function(a){return a.level!=null?o.call(this,a):l.call(this,a)},{title:i,limits:e,oob:n},r)}function I9({discrete:t=Sn(),continuous:e=Cn(),limits:n,oob:i=Oe,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function co({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function uo({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const Qn={identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:Sn,hue:Sn,manual:q9,continuous:Cn,gradient:Cn,gradient2:V9,gradientn:B9,dynamic:I9,auto:ao,custom:o1,default:ao},Qs={color:Qn,stroke:Qn,fill:Qn,alpha:{continuous:r1,custom:o1,default:({title:t,...e}={})=>r1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>lo({legend:!1,title:t,...e}),continuous:r1,custom:o1,default:({title:t,...e}={})=>r1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>lo({legend:!1,title:t,...e}),continuous:r1,manual:Zs,custom:o1,default:({title:t,...e}={})=>r1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:uo,default:uo,custom:o1},shape:{identity:({title:t,...e}={})=>Ai({legend:!1,title:t,...e}),discrete:co,default:co,custom:o1}};function R9({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,l=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),a=o/c;l==null&&(l=([5,10,20].find(d=>d*5>a)??20)*c),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((d,f)=>(s+f)*l)}}function H9(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),l=i.getUTCMonth(),c=i.getUTCDate(),a=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),d=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),m=f/h,y=Math.max((m>50?10:m>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do d.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,c+(7-i.getUTCDay())%7));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,Math.ceil(a/h)*h));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,Math.ceil(s/h)*h));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,l,c,a,s,Math.ceil(u/h)*h));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,m=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/m),b=Math.floor(e/m);return new Array(b-y+1).fill(null).map((A,T)=>new Date((y+T)*m))}return d}}const Bn={number:R9,datetime:H9};let X9={y:t=>t.getUTCFullYear(),M:t=>t.getUTCMonth()+1,d:t=>t.getUTCDate(),h:t=>t.getUTCHours(),m:t=>t.getUTCMinutes(),s:t=>t.getUTCSeconds()};function Si(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(X9[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const Js={default:{"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},si:{y:1e-24,z:1e-21,a:1e-18,f:1e-15,p:1e-12,n:1e-9,\u03BC:1e-6,m:.001,"":1,k:1e3,M:1e6,G:1e9,T:1e12,P:1e15,E:1e18,Z:1e21,Y:1e24},binary:{"":1,Ki:1024,Mi:1024**2,Gi:1024**3,Ti:1024**4,Pi:1024**5,Ei:1024**6,Zi:1024**7,Yi:1024**8},time:{ns:1e-9,\u03BCs:1e-6,ms:.001,s:1,m:60,h:3600,d:86400,w:604800,M:2592e3,y:31536e3}};function Y9(){return function(t){return t==null?"":t instanceof Date?Si(t):String(t)}}function tl({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:c={"":1}}={}){let a={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,d,f=[u]){let h;if(t)h=t;else if(f.length>1){let S=f.filter(E=>isFinite(E)).sort((E,C)=>E-C);h=S.slice(1).map((E,C)=>E-S[C]).reduce((E,C)=>E<C?E:C)*e}else h=u||1;let m=Object.entries(c).sort((S,$)=>$[1]-S[1]).find(S=>S[1]<=h)?.[0]??"",y=(m==""?"":" ")+m+i;h=h/(c[m]??1);let b=Math.max(0,Math.ceil(-Math.log10(h))),A=Math.round(u*e/(c[m]??1)/h)*h,T=n+(A>0?a:A<0?s:"");return A<0&&l=="parens"&&(y=")"+y),A=Math.abs(A).toFixed(b).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),T+A+y}}function Ci({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return Si(new Date(r),t);if(t==null){let c=Array.from(l).sort((f,h)=>f-h),a=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=a),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[u])}return Si(new Date(r),t)}}function ho(t){let e=tl(t),n=Ci(t);return function(i,r,o=[i]){return i instanceof Qo?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const Mi={number:tl,datetime:Ci,timestamp:Ci,asis:Y9,auto:ho,default:function(t){return ho({scale_cut:Js.default,...t})}};function _9(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class z9{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:c,stat:a,data:s,aes:u,levels:d={},scales:f={},attrs:h,args:m,vBind:y,extendX:b,extendY:A}=e;if(!Se[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let T=typeof a=="function"?a:ns[a];if(T==null){console.error(`Invalid stat "${a}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:b??o??0,extendY:A??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let S={};this.$fnames={};for(const C in u)this.$fnames[C]=String(u[C]),S[C]=s.map(u[C]).map(L=>L instanceof String||L instanceof Number?new Ye(L):L);S.$raw=s;let $=T?.core_attrs??["x","y","xnudge","ynudge"],E=s.length;E==0&&(E=$.map(C=>h[C]).filter(C=>C!=null).reduce((C,L)=>Math.max(Array.isArray(L)?L.length:1,C),0));for(const C in h)if($.includes(C))if(Array.isArray(h[C])){if(h[C].length!=E)throw new Error(`Attribute "${C}" must have the same length as data (${E})`);S[C]=h[C]}else{if(h[C]==null)continue;S[C]=new Array(E).fill(h[C])}try{if(S=T(S,m||{}),S.$group??=S.group,S.$group==null){let C=Object.values(S).filter(L=>Array.isArray(L)).reduce((L,g)=>Math.max(L,g.length),0);S.$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(f).filter(C=>f[C]!=null)]),this.aes=new Set([...this.localScales,...Se[c]?.scale_attrs??[]]),this.$data=S,this.data={...S};for(const C in S)if(f[C]!=null){let L=new In(f[C]);L.aesthetics=C,L._title=this.$fnames[C];let g=this.$data[C];if(!g?.length)continue;L.asis||(d?.[C]!=null?L.level=d[C]:g.some(Fe)?L.level=_e.from(g):L.extent=At.extent(g.filter(p=>!(p instanceof Ye)))),this.applyScale(C,L)}this.attrs={};for(const C in h)if(!$.includes(C))if(Array.isArray(h[C])){if(h[C].length!=E)throw new Error(`Attribute "${C}" must have the same length as data (${E})`);this.data[C]=h[C]}else this.attrs[C]=h[C],h[C]!=null&&(this.data[C]=new Array(E).fill(h[C]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,l)=>o instanceof Ye?o.valueOf():r[l]),this.scales[e]=n}applyCoordScale(e){try{Object.assign(this.data,Se[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class F9{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new z9(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new In(e?.[i]??Qs[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(Fe)?o.level=_e.from(r):o.extent=At.extent(r.filter(l=>!(l instanceof Ye)))),o._title=this.layers.reduce((l,c)=>l??c.$fnames?.[i],null);for(const l of this.layers)l.localScales.has(i)||l.applyScale(i,o)}for(const o of this.layers){let l=o.scales?.[i];if(l!=null&&!l.asis){this.scales.has(l)||this.scales.set(l,{});let c=this.scales.get(l);c[o.geom]==null&&(c[o.geom]={});for(let a of Se[o.geom]?.scale_attrs)o.attrs[a]!=null&&(c[o.geom][a]=o.attrs[a])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new _e(...e[n]);else{let i=this.layers.flatMap(r=>(Se[r.geom].get_values??Se[r.geom].get_range)?.(r.$data,n));i.some(Fe)?this.levels[n]=_e.from(i):(i=this.layers.flatMap(r=>Se[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=At.extent(i.filter(r=>!(r instanceof Ye))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Se[e.geom].validate(_9(e.data,(o,l)=>l?.[r]))).filter(i=>i!=null),i=>i.$group)),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),l=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new Mn(this.levels.x,{min:o,max:l})}else{let o=e?.xmin??this.extents.x?.min??0,l=e?.xmax??this.extents.x?.max??0,c=ft(o,-n.x?.min||0),a=ft(l,+n.x?.max||0),s=i?.x??1;if(a-c<s)if(e?.xmax==null&&e?.xmin!=null)a=ft(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.x=new Nn({min:c,max:a}):r.x=new P1({min:c,max:a})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),l=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new Mn(this.levels.y,{min:o,max:l})}else{let o=e?.ymin??this.extents.y?.min??0,l=e?.ymax??this.extents.y?.max??0,c=ft(o,-n.y?.min),a=ft(l,+n.y?.max||0),s=i?.y??1;if(a-c<s)if(e?.ymax==null&&e?.ymin!=null)a=ft(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=ft(a,-s);else{let u=a-c;a=ft(a,-u/2+s/2),c=ft(a,-s)}c instanceof Date||a instanceof Date?r.y=new Nn({min:c,max:a}):r.y=new P1({min:c,max:a})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class In extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,In.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class Mn extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,Mn.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class P1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,P1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ft(n,e*(i-n))}get breaks(){return Bn.number()}}class Nn extends P1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,Nn.prototype),n}get breaks(){return Bn.datetime()}get minorBreaks(){return[]}}class U9{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??Mi.auto(),this.titles=o??Mi.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:n,breakSlot:i}={}){let r=this.breaks,o=this.minorBreaks,l=this.labels,c=this.titles,a=e?.min??this?.range?.min,s=e?.max??this?.range?.max,u=s-a||0;if(a=a==null?a:ft(a,-(n?.min??0)*u),s=s==null?s:ft(s,+(n?.max??0)*u),typeof r=="function"&&(r=r({min:a,max:s})),Array.isArray(r)||(r=[]),typeof l=="function"&&(l=r.map(l)),!Array.isArray(l))l=[];else if(l.length!=r.length)throw new Error("Length of labels must be the same as breaks");if(typeof c=="function"&&(c=r.map(c)),!Array.isArray(c))c=[];else if(c.length!=r.length)throw new Error("Length of titles must be the same as breaks");typeof o=="function"&&(o=o({min:a,max:s,minor:!0})),Array.isArray(o)||(o=[]),r=r.map((f,h)=>({type:"major",value:f,label:l[h],title:c[h]})),o=o.map(f=>({type:"minor",value:f}));let d=r.concat(o);return i instanceof Function&&(d=T1(i({breaks:d,majorBreaks:r,minorBreaks:o,min:a,max:s})).filter(f=>f.type.$_type=="axis-break").map(f=>({...f.type.$_props,...f.props}))),d}}const G9=["font-size"],W9={key:0},B1={__name:"CoreText",props:{x:{type:Number,default:0},y:{type:Number,default:0},text:null,title:null,size:Number,color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0},anchorX:Number,anchorY:Number,dockX:Number,dockY:Number,fontFamily:String,fontSize:Number,textLength:Number,textAnchor:{type:String,default:"middle"}},setup(t){const e=qt("ele"),n=Pt({width:0,height:0});Ct([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await On();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],c=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let a={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r*Math.abs(Math.cos(t.angle*Math.PI/180))+o*Math.abs(Math.sin(t.angle*Math.PI/180)),d=r*Math.abs(Math.sin(t.angle*Math.PI/180))+o*Math.abs(Math.cos(t.angle*Math.PI/180)),f=t.translateX,h=t.translateY;l.push(`translate(${u*(.5-a)+f},${d*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${c},0)`)}else{let a={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(a)&&(a=.5),isNaN(s)&&(s=.5);let u=r,d=o,f=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),h=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${u*(.5-a)+f+c},${d*(s-.5)+h})`)}return{x:t.x,y:t.y,color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Ht(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(P(),I("text",J({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[Ro(r.$slots,"default",{},()=>[t.title?(P(),I("title",W9,zt(t.title),1)):Ot("",!0),dt(" "+zt(t.text?.replace(/ /g,"\xA0")),1)])],16,G9))}};function el(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var K9=function(t,e){this.current=t,this.entering=e===!0},Z9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=el(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},Q9=function(t){return{current:t,root:t,entering:!0,next:Z9,resumeAt:K9}},Vt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},It=Vt.prototype;Object.defineProperty(It,"isContainer",{get:function(){return el(this)}});Object.defineProperty(It,"type",{get:function(){return this._type}});Object.defineProperty(It,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(It,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(It,"next",{get:function(){return this._next}});Object.defineProperty(It,"prev",{get:function(){return this._prev}});Object.defineProperty(It,"parent",{get:function(){return this._parent}});Object.defineProperty(It,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(It,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(It,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(It,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(It,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(It,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(It,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(It,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(It,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(It,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(It,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(It,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});Vt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};Vt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};Vt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};Vt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};Vt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};Vt.prototype.walker=function(){var t=new Q9(this);return t};function J9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jn,fo;function t8(){if(fo)return Jn;fo=1;var t={};function e(i){var r,o,l=t[i];if(l)return l;for(l=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?l.push(o):l.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)l[i.charCodeAt(r)]=i[r];return l}function n(i,r,o){var l,c,a,s,u,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,c=i.length;l<c;l++){if(a=i.charCodeAt(l),o&&a===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){d+=i.slice(l,l+3),l+=2;continue}if(a<128){d+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&l+1<c&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){d+=encodeURIComponent(i[l]+i[l+1]),l++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(i[l])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Jn=n,Jn}var e8=t8();const n8=J9(e8);var ti={},w1={},Q1={},mo;function i8(){return mo||(mo=1,Object.defineProperty(Q1,"__esModule",{value:!0}),Q1.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])),Q1}var J1={},go;function r8(){return go||(go=1,Object.defineProperty(J1,"__esModule",{value:!0}),J1.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])),J1}var tn={},yo;function o8(){if(yo)return tn;yo=1,Object.defineProperty(tn,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return tn.default=n,tn}var po;function vo(){return po||(po=1,(function(t){var e=w1&&w1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(i8());t.htmlDecodeTree=n.default;var i=e(r8());t.xmlDecodeTree=i.default;var r=e(o8()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function l(h){return function(y,b){for(var A="",T=0,S=0;(S=y.indexOf("&",S))>=0;){if(A+=y.slice(T,S),T=S,S+=1,y.charCodeAt(S)===35){var $=S+1,E=10,C=y.charCodeAt($);for((C|32)===120&&(E=16,S+=1,$+=1);(C=y.charCodeAt(++S))>=48&&C<=57||E===16&&(C|32)>=97&&(C|32)<=102;);if($!==S){var L=y.substring($,S),g=parseInt(L,E);if(y.charCodeAt(S)===59)S+=1;else if(b)continue;A+=r.default(g),T=S}continue}for(var p=null,k=1,v=0,w=h[v];S<y.length&&(v=c(h,w,v+1,y.charCodeAt(S)),!(v<0));S++,k++)w=h[v],w&o.HAS_VALUE&&(b&&y.charCodeAt(S)!==59?v+=1:(p=w&o.MULTI_BYTE?String.fromCharCode(h[++v],h[++v]):String.fromCharCode(h[++v]),k=0));p!=null&&(A+=p,T=S-k+1)}return A+y.slice(T)}}function c(h,m,y,b){if(m<=128)return b===m?y:-1;var A=(m&o.BRANCH_LENGTH)>>8;if(A===0)return-1;if(A===1)return b===h[y]?y+1:-1;var T=m&o.JUMP_TABLE;if(T){var S=b-t.JUMP_OFFSET_BASE-T;return S<0||S>A?-1:h[y+S]-1}for(var $=y,E=$+A-1;$<=E;){var C=$+E>>>1,L=h[C];if(L<b)$=C+1;else if(L>b)E=C-1;else return h[C+A]}return-1}t.determineBranch=c;var a=l(n.default),s=l(i.default);function u(h){return a(h,!1)}t.decodeHTML=u;function d(h){return a(h,!0)}t.decodeHTMLStrict=d;function f(h){return s(h,!0)}t.decodeXML=f})(w1)),w1}var Jt={};const s8="&",l8="'",a8=">",c8="<",u8='"',h8={amp:s8,apos:l8,gt:a8,lt:c8,quot:u8};var k1={};const f8="\xC1",d8="\xE1",m8="\u0102",g8="\u0103",y8="\u223E",p8="\u223F",v8="\u223E\u0333",x8="\xC2",b8="\xE2",w8="\xB4",k8="\u0410",A8="\u0430",S8="\xC6",C8="\xE6",M8="\u2061",N8="\u{1D504}",$8="\u{1D51E}",T8="\xC0",E8="\xE0",L8="\u2135",O8="\u2135",P8="\u0391",j8="\u03B1",D8="\u0100",q8="\u0101",V8="\u2A3F",B8="&",I8="&",R8="\u2A55",H8="\u2A53",X8="\u2227",Y8="\u2A5C",_8="\u2A58",z8="\u2A5A",F8="\u2220",U8="\u29A4",G8="\u2220",W8="\u29A8",K8="\u29A9",Z8="\u29AA",Q8="\u29AB",J8="\u29AC",t5="\u29AD",e5="\u29AE",n5="\u29AF",i5="\u2221",r5="\u221F",o5="\u22BE",s5="\u299D",l5="\u2222",a5="\xC5",c5="\u237C",u5="\u0104",h5="\u0105",f5="\u{1D538}",d5="\u{1D552}",m5="\u2A6F",g5="\u2248",y5="\u2A70",p5="\u224A",v5="\u224B",x5="'",b5="\u2061",w5="\u2248",k5="\u224A",A5="\xC5",S5="\xE5",C5="\u{1D49C}",M5="\u{1D4B6}",N5="\u2254",$5="*",T5="\u2248",E5="\u224D",L5="\xC3",O5="\xE3",P5="\xC4",j5="\xE4",D5="\u2233",q5="\u2A11",V5="\u224C",B5="\u03F6",I5="\u2035",R5="\u223D",H5="\u22CD",X5="\u2216",Y5="\u2AE7",_5="\u22BD",z5="\u2305",F5="\u2306",U5="\u2305",G5="\u23B5",W5="\u23B6",K5="\u224C",Z5="\u0411",Q5="\u0431",J5="\u201E",t6="\u2235",e6="\u2235",n6="\u2235",i6="\u29B0",r6="\u03F6",o6="\u212C",s6="\u212C",l6="\u0392",a6="\u03B2",c6="\u2136",u6="\u226C",h6="\u{1D505}",f6="\u{1D51F}",d6="\u22C2",m6="\u25EF",g6="\u22C3",y6="\u2A00",p6="\u2A01",v6="\u2A02",x6="\u2A06",b6="\u2605",w6="\u25BD",k6="\u25B3",A6="\u2A04",S6="\u22C1",C6="\u22C0",M6="\u290D",N6="\u29EB",$6="\u25AA",T6="\u25B4",E6="\u25BE",L6="\u25C2",O6="\u25B8",P6="\u2423",j6="\u2592",D6="\u2591",q6="\u2593",V6="\u2588",B6="=\u20E5",I6="\u2261\u20E5",R6="\u2AED",H6="\u2310",X6="\u{1D539}",Y6="\u{1D553}",_6="\u22A5",z6="\u22A5",F6="\u22C8",U6="\u29C9",G6="\u2510",W6="\u2555",K6="\u2556",Z6="\u2557",Q6="\u250C",J6="\u2552",th="\u2553",eh="\u2554",nh="\u2500",ih="\u2550",rh="\u252C",oh="\u2564",sh="\u2565",lh="\u2566",ah="\u2534",ch="\u2567",uh="\u2568",hh="\u2569",fh="\u229F",dh="\u229E",mh="\u22A0",gh="\u2518",yh="\u255B",ph="\u255C",vh="\u255D",xh="\u2514",bh="\u2558",wh="\u2559",kh="\u255A",Ah="\u2502",Sh="\u2551",Ch="\u253C",Mh="\u256A",Nh="\u256B",$h="\u256C",Th="\u2524",Eh="\u2561",Lh="\u2562",Oh="\u2563",Ph="\u251C",jh="\u255E",Dh="\u255F",qh="\u2560",Vh="\u2035",Bh="\u02D8",Ih="\u02D8",Rh="\xA6",Hh="\u{1D4B7}",Xh="\u212C",Yh="\u204F",_h="\u223D",zh="\u22CD",Fh="\u29C5",Uh="\\",Gh="\u27C8",Wh="\u2022",Kh="\u2022",Zh="\u224E",Qh="\u2AAE",Jh="\u224F",t7="\u224E",e7="\u224F",n7="\u0106",i7="\u0107",r7="\u2A44",o7="\u2A49",s7="\u2A4B",l7="\u2229",a7="\u22D2",c7="\u2A47",u7="\u2A40",h7="\u2145",f7="\u2229\uFE00",d7="\u2041",m7="\u02C7",g7="\u212D",y7="\u2A4D",p7="\u010C",v7="\u010D",x7="\xC7",b7="\xE7",w7="\u0108",k7="\u0109",A7="\u2230",S7="\u2A4C",C7="\u2A50",M7="\u010A",N7="\u010B",$7="\xB8",T7="\xB8",E7="\u29B2",L7="\xA2",O7="\xB7",P7="\xB7",j7="\u{1D520}",D7="\u212D",q7="\u0427",V7="\u0447",B7="\u2713",I7="\u2713",R7="\u03A7",H7="\u03C7",X7="\u02C6",Y7="\u2257",_7="\u21BA",z7="\u21BB",F7="\u229B",U7="\u229A",G7="\u229D",W7="\u2299",K7="\xAE",Z7="\u24C8",Q7="\u2296",J7="\u2295",tf="\u2297",ef="\u25CB",nf="\u29C3",rf="\u2257",of="\u2A10",sf="\u2AEF",lf="\u29C2",af="\u2232",cf="\u201D",uf="\u2019",hf="\u2663",ff="\u2663",df=":",mf="\u2237",gf="\u2A74",yf="\u2254",pf="\u2254",vf=",",xf="@",bf="\u2201",wf="\u2218",kf="\u2201",Af="\u2102",Sf="\u2245",Cf="\u2A6D",Mf="\u2261",Nf="\u222E",$f="\u222F",Tf="\u222E",Ef="\u{1D554}",Lf="\u2102",Of="\u2210",Pf="\u2210",jf="\xA9",Df="\xA9",qf="\u2117",Vf="\u2233",Bf="\u21B5",If="\u2717",Rf="\u2A2F",Hf="\u{1D49E}",Xf="\u{1D4B8}",Yf="\u2ACF",_f="\u2AD1",zf="\u2AD0",Ff="\u2AD2",Uf="\u22EF",Gf="\u2938",Wf="\u2935",Kf="\u22DE",Zf="\u22DF",Qf="\u21B6",Jf="\u293D",t3="\u2A48",e3="\u2A46",n3="\u224D",i3="\u222A",r3="\u22D3",o3="\u2A4A",s3="\u228D",l3="\u2A45",a3="\u222A\uFE00",c3="\u21B7",u3="\u293C",h3="\u22DE",f3="\u22DF",d3="\u22CE",m3="\u22CF",g3="\xA4",y3="\u21B6",p3="\u21B7",v3="\u22CE",x3="\u22CF",b3="\u2232",w3="\u2231",k3="\u232D",A3="\u2020",S3="\u2021",C3="\u2138",M3="\u2193",N3="\u21A1",$3="\u21D3",T3="\u2010",E3="\u2AE4",L3="\u22A3",O3="\u290F",P3="\u02DD",j3="\u010E",D3="\u010F",q3="\u0414",V3="\u0434",B3="\u2021",I3="\u21CA",R3="\u2145",H3="\u2146",X3="\u2911",Y3="\u2A77",_3="\xB0",z3="\u2207",F3="\u0394",U3="\u03B4",G3="\u29B1",W3="\u297F",K3="\u{1D507}",Z3="\u{1D521}",Q3="\u2965",J3="\u21C3",td="\u21C2",ed="\xB4",nd="\u02D9",id="\u02DD",rd="`",od="\u02DC",sd="\u22C4",ld="\u22C4",ad="\u22C4",cd="\u2666",ud="\u2666",hd="\xA8",fd="\u2146",dd="\u03DD",md="\u22F2",gd="\xF7",yd="\xF7",pd="\u22C7",vd="\u22C7",xd="\u0402",bd="\u0452",wd="\u231E",kd="\u230D",Ad="$",Sd="\u{1D53B}",Cd="\u{1D555}",Md="\xA8",Nd="\u02D9",$d="\u20DC",Td="\u2250",Ed="\u2251",Ld="\u2250",Od="\u2238",Pd="\u2214",jd="\u22A1",Dd="\u2306",qd="\u222F",Vd="\xA8",Bd="\u21D3",Id="\u21D0",Rd="\u21D4",Hd="\u2AE4",Xd="\u27F8",Yd="\u27FA",_d="\u27F9",zd="\u21D2",Fd="\u22A8",Ud="\u21D1",Gd="\u21D5",Wd="\u2225",Kd="\u2913",Zd="\u2193",Qd="\u2193",Jd="\u21D3",tm="\u21F5",em="\u0311",nm="\u21CA",im="\u21C3",rm="\u21C2",om="\u2950",sm="\u295E",lm="\u2956",am="\u21BD",cm="\u295F",um="\u2957",hm="\u21C1",fm="\u21A7",dm="\u22A4",mm="\u2910",gm="\u231F",ym="\u230C",pm="\u{1D49F}",vm="\u{1D4B9}",xm="\u0405",bm="\u0455",wm="\u29F6",km="\u0110",Am="\u0111",Sm="\u22F1",Cm="\u25BF",Mm="\u25BE",Nm="\u21F5",$m="\u296F",Tm="\u29A6",Em="\u040F",Lm="\u045F",Om="\u27FF",Pm="\xC9",jm="\xE9",Dm="\u2A6E",qm="\u011A",Vm="\u011B",Bm="\xCA",Im="\xEA",Rm="\u2256",Hm="\u2255",Xm="\u042D",Ym="\u044D",_m="\u2A77",zm="\u0116",Fm="\u0117",Um="\u2251",Gm="\u2147",Wm="\u2252",Km="\u{1D508}",Zm="\u{1D522}",Qm="\u2A9A",Jm="\xC8",t4="\xE8",e4="\u2A96",n4="\u2A98",i4="\u2A99",r4="\u2208",o4="\u23E7",s4="\u2113",l4="\u2A95",a4="\u2A97",c4="\u0112",u4="\u0113",h4="\u2205",f4="\u2205",d4="\u25FB",m4="\u2205",g4="\u25AB",y4="\u2004",p4="\u2005",v4="\u2003",x4="\u014A",b4="\u014B",w4="\u2002",k4="\u0118",A4="\u0119",S4="\u{1D53C}",C4="\u{1D556}",M4="\u22D5",N4="\u29E3",$4="\u2A71",T4="\u03B5",E4="\u0395",L4="\u03B5",O4="\u03F5",P4="\u2256",j4="\u2255",D4="\u2242",q4="\u2A96",V4="\u2A95",B4="\u2A75",I4="=",R4="\u2242",H4="\u225F",X4="\u21CC",Y4="\u2261",_4="\u2A78",z4="\u29E5",F4="\u2971",U4="\u2253",G4="\u212F",W4="\u2130",K4="\u2250",Z4="\u2A73",Q4="\u2242",J4="\u0397",tg="\u03B7",eg="\xD0",ng="\xF0",ig="\xCB",rg="\xEB",og="\u20AC",sg="!",lg="\u2203",ag="\u2203",cg="\u2130",ug="\u2147",hg="\u2147",fg="\u2252",dg="\u0424",mg="\u0444",gg="\u2640",yg="\uFB03",pg="\uFB00",vg="\uFB04",xg="\u{1D509}",bg="\u{1D523}",wg="\uFB01",kg="\u25FC",Ag="\u25AA",Sg="fj",Cg="\u266D",Mg="\uFB02",Ng="\u25B1",$g="\u0192",Tg="\u{1D53D}",Eg="\u{1D557}",Lg="\u2200",Og="\u2200",Pg="\u22D4",jg="\u2AD9",Dg="\u2131",qg="\u2A0D",Vg="\xBD",Bg="\u2153",Ig="\xBC",Rg="\u2155",Hg="\u2159",Xg="\u215B",Yg="\u2154",_g="\u2156",zg="\xBE",Fg="\u2157",Ug="\u215C",Gg="\u2158",Wg="\u215A",Kg="\u215D",Zg="\u215E",Qg="\u2044",Jg="\u2322",ty="\u{1D4BB}",ey="\u2131",ny="\u01F5",iy="\u0393",ry="\u03B3",oy="\u03DC",sy="\u03DD",ly="\u2A86",ay="\u011E",cy="\u011F",uy="\u0122",hy="\u011C",fy="\u011D",dy="\u0413",my="\u0433",gy="\u0120",yy="\u0121",py="\u2265",vy="\u2267",xy="\u2A8C",by="\u22DB",wy="\u2265",ky="\u2267",Ay="\u2A7E",Sy="\u2AA9",Cy="\u2A7E",My="\u2A80",Ny="\u2A82",$y="\u2A84",Ty="\u22DB\uFE00",Ey="\u2A94",Ly="\u{1D50A}",Oy="\u{1D524}",Py="\u226B",jy="\u22D9",Dy="\u22D9",qy="\u2137",Vy="\u0403",By="\u0453",Iy="\u2AA5",Ry="\u2277",Hy="\u2A92",Xy="\u2AA4",Yy="\u2A8A",_y="\u2A8A",zy="\u2A88",Fy="\u2269",Uy="\u2A88",Gy="\u2269",Wy="\u22E7",Ky="\u{1D53E}",Zy="\u{1D558}",Qy="`",Jy="\u2265",tp="\u22DB",ep="\u2267",np="\u2AA2",ip="\u2277",rp="\u2A7E",op="\u2273",sp="\u{1D4A2}",lp="\u210A",ap="\u2273",cp="\u2A8E",up="\u2A90",hp="\u2AA7",fp="\u2A7A",dp=">",mp=">",gp="\u226B",yp="\u22D7",pp="\u2995",vp="\u2A7C",xp="\u2A86",bp="\u2978",wp="\u22D7",kp="\u22DB",Ap="\u2A8C",Sp="\u2277",Cp="\u2273",Mp="\u2269\uFE00",Np="\u2269\uFE00",$p="\u02C7",Tp="\u200A",Ep="\xBD",Lp="\u210B",Op="\u042A",Pp="\u044A",jp="\u2948",Dp="\u2194",qp="\u21D4",Vp="\u21AD",Bp="^",Ip="\u210F",Rp="\u0124",Hp="\u0125",Xp="\u2665",Yp="\u2665",_p="\u2026",zp="\u22B9",Fp="\u{1D525}",Up="\u210C",Gp="\u210B",Wp="\u2925",Kp="\u2926",Zp="\u21FF",Qp="\u223B",Jp="\u21A9",tv="\u21AA",ev="\u{1D559}",nv="\u210D",iv="\u2015",rv="\u2500",ov="\u{1D4BD}",sv="\u210B",lv="\u210F",av="\u0126",cv="\u0127",uv="\u224E",hv="\u224F",fv="\u2043",dv="\u2010",mv="\xCD",gv="\xED",yv="\u2063",pv="\xCE",vv="\xEE",xv="\u0418",bv="\u0438",wv="\u0130",kv="\u0415",Av="\u0435",Sv="\xA1",Cv="\u21D4",Mv="\u{1D526}",Nv="\u2111",$v="\xCC",Tv="\xEC",Ev="\u2148",Lv="\u2A0C",Ov="\u222D",Pv="\u29DC",jv="\u2129",Dv="\u0132",qv="\u0133",Vv="\u012A",Bv="\u012B",Iv="\u2111",Rv="\u2148",Hv="\u2110",Xv="\u2111",Yv="\u0131",_v="\u2111",zv="\u22B7",Fv="\u01B5",Uv="\u21D2",Gv="\u2105",Wv="\u221E",Kv="\u29DD",Zv="\u0131",Qv="\u22BA",Jv="\u222B",tx="\u222C",ex="\u2124",nx="\u222B",ix="\u22BA",rx="\u22C2",ox="\u2A17",sx="\u2A3C",lx="\u2063",ax="\u2062",cx="\u0401",ux="\u0451",hx="\u012E",fx="\u012F",dx="\u{1D540}",mx="\u{1D55A}",gx="\u0399",yx="\u03B9",px="\u2A3C",vx="\xBF",xx="\u{1D4BE}",bx="\u2110",wx="\u2208",kx="\u22F5",Ax="\u22F9",Sx="\u22F4",Cx="\u22F3",Mx="\u2208",Nx="\u2062",$x="\u0128",Tx="\u0129",Ex="\u0406",Lx="\u0456",Ox="\xCF",Px="\xEF",jx="\u0134",Dx="\u0135",qx="\u0419",Vx="\u0439",Bx="\u{1D50D}",Ix="\u{1D527}",Rx="\u0237",Hx="\u{1D541}",Xx="\u{1D55B}",Yx="\u{1D4A5}",_x="\u{1D4BF}",zx="\u0408",Fx="\u0458",Ux="\u0404",Gx="\u0454",Wx="\u039A",Kx="\u03BA",Zx="\u03F0",Qx="\u0136",Jx="\u0137",tb="\u041A",eb="\u043A",nb="\u{1D50E}",ib="\u{1D528}",rb="\u0138",ob="\u0425",sb="\u0445",lb="\u040C",ab="\u045C",cb="\u{1D542}",ub="\u{1D55C}",hb="\u{1D4A6}",fb="\u{1D4C0}",db="\u21DA",mb="\u0139",gb="\u013A",yb="\u29B4",pb="\u2112",vb="\u039B",xb="\u03BB",bb="\u27E8",wb="\u27EA",kb="\u2991",Ab="\u27E8",Sb="\u2A85",Cb="\u2112",Mb="\xAB",Nb="\u21E4",$b="\u291F",Tb="\u2190",Eb="\u219E",Lb="\u21D0",Ob="\u291D",Pb="\u21A9",jb="\u21AB",Db="\u2939",qb="\u2973",Vb="\u21A2",Bb="\u2919",Ib="\u291B",Rb="\u2AAB",Hb="\u2AAD",Xb="\u2AAD\uFE00",Yb="\u290C",_b="\u290E",zb="\u2772",Fb="{",Ub="[",Gb="\u298B",Wb="\u298F",Kb="\u298D",Zb="\u013D",Qb="\u013E",Jb="\u013B",tw="\u013C",ew="\u2308",nw="{",iw="\u041B",rw="\u043B",ow="\u2936",sw="\u201C",lw="\u201E",aw="\u2967",cw="\u294B",uw="\u21B2",hw="\u2264",fw="\u2266",dw="\u27E8",mw="\u21E4",gw="\u2190",yw="\u2190",pw="\u21D0",vw="\u21C6",xw="\u21A2",bw="\u2308",ww="\u27E6",kw="\u2961",Aw="\u2959",Sw="\u21C3",Cw="\u230A",Mw="\u21BD",Nw="\u21BC",$w="\u21C7",Tw="\u2194",Ew="\u2194",Lw="\u21D4",Ow="\u21C6",Pw="\u21CB",jw="\u21AD",Dw="\u294E",qw="\u21A4",Vw="\u22A3",Bw="\u295A",Iw="\u22CB",Rw="\u29CF",Hw="\u22B2",Xw="\u22B4",Yw="\u2951",_w="\u2960",zw="\u2958",Fw="\u21BF",Uw="\u2952",Gw="\u21BC",Ww="\u2A8B",Kw="\u22DA",Zw="\u2264",Qw="\u2266",Jw="\u2A7D",tk="\u2AA8",ek="\u2A7D",nk="\u2A7F",ik="\u2A81",rk="\u2A83",ok="\u22DA\uFE00",sk="\u2A93",lk="\u2A85",ak="\u22D6",ck="\u22DA",uk="\u2A8B",hk="\u22DA",fk="\u2266",dk="\u2276",mk="\u2276",gk="\u2AA1",yk="\u2272",pk="\u2A7D",vk="\u2272",xk="\u297C",bk="\u230A",wk="\u{1D50F}",kk="\u{1D529}",Ak="\u2276",Sk="\u2A91",Ck="\u2962",Mk="\u21BD",Nk="\u21BC",$k="\u296A",Tk="\u2584",Ek="\u0409",Lk="\u0459",Ok="\u21C7",Pk="\u226A",jk="\u22D8",Dk="\u231E",qk="\u21DA",Vk="\u296B",Bk="\u25FA",Ik="\u013F",Rk="\u0140",Hk="\u23B0",Xk="\u23B0",Yk="\u2A89",_k="\u2A89",zk="\u2A87",Fk="\u2268",Uk="\u2A87",Gk="\u2268",Wk="\u22E6",Kk="\u27EC",Zk="\u21FD",Qk="\u27E6",Jk="\u27F5",tA="\u27F5",eA="\u27F8",nA="\u27F7",iA="\u27F7",rA="\u27FA",oA="\u27FC",sA="\u27F6",lA="\u27F6",aA="\u27F9",cA="\u21AB",uA="\u21AC",hA="\u2985",fA="\u{1D543}",dA="\u{1D55D}",mA="\u2A2D",gA="\u2A34",yA="\u2217",pA="_",vA="\u2199",xA="\u2198",bA="\u25CA",wA="\u25CA",kA="\u29EB",AA="(",SA="\u2993",CA="\u21C6",MA="\u231F",NA="\u21CB",$A="\u296D",TA="\u200E",EA="\u22BF",LA="\u2039",OA="\u{1D4C1}",PA="\u2112",jA="\u21B0",DA="\u21B0",qA="\u2272",VA="\u2A8D",BA="\u2A8F",IA="[",RA="\u2018",HA="\u201A",XA="\u0141",YA="\u0142",_A="\u2AA6",zA="\u2A79",FA="<",UA="<",GA="\u226A",WA="\u22D6",KA="\u22CB",ZA="\u22C9",QA="\u2976",JA="\u2A7B",tS="\u25C3",eS="\u22B4",nS="\u25C2",iS="\u2996",rS="\u294A",oS="\u2966",sS="\u2268\uFE00",lS="\u2268\uFE00",aS="\xAF",cS="\u2642",uS="\u2720",hS="\u2720",fS="\u21A6",dS="\u21A6",mS="\u21A7",gS="\u21A4",yS="\u21A5",pS="\u25AE",vS="\u2A29",xS="\u041C",bS="\u043C",wS="\u2014",kS="\u223A",AS="\u2221",SS="\u205F",CS="\u2133",MS="\u{1D510}",NS="\u{1D52A}",$S="\u2127",TS="\xB5",ES="*",LS="\u2AF0",OS="\u2223",PS="\xB7",jS="\u229F",DS="\u2212",qS="\u2238",VS="\u2A2A",BS="\u2213",IS="\u2ADB",RS="\u2026",HS="\u2213",XS="\u22A7",YS="\u{1D544}",_S="\u{1D55E}",zS="\u2213",FS="\u{1D4C2}",US="\u2133",GS="\u223E",WS="\u039C",KS="\u03BC",ZS="\u22B8",QS="\u22B8",JS="\u2207",tC="\u0143",eC="\u0144",nC="\u2220\u20D2",iC="\u2249",rC="\u2A70\u0338",oC="\u224B\u0338",sC="\u0149",lC="\u2249",aC="\u266E",cC="\u2115",uC="\u266E",hC="\xA0",fC="\u224E\u0338",dC="\u224F\u0338",mC="\u2A43",gC="\u0147",yC="\u0148",pC="\u0145",vC="\u0146",xC="\u2247",bC="\u2A6D\u0338",wC="\u2A42",kC="\u041D",AC="\u043D",SC="\u2013",CC="\u2924",MC="\u2197",NC="\u21D7",$C="\u2197",TC="\u2260",EC="\u2250\u0338",LC="\u200B",OC="\u200B",PC="\u200B",jC="\u200B",DC="\u2262",qC="\u2928",VC="\u2242\u0338",BC="\u226B",IC="\u226A",RC=`
|
|
3
|
-
`,HC="\u2204",XC="\u2204",YC="\u{1D511}",_C="\u{1D52B}",zC="\u2267\u0338",FC="\u2271",UC="\u2271",GC="\u2267\u0338",WC="\u2A7E\u0338",KC="\u2A7E\u0338",ZC="\u22D9\u0338",QC="\u2275",JC="\u226B\u20D2",tM="\u226F",eM="\u226F",nM="\u226B\u0338",iM="\u21AE",rM="\u21CE",oM="\u2AF2",sM="\u220B",lM="\u22FC",aM="\u22FA",cM="\u220B",uM="\u040A",hM="\u045A",fM="\u219A",dM="\u21CD",mM="\u2025",gM="\u2266\u0338",yM="\u2270",pM="\u219A",vM="\u21CD",xM="\u21AE",bM="\u21CE",wM="\u2270",kM="\u2266\u0338",AM="\u2A7D\u0338",SM="\u2A7D\u0338",CM="\u226E",MM="\u22D8\u0338",NM="\u2274",$M="\u226A\u20D2",TM="\u226E",EM="\u22EA",LM="\u22EC",OM="\u226A\u0338",PM="\u2224",jM="\u2060",DM="\xA0",qM="\u{1D55F}",VM="\u2115",BM="\u2AEC",IM="\xAC",RM="\u2262",HM="\u226D",XM="\u2226",YM="\u2209",_M="\u2260",zM="\u2242\u0338",FM="\u2204",UM="\u226F",GM="\u2271",WM="\u2267\u0338",KM="\u226B\u0338",ZM="\u2279",QM="\u2A7E\u0338",JM="\u2275",tN="\u224E\u0338",eN="\u224F\u0338",nN="\u2209",iN="\u22F5\u0338",rN="\u22F9\u0338",oN="\u2209",sN="\u22F7",lN="\u22F6",aN="\u29CF\u0338",cN="\u22EA",uN="\u22EC",hN="\u226E",fN="\u2270",dN="\u2278",mN="\u226A\u0338",gN="\u2A7D\u0338",yN="\u2274",pN="\u2AA2\u0338",vN="\u2AA1\u0338",xN="\u220C",bN="\u220C",wN="\u22FE",kN="\u22FD",AN="\u2280",SN="\u2AAF\u0338",CN="\u22E0",MN="\u220C",NN="\u29D0\u0338",$N="\u22EB",TN="\u22ED",EN="\u228F\u0338",LN="\u22E2",ON="\u2290\u0338",PN="\u22E3",jN="\u2282\u20D2",DN="\u2288",qN="\u2281",VN="\u2AB0\u0338",BN="\u22E1",IN="\u227F\u0338",RN="\u2283\u20D2",HN="\u2289",XN="\u2241",YN="\u2244",_N="\u2247",zN="\u2249",FN="\u2224",UN="\u2226",GN="\u2226",WN="\u2AFD\u20E5",KN="\u2202\u0338",ZN="\u2A14",QN="\u2280",JN="\u22E0",t$="\u2280",e$="\u2AAF\u0338",n$="\u2AAF\u0338",i$="\u2933\u0338",r$="\u219B",o$="\u21CF",s$="\u219D\u0338",l$="\u219B",a$="\u21CF",c$="\u22EB",u$="\u22ED",h$="\u2281",f$="\u22E1",d$="\u2AB0\u0338",m$="\u{1D4A9}",g$="\u{1D4C3}",y$="\u2224",p$="\u2226",v$="\u2241",x$="\u2244",b$="\u2244",w$="\u2224",k$="\u2226",A$="\u22E2",S$="\u22E3",C$="\u2284",M$="\u2AC5\u0338",N$="\u2288",$$="\u2282\u20D2",T$="\u2288",E$="\u2AC5\u0338",L$="\u2281",O$="\u2AB0\u0338",P$="\u2285",j$="\u2AC6\u0338",D$="\u2289",q$="\u2283\u20D2",V$="\u2289",B$="\u2AC6\u0338",I$="\u2279",R$="\xD1",H$="\xF1",X$="\u2278",Y$="\u22EA",_$="\u22EC",z$="\u22EB",F$="\u22ED",U$="\u039D",G$="\u03BD",W$="#",K$="\u2116",Z$="\u2007",Q$="\u224D\u20D2",J$="\u22AC",tT="\u22AD",eT="\u22AE",nT="\u22AF",iT="\u2265\u20D2",rT=">\u20D2",oT="\u2904",sT="\u29DE",lT="\u2902",aT="\u2264\u20D2",cT="<\u20D2",uT="\u22B4\u20D2",hT="\u2903",fT="\u22B5\u20D2",dT="\u223C\u20D2",mT="\u2923",gT="\u2196",yT="\u21D6",pT="\u2196",vT="\u2927",xT="\xD3",bT="\xF3",wT="\u229B",kT="\xD4",AT="\xF4",ST="\u229A",CT="\u041E",MT="\u043E",NT="\u229D",$T="\u0150",TT="\u0151",ET="\u2A38",LT="\u2299",OT="\u29BC",PT="\u0152",jT="\u0153",DT="\u29BF",qT="\u{1D512}",VT="\u{1D52C}",BT="\u02DB",IT="\xD2",RT="\xF2",HT="\u29C1",XT="\u29B5",YT="\u03A9",_T="\u222E",zT="\u21BA",FT="\u29BE",UT="\u29BB",GT="\u203E",WT="\u29C0",KT="\u014C",ZT="\u014D",QT="\u03A9",JT="\u03C9",tE="\u039F",eE="\u03BF",nE="\u29B6",iE="\u2296",rE="\u{1D546}",oE="\u{1D560}",sE="\u29B7",lE="\u201C",aE="\u2018",cE="\u29B9",uE="\u2295",hE="\u21BB",fE="\u2A54",dE="\u2228",mE="\u2A5D",gE="\u2134",yE="\u2134",pE="\xAA",vE="\xBA",xE="\u22B6",bE="\u2A56",wE="\u2A57",kE="\u2A5B",AE="\u24C8",SE="\u{1D4AA}",CE="\u2134",ME="\xD8",NE="\xF8",$E="\u2298",TE="\xD5",EE="\xF5",LE="\u2A36",OE="\u2A37",PE="\u2297",jE="\xD6",DE="\xF6",qE="\u233D",VE="\u203E",BE="\u23DE",IE="\u23B4",RE="\u23DC",HE="\xB6",XE="\u2225",YE="\u2225",_E="\u2AF3",zE="\u2AFD",FE="\u2202",UE="\u2202",GE="\u041F",WE="\u043F",KE="%",ZE=".",QE="\u2030",JE="\u22A5",tL="\u2031",eL="\u{1D513}",nL="\u{1D52D}",iL="\u03A6",rL="\u03C6",oL="\u03D5",sL="\u2133",lL="\u260E",aL="\u03A0",cL="\u03C0",uL="\u22D4",hL="\u03D6",fL="\u210F",dL="\u210E",mL="\u210F",gL="\u2A23",yL="\u229E",pL="\u2A22",vL="+",xL="\u2214",bL="\u2A25",wL="\u2A72",kL="\xB1",AL="\xB1",SL="\u2A26",CL="\u2A27",ML="\xB1",NL="\u210C",$L="\u2A15",TL="\u{1D561}",EL="\u2119",LL="\xA3",OL="\u2AB7",PL="\u2ABB",jL="\u227A",DL="\u227C",qL="\u2AB7",VL="\u227A",BL="\u227C",IL="\u227A",RL="\u2AAF",HL="\u227C",XL="\u227E",YL="\u2AAF",_L="\u2AB9",zL="\u2AB5",FL="\u22E8",UL="\u2AAF",GL="\u2AB3",WL="\u227E",KL="\u2032",ZL="\u2033",QL="\u2119",JL="\u2AB9",tO="\u2AB5",eO="\u22E8",nO="\u220F",iO="\u220F",rO="\u232E",oO="\u2312",sO="\u2313",lO="\u221D",aO="\u221D",cO="\u2237",uO="\u221D",hO="\u227E",fO="\u22B0",dO="\u{1D4AB}",mO="\u{1D4C5}",gO="\u03A8",yO="\u03C8",pO="\u2008",vO="\u{1D514}",xO="\u{1D52E}",bO="\u2A0C",wO="\u{1D562}",kO="\u211A",AO="\u2057",SO="\u{1D4AC}",CO="\u{1D4C6}",MO="\u210D",NO="\u2A16",$O="?",TO="\u225F",EO='"',LO='"',OO="\u21DB",PO="\u223D\u0331",jO="\u0154",DO="\u0155",qO="\u221A",VO="\u29B3",BO="\u27E9",IO="\u27EB",RO="\u2992",HO="\u29A5",XO="\u27E9",YO="\xBB",_O="\u2975",zO="\u21E5",FO="\u2920",UO="\u2933",GO="\u2192",WO="\u21A0",KO="\u21D2",ZO="\u291E",QO="\u21AA",JO="\u21AC",tP="\u2945",eP="\u2974",nP="\u2916",iP="\u21A3",rP="\u219D",oP="\u291A",sP="\u291C",lP="\u2236",aP="\u211A",cP="\u290D",uP="\u290F",hP="\u2910",fP="\u2773",dP="}",mP="]",gP="\u298C",yP="\u298E",pP="\u2990",vP="\u0158",xP="\u0159",bP="\u0156",wP="\u0157",kP="\u2309",AP="}",SP="\u0420",CP="\u0440",MP="\u2937",NP="\u2969",$P="\u201D",TP="\u201D",EP="\u21B3",LP="\u211C",OP="\u211B",PP="\u211C",jP="\u211D",DP="\u211C",qP="\u25AD",VP="\xAE",BP="\xAE",IP="\u220B",RP="\u21CB",HP="\u296F",XP="\u297D",YP="\u230B",_P="\u{1D52F}",zP="\u211C",FP="\u2964",UP="\u21C1",GP="\u21C0",WP="\u296C",KP="\u03A1",ZP="\u03C1",QP="\u03F1",JP="\u27E9",tj="\u21E5",ej="\u2192",nj="\u2192",ij="\u21D2",rj="\u21C4",oj="\u21A3",sj="\u2309",lj="\u27E7",aj="\u295D",cj="\u2955",uj="\u21C2",hj="\u230B",fj="\u21C1",dj="\u21C0",mj="\u21C4",gj="\u21CC",yj="\u21C9",pj="\u219D",vj="\u21A6",xj="\u22A2",bj="\u295B",wj="\u22CC",kj="\u29D0",Aj="\u22B3",Sj="\u22B5",Cj="\u294F",Mj="\u295C",Nj="\u2954",$j="\u21BE",Tj="\u2953",Ej="\u21C0",Lj="\u02DA",Oj="\u2253",Pj="\u21C4",jj="\u21CC",Dj="\u200F",qj="\u23B1",Vj="\u23B1",Bj="\u2AEE",Ij="\u27ED",Rj="\u21FE",Hj="\u27E7",Xj="\u2986",Yj="\u{1D563}",_j="\u211D",zj="\u2A2E",Fj="\u2A35",Uj="\u2970",Gj=")",Wj="\u2994",Kj="\u2A12",Zj="\u21C9",Qj="\u21DB",Jj="\u203A",tD="\u{1D4C7}",eD="\u211B",nD="\u21B1",iD="\u21B1",rD="]",oD="\u2019",sD="\u2019",lD="\u22CC",aD="\u22CA",cD="\u25B9",uD="\u22B5",hD="\u25B8",fD="\u29CE",dD="\u29F4",mD="\u2968",gD="\u211E",yD="\u015A",pD="\u015B",vD="\u201A",xD="\u2AB8",bD="\u0160",wD="\u0161",kD="\u2ABC",AD="\u227B",SD="\u227D",CD="\u2AB0",MD="\u2AB4",ND="\u015E",$D="\u015F",TD="\u015C",ED="\u015D",LD="\u2ABA",OD="\u2AB6",PD="\u22E9",jD="\u2A13",DD="\u227F",qD="\u0421",VD="\u0441",BD="\u22A1",ID="\u22C5",RD="\u2A66",HD="\u2925",XD="\u2198",YD="\u21D8",_D="\u2198",zD="\xA7",FD=";",UD="\u2929",GD="\u2216",WD="\u2216",KD="\u2736",ZD="\u{1D516}",QD="\u{1D530}",JD="\u2322",tq="\u266F",eq="\u0429",nq="\u0449",iq="\u0428",rq="\u0448",oq="\u2193",sq="\u2190",lq="\u2223",aq="\u2225",cq="\u2192",uq="\u2191",hq="\xAD",fq="\u03A3",dq="\u03C3",mq="\u03C2",gq="\u03C2",yq="\u223C",pq="\u2A6A",vq="\u2243",xq="\u2243",bq="\u2A9E",wq="\u2AA0",kq="\u2A9D",Aq="\u2A9F",Sq="\u2246",Cq="\u2A24",Mq="\u2972",Nq="\u2190",$q="\u2218",Tq="\u2216",Eq="\u2A33",Lq="\u29E4",Oq="\u2223",Pq="\u2323",jq="\u2AAA",Dq="\u2AAC",qq="\u2AAC\uFE00",Vq="\u042C",Bq="\u044C",Iq="\u233F",Rq="\u29C4",Hq="/",Xq="\u{1D54A}",Yq="\u{1D564}",_q="\u2660",zq="\u2660",Fq="\u2225",Uq="\u2293",Gq="\u2293\uFE00",Wq="\u2294",Kq="\u2294\uFE00",Zq="\u221A",Qq="\u228F",Jq="\u2291",tV="\u228F",eV="\u2291",nV="\u2290",iV="\u2292",rV="\u2290",oV="\u2292",sV="\u25A1",lV="\u25A1",aV="\u2293",cV="\u228F",uV="\u2291",hV="\u2290",fV="\u2292",dV="\u2294",mV="\u25AA",gV="\u25A1",yV="\u25AA",pV="\u2192",vV="\u{1D4AE}",xV="\u{1D4C8}",bV="\u2216",wV="\u2323",kV="\u22C6",AV="\u22C6",SV="\u2606",CV="\u2605",MV="\u03F5",NV="\u03D5",$V="\xAF",TV="\u2282",EV="\u22D0",LV="\u2ABD",OV="\u2AC5",PV="\u2286",jV="\u2AC3",DV="\u2AC1",qV="\u2ACB",VV="\u228A",BV="\u2ABF",IV="\u2979",RV="\u2282",HV="\u22D0",XV="\u2286",YV="\u2AC5",_V="\u2286",zV="\u228A",FV="\u2ACB",UV="\u2AC7",GV="\u2AD5",WV="\u2AD3",KV="\u2AB8",ZV="\u227B",QV="\u227D",JV="\u227B",tB="\u2AB0",eB="\u227D",nB="\u227F",iB="\u2AB0",rB="\u2ABA",oB="\u2AB6",sB="\u22E9",lB="\u227F",aB="\u220B",cB="\u2211",uB="\u2211",hB="\u266A",fB="\xB9",dB="\xB2",mB="\xB3",gB="\u2283",yB="\u22D1",pB="\u2ABE",vB="\u2AD8",xB="\u2AC6",bB="\u2287",wB="\u2AC4",kB="\u2283",AB="\u2287",SB="\u27C9",CB="\u2AD7",MB="\u297B",NB="\u2AC2",$B="\u2ACC",TB="\u228B",EB="\u2AC0",LB="\u2283",OB="\u22D1",PB="\u2287",jB="\u2AC6",DB="\u228B",qB="\u2ACC",VB="\u2AC8",BB="\u2AD4",IB="\u2AD6",RB="\u2926",HB="\u2199",XB="\u21D9",YB="\u2199",_B="\u292A",zB="\xDF",FB=" ",UB="\u2316",GB="\u03A4",WB="\u03C4",KB="\u23B4",ZB="\u0164",QB="\u0165",JB="\u0162",tI="\u0163",eI="\u0422",nI="\u0442",iI="\u20DB",rI="\u2315",oI="\u{1D517}",sI="\u{1D531}",lI="\u2234",aI="\u2234",cI="\u2234",uI="\u0398",hI="\u03B8",fI="\u03D1",dI="\u03D1",mI="\u2248",gI="\u223C",yI="\u205F\u200A",pI="\u2009",vI="\u2009",xI="\u2248",bI="\u223C",wI="\xDE",kI="\xFE",AI="\u02DC",SI="\u223C",CI="\u2243",MI="\u2245",NI="\u2248",$I="\u2A31",TI="\u22A0",EI="\xD7",LI="\u2A30",OI="\u222D",PI="\u2928",jI="\u2336",DI="\u2AF1",qI="\u22A4",VI="\u{1D54B}",BI="\u{1D565}",II="\u2ADA",RI="\u2929",HI="\u2034",XI="\u2122",YI="\u2122",_I="\u25B5",zI="\u25BF",FI="\u25C3",UI="\u22B4",GI="\u225C",WI="\u25B9",KI="\u22B5",ZI="\u25EC",QI="\u225C",JI="\u2A3A",tR="\u20DB",eR="\u2A39",nR="\u29CD",iR="\u2A3B",rR="\u23E2",oR="\u{1D4AF}",sR="\u{1D4C9}",lR="\u0426",aR="\u0446",cR="\u040B",uR="\u045B",hR="\u0166",fR="\u0167",dR="\u226C",mR="\u219E",gR="\u21A0",yR="\xDA",pR="\xFA",vR="\u2191",xR="\u219F",bR="\u21D1",wR="\u2949",kR="\u040E",AR="\u045E",SR="\u016C",CR="\u016D",MR="\xDB",NR="\xFB",$R="\u0423",TR="\u0443",ER="\u21C5",LR="\u0170",OR="\u0171",PR="\u296E",jR="\u297E",DR="\u{1D518}",qR="\u{1D532}",VR="\xD9",BR="\xF9",IR="\u2963",RR="\u21BF",HR="\u21BE",XR="\u2580",YR="\u231C",_R="\u231C",zR="\u230F",FR="\u25F8",UR="\u016A",GR="\u016B",WR="\xA8",KR="_",ZR="\u23DF",QR="\u23B5",JR="\u23DD",tH="\u22C3",eH="\u228E",nH="\u0172",iH="\u0173",rH="\u{1D54C}",oH="\u{1D566}",sH="\u2912",lH="\u2191",aH="\u2191",cH="\u21D1",uH="\u21C5",hH="\u2195",fH="\u2195",dH="\u21D5",mH="\u296E",gH="\u21BF",yH="\u21BE",pH="\u228E",vH="\u2196",xH="\u2197",bH="\u03C5",wH="\u03D2",kH="\u03D2",AH="\u03A5",SH="\u03C5",CH="\u21A5",MH="\u22A5",NH="\u21C8",$H="\u231D",TH="\u231D",EH="\u230E",LH="\u016E",OH="\u016F",PH="\u25F9",jH="\u{1D4B0}",DH="\u{1D4CA}",qH="\u22F0",VH="\u0168",BH="\u0169",IH="\u25B5",RH="\u25B4",HH="\u21C8",XH="\xDC",YH="\xFC",_H="\u29A7",zH="\u299C",FH="\u03F5",UH="\u03F0",GH="\u2205",WH="\u03D5",KH="\u03D6",ZH="\u221D",QH="\u2195",JH="\u21D5",tX="\u03F1",eX="\u03C2",nX="\u228A\uFE00",iX="\u2ACB\uFE00",rX="\u228B\uFE00",oX="\u2ACC\uFE00",sX="\u03D1",lX="\u22B2",aX="\u22B3",cX="\u2AE8",uX="\u2AEB",hX="\u2AE9",fX="\u0412",dX="\u0432",mX="\u22A2",gX="\u22A8",yX="\u22A9",pX="\u22AB",vX="\u2AE6",xX="\u22BB",bX="\u2228",wX="\u22C1",kX="\u225A",AX="\u22EE",SX="|",CX="\u2016",MX="|",NX="\u2016",$X="\u2223",TX="|",EX="\u2758",LX="\u2240",OX="\u200A",PX="\u{1D519}",jX="\u{1D533}",DX="\u22B2",qX="\u2282\u20D2",VX="\u2283\u20D2",BX="\u{1D54D}",IX="\u{1D567}",RX="\u221D",HX="\u22B3",XX="\u{1D4B1}",YX="\u{1D4CB}",_X="\u2ACB\uFE00",zX="\u228A\uFE00",FX="\u2ACC\uFE00",UX="\u228B\uFE00",GX="\u22AA",WX="\u299A",KX="\u0174",ZX="\u0175",QX="\u2A5F",JX="\u2227",tY="\u22C0",eY="\u2259",nY="\u2118",iY="\u{1D51A}",rY="\u{1D534}",oY="\u{1D54E}",sY="\u{1D568}",lY="\u2118",aY="\u2240",cY="\u2240",uY="\u{1D4B2}",hY="\u{1D4CC}",fY="\u22C2",dY="\u25EF",mY="\u22C3",gY="\u25BD",yY="\u{1D51B}",pY="\u{1D535}",vY="\u27F7",xY="\u27FA",bY="\u039E",wY="\u03BE",kY="\u27F5",AY="\u27F8",SY="\u27FC",CY="\u22FB",MY="\u2A00",NY="\u{1D54F}",$Y="\u{1D569}",TY="\u2A01",EY="\u2A02",LY="\u27F6",OY="\u27F9",PY="\u{1D4B3}",jY="\u{1D4CD}",DY="\u2A06",qY="\u2A04",VY="\u25B3",BY="\u22C1",IY="\u22C0",RY="\xDD",HY="\xFD",XY="\u042F",YY="\u044F",_Y="\u0176",zY="\u0177",FY="\u042B",UY="\u044B",GY="\xA5",WY="\u{1D51C}",KY="\u{1D536}",ZY="\u0407",QY="\u0457",JY="\u{1D550}",t_="\u{1D56A}",e_="\u{1D4B4}",n_="\u{1D4CE}",i_="\u042E",r_="\u044E",o_="\xFF",s_="\u0178",l_="\u0179",a_="\u017A",c_="\u017D",u_="\u017E",h_="\u0417",f_="\u0437",d_="\u017B",m_="\u017C",g_="\u2128",y_="\u200B",p_="\u0396",v_="\u03B6",x_="\u{1D537}",b_="\u2128",w_="\u0416",k_="\u0436",A_="\u21DD",S_="\u{1D56B}",C_="\u2124",M_="\u{1D4B5}",N_="\u{1D4CF}",$_="\u200D",T_="\u200C",nl={Aacute:f8,aacute:d8,Abreve:m8,abreve:g8,ac:y8,acd:p8,acE:v8,Acirc:x8,acirc:b8,acute:w8,Acy:k8,acy:A8,AElig:S8,aelig:C8,af:M8,Afr:N8,afr:$8,Agrave:T8,agrave:E8,alefsym:L8,aleph:O8,Alpha:P8,alpha:j8,Amacr:D8,amacr:q8,amalg:V8,amp:B8,AMP:I8,andand:R8,And:H8,and:X8,andd:Y8,andslope:_8,andv:z8,ang:F8,ange:U8,angle:G8,angmsdaa:W8,angmsdab:K8,angmsdac:Z8,angmsdad:Q8,angmsdae:J8,angmsdaf:t5,angmsdag:e5,angmsdah:n5,angmsd:i5,angrt:r5,angrtvb:o5,angrtvbd:s5,angsph:l5,angst:a5,angzarr:c5,Aogon:u5,aogon:h5,Aopf:f5,aopf:d5,apacir:m5,ap:g5,apE:y5,ape:p5,apid:v5,apos:x5,ApplyFunction:b5,approx:w5,approxeq:k5,Aring:A5,aring:S5,Ascr:C5,ascr:M5,Assign:N5,ast:$5,asymp:T5,asympeq:E5,Atilde:L5,atilde:O5,Auml:P5,auml:j5,awconint:D5,awint:q5,backcong:V5,backepsilon:B5,backprime:I5,backsim:R5,backsimeq:H5,Backslash:X5,Barv:Y5,barvee:_5,barwed:z5,Barwed:F5,barwedge:U5,bbrk:G5,bbrktbrk:W5,bcong:K5,Bcy:Z5,bcy:Q5,bdquo:J5,becaus:t6,because:e6,Because:n6,bemptyv:i6,bepsi:r6,bernou:o6,Bernoullis:s6,Beta:l6,beta:a6,beth:c6,between:u6,Bfr:h6,bfr:f6,bigcap:d6,bigcirc:m6,bigcup:g6,bigodot:y6,bigoplus:p6,bigotimes:v6,bigsqcup:x6,bigstar:b6,bigtriangledown:w6,bigtriangleup:k6,biguplus:A6,bigvee:S6,bigwedge:C6,bkarow:M6,blacklozenge:N6,blacksquare:$6,blacktriangle:T6,blacktriangledown:E6,blacktriangleleft:L6,blacktriangleright:O6,blank:P6,blk12:j6,blk14:D6,blk34:q6,block:V6,bne:B6,bnequiv:I6,bNot:R6,bnot:H6,Bopf:X6,bopf:Y6,bot:_6,bottom:z6,bowtie:F6,boxbox:U6,boxdl:G6,boxdL:W6,boxDl:K6,boxDL:Z6,boxdr:Q6,boxdR:J6,boxDr:th,boxDR:eh,boxh:nh,boxH:ih,boxhd:rh,boxHd:oh,boxhD:sh,boxHD:lh,boxhu:ah,boxHu:ch,boxhU:uh,boxHU:hh,boxminus:fh,boxplus:dh,boxtimes:mh,boxul:gh,boxuL:yh,boxUl:ph,boxUL:vh,boxur:xh,boxuR:bh,boxUr:wh,boxUR:kh,boxv:Ah,boxV:Sh,boxvh:Ch,boxvH:Mh,boxVh:Nh,boxVH:$h,boxvl:Th,boxvL:Eh,boxVl:Lh,boxVL:Oh,boxvr:Ph,boxvR:jh,boxVr:Dh,boxVR:qh,bprime:Vh,breve:Bh,Breve:Ih,brvbar:Rh,bscr:Hh,Bscr:Xh,bsemi:Yh,bsim:_h,bsime:zh,bsolb:Fh,bsol:Uh,bsolhsub:Gh,bull:Wh,bullet:Kh,bump:Zh,bumpE:Qh,bumpe:Jh,Bumpeq:t7,bumpeq:e7,Cacute:n7,cacute:i7,capand:r7,capbrcup:o7,capcap:s7,cap:l7,Cap:a7,capcup:c7,capdot:u7,CapitalDifferentialD:h7,caps:f7,caret:d7,caron:m7,Cayleys:g7,ccaps:y7,Ccaron:p7,ccaron:v7,Ccedil:x7,ccedil:b7,Ccirc:w7,ccirc:k7,Cconint:A7,ccups:S7,ccupssm:C7,Cdot:M7,cdot:N7,cedil:$7,Cedilla:T7,cemptyv:E7,cent:L7,centerdot:O7,CenterDot:P7,cfr:j7,Cfr:D7,CHcy:q7,chcy:V7,check:B7,checkmark:I7,Chi:R7,chi:H7,circ:X7,circeq:Y7,circlearrowleft:_7,circlearrowright:z7,circledast:F7,circledcirc:U7,circleddash:G7,CircleDot:W7,circledR:K7,circledS:Z7,CircleMinus:Q7,CirclePlus:J7,CircleTimes:tf,cir:ef,cirE:nf,cire:rf,cirfnint:of,cirmid:sf,cirscir:lf,ClockwiseContourIntegral:af,CloseCurlyDoubleQuote:cf,CloseCurlyQuote:uf,clubs:hf,clubsuit:ff,colon:df,Colon:mf,Colone:gf,colone:yf,coloneq:pf,comma:vf,commat:xf,comp:bf,compfn:wf,complement:kf,complexes:Af,cong:Sf,congdot:Cf,Congruent:Mf,conint:Nf,Conint:$f,ContourIntegral:Tf,copf:Ef,Copf:Lf,coprod:Of,Coproduct:Pf,copy:jf,COPY:Df,copysr:qf,CounterClockwiseContourIntegral:Vf,crarr:Bf,cross:If,Cross:Rf,Cscr:Hf,cscr:Xf,csub:Yf,csube:_f,csup:zf,csupe:Ff,ctdot:Uf,cudarrl:Gf,cudarrr:Wf,cuepr:Kf,cuesc:Zf,cularr:Qf,cularrp:Jf,cupbrcap:t3,cupcap:e3,CupCap:n3,cup:i3,Cup:r3,cupcup:o3,cupdot:s3,cupor:l3,cups:a3,curarr:c3,curarrm:u3,curlyeqprec:h3,curlyeqsucc:f3,curlyvee:d3,curlywedge:m3,curren:g3,curvearrowleft:y3,curvearrowright:p3,cuvee:v3,cuwed:x3,cwconint:b3,cwint:w3,cylcty:k3,dagger:A3,Dagger:S3,daleth:C3,darr:M3,Darr:N3,dArr:$3,dash:T3,Dashv:E3,dashv:L3,dbkarow:O3,dblac:P3,Dcaron:j3,dcaron:D3,Dcy:q3,dcy:V3,ddagger:B3,ddarr:I3,DD:R3,dd:H3,DDotrahd:X3,ddotseq:Y3,deg:_3,Del:z3,Delta:F3,delta:U3,demptyv:G3,dfisht:W3,Dfr:K3,dfr:Z3,dHar:Q3,dharl:J3,dharr:td,DiacriticalAcute:ed,DiacriticalDot:nd,DiacriticalDoubleAcute:id,DiacriticalGrave:rd,DiacriticalTilde:od,diam:sd,diamond:ld,Diamond:ad,diamondsuit:cd,diams:ud,die:hd,DifferentialD:fd,digamma:dd,disin:md,div:gd,divide:yd,divideontimes:pd,divonx:vd,DJcy:xd,djcy:bd,dlcorn:wd,dlcrop:kd,dollar:Ad,Dopf:Sd,dopf:Cd,Dot:Md,dot:Nd,DotDot:$d,doteq:Td,doteqdot:Ed,DotEqual:Ld,dotminus:Od,dotplus:Pd,dotsquare:jd,doublebarwedge:Dd,DoubleContourIntegral:qd,DoubleDot:Vd,DoubleDownArrow:Bd,DoubleLeftArrow:Id,DoubleLeftRightArrow:Rd,DoubleLeftTee:Hd,DoubleLongLeftArrow:Xd,DoubleLongLeftRightArrow:Yd,DoubleLongRightArrow:_d,DoubleRightArrow:zd,DoubleRightTee:Fd,DoubleUpArrow:Ud,DoubleUpDownArrow:Gd,DoubleVerticalBar:Wd,DownArrowBar:Kd,downarrow:Zd,DownArrow:Qd,Downarrow:Jd,DownArrowUpArrow:tm,DownBreve:em,downdownarrows:nm,downharpoonleft:im,downharpoonright:rm,DownLeftRightVector:om,DownLeftTeeVector:sm,DownLeftVectorBar:lm,DownLeftVector:am,DownRightTeeVector:cm,DownRightVectorBar:um,DownRightVector:hm,DownTeeArrow:fm,DownTee:dm,drbkarow:mm,drcorn:gm,drcrop:ym,Dscr:pm,dscr:vm,DScy:xm,dscy:bm,dsol:wm,Dstrok:km,dstrok:Am,dtdot:Sm,dtri:Cm,dtrif:Mm,duarr:Nm,duhar:$m,dwangle:Tm,DZcy:Em,dzcy:Lm,dzigrarr:Om,Eacute:Pm,eacute:jm,easter:Dm,Ecaron:qm,ecaron:Vm,Ecirc:Bm,ecirc:Im,ecir:Rm,ecolon:Hm,Ecy:Xm,ecy:Ym,eDDot:_m,Edot:zm,edot:Fm,eDot:Um,ee:Gm,efDot:Wm,Efr:Km,efr:Zm,eg:Qm,Egrave:Jm,egrave:t4,egs:e4,egsdot:n4,el:i4,Element:r4,elinters:o4,ell:s4,els:l4,elsdot:a4,Emacr:c4,emacr:u4,empty:h4,emptyset:f4,EmptySmallSquare:d4,emptyv:m4,EmptyVerySmallSquare:g4,emsp13:y4,emsp14:p4,emsp:v4,ENG:x4,eng:b4,ensp:w4,Eogon:k4,eogon:A4,Eopf:S4,eopf:C4,epar:M4,eparsl:N4,eplus:$4,epsi:T4,Epsilon:E4,epsilon:L4,epsiv:O4,eqcirc:P4,eqcolon:j4,eqsim:D4,eqslantgtr:q4,eqslantless:V4,Equal:B4,equals:I4,EqualTilde:R4,equest:H4,Equilibrium:X4,equiv:Y4,equivDD:_4,eqvparsl:z4,erarr:F4,erDot:U4,escr:G4,Escr:W4,esdot:K4,Esim:Z4,esim:Q4,Eta:J4,eta:tg,ETH:eg,eth:ng,Euml:ig,euml:rg,euro:og,excl:sg,exist:lg,Exists:ag,expectation:cg,exponentiale:ug,ExponentialE:hg,fallingdotseq:fg,Fcy:dg,fcy:mg,female:gg,ffilig:yg,fflig:pg,ffllig:vg,Ffr:xg,ffr:bg,filig:wg,FilledSmallSquare:kg,FilledVerySmallSquare:Ag,fjlig:Sg,flat:Cg,fllig:Mg,fltns:Ng,fnof:$g,Fopf:Tg,fopf:Eg,forall:Lg,ForAll:Og,fork:Pg,forkv:jg,Fouriertrf:Dg,fpartint:qg,frac12:Vg,frac13:Bg,frac14:Ig,frac15:Rg,frac16:Hg,frac18:Xg,frac23:Yg,frac25:_g,frac34:zg,frac35:Fg,frac38:Ug,frac45:Gg,frac56:Wg,frac58:Kg,frac78:Zg,frasl:Qg,frown:Jg,fscr:ty,Fscr:ey,gacute:ny,Gamma:iy,gamma:ry,Gammad:oy,gammad:sy,gap:ly,Gbreve:ay,gbreve:cy,Gcedil:uy,Gcirc:hy,gcirc:fy,Gcy:dy,gcy:my,Gdot:gy,gdot:yy,ge:py,gE:vy,gEl:xy,gel:by,geq:wy,geqq:ky,geqslant:Ay,gescc:Sy,ges:Cy,gesdot:My,gesdoto:Ny,gesdotol:$y,gesl:Ty,gesles:Ey,Gfr:Ly,gfr:Oy,gg:Py,Gg:jy,ggg:Dy,gimel:qy,GJcy:Vy,gjcy:By,gla:Iy,gl:Ry,glE:Hy,glj:Xy,gnap:Yy,gnapprox:_y,gne:zy,gnE:Fy,gneq:Uy,gneqq:Gy,gnsim:Wy,Gopf:Ky,gopf:Zy,grave:Qy,GreaterEqual:Jy,GreaterEqualLess:tp,GreaterFullEqual:ep,GreaterGreater:np,GreaterLess:ip,GreaterSlantEqual:rp,GreaterTilde:op,Gscr:sp,gscr:lp,gsim:ap,gsime:cp,gsiml:up,gtcc:hp,gtcir:fp,gt:dp,GT:mp,Gt:gp,gtdot:yp,gtlPar:pp,gtquest:vp,gtrapprox:xp,gtrarr:bp,gtrdot:wp,gtreqless:kp,gtreqqless:Ap,gtrless:Sp,gtrsim:Cp,gvertneqq:Mp,gvnE:Np,Hacek:$p,hairsp:Tp,half:Ep,hamilt:Lp,HARDcy:Op,hardcy:Pp,harrcir:jp,harr:Dp,hArr:qp,harrw:Vp,Hat:Bp,hbar:Ip,Hcirc:Rp,hcirc:Hp,hearts:Xp,heartsuit:Yp,hellip:_p,hercon:zp,hfr:Fp,Hfr:Up,HilbertSpace:Gp,hksearow:Wp,hkswarow:Kp,hoarr:Zp,homtht:Qp,hookleftarrow:Jp,hookrightarrow:tv,hopf:ev,Hopf:nv,horbar:iv,HorizontalLine:rv,hscr:ov,Hscr:sv,hslash:lv,Hstrok:av,hstrok:cv,HumpDownHump:uv,HumpEqual:hv,hybull:fv,hyphen:dv,Iacute:mv,iacute:gv,ic:yv,Icirc:pv,icirc:vv,Icy:xv,icy:bv,Idot:wv,IEcy:kv,iecy:Av,iexcl:Sv,iff:Cv,ifr:Mv,Ifr:Nv,Igrave:$v,igrave:Tv,ii:Ev,iiiint:Lv,iiint:Ov,iinfin:Pv,iiota:jv,IJlig:Dv,ijlig:qv,Imacr:Vv,imacr:Bv,image:Iv,ImaginaryI:Rv,imagline:Hv,imagpart:Xv,imath:Yv,Im:_v,imof:zv,imped:Fv,Implies:Uv,incare:Gv,in:"\u2208",infin:Wv,infintie:Kv,inodot:Zv,intcal:Qv,int:Jv,Int:tx,integers:ex,Integral:nx,intercal:ix,Intersection:rx,intlarhk:ox,intprod:sx,InvisibleComma:lx,InvisibleTimes:ax,IOcy:cx,iocy:ux,Iogon:hx,iogon:fx,Iopf:dx,iopf:mx,Iota:gx,iota:yx,iprod:px,iquest:vx,iscr:xx,Iscr:bx,isin:wx,isindot:kx,isinE:Ax,isins:Sx,isinsv:Cx,isinv:Mx,it:Nx,Itilde:$x,itilde:Tx,Iukcy:Ex,iukcy:Lx,Iuml:Ox,iuml:Px,Jcirc:jx,jcirc:Dx,Jcy:qx,jcy:Vx,Jfr:Bx,jfr:Ix,jmath:Rx,Jopf:Hx,jopf:Xx,Jscr:Yx,jscr:_x,Jsercy:zx,jsercy:Fx,Jukcy:Ux,jukcy:Gx,Kappa:Wx,kappa:Kx,kappav:Zx,Kcedil:Qx,kcedil:Jx,Kcy:tb,kcy:eb,Kfr:nb,kfr:ib,kgreen:rb,KHcy:ob,khcy:sb,KJcy:lb,kjcy:ab,Kopf:cb,kopf:ub,Kscr:hb,kscr:fb,lAarr:db,Lacute:mb,lacute:gb,laemptyv:yb,lagran:pb,Lambda:vb,lambda:xb,lang:bb,Lang:wb,langd:kb,langle:Ab,lap:Sb,Laplacetrf:Cb,laquo:Mb,larrb:Nb,larrbfs:$b,larr:Tb,Larr:Eb,lArr:Lb,larrfs:Ob,larrhk:Pb,larrlp:jb,larrpl:Db,larrsim:qb,larrtl:Vb,latail:Bb,lAtail:Ib,lat:Rb,late:Hb,lates:Xb,lbarr:Yb,lBarr:_b,lbbrk:zb,lbrace:Fb,lbrack:Ub,lbrke:Gb,lbrksld:Wb,lbrkslu:Kb,Lcaron:Zb,lcaron:Qb,Lcedil:Jb,lcedil:tw,lceil:ew,lcub:nw,Lcy:iw,lcy:rw,ldca:ow,ldquo:sw,ldquor:lw,ldrdhar:aw,ldrushar:cw,ldsh:uw,le:hw,lE:fw,LeftAngleBracket:dw,LeftArrowBar:mw,leftarrow:gw,LeftArrow:yw,Leftarrow:pw,LeftArrowRightArrow:vw,leftarrowtail:xw,LeftCeiling:bw,LeftDoubleBracket:ww,LeftDownTeeVector:kw,LeftDownVectorBar:Aw,LeftDownVector:Sw,LeftFloor:Cw,leftharpoondown:Mw,leftharpoonup:Nw,leftleftarrows:$w,leftrightarrow:Tw,LeftRightArrow:Ew,Leftrightarrow:Lw,leftrightarrows:Ow,leftrightharpoons:Pw,leftrightsquigarrow:jw,LeftRightVector:Dw,LeftTeeArrow:qw,LeftTee:Vw,LeftTeeVector:Bw,leftthreetimes:Iw,LeftTriangleBar:Rw,LeftTriangle:Hw,LeftTriangleEqual:Xw,LeftUpDownVector:Yw,LeftUpTeeVector:_w,LeftUpVectorBar:zw,LeftUpVector:Fw,LeftVectorBar:Uw,LeftVector:Gw,lEg:Ww,leg:Kw,leq:Zw,leqq:Qw,leqslant:Jw,lescc:tk,les:ek,lesdot:nk,lesdoto:ik,lesdotor:rk,lesg:ok,lesges:sk,lessapprox:lk,lessdot:ak,lesseqgtr:ck,lesseqqgtr:uk,LessEqualGreater:hk,LessFullEqual:fk,LessGreater:dk,lessgtr:mk,LessLess:gk,lesssim:yk,LessSlantEqual:pk,LessTilde:vk,lfisht:xk,lfloor:bk,Lfr:wk,lfr:kk,lg:Ak,lgE:Sk,lHar:Ck,lhard:Mk,lharu:Nk,lharul:$k,lhblk:Tk,LJcy:Ek,ljcy:Lk,llarr:Ok,ll:Pk,Ll:jk,llcorner:Dk,Lleftarrow:qk,llhard:Vk,lltri:Bk,Lmidot:Ik,lmidot:Rk,lmoustache:Hk,lmoust:Xk,lnap:Yk,lnapprox:_k,lne:zk,lnE:Fk,lneq:Uk,lneqq:Gk,lnsim:Wk,loang:Kk,loarr:Zk,lobrk:Qk,longleftarrow:Jk,LongLeftArrow:tA,Longleftarrow:eA,longleftrightarrow:nA,LongLeftRightArrow:iA,Longleftrightarrow:rA,longmapsto:oA,longrightarrow:sA,LongRightArrow:lA,Longrightarrow:aA,looparrowleft:cA,looparrowright:uA,lopar:hA,Lopf:fA,lopf:dA,loplus:mA,lotimes:gA,lowast:yA,lowbar:pA,LowerLeftArrow:vA,LowerRightArrow:xA,loz:bA,lozenge:wA,lozf:kA,lpar:AA,lparlt:SA,lrarr:CA,lrcorner:MA,lrhar:NA,lrhard:$A,lrm:TA,lrtri:EA,lsaquo:LA,lscr:OA,Lscr:PA,lsh:jA,Lsh:DA,lsim:qA,lsime:VA,lsimg:BA,lsqb:IA,lsquo:RA,lsquor:HA,Lstrok:XA,lstrok:YA,ltcc:_A,ltcir:zA,lt:FA,LT:UA,Lt:GA,ltdot:WA,lthree:KA,ltimes:ZA,ltlarr:QA,ltquest:JA,ltri:tS,ltrie:eS,ltrif:nS,ltrPar:iS,lurdshar:rS,luruhar:oS,lvertneqq:sS,lvnE:lS,macr:aS,male:cS,malt:uS,maltese:hS,Map:"\u2905",map:fS,mapsto:dS,mapstodown:mS,mapstoleft:gS,mapstoup:yS,marker:pS,mcomma:vS,Mcy:xS,mcy:bS,mdash:wS,mDDot:kS,measuredangle:AS,MediumSpace:SS,Mellintrf:CS,Mfr:MS,mfr:NS,mho:$S,micro:TS,midast:ES,midcir:LS,mid:OS,middot:PS,minusb:jS,minus:DS,minusd:qS,minusdu:VS,MinusPlus:BS,mlcp:IS,mldr:RS,mnplus:HS,models:XS,Mopf:YS,mopf:_S,mp:zS,mscr:FS,Mscr:US,mstpos:GS,Mu:WS,mu:KS,multimap:ZS,mumap:QS,nabla:JS,Nacute:tC,nacute:eC,nang:nC,nap:iC,napE:rC,napid:oC,napos:sC,napprox:lC,natural:aC,naturals:cC,natur:uC,nbsp:hC,nbump:fC,nbumpe:dC,ncap:mC,Ncaron:gC,ncaron:yC,Ncedil:pC,ncedil:vC,ncong:xC,ncongdot:bC,ncup:wC,Ncy:kC,ncy:AC,ndash:SC,nearhk:CC,nearr:MC,neArr:NC,nearrow:$C,ne:TC,nedot:EC,NegativeMediumSpace:LC,NegativeThickSpace:OC,NegativeThinSpace:PC,NegativeVeryThinSpace:jC,nequiv:DC,nesear:qC,nesim:VC,NestedGreaterGreater:BC,NestedLessLess:IC,NewLine:RC,nexist:HC,nexists:XC,Nfr:YC,nfr:_C,ngE:zC,nge:FC,ngeq:UC,ngeqq:GC,ngeqslant:WC,nges:KC,nGg:ZC,ngsim:QC,nGt:JC,ngt:tM,ngtr:eM,nGtv:nM,nharr:iM,nhArr:rM,nhpar:oM,ni:sM,nis:lM,nisd:aM,niv:cM,NJcy:uM,njcy:hM,nlarr:fM,nlArr:dM,nldr:mM,nlE:gM,nle:yM,nleftarrow:pM,nLeftarrow:vM,nleftrightarrow:xM,nLeftrightarrow:bM,nleq:wM,nleqq:kM,nleqslant:AM,nles:SM,nless:CM,nLl:MM,nlsim:NM,nLt:$M,nlt:TM,nltri:EM,nltrie:LM,nLtv:OM,nmid:PM,NoBreak:jM,NonBreakingSpace:DM,nopf:qM,Nopf:VM,Not:BM,not:IM,NotCongruent:RM,NotCupCap:HM,NotDoubleVerticalBar:XM,NotElement:YM,NotEqual:_M,NotEqualTilde:zM,NotExists:FM,NotGreater:UM,NotGreaterEqual:GM,NotGreaterFullEqual:WM,NotGreaterGreater:KM,NotGreaterLess:ZM,NotGreaterSlantEqual:QM,NotGreaterTilde:JM,NotHumpDownHump:tN,NotHumpEqual:eN,notin:nN,notindot:iN,notinE:rN,notinva:oN,notinvb:sN,notinvc:lN,NotLeftTriangleBar:aN,NotLeftTriangle:cN,NotLeftTriangleEqual:uN,NotLess:hN,NotLessEqual:fN,NotLessGreater:dN,NotLessLess:mN,NotLessSlantEqual:gN,NotLessTilde:yN,NotNestedGreaterGreater:pN,NotNestedLessLess:vN,notni:xN,notniva:bN,notnivb:wN,notnivc:kN,NotPrecedes:AN,NotPrecedesEqual:SN,NotPrecedesSlantEqual:CN,NotReverseElement:MN,NotRightTriangleBar:NN,NotRightTriangle:$N,NotRightTriangleEqual:TN,NotSquareSubset:EN,NotSquareSubsetEqual:LN,NotSquareSuperset:ON,NotSquareSupersetEqual:PN,NotSubset:jN,NotSubsetEqual:DN,NotSucceeds:qN,NotSucceedsEqual:VN,NotSucceedsSlantEqual:BN,NotSucceedsTilde:IN,NotSuperset:RN,NotSupersetEqual:HN,NotTilde:XN,NotTildeEqual:YN,NotTildeFullEqual:_N,NotTildeTilde:zN,NotVerticalBar:FN,nparallel:UN,npar:GN,nparsl:WN,npart:KN,npolint:ZN,npr:QN,nprcue:JN,nprec:t$,npreceq:e$,npre:n$,nrarrc:i$,nrarr:r$,nrArr:o$,nrarrw:s$,nrightarrow:l$,nRightarrow:a$,nrtri:c$,nrtrie:u$,nsc:h$,nsccue:f$,nsce:d$,Nscr:m$,nscr:g$,nshortmid:y$,nshortparallel:p$,nsim:v$,nsime:x$,nsimeq:b$,nsmid:w$,nspar:k$,nsqsube:A$,nsqsupe:S$,nsub:C$,nsubE:M$,nsube:N$,nsubset:$$,nsubseteq:T$,nsubseteqq:E$,nsucc:L$,nsucceq:O$,nsup:P$,nsupE:j$,nsupe:D$,nsupset:q$,nsupseteq:V$,nsupseteqq:B$,ntgl:I$,Ntilde:R$,ntilde:H$,ntlg:X$,ntriangleleft:Y$,ntrianglelefteq:_$,ntriangleright:z$,ntrianglerighteq:F$,Nu:U$,nu:G$,num:W$,numero:K$,numsp:Z$,nvap:Q$,nvdash:J$,nvDash:tT,nVdash:eT,nVDash:nT,nvge:iT,nvgt:rT,nvHarr:oT,nvinfin:sT,nvlArr:lT,nvle:aT,nvlt:cT,nvltrie:uT,nvrArr:hT,nvrtrie:fT,nvsim:dT,nwarhk:mT,nwarr:gT,nwArr:yT,nwarrow:pT,nwnear:vT,Oacute:xT,oacute:bT,oast:wT,Ocirc:kT,ocirc:AT,ocir:ST,Ocy:CT,ocy:MT,odash:NT,Odblac:$T,odblac:TT,odiv:ET,odot:LT,odsold:OT,OElig:PT,oelig:jT,ofcir:DT,Ofr:qT,ofr:VT,ogon:BT,Ograve:IT,ograve:RT,ogt:HT,ohbar:XT,ohm:YT,oint:_T,olarr:zT,olcir:FT,olcross:UT,oline:GT,olt:WT,Omacr:KT,omacr:ZT,Omega:QT,omega:JT,Omicron:tE,omicron:eE,omid:nE,ominus:iE,Oopf:rE,oopf:oE,opar:sE,OpenCurlyDoubleQuote:lE,OpenCurlyQuote:aE,operp:cE,oplus:uE,orarr:hE,Or:fE,or:dE,ord:mE,order:gE,orderof:yE,ordf:pE,ordm:vE,origof:xE,oror:bE,orslope:wE,orv:kE,oS:AE,Oscr:SE,oscr:CE,Oslash:ME,oslash:NE,osol:$E,Otilde:TE,otilde:EE,otimesas:LE,Otimes:OE,otimes:PE,Ouml:jE,ouml:DE,ovbar:qE,OverBar:VE,OverBrace:BE,OverBracket:IE,OverParenthesis:RE,para:HE,parallel:XE,par:YE,parsim:_E,parsl:zE,part:FE,PartialD:UE,Pcy:GE,pcy:WE,percnt:KE,period:ZE,permil:QE,perp:JE,pertenk:tL,Pfr:eL,pfr:nL,Phi:iL,phi:rL,phiv:oL,phmmat:sL,phone:lL,Pi:aL,pi:cL,pitchfork:uL,piv:hL,planck:fL,planckh:dL,plankv:mL,plusacir:gL,plusb:yL,pluscir:pL,plus:vL,plusdo:xL,plusdu:bL,pluse:wL,PlusMinus:kL,plusmn:AL,plussim:SL,plustwo:CL,pm:ML,Poincareplane:NL,pointint:$L,popf:TL,Popf:EL,pound:LL,prap:OL,Pr:PL,pr:jL,prcue:DL,precapprox:qL,prec:VL,preccurlyeq:BL,Precedes:IL,PrecedesEqual:RL,PrecedesSlantEqual:HL,PrecedesTilde:XL,preceq:YL,precnapprox:_L,precneqq:zL,precnsim:FL,pre:UL,prE:GL,precsim:WL,prime:KL,Prime:ZL,primes:QL,prnap:JL,prnE:tO,prnsim:eO,prod:nO,Product:iO,profalar:rO,profline:oO,profsurf:sO,prop:lO,Proportional:aO,Proportion:cO,propto:uO,prsim:hO,prurel:fO,Pscr:dO,pscr:mO,Psi:gO,psi:yO,puncsp:pO,Qfr:vO,qfr:xO,qint:bO,qopf:wO,Qopf:kO,qprime:AO,Qscr:SO,qscr:CO,quaternions:MO,quatint:NO,quest:$O,questeq:TO,quot:EO,QUOT:LO,rAarr:OO,race:PO,Racute:jO,racute:DO,radic:qO,raemptyv:VO,rang:BO,Rang:IO,rangd:RO,range:HO,rangle:XO,raquo:YO,rarrap:_O,rarrb:zO,rarrbfs:FO,rarrc:UO,rarr:GO,Rarr:WO,rArr:KO,rarrfs:ZO,rarrhk:QO,rarrlp:JO,rarrpl:tP,rarrsim:eP,Rarrtl:nP,rarrtl:iP,rarrw:rP,ratail:oP,rAtail:sP,ratio:lP,rationals:aP,rbarr:cP,rBarr:uP,RBarr:hP,rbbrk:fP,rbrace:dP,rbrack:mP,rbrke:gP,rbrksld:yP,rbrkslu:pP,Rcaron:vP,rcaron:xP,Rcedil:bP,rcedil:wP,rceil:kP,rcub:AP,Rcy:SP,rcy:CP,rdca:MP,rdldhar:NP,rdquo:$P,rdquor:TP,rdsh:EP,real:LP,realine:OP,realpart:PP,reals:jP,Re:DP,rect:qP,reg:VP,REG:BP,ReverseElement:IP,ReverseEquilibrium:RP,ReverseUpEquilibrium:HP,rfisht:XP,rfloor:YP,rfr:_P,Rfr:zP,rHar:FP,rhard:UP,rharu:GP,rharul:WP,Rho:KP,rho:ZP,rhov:QP,RightAngleBracket:JP,RightArrowBar:tj,rightarrow:ej,RightArrow:nj,Rightarrow:ij,RightArrowLeftArrow:rj,rightarrowtail:oj,RightCeiling:sj,RightDoubleBracket:lj,RightDownTeeVector:aj,RightDownVectorBar:cj,RightDownVector:uj,RightFloor:hj,rightharpoondown:fj,rightharpoonup:dj,rightleftarrows:mj,rightleftharpoons:gj,rightrightarrows:yj,rightsquigarrow:pj,RightTeeArrow:vj,RightTee:xj,RightTeeVector:bj,rightthreetimes:wj,RightTriangleBar:kj,RightTriangle:Aj,RightTriangleEqual:Sj,RightUpDownVector:Cj,RightUpTeeVector:Mj,RightUpVectorBar:Nj,RightUpVector:$j,RightVectorBar:Tj,RightVector:Ej,ring:Lj,risingdotseq:Oj,rlarr:Pj,rlhar:jj,rlm:Dj,rmoustache:qj,rmoust:Vj,rnmid:Bj,roang:Ij,roarr:Rj,robrk:Hj,ropar:Xj,ropf:Yj,Ropf:_j,roplus:zj,rotimes:Fj,RoundImplies:Uj,rpar:Gj,rpargt:Wj,rppolint:Kj,rrarr:Zj,Rrightarrow:Qj,rsaquo:Jj,rscr:tD,Rscr:eD,rsh:nD,Rsh:iD,rsqb:rD,rsquo:oD,rsquor:sD,rthree:lD,rtimes:aD,rtri:cD,rtrie:uD,rtrif:hD,rtriltri:fD,RuleDelayed:dD,ruluhar:mD,rx:gD,Sacute:yD,sacute:pD,sbquo:vD,scap:xD,Scaron:bD,scaron:wD,Sc:kD,sc:AD,sccue:SD,sce:CD,scE:MD,Scedil:ND,scedil:$D,Scirc:TD,scirc:ED,scnap:LD,scnE:OD,scnsim:PD,scpolint:jD,scsim:DD,Scy:qD,scy:VD,sdotb:BD,sdot:ID,sdote:RD,searhk:HD,searr:XD,seArr:YD,searrow:_D,sect:zD,semi:FD,seswar:UD,setminus:GD,setmn:WD,sext:KD,Sfr:ZD,sfr:QD,sfrown:JD,sharp:tq,SHCHcy:eq,shchcy:nq,SHcy:iq,shcy:rq,ShortDownArrow:oq,ShortLeftArrow:sq,shortmid:lq,shortparallel:aq,ShortRightArrow:cq,ShortUpArrow:uq,shy:hq,Sigma:fq,sigma:dq,sigmaf:mq,sigmav:gq,sim:yq,simdot:pq,sime:vq,simeq:xq,simg:bq,simgE:wq,siml:kq,simlE:Aq,simne:Sq,simplus:Cq,simrarr:Mq,slarr:Nq,SmallCircle:$q,smallsetminus:Tq,smashp:Eq,smeparsl:Lq,smid:Oq,smile:Pq,smt:jq,smte:Dq,smtes:qq,SOFTcy:Vq,softcy:Bq,solbar:Iq,solb:Rq,sol:Hq,Sopf:Xq,sopf:Yq,spades:_q,spadesuit:zq,spar:Fq,sqcap:Uq,sqcaps:Gq,sqcup:Wq,sqcups:Kq,Sqrt:Zq,sqsub:Qq,sqsube:Jq,sqsubset:tV,sqsubseteq:eV,sqsup:nV,sqsupe:iV,sqsupset:rV,sqsupseteq:oV,square:sV,Square:lV,SquareIntersection:aV,SquareSubset:cV,SquareSubsetEqual:uV,SquareSuperset:hV,SquareSupersetEqual:fV,SquareUnion:dV,squarf:mV,squ:gV,squf:yV,srarr:pV,Sscr:vV,sscr:xV,ssetmn:bV,ssmile:wV,sstarf:kV,Star:AV,star:SV,starf:CV,straightepsilon:MV,straightphi:NV,strns:$V,sub:TV,Sub:EV,subdot:LV,subE:OV,sube:PV,subedot:jV,submult:DV,subnE:qV,subne:VV,subplus:BV,subrarr:IV,subset:RV,Subset:HV,subseteq:XV,subseteqq:YV,SubsetEqual:_V,subsetneq:zV,subsetneqq:FV,subsim:UV,subsub:GV,subsup:WV,succapprox:KV,succ:ZV,succcurlyeq:QV,Succeeds:JV,SucceedsEqual:tB,SucceedsSlantEqual:eB,SucceedsTilde:nB,succeq:iB,succnapprox:rB,succneqq:oB,succnsim:sB,succsim:lB,SuchThat:aB,sum:cB,Sum:uB,sung:hB,sup1:fB,sup2:dB,sup3:mB,sup:gB,Sup:yB,supdot:pB,supdsub:vB,supE:xB,supe:bB,supedot:wB,Superset:kB,SupersetEqual:AB,suphsol:SB,suphsub:CB,suplarr:MB,supmult:NB,supnE:$B,supne:TB,supplus:EB,supset:LB,Supset:OB,supseteq:PB,supseteqq:jB,supsetneq:DB,supsetneqq:qB,supsim:VB,supsub:BB,supsup:IB,swarhk:RB,swarr:HB,swArr:XB,swarrow:YB,swnwar:_B,szlig:zB,Tab:FB,target:UB,Tau:GB,tau:WB,tbrk:KB,Tcaron:ZB,tcaron:QB,Tcedil:JB,tcedil:tI,Tcy:eI,tcy:nI,tdot:iI,telrec:rI,Tfr:oI,tfr:sI,there4:lI,therefore:aI,Therefore:cI,Theta:uI,theta:hI,thetasym:fI,thetav:dI,thickapprox:mI,thicksim:gI,ThickSpace:yI,ThinSpace:pI,thinsp:vI,thkap:xI,thksim:bI,THORN:wI,thorn:kI,tilde:AI,Tilde:SI,TildeEqual:CI,TildeFullEqual:MI,TildeTilde:NI,timesbar:$I,timesb:TI,times:EI,timesd:LI,tint:OI,toea:PI,topbot:jI,topcir:DI,top:qI,Topf:VI,topf:BI,topfork:II,tosa:RI,tprime:HI,trade:XI,TRADE:YI,triangle:_I,triangledown:zI,triangleleft:FI,trianglelefteq:UI,triangleq:GI,triangleright:WI,trianglerighteq:KI,tridot:ZI,trie:QI,triminus:JI,TripleDot:tR,triplus:eR,trisb:nR,tritime:iR,trpezium:rR,Tscr:oR,tscr:sR,TScy:lR,tscy:aR,TSHcy:cR,tshcy:uR,Tstrok:hR,tstrok:fR,twixt:dR,twoheadleftarrow:mR,twoheadrightarrow:gR,Uacute:yR,uacute:pR,uarr:vR,Uarr:xR,uArr:bR,Uarrocir:wR,Ubrcy:kR,ubrcy:AR,Ubreve:SR,ubreve:CR,Ucirc:MR,ucirc:NR,Ucy:$R,ucy:TR,udarr:ER,Udblac:LR,udblac:OR,udhar:PR,ufisht:jR,Ufr:DR,ufr:qR,Ugrave:VR,ugrave:BR,uHar:IR,uharl:RR,uharr:HR,uhblk:XR,ulcorn:YR,ulcorner:_R,ulcrop:zR,ultri:FR,Umacr:UR,umacr:GR,uml:WR,UnderBar:KR,UnderBrace:ZR,UnderBracket:QR,UnderParenthesis:JR,Union:tH,UnionPlus:eH,Uogon:nH,uogon:iH,Uopf:rH,uopf:oH,UpArrowBar:sH,uparrow:lH,UpArrow:aH,Uparrow:cH,UpArrowDownArrow:uH,updownarrow:hH,UpDownArrow:fH,Updownarrow:dH,UpEquilibrium:mH,upharpoonleft:gH,upharpoonright:yH,uplus:pH,UpperLeftArrow:vH,UpperRightArrow:xH,upsi:bH,Upsi:wH,upsih:kH,Upsilon:AH,upsilon:SH,UpTeeArrow:CH,UpTee:MH,upuparrows:NH,urcorn:$H,urcorner:TH,urcrop:EH,Uring:LH,uring:OH,urtri:PH,Uscr:jH,uscr:DH,utdot:qH,Utilde:VH,utilde:BH,utri:IH,utrif:RH,uuarr:HH,Uuml:XH,uuml:YH,uwangle:_H,vangrt:zH,varepsilon:FH,varkappa:UH,varnothing:GH,varphi:WH,varpi:KH,varpropto:ZH,varr:QH,vArr:JH,varrho:tX,varsigma:eX,varsubsetneq:nX,varsubsetneqq:iX,varsupsetneq:rX,varsupsetneqq:oX,vartheta:sX,vartriangleleft:lX,vartriangleright:aX,vBar:cX,Vbar:uX,vBarv:hX,Vcy:fX,vcy:dX,vdash:mX,vDash:gX,Vdash:yX,VDash:pX,Vdashl:vX,veebar:xX,vee:bX,Vee:wX,veeeq:kX,vellip:AX,verbar:SX,Verbar:CX,vert:MX,Vert:NX,VerticalBar:$X,VerticalLine:TX,VerticalSeparator:EX,VerticalTilde:LX,VeryThinSpace:OX,Vfr:PX,vfr:jX,vltri:DX,vnsub:qX,vnsup:VX,Vopf:BX,vopf:IX,vprop:RX,vrtri:HX,Vscr:XX,vscr:YX,vsubnE:_X,vsubne:zX,vsupnE:FX,vsupne:UX,Vvdash:GX,vzigzag:WX,Wcirc:KX,wcirc:ZX,wedbar:QX,wedge:JX,Wedge:tY,wedgeq:eY,weierp:nY,Wfr:iY,wfr:rY,Wopf:oY,wopf:sY,wp:lY,wr:aY,wreath:cY,Wscr:uY,wscr:hY,xcap:fY,xcirc:dY,xcup:mY,xdtri:gY,Xfr:yY,xfr:pY,xharr:vY,xhArr:xY,Xi:bY,xi:wY,xlarr:kY,xlArr:AY,xmap:SY,xnis:CY,xodot:MY,Xopf:NY,xopf:$Y,xoplus:TY,xotime:EY,xrarr:LY,xrArr:OY,Xscr:PY,xscr:jY,xsqcup:DY,xuplus:qY,xutri:VY,xvee:BY,xwedge:IY,Yacute:RY,yacute:HY,YAcy:XY,yacy:YY,Ycirc:_Y,ycirc:zY,Ycy:FY,ycy:UY,yen:GY,Yfr:WY,yfr:KY,YIcy:ZY,yicy:QY,Yopf:JY,yopf:t_,Yscr:e_,yscr:n_,YUcy:i_,yucy:r_,yuml:o_,Yuml:s_,Zacute:l_,zacute:a_,Zcaron:c_,zcaron:u_,Zcy:h_,zcy:f_,Zdot:d_,zdot:m_,zeetrf:g_,ZeroWidthSpace:y_,Zeta:p_,zeta:v_,zfr:x_,Zfr:b_,ZHcy:w_,zhcy:k_,zigrarr:A_,zopf:S_,Zopf:C_,Zscr:M_,zscr:N_,zwj:$_,zwnj:T_};var xo;function E_(){return xo||(xo=1,(function(t){var e=k1&&k1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(nl);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,a){return c.codePointAt(a)}:(function(c,a){return i(c.charCodeAt(a))?(c.charCodeAt(a)-55296)*1024+c.charCodeAt(a+1)-56320+65536:c.charCodeAt(a)});var r=l(n.default);function o(c,a){for(var s,u="",d=0,f;(f=c.exec(a))!==null;){var h=f.index,m=a.charCodeAt(h),y=r.get(m);if(y){if(y.next!=null&&h+1<a.length){var b=(s=y.next.get(a.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(b!=null){u+=a.substring(d,h)+b,c.lastIndex+=1,d=h+2;continue}}u+=a.substring(d,h)+y.value,d=h+1}else u+=a.substring(d,h)+"&#x"+t.getCodePoint(a,h).toString(16)+";",d=c.lastIndex+=Number(i(m))}return u+a.substr(d)}t.encodeHTMLTrieRe=o;function l(c){for(var a,s,u,d,f=new Map,h=0,m=Object.keys(c);h<m.length;h++){for(var y=m[h],b=c[y],A=f,T=0;T<b.length-1;T++){var S=b.charCodeAt(T),$=(a=A.get(S))!==null&&a!==void 0?a:{};A.set(S,$),A=(s=$.next)!==null&&s!==void 0?s:$.next=new Map}var E=(u=A.get(b.charCodeAt(b.length-1)))!==null&&u!==void 0?u:{};(d=E.value)!==null&&d!==void 0||(E.value="&"+y+";"),A.set(b.charCodeAt(b.length-1),E)}return f}t.getTrie=l})(k1)),k1}var bo;function wo(){if(bo)return Jt;bo=1;var t=Jt&&Jt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t(h8),n=E_(),i=t(nl),r=d(i.default,!0),o=d(e.default,!0),l=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function a(h){for(var m="",y=0,b;(b=o.exec(h))!==null;){var A=b.index,T=h.charCodeAt(A),S=c.get(T);S?(m+=h.substring(y,A)+S,y=A+1):(m+=h.substring(y,A)+"&#x"+n.getCodePoint(h,A).toString(16)+";",y=o.lastIndex+=+((T&65408)===55296))}return m+h.substr(y)}Jt.encodeXML=a;function s(h){return n.encodeHTMLTrieRe(r,h)}Jt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Jt.encodeNonAsciiHTML=u;function d(h,m){for(var y=Object.keys(h).map(function(S){return"\\"+h[S].charAt(0)}).filter(function(S){return!m||S.charCodeAt(1)<128}).sort(function(S,$){return S.charCodeAt(1)-$.charCodeAt(1)}).filter(function(S,$,E){return S!==E[$+1]}),b=0;b<y.length-1;b++){for(var A=b;A<y.length-1&&y[A].charCodeAt(1)+1===y[A+1].charCodeAt(1);)A+=1;var T=1+A-b;T<3||y.splice(b,T,y[b]+"-"+y[A])}return new RegExp("["+y.join("")+(m?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=a;function f(h){for(var m,y=0,b="";m=l.exec(h);)y!==m.index&&(b+=h.substring(y,m.index)),b+=c.get(m[0].charCodeAt(0)),y=m.index+1;return b+h.substring(y)}return Jt.escapeUTF8=f,Jt}var ko;function L_(){return ko||(ko=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=vo(),n=wo(),i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=l;function c(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function a(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(d):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=a;var s=wo();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=vo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(ti)),ti}var il=L_(),O_=92,rl="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",ol="[A-Za-z][A-Za-z0-9-]*",P_="[a-zA-Z_:][a-zA-Z0-9:._-]*",j_="[^\"'=<>`\\x00-\\x20]+",D_="'[^']*'",q_='"[^"]*"',V_="(?:"+j_+"|"+D_+"|"+q_+")",B_="(?:\\s*=\\s*"+V_+")",I_="(?:\\s+"+P_+B_+"?)",sl="<"+ol+I_+"*\\s*/?>",ll="</"+ol+"\\s*[>]",R_="<!-->|<!--->|<!--[\\s\\S]*?-->",H_="[<][?][\\s\\S]*?[?][>]",X_="<![A-Za-z]+[^>]*>",Y_="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",__="(?:"+sl+"|"+ll+"|"+R_+"|"+H_+"|"+X_+"|"+Y_+")",z_=new RegExp("^"+__),F_=/[\\&]/,al="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",U_=new RegExp("\\\\"+al+"|"+rl,"gi"),G_='[&<>"]',Ao=new RegExp(G_,"g"),W_=function(t){return t.charCodeAt(0)===O_?t.charAt(1):il.decodeHTMLStrict(t)},cl=function(t){return F_.test(t)?t.replace(U_,W_):t},K_=function(t){try{return n8(t)}catch{return t}},Z_=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}},Rn=function(t){return Ao.test(t)?t.replace(Ao,Z_):t},Ni;function _i(t){return Ni(t)}if(String.fromCodePoint)Ni=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var Q_=String.fromCharCode,J_=Math.floor;Ni=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||J_(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=Q_.apply(null,e),e.length=0)}return l}}var $n=K_,$i=cl,ul=10,Ti=42,Tn=95,tz=96,hl=91,ez=93,fl=60,nz=33,dl=92,iz=38,ml=40,Ei=41,rz=58,We=39,Ke=34,gl=al,ei="\\\\"+gl,oz=rl,sz=z_,So=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),lz=new RegExp('^(?:"('+ei+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+ei+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+ei+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),az=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,yl=new RegExp("^"+gl),cz=new RegExp("^"+oz,"i"),uz=/`+/,hz=/^`+/,fz=/\.\.\./g,dz=/--+/g,mz=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,gz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,yz=/^ *(?:\n *)?/,pl=/^[ \t\n\x0b\x0c\x0d]/,Co=/^\s/,pz=/ *$/,vz=/^ */,Mo=/^ *(?:\n|$)/,xz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,bz=/^[^\n`\[\]\\!<&*_'"]+/m,Kt=function(t){var e=new Vt("text");return e._literal=t,e},vl=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},wz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},kz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Az=function(){return this.match(yz),!0},Sz=function(t){var e=this.match(hz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(uz))!==null;)if(i===e)return r=new Vt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Kt(e)),!0},Cz=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===ul?(this.pos+=1,n=new Vt("linebreak"),t.appendChild(n)):yl.test(e.charAt(this.pos))?(t.appendChild(Kt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Kt("\\")),!0},Mz=function(t){var e,n,i;return(e=this.match(mz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=$n("mailto:"+n),i._title="",i.appendChild(Kt(n)),t.appendChild(i),!0):(e=this.match(gz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=$n(n),i._title="",i.appendChild(Kt(n)),t.appendChild(i),!0):!1},Nz=function(t){var e=this.match(sz);if(e===null)return!1;var n=new Vt("html_inline");return n._literal=e,t.appendChild(n),!0},$z=function(t){var e=0,n,i,r,o=this.pos,l,c,a,s,u,d,f,h;if(t===We||t===Ke)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
|
|
1
|
+
import{computed as _,isRef as _n,reactive as jt,unref as $t,getCurrentScope as Gl,onScopeDispose as Wl,watch as St,getCurrentInstance as Wo,hasInjectionContext as Ko,inject as Ge,toValue as Xe,shallowRef as M1,readonly as Kl,watchEffect as Zl,onMounted as Zo,Fragment as lt,useTemplateRef as Bt,nextTick as Ln,openBlock as O,createElementBlock as R,mergeProps as J,renderSlot as Qo,toDisplayString as Ft,createCommentVNode as Ot,createTextVNode as mt,renderList as ht,createBlock as wt,toHandlers as Nt,normalizeStyle as q1,createVNode as re,createElementVNode as Ct,normalizeProps as se,resolveDynamicComponent as Ye,guardReactiveProps as x1,useModel as Ae,createPropsRestProxy as Jo,mergeModels as m1,ref as N1,useId as Ql,Teleport as Jl,useSlots as ta,useAttrs as ea,provide as Xn,withCtx as na}from"vue";function ts(t){return Gl()?(Wl(t),!0):!1}const Yn=new WeakMap,ia=(...t)=>{var e;const n=t[0],i=(e=Wo())==null?void 0:e.proxy;if(i==null&&!Ko())throw new Error("injectLocal must be called in setup");return i&&Yn.has(i)&&n in Yn.get(i)?Yn.get(i)[n]:Ge(...t)};function ra(t){if(!_n(t))return jt(t);const e=new Proxy({},{get(n,i,r){return $t(Reflect.get(t.value,i,r))},set(n,i,r){return _n(t.value[i])&&!_n(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return jt(e)}function De(t){return ra(_(t))}const oa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sa=Object.prototype.toString,la=t=>sa.call(t)==="[object Object]",aa=()=>{};function Ar(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function zn(t){return Array.isArray(t)?t:[t]}function es(t,e,n){return St(t,e,{...n,immediate:!0})}const jn=oa?window:void 0;function ii(t){var e;const n=Xe(t);return(e=n?.$el)!=null?e:n}function ca(...t){const e=[],n=()=>{e.forEach(c=>c()),e.length=0},i=(c,l,s,u)=>(c.addEventListener(l,s,u),()=>c.removeEventListener(l,s,u)),r=_(()=>{const c=zn(Xe(t[0])).filter(l=>l!=null);return c.every(l=>typeof l!="string")?c:void 0}),o=es(()=>{var c,l;return[(l=(c=r.value)==null?void 0:c.map(s=>ii(s)))!=null?l:[jn].filter(s=>s!=null),zn(Xe(r.value?t[1]:t[0])),zn($t(r.value?t[2]:t[1])),Xe(r.value?t[3]:t[2])]},([c,l,s,u])=>{if(n(),!c?.length||!l?.length||!s?.length)return;const d=la(u)?{...u}:u;e.push(...c.flatMap(f=>l.flatMap(h=>s.map(m=>i(f,h,m,d)))))},{flush:"post"}),a=()=>{o(),n()};return ts(n),a}function ua(){const t=M1(!1),e=Wo();return e&&Zo(()=>{t.value=!0},e),t}function ns(t){const e=ua();return _(()=>(e.value,!!t()))}const ha=Symbol("vueuse-ssr-width");function fa(){const t=Ko()?ia(ha,null):null;return typeof t=="number"?t:void 0}function da(t,e={}){const{window:n=jn,ssrWidth:i=fa()}=e,r=ns(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=M1(typeof i=="number"),a=M1(),c=M1(!1),l=s=>{c.value=s.matches};return Zl(()=>{if(o.value){o.value=!r.value;const s=Xe(t).split(",");c.value=s.some(u=>{const d=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(f||h);return f&&m&&(m=i>=Ar(f[1])),h&&m&&(m=i<=Ar(h[1])),d?!m:m});return}r.value&&(a.value=n.matchMedia(Xe(t)),c.value=a.value.matches)}),ca(a,"change",l,{passive:!0}),_(()=>c.value)}function ma(t={}){const{window:e=jn}=t,n=M1(1),i=da(()=>`(resolution: ${n.value}dppx)`,t);let r=aa;return e&&(r=es(i,()=>n.value=e.devicePixelRatio)),{pixelRatio:Kl(n),stop:r}}function is(t,e,n={}){const{window:i=jn,...r}=n;let o;const a=ns(()=>i&&"ResizeObserver"in i),c=()=>{o&&(o.disconnect(),o=void 0)},l=_(()=>{const d=Xe(t);return Array.isArray(d)?d.map(f=>ii(f)):[ii(d)]}),s=St(l,d=>{if(c(),a.value&&i){o=new ResizeObserver(e);for(const f of d)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return ts(u),{isSupported:a,stop:u}}function ga(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const _1=()=>!1,ri=Object.assign,ya="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",Sr=ga(ya),pa=Symbol(""),va=Symbol(""),xa=Symbol(""),ba=Symbol(""),rs={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function wa(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:rs}}function oi(t,e=!1,n=rs,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const $r=new Uint8Array([123,123]),Cr=new Uint8Array([125,125]);function Mr(t){return t>=97&&t<=122||t>=65&&t<=90}function ne(t){return t===32||t===10||t===9||t===12||t===13}function Oe(t){return t===47||t===62||ne(t)}function cn(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const Ut={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ka{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=$r,this.delimiterClose=Cr,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=$r,this.delimiterClose=Cr}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let a=-1,c=r;for(;a+1<c;){const l=a+c>>>1;this.newlines[l]<e?a=l:c=l}o=a}else for(let a=r-1;a>=0;a--)if(e>this.newlines[a]){o=a;break}return o>=0&&(n=o+2,i=e-this.newlines[o]),{column:i,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Oe(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||ne(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Ut.TitleEnd||this.currentSequence===Ut.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===Ut.Cdata[this.sequenceIndex]?++this.sequenceIndex===Ut.Cdata.length&&(this.state=28,this.currentSequence=Ut.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Ut.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):Mr(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Oe(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Oe(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(cn("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){ne(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Mr(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ne(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ne(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ne(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Oe(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Oe(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||Oe(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||Oe(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Oe(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):ne(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):ne(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){ne(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=Ut.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Ut.ScriptEnd[3]?this.startSpecial(Ut.ScriptEnd,4):e===Ut.StyleEnd[3]?this.startSpecial(Ut.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Ut.TitleEnd[3]?this.startSpecial(Ut.TitleEnd,4):e===Ut.TextareaEnd[3]?this.startSpecial(Ut.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===Ut.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}function Nr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function os(t,e){const n=Nr("MODE",e),i=Nr(t,e);return n===3?i===!0:i!==!1}function un(t,e,n,...i){return os(t,e)}function Aa(t){throw t}function Sa(t){}function $a(t,e,n,i){const r=`https://vuejs.org/error-reference/#compiler-${t}`,o=new SyntaxError(String(r));return o.code=t,o.loc=e,o}const Ca=t=>t.type===4&&t.isStatic;function Ma(t){switch(t){case"Teleport":case"teleport":return pa;case"Suspense":case"suspense":return va;case"KeepAlive":case"keep-alive":return xa;case"BaseTransition":case"base-transition":return ba}}function Na(t,e){return!!(t&&Ca(t)&&t.content===e)}function Tr(t){return t.type===7&&t.name==="pre"}const Ta=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Ea(t){for(let e=0;e<t.length;e++)if(!ne(t.charCodeAt(e)))return!1;return!0}const ss={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:_1,isPreTag:_1,isIgnoreNewlineTag:_1,isCustomElement:_1,onError:Aa,onWarn:Sa,comments:!1,prefixIdentifiers:!1};let vt=ss,T1=null,Ce="",Gt=null,yt=null,ee="",ke=-1,Ve=-1,Li=0,je=!1,si=null;const At=[],Et=new ka(At,{onerr:be,ontext(t,e){X1(zt(t,e),t,e)},ontextentity(t,e,n){X1(t,e,n)},oninterpolation(t,e){if(je)return X1(zt(t,e),t,e);let n=t+Et.delimiterOpen.length,i=e-Et.delimiterClose.length;for(;ne(Ce.charCodeAt(n));)n++;for(;ne(Ce.charCodeAt(i-1));)i--;let r=zt(n,i);r.includes("&")&&(r=vt.decodeEntities(r,!1)),li({type:5,content:rn(r,!1,qt(n,i)),loc:qt(t,e)})},onopentagname(t,e){const n=zt(t,e);Gt={type:1,tag:n,ns:vt.getNamespace(n,At[0],vt.ns),tagType:0,props:[],children:[],loc:qt(t-1,e),codegenNode:void 0}},onopentagend(t){Or(t)},onclosetag(t,e){const n=zt(t,e);if(!vt.isVoidTag(n)){let i=!1;for(let r=0;r<At.length;r++)if(At[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&be(24,At[0].loc.start.offset);for(let a=0;a<=r;a++){const c=At.shift();nn(c,e,a<r)}break}i||be(23,ls(t,60))}},onselfclosingtag(t){const e=Gt.tag;Gt.isSelfClosing=!0,Or(t),At[0]&&At[0].tag===e&&nn(At.shift(),t)},onattribname(t,e){yt={type:6,name:zt(t,e),nameLoc:qt(t,e),value:void 0,loc:qt(t)}},ondirname(t,e){const n=zt(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!je&&i===""&&be(26,t),je||i==="")yt={type:6,name:n,nameLoc:qt(t,e),value:void 0,loc:qt(t)};else if(yt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[oi("prop")]:[],loc:qt(t)},i==="pre"){je=Et.inVPre=!0,si=Gt;const r=Gt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=Ia(r[o]))}},ondirarg(t,e){if(t===e)return;const n=zt(t,e);if(je&&!Tr(yt))yt.name+=n,He(yt.nameLoc,e);else{const i=n[0]!=="[";yt.arg=rn(i?n:n.slice(1,-1),i,qt(t,e),i?3:0)}},ondirmodifier(t,e){const n=zt(t,e);if(je&&!Tr(yt))yt.name+="."+n,He(yt.nameLoc,e);else if(yt.name==="slot"){const i=yt.arg;i&&(i.content+="."+n,He(i.loc,e))}else{const i=oi(n,!0,qt(t,e));yt.modifiers.push(i)}},onattribdata(t,e){ee+=zt(t,e),ke<0&&(ke=t),Ve=e},onattribentity(t,e,n){ee+=t,ke<0&&(ke=e),Ve=n},onattribnameend(t){const e=yt.loc.start.offset,n=zt(e,t);yt.type===7&&(yt.rawName=n),Gt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&be(2,e)},onattribend(t,e){if(Gt&&yt){if(He(yt.loc,e),t!==0)if(ee.includes("&")&&(ee=vt.decodeEntities(ee,!0)),yt.type===6)yt.name==="class"&&(ee=cs(ee).trim()),t===1&&!ee&&be(13,e),yt.value={type:2,content:ee,loc:t===1?qt(ke,Ve):qt(ke-1,Ve+1)},Et.inSFCRoot&&Gt.tag==="template"&&yt.name==="lang"&&ee&&ee!=="html"&&Et.enterRCDATA(cn("</template"),0);else{let n=0;yt.exp=rn(ee,!1,qt(ke,Ve),0,n),yt.name==="for"&&(yt.forParseResult=La(yt.exp));let i=-1;yt.name==="bind"&&(i=yt.modifiers.findIndex(r=>r.content==="sync"))>-1&&un("COMPILER_V_BIND_SYNC",vt,yt.loc,yt.arg.loc.source)&&(yt.name="model",yt.modifiers.splice(i,1))}(yt.type!==7||yt.name!=="pre")&&Gt.props.push(yt)}ee="",ke=Ve=-1},oncomment(t,e){vt.comments&&li({type:3,content:zt(t,e),loc:qt(t-4,e+3)})},onend(){const t=Ce.length;for(let e=0;e<At.length;e++)nn(At[e],t-1),be(24,At[e].loc.start.offset)},oncdata(t,e){(At[0]?At[0].ns:vt.ns)!==0?X1(zt(t,e),t,e):be(1,t-9)},onprocessinginstruction(t){(At[0]?At[0].ns:vt.ns)===0&&be(21,t-1)}}),Er=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Oa=/^\(|\)$/g;function La(t){const e=t.loc,n=t.content,i=n.match(Ta);if(!i)return;const[,r,o]=i,a=(d,f,h=!1)=>{const m=e.start.offset+f,y=m+d.length;return rn(d,!1,qt(m,y),0,h?1:0)},c={source:a(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=r.trim().replace(Oa,"").trim();const s=r.indexOf(l),u=l.match(Er);if(u){l=l.replace(Er,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,s+l.length),c.key=a(d,f,!0)),u[2]){const h=u[2].trim();h&&(c.index=a(h,n.indexOf(h,c.key?f+d.length:s+l.length),!0))}}return l&&(c.value=a(l,s,!0)),c}function zt(t,e){return Ce.slice(t,e)}function Or(t){Et.inSFCRoot&&(Gt.innerLoc=qt(t+1,t+1)),li(Gt);const{tag:e,ns:n}=Gt;n===0&&vt.isPreTag(e)&&Li++,vt.isVoidTag(e)?nn(Gt,t):(At.unshift(Gt),(n===1||n===2)&&(Et.inXML=!0)),Gt=null}function X1(t,e,n){{const o=At[0]&&At[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=vt.decodeEntities(t,!1))}const i=At[0]||T1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,He(r.loc,n)):i.children.push({type:2,content:t,loc:qt(e,n)})}function nn(t,e,n=!1){n?He(t.loc,ls(e,60)):He(t.loc,ja(e,62)+1),Et.inSFCRoot&&(t.children.length?t.innerLoc.end=ri({},t.children[t.children.length-1].loc.end):t.innerLoc.end=ri({},t.innerLoc.start),t.innerLoc.source=zt(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(je||(i==="slot"?t.tagType=2:Lr(t)?t.tagType=3:Da(t)&&(t.tagType=1)),Et.inRCDATA||(t.children=as(o)),r===0&&vt.isIgnoreNewlineTag(i)){const a=o[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&vt.isPreTag(i)&&Li--,si===t&&(je=Et.inVPre=!1,si=null),Et.inXML&&(At[0]?At[0].ns:vt.ns)===0&&(Et.inXML=!1);{const a=t.props;if(!Et.inSFCRoot&&os("COMPILER_NATIVE_TEMPLATE",vt)&&t.tag==="template"&&!Lr(t)){const l=At[0]||T1,s=l.children.indexOf(t);l.children.splice(s,1,...t.children)}const c=a.find(l=>l.type===6&&l.name==="inline-template");c&&un("COMPILER_INLINE_TEMPLATE",vt,c.loc)&&t.children.length&&(c.value={type:2,content:zt(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:c.loc})}}function ja(t,e){let n=t;for(;Ce.charCodeAt(n)!==e&&n<Ce.length-1;)n++;return n}function ls(t,e){let n=t;for(;Ce.charCodeAt(n)!==e&&n>=0;)n--;return n}const Pa=new Set(["if","else","else-if","for","slot"]);function Lr({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&Pa.has(e[n].name))return!0}return!1}function Da({tag:t,props:e}){if(vt.isCustomElement(t))return!1;if(t==="component"||qa(t.charCodeAt(0))||Ma(t)||vt.isBuiltInComponent&&vt.isBuiltInComponent(t)||vt.isNativeTag&&!vt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(un("COMPILER_IS_ON_ELEMENT",vt,i.loc))return!0}}else if(i.name==="bind"&&Na(i.arg,"is")&&un("COMPILER_IS_ON_ELEMENT",vt,i.loc))return!0}return!1}function qa(t){return t>64&&t<91}const Ba=/\r\n/g;function as(t){const e=vt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Li)r.content=r.content.replace(Ba,`
|
|
2
|
+
`);else if(Ea(r.content)){const o=t[i-1]&&t[i-1].type,a=t[i+1]&&t[i+1].type;!o||!a||e&&(o===3&&(a===3||a===1)||o===1&&(a===3||a===1&&Va(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=cs(r.content))}return n?t.filter(Boolean):t}function Va(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function cs(t){let e="",n=!1;for(let i=0;i<t.length;i++)ne(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function li(t){(At[0]||T1).children.push(t)}function qt(t,e){return{start:Et.getPos(t),end:e==null?e:Et.getPos(e),source:e==null?e:zt(t,e)}}function He(t,e){t.end=Et.getPos(e),t.source=zt(t.start.offset,e)}function Ia(t){const e={type:6,name:t.rawName,nameLoc:qt(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 rn(t,e=!1,n,i=0,r=0){return oi(t,e,n,i)}function be(t,e,n){vt.onError($a(t,qt(e,e)))}function Ra(){Et.reset(),Gt=null,yt=null,ee="",ke=-1,Ve=-1,At.length=0}function Ha(t,e){if(Ra(),Ce=t,vt=ri({},ss),e){let r;for(r in e)e[r]!=null&&(vt[r]=e[r])}Et.mode=vt.parseMode==="html"?1:vt.parseMode==="sfc"?2:0,Et.inXML=vt.ns===1||vt.ns===2;const n=e&&e.delimiters;n&&(Et.delimiterOpen=cn(n[0]),Et.delimiterClose=cn(n[1]));const i=T1=wa([],t);return Et.parse(Ce),i.loc=qt(0,t.length),i.children=as(i.children),T1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");function E1(t){return t==null?[]:t.flatMap(e=>e.type==lt?E1(e.children):e.type=="template"?E1(e.children).map(n=>(n.props={...n.props,...e.props},n)):e)}class u1 extends String{static#t=new Map;constructor(e){const n=String(e);if(u1.#t.has(n))return u1.#t.get(n);super(n),u1.#t.set(n,this)}}class h1 extends Number{static#t=new Map;constructor(e){const n=Number(e);if(h1.#t.has(n))return h1.#t.get(n);super(n),h1.#t.set(n,this)}}class ze{static#t=new Map;constructor(e){if(typeof e=="string"||e instanceof String)return new u1(e);if(typeof e=="number"||e instanceof Number)return new h1(e);throw new Error("Unsupported type")}static[Symbol.hasInstance](e){return e instanceof u1||e instanceof h1}}class us{constructor(e,n,i){this.label=e,this.value=n,this.level=i}toString(){return this.label}valueOf(){return this.value}toJSON(){return this.label}}class Fe extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=ai(Array.from(e).filter(i=>!(i instanceof ze)&&i!=null).map(i=>String(i))).sort((i,r)=>jr(i,r,{numeric:!0}));return new this(...n)}else if(typeof e=="object"){let n=Object.keys(e).map(i=>String(i)).sort((i,r)=>jr(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}static isEqual(e,n){if(e instanceof this&&n instanceof this)return e.length===n.length&&Array(e.length).fill().every((i,r)=>e[r].label===n[r].label)}constructor(...e){return e=e.map((n,i)=>new us(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,Fe.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>i instanceof ze?i:this.mapping[i]);return n.level=this,n}}function Le(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function Me(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 dt(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const xt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Le)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i<r?i:r,1/0)},max(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Le)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i>r?i:r,-1/0)},sum(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Le)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).reduce((i,r)=>i+r,0)},diff(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Le)),n&&(t=t.filter(i=>isFinite(i))),Array.from(t).slice(1).map((i,r)=>i-t[r])},mean(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Le)),n&&(t=t.filter(i=>isFinite(i))),t.length==0?NaN:Array.from(t).reduce((i,r)=>i+r,0)/t.length},sd(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Le)),n&&(t=t.filter(r=>isFinite(r))),t.length<=1)return NaN;let i=Array.from(t).reduce((r,o)=>r+o,0)/t.length;return Math.sqrt(Array.from(t).reduce((r,o)=>r+(o-i)**2,0)/(t.length-1))},quantile(t,e,{na_rm:n=!0,infinity_rm:i=!0}={}){if(n&&(t=t.filter(Le)),i&&(t=t.filter(c=>isFinite(c))),t.length==0)return NaN;t=Array.from(t).sort((c,l)=>c-l);let r=(t.length-1)*e,o=Math.floor(r),a=Math.ceil(r);return o==a?t[o]:t[o]*(a-r)+t[a]*(r-o)},extent(t,{na_rm:e=!0,infinity_rm:n=!0}={}){if(e&&(t=t.filter(Le)),n&&(t=t.filter(o=>isFinite(o))),t.length==0)return new Array(2);let i=Array.from(t).reduce((o,a)=>o<a?o:a,1/0),r=Array.from(t).reduce((o,a)=>o>a?o:a,-1/0);return Object.assign([i,r],{min:i,max:r})}},Pt={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,i)=>n??e[i])}return Array.isArray(t)?t.map(n=>n??e):t??e},sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,a)=>+(a[r]??void 0)+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(a=>Array.isArray(a)?a[o]:a)))}};function Wt(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]!==void 0&&(e[i]=n[i]);return e},{})}function Ie(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function ai(t,e=null,n=null){let i=new Map;for(let r in t){let o=e?e(t[r]):t[r];i.has(o)?n&&i.set(o,n(i.get(o),t[r])):i.set(o,t[r])}return Array.from(i.values())}function jr(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 qe(t,{min:e,max:n}){return t<e||t>n?NaN:t}function pt(t,{min:e,max:n}){return t<e?e:t>n?n:t}function ci(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Rt(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function hs(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;let n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(let r of n)if(!hs(t[r],e[r]))return!1;return!0}function _a(t){if(!Array.isArray(t))throw new Error("Argument must be an array");let e=[],n=[];for(let i=0;i<t.length;i++){let r=t[i],o=e.findIndex(a=>hs(a,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function Xa(...t){if(t.length==0)return null;let e=t.filter(r=>Array.isArray(r)).reduce((r,o)=>{if(Array.isArray(o)){if(r==null)return o.length;if(r!=o.length)throw new Error("Arrays must have the same length")}return r},null)??0,n=[],i=[];for(let r=0;r<e;r++){let o=t.map(c=>Array.isArray(c)?c[r]:c),a=n.findIndex(c=>c.every((l,s)=>l===o[s]));a===-1&&(n.push(o),a=n.length-1),i.push(a)}return i.categories=n,i}function Xt(t){if(Object.keys(t).length==0)return null;let e=Object.values(t).filter(o=>Array.isArray(o)).reduce((o,a)=>{if(Array.isArray(a)){if(o==null)return a.length;if(o!=a.length)throw new Error("Arrays must have the same length")}return o},null)??0,n=Object.keys(t),i=[],r=[];for(let o=0;o<e;o++){let a=Object.fromEntries(n.map(l=>[l,Array.isArray(t[l])?t[l][o]:t[l]])),c=i.findIndex(l=>n.every(s=>l[s]===a[s]));c===-1&&(i.push(a),c=i.length-1),r.push(c)}return r.categories=i,r}function ji(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Yt(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 Fn={"":1,px:1,in:96,cm:96/2.54,mm:96/25.4,pt:96/72,pc:16};function Ya(t,{unit:e="mm"}={}){if(!(t instanceof SVGElement))return null;function n(c){let l=c.childNodes.length;for(;l--;){const s=c.childNodes[l];s.nodeType===Node.COMMENT_NODE?c.removeChild(s):s.nodeType===Node.ELEMENT_NODE&&(n(s),s.getAttribute("style")==""&&s.removeAttribute("style"),s.getAttribute("class")==""&&s.removeAttribute("class"))}}let i=t.cloneNode(!0),r=Array.from(t.querySelectorAll("foreignObject")),o=Array.from(i.querySelectorAll("foreignObject"));for(let c=0;c<r.length;c++){let l=r[c],s=o[c],u=r[c].querySelector("canvas");if(!u)continue;let d=i.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",u.toDataURL()),d.setAttribute("x",l.getAttribute("x")),d.setAttribute("y",l.getAttribute("y")),d.setAttribute("width",l.getAttribute("width")),d.setAttribute("height",l.getAttribute("height")),s.parentNode.replaceChild(d,s)}for(let c of i.querySelectorAll(".vvplot-interactive,foreignObject"))c.remove();return n(i),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),Fn[e]||(e=""),i.setAttribute("width",t.scrollWidth/Fn[e]+e),i.setAttribute("height",t.scrollHeight/Fn[e]+e),i.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(i)}const fs={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"}},ds={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"#eeeeee"}},za={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray",grid_color:"#eeeeee"}},Fa={axis:{tick_color:"black",label_color:"black",title_color:"black",grid_color:"white"},plot:{background:"#eeeeee"}},Ua={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black",grid_color:"#666666"},plot:{background:"#888888"}},Ga={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:"black",grid_width:.5,grid_width_major:1}},Wa={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black",grid_color:null}},Ka={axis:null};function Za(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=Wt(e[i],n[i]);return e??void 0},{})}function Qa(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,plot:{margin_x:a,margin_y:c,margin_h:l,margin_v:s,padding_x:u,padding_y:d,padding_h:f,padding_v:h,...m}={},...y}=t;return e?(n=Wt(n,o),i=Wt(i,r),m.margin_h=c===void 0?l:c,m.margin_v=a===void 0?s:a,m.padding_h=d===void 0?f:d,m.padding_v=u===void 0?h:u):(n=Wt(n,r),i=Wt(i,o),m.margin_h=a===void 0?l:a,m.margin_v=c===void 0?s:c,m.padding_h=u===void 0?f:u,m.padding_v=d===void 0?h:d),{axis_h:n,axis_v:i,plot:m,...y}}function Ja(t){return{axis:{h:Wt(...["axis","axis_h"].map(e=>t?.[e])),v:Wt(...["axis","axis_v"].map(e=>t?.[e])),left:Wt(...["axis","axis_v","axis_left"].map(e=>t?.[e])),right:Wt(...["axis","axis_v","axis_right"].map(e=>t?.[e])),top:Wt(...["axis","axis_h","axis_top"].map(e=>t?.[e])),bottom:Wt(...["axis","axis_h","axis_bottom"].map(e=>t?.[e]))},plot:{margin:{left:["margin","margin_h","margin_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["margin","margin_h","margin_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["margin","margin_v","margin_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,right:["padding","padding_h","padding_right"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,top:["padding","padding_v","padding_top"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(e=>t?.plot?.[e]).findLast(e=>e!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const tc={base:fs,default:ds,light:za,classic:Wa,gray:Fa,dark:Ua,linedraw:Ga,void:Ka},ec={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:Tt,coalesce:Pr}=Pt;const nc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Pr(t.xnudge,0),i=Pr(t.ynudge,0);if(t.x){let r=Tt(e.x?.apply?.(t.x)??t.x,n),o=Tt(r,t.width?.map?.(y=>-y/2)??-.5),a=Tt(r,t.width?.map?.(y=>+y/2)??.5),c=Tt(t.lwisker,i),l=Tt(t.Q1,i),s=Tt(t.median,i),u=Tt(t.Q3,i),d=Tt(t.uwisker,i),f=Pt.apply((y,{y:p,$raw:S},$)=>Tt(p,$).map((b,N)=>({x:y,y:b,$raw:S[N]})),r,t.outliers??[],i),h=Tt(t.min,i),m=Tt(t.max,i);return{x:r,xmin:o,xmax:a,lwisker:c,Q1:l,median:s,Q3:u,uwisker:d,outliers:f,$xmin:o,$xmax:a,$ymin:h,$ymax:m}}else if(t.y){let r=Tt(e.y?.apply?.(t.y)??t.y,i),o=Tt(r,t.height?.map?.(y=>-y/2)??-.5),a=Tt(r,t.height?.map?.(y=>+y/2)??.5),c=Tt(t.lwisker,n),l=Tt(t.Q1,n),s=Tt(t.median,n),u=Tt(t.Q3,n),d=Tt(t.uwisker,n),f=Pt.apply((y,{x:p,$raw:S},$)=>Tt(p,$).map((b,N)=>({x:b,y,$raw:S[N]})),r,t.outliers??[],n),h=Tt(t.min,n),m=Tt(t.max,n);return{y:r,ymin:o,ymax:a,lwisker:c,Q1:l,median:s,Q3:u,uwisker:d,outliers:f,$xmin:h,$xmax:m,$ymin:o,$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}},ic={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,a)=>o.map(c=>({x:+(e?.x?.[c.x]??c.x)+(n?.[a]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[a]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:n1,coalesce:Dr}=Pt;const rc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let{A:n,B:i,C:r}=t,o=Dr(t.xnudge,0),a=Dr(t.ynudge,0),c=n1(e.x?.apply?.(t.cx)??t.cx,o),l=n1(e.y?.apply?.(t.cy)??t.cy,a);return{cx:c,cy:l,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=Pt.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return n1(t.cx??[],n).concat(n1(t.cx??[],Pt.opposite(n))??[])}if(e=="y"){let n=Pt.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return n1(t.cy??[],n).concat(n1(t.cy??[],Pt.opposite(n))??[])}},validate(t){return isNaN(t.cx)||isNaN(t.cy)||isNaN(t.A)||isNaN(t.B)||isNaN(t.C)||!(t.A*t.C>t.B*t.B)?null:t}};let{sum:Y1,coalesce:qr}=Pt;const oc={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=qr(t.xnudge,0),i=qr(t.ynudge,0),r=Y1(e.x?.apply?.(t.x)??t.x,n),o=Y1(e.y?.apply?.(t.y)??t.y,i),a=Y1(e.x?.apply?.(t.xend)??t.xend,n),c=Y1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:a,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let{sum:Br,coalesce:Vr}=Pt;const sc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Vr(t.xnudge,0),i=Vr(t.ynudge,0),r=Br(e.x?.apply?.(t.x)??t.x,n),o=Br(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let{sum:z1,coalesce:Ir}=Pt;const lc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Ir(t.xnudge,0),i=Ir(t.ynudge,0),r=z1(e.x?.apply?.(t.x)??t.x,n),o=z1(e.y?.apply?.(t.y)??t.y,i),a=z1(e.x?.apply?.(t.xend)??t.xend,n),c=z1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:a,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let{sum:Rr,coalesce:Hr}=Pt;const ac={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Hr(t.xnudge,0),i=Hr(t.ynudge,0),r=Rr(e.x?.apply?.(t.x)??t.x,n),o=Rr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}},cc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge?.map(o=>+o),i=t.ynudge?.map(o=>+o);return{points:t.points.map((o,a)=>o.map(c=>({x:+(e?.x?.[c.x]??c.x)+(n?.[a]??0),y:+(e?.y?.[c.y]??c.y)+(i?.[a]??0)})))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:F1,coalesce:_r}=Pt;const uc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=_r(t.xnudge,0),i=_r(t.ynudge,0),r=F1(e.x?.apply?.(t.xmin)??t.xmin,n),o=F1(e.x?.apply?.(t.xmax)??t.xmax,n),a=F1(e.y?.apply?.(t.ymin)??t.ymin,i),c=F1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:a,ymax:c}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},hc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=e.x?.apply?.(t.x)??t.x,i=e.y?.apply?.(t.y)??t.y,r=t.xnudge?.map(c=>+c),o=t.ynudge?.map(c=>+c);return{points:t.points.map((c,l)=>c.map(s=>({x:+(e?.x?.[s.x]??s.x)+(r?.[l]??0)+n[l],y:+(e?.y?.[s.y]??s.y)+(o?.[l]??0)+i[l]})))}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x")return(t.points??[]).flatMap((n,i)=>n.map(r=>r.x+t.x[i]));if(e=="y")return(t.points??[]).flatMap((n,i)=>n.map(r=>r.y+t.y[i]))},validate(t){return Array.isArray(t.points)?t:null}};let{sum:i1,coalesce:Xr}=Pt;const fc={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Xr(t.xnudge,0),i=Xr(t.ynudge,0),r=i1(e.x?.apply?.(t.x)??t.x,n),o=i1(e.y?.apply?.(t.y)??t.y,i),a=i1(r,t.dx),c=i1(o,t.dy);return{x:r,y:o,xend:a,yend:c}},get_values(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},get_range(t,e){if(e=="x")return(t.x??[]).concat(i1(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(i1(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let{sum:Yr,coalesce:zr}=Pt;const dc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=zr(t.xnudge,0),i=zr(t.ynudge,0),r=Yr(e.x?.apply?.(t.x)??t.x,n),o=Yr(e.y?.apply?.(t.y)??t.y,i);return{x:r,y:o}},get_range(t,e){if(e=="x")return t.x??[];if(e=="y")return t.y??[]},validate(t){return isNaN(t.x)||isNaN(t.y)?null:t}};let{sum:U1,coalesce:Fr}=Pt;const mc={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=Fr(t.xnudge,0),i=Fr(t.ynudge,0),r=U1(e.x?.apply?.(t.x)??t.x,n),o=U1(e.y?.apply?.(t.y)??t.y,i),a=U1(e.x?.apply?.(t.xend)??t.xend,n),c=U1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:a,yend:c}},get_range(t,e){if(e=="x")return(t.x??[]).concat(t.xend??[]);if(e=="y")return(t.y??[]).concat(t.yend??[])},validate(t){return isNaN(t.x)||isNaN(t.xend)||isNaN(t.y)||isNaN(t.yend)?null:t}};let{sum:G1,coalesce:Ur}=Pt;const gc={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=Ur(t.xnudge,0),i=Ur(t.ynudge,0),r=e.x?.apply?.(t.x)??t.x,o=e.y?.apply?.(t.y)??t.y,a=G1(r,t.width?.map?.(u=>-u/2)??-.5,n),c=G1(r,t.width?.map?.(u=>+u/2)??.5,n),l=G1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=G1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:a,xmax:c,ymin:l,ymax:s}},get_values(t,e){if(e=="x")return t.x;if(e=="y")return t.y},get_range(t,e){if(e=="x"){let n=Pt.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=Pt.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=Pt.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=Pt.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Se=Object.freeze(Object.defineProperty({__proto__:null,blank:ec,boxplot:nc,curve:ic,ellipse:rc,line:oc,markdown:sc,markdownsegment:lc,point:ac,polygon:cc,rect:uc,shape:hc,stick:fc,text:dc,textsegment:mc,tile:gc},Symbol.toStringTag,{value:"Module"})),yc=Object.assign(function(t,{position:e="stack",width:n=.9,height:i=.9}){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let r=t.x?"x":"y",o=t[r];if(o==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(o.some(m=>typeof m=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let a=Object.keys(t).filter(m=>!m.startsWith("$")),c=Xt(Object.fromEntries(a.map(m=>[m,t[m]]))),l=Xt({group:c??0,value:o}),s=Map.groupBy(t.$raw,(m,y)=>l.categories[l[y]]),u=Array.from(s.values()),d=Array.from(s.keys()),f=u.map(m=>m.length),h={$raw:u,$group:d.map(m=>m.group),[r]:d.map(m=>m.value)};for(let m of a)h[m]=d.map(y=>y.group).map(y=>c.categories[y][m]);if(r=="x"?(n??=.9,h.height=f):(i??=.9,h.width=f),e=="stack"){let m=Object.groupBy(h.$group,(p,S)=>c.categories[p][r]),y=d.map(p=>0);for(let p in m){let S=0;for(let $ of m[p])y[$]=S,S+=f[$]}r=="x"?(h.y=h.height.map((p,S)=>y[S]+p/2),h.width=d.map(p=>n)):(h.x=h.width.map((p,S)=>y[S]+p/2),h.height=d.map(p=>i))}else if(e=="dodge"){let m=Object.groupBy(h.$group,(p,S)=>c.categories[p][r]),y=h.$group.map(p=>m[c.categories[p][r]]);r=="x"?(h.y=h.height.map(p=>p/2),h.width=y.map(p=>n/p.length),h.xnudge=y.map((p,S)=>(h.xnudge?.[S]??0)+((p.indexOf(h.$group[S])+.5)/p.length-.5)*n)):(h.x=h.width.map(p=>p/2),h.height=y.map(p=>i/p.length),h.ynudge=y.map((p,S)=>(h.ynudge?.[S]??0)+((p.indexOf(h.$group[S])+.5)/p.length-.5)*i))}else r=="x"?(h.y=h.height.map(m=>m/2),h.width=d.map(m=>n)):(h.x=h.width.map(m=>m/2),h.height=d.map(m=>i));return h},{core_attrs:["x","y","xnudge","ynudge"]}),pc=Object.assign(function(t,{position:e="dodge",width:n=.9,height:i=.9}){let r=["x","y"].filter(w=>t[w]==null);if(r.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${r.join('", "')}"`);let o=t.x.some(Me),a=t.y.some(Me);if(o&&a)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!o&&!a)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[c,l]=o?["y","x"]:["x","y"],s=Object.keys(t).filter(w=>w!=c&&!w.startsWith("$")),u=Xt(Object.fromEntries(s.map(w=>[w,t[w]]))),d=Xt({group:u??0,cate:t[l]}),f=Map.groupBy(d.map((w,x)=>x),(w,x)=>d.categories[d[x]]),h=Array.from(f.keys()),m=Array.from(f.values()).map(w=>w.map(x=>t.$raw[x])),y=Array.from(f.values()).map(w=>w.map(x=>t[c][x])),p=y.map(w=>xt.min(w)),S=y.map(w=>xt.quantile(w,.25)),$=y.map(w=>xt.quantile(w,.5)),b=y.map(w=>xt.quantile(w,.75)),N=y.map(w=>xt.max(w)),M=y.map((w,x)=>b[x]-S[x]),C=y.map((w,x)=>Math.max(p[x],S[x]-1.5*M[x])),L=y.map((w,x)=>Math.min(N[x],b[x]+1.5*M[x])),g=Array.from(f.values()).map((w,x)=>{let k=w.filter(V=>t[c][V]<C[x]||t[c][V]>L[x]);return{[c]:k.map(V=>t[c][V]),$raw:k.map(V=>t.$raw[V])}}),v={$raw:m,$group:h.map(w=>w.group),min:p,lwisker:C,Q1:S,median:$,Q3:b,uwisker:L,max:N,outliers:g};if(e=="dodge"){let w=Object.groupBy(v.$group,(k,V)=>u.categories[k][l]),x=v.$group.map(k=>w[u.categories[k][l]]);o?(v.width=x.map(k=>n/k.length),v.xnudge=x.map((k,V)=>(v.xnudge?.[V]??0)+((k.indexOf(v.$group[V])+.5)/k.length-.5)*n)):(v.height=x.map(k=>i/k.length),v.ynudge=x.map((k,V)=>(v.ynudge?.[V]??0)+((k.indexOf(v.$group[V])+.5)/k.length-.5)*i))}else o?v.width=h.map(w=>n):v.height=h.map(w=>i);for(let w of s)v[w]=h.map(x=>x.group).map(x=>u.categories[x][w]);return v},{core_attrs:["x","y","xnudge","ynudge"]}),vc=Object.assign(function(t,{position:e="stack",width:n,height:i,orientation:r="x"}){let o=["x","y"].filter(b=>t[b]==null);if(o.length>0)throw new Error(`Missing aesthetics for "StatCol": "${o.join('", "')}"`);let a=t.x.some(Me),c=t.y.some(Me);if(a&&c)throw new Error('Both "x" and "y" are discrete, "StatCol" requires at most one discrete aesthetic');let l=a==c?r!="y"?"x":"y":a?"x":"y",s=l=="x"?"y":"x",u=Object.keys(t).filter(b=>b!=s&&!b.startsWith("$")),d=Xt(Object.fromEntries(u.map(b=>[b,t[b]]))),f=Xt({group:d??0,cate:t[l]}),h=Map.groupBy(f.map((b,N)=>N),(b,N)=>f.categories[f[N]]),m=Map.groupBy(t.$raw,(b,N)=>f.categories[f[N]]),y=Array.from(m.keys()),p=Array.from(h.values()).map(b=>b.map(N=>t.$raw[N])),S=Array.from(h.values()).map(b=>xt.sum(b.map(N=>t[s][N]))),$={$raw:p,$group:y.map(b=>b.group),[l]:y.map(b=>b.value)};for(let b of u)$[b]=y.map(N=>N.group).map(N=>d.categories[N][b]);if(l=="x"?(a?n??=.9:n??=xt.min(xt.diff(Array.from(new Set(t[l])).sort((b,N)=>b-N)))*.9,$.height=S):(c?i??=.9:i??=xt.min(xt.diff(Array.from(new Set(t[l])).sort((b,N)=>b-N)))*.9,$.width=S),e=="stack"){let b=Object.groupBy($.$group,(M,C)=>d.categories[M][l]),N=y.map(M=>0);for(let M in b){let C=0;for(let L of b[M])N[L]=C,C+=S[L]}l=="x"?($.y=$.height.map((M,C)=>N[C]+M/2),$.width=y.map(M=>n)):($.x=$.width.map((M,C)=>N[C]+M/2),$.height=y.map(M=>i))}else if(e=="dodge"){let b=Object.groupBy($.$group,(M,C)=>d.categories[M][l]),N=$.$group.map(M=>b[d.categories[M][l]]);l=="x"?($.y=$.height.map(M=>M/2),$.width=N.map(M=>n/M.length),$.xnudge=N.map((M,C)=>($.xnudge?.[C]??0)+((M.indexOf($.$group[C])+.5)/M.length-.5)*n)):($.x=$.width.map(M=>M/2),$.height=N.map(M=>i/M.length),$.ynudge=N.map((M,C)=>($.ynudge?.[C]??0)+((M.indexOf($.$group[C])+.5)/M.length-.5)*i))}else l=="x"?($.y=$.height.map(b=>b/2),$.width=y.map(b=>n)):($.x=$.width.map(b=>b/2),$.height=y.map(b=>i));return $},{core_attrs:["x","y","xnudge","ynudge"]}),xc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatCurve": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=Xt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Xt({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),a=Array.from(o.values()),c=Array.from(o.keys()),l=Array.from(Map.groupBy(ji({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:a,points:l};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),bc=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="area"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(r.some(m=>typeof m!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=Gr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Gr).map(m=>`"${m}"`).join(", ")}`);let o=Object.keys(t).filter(m=>!["x","y"].includes(m)&&!m.startsWith("$")),a=Xt(Object.fromEntries(o.map(m=>[m,t[m]]))),c=Xt({group:a??new Array(r.length).fill(0)}).map((m,y,p)=>p.categories[m]),l=Map.groupBy(t.$raw,(m,y)=>c[y]),s=Array.from(l.values()),u=Array.from(l.keys()),d=Array.from(Map.groupBy(r,(m,y)=>c[y]).values()),f={$raw:s,$group:u.map(m=>m.group)},h=d.map(m=>{let y=wc.nrd0(m),{min:p,max:S}=xt.extent(m);p-=3*y,S+=3*y;let $=(S-p)/(e-1),b=Array.from({length:e},(M,C)=>p+C*$),N=i==="count"?m.length:1;return b.map(M=>[M,xt.mean(m.map(C=>n((M-C)/y)))/y*N])});for(let m of o)f[m]=u.map(y=>a.categories[y.group][m]);return t.x?f.points=h.map(m=>m.map(([y,p])=>({x:y,y:p}))):f.points=h.map(m=>m.map(([y,p])=>({x:p,y}))),f},{core_attrs:["x","y","xnudge","ynudge"]}),wc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=xt.sd(t),n=xt.quantile(t,.75)-xt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=xt.sd(t),n=xt.quantile(t,.75)-xt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Gr={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},kc=Object.assign(function(t,{CI:e=.95}={}){let n=["x","y"].filter(f=>t[f]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatEllipse": "${n.join('", "')}" or "points"`);let i=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),r=Xt(Object.fromEntries(i.map(f=>[f,t[f]]))),o=Xt({group:r??new Array(t.x.length).fill(0)}).map((f,h,m)=>m.categories[f]),a=Map.groupBy(t.$raw,(f,h)=>o[h]),c=Array.from(a.values()),l=Array.from(a.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(ji({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let m=f.reduce((N,M)=>N+M.x,0)/h,y=f.reduce((N,M)=>N+M.y,0)/h;if(h<2)return{};let p=f.reduce((N,M)=>N+(M.x-m)**2,0)/(h-1),S=f.reduce((N,M)=>N+(M.x-m)*(M.y-y),0)/(h-1),$=f.reduce((N,M)=>N+(M.y-y)**2,0)/(h-1),b=(p*$-S*S)*s;return{cx:m,cy:y,A:$/b,B:-S/b,C:p/b}}),d={$raw:c,cx:u.map(f=>f.cx??0),cy:u.map(f=>f.cy??0),A:u.map(f=>f.A??0),B:u.map(f=>f.B??0),C:u.map(f=>f.C??0)};for(let f of i)d[f]=l.map(h=>h.group).map(h=>r.categories[h][f]);return d},{core_attrs:["x","y","xnudge","ynudge"]}),Ac=Object.assign(function(t,{bins:e=30,binwidth:n,breaks:i}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatHistogram" only supports "x" or "y", not both');let r=t.x??t.y;if(r==null)throw new Error('Missing aesthetics for "StatHistogram": "x" or "y"');if(r.some(f=>typeof f!="number"))throw new Error('"StatHistogram" requires a continuous aesthetic');if(i)i.sort((f,h)=>f-h);else{let{min:f,max:h}=xt.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(m,y)=>f+(y-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),a=Xt(Object.fromEntries(o.map(f=>[f,t[f]]))),c=Xt({group:a??new Array(r.length).fill(0),upper:r.map(f=>i.findLast(h=>h<=f)??i[0]),lower:r.map(f=>i.find(h=>h>f)??i[e])}).map((f,h,m)=>m.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>c[h]),s=Array.from(l.values()),u=Array.from(l.keys()),d={$raw:s,count:s.map(f=>f.length),$group:u.map(f=>f.group),upper:u.map(f=>f.upper),lower:u.map(f=>f.lower)};for(let f of o)d[f]=u.map(h=>a.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:m,ymin:y=s.map(()=>0),...p})=>({xmin:f,xmax:h,ymin:y,ymax:m,...p}))(d):(({upper:f,lower:h,count:m,xmin:y=s.map(()=>0),...p})=>({xmin:y,xmax:m,ymin:f,ymax:h,...p}))(d)},{core_attrs:["x","y","xnudge","ynudge"]}),Sc=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),$c=Object.assign(function(t,{orientation:e="x"}={}){let n=["x","y"].filter(s=>t[s]==null);if(n.length>0)throw new Error(`Missing aesthetics for "StatLine": "${n.join('", "')}"`);let i=t.group??new Array(t.x.length).fill(null),o=Object.values(i.reduce((s,u,d)=>(s[u]??=[],s[u].push(d),s),{})).map(s=>s.map((u,d)=>[t[e][u],d]).sort((u,d)=>u[0]-d[0]).map((u,d)=>s[u[1]])),a=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),l={};for(let s in t)l[s]=a.map(u=>t[s][u]);return l.xend=c.map(s=>t.x[s]),l.yend=c.map(s=>t.y[s]),l},{core_attrs:["x","y","xnudge","ynudge"]}),Cc=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin:i,ymax:r,...o})=>({x:n,xend:n,y:i,yend:r,...o}))(t)}else if(t.y!=null){let e=["y","xmin","xmax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({y:n,xmin:i,xmax:r,...o})=>({y:n,yend:n,x:i,xend:r,...o}))(t)}else throw new Error('Missing aesthetics for "StatLinerange": x,ymin,ymax or y,xmin,xmax')},{core_attrs:["x","y","xmin","xmax","ymin","ymax","xnudge","ynudge"]}),Mc=Object.assign(function(t){let e=["x","y"].filter(l=>t[l]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((l,s,u)=>(l[s]??=[],l[s].push(u),l),{})).map(l=>l.map((s,u)=>l[u])),o=r.map(l=>l.slice(0,-1).concat(NaN)).reduce((l,s)=>l.concat(s),[]).filter(l=>!isNaN(l)),a=r.map(l=>l.slice(1).concat(NaN)).reduce((l,s)=>l.concat(s),[]).filter(l=>!isNaN(l)),c={};for(let l in t)c[l]=o.map(s=>t[l][s]);return c.xend=a.map(l=>t.x[l]),c.yend=a.map(l=>t.y[l]),c},{core_attrs:["x","y","xnudge","ynudge"]}),Nc=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"]}),Tc=Object.assign(function(t){if(t.points!=null)return t;let e=["x","y"].filter(u=>t[u]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPolygon": "${e.join('", "')}" or "points"`);let n=Object.keys(t).filter(u=>!["x","y"].includes(u)&&!u.startsWith("$")),i=Xt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Xt({group:i??new Array(t.x.length).fill(0)}).map((u,d,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,d)=>r[d]),a=Array.from(o.values()),c=Array.from(o.keys()),l=Array.from(Map.groupBy(ji({x:t.x,y:t.y}),(u,d)=>r[d]).values()),s={$raw:a,points:l};for(let u of n)s[u]=c.map(d=>d.group).map(d=>i.categories[d][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),Ec=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"]}),Oc=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"]}),Lc=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"]}),jc=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"]}),Pc=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"]}),Dc=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"]}),qc=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"]}),Bc=Object.assign(function(t,{n:e=512,kernel:n="gaussian",scale:i="width",position:r="dodge",width:o=.9,height:a=.9}={}){let c=["x","y"].filter(L=>t[L]==null);if(c.length>0)throw new Error(`Missing aesthetics for "StatViolin": "${c.join('", "')}"`);let l=t.x.some(Me),s=t.y.some(Me);if(l&&s)throw new Error('Both "x" and "y" are discrete, "StatViolin" requires one continuous and one discrete aesthetic');if(!l&&!s)throw new Error('Both "x" and "y" are continuous, "StatViolin" requires one continuous and one discrete aesthetic');if(n=Wr[n],!n)throw new Error(`kernel must be one of ${Object.keys(Wr).map(L=>`"${L}"`).join(", ")}`);let[u,d,f]=l?["y","x",o]:["x","y",a],h=t[u],m=Object.keys(t).filter(L=>L!=u&&!L.startsWith("$")),y=Xt(Object.fromEntries(m.map(L=>[L,t[L]]))),p=Xt({group:y??new Array(h.length).fill(0)}).map((L,g,v)=>v.categories[L]),S=Map.groupBy(t.$raw,(L,g)=>p[g]),$=Array.from(S.values()),b=Array.from(S.keys()),N=Array.from(Map.groupBy(h,(L,g)=>p[g]).values()),M={$raw:$,$group:b.map(L=>L.group),[u]:b.map(L=>0)},C=N.map(L=>{let g=Vc.nrd0(L),{min:v,max:w}=xt.extent(L);v-=3*g,w+=3*g;let x=(w-v)/(e-1),k=Array.from({length:e},(W,X)=>v+X*x),V=k.map(W=>xt.mean(L.map(X=>n((W-X)/g)))/g),P=i=="area"?1:1/xt.max(V);return k.map((W,X)=>[W,V[X]*P/2])});for(let L of m)M[L]=b.map(g=>y.categories[g.group][L]);if(r=="dodge"){let L=Object.groupBy(M.$group,(v,w)=>y.categories[v][d]),g=M.$group.map(v=>L[y.categories[v][d]]);C=g.map((v,w)=>C[w].map(([x,k])=>[x,k*f/v.length])),l?M.xnudge=g.map((v,w)=>(M.xnudge?.[w]??0)+((v.indexOf(M.$group[w])+.5)/v.length-.5)*o):M.ynudge=g.map((v,w)=>(M.ynudge?.[w]??0)+((v.indexOf(M.$group[w])+.5)/v.length-.5)*a)}else C=C.map(L=>L.map(([g,v])=>[g,v*f]));return l?M.points=C.map(L=>L.map(([g,v])=>({x:v,y:g})).concat(L.map(([g,v])=>({x:-v,y:g})).reverse())):M.points=C.map(L=>L.map(([g,v])=>({x:g,y:v})).concat(L.map(([g,v])=>({x:g,y:-v})).reverse())),M},{core_attrs:["x","y","xnudge","ynudge"]}),Vc={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=xt.sd(t),n=xt.quantile(t,.75)-xt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=xt.sd(t),n=xt.quantile(t,.75)-xt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},Wr={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},ms=Object.freeze(Object.defineProperty({__proto__:null,bar:yc,boxplot:pc,col:vc,curve:xc,density:bc,ellipse:kc,histogram:Ac,identity:Sc,line:$c,linerange:Cc,path:Mc,point:Nc,polygon:Tc,rect:Ec,segment:Oc,shape:Lc,stick:jc,text:Pc,textsegment:Dc,tile:qc,violin:Bc},Symbol.toStringTag,{value:"Module"}));function on(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ic(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function gs(t){let e,n,i;t.length!==2?(e=on,n=(c,l)=>on(t(c),l),i=(c,l)=>t(c)-l):(e=t===on||t===Ic?t:Rc,n=t,i=t);function r(c,l,s=0,u=c.length){if(s<u){if(e(l,l)!==0)return u;do{const d=s+u>>>1;n(c[d],l)<0?s=d+1:u=d}while(s<u)}return s}function o(c,l,s=0,u=c.length){if(s<u){if(e(l,l)!==0)return u;do{const d=s+u>>>1;n(c[d],l)<=0?s=d+1:u=d}while(s<u)}return s}function a(c,l,s=0,u=c.length){const d=r(c,l,s,u-1);return d>s&&i(c[d-1],l)>-i(c[d],l)?d-1:d}return{left:r,center:a,right:o}}function Rc(){return 0}function Hc(t){return t===null?NaN:+t}const _c=gs(on),Xc=_c.right;gs(Hc).center;const Yc=Math.sqrt(50),zc=Math.sqrt(10),Fc=Math.sqrt(2);function hn(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),a=o>=Yc?10:o>=zc?5:o>=Fc?2:1;let c,l,s;return r<0?(s=Math.pow(10,-r)/a,c=Math.round(t*s),l=Math.round(e*s),c/s<t&&++c,l/s>e&&--l,s=-s):(s=Math.pow(10,r)*a,c=Math.round(t/s),l=Math.round(e/s),c*s<t&&++c,l*s>e&&--l),l<c&&.5<=n&&n<2?hn(t,e,n*2):[c,l,s]}function Uc(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,a]=i?hn(e,t,n):hn(t,e,n);if(!(o>=r))return[];const c=o-r+1,l=new Array(c);if(i)if(a<0)for(let s=0;s<c;++s)l[s]=(o-s)/-a;else for(let s=0;s<c;++s)l[s]=(o-s)*a;else if(a<0)for(let s=0;s<c;++s)l[s]=(r+s)/-a;else for(let s=0;s<c;++s)l[s]=(r+s)*a;return l}function ui(t,e,n){return e=+e,t=+t,n=+n,hn(t,e,n)[2]}function Gc(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?ui(e,t,n):ui(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var Wc={value:()=>{}};function ys(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new sn(n)}function sn(t){this._=t}function Kc(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}sn.prototype=ys.prototype={constructor:sn,on:function(t,e){var n=this._,i=Kc(t+"",n),r,o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((r=(t=i[o]).type)&&(r=Zc(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<a;)if(r=(t=i[o]).type)n[r]=Kr(n[r],t.name,e);else if(e==null)for(r in n)n[r]=Kr(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new sn(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function Zc(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function Kr(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Wc,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var hi="http://www.w3.org/1999/xhtml";const Zr={svg:"http://www.w3.org/2000/svg",xhtml:hi,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Pn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Zr.hasOwnProperty(e)?{space:Zr[e],local:t}:t}function Qc(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===hi&&e.documentElement.namespaceURI===hi?e.createElement(t):e.createElementNS(n,t)}}function Jc(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function ps(t){var e=Pn(t);return(e.local?Jc:Qc)(e)}function t0(){}function Pi(t){return t==null?t0:function(){return this.querySelector(t)}}function e0(t){typeof t!="function"&&(t=Pi(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],a=o.length,c=i[r]=new Array(a),l,s,u=0;u<a;++u)(l=o[u])&&(s=t.call(l,l.__data__,u,o))&&("__data__"in l&&(s.__data__=l.__data__),c[u]=s);return new ue(i,this._parents)}function n0(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function i0(){return[]}function vs(t){return t==null?i0:function(){return this.querySelectorAll(t)}}function r0(t){return function(){return n0(t.apply(this,arguments))}}function o0(t){typeof t=="function"?t=r0(t):t=vs(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var a=e[o],c=a.length,l,s=0;s<c;++s)(l=a[s])&&(i.push(t.call(l,l.__data__,s,a)),r.push(l));return new ue(i,r)}function xs(t){return function(){return this.matches(t)}}function bs(t){return function(e){return e.matches(t)}}var s0=Array.prototype.find;function l0(t){return function(){return s0.call(this.children,t)}}function a0(){return this.firstElementChild}function c0(t){return this.select(t==null?a0:l0(typeof t=="function"?t:bs(t)))}var u0=Array.prototype.filter;function h0(){return Array.from(this.children)}function f0(t){return function(){return u0.call(this.children,t)}}function d0(t){return this.selectAll(t==null?h0:f0(typeof t=="function"?t:bs(t)))}function m0(t){typeof t!="function"&&(t=xs(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],a=o.length,c=i[r]=[],l,s=0;s<a;++s)(l=o[s])&&t.call(l,l.__data__,s,o)&&c.push(l);return new ue(i,this._parents)}function ws(t){return new Array(t.length)}function g0(){return new ue(this._enter||this._groups.map(ws),this._parents)}function fn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}fn.prototype={constructor:fn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function y0(t){return function(){return t}}function p0(t,e,n,i,r,o){for(var a=0,c,l=e.length,s=o.length;a<s;++a)(c=e[a])?(c.__data__=o[a],i[a]=c):n[a]=new fn(t,o[a]);for(;a<l;++a)(c=e[a])&&(r[a]=c)}function v0(t,e,n,i,r,o,a){var c,l,s=new Map,u=e.length,d=o.length,f=new Array(u),h;for(c=0;c<u;++c)(l=e[c])&&(f[c]=h=a.call(l,l.__data__,c,e)+"",s.has(h)?r[c]=l:s.set(h,l));for(c=0;c<d;++c)h=a.call(t,o[c],c,o)+"",(l=s.get(h))?(i[c]=l,l.__data__=o[c],s.delete(h)):n[c]=new fn(t,o[c]);for(c=0;c<u;++c)(l=e[c])&&s.get(f[c])===l&&(r[c]=l)}function x0(t){return t.__data__}function b0(t,e){if(!arguments.length)return Array.from(this,x0);var n=e?v0:p0,i=this._parents,r=this._groups;typeof t!="function"&&(t=y0(t));for(var o=r.length,a=new Array(o),c=new Array(o),l=new Array(o),s=0;s<o;++s){var u=i[s],d=r[s],f=d.length,h=w0(t.call(u,u&&u.__data__,s,i)),m=h.length,y=c[s]=new Array(m),p=a[s]=new Array(m),S=l[s]=new Array(f);n(u,d,y,p,S,h,e);for(var $=0,b=0,N,M;$<m;++$)if(N=y[$]){for($>=b&&(b=$+1);!(M=p[b])&&++b<m;);N._next=M||null}}return a=new ue(a,i),a._enter=c,a._exit=l,a}function w0(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function k0(){return new ue(this._exit||this._groups.map(ws),this._parents)}function A0(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function S0(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,a=Math.min(r,o),c=new Array(r),l=0;l<a;++l)for(var s=n[l],u=i[l],d=s.length,f=c[l]=new Array(d),h,m=0;m<d;++m)(h=s[m]||u[m])&&(f[m]=h);for(;l<r;++l)c[l]=n[l];return new ue(c,this._parents)}function $0(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],a;--r>=0;)(a=i[r])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function C0(t){t||(t=M0);function e(d,f){return d&&f?t(d.__data__,f.__data__):!d-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var a=n[o],c=a.length,l=r[o]=new Array(c),s,u=0;u<c;++u)(s=a[u])&&(l[u]=s);l.sort(e)}return new ue(r,this._parents).order()}function M0(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function N0(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function T0(){return Array.from(this)}function E0(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var a=i[r];if(a)return a}return null}function O0(){let t=0;for(const e of this)++t;return t}function L0(){return!this.node()}function j0(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,a=r.length,c;o<a;++o)(c=r[o])&&t.call(c,c.__data__,o,r);return this}function P0(t){return function(){this.removeAttribute(t)}}function D0(t){return function(){this.removeAttributeNS(t.space,t.local)}}function q0(t,e){return function(){this.setAttribute(t,e)}}function B0(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function V0(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function I0(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 R0(t,e){var n=Pn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?D0:P0:typeof e=="function"?n.local?I0:V0:n.local?B0:q0)(n,e))}function ks(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function H0(t){return function(){this.style.removeProperty(t)}}function _0(t,e,n){return function(){this.style.setProperty(t,e,n)}}function X0(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Y0(t,e,n){return arguments.length>1?this.each((e==null?H0:typeof e=="function"?X0:_0)(t,e,n??"")):g1(this.node(),t)}function g1(t,e){return t.style.getPropertyValue(e)||ks(t).getComputedStyle(t,null).getPropertyValue(e)}function z0(t){return function(){delete this[t]}}function F0(t,e){return function(){this[t]=e}}function U0(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function G0(t,e){return arguments.length>1?this.each((e==null?z0:typeof e=="function"?U0:F0)(t,e)):this.node()[t]}function As(t){return t.trim().split(/^|\s+/)}function Di(t){return t.classList||new Ss(t)}function Ss(t){this._node=t,this._names=As(t.getAttribute("class")||"")}Ss.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 $s(t,e){for(var n=Di(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function Cs(t,e){for(var n=Di(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function W0(t){return function(){$s(this,t)}}function K0(t){return function(){Cs(this,t)}}function Z0(t,e){return function(){(e.apply(this,arguments)?$s:Cs)(this,t)}}function Q0(t,e){var n=As(t+"");if(arguments.length<2){for(var i=Di(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?Z0:e?W0:K0)(n,e))}function J0(){this.textContent=""}function tu(t){return function(){this.textContent=t}}function eu(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function nu(t){return arguments.length?this.each(t==null?J0:(typeof t=="function"?eu:tu)(t)):this.node().textContent}function iu(){this.innerHTML=""}function ru(t){return function(){this.innerHTML=t}}function ou(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function su(t){return arguments.length?this.each(t==null?iu:(typeof t=="function"?ou:ru)(t)):this.node().innerHTML}function lu(){this.nextSibling&&this.parentNode.appendChild(this)}function au(){return this.each(lu)}function cu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function uu(){return this.each(cu)}function hu(t){var e=typeof t=="function"?t:ps(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function fu(){return null}function du(t,e){var n=typeof t=="function"?t:ps(t),i=e==null?fu:typeof e=="function"?e:Pi(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function mu(){var t=this.parentNode;t&&t.removeChild(this)}function gu(){return this.each(mu)}function yu(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function pu(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function vu(t){return this.select(t?pu:yu)}function xu(t){return arguments.length?this.property("__data__",t):this.node().__data__}function bu(t){return function(e){t.call(this,e,this.__data__)}}function wu(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function ku(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function Au(t,e,n){return function(){var i=this.__on,r,o=bu(e);if(i){for(var a=0,c=i.length;a<c;++a)if((r=i[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Su(t,e,n){var i=wu(t+""),r,o=i.length,a;if(arguments.length<2){var c=this.node().__on;if(c){for(var l=0,s=c.length,u;l<s;++l)for(r=0,u=c[l];r<o;++r)if((a=i[r]).type===u.type&&a.name===u.name)return u.value}return}for(c=e?Au:ku,r=0;r<o;++r)this.each(c(i[r],e,n));return this}function Ms(t,e,n){var i=ks(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function $u(t,e){return function(){return Ms(this,t,e)}}function Cu(t,e){return function(){return Ms(this,t,e.apply(this,arguments))}}function Mu(t,e){return this.each((typeof e=="function"?Cu:$u)(t,e))}function*Nu(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,a;r<o;++r)(a=i[r])&&(yield a)}var Tu=[null];function ue(t,e){this._groups=t,this._parents=e}function B1(){return new ue([[document.documentElement]],Tu)}function Eu(){return this}ue.prototype=B1.prototype={constructor:ue,select:e0,selectAll:o0,selectChild:c0,selectChildren:d0,filter:m0,data:b0,enter:g0,exit:k0,join:A0,merge:S0,selection:Eu,order:$0,sort:C0,call:N0,nodes:T0,node:E0,size:O0,empty:L0,each:j0,attr:R0,style:Y0,property:G0,classed:Q0,text:nu,html:su,raise:au,lower:uu,append:hu,insert:du,remove:gu,clone:vu,datum:xu,on:Su,dispatch:Mu,[Symbol.iterator]:Nu};function V1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Dn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Je(){}var O1=.7,dn=1/O1,f1="\\s*([+-]?\\d+)\\s*",L1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ou=/^#([0-9a-f]{3,8})$/,Lu=new RegExp(`^rgb\\(${f1},${f1},${f1}\\)$`),ju=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),Pu=new RegExp(`^rgba\\(${f1},${f1},${f1},${L1}\\)$`),Du=new RegExp(`^rgba\\(${ge},${ge},${ge},${L1}\\)$`),qu=new RegExp(`^hsl\\(${L1},${ge},${ge}\\)$`),Bu=new RegExp(`^hsla\\(${L1},${ge},${ge},${L1}\\)$`),Qr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};V1(Je,We,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Jr,formatHex:Jr,formatHex8:Vu,formatHsl:Iu,formatRgb:to,toString:to});function Jr(){return this.rgb().formatHex()}function Vu(){return this.rgb().formatHex8()}function Iu(){return Ts(this).formatHsl()}function to(){return this.rgb().formatRgb()}function We(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Ou.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?eo(e):n===3?new Kt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?W1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?W1(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=Lu.exec(t))?new Kt(e[1],e[2],e[3],1):(e=ju.exec(t))?new Kt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Pu.exec(t))?W1(e[1],e[2],e[3],e[4]):(e=Du.exec(t))?W1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=qu.exec(t))?ro(e[1],e[2]/100,e[3]/100,1):(e=Bu.exec(t))?ro(e[1],e[2]/100,e[3]/100,e[4]):Qr.hasOwnProperty(t)?eo(Qr[t]):t==="transparent"?new Kt(NaN,NaN,NaN,0):null}function eo(t){return new Kt(t>>16&255,t>>8&255,t&255,1)}function W1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Kt(t,e,n,i)}function Ns(t){return t instanceof Je||(t=We(t)),t?(t=t.rgb(),new Kt(t.r,t.g,t.b,t.opacity)):new Kt}function fi(t,e,n,i){return arguments.length===1?Ns(t):new Kt(t,e,n,i??1)}function Kt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}V1(Kt,fi,Dn(Je,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?O1:Math.pow(O1,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kt(Ue(this.r),Ue(this.g),Ue(this.b),mn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:no,formatHex:no,formatHex8:Ru,formatRgb:io,toString:io}));function no(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}`}function Ru(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}${_e((isNaN(this.opacity)?1:this.opacity)*255)}`}function io(){const t=mn(this.opacity);return`${t===1?"rgb(":"rgba("}${Ue(this.r)}, ${Ue(this.g)}, ${Ue(this.b)}${t===1?")":`, ${t})`}`}function mn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ue(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function _e(t){return t=Ue(t),(t<16?"0":"")+t.toString(16)}function ro(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ce(t,e,n,i)}function Ts(t){if(t instanceof ce)return new ce(t.h,t.s,t.l,t.opacity);if(t instanceof Je||(t=We(t)),!t)return new ce;if(t instanceof ce)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),a=NaN,c=o-r,l=(o+r)/2;return c?(e===o?a=(n-i)/c+(n<i)*6:n===o?a=(i-e)/c+2:a=(e-n)/c+4,c/=l<.5?o+r:2-o-r,a*=60):c=l>0&&l<1?0:a,new ce(a,c,l,t.opacity)}function Hu(t,e,n,i){return arguments.length===1?Ts(t):new ce(t,e,n,i??1)}function ce(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}V1(ce,Hu,Dn(Je,{brighter(t){return t=t==null?dn:Math.pow(dn,t),new ce(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?O1:Math.pow(O1,t),new ce(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Kt(Un(t>=240?t-240:t+120,r,i),Un(t,r,i),Un(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ce(oo(this.h),K1(this.s),K1(this.l),mn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=mn(this.opacity);return`${t===1?"hsl(":"hsla("}${oo(this.h)}, ${K1(this.s)*100}%, ${K1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function oo(t){return t=(t||0)%360,t<0?t+360:t}function K1(t){return Math.max(0,Math.min(1,t||0))}function Un(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 _u=Math.PI/180,Xu=180/Math.PI,gn=18,Es=.96422,Os=1,Ls=.82521,js=4/29,d1=6/29,Ps=3*d1*d1,Yu=d1*d1*d1;function Ds(t){if(t instanceof ye)return new ye(t.l,t.a,t.b,t.opacity);if(t instanceof $e)return Bs(t);t instanceof Kt||(t=Ns(t));var e=Zn(t.r),n=Zn(t.g),i=Zn(t.b),r=Gn((.2225045*e+.7168786*n+.0606169*i)/Os),o,a;return e===n&&n===i?o=a=r:(o=Gn((.4360747*e+.3850649*n+.1430804*i)/Es),a=Gn((.0139322*e+.0971045*n+.7141733*i)/Ls)),new ye(116*r-16,500*(o-r),200*(r-a),t.opacity)}function di(t,e,n,i){return arguments.length===1?Ds(t):new ye(t,e,n,i??1)}function ye(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}V1(ye,di,Dn(Je,{brighter(t){return new ye(this.l+gn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ye(this.l-gn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Es*Wn(e),t=Os*Wn(t),n=Ls*Wn(n),new Kt(Kn(3.1338561*e-1.6168667*t-.4906146*n),Kn(-.9787684*e+1.9161415*t+.033454*n),Kn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Gn(t){return t>Yu?Math.pow(t,1/3):t/Ps+js}function Wn(t){return t>d1?t*t*t:Ps*(t-js)}function Kn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Zn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function zu(t){if(t instanceof $e)return new $e(t.h,t.c,t.l,t.opacity);if(t instanceof ye||(t=Ds(t)),t.a===0&&t.b===0)return new $e(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Xu;return new $e(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function qs(t,e,n,i){return arguments.length===1?zu(t):new $e(t,e,n,i??1)}function $e(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function Bs(t){if(isNaN(t.h))return new ye(t.l,0,0,t.opacity);var e=t.h*_u;return new ye(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}V1($e,qs,Dn(Je,{brighter(t){return new $e(this.h,this.c,this.l+gn*(t??1),this.opacity)},darker(t){return new $e(this.h,this.c,this.l-gn*(t??1),this.opacity)},rgb(){return Bs(this).rgb()}}));const qi=t=>()=>t;function Fu(t,e){return function(n){return t+n*e}}function Uu(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function Gu(t){return(t=+t)==1?l1:function(e,n){return n-e?Uu(e,n,t):qi(isNaN(e)?n:e)}}function l1(t,e){var n=e-t;return n?Fu(t,n):qi(isNaN(t)?e:t)}const yn=(function t(e){var n=Gu(e);function i(r,o){var a=n((r=fi(r)).r,(o=fi(o)).r),c=n(r.g,o.g),l=n(r.b,o.b),s=l1(r.opacity,o.opacity);return function(u){return r.r=a(u),r.g=c(u),r.b=l(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function Wu(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,i=e.slice(),r;return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function Ku(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Zu(t,e){var n=e?e.length:0,i=t?Math.min(n,t.length):0,r=new Array(i),o=new Array(n),a;for(a=0;a<i;++a)r[a]=Bi(t[a],e[a]);for(;a<n;++a)o[a]=e[a];return function(c){for(a=0;a<i;++a)o[a]=r[a](c);return o}}function Qu(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ae(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Ju(t,e){var n={},i={},r;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(r in e)r in t?n[r]=Bi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var mi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qn=new RegExp(mi.source,"g");function t2(t){return function(){return t}}function e2(t){return function(e){return t(e)+""}}function Vs(t,e){var n=mi.lastIndex=Qn.lastIndex=0,i,r,o,a=-1,c=[],l=[];for(t=t+"",e=e+"";(i=mi.exec(t))&&(r=Qn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),c[a]?c[a]+=o:c[++a]=o),(i=i[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,l.push({i:a,x:ae(i,r)})),n=Qn.lastIndex;return n<e.length&&(o=e.slice(n),c[a]?c[a]+=o:c[++a]=o),c.length<2?l[0]?e2(l[0].x):t2(e):(e=l.length,function(s){for(var u=0,d;u<e;++u)c[(d=l[u]).i]=d.x(s);return c.join("")})}function Bi(t,e){var n=typeof e,i;return e==null||n==="boolean"?qi(e):(n==="number"?ae:n==="string"?(i=We(e))?(e=i,yn):Vs:e instanceof We?yn:e instanceof Date?Qu:Ku(e)?Wu:Array.isArray(e)?Zu:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?Ju:ae)(t,e)}function n2(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var so=180/Math.PI,gi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Is(t,e,n,i,r,o){var a,c,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(c=Math.sqrt(n*n+i*i))&&(n/=c,i/=c,l/=c),t*i<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*so,skewX:Math.atan(l)*so,scaleX:a,scaleY:c}}var Z1;function i2(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?gi:Is(e.a,e.b,e.c,e.d,e.e,e.f)}function r2(t){return t==null||(Z1||(Z1=document.createElementNS("http://www.w3.org/2000/svg","g")),Z1.setAttribute("transform",t),!(t=Z1.transform.baseVal.consolidate()))?gi:(t=t.matrix,Is(t.a,t.b,t.c,t.d,t.e,t.f))}function Rs(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push("translate(",null,e,null,n);m.push({i:y-4,x:ae(s,d)},{i:y-2,x:ae(u,f)})}else(d||f)&&h.push("translate("+d+e+f+n)}function a(s,u,d,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:d.push(r(d)+"rotate(",null,i)-2,x:ae(s,u)})):u&&d.push(r(d)+"rotate("+u+i)}function c(s,u,d,f){s!==u?f.push({i:d.push(r(d)+"skewX(",null,i)-2,x:ae(s,u)}):u&&d.push(r(d)+"skewX("+u+i)}function l(s,u,d,f,h,m){if(s!==d||u!==f){var y=h.push(r(h)+"scale(",null,",",null,")");m.push({i:y-4,x:ae(s,d)},{i:y-2,x:ae(u,f)})}else(d!==1||f!==1)&&h.push(r(h)+"scale("+d+","+f+")")}return function(s,u){var d=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,d,f),a(s.rotate,u.rotate,d,f),c(s.skewX,u.skewX,d,f),l(s.scaleX,s.scaleY,u.scaleX,u.scaleY,d,f),s=u=null,function(h){for(var m=-1,y=f.length,p;++m<y;)d[(p=f[m]).i]=p.x(h);return d.join("")}}}var o2=Rs(i2,"px, ","px)","deg)"),s2=Rs(r2,", ",")",")");function yi(t,e){var n=l1((t=di(t)).l,(e=di(e)).l),i=l1(t.a,e.a),r=l1(t.b,e.b),o=l1(t.opacity,e.opacity);return function(a){return t.l=n(a),t.a=i(a),t.b=r(a),t.opacity=o(a),t+""}}var y1=0,S1=0,w1=0,Hs=1e3,pn,$1,vn=0,Ke=0,qn=0,j1=typeof performance=="object"&&performance.now?performance:Date,_s=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Vi(){return Ke||(_s(l2),Ke=j1.now()+qn)}function l2(){Ke=0}function xn(){this._call=this._time=this._next=null}xn.prototype=Xs.prototype={constructor:xn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Vi():+n)+(e==null?0:+e),!this._next&&$1!==this&&($1?$1._next=this:pn=this,$1=this),this._call=t,this._time=n,pi()},stop:function(){this._call&&(this._call=null,this._time=1/0,pi())}};function Xs(t,e,n){var i=new xn;return i.restart(t,e,n),i}function a2(){Vi(),++y1;for(var t=pn,e;t;)(e=Ke-t._time)>=0&&t._call.call(void 0,e),t=t._next;--y1}function lo(){Ke=(vn=j1.now())+qn,y1=S1=0;try{a2()}finally{y1=0,u2(),Ke=0}}function c2(){var t=j1.now(),e=t-vn;e>Hs&&(qn-=e,vn=t)}function u2(){for(var t,e=pn,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:pn=n);$1=t,pi(i)}function pi(t){if(!y1){S1&&(S1=clearTimeout(S1));var e=t-Ke;e>24?(t<1/0&&(S1=setTimeout(lo,t-j1.now()-qn)),w1&&(w1=clearInterval(w1))):(w1||(vn=j1.now(),w1=setInterval(c2,Hs)),y1=1,_s(lo))}}function ao(t,e,n){var i=new xn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var h2=ys("start","end","cancel","interrupt"),f2=[],Ys=0,co=1,vi=2,ln=3,uo=4,xi=5,an=6;function Bn(t,e,n,i,r,o){var a=t.__transition;if(!a)t.__transition={};else if(n in a)return;d2(t,n,{name:e,index:i,group:r,on:h2,tween:f2,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Ys})}function Ii(t,e){var n=he(t,e);if(n.state>Ys)throw new Error("too late; already scheduled");return n}function pe(t,e){var n=he(t,e);if(n.state>ln)throw new Error("too late; already running");return n}function he(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function d2(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=Xs(o,0,n.time);function o(s){n.state=co,n.timer.restart(a,n.delay,n.time),n.delay<=s&&a(s-n.delay)}function a(s){var u,d,f,h;if(n.state!==co)return l();for(u in i)if(h=i[u],h.name===n.name){if(h.state===ln)return ao(a);h.state===uo?(h.state=an,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=an,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(ao(function(){n.state===ln&&(n.state=uo,n.timer.restart(c,n.delay,n.time),c(s))}),n.state=vi,n.on.call("start",t,t.__data__,n.index,n.group),n.state===vi){for(n.state=ln,r=new Array(f=n.tween.length),u=0,d=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++d]=h);r.length=d+1}}function c(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(l),n.state=xi,1),d=-1,f=r.length;++d<f;)r[d].call(t,u);n.state===xi&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){n.state=an,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function m2(t,e){var n=t.__transition,i,r,o=!0,a;if(n){e=e==null?null:e+"";for(a in n){if((i=n[a]).name!==e){o=!1;continue}r=i.state>vi&&i.state<xi,i.state=an,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[a]}o&&delete t.__transition}}function g2(t){return this.each(function(){m2(this,t)})}function y2(t,e){var n,i;return function(){var r=pe(this,t),o=r.tween;if(o!==n){i=n=o;for(var a=0,c=i.length;a<c;++a)if(i[a].name===e){i=i.slice(),i.splice(a,1);break}}r.tween=i}}function p2(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=pe(this,t),a=o.tween;if(a!==i){r=(i=a).slice();for(var c={name:e,value:n},l=0,s=r.length;l<s;++l)if(r[l].name===e){r[l]=c;break}l===s&&r.push(c)}o.tween=r}}function v2(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=he(this.node(),n).tween,r=0,o=i.length,a;r<o;++r)if((a=i[r]).name===t)return a.value;return null}return this.each((e==null?y2:p2)(n,t,e))}function Ri(t,e,n){var i=t._id;return t.each(function(){var r=pe(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return he(r,i).value[e]}}function zs(t,e){var n;return(typeof e=="number"?ae:e instanceof We?yn:(n=We(e))?(e=n,yn):Vs)(t,e)}function x2(t){return function(){this.removeAttribute(t)}}function b2(t){return function(){this.removeAttributeNS(t.space,t.local)}}function w2(t,e,n){var i,r=n+"",o;return function(){var a=this.getAttribute(t);return a===r?null:a===i?o:o=e(i=a,n)}}function k2(t,e,n){var i,r=n+"",o;return function(){var a=this.getAttributeNS(t.space,t.local);return a===r?null:a===i?o:o=e(i=a,n)}}function A2(t,e,n){var i,r,o;return function(){var a,c=n(this),l;return c==null?void this.removeAttribute(t):(a=this.getAttribute(t),l=c+"",a===l?null:a===i&&l===r?o:(r=l,o=e(i=a,c)))}}function S2(t,e,n){var i,r,o;return function(){var a,c=n(this),l;return c==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),l=c+"",a===l?null:a===i&&l===r?o:(r=l,o=e(i=a,c)))}}function $2(t,e){var n=Pn(t),i=n==="transform"?s2:zs;return this.attrTween(t,typeof e=="function"?(n.local?S2:A2)(n,i,Ri(this,"attr."+t,e)):e==null?(n.local?b2:x2)(n):(n.local?k2:w2)(n,i,e))}function C2(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function M2(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function N2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&M2(t,o)),n}return r._value=e,r}function T2(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&C2(t,o)),n}return r._value=e,r}function E2(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Pn(t);return this.tween(n,(i.local?N2:T2)(i,e))}function O2(t,e){return function(){Ii(this,t).delay=+e.apply(this,arguments)}}function L2(t,e){return e=+e,function(){Ii(this,t).delay=e}}function j2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?O2:L2)(e,t)):he(this.node(),e).delay}function P2(t,e){return function(){pe(this,t).duration=+e.apply(this,arguments)}}function D2(t,e){return e=+e,function(){pe(this,t).duration=e}}function q2(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?P2:D2)(e,t)):he(this.node(),e).duration}function B2(t,e){if(typeof e!="function")throw new Error;return function(){pe(this,t).ease=e}}function V2(t){var e=this._id;return arguments.length?this.each(B2(e,t)):he(this.node(),e).ease}function I2(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;pe(this,t).ease=n}}function R2(t){if(typeof t!="function")throw new Error;return this.each(I2(this._id,t))}function H2(t){typeof t!="function"&&(t=xs(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],a=o.length,c=i[r]=[],l,s=0;s<a;++s)(l=o[s])&&t.call(l,l.__data__,s,o)&&c.push(l);return new Ne(i,this._parents,this._name,this._id)}function _2(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),a=new Array(i),c=0;c<o;++c)for(var l=e[c],s=n[c],u=l.length,d=a[c]=new Array(u),f,h=0;h<u;++h)(f=l[h]||s[h])&&(d[h]=f);for(;c<i;++c)a[c]=e[c];return new Ne(a,this._parents,this._name,this._id)}function X2(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 Y2(t,e,n){var i,r,o=X2(e)?Ii:pe;return function(){var a=o(this,t),c=a.on;c!==i&&(r=(i=c).copy()).on(e,n),a.on=r}}function z2(t,e){var n=this._id;return arguments.length<2?he(this.node(),n).on.on(t):this.each(Y2(n,t,e))}function F2(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function U2(){return this.on("end.remove",F2(this._id))}function G2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Pi(t));for(var i=this._groups,r=i.length,o=new Array(r),a=0;a<r;++a)for(var c=i[a],l=c.length,s=o[a]=new Array(l),u,d,f=0;f<l;++f)(u=c[f])&&(d=t.call(u,u.__data__,f,c))&&("__data__"in u&&(d.__data__=u.__data__),s[f]=d,Bn(s[f],e,n,f,s,he(u,n)));return new Ne(o,this._parents,e,n)}function W2(t){var e=this._name,n=this._id;typeof t!="function"&&(t=vs(t));for(var i=this._groups,r=i.length,o=[],a=[],c=0;c<r;++c)for(var l=i[c],s=l.length,u,d=0;d<s;++d)if(u=l[d]){for(var f=t.call(u,u.__data__,d,l),h,m=he(u,n),y=0,p=f.length;y<p;++y)(h=f[y])&&Bn(h,e,n,y,f,m);o.push(f),a.push(u)}return new Ne(o,a,e,n)}var K2=B1.prototype.constructor;function Z2(){return new K2(this._groups,this._parents)}function Q2(t,e){var n,i,r;return function(){var o=g1(this,t),a=(this.style.removeProperty(t),g1(this,t));return o===a?null:o===n&&a===i?r:r=e(n=o,i=a)}}function Fs(t){return function(){this.style.removeProperty(t)}}function J2(t,e,n){var i,r=n+"",o;return function(){var a=g1(this,t);return a===r?null:a===i?o:o=e(i=a,n)}}function t9(t,e,n){var i,r,o;return function(){var a=g1(this,t),c=n(this),l=c+"";return c==null&&(l=c=(this.style.removeProperty(t),g1(this,t))),a===l?null:a===i&&l===r?o:(r=l,o=e(i=a,c))}}function e9(t,e){var n,i,r,o="style."+e,a="end."+o,c;return function(){var l=pe(this,t),s=l.on,u=l.value[o]==null?c||(c=Fs(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(a,r=u),l.on=i}}function n9(t,e,n){var i=(t+="")=="transform"?o2:zs;return e==null?this.styleTween(t,Q2(t,i)).on("end.style."+t,Fs(t)):typeof e=="function"?this.styleTween(t,t9(t,i,Ri(this,"style."+t,e))).each(e9(this._id,t)):this.styleTween(t,J2(t,i,e),n).on("end.style."+t,null)}function i9(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function r9(t,e,n){var i,r;function o(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&i9(t,a,n)),i}return o._value=e,o}function o9(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,r9(t,e,n??""))}function s9(t){return function(){this.textContent=t}}function l9(t){return function(){var e=t(this);this.textContent=e??""}}function a9(t){return this.tween("text",typeof t=="function"?l9(Ri(this,"text",t)):s9(t==null?"":t+""))}function c9(t){return function(e){this.textContent=t.call(this,e)}}function u9(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&c9(r)),e}return i._value=t,i}function h9(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,u9(t))}function f9(){for(var t=this._name,e=this._id,n=Us(),i=this._groups,r=i.length,o=0;o<r;++o)for(var a=i[o],c=a.length,l,s=0;s<c;++s)if(l=a[s]){var u=he(l,e);Bn(l,t,n,s,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ne(i,this._parents,t,n)}function d9(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,a){var c={value:a},l={value:function(){--r===0&&o()}};n.each(function(){var s=pe(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(c),e._.interrupt.push(c),e._.end.push(l)),s.on=e}),r===0&&o()})}var m9=0;function Ne(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Us(){return++m9}var we=B1.prototype;Ne.prototype={constructor:Ne,select:G2,selectAll:W2,selectChild:we.selectChild,selectChildren:we.selectChildren,filter:H2,merge:_2,selection:Z2,transition:f9,call:we.call,nodes:we.nodes,node:we.node,size:we.size,empty:we.empty,each:we.each,on:z2,attr:$2,attrTween:E2,style:n9,styleTween:o9,text:a9,textTween:h9,remove:U2,tween:v2,delay:j2,duration:q2,ease:V2,easeVarying:R2,end:d9,[Symbol.iterator]:we[Symbol.iterator]};function g9(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var y9={time:null,delay:0,duration:250,ease:g9};function p9(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 v9(t){var e,n;t instanceof Ne?(e=t._id,t=t._name):(e=Us(),(n=y9).time=Vi(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var a=i[o],c=a.length,l,s=0;s<c;++s)(l=a[s])&&Bn(l,t,e,s,a,n||p9(l,e));return new Ne(i,this._parents,t,e)}B1.prototype.interrupt=g2;B1.prototype.transition=v9;const bi=Math.PI,wi=2*bi,Re=1e-6,x9=wi-Re;function Gs(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function b9(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Gs;const n=10**e;return function(i){this._+=i[0];for(let r=1,o=i.length;r<o;++r)this._+=Math.round(arguments[r]*n)/n+i[r]}}class w9{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?Gs:b9(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,i,r){this._append`Q${+e},${+n},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,n,i,r,o,a){this._append`C${+e},${+n},${+i},${+r},${this._x1=+o},${this._y1=+a}`}arcTo(e,n,i,r,o){if(e=+e,n=+n,i=+i,r=+r,o=+o,o<0)throw new Error(`negative radius: ${o}`);let a=this._x1,c=this._y1,l=i-e,s=r-n,u=a-e,d=c-n,f=u*u+d*d;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>Re)if(!(Math.abs(d*l-s*u)>Re)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-a,m=r-c,y=l*l+s*s,p=h*h+m*m,S=Math.sqrt(y),$=Math.sqrt(f),b=o*Math.tan((bi-Math.acos((y+f-p)/(2*S*$)))/2),N=b/$,M=b/S;Math.abs(N-1)>Re&&this._append`L${e+N*u},${n+N*d}`,this._append`A${o},${o},0,0,${+(d*h>u*m)},${this._x1=e+M*l},${this._y1=n+M*s}`}}arc(e,n,i,r,o,a){if(e=+e,n=+n,i=+i,a=!!a,i<0)throw new Error(`negative radius: ${i}`);let c=i*Math.cos(r),l=i*Math.sin(r),s=e+c,u=n+l,d=1^a,f=a?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>Re||Math.abs(this._y1-u)>Re)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%wi+wi),f>x9?this._append`A${i},${i},0,1,${d},${e-c},${n-l}A${i},${i},0,1,${d},${this._x1=s},${this._y1=u}`:f>Re&&this._append`A${i},${i},0,${+(f>=bi)},${d},${this._x1=e+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(e,n,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function k9(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function bn(t,e){if(!isFinite(t)||t===0)return null;var n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function p1(t){return t=bn(Math.abs(t)),t?t[1]:NaN}function A9(t,e){return function(n,i){for(var r=n.length,o=[],a=0,c=t[0],l=0;r>0&&c>0&&(l+c+1>i&&(c=Math.max(1,i-l)),o.push(n.substring(r-=c,r+c)),!((l+=c+1)>i));)c=t[a=(a+1)%t.length];return o.reverse().join(e)}}function S9(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var $9=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wn(t){if(!(e=$9.exec(t)))throw new Error("invalid format: "+t);var e;return new Hi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}wn.prototype=Hi.prototype;function Hi(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+""}Hi.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 C9(t){t:for(var e=t.length,n=1,i=-1,r;n<e;++n)switch(t[n]){case".":i=r=n;break;case"0":i===0&&(i=n),r=n;break;default:if(!+t[n])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(r+1):t}var kn;function M9(t,e){var n=bn(t,e);if(!n)return kn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(kn=Math.max(-8,Math.min(8,Math.floor(r/3)))*3)+1,a=i.length;return o===a?i:o>a?i+new Array(o-a+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+bn(t,Math.max(0,e+o-1))[0]}function ho(t,e){var n=bn(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const fo={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:k9,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)=>ho(t*100,e),r:ho,s:M9,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function mo(t){return t}var go=Array.prototype.map,yo=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function N9(t){var e=t.grouping===void 0||t.thousands===void 0?mo:A9(go.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",i=t.currency===void 0?"":t.currency[1]+"",r=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?mo:S9(go.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",c=t.minus===void 0?"\u2212":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function s(d,f){d=wn(d);var h=d.fill,m=d.align,y=d.sign,p=d.symbol,S=d.zero,$=d.width,b=d.comma,N=d.precision,M=d.trim,C=d.type;C==="n"?(b=!0,C="g"):fo[C]||(N===void 0&&(N=12),M=!0,C="g"),(S||h==="0"&&m==="=")&&(S=!0,h="0",m="=");var L=(f&&f.prefix!==void 0?f.prefix:"")+(p==="$"?n:p==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():""),g=(p==="$"?i:/[%p]/.test(C)?a:"")+(f&&f.suffix!==void 0?f.suffix:""),v=fo[C],w=/[defgprs%]/.test(C);N=N===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function x(k){var V=L,P=g,W,X,H;if(C==="c")P=v(k)+P,k="";else{k=+k;var q=k<0||1/k<0;if(k=isNaN(k)?l:v(Math.abs(k),N),M&&(k=C9(k)),q&&+k==0&&y!=="+"&&(q=!1),V=(q?y==="("?y:c:y==="-"||y==="("?"":y)+V,P=(C==="s"&&!isNaN(k)&&kn!==void 0?yo[8+kn/3]:"")+P+(q&&y==="("?")":""),w){for(W=-1,X=k.length;++W<X;)if(H=k.charCodeAt(W),48>H||H>57){P=(H===46?r+k.slice(W+1):k.slice(W))+P,k=k.slice(0,W);break}}}b&&!S&&(k=e(k,1/0));var Y=V.length+k.length+P.length,F=Y<$?new Array($-Y+1).join(h):"";switch(b&&S&&(k=e(F+k,F.length?$-P.length:1/0),F=""),m){case"<":k=V+k+P+F;break;case"=":k=V+F+k+P;break;case"^":k=F.slice(0,Y=F.length>>1)+V+k+P+F.slice(Y);break;default:k=F+V+k+P;break}return o(k)}return x.toString=function(){return d+""},x}function u(d,f){var h=Math.max(-8,Math.min(8,Math.floor(p1(f)/3)))*3,m=Math.pow(10,-h),y=s((d=wn(d),d.type="f",d),{suffix:yo[8+h/3]});return function(p){return y(m*p)}}return{format:s,formatPrefix:u}}var Q1,Ws,Ks;T9({thousands:",",grouping:[3],currency:["$",""]});function T9(t){return Q1=N9(t),Ws=Q1.format,Ks=Q1.formatPrefix,Q1}function E9(t){return Math.max(0,-p1(Math.abs(t)))}function O9(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(p1(e)/3)))*3-p1(Math.abs(t)))}function L9(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,p1(e)-p1(t))+1}function j9(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function P9(t){return function(){return t}}function D9(t){return+t}var po=[0,1];function a1(t){return t}function ki(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:P9(isNaN(e)?NaN:.5)}function q9(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function B9(t,e,n){var i=t[0],r=t[1],o=e[0],a=e[1];return r<i?(i=ki(r,i),o=n(a,o)):(i=ki(i,r),o=n(o,a)),function(c){return o(i(c))}}function V9(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),o=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<i;)r[a]=ki(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(c){var l=Xc(t,c,1,i)-1;return o[l](r[l](c))}}function I9(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function R9(){var t=po,e=po,n=Bi,i,r,o,a=a1,c,l,s;function u(){var f=Math.min(t.length,e.length);return a!==a1&&(a=q9(t[0],t[f-1])),c=f>2?V9:B9,l=s=null,d}function d(f){return f==null||isNaN(f=+f)?o:(l||(l=c(t.map(i),e,n)))(i(a(f)))}return d.invert=function(f){return a(r((s||(s=c(e,t.map(i),ae)))(f)))},d.domain=function(f){return arguments.length?(t=Array.from(f,D9),u()):t.slice()},d.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},d.rangeRound=function(f){return e=Array.from(f),n=n2,u()},d.clamp=function(f){return arguments.length?(a=f?!0:a1,u()):a!==a1},d.interpolate=function(f){return arguments.length?(n=f,u()):n},d.unknown=function(f){return arguments.length?(o=f,d):o},function(f,h){return i=f,r=h,u()}}function H9(){return R9()(a1,a1)}function _9(t,e,n,i){var r=Gc(t,e,n),o;switch(i=wn(i??",f"),i.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=O9(r,a))&&(i.precision=o),Ks(i,a)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=L9(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=E9(r))&&(i.precision=o-(i.type==="%")*2);break}}return Ws(i)}function X9(t){var e=t.domain;return t.ticks=function(n){var i=e();return Uc(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return _9(r[0],r[r.length-1],n??10,i)},t.nice=function(n){n==null&&(n=10);var i=e(),r=0,o=i.length-1,a=i[r],c=i[o],l,s,u=10;for(c<a&&(s=a,a=c,c=s,s=r,r=o,o=s);u-- >0;){if(s=ui(a,c,n),s===l)return i[r]=a,i[o]=c,e(i);if(s>0)a=Math.floor(a/s)*s,c=Math.ceil(c/s)*s;else if(s<0)a=Math.ceil(a*s)/s,c=Math.floor(c*s)/s;else break;l=s}return t},t}function Zs(){var t=H9();return t.copy=function(){return I9(t,Zs())},j9.apply(t,arguments),X9(t)}function r1(t){return function(){return t}}const vo=1e-12;function Y9(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);e=i}return t},()=>new w9(e)}function z9(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Qs(t){this._context=t}Qs.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 _i(t){return new Qs(t)}function F9(t){return t[0]}function U9(t){return t[1]}function G9(t,e){var n=r1(!0),i=null,r=_i,o=null,a=Y9(c);t=typeof t=="function"?t:t===void 0?F9:r1(t),e=typeof e=="function"?e:e===void 0?U9:r1(e);function c(l){var s,u=(l=z9(l)).length,d,f=!1,h;for(i==null&&(o=r(h=a())),s=0;s<=u;++s)!(s<u&&n(d=l[s],s,l))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(d,s,l),+e(d,s,l));if(h)return o=null,h+""||null}return c.x=function(l){return arguments.length?(t=typeof l=="function"?l:r1(+l),c):t},c.y=function(l){return arguments.length?(e=typeof l=="function"?l:r1(+l),c):e},c.defined=function(l){return arguments.length?(n=typeof l=="function"?l:r1(!!l),c):n},c.curve=function(l){return arguments.length?(r=l,i!=null&&(o=r(i)),c):r},c.context=function(l){return arguments.length?(l==null?i=o=null:o=r(i=l),c):i},c}function v1(){}function Ai(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Xi(t,e){this._context=t,this._k=(1-e)/6}Xi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ai(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:Ai(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Js=(function t(e){function n(i){return new Xi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function Yi(t,e){this._context=t,this._k=(1-e)/6}Yi.prototype={areaStart:v1,areaEnd:v1,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:Ai(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 tl=(function t(e){function n(i){return new Yi(i,e)}return n.tension=function(i){return t(+i)},n})(0);function el(t,e,n){var i=t._x1,r=t._y1,o=t._x2,a=t._y2;if(t._l01_a>vo){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,r=(r*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>vo){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*s+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,a,t._x2,t._y2)}function nl(t,e){this._context=t,this._alpha=e}nl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:el(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 il=(function t(e){function n(i){return e?new nl(i,e):new Xi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function rl(t,e){this._context=t,this._alpha=e}rl.prototype={areaStart:v1,areaEnd:v1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:el(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 ol=(function t(e){function n(i){return e?new rl(i,e):new Yi(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function sl(t){this._context=t}sl.prototype={areaStart:v1,areaEnd:v1,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 ll(t){return new sl(t)}function al(t){this._context=t}al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=xo(t),r=xo(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],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 xo(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),a=new Array(n);for(r[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,a[e]-=i*a[e-1];for(r[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(a[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function An(t){return new al(t)}function C1(t,e,n){this.k=t,this.x=e,this.y=n}C1.prototype={constructor:C1,scale:function(t){return t===1?this:new C1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new C1(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};C1.prototype;const W9={censor:qe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:pt,squish_infinite:ci,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function s1(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function cl({values:t={},na_value:e=null,title:n,...i}={}){let r;return Array.isArray(t)?r=function(o){return o.map(a=>t[+a]??e)}:r=function(o){return o.map(a=>t[a]??e)},Object.assign(r,{title:n},i)}function o1({limits:t,oob:e=qe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...a}={}){return Object.assign(function(l){let s=this?.limits?.min??this?.limits?.[0]??l.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??l.extent?.[1],d=u-s,f=n?.min??n[0],h=n?.max??n[1],m=h-f;return l.map(y=>(y=this.oob(y,{min:s,max:u}),y===null?r:isNaN(y)?i:f+(y-s)/d*m))},{title:o,limits:t,oob:e},a)}function bo({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>+i)},{asis:!0,title:t},e)}function Si({title:t,...e}={}){return Object.assign(function(n){return n.map(i=>String(i??""))},{asis:!0,title:t},e)}function Sn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,alpha:r=1,direction:o=1,limits:a,oob:c=qe,na_value:l="#7f7f7f",null_value:s=null,title:u,...d}={}){return Object.assign(function(h){let m=this?.limits?.min??this?.limits?.[0]??h.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??h.extent?.[1],p=y-m,S=t?.min??t[0],$=t?.max??t[1],b=$-S;return h.map(N=>(N=this.oob(N,{min:m,max:y}),N===null?s:isNaN(N)?l:qs(i+S+b*(N-m)/p*o,e,n,r).toString()))},{title:u,limits:a,oob:c},d)}function K9({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return cl({values:t,na_value:e,title:n,...i})}function $n({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=qe,na_value:r="#7f7f7f",null_value:o=null,title:a,...c}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],d=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=yi(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:d}),h===null?o:isNaN(h)?r:u===d?f(.5):h>d?e:h<u?t:f((h-u)/(d-u))))},{title:a,limits:n,oob:i},c)}function Z9({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=qe,na_value:a="#7f7f7f",null_value:c=null,title:l,...s}={}){return Object.assign(function(d){let f=this?.limits?.min??this?.limits?.[0]??d.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??d.extent?.[1],m=i??(f+h)/2,y=yi(t,e),p=yi(e,n);return d.map(S=>(S=this.oob(S,{min:f,max:h}),S===null?c:isNaN(S)?a:S<m?y((S-f)/(m-f)):p((S-m)/(h-m))))},{title:l,limits:r,oob:o},s)}function Q9({colors:t=[],values:e,anchors:n,limits:i,oob:r=qe,na_value:o="#7f7f7f",null_value:a=null,title:c,...l}={}){return Object.assign(function(u){let d=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(y=>d+(f-d)*y);h??=Array(t.length).fill(0).map((y,p)=>d+(f-d)*p/(t.length-1)),t=t.filter((y,p)=>!isNaN(h[p])),h=h.filter(y=>!isNaN(y));let m=Zs(h,t);return u.map(y=>(y=this.oob(y,{min:d,max:f}),y===null?a:isNaN(y)?o:m(y)))},{title:c,limits:i,oob:r},l)}function wo({alpha:t,limits:e,oob:n=qe,title:i,...r}={}){let o=Sn({alpha:t}),a=$n();return Object.assign(function(l){return l.level!=null?o.call(this,l):a.call(this,l)},{title:i,limits:e,oob:n},r)}function J9({discrete:t=Sn(),continuous:e=$n(),limits:n,oob:i=qe,title:r,...o}={}){return Object.assign(function(c){return c.level!=null?t.call(this,c):e.call(this,c)},{title:r,limits:n,oob:i},o)}function ko({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus","cross"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function Ao({title:t,...e}={}){let n=["solid","22","42","44","13","1343","73","2262","12223242","F282","F4448444","224282F2","F1"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}const Jn={identity:({title:t,...e}={})=>Si({legend:!1,title:t,...e}),discrete:Sn,hue:Sn,manual:K9,continuous:$n,gradient:$n,gradient2:Z9,gradientn:Q9,dynamic:J9,auto:wo,custom:s1,default:wo},ul={color:Jn,stroke:Jn,fill:Jn,alpha:{continuous:o1,custom:s1,default:({title:t,...e}={})=>o1({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>bo({legend:!1,title:t,...e}),continuous:o1,custom:s1,default:({title:t,...e}={})=>o1({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>bo({legend:!1,title:t,...e}),continuous:o1,manual:cl,custom:s1,default:({title:t,...e}={})=>o1({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>Si({legend:!1,title:t,...e}),discrete:Ao,default:Ao,custom:s1},shape:{identity:({title:t,...e}={})=>Si({legend:!1,title:t,...e}),discrete:ko,default:ko,custom:s1}};function t8({step:t,minor:e=!1}={}){return function({min:n,max:i,minor:r=e}={}){let o=i-n,a=t;if(isNaN(o)||o<0)return[];if(o==0)return[n];let c=10**Math.floor(Math.log10(o)-1),l=o/c;a==null&&(a=([5,10,20].find(d=>d*5>l)??20)*c),r&&(a/=2);let s=Math.ceil(n/a),u=Math.floor(i/a);return new Array(u-s+1).fill(null).map((d,f)=>(s+f)*a)}}function e8(){return function({min:t,max:e}={}){let n=e-t;if(isNaN(n)||n<0)return[];if(n==0)return[new Date(t)];let i=new Date(t),r=new Date(e),o=i.getUTCFullYear(),a=i.getUTCMonth(),c=i.getUTCDate(),l=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),d=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),m=f/h,y=Math.max((m>50?10:m>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/y)*y));do d.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+y)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(a/h)*h));do d.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,a,c+(7-i.getUTCDay())%7));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,a,Math.ceil(c)));do d.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+h)<r)}else if(n>3*36e5){let f=n/36e5,h=[2,3,6].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,a,c,Math.ceil(l/h)*h));do d.push(new Date(i));while(i.setUTCHours(i.getUTCHours()+h)<r)}else if(n>3*6e4){let f=n/6e4,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,a,c,l,Math.ceil(s/h)*h));do d.push(new Date(i));while(i.setUTCMinutes(i.getUTCMinutes()+h)<r)}else if(n>3e3){let f=n/1e3,h=[2,5,10,30].findLast(m=>m*3<=f)||1;i=new Date(Date.UTC(o,a,c,l,s,Math.ceil(u/h)*h));do d.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,m=(h>50?20:h>25?10:5)*f,y=Math.ceil(t/m),p=Math.floor(e/m);return new Array(p-y+1).fill(null).map((S,$)=>new Date((y+$)*m))}return d}}const Vn={number:t8,datetime:e8};let n8={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 $i(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(n8[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const hl={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 i8(){return function(t){return t==null?"":t instanceof Date?$i(t):String(t)}}function fl({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:a="hyphen",scale_cut:c={"":1}}={}){let l={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[a]??"";return function(u,d,f=[u]){let h;if(t)h=t;else if(f.length>1){let b=f.filter(M=>isFinite(M)).sort((M,C)=>M-C);h=b.slice(1).map((M,C)=>M-b[C]).reduce((M,C)=>M<C?M:C)*e}else h=u||1;let m=Object.entries(c).sort((b,N)=>N[1]-b[1]).find(b=>b[1]<=h)?.[0]??"",y=(m==""?"":" ")+m+i;h=h/(c[m]??1);let p=Math.max(0,Math.ceil(-Math.log10(h))),S=Math.round(u*e/(c[m]??1)/h)*h,$=n+(S>0?l:S<0?s:"");return S<0&&a=="parens"&&(y=")"+y),S=Math.abs(S).toFixed(p).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),$+S+y}}function Ci({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,a=[r]){if(a.length<=1)return $i(new Date(r),t);if(t==null){let c=Array.from(a).sort((f,h)=>f-h),l=c.slice(1).map((f,h)=>f-c[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(c[c.length-1]-c[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=l),d=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[d],i[u])}return $i(new Date(r),t)}}function So(t){let e=fl(t),n=Ci(t);return function(i,r,o=[i]){return i instanceof us?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const Mi={number:fl,datetime:Ci,timestamp:Ci,asis:i8,auto:So,default:function(t){return So({scale_cut:hl.default,...t})}};function r8(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class o8{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:a}=n,{geom:c,stat:l,data:s,aes:u,levels:d={},scales:f={},attrs:h,args:m,vBind:y,extendX:p,extendY:S}=e;if(!Se[c]){console.error(`Invalid geom "${c}"`,"in layer",e,", plot",n);return}let $=typeof l=="function"?l:ms[l];if($==null){console.error(`Invalid stat "${l}"`,"in layer",e,", plot",n);return}this.geom=c,this.vBind=Object.assign(y,{extendX:p??o??0,extendY:S??a??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let b={};this.$fnames={};for(const C in u)this.$fnames[C]=String(u[C]),b[C]=s.map(u[C]).map(L=>L instanceof String||L instanceof Number?new ze(L):L);b.$raw=s;let N=$?.core_attrs??["x","y","xnudge","ynudge"],M=s.length;M==0&&(M=N.map(C=>h[C]).filter(C=>C!=null).reduce((C,L)=>Math.max(Array.isArray(L)?L.length:1,C),0));for(const C in h)if(N.includes(C))if(Array.isArray(h[C])){if(h[C].length!=M)throw new Error(`Attribute "${C}" must have the same length as data (${M})`);b[C]=h[C]}else{if(h[C]==null)continue;b[C]=new Array(M).fill(h[C])}try{if(b=$(b,m||{}),b.$group??=b.group,b.$group==null){let C=Object.values(b).filter(L=>Array.isArray(L)).reduce((L,g)=>Math.max(L,g.length),0);b.$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(f).filter(C=>f[C]!=null)]),this.aes=new Set([...this.localScales,...Se[c]?.scale_attrs??[]]),this.$data=b,this.data={...b};for(const C in b)if(f[C]!=null){let L=new In(f[C]);L.aesthetics=C,L._title=this.$fnames[C];let g=this.$data[C];if(!g?.length)continue;L.asis||(d?.[C]!=null?L.level=d[C]:g.some(Me)?L.level=Fe.from(g):L.extent=xt.extent(g.filter(v=>!(v instanceof ze)))),this.applyScale(C,L)}this.attrs={};for(const C in h)if(!N.includes(C))if(Array.isArray(h[C])){if(h[C].length!=M)throw new Error(`Attribute "${C}" must have the same length as data (${M})`);this.data[C]=h[C]}else this.attrs[C]=h[C],h[C]!=null&&(this.data[C]=new Array(M).fill(h[C]))}applyScale(e,n){let i=this.$data[e];if(i==null)return;n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e;let r=n(i);this.data[e]=i.map((o,a)=>o instanceof ze?o.valueOf():r[a]),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 s8{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new o8(n[i],e));this.layers=this.layers.filter(i=>i.$data!=null),this.aes=new Set(this.layers.flatMap(i=>Array.from(i.aes))),this.scales=new Map}useScales(e,n){this.scales=new Map;for(const i of this.aes){let r=this.layers.filter(o=>!o.localScales.has(i)).flatMap(o=>o.$data[i]??[]);if(r.length!=0){let o=new In(e?.[i]??ul[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(Me)?o.level=Fe.from(r):o.extent=xt.extent(r.filter(a=>!(a instanceof ze)))),o._title=this.layers.reduce((a,c)=>a??c.$fnames?.[i],null);for(const a of this.layers)a.localScales.has(i)||a.applyScale(i,o)}for(const o of this.layers){let a=o.scales?.[i];if(a!=null&&!a.asis){this.scales.has(a)||this.scales.set(a,{});let c=this.scales.get(a);c[o.geom]==null&&(c[o.geom]={});for(let l of Se[o.geom]?.scale_attrs)o.attrs[l]!=null&&(c[o.geom][l]=o.attrs[l])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new Fe(...e[n]);else{let i=this.layers.flatMap(r=>(Se[r.geom].get_values??Se[r.geom].get_range)?.(r.$data,n));i.some(Me)?this.levels[n]=Fe.from(i):(i=this.layers.flatMap(r=>Se[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=xt.extent(i.filter(r=>!(r instanceof ze))))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:e.data.$group.map((i,r)=>Se[e.geom].validate(r8(e.data,(o,a)=>a?.[r]))).filter(i=>i!=null),geom:e.geom,vBind:e.vBind}))}getCoordScales(e,n,i){let r={};if(this._range=e,this.levels.x){let o=+(e?.xmin??-.5)-(+n.x?.min||0),a=+(e?.xmax??this.levels.x.length-.5)+(+n.x?.max||0);r.x=new Cn(this.levels.x,{min:o,max:a})}else{let o=e?.xmin??this.extents.x?.min??0,a=e?.xmax??this.extents.x?.max??0,c=dt(o,-n.x?.min||0),l=dt(a,+n.x?.max||0),s=i?.x??1;if(l-c<s)if(e?.xmax==null&&e?.xmin!=null)l=dt(c,+s);else if(e?.xmax!=null&&e?.xmin==null)c=dt(l,-s);else{let u=l-c;l=dt(l,-u/2+s/2),c=dt(l,-s)}c instanceof Date||l instanceof Date?r.x=new Mn({min:c,max:l}):r.x=new P1({min:c,max:l})}if(this.levels.y){let o=+(e?.ymin??-.5)-(+n.y?.min||0),a=+(e?.ymax??this.levels.y.length-.5)+(+n.y?.max||0);r.y=new Cn(this.levels.y,{min:o,max:a})}else{let o=e?.ymin??this.extents.y?.min??0,a=e?.ymax??this.extents.y?.max??0,c=dt(o,-n.y?.min),l=dt(a,+n.y?.max||0),s=i?.y??1;if(l-c<s)if(e?.ymax==null&&e?.ymin!=null)l=dt(c,+s);else if(e?.ymax!=null&&e?.ymin==null)c=dt(l,-s);else{let u=l-c;l=dt(l,-u/2+s/2),c=dt(l,-s)}c instanceof Date||l instanceof Date?r.y=new Mn({min:c,max:l}):r.y=new P1({min:c,max:l})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class In extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,In.prototype),Object.assign(i,e),i._fn=n,i}set extent({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this._limits={0:e,1:n,length:2,min:e,max:n}}get extent(){return this.limits}set limits({min:e,max:n,0:i,1:r}={}){e??=i,n??=r,this.$limits={0:e,1:n,length:2,min:e,max:n}}get limits(){let e=this.$limits?.min??(this.level?0:this._limits?.min),n=this.$limits?.max??this.level?.length??this._limits?.max;return{0:e,1:n,length:2,min:e,max:n}}toString(){return this.title??String(this._fn)}}class Cn extends Function{constructor(e,{min:n,max:i}={}){const r=n==i?o=>0:o=>(+o-n)/(i-n);return r.range={min:n,max:i},r.level=e,Object.setPrototypeOf(r,Cn.prototype),r}invert(e){let{min:n,max:i}=this.range;return e*(i-n)+n}get breaks(){return Array.from(this.level)}get minorBreaks(){return[]}}class P1 extends Function{constructor(e){let{min:n,max:i}=e;const r=n==i?o=>isFinite(o)?.5:o:o=>(+o-n)/(i-n);return r.range={min:n,max:i},Object.setPrototypeOf(r,P1.prototype),r}invert(e){let{min:n,max:i}=this.range;return dt(n,e*(i-n))}get breaks(){return Vn.number()}}class Mn extends P1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,Mn.prototype),n}get breaks(){return Vn.datetime()}get minorBreaks(){return[]}}class l8{constructor(e,{breaks:n,labels:i,minorBreaks:r,titles:o}={}){this.scale=e,this.range=e?.range,this.breaks=n??e.breaks,this.labels=i??Mi.auto(),this.titles=o??Mi.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBreaks({range:e,expandMult:n,breakSlot:i}={}){let r=this.breaks,o=this.minorBreaks,a=this.labels,c=this.titles,l=e?.min??this?.range?.min,s=e?.max??this?.range?.max,u=s-l||0;if(l=l==null?l:dt(l,-(n?.min??0)*u),s=s==null?s:dt(s,+(n?.max??0)*u),typeof r=="function"&&(r=r({min:l,max:s})),Array.isArray(r)||(r=[]),typeof a=="function"&&(a=r.map(a)),!Array.isArray(a))a=[];else if(a.length!=r.length)throw new Error("Length of labels must be the same as breaks");if(typeof c=="function"&&(c=r.map(c)),!Array.isArray(c))c=[];else if(c.length!=r.length)throw new Error("Length of titles must be the same as breaks");typeof o=="function"&&(o=o({min:l,max:s,minor:!0})),Array.isArray(o)||(o=[]),r=r.map((f,h)=>({type:"major",value:f,label:a[h],title:c[h]})),o=o.map(f=>({type:"minor",value:f}));let d=r.concat(o);return i instanceof Function&&(d=E1(i({breaks:d,majorBreaks:r,minorBreaks:o,min:l,max:s})).filter(f=>f.type.$_type=="axis-break").map(f=>({...f.type.$_props,...f.props}))),d}}const a8=["font-size"],c8={key:0},I1={__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=Bt("ele"),n=jt({width:0,height:0}),i=Ge("vvplot-visible",!0);St([e,i,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([o])=>{if(!o)return;await Ln();let{width:a,height:c}=o.getBBox();n.width=a,n.height=c});const r=_(()=>{let{width:o,height:a}=n,c=[],l=({start:-.5,end:.5}[t.textAnchor]??0)*o;if(t.dockX!=null||t.dockY!=null){let s={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),u={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(s)&&(s=.5),isNaN(u)&&(u=.5);let d=o*Math.abs(Math.cos(t.angle*Math.PI/180))+a*Math.abs(Math.sin(t.angle*Math.PI/180)),f=o*Math.abs(Math.sin(t.angle*Math.PI/180))+a*Math.abs(Math.cos(t.angle*Math.PI/180)),h=t.translateX,m=t.translateY;c.push(`translate(${d*(.5-s)+h},${f*(u-.5)+m})`),t.angle&&c.push(`rotate(${t.angle})`),c.push(`translate(${l},0)`)}else{let s={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),u={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(s)&&(s=.5),isNaN(u)&&(u=.5);let d=o,f=a,h=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),m=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(${d*(.5-s)+h+l},${f*(u-.5)+m})`)}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":Yt(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}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(o,a)=>(O(),R("text",J({ref_key:"ele",ref:e},r.value,{"font-size":(t.fontSize??t.size*4)||null}),[Qo(o.$slots,"default",{},()=>[t.title?(O(),R("title",c8,Ft(t.title),1)):Ot("",!0),mt(" "+Ft(t.text?.replace(/ /g,"\xA0")),1)])],16,a8))}};function dl(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 u8=function(t,e){this.current=t,this.entering=e===!0},h8=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=dl(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}},f8=function(t){return{current:t,root:t,entering:!0,next:h8,resumeAt:u8}},Vt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},Ht=Vt.prototype;Object.defineProperty(Ht,"isContainer",{get:function(){return dl(this)}});Object.defineProperty(Ht,"type",{get:function(){return this._type}});Object.defineProperty(Ht,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(Ht,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(Ht,"next",{get:function(){return this._next}});Object.defineProperty(Ht,"prev",{get:function(){return this._prev}});Object.defineProperty(Ht,"parent",{get:function(){return this._parent}});Object.defineProperty(Ht,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(Ht,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(Ht,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(Ht,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(Ht,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(Ht,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(Ht,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(Ht,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(Ht,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(Ht,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(Ht,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(Ht,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});Vt.prototype.appendChild=function(t){t.unlink(),t._parent=this,this._lastChild?(this._lastChild._next=t,t._prev=this._lastChild,this._lastChild=t):(this._firstChild=t,this._lastChild=t)};Vt.prototype.prependChild=function(t){t.unlink(),t._parent=this,this._firstChild?(this._firstChild._prev=t,t._next=this._firstChild,this._firstChild=t):(this._firstChild=t,this._lastChild=t)};Vt.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null};Vt.prototype.insertAfter=function(t){t.unlink(),t._next=this._next,t._next&&(t._next._prev=t),t._prev=this,this._next=t,t._parent=this._parent,t._next||(t._parent._lastChild=t)};Vt.prototype.insertBefore=function(t){t.unlink(),t._prev=this._prev,t._prev&&(t._prev._next=t),t._next=this,this._prev=t,t._parent=this._parent,t._prev||(t._parent._firstChild=t)};Vt.prototype.walker=function(){var t=new f8(this);return t};function d8(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ti,$o;function m8(){if($o)return ti;$o=1;var t={};function e(i){var r,o,a=t[i];if(a)return a;for(a=t[i]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?a.push(o):a.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<i.length;r++)a[i.charCodeAt(r)]=i[r];return a}function n(i,r,o){var a,c,l,s,u,d="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),a=0,c=i.length;a<c;a++){if(l=i.charCodeAt(a),o&&l===37&&a+2<c&&/^[0-9a-f]{2}$/i.test(i.slice(a+1,a+3))){d+=i.slice(a,a+3),a+=2;continue}if(l<128){d+=u[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&a+1<c&&(s=i.charCodeAt(a+1),s>=56320&&s<=57343)){d+=encodeURIComponent(i[a]+i[a+1]),a++;continue}d+="%EF%BF%BD";continue}d+=encodeURIComponent(i[a])}return d}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",ti=n,ti}var g8=m8();const y8=d8(g8);var ei={},k1={},J1={},Co;function p8(){return Co||(Co=1,Object.defineProperty(J1,"__esModule",{value:!0}),J1.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])),J1}var tn={},Mo;function v8(){return Mo||(Mo=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.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])),tn}var en={},No;function x8(){if(No)return en;No=1,Object.defineProperty(en,"__esModule",{value:!0});var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),e=String.fromCodePoint||function(i){var r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),r+=String.fromCharCode(i),r};function n(i){var r;return i>=55296&&i<=57343||i>1114111?"\uFFFD":e((r=t.get(i))!==null&&r!==void 0?r:i)}return en.default=n,en}var To;function Eo(){return To||(To=1,(function(t){var e=k1&&k1.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=e(p8());t.htmlDecodeTree=n.default;var i=e(v8());t.xmlDecodeTree=i.default;var r=e(x8()),o;(function(h){h[h.HAS_VALUE=32768]="HAS_VALUE",h[h.BRANCH_LENGTH=32512]="BRANCH_LENGTH",h[h.MULTI_BYTE=128]="MULTI_BYTE",h[h.JUMP_TABLE=127]="JUMP_TABLE"})(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47;function a(h){return function(y,p){for(var S="",$=0,b=0;(b=y.indexOf("&",b))>=0;){if(S+=y.slice($,b),$=b,b+=1,y.charCodeAt(b)===35){var N=b+1,M=10,C=y.charCodeAt(N);for((C|32)===120&&(M=16,b+=1,N+=1);(C=y.charCodeAt(++b))>=48&&C<=57||M===16&&(C|32)>=97&&(C|32)<=102;);if(N!==b){var L=y.substring(N,b),g=parseInt(L,M);if(y.charCodeAt(b)===59)b+=1;else if(p)continue;S+=r.default(g),$=b}continue}for(var v=null,w=1,x=0,k=h[x];b<y.length&&(x=c(h,k,x+1,y.charCodeAt(b)),!(x<0));b++,w++)k=h[x],k&o.HAS_VALUE&&(p&&y.charCodeAt(b)!==59?x+=1:(v=k&o.MULTI_BYTE?String.fromCharCode(h[++x],h[++x]):String.fromCharCode(h[++x]),w=0));v!=null&&(S+=v,$=b-w+1)}return S+y.slice($)}}function c(h,m,y,p){if(m<=128)return p===m?y:-1;var S=(m&o.BRANCH_LENGTH)>>8;if(S===0)return-1;if(S===1)return p===h[y]?y+1:-1;var $=m&o.JUMP_TABLE;if($){var b=p-t.JUMP_OFFSET_BASE-$;return b<0||b>S?-1:h[y+b]-1}for(var N=y,M=N+S-1;N<=M;){var C=N+M>>>1,L=h[C];if(L<p)N=C+1;else if(L>p)M=C-1;else return h[C+S]}return-1}t.determineBranch=c;var l=a(n.default),s=a(i.default);function u(h){return l(h,!1)}t.decodeHTML=u;function d(h){return l(h,!0)}t.decodeHTMLStrict=d;function f(h){return s(h,!0)}t.decodeXML=f})(k1)),k1}var Jt={};const b8="&",w8="'",k8=">",A8="<",S8='"',$8={amp:b8,apos:w8,gt:k8,lt:A8,quot:S8};var A1={};const C8="\xC1",M8="\xE1",N8="\u0102",T8="\u0103",E8="\u223E",O8="\u223F",L8="\u223E\u0333",j8="\xC2",P8="\xE2",D8="\xB4",q8="\u0410",B8="\u0430",V8="\xC6",I8="\xE6",R8="\u2061",H8="\u{1D504}",_8="\u{1D51E}",X8="\xC0",Y8="\xE0",z8="\u2135",F8="\u2135",U8="\u0391",G8="\u03B1",W8="\u0100",K8="\u0101",Z8="\u2A3F",Q8="&",J8="&",t5="\u2A55",e5="\u2A53",n5="\u2227",i5="\u2A5C",r5="\u2A58",o5="\u2A5A",s5="\u2220",l5="\u29A4",a5="\u2220",c5="\u29A8",u5="\u29A9",h5="\u29AA",f5="\u29AB",d5="\u29AC",m5="\u29AD",g5="\u29AE",y5="\u29AF",p5="\u2221",v5="\u221F",x5="\u22BE",b5="\u299D",w5="\u2222",k5="\xC5",A5="\u237C",S5="\u0104",$5="\u0105",C5="\u{1D538}",M5="\u{1D552}",N5="\u2A6F",T5="\u2248",E5="\u2A70",O5="\u224A",L5="\u224B",j5="'",P5="\u2061",D5="\u2248",q5="\u224A",B5="\xC5",V5="\xE5",I5="\u{1D49C}",R5="\u{1D4B6}",H5="\u2254",_5="*",X5="\u2248",Y5="\u224D",z5="\xC3",F5="\xE3",U5="\xC4",G5="\xE4",W5="\u2233",K5="\u2A11",Z5="\u224C",Q5="\u03F6",J5="\u2035",t6="\u223D",e6="\u22CD",n6="\u2216",i6="\u2AE7",r6="\u22BD",o6="\u2305",s6="\u2306",l6="\u2305",a6="\u23B5",c6="\u23B6",u6="\u224C",h6="\u0411",f6="\u0431",d6="\u201E",m6="\u2235",g6="\u2235",y6="\u2235",p6="\u29B0",v6="\u03F6",x6="\u212C",b6="\u212C",w6="\u0392",k6="\u03B2",A6="\u2136",S6="\u226C",$6="\u{1D505}",C6="\u{1D51F}",M6="\u22C2",N6="\u25EF",T6="\u22C3",E6="\u2A00",O6="\u2A01",L6="\u2A02",j6="\u2A06",P6="\u2605",D6="\u25BD",q6="\u25B3",B6="\u2A04",V6="\u22C1",I6="\u22C0",R6="\u290D",H6="\u29EB",_6="\u25AA",X6="\u25B4",Y6="\u25BE",z6="\u25C2",F6="\u25B8",U6="\u2423",G6="\u2592",W6="\u2591",K6="\u2593",Z6="\u2588",Q6="=\u20E5",J6="\u2261\u20E5",th="\u2AED",eh="\u2310",nh="\u{1D539}",ih="\u{1D553}",rh="\u22A5",oh="\u22A5",sh="\u22C8",lh="\u29C9",ah="\u2510",ch="\u2555",uh="\u2556",hh="\u2557",fh="\u250C",dh="\u2552",mh="\u2553",gh="\u2554",yh="\u2500",ph="\u2550",vh="\u252C",xh="\u2564",bh="\u2565",wh="\u2566",kh="\u2534",Ah="\u2567",Sh="\u2568",$h="\u2569",Ch="\u229F",Mh="\u229E",Nh="\u22A0",Th="\u2518",Eh="\u255B",Oh="\u255C",Lh="\u255D",jh="\u2514",Ph="\u2558",Dh="\u2559",qh="\u255A",Bh="\u2502",Vh="\u2551",Ih="\u253C",Rh="\u256A",Hh="\u256B",_h="\u256C",Xh="\u2524",Yh="\u2561",zh="\u2562",Fh="\u2563",Uh="\u251C",Gh="\u255E",Wh="\u255F",Kh="\u2560",Zh="\u2035",Qh="\u02D8",Jh="\u02D8",t7="\xA6",e7="\u{1D4B7}",n7="\u212C",i7="\u204F",r7="\u223D",o7="\u22CD",s7="\u29C5",l7="\\",a7="\u27C8",c7="\u2022",u7="\u2022",h7="\u224E",f7="\u2AAE",d7="\u224F",m7="\u224E",g7="\u224F",y7="\u0106",p7="\u0107",v7="\u2A44",x7="\u2A49",b7="\u2A4B",w7="\u2229",k7="\u22D2",A7="\u2A47",S7="\u2A40",$7="\u2145",C7="\u2229\uFE00",M7="\u2041",N7="\u02C7",T7="\u212D",E7="\u2A4D",O7="\u010C",L7="\u010D",j7="\xC7",P7="\xE7",D7="\u0108",q7="\u0109",B7="\u2230",V7="\u2A4C",I7="\u2A50",R7="\u010A",H7="\u010B",_7="\xB8",X7="\xB8",Y7="\u29B2",z7="\xA2",F7="\xB7",U7="\xB7",G7="\u{1D520}",W7="\u212D",K7="\u0427",Z7="\u0447",Q7="\u2713",J7="\u2713",tf="\u03A7",ef="\u03C7",nf="\u02C6",rf="\u2257",of="\u21BA",sf="\u21BB",lf="\u229B",af="\u229A",cf="\u229D",uf="\u2299",hf="\xAE",ff="\u24C8",df="\u2296",mf="\u2295",gf="\u2297",yf="\u25CB",pf="\u29C3",vf="\u2257",xf="\u2A10",bf="\u2AEF",wf="\u29C2",kf="\u2232",Af="\u201D",Sf="\u2019",$f="\u2663",Cf="\u2663",Mf=":",Nf="\u2237",Tf="\u2A74",Ef="\u2254",Of="\u2254",Lf=",",jf="@",Pf="\u2201",Df="\u2218",qf="\u2201",Bf="\u2102",Vf="\u2245",If="\u2A6D",Rf="\u2261",Hf="\u222E",_f="\u222F",Xf="\u222E",Yf="\u{1D554}",zf="\u2102",Ff="\u2210",Uf="\u2210",Gf="\xA9",Wf="\xA9",Kf="\u2117",Zf="\u2233",Qf="\u21B5",Jf="\u2717",t3="\u2A2F",e3="\u{1D49E}",n3="\u{1D4B8}",i3="\u2ACF",r3="\u2AD1",o3="\u2AD0",s3="\u2AD2",l3="\u22EF",a3="\u2938",c3="\u2935",u3="\u22DE",h3="\u22DF",f3="\u21B6",d3="\u293D",m3="\u2A48",g3="\u2A46",y3="\u224D",p3="\u222A",v3="\u22D3",x3="\u2A4A",b3="\u228D",w3="\u2A45",k3="\u222A\uFE00",A3="\u21B7",S3="\u293C",$3="\u22DE",C3="\u22DF",M3="\u22CE",N3="\u22CF",T3="\xA4",E3="\u21B6",O3="\u21B7",L3="\u22CE",j3="\u22CF",P3="\u2232",D3="\u2231",q3="\u232D",B3="\u2020",V3="\u2021",I3="\u2138",R3="\u2193",H3="\u21A1",_3="\u21D3",X3="\u2010",Y3="\u2AE4",z3="\u22A3",F3="\u290F",U3="\u02DD",G3="\u010E",W3="\u010F",K3="\u0414",Z3="\u0434",Q3="\u2021",J3="\u21CA",td="\u2145",ed="\u2146",nd="\u2911",id="\u2A77",rd="\xB0",od="\u2207",sd="\u0394",ld="\u03B4",ad="\u29B1",cd="\u297F",ud="\u{1D507}",hd="\u{1D521}",fd="\u2965",dd="\u21C3",md="\u21C2",gd="\xB4",yd="\u02D9",pd="\u02DD",vd="`",xd="\u02DC",bd="\u22C4",wd="\u22C4",kd="\u22C4",Ad="\u2666",Sd="\u2666",$d="\xA8",Cd="\u2146",Md="\u03DD",Nd="\u22F2",Td="\xF7",Ed="\xF7",Od="\u22C7",Ld="\u22C7",jd="\u0402",Pd="\u0452",Dd="\u231E",qd="\u230D",Bd="$",Vd="\u{1D53B}",Id="\u{1D555}",Rd="\xA8",Hd="\u02D9",_d="\u20DC",Xd="\u2250",Yd="\u2251",zd="\u2250",Fd="\u2238",Ud="\u2214",Gd="\u22A1",Wd="\u2306",Kd="\u222F",Zd="\xA8",Qd="\u21D3",Jd="\u21D0",tm="\u21D4",em="\u2AE4",nm="\u27F8",im="\u27FA",rm="\u27F9",om="\u21D2",sm="\u22A8",lm="\u21D1",am="\u21D5",cm="\u2225",um="\u2913",hm="\u2193",fm="\u2193",dm="\u21D3",mm="\u21F5",gm="\u0311",ym="\u21CA",pm="\u21C3",vm="\u21C2",xm="\u2950",bm="\u295E",wm="\u2956",km="\u21BD",Am="\u295F",Sm="\u2957",$m="\u21C1",Cm="\u21A7",Mm="\u22A4",Nm="\u2910",Tm="\u231F",Em="\u230C",Om="\u{1D49F}",Lm="\u{1D4B9}",jm="\u0405",Pm="\u0455",Dm="\u29F6",qm="\u0110",Bm="\u0111",Vm="\u22F1",Im="\u25BF",Rm="\u25BE",Hm="\u21F5",_m="\u296F",Xm="\u29A6",Ym="\u040F",zm="\u045F",Fm="\u27FF",Um="\xC9",Gm="\xE9",Wm="\u2A6E",Km="\u011A",Zm="\u011B",Qm="\xCA",Jm="\xEA",t4="\u2256",e4="\u2255",n4="\u042D",i4="\u044D",r4="\u2A77",o4="\u0116",s4="\u0117",l4="\u2251",a4="\u2147",c4="\u2252",u4="\u{1D508}",h4="\u{1D522}",f4="\u2A9A",d4="\xC8",m4="\xE8",g4="\u2A96",y4="\u2A98",p4="\u2A99",v4="\u2208",x4="\u23E7",b4="\u2113",w4="\u2A95",k4="\u2A97",A4="\u0112",S4="\u0113",$4="\u2205",C4="\u2205",M4="\u25FB",N4="\u2205",T4="\u25AB",E4="\u2004",O4="\u2005",L4="\u2003",j4="\u014A",P4="\u014B",D4="\u2002",q4="\u0118",B4="\u0119",V4="\u{1D53C}",I4="\u{1D556}",R4="\u22D5",H4="\u29E3",_4="\u2A71",X4="\u03B5",Y4="\u0395",z4="\u03B5",F4="\u03F5",U4="\u2256",G4="\u2255",W4="\u2242",K4="\u2A96",Z4="\u2A95",Q4="\u2A75",J4="=",tg="\u2242",eg="\u225F",ng="\u21CC",ig="\u2261",rg="\u2A78",og="\u29E5",sg="\u2971",lg="\u2253",ag="\u212F",cg="\u2130",ug="\u2250",hg="\u2A73",fg="\u2242",dg="\u0397",mg="\u03B7",gg="\xD0",yg="\xF0",pg="\xCB",vg="\xEB",xg="\u20AC",bg="!",wg="\u2203",kg="\u2203",Ag="\u2130",Sg="\u2147",$g="\u2147",Cg="\u2252",Mg="\u0424",Ng="\u0444",Tg="\u2640",Eg="\uFB03",Og="\uFB00",Lg="\uFB04",jg="\u{1D509}",Pg="\u{1D523}",Dg="\uFB01",qg="\u25FC",Bg="\u25AA",Vg="fj",Ig="\u266D",Rg="\uFB02",Hg="\u25B1",_g="\u0192",Xg="\u{1D53D}",Yg="\u{1D557}",zg="\u2200",Fg="\u2200",Ug="\u22D4",Gg="\u2AD9",Wg="\u2131",Kg="\u2A0D",Zg="\xBD",Qg="\u2153",Jg="\xBC",ty="\u2155",ey="\u2159",ny="\u215B",iy="\u2154",ry="\u2156",oy="\xBE",sy="\u2157",ly="\u215C",ay="\u2158",cy="\u215A",uy="\u215D",hy="\u215E",fy="\u2044",dy="\u2322",my="\u{1D4BB}",gy="\u2131",yy="\u01F5",py="\u0393",vy="\u03B3",xy="\u03DC",by="\u03DD",wy="\u2A86",ky="\u011E",Ay="\u011F",Sy="\u0122",$y="\u011C",Cy="\u011D",My="\u0413",Ny="\u0433",Ty="\u0120",Ey="\u0121",Oy="\u2265",Ly="\u2267",jy="\u2A8C",Py="\u22DB",Dy="\u2265",qy="\u2267",By="\u2A7E",Vy="\u2AA9",Iy="\u2A7E",Ry="\u2A80",Hy="\u2A82",_y="\u2A84",Xy="\u22DB\uFE00",Yy="\u2A94",zy="\u{1D50A}",Fy="\u{1D524}",Uy="\u226B",Gy="\u22D9",Wy="\u22D9",Ky="\u2137",Zy="\u0403",Qy="\u0453",Jy="\u2AA5",tp="\u2277",ep="\u2A92",np="\u2AA4",ip="\u2A8A",rp="\u2A8A",op="\u2A88",sp="\u2269",lp="\u2A88",ap="\u2269",cp="\u22E7",up="\u{1D53E}",hp="\u{1D558}",fp="`",dp="\u2265",mp="\u22DB",gp="\u2267",yp="\u2AA2",pp="\u2277",vp="\u2A7E",xp="\u2273",bp="\u{1D4A2}",wp="\u210A",kp="\u2273",Ap="\u2A8E",Sp="\u2A90",$p="\u2AA7",Cp="\u2A7A",Mp=">",Np=">",Tp="\u226B",Ep="\u22D7",Op="\u2995",Lp="\u2A7C",jp="\u2A86",Pp="\u2978",Dp="\u22D7",qp="\u22DB",Bp="\u2A8C",Vp="\u2277",Ip="\u2273",Rp="\u2269\uFE00",Hp="\u2269\uFE00",_p="\u02C7",Xp="\u200A",Yp="\xBD",zp="\u210B",Fp="\u042A",Up="\u044A",Gp="\u2948",Wp="\u2194",Kp="\u21D4",Zp="\u21AD",Qp="^",Jp="\u210F",tv="\u0124",ev="\u0125",nv="\u2665",iv="\u2665",rv="\u2026",ov="\u22B9",sv="\u{1D525}",lv="\u210C",av="\u210B",cv="\u2925",uv="\u2926",hv="\u21FF",fv="\u223B",dv="\u21A9",mv="\u21AA",gv="\u{1D559}",yv="\u210D",pv="\u2015",vv="\u2500",xv="\u{1D4BD}",bv="\u210B",wv="\u210F",kv="\u0126",Av="\u0127",Sv="\u224E",$v="\u224F",Cv="\u2043",Mv="\u2010",Nv="\xCD",Tv="\xED",Ev="\u2063",Ov="\xCE",Lv="\xEE",jv="\u0418",Pv="\u0438",Dv="\u0130",qv="\u0415",Bv="\u0435",Vv="\xA1",Iv="\u21D4",Rv="\u{1D526}",Hv="\u2111",_v="\xCC",Xv="\xEC",Yv="\u2148",zv="\u2A0C",Fv="\u222D",Uv="\u29DC",Gv="\u2129",Wv="\u0132",Kv="\u0133",Zv="\u012A",Qv="\u012B",Jv="\u2111",tx="\u2148",ex="\u2110",nx="\u2111",ix="\u0131",rx="\u2111",ox="\u22B7",sx="\u01B5",lx="\u21D2",ax="\u2105",cx="\u221E",ux="\u29DD",hx="\u0131",fx="\u22BA",dx="\u222B",mx="\u222C",gx="\u2124",yx="\u222B",px="\u22BA",vx="\u22C2",xx="\u2A17",bx="\u2A3C",wx="\u2063",kx="\u2062",Ax="\u0401",Sx="\u0451",$x="\u012E",Cx="\u012F",Mx="\u{1D540}",Nx="\u{1D55A}",Tx="\u0399",Ex="\u03B9",Ox="\u2A3C",Lx="\xBF",jx="\u{1D4BE}",Px="\u2110",Dx="\u2208",qx="\u22F5",Bx="\u22F9",Vx="\u22F4",Ix="\u22F3",Rx="\u2208",Hx="\u2062",_x="\u0128",Xx="\u0129",Yx="\u0406",zx="\u0456",Fx="\xCF",Ux="\xEF",Gx="\u0134",Wx="\u0135",Kx="\u0419",Zx="\u0439",Qx="\u{1D50D}",Jx="\u{1D527}",tb="\u0237",eb="\u{1D541}",nb="\u{1D55B}",ib="\u{1D4A5}",rb="\u{1D4BF}",ob="\u0408",sb="\u0458",lb="\u0404",ab="\u0454",cb="\u039A",ub="\u03BA",hb="\u03F0",fb="\u0136",db="\u0137",mb="\u041A",gb="\u043A",yb="\u{1D50E}",pb="\u{1D528}",vb="\u0138",xb="\u0425",bb="\u0445",wb="\u040C",kb="\u045C",Ab="\u{1D542}",Sb="\u{1D55C}",$b="\u{1D4A6}",Cb="\u{1D4C0}",Mb="\u21DA",Nb="\u0139",Tb="\u013A",Eb="\u29B4",Ob="\u2112",Lb="\u039B",jb="\u03BB",Pb="\u27E8",Db="\u27EA",qb="\u2991",Bb="\u27E8",Vb="\u2A85",Ib="\u2112",Rb="\xAB",Hb="\u21E4",_b="\u291F",Xb="\u2190",Yb="\u219E",zb="\u21D0",Fb="\u291D",Ub="\u21A9",Gb="\u21AB",Wb="\u2939",Kb="\u2973",Zb="\u21A2",Qb="\u2919",Jb="\u291B",tw="\u2AAB",ew="\u2AAD",nw="\u2AAD\uFE00",iw="\u290C",rw="\u290E",ow="\u2772",sw="{",lw="[",aw="\u298B",cw="\u298F",uw="\u298D",hw="\u013D",fw="\u013E",dw="\u013B",mw="\u013C",gw="\u2308",yw="{",pw="\u041B",vw="\u043B",xw="\u2936",bw="\u201C",ww="\u201E",kw="\u2967",Aw="\u294B",Sw="\u21B2",$w="\u2264",Cw="\u2266",Mw="\u27E8",Nw="\u21E4",Tw="\u2190",Ew="\u2190",Ow="\u21D0",Lw="\u21C6",jw="\u21A2",Pw="\u2308",Dw="\u27E6",qw="\u2961",Bw="\u2959",Vw="\u21C3",Iw="\u230A",Rw="\u21BD",Hw="\u21BC",_w="\u21C7",Xw="\u2194",Yw="\u2194",zw="\u21D4",Fw="\u21C6",Uw="\u21CB",Gw="\u21AD",Ww="\u294E",Kw="\u21A4",Zw="\u22A3",Qw="\u295A",Jw="\u22CB",tk="\u29CF",ek="\u22B2",nk="\u22B4",ik="\u2951",rk="\u2960",ok="\u2958",sk="\u21BF",lk="\u2952",ak="\u21BC",ck="\u2A8B",uk="\u22DA",hk="\u2264",fk="\u2266",dk="\u2A7D",mk="\u2AA8",gk="\u2A7D",yk="\u2A7F",pk="\u2A81",vk="\u2A83",xk="\u22DA\uFE00",bk="\u2A93",wk="\u2A85",kk="\u22D6",Ak="\u22DA",Sk="\u2A8B",$k="\u22DA",Ck="\u2266",Mk="\u2276",Nk="\u2276",Tk="\u2AA1",Ek="\u2272",Ok="\u2A7D",Lk="\u2272",jk="\u297C",Pk="\u230A",Dk="\u{1D50F}",qk="\u{1D529}",Bk="\u2276",Vk="\u2A91",Ik="\u2962",Rk="\u21BD",Hk="\u21BC",_k="\u296A",Xk="\u2584",Yk="\u0409",zk="\u0459",Fk="\u21C7",Uk="\u226A",Gk="\u22D8",Wk="\u231E",Kk="\u21DA",Zk="\u296B",Qk="\u25FA",Jk="\u013F",tA="\u0140",eA="\u23B0",nA="\u23B0",iA="\u2A89",rA="\u2A89",oA="\u2A87",sA="\u2268",lA="\u2A87",aA="\u2268",cA="\u22E6",uA="\u27EC",hA="\u21FD",fA="\u27E6",dA="\u27F5",mA="\u27F5",gA="\u27F8",yA="\u27F7",pA="\u27F7",vA="\u27FA",xA="\u27FC",bA="\u27F6",wA="\u27F6",kA="\u27F9",AA="\u21AB",SA="\u21AC",$A="\u2985",CA="\u{1D543}",MA="\u{1D55D}",NA="\u2A2D",TA="\u2A34",EA="\u2217",OA="_",LA="\u2199",jA="\u2198",PA="\u25CA",DA="\u25CA",qA="\u29EB",BA="(",VA="\u2993",IA="\u21C6",RA="\u231F",HA="\u21CB",_A="\u296D",XA="\u200E",YA="\u22BF",zA="\u2039",FA="\u{1D4C1}",UA="\u2112",GA="\u21B0",WA="\u21B0",KA="\u2272",ZA="\u2A8D",QA="\u2A8F",JA="[",tS="\u2018",eS="\u201A",nS="\u0141",iS="\u0142",rS="\u2AA6",oS="\u2A79",sS="<",lS="<",aS="\u226A",cS="\u22D6",uS="\u22CB",hS="\u22C9",fS="\u2976",dS="\u2A7B",mS="\u25C3",gS="\u22B4",yS="\u25C2",pS="\u2996",vS="\u294A",xS="\u2966",bS="\u2268\uFE00",wS="\u2268\uFE00",kS="\xAF",AS="\u2642",SS="\u2720",$S="\u2720",CS="\u21A6",MS="\u21A6",NS="\u21A7",TS="\u21A4",ES="\u21A5",OS="\u25AE",LS="\u2A29",jS="\u041C",PS="\u043C",DS="\u2014",qS="\u223A",BS="\u2221",VS="\u205F",IS="\u2133",RS="\u{1D510}",HS="\u{1D52A}",_S="\u2127",XS="\xB5",YS="*",zS="\u2AF0",FS="\u2223",US="\xB7",GS="\u229F",WS="\u2212",KS="\u2238",ZS="\u2A2A",QS="\u2213",JS="\u2ADB",t$="\u2026",e$="\u2213",n$="\u22A7",i$="\u{1D544}",r$="\u{1D55E}",o$="\u2213",s$="\u{1D4C2}",l$="\u2133",a$="\u223E",c$="\u039C",u$="\u03BC",h$="\u22B8",f$="\u22B8",d$="\u2207",m$="\u0143",g$="\u0144",y$="\u2220\u20D2",p$="\u2249",v$="\u2A70\u0338",x$="\u224B\u0338",b$="\u0149",w$="\u2249",k$="\u266E",A$="\u2115",S$="\u266E",$$="\xA0",C$="\u224E\u0338",M$="\u224F\u0338",N$="\u2A43",T$="\u0147",E$="\u0148",O$="\u0145",L$="\u0146",j$="\u2247",P$="\u2A6D\u0338",D$="\u2A42",q$="\u041D",B$="\u043D",V$="\u2013",I$="\u2924",R$="\u2197",H$="\u21D7",_$="\u2197",X$="\u2260",Y$="\u2250\u0338",z$="\u200B",F$="\u200B",U$="\u200B",G$="\u200B",W$="\u2262",K$="\u2928",Z$="\u2242\u0338",Q$="\u226B",J$="\u226A",tC=`
|
|
3
|
+
`,eC="\u2204",nC="\u2204",iC="\u{1D511}",rC="\u{1D52B}",oC="\u2267\u0338",sC="\u2271",lC="\u2271",aC="\u2267\u0338",cC="\u2A7E\u0338",uC="\u2A7E\u0338",hC="\u22D9\u0338",fC="\u2275",dC="\u226B\u20D2",mC="\u226F",gC="\u226F",yC="\u226B\u0338",pC="\u21AE",vC="\u21CE",xC="\u2AF2",bC="\u220B",wC="\u22FC",kC="\u22FA",AC="\u220B",SC="\u040A",$C="\u045A",CC="\u219A",MC="\u21CD",NC="\u2025",TC="\u2266\u0338",EC="\u2270",OC="\u219A",LC="\u21CD",jC="\u21AE",PC="\u21CE",DC="\u2270",qC="\u2266\u0338",BC="\u2A7D\u0338",VC="\u2A7D\u0338",IC="\u226E",RC="\u22D8\u0338",HC="\u2274",_C="\u226A\u20D2",XC="\u226E",YC="\u22EA",zC="\u22EC",FC="\u226A\u0338",UC="\u2224",GC="\u2060",WC="\xA0",KC="\u{1D55F}",ZC="\u2115",QC="\u2AEC",JC="\xAC",tM="\u2262",eM="\u226D",nM="\u2226",iM="\u2209",rM="\u2260",oM="\u2242\u0338",sM="\u2204",lM="\u226F",aM="\u2271",cM="\u2267\u0338",uM="\u226B\u0338",hM="\u2279",fM="\u2A7E\u0338",dM="\u2275",mM="\u224E\u0338",gM="\u224F\u0338",yM="\u2209",pM="\u22F5\u0338",vM="\u22F9\u0338",xM="\u2209",bM="\u22F7",wM="\u22F6",kM="\u29CF\u0338",AM="\u22EA",SM="\u22EC",$M="\u226E",CM="\u2270",MM="\u2278",NM="\u226A\u0338",TM="\u2A7D\u0338",EM="\u2274",OM="\u2AA2\u0338",LM="\u2AA1\u0338",jM="\u220C",PM="\u220C",DM="\u22FE",qM="\u22FD",BM="\u2280",VM="\u2AAF\u0338",IM="\u22E0",RM="\u220C",HM="\u29D0\u0338",_M="\u22EB",XM="\u22ED",YM="\u228F\u0338",zM="\u22E2",FM="\u2290\u0338",UM="\u22E3",GM="\u2282\u20D2",WM="\u2288",KM="\u2281",ZM="\u2AB0\u0338",QM="\u22E1",JM="\u227F\u0338",tN="\u2283\u20D2",eN="\u2289",nN="\u2241",iN="\u2244",rN="\u2247",oN="\u2249",sN="\u2224",lN="\u2226",aN="\u2226",cN="\u2AFD\u20E5",uN="\u2202\u0338",hN="\u2A14",fN="\u2280",dN="\u22E0",mN="\u2280",gN="\u2AAF\u0338",yN="\u2AAF\u0338",pN="\u2933\u0338",vN="\u219B",xN="\u21CF",bN="\u219D\u0338",wN="\u219B",kN="\u21CF",AN="\u22EB",SN="\u22ED",$N="\u2281",CN="\u22E1",MN="\u2AB0\u0338",NN="\u{1D4A9}",TN="\u{1D4C3}",EN="\u2224",ON="\u2226",LN="\u2241",jN="\u2244",PN="\u2244",DN="\u2224",qN="\u2226",BN="\u22E2",VN="\u22E3",IN="\u2284",RN="\u2AC5\u0338",HN="\u2288",_N="\u2282\u20D2",XN="\u2288",YN="\u2AC5\u0338",zN="\u2281",FN="\u2AB0\u0338",UN="\u2285",GN="\u2AC6\u0338",WN="\u2289",KN="\u2283\u20D2",ZN="\u2289",QN="\u2AC6\u0338",JN="\u2279",tT="\xD1",eT="\xF1",nT="\u2278",iT="\u22EA",rT="\u22EC",oT="\u22EB",sT="\u22ED",lT="\u039D",aT="\u03BD",cT="#",uT="\u2116",hT="\u2007",fT="\u224D\u20D2",dT="\u22AC",mT="\u22AD",gT="\u22AE",yT="\u22AF",pT="\u2265\u20D2",vT=">\u20D2",xT="\u2904",bT="\u29DE",wT="\u2902",kT="\u2264\u20D2",AT="<\u20D2",ST="\u22B4\u20D2",$T="\u2903",CT="\u22B5\u20D2",MT="\u223C\u20D2",NT="\u2923",TT="\u2196",ET="\u21D6",OT="\u2196",LT="\u2927",jT="\xD3",PT="\xF3",DT="\u229B",qT="\xD4",BT="\xF4",VT="\u229A",IT="\u041E",RT="\u043E",HT="\u229D",_T="\u0150",XT="\u0151",YT="\u2A38",zT="\u2299",FT="\u29BC",UT="\u0152",GT="\u0153",WT="\u29BF",KT="\u{1D512}",ZT="\u{1D52C}",QT="\u02DB",JT="\xD2",tE="\xF2",eE="\u29C1",nE="\u29B5",iE="\u03A9",rE="\u222E",oE="\u21BA",sE="\u29BE",lE="\u29BB",aE="\u203E",cE="\u29C0",uE="\u014C",hE="\u014D",fE="\u03A9",dE="\u03C9",mE="\u039F",gE="\u03BF",yE="\u29B6",pE="\u2296",vE="\u{1D546}",xE="\u{1D560}",bE="\u29B7",wE="\u201C",kE="\u2018",AE="\u29B9",SE="\u2295",$E="\u21BB",CE="\u2A54",ME="\u2228",NE="\u2A5D",TE="\u2134",EE="\u2134",OE="\xAA",LE="\xBA",jE="\u22B6",PE="\u2A56",DE="\u2A57",qE="\u2A5B",BE="\u24C8",VE="\u{1D4AA}",IE="\u2134",RE="\xD8",HE="\xF8",_E="\u2298",XE="\xD5",YE="\xF5",zE="\u2A36",FE="\u2A37",UE="\u2297",GE="\xD6",WE="\xF6",KE="\u233D",ZE="\u203E",QE="\u23DE",JE="\u23B4",tO="\u23DC",eO="\xB6",nO="\u2225",iO="\u2225",rO="\u2AF3",oO="\u2AFD",sO="\u2202",lO="\u2202",aO="\u041F",cO="\u043F",uO="%",hO=".",fO="\u2030",dO="\u22A5",mO="\u2031",gO="\u{1D513}",yO="\u{1D52D}",pO="\u03A6",vO="\u03C6",xO="\u03D5",bO="\u2133",wO="\u260E",kO="\u03A0",AO="\u03C0",SO="\u22D4",$O="\u03D6",CO="\u210F",MO="\u210E",NO="\u210F",TO="\u2A23",EO="\u229E",OO="\u2A22",LO="+",jO="\u2214",PO="\u2A25",DO="\u2A72",qO="\xB1",BO="\xB1",VO="\u2A26",IO="\u2A27",RO="\xB1",HO="\u210C",_O="\u2A15",XO="\u{1D561}",YO="\u2119",zO="\xA3",FO="\u2AB7",UO="\u2ABB",GO="\u227A",WO="\u227C",KO="\u2AB7",ZO="\u227A",QO="\u227C",JO="\u227A",tL="\u2AAF",eL="\u227C",nL="\u227E",iL="\u2AAF",rL="\u2AB9",oL="\u2AB5",sL="\u22E8",lL="\u2AAF",aL="\u2AB3",cL="\u227E",uL="\u2032",hL="\u2033",fL="\u2119",dL="\u2AB9",mL="\u2AB5",gL="\u22E8",yL="\u220F",pL="\u220F",vL="\u232E",xL="\u2312",bL="\u2313",wL="\u221D",kL="\u221D",AL="\u2237",SL="\u221D",$L="\u227E",CL="\u22B0",ML="\u{1D4AB}",NL="\u{1D4C5}",TL="\u03A8",EL="\u03C8",OL="\u2008",LL="\u{1D514}",jL="\u{1D52E}",PL="\u2A0C",DL="\u{1D562}",qL="\u211A",BL="\u2057",VL="\u{1D4AC}",IL="\u{1D4C6}",RL="\u210D",HL="\u2A16",_L="?",XL="\u225F",YL='"',zL='"',FL="\u21DB",UL="\u223D\u0331",GL="\u0154",WL="\u0155",KL="\u221A",ZL="\u29B3",QL="\u27E9",JL="\u27EB",tj="\u2992",ej="\u29A5",nj="\u27E9",ij="\xBB",rj="\u2975",oj="\u21E5",sj="\u2920",lj="\u2933",aj="\u2192",cj="\u21A0",uj="\u21D2",hj="\u291E",fj="\u21AA",dj="\u21AC",mj="\u2945",gj="\u2974",yj="\u2916",pj="\u21A3",vj="\u219D",xj="\u291A",bj="\u291C",wj="\u2236",kj="\u211A",Aj="\u290D",Sj="\u290F",$j="\u2910",Cj="\u2773",Mj="}",Nj="]",Tj="\u298C",Ej="\u298E",Oj="\u2990",Lj="\u0158",jj="\u0159",Pj="\u0156",Dj="\u0157",qj="\u2309",Bj="}",Vj="\u0420",Ij="\u0440",Rj="\u2937",Hj="\u2969",_j="\u201D",Xj="\u201D",Yj="\u21B3",zj="\u211C",Fj="\u211B",Uj="\u211C",Gj="\u211D",Wj="\u211C",Kj="\u25AD",Zj="\xAE",Qj="\xAE",Jj="\u220B",tP="\u21CB",eP="\u296F",nP="\u297D",iP="\u230B",rP="\u{1D52F}",oP="\u211C",sP="\u2964",lP="\u21C1",aP="\u21C0",cP="\u296C",uP="\u03A1",hP="\u03C1",fP="\u03F1",dP="\u27E9",mP="\u21E5",gP="\u2192",yP="\u2192",pP="\u21D2",vP="\u21C4",xP="\u21A3",bP="\u2309",wP="\u27E7",kP="\u295D",AP="\u2955",SP="\u21C2",$P="\u230B",CP="\u21C1",MP="\u21C0",NP="\u21C4",TP="\u21CC",EP="\u21C9",OP="\u219D",LP="\u21A6",jP="\u22A2",PP="\u295B",DP="\u22CC",qP="\u29D0",BP="\u22B3",VP="\u22B5",IP="\u294F",RP="\u295C",HP="\u2954",_P="\u21BE",XP="\u2953",YP="\u21C0",zP="\u02DA",FP="\u2253",UP="\u21C4",GP="\u21CC",WP="\u200F",KP="\u23B1",ZP="\u23B1",QP="\u2AEE",JP="\u27ED",tD="\u21FE",eD="\u27E7",nD="\u2986",iD="\u{1D563}",rD="\u211D",oD="\u2A2E",sD="\u2A35",lD="\u2970",aD=")",cD="\u2994",uD="\u2A12",hD="\u21C9",fD="\u21DB",dD="\u203A",mD="\u{1D4C7}",gD="\u211B",yD="\u21B1",pD="\u21B1",vD="]",xD="\u2019",bD="\u2019",wD="\u22CC",kD="\u22CA",AD="\u25B9",SD="\u22B5",$D="\u25B8",CD="\u29CE",MD="\u29F4",ND="\u2968",TD="\u211E",ED="\u015A",OD="\u015B",LD="\u201A",jD="\u2AB8",PD="\u0160",DD="\u0161",qD="\u2ABC",BD="\u227B",VD="\u227D",ID="\u2AB0",RD="\u2AB4",HD="\u015E",_D="\u015F",XD="\u015C",YD="\u015D",zD="\u2ABA",FD="\u2AB6",UD="\u22E9",GD="\u2A13",WD="\u227F",KD="\u0421",ZD="\u0441",QD="\u22A1",JD="\u22C5",tq="\u2A66",eq="\u2925",nq="\u2198",iq="\u21D8",rq="\u2198",oq="\xA7",sq=";",lq="\u2929",aq="\u2216",cq="\u2216",uq="\u2736",hq="\u{1D516}",fq="\u{1D530}",dq="\u2322",mq="\u266F",gq="\u0429",yq="\u0449",pq="\u0428",vq="\u0448",xq="\u2193",bq="\u2190",wq="\u2223",kq="\u2225",Aq="\u2192",Sq="\u2191",$q="\xAD",Cq="\u03A3",Mq="\u03C3",Nq="\u03C2",Tq="\u03C2",Eq="\u223C",Oq="\u2A6A",Lq="\u2243",jq="\u2243",Pq="\u2A9E",Dq="\u2AA0",qq="\u2A9D",Bq="\u2A9F",Vq="\u2246",Iq="\u2A24",Rq="\u2972",Hq="\u2190",_q="\u2218",Xq="\u2216",Yq="\u2A33",zq="\u29E4",Fq="\u2223",Uq="\u2323",Gq="\u2AAA",Wq="\u2AAC",Kq="\u2AAC\uFE00",Zq="\u042C",Qq="\u044C",Jq="\u233F",tB="\u29C4",eB="/",nB="\u{1D54A}",iB="\u{1D564}",rB="\u2660",oB="\u2660",sB="\u2225",lB="\u2293",aB="\u2293\uFE00",cB="\u2294",uB="\u2294\uFE00",hB="\u221A",fB="\u228F",dB="\u2291",mB="\u228F",gB="\u2291",yB="\u2290",pB="\u2292",vB="\u2290",xB="\u2292",bB="\u25A1",wB="\u25A1",kB="\u2293",AB="\u228F",SB="\u2291",$B="\u2290",CB="\u2292",MB="\u2294",NB="\u25AA",TB="\u25A1",EB="\u25AA",OB="\u2192",LB="\u{1D4AE}",jB="\u{1D4C8}",PB="\u2216",DB="\u2323",qB="\u22C6",BB="\u22C6",VB="\u2606",IB="\u2605",RB="\u03F5",HB="\u03D5",_B="\xAF",XB="\u2282",YB="\u22D0",zB="\u2ABD",FB="\u2AC5",UB="\u2286",GB="\u2AC3",WB="\u2AC1",KB="\u2ACB",ZB="\u228A",QB="\u2ABF",JB="\u2979",tV="\u2282",eV="\u22D0",nV="\u2286",iV="\u2AC5",rV="\u2286",oV="\u228A",sV="\u2ACB",lV="\u2AC7",aV="\u2AD5",cV="\u2AD3",uV="\u2AB8",hV="\u227B",fV="\u227D",dV="\u227B",mV="\u2AB0",gV="\u227D",yV="\u227F",pV="\u2AB0",vV="\u2ABA",xV="\u2AB6",bV="\u22E9",wV="\u227F",kV="\u220B",AV="\u2211",SV="\u2211",$V="\u266A",CV="\xB9",MV="\xB2",NV="\xB3",TV="\u2283",EV="\u22D1",OV="\u2ABE",LV="\u2AD8",jV="\u2AC6",PV="\u2287",DV="\u2AC4",qV="\u2283",BV="\u2287",VV="\u27C9",IV="\u2AD7",RV="\u297B",HV="\u2AC2",_V="\u2ACC",XV="\u228B",YV="\u2AC0",zV="\u2283",FV="\u22D1",UV="\u2287",GV="\u2AC6",WV="\u228B",KV="\u2ACC",ZV="\u2AC8",QV="\u2AD4",JV="\u2AD6",tI="\u2926",eI="\u2199",nI="\u21D9",iI="\u2199",rI="\u292A",oI="\xDF",sI=" ",lI="\u2316",aI="\u03A4",cI="\u03C4",uI="\u23B4",hI="\u0164",fI="\u0165",dI="\u0162",mI="\u0163",gI="\u0422",yI="\u0442",pI="\u20DB",vI="\u2315",xI="\u{1D517}",bI="\u{1D531}",wI="\u2234",kI="\u2234",AI="\u2234",SI="\u0398",$I="\u03B8",CI="\u03D1",MI="\u03D1",NI="\u2248",TI="\u223C",EI="\u205F\u200A",OI="\u2009",LI="\u2009",jI="\u2248",PI="\u223C",DI="\xDE",qI="\xFE",BI="\u02DC",VI="\u223C",II="\u2243",RI="\u2245",HI="\u2248",_I="\u2A31",XI="\u22A0",YI="\xD7",zI="\u2A30",FI="\u222D",UI="\u2928",GI="\u2336",WI="\u2AF1",KI="\u22A4",ZI="\u{1D54B}",QI="\u{1D565}",JI="\u2ADA",tR="\u2929",eR="\u2034",nR="\u2122",iR="\u2122",rR="\u25B5",oR="\u25BF",sR="\u25C3",lR="\u22B4",aR="\u225C",cR="\u25B9",uR="\u22B5",hR="\u25EC",fR="\u225C",dR="\u2A3A",mR="\u20DB",gR="\u2A39",yR="\u29CD",pR="\u2A3B",vR="\u23E2",xR="\u{1D4AF}",bR="\u{1D4C9}",wR="\u0426",kR="\u0446",AR="\u040B",SR="\u045B",$R="\u0166",CR="\u0167",MR="\u226C",NR="\u219E",TR="\u21A0",ER="\xDA",OR="\xFA",LR="\u2191",jR="\u219F",PR="\u21D1",DR="\u2949",qR="\u040E",BR="\u045E",VR="\u016C",IR="\u016D",RR="\xDB",HR="\xFB",_R="\u0423",XR="\u0443",YR="\u21C5",zR="\u0170",FR="\u0171",UR="\u296E",GR="\u297E",WR="\u{1D518}",KR="\u{1D532}",ZR="\xD9",QR="\xF9",JR="\u2963",tH="\u21BF",eH="\u21BE",nH="\u2580",iH="\u231C",rH="\u231C",oH="\u230F",sH="\u25F8",lH="\u016A",aH="\u016B",cH="\xA8",uH="_",hH="\u23DF",fH="\u23B5",dH="\u23DD",mH="\u22C3",gH="\u228E",yH="\u0172",pH="\u0173",vH="\u{1D54C}",xH="\u{1D566}",bH="\u2912",wH="\u2191",kH="\u2191",AH="\u21D1",SH="\u21C5",$H="\u2195",CH="\u2195",MH="\u21D5",NH="\u296E",TH="\u21BF",EH="\u21BE",OH="\u228E",LH="\u2196",jH="\u2197",PH="\u03C5",DH="\u03D2",qH="\u03D2",BH="\u03A5",VH="\u03C5",IH="\u21A5",RH="\u22A5",HH="\u21C8",_H="\u231D",XH="\u231D",YH="\u230E",zH="\u016E",FH="\u016F",UH="\u25F9",GH="\u{1D4B0}",WH="\u{1D4CA}",KH="\u22F0",ZH="\u0168",QH="\u0169",JH="\u25B5",t_="\u25B4",e_="\u21C8",n_="\xDC",i_="\xFC",r_="\u29A7",o_="\u299C",s_="\u03F5",l_="\u03F0",a_="\u2205",c_="\u03D5",u_="\u03D6",h_="\u221D",f_="\u2195",d_="\u21D5",m_="\u03F1",g_="\u03C2",y_="\u228A\uFE00",p_="\u2ACB\uFE00",v_="\u228B\uFE00",x_="\u2ACC\uFE00",b_="\u03D1",w_="\u22B2",k_="\u22B3",A_="\u2AE8",S_="\u2AEB",$_="\u2AE9",C_="\u0412",M_="\u0432",N_="\u22A2",T_="\u22A8",E_="\u22A9",O_="\u22AB",L_="\u2AE6",j_="\u22BB",P_="\u2228",D_="\u22C1",q_="\u225A",B_="\u22EE",V_="|",I_="\u2016",R_="|",H_="\u2016",__="\u2223",X_="|",Y_="\u2758",z_="\u2240",F_="\u200A",U_="\u{1D519}",G_="\u{1D533}",W_="\u22B2",K_="\u2282\u20D2",Z_="\u2283\u20D2",Q_="\u{1D54D}",J_="\u{1D567}",tX="\u221D",eX="\u22B3",nX="\u{1D4B1}",iX="\u{1D4CB}",rX="\u2ACB\uFE00",oX="\u228A\uFE00",sX="\u2ACC\uFE00",lX="\u228B\uFE00",aX="\u22AA",cX="\u299A",uX="\u0174",hX="\u0175",fX="\u2A5F",dX="\u2227",mX="\u22C0",gX="\u2259",yX="\u2118",pX="\u{1D51A}",vX="\u{1D534}",xX="\u{1D54E}",bX="\u{1D568}",wX="\u2118",kX="\u2240",AX="\u2240",SX="\u{1D4B2}",$X="\u{1D4CC}",CX="\u22C2",MX="\u25EF",NX="\u22C3",TX="\u25BD",EX="\u{1D51B}",OX="\u{1D535}",LX="\u27F7",jX="\u27FA",PX="\u039E",DX="\u03BE",qX="\u27F5",BX="\u27F8",VX="\u27FC",IX="\u22FB",RX="\u2A00",HX="\u{1D54F}",_X="\u{1D569}",XX="\u2A01",YX="\u2A02",zX="\u27F6",FX="\u27F9",UX="\u{1D4B3}",GX="\u{1D4CD}",WX="\u2A06",KX="\u2A04",ZX="\u25B3",QX="\u22C1",JX="\u22C0",tY="\xDD",eY="\xFD",nY="\u042F",iY="\u044F",rY="\u0176",oY="\u0177",sY="\u042B",lY="\u044B",aY="\xA5",cY="\u{1D51C}",uY="\u{1D536}",hY="\u0407",fY="\u0457",dY="\u{1D550}",mY="\u{1D56A}",gY="\u{1D4B4}",yY="\u{1D4CE}",pY="\u042E",vY="\u044E",xY="\xFF",bY="\u0178",wY="\u0179",kY="\u017A",AY="\u017D",SY="\u017E",$Y="\u0417",CY="\u0437",MY="\u017B",NY="\u017C",TY="\u2128",EY="\u200B",OY="\u0396",LY="\u03B6",jY="\u{1D537}",PY="\u2128",DY="\u0416",qY="\u0436",BY="\u21DD",VY="\u{1D56B}",IY="\u2124",RY="\u{1D4B5}",HY="\u{1D4CF}",_Y="\u200D",XY="\u200C",ml={Aacute:C8,aacute:M8,Abreve:N8,abreve:T8,ac:E8,acd:O8,acE:L8,Acirc:j8,acirc:P8,acute:D8,Acy:q8,acy:B8,AElig:V8,aelig:I8,af:R8,Afr:H8,afr:_8,Agrave:X8,agrave:Y8,alefsym:z8,aleph:F8,Alpha:U8,alpha:G8,Amacr:W8,amacr:K8,amalg:Z8,amp:Q8,AMP:J8,andand:t5,And:e5,and:n5,andd:i5,andslope:r5,andv:o5,ang:s5,ange:l5,angle:a5,angmsdaa:c5,angmsdab:u5,angmsdac:h5,angmsdad:f5,angmsdae:d5,angmsdaf:m5,angmsdag:g5,angmsdah:y5,angmsd:p5,angrt:v5,angrtvb:x5,angrtvbd:b5,angsph:w5,angst:k5,angzarr:A5,Aogon:S5,aogon:$5,Aopf:C5,aopf:M5,apacir:N5,ap:T5,apE:E5,ape:O5,apid:L5,apos:j5,ApplyFunction:P5,approx:D5,approxeq:q5,Aring:B5,aring:V5,Ascr:I5,ascr:R5,Assign:H5,ast:_5,asymp:X5,asympeq:Y5,Atilde:z5,atilde:F5,Auml:U5,auml:G5,awconint:W5,awint:K5,backcong:Z5,backepsilon:Q5,backprime:J5,backsim:t6,backsimeq:e6,Backslash:n6,Barv:i6,barvee:r6,barwed:o6,Barwed:s6,barwedge:l6,bbrk:a6,bbrktbrk:c6,bcong:u6,Bcy:h6,bcy:f6,bdquo:d6,becaus:m6,because:g6,Because:y6,bemptyv:p6,bepsi:v6,bernou:x6,Bernoullis:b6,Beta:w6,beta:k6,beth:A6,between:S6,Bfr:$6,bfr:C6,bigcap:M6,bigcirc:N6,bigcup:T6,bigodot:E6,bigoplus:O6,bigotimes:L6,bigsqcup:j6,bigstar:P6,bigtriangledown:D6,bigtriangleup:q6,biguplus:B6,bigvee:V6,bigwedge:I6,bkarow:R6,blacklozenge:H6,blacksquare:_6,blacktriangle:X6,blacktriangledown:Y6,blacktriangleleft:z6,blacktriangleright:F6,blank:U6,blk12:G6,blk14:W6,blk34:K6,block:Z6,bne:Q6,bnequiv:J6,bNot:th,bnot:eh,Bopf:nh,bopf:ih,bot:rh,bottom:oh,bowtie:sh,boxbox:lh,boxdl:ah,boxdL:ch,boxDl:uh,boxDL:hh,boxdr:fh,boxdR:dh,boxDr:mh,boxDR:gh,boxh:yh,boxH:ph,boxhd:vh,boxHd:xh,boxhD:bh,boxHD:wh,boxhu:kh,boxHu:Ah,boxhU:Sh,boxHU:$h,boxminus:Ch,boxplus:Mh,boxtimes:Nh,boxul:Th,boxuL:Eh,boxUl:Oh,boxUL:Lh,boxur:jh,boxuR:Ph,boxUr:Dh,boxUR:qh,boxv:Bh,boxV:Vh,boxvh:Ih,boxvH:Rh,boxVh:Hh,boxVH:_h,boxvl:Xh,boxvL:Yh,boxVl:zh,boxVL:Fh,boxvr:Uh,boxvR:Gh,boxVr:Wh,boxVR:Kh,bprime:Zh,breve:Qh,Breve:Jh,brvbar:t7,bscr:e7,Bscr:n7,bsemi:i7,bsim:r7,bsime:o7,bsolb:s7,bsol:l7,bsolhsub:a7,bull:c7,bullet:u7,bump:h7,bumpE:f7,bumpe:d7,Bumpeq:m7,bumpeq:g7,Cacute:y7,cacute:p7,capand:v7,capbrcup:x7,capcap:b7,cap:w7,Cap:k7,capcup:A7,capdot:S7,CapitalDifferentialD:$7,caps:C7,caret:M7,caron:N7,Cayleys:T7,ccaps:E7,Ccaron:O7,ccaron:L7,Ccedil:j7,ccedil:P7,Ccirc:D7,ccirc:q7,Cconint:B7,ccups:V7,ccupssm:I7,Cdot:R7,cdot:H7,cedil:_7,Cedilla:X7,cemptyv:Y7,cent:z7,centerdot:F7,CenterDot:U7,cfr:G7,Cfr:W7,CHcy:K7,chcy:Z7,check:Q7,checkmark:J7,Chi:tf,chi:ef,circ:nf,circeq:rf,circlearrowleft:of,circlearrowright:sf,circledast:lf,circledcirc:af,circleddash:cf,CircleDot:uf,circledR:hf,circledS:ff,CircleMinus:df,CirclePlus:mf,CircleTimes:gf,cir:yf,cirE:pf,cire:vf,cirfnint:xf,cirmid:bf,cirscir:wf,ClockwiseContourIntegral:kf,CloseCurlyDoubleQuote:Af,CloseCurlyQuote:Sf,clubs:$f,clubsuit:Cf,colon:Mf,Colon:Nf,Colone:Tf,colone:Ef,coloneq:Of,comma:Lf,commat:jf,comp:Pf,compfn:Df,complement:qf,complexes:Bf,cong:Vf,congdot:If,Congruent:Rf,conint:Hf,Conint:_f,ContourIntegral:Xf,copf:Yf,Copf:zf,coprod:Ff,Coproduct:Uf,copy:Gf,COPY:Wf,copysr:Kf,CounterClockwiseContourIntegral:Zf,crarr:Qf,cross:Jf,Cross:t3,Cscr:e3,cscr:n3,csub:i3,csube:r3,csup:o3,csupe:s3,ctdot:l3,cudarrl:a3,cudarrr:c3,cuepr:u3,cuesc:h3,cularr:f3,cularrp:d3,cupbrcap:m3,cupcap:g3,CupCap:y3,cup:p3,Cup:v3,cupcup:x3,cupdot:b3,cupor:w3,cups:k3,curarr:A3,curarrm:S3,curlyeqprec:$3,curlyeqsucc:C3,curlyvee:M3,curlywedge:N3,curren:T3,curvearrowleft:E3,curvearrowright:O3,cuvee:L3,cuwed:j3,cwconint:P3,cwint:D3,cylcty:q3,dagger:B3,Dagger:V3,daleth:I3,darr:R3,Darr:H3,dArr:_3,dash:X3,Dashv:Y3,dashv:z3,dbkarow:F3,dblac:U3,Dcaron:G3,dcaron:W3,Dcy:K3,dcy:Z3,ddagger:Q3,ddarr:J3,DD:td,dd:ed,DDotrahd:nd,ddotseq:id,deg:rd,Del:od,Delta:sd,delta:ld,demptyv:ad,dfisht:cd,Dfr:ud,dfr:hd,dHar:fd,dharl:dd,dharr:md,DiacriticalAcute:gd,DiacriticalDot:yd,DiacriticalDoubleAcute:pd,DiacriticalGrave:vd,DiacriticalTilde:xd,diam:bd,diamond:wd,Diamond:kd,diamondsuit:Ad,diams:Sd,die:$d,DifferentialD:Cd,digamma:Md,disin:Nd,div:Td,divide:Ed,divideontimes:Od,divonx:Ld,DJcy:jd,djcy:Pd,dlcorn:Dd,dlcrop:qd,dollar:Bd,Dopf:Vd,dopf:Id,Dot:Rd,dot:Hd,DotDot:_d,doteq:Xd,doteqdot:Yd,DotEqual:zd,dotminus:Fd,dotplus:Ud,dotsquare:Gd,doublebarwedge:Wd,DoubleContourIntegral:Kd,DoubleDot:Zd,DoubleDownArrow:Qd,DoubleLeftArrow:Jd,DoubleLeftRightArrow:tm,DoubleLeftTee:em,DoubleLongLeftArrow:nm,DoubleLongLeftRightArrow:im,DoubleLongRightArrow:rm,DoubleRightArrow:om,DoubleRightTee:sm,DoubleUpArrow:lm,DoubleUpDownArrow:am,DoubleVerticalBar:cm,DownArrowBar:um,downarrow:hm,DownArrow:fm,Downarrow:dm,DownArrowUpArrow:mm,DownBreve:gm,downdownarrows:ym,downharpoonleft:pm,downharpoonright:vm,DownLeftRightVector:xm,DownLeftTeeVector:bm,DownLeftVectorBar:wm,DownLeftVector:km,DownRightTeeVector:Am,DownRightVectorBar:Sm,DownRightVector:$m,DownTeeArrow:Cm,DownTee:Mm,drbkarow:Nm,drcorn:Tm,drcrop:Em,Dscr:Om,dscr:Lm,DScy:jm,dscy:Pm,dsol:Dm,Dstrok:qm,dstrok:Bm,dtdot:Vm,dtri:Im,dtrif:Rm,duarr:Hm,duhar:_m,dwangle:Xm,DZcy:Ym,dzcy:zm,dzigrarr:Fm,Eacute:Um,eacute:Gm,easter:Wm,Ecaron:Km,ecaron:Zm,Ecirc:Qm,ecirc:Jm,ecir:t4,ecolon:e4,Ecy:n4,ecy:i4,eDDot:r4,Edot:o4,edot:s4,eDot:l4,ee:a4,efDot:c4,Efr:u4,efr:h4,eg:f4,Egrave:d4,egrave:m4,egs:g4,egsdot:y4,el:p4,Element:v4,elinters:x4,ell:b4,els:w4,elsdot:k4,Emacr:A4,emacr:S4,empty:$4,emptyset:C4,EmptySmallSquare:M4,emptyv:N4,EmptyVerySmallSquare:T4,emsp13:E4,emsp14:O4,emsp:L4,ENG:j4,eng:P4,ensp:D4,Eogon:q4,eogon:B4,Eopf:V4,eopf:I4,epar:R4,eparsl:H4,eplus:_4,epsi:X4,Epsilon:Y4,epsilon:z4,epsiv:F4,eqcirc:U4,eqcolon:G4,eqsim:W4,eqslantgtr:K4,eqslantless:Z4,Equal:Q4,equals:J4,EqualTilde:tg,equest:eg,Equilibrium:ng,equiv:ig,equivDD:rg,eqvparsl:og,erarr:sg,erDot:lg,escr:ag,Escr:cg,esdot:ug,Esim:hg,esim:fg,Eta:dg,eta:mg,ETH:gg,eth:yg,Euml:pg,euml:vg,euro:xg,excl:bg,exist:wg,Exists:kg,expectation:Ag,exponentiale:Sg,ExponentialE:$g,fallingdotseq:Cg,Fcy:Mg,fcy:Ng,female:Tg,ffilig:Eg,fflig:Og,ffllig:Lg,Ffr:jg,ffr:Pg,filig:Dg,FilledSmallSquare:qg,FilledVerySmallSquare:Bg,fjlig:Vg,flat:Ig,fllig:Rg,fltns:Hg,fnof:_g,Fopf:Xg,fopf:Yg,forall:zg,ForAll:Fg,fork:Ug,forkv:Gg,Fouriertrf:Wg,fpartint:Kg,frac12:Zg,frac13:Qg,frac14:Jg,frac15:ty,frac16:ey,frac18:ny,frac23:iy,frac25:ry,frac34:oy,frac35:sy,frac38:ly,frac45:ay,frac56:cy,frac58:uy,frac78:hy,frasl:fy,frown:dy,fscr:my,Fscr:gy,gacute:yy,Gamma:py,gamma:vy,Gammad:xy,gammad:by,gap:wy,Gbreve:ky,gbreve:Ay,Gcedil:Sy,Gcirc:$y,gcirc:Cy,Gcy:My,gcy:Ny,Gdot:Ty,gdot:Ey,ge:Oy,gE:Ly,gEl:jy,gel:Py,geq:Dy,geqq:qy,geqslant:By,gescc:Vy,ges:Iy,gesdot:Ry,gesdoto:Hy,gesdotol:_y,gesl:Xy,gesles:Yy,Gfr:zy,gfr:Fy,gg:Uy,Gg:Gy,ggg:Wy,gimel:Ky,GJcy:Zy,gjcy:Qy,gla:Jy,gl:tp,glE:ep,glj:np,gnap:ip,gnapprox:rp,gne:op,gnE:sp,gneq:lp,gneqq:ap,gnsim:cp,Gopf:up,gopf:hp,grave:fp,GreaterEqual:dp,GreaterEqualLess:mp,GreaterFullEqual:gp,GreaterGreater:yp,GreaterLess:pp,GreaterSlantEqual:vp,GreaterTilde:xp,Gscr:bp,gscr:wp,gsim:kp,gsime:Ap,gsiml:Sp,gtcc:$p,gtcir:Cp,gt:Mp,GT:Np,Gt:Tp,gtdot:Ep,gtlPar:Op,gtquest:Lp,gtrapprox:jp,gtrarr:Pp,gtrdot:Dp,gtreqless:qp,gtreqqless:Bp,gtrless:Vp,gtrsim:Ip,gvertneqq:Rp,gvnE:Hp,Hacek:_p,hairsp:Xp,half:Yp,hamilt:zp,HARDcy:Fp,hardcy:Up,harrcir:Gp,harr:Wp,hArr:Kp,harrw:Zp,Hat:Qp,hbar:Jp,Hcirc:tv,hcirc:ev,hearts:nv,heartsuit:iv,hellip:rv,hercon:ov,hfr:sv,Hfr:lv,HilbertSpace:av,hksearow:cv,hkswarow:uv,hoarr:hv,homtht:fv,hookleftarrow:dv,hookrightarrow:mv,hopf:gv,Hopf:yv,horbar:pv,HorizontalLine:vv,hscr:xv,Hscr:bv,hslash:wv,Hstrok:kv,hstrok:Av,HumpDownHump:Sv,HumpEqual:$v,hybull:Cv,hyphen:Mv,Iacute:Nv,iacute:Tv,ic:Ev,Icirc:Ov,icirc:Lv,Icy:jv,icy:Pv,Idot:Dv,IEcy:qv,iecy:Bv,iexcl:Vv,iff:Iv,ifr:Rv,Ifr:Hv,Igrave:_v,igrave:Xv,ii:Yv,iiiint:zv,iiint:Fv,iinfin:Uv,iiota:Gv,IJlig:Wv,ijlig:Kv,Imacr:Zv,imacr:Qv,image:Jv,ImaginaryI:tx,imagline:ex,imagpart:nx,imath:ix,Im:rx,imof:ox,imped:sx,Implies:lx,incare:ax,in:"\u2208",infin:cx,infintie:ux,inodot:hx,intcal:fx,int:dx,Int:mx,integers:gx,Integral:yx,intercal:px,Intersection:vx,intlarhk:xx,intprod:bx,InvisibleComma:wx,InvisibleTimes:kx,IOcy:Ax,iocy:Sx,Iogon:$x,iogon:Cx,Iopf:Mx,iopf:Nx,Iota:Tx,iota:Ex,iprod:Ox,iquest:Lx,iscr:jx,Iscr:Px,isin:Dx,isindot:qx,isinE:Bx,isins:Vx,isinsv:Ix,isinv:Rx,it:Hx,Itilde:_x,itilde:Xx,Iukcy:Yx,iukcy:zx,Iuml:Fx,iuml:Ux,Jcirc:Gx,jcirc:Wx,Jcy:Kx,jcy:Zx,Jfr:Qx,jfr:Jx,jmath:tb,Jopf:eb,jopf:nb,Jscr:ib,jscr:rb,Jsercy:ob,jsercy:sb,Jukcy:lb,jukcy:ab,Kappa:cb,kappa:ub,kappav:hb,Kcedil:fb,kcedil:db,Kcy:mb,kcy:gb,Kfr:yb,kfr:pb,kgreen:vb,KHcy:xb,khcy:bb,KJcy:wb,kjcy:kb,Kopf:Ab,kopf:Sb,Kscr:$b,kscr:Cb,lAarr:Mb,Lacute:Nb,lacute:Tb,laemptyv:Eb,lagran:Ob,Lambda:Lb,lambda:jb,lang:Pb,Lang:Db,langd:qb,langle:Bb,lap:Vb,Laplacetrf:Ib,laquo:Rb,larrb:Hb,larrbfs:_b,larr:Xb,Larr:Yb,lArr:zb,larrfs:Fb,larrhk:Ub,larrlp:Gb,larrpl:Wb,larrsim:Kb,larrtl:Zb,latail:Qb,lAtail:Jb,lat:tw,late:ew,lates:nw,lbarr:iw,lBarr:rw,lbbrk:ow,lbrace:sw,lbrack:lw,lbrke:aw,lbrksld:cw,lbrkslu:uw,Lcaron:hw,lcaron:fw,Lcedil:dw,lcedil:mw,lceil:gw,lcub:yw,Lcy:pw,lcy:vw,ldca:xw,ldquo:bw,ldquor:ww,ldrdhar:kw,ldrushar:Aw,ldsh:Sw,le:$w,lE:Cw,LeftAngleBracket:Mw,LeftArrowBar:Nw,leftarrow:Tw,LeftArrow:Ew,Leftarrow:Ow,LeftArrowRightArrow:Lw,leftarrowtail:jw,LeftCeiling:Pw,LeftDoubleBracket:Dw,LeftDownTeeVector:qw,LeftDownVectorBar:Bw,LeftDownVector:Vw,LeftFloor:Iw,leftharpoondown:Rw,leftharpoonup:Hw,leftleftarrows:_w,leftrightarrow:Xw,LeftRightArrow:Yw,Leftrightarrow:zw,leftrightarrows:Fw,leftrightharpoons:Uw,leftrightsquigarrow:Gw,LeftRightVector:Ww,LeftTeeArrow:Kw,LeftTee:Zw,LeftTeeVector:Qw,leftthreetimes:Jw,LeftTriangleBar:tk,LeftTriangle:ek,LeftTriangleEqual:nk,LeftUpDownVector:ik,LeftUpTeeVector:rk,LeftUpVectorBar:ok,LeftUpVector:sk,LeftVectorBar:lk,LeftVector:ak,lEg:ck,leg:uk,leq:hk,leqq:fk,leqslant:dk,lescc:mk,les:gk,lesdot:yk,lesdoto:pk,lesdotor:vk,lesg:xk,lesges:bk,lessapprox:wk,lessdot:kk,lesseqgtr:Ak,lesseqqgtr:Sk,LessEqualGreater:$k,LessFullEqual:Ck,LessGreater:Mk,lessgtr:Nk,LessLess:Tk,lesssim:Ek,LessSlantEqual:Ok,LessTilde:Lk,lfisht:jk,lfloor:Pk,Lfr:Dk,lfr:qk,lg:Bk,lgE:Vk,lHar:Ik,lhard:Rk,lharu:Hk,lharul:_k,lhblk:Xk,LJcy:Yk,ljcy:zk,llarr:Fk,ll:Uk,Ll:Gk,llcorner:Wk,Lleftarrow:Kk,llhard:Zk,lltri:Qk,Lmidot:Jk,lmidot:tA,lmoustache:eA,lmoust:nA,lnap:iA,lnapprox:rA,lne:oA,lnE:sA,lneq:lA,lneqq:aA,lnsim:cA,loang:uA,loarr:hA,lobrk:fA,longleftarrow:dA,LongLeftArrow:mA,Longleftarrow:gA,longleftrightarrow:yA,LongLeftRightArrow:pA,Longleftrightarrow:vA,longmapsto:xA,longrightarrow:bA,LongRightArrow:wA,Longrightarrow:kA,looparrowleft:AA,looparrowright:SA,lopar:$A,Lopf:CA,lopf:MA,loplus:NA,lotimes:TA,lowast:EA,lowbar:OA,LowerLeftArrow:LA,LowerRightArrow:jA,loz:PA,lozenge:DA,lozf:qA,lpar:BA,lparlt:VA,lrarr:IA,lrcorner:RA,lrhar:HA,lrhard:_A,lrm:XA,lrtri:YA,lsaquo:zA,lscr:FA,Lscr:UA,lsh:GA,Lsh:WA,lsim:KA,lsime:ZA,lsimg:QA,lsqb:JA,lsquo:tS,lsquor:eS,Lstrok:nS,lstrok:iS,ltcc:rS,ltcir:oS,lt:sS,LT:lS,Lt:aS,ltdot:cS,lthree:uS,ltimes:hS,ltlarr:fS,ltquest:dS,ltri:mS,ltrie:gS,ltrif:yS,ltrPar:pS,lurdshar:vS,luruhar:xS,lvertneqq:bS,lvnE:wS,macr:kS,male:AS,malt:SS,maltese:$S,Map:"\u2905",map:CS,mapsto:MS,mapstodown:NS,mapstoleft:TS,mapstoup:ES,marker:OS,mcomma:LS,Mcy:jS,mcy:PS,mdash:DS,mDDot:qS,measuredangle:BS,MediumSpace:VS,Mellintrf:IS,Mfr:RS,mfr:HS,mho:_S,micro:XS,midast:YS,midcir:zS,mid:FS,middot:US,minusb:GS,minus:WS,minusd:KS,minusdu:ZS,MinusPlus:QS,mlcp:JS,mldr:t$,mnplus:e$,models:n$,Mopf:i$,mopf:r$,mp:o$,mscr:s$,Mscr:l$,mstpos:a$,Mu:c$,mu:u$,multimap:h$,mumap:f$,nabla:d$,Nacute:m$,nacute:g$,nang:y$,nap:p$,napE:v$,napid:x$,napos:b$,napprox:w$,natural:k$,naturals:A$,natur:S$,nbsp:$$,nbump:C$,nbumpe:M$,ncap:N$,Ncaron:T$,ncaron:E$,Ncedil:O$,ncedil:L$,ncong:j$,ncongdot:P$,ncup:D$,Ncy:q$,ncy:B$,ndash:V$,nearhk:I$,nearr:R$,neArr:H$,nearrow:_$,ne:X$,nedot:Y$,NegativeMediumSpace:z$,NegativeThickSpace:F$,NegativeThinSpace:U$,NegativeVeryThinSpace:G$,nequiv:W$,nesear:K$,nesim:Z$,NestedGreaterGreater:Q$,NestedLessLess:J$,NewLine:tC,nexist:eC,nexists:nC,Nfr:iC,nfr:rC,ngE:oC,nge:sC,ngeq:lC,ngeqq:aC,ngeqslant:cC,nges:uC,nGg:hC,ngsim:fC,nGt:dC,ngt:mC,ngtr:gC,nGtv:yC,nharr:pC,nhArr:vC,nhpar:xC,ni:bC,nis:wC,nisd:kC,niv:AC,NJcy:SC,njcy:$C,nlarr:CC,nlArr:MC,nldr:NC,nlE:TC,nle:EC,nleftarrow:OC,nLeftarrow:LC,nleftrightarrow:jC,nLeftrightarrow:PC,nleq:DC,nleqq:qC,nleqslant:BC,nles:VC,nless:IC,nLl:RC,nlsim:HC,nLt:_C,nlt:XC,nltri:YC,nltrie:zC,nLtv:FC,nmid:UC,NoBreak:GC,NonBreakingSpace:WC,nopf:KC,Nopf:ZC,Not:QC,not:JC,NotCongruent:tM,NotCupCap:eM,NotDoubleVerticalBar:nM,NotElement:iM,NotEqual:rM,NotEqualTilde:oM,NotExists:sM,NotGreater:lM,NotGreaterEqual:aM,NotGreaterFullEqual:cM,NotGreaterGreater:uM,NotGreaterLess:hM,NotGreaterSlantEqual:fM,NotGreaterTilde:dM,NotHumpDownHump:mM,NotHumpEqual:gM,notin:yM,notindot:pM,notinE:vM,notinva:xM,notinvb:bM,notinvc:wM,NotLeftTriangleBar:kM,NotLeftTriangle:AM,NotLeftTriangleEqual:SM,NotLess:$M,NotLessEqual:CM,NotLessGreater:MM,NotLessLess:NM,NotLessSlantEqual:TM,NotLessTilde:EM,NotNestedGreaterGreater:OM,NotNestedLessLess:LM,notni:jM,notniva:PM,notnivb:DM,notnivc:qM,NotPrecedes:BM,NotPrecedesEqual:VM,NotPrecedesSlantEqual:IM,NotReverseElement:RM,NotRightTriangleBar:HM,NotRightTriangle:_M,NotRightTriangleEqual:XM,NotSquareSubset:YM,NotSquareSubsetEqual:zM,NotSquareSuperset:FM,NotSquareSupersetEqual:UM,NotSubset:GM,NotSubsetEqual:WM,NotSucceeds:KM,NotSucceedsEqual:ZM,NotSucceedsSlantEqual:QM,NotSucceedsTilde:JM,NotSuperset:tN,NotSupersetEqual:eN,NotTilde:nN,NotTildeEqual:iN,NotTildeFullEqual:rN,NotTildeTilde:oN,NotVerticalBar:sN,nparallel:lN,npar:aN,nparsl:cN,npart:uN,npolint:hN,npr:fN,nprcue:dN,nprec:mN,npreceq:gN,npre:yN,nrarrc:pN,nrarr:vN,nrArr:xN,nrarrw:bN,nrightarrow:wN,nRightarrow:kN,nrtri:AN,nrtrie:SN,nsc:$N,nsccue:CN,nsce:MN,Nscr:NN,nscr:TN,nshortmid:EN,nshortparallel:ON,nsim:LN,nsime:jN,nsimeq:PN,nsmid:DN,nspar:qN,nsqsube:BN,nsqsupe:VN,nsub:IN,nsubE:RN,nsube:HN,nsubset:_N,nsubseteq:XN,nsubseteqq:YN,nsucc:zN,nsucceq:FN,nsup:UN,nsupE:GN,nsupe:WN,nsupset:KN,nsupseteq:ZN,nsupseteqq:QN,ntgl:JN,Ntilde:tT,ntilde:eT,ntlg:nT,ntriangleleft:iT,ntrianglelefteq:rT,ntriangleright:oT,ntrianglerighteq:sT,Nu:lT,nu:aT,num:cT,numero:uT,numsp:hT,nvap:fT,nvdash:dT,nvDash:mT,nVdash:gT,nVDash:yT,nvge:pT,nvgt:vT,nvHarr:xT,nvinfin:bT,nvlArr:wT,nvle:kT,nvlt:AT,nvltrie:ST,nvrArr:$T,nvrtrie:CT,nvsim:MT,nwarhk:NT,nwarr:TT,nwArr:ET,nwarrow:OT,nwnear:LT,Oacute:jT,oacute:PT,oast:DT,Ocirc:qT,ocirc:BT,ocir:VT,Ocy:IT,ocy:RT,odash:HT,Odblac:_T,odblac:XT,odiv:YT,odot:zT,odsold:FT,OElig:UT,oelig:GT,ofcir:WT,Ofr:KT,ofr:ZT,ogon:QT,Ograve:JT,ograve:tE,ogt:eE,ohbar:nE,ohm:iE,oint:rE,olarr:oE,olcir:sE,olcross:lE,oline:aE,olt:cE,Omacr:uE,omacr:hE,Omega:fE,omega:dE,Omicron:mE,omicron:gE,omid:yE,ominus:pE,Oopf:vE,oopf:xE,opar:bE,OpenCurlyDoubleQuote:wE,OpenCurlyQuote:kE,operp:AE,oplus:SE,orarr:$E,Or:CE,or:ME,ord:NE,order:TE,orderof:EE,ordf:OE,ordm:LE,origof:jE,oror:PE,orslope:DE,orv:qE,oS:BE,Oscr:VE,oscr:IE,Oslash:RE,oslash:HE,osol:_E,Otilde:XE,otilde:YE,otimesas:zE,Otimes:FE,otimes:UE,Ouml:GE,ouml:WE,ovbar:KE,OverBar:ZE,OverBrace:QE,OverBracket:JE,OverParenthesis:tO,para:eO,parallel:nO,par:iO,parsim:rO,parsl:oO,part:sO,PartialD:lO,Pcy:aO,pcy:cO,percnt:uO,period:hO,permil:fO,perp:dO,pertenk:mO,Pfr:gO,pfr:yO,Phi:pO,phi:vO,phiv:xO,phmmat:bO,phone:wO,Pi:kO,pi:AO,pitchfork:SO,piv:$O,planck:CO,planckh:MO,plankv:NO,plusacir:TO,plusb:EO,pluscir:OO,plus:LO,plusdo:jO,plusdu:PO,pluse:DO,PlusMinus:qO,plusmn:BO,plussim:VO,plustwo:IO,pm:RO,Poincareplane:HO,pointint:_O,popf:XO,Popf:YO,pound:zO,prap:FO,Pr:UO,pr:GO,prcue:WO,precapprox:KO,prec:ZO,preccurlyeq:QO,Precedes:JO,PrecedesEqual:tL,PrecedesSlantEqual:eL,PrecedesTilde:nL,preceq:iL,precnapprox:rL,precneqq:oL,precnsim:sL,pre:lL,prE:aL,precsim:cL,prime:uL,Prime:hL,primes:fL,prnap:dL,prnE:mL,prnsim:gL,prod:yL,Product:pL,profalar:vL,profline:xL,profsurf:bL,prop:wL,Proportional:kL,Proportion:AL,propto:SL,prsim:$L,prurel:CL,Pscr:ML,pscr:NL,Psi:TL,psi:EL,puncsp:OL,Qfr:LL,qfr:jL,qint:PL,qopf:DL,Qopf:qL,qprime:BL,Qscr:VL,qscr:IL,quaternions:RL,quatint:HL,quest:_L,questeq:XL,quot:YL,QUOT:zL,rAarr:FL,race:UL,Racute:GL,racute:WL,radic:KL,raemptyv:ZL,rang:QL,Rang:JL,rangd:tj,range:ej,rangle:nj,raquo:ij,rarrap:rj,rarrb:oj,rarrbfs:sj,rarrc:lj,rarr:aj,Rarr:cj,rArr:uj,rarrfs:hj,rarrhk:fj,rarrlp:dj,rarrpl:mj,rarrsim:gj,Rarrtl:yj,rarrtl:pj,rarrw:vj,ratail:xj,rAtail:bj,ratio:wj,rationals:kj,rbarr:Aj,rBarr:Sj,RBarr:$j,rbbrk:Cj,rbrace:Mj,rbrack:Nj,rbrke:Tj,rbrksld:Ej,rbrkslu:Oj,Rcaron:Lj,rcaron:jj,Rcedil:Pj,rcedil:Dj,rceil:qj,rcub:Bj,Rcy:Vj,rcy:Ij,rdca:Rj,rdldhar:Hj,rdquo:_j,rdquor:Xj,rdsh:Yj,real:zj,realine:Fj,realpart:Uj,reals:Gj,Re:Wj,rect:Kj,reg:Zj,REG:Qj,ReverseElement:Jj,ReverseEquilibrium:tP,ReverseUpEquilibrium:eP,rfisht:nP,rfloor:iP,rfr:rP,Rfr:oP,rHar:sP,rhard:lP,rharu:aP,rharul:cP,Rho:uP,rho:hP,rhov:fP,RightAngleBracket:dP,RightArrowBar:mP,rightarrow:gP,RightArrow:yP,Rightarrow:pP,RightArrowLeftArrow:vP,rightarrowtail:xP,RightCeiling:bP,RightDoubleBracket:wP,RightDownTeeVector:kP,RightDownVectorBar:AP,RightDownVector:SP,RightFloor:$P,rightharpoondown:CP,rightharpoonup:MP,rightleftarrows:NP,rightleftharpoons:TP,rightrightarrows:EP,rightsquigarrow:OP,RightTeeArrow:LP,RightTee:jP,RightTeeVector:PP,rightthreetimes:DP,RightTriangleBar:qP,RightTriangle:BP,RightTriangleEqual:VP,RightUpDownVector:IP,RightUpTeeVector:RP,RightUpVectorBar:HP,RightUpVector:_P,RightVectorBar:XP,RightVector:YP,ring:zP,risingdotseq:FP,rlarr:UP,rlhar:GP,rlm:WP,rmoustache:KP,rmoust:ZP,rnmid:QP,roang:JP,roarr:tD,robrk:eD,ropar:nD,ropf:iD,Ropf:rD,roplus:oD,rotimes:sD,RoundImplies:lD,rpar:aD,rpargt:cD,rppolint:uD,rrarr:hD,Rrightarrow:fD,rsaquo:dD,rscr:mD,Rscr:gD,rsh:yD,Rsh:pD,rsqb:vD,rsquo:xD,rsquor:bD,rthree:wD,rtimes:kD,rtri:AD,rtrie:SD,rtrif:$D,rtriltri:CD,RuleDelayed:MD,ruluhar:ND,rx:TD,Sacute:ED,sacute:OD,sbquo:LD,scap:jD,Scaron:PD,scaron:DD,Sc:qD,sc:BD,sccue:VD,sce:ID,scE:RD,Scedil:HD,scedil:_D,Scirc:XD,scirc:YD,scnap:zD,scnE:FD,scnsim:UD,scpolint:GD,scsim:WD,Scy:KD,scy:ZD,sdotb:QD,sdot:JD,sdote:tq,searhk:eq,searr:nq,seArr:iq,searrow:rq,sect:oq,semi:sq,seswar:lq,setminus:aq,setmn:cq,sext:uq,Sfr:hq,sfr:fq,sfrown:dq,sharp:mq,SHCHcy:gq,shchcy:yq,SHcy:pq,shcy:vq,ShortDownArrow:xq,ShortLeftArrow:bq,shortmid:wq,shortparallel:kq,ShortRightArrow:Aq,ShortUpArrow:Sq,shy:$q,Sigma:Cq,sigma:Mq,sigmaf:Nq,sigmav:Tq,sim:Eq,simdot:Oq,sime:Lq,simeq:jq,simg:Pq,simgE:Dq,siml:qq,simlE:Bq,simne:Vq,simplus:Iq,simrarr:Rq,slarr:Hq,SmallCircle:_q,smallsetminus:Xq,smashp:Yq,smeparsl:zq,smid:Fq,smile:Uq,smt:Gq,smte:Wq,smtes:Kq,SOFTcy:Zq,softcy:Qq,solbar:Jq,solb:tB,sol:eB,Sopf:nB,sopf:iB,spades:rB,spadesuit:oB,spar:sB,sqcap:lB,sqcaps:aB,sqcup:cB,sqcups:uB,Sqrt:hB,sqsub:fB,sqsube:dB,sqsubset:mB,sqsubseteq:gB,sqsup:yB,sqsupe:pB,sqsupset:vB,sqsupseteq:xB,square:bB,Square:wB,SquareIntersection:kB,SquareSubset:AB,SquareSubsetEqual:SB,SquareSuperset:$B,SquareSupersetEqual:CB,SquareUnion:MB,squarf:NB,squ:TB,squf:EB,srarr:OB,Sscr:LB,sscr:jB,ssetmn:PB,ssmile:DB,sstarf:qB,Star:BB,star:VB,starf:IB,straightepsilon:RB,straightphi:HB,strns:_B,sub:XB,Sub:YB,subdot:zB,subE:FB,sube:UB,subedot:GB,submult:WB,subnE:KB,subne:ZB,subplus:QB,subrarr:JB,subset:tV,Subset:eV,subseteq:nV,subseteqq:iV,SubsetEqual:rV,subsetneq:oV,subsetneqq:sV,subsim:lV,subsub:aV,subsup:cV,succapprox:uV,succ:hV,succcurlyeq:fV,Succeeds:dV,SucceedsEqual:mV,SucceedsSlantEqual:gV,SucceedsTilde:yV,succeq:pV,succnapprox:vV,succneqq:xV,succnsim:bV,succsim:wV,SuchThat:kV,sum:AV,Sum:SV,sung:$V,sup1:CV,sup2:MV,sup3:NV,sup:TV,Sup:EV,supdot:OV,supdsub:LV,supE:jV,supe:PV,supedot:DV,Superset:qV,SupersetEqual:BV,suphsol:VV,suphsub:IV,suplarr:RV,supmult:HV,supnE:_V,supne:XV,supplus:YV,supset:zV,Supset:FV,supseteq:UV,supseteqq:GV,supsetneq:WV,supsetneqq:KV,supsim:ZV,supsub:QV,supsup:JV,swarhk:tI,swarr:eI,swArr:nI,swarrow:iI,swnwar:rI,szlig:oI,Tab:sI,target:lI,Tau:aI,tau:cI,tbrk:uI,Tcaron:hI,tcaron:fI,Tcedil:dI,tcedil:mI,Tcy:gI,tcy:yI,tdot:pI,telrec:vI,Tfr:xI,tfr:bI,there4:wI,therefore:kI,Therefore:AI,Theta:SI,theta:$I,thetasym:CI,thetav:MI,thickapprox:NI,thicksim:TI,ThickSpace:EI,ThinSpace:OI,thinsp:LI,thkap:jI,thksim:PI,THORN:DI,thorn:qI,tilde:BI,Tilde:VI,TildeEqual:II,TildeFullEqual:RI,TildeTilde:HI,timesbar:_I,timesb:XI,times:YI,timesd:zI,tint:FI,toea:UI,topbot:GI,topcir:WI,top:KI,Topf:ZI,topf:QI,topfork:JI,tosa:tR,tprime:eR,trade:nR,TRADE:iR,triangle:rR,triangledown:oR,triangleleft:sR,trianglelefteq:lR,triangleq:aR,triangleright:cR,trianglerighteq:uR,tridot:hR,trie:fR,triminus:dR,TripleDot:mR,triplus:gR,trisb:yR,tritime:pR,trpezium:vR,Tscr:xR,tscr:bR,TScy:wR,tscy:kR,TSHcy:AR,tshcy:SR,Tstrok:$R,tstrok:CR,twixt:MR,twoheadleftarrow:NR,twoheadrightarrow:TR,Uacute:ER,uacute:OR,uarr:LR,Uarr:jR,uArr:PR,Uarrocir:DR,Ubrcy:qR,ubrcy:BR,Ubreve:VR,ubreve:IR,Ucirc:RR,ucirc:HR,Ucy:_R,ucy:XR,udarr:YR,Udblac:zR,udblac:FR,udhar:UR,ufisht:GR,Ufr:WR,ufr:KR,Ugrave:ZR,ugrave:QR,uHar:JR,uharl:tH,uharr:eH,uhblk:nH,ulcorn:iH,ulcorner:rH,ulcrop:oH,ultri:sH,Umacr:lH,umacr:aH,uml:cH,UnderBar:uH,UnderBrace:hH,UnderBracket:fH,UnderParenthesis:dH,Union:mH,UnionPlus:gH,Uogon:yH,uogon:pH,Uopf:vH,uopf:xH,UpArrowBar:bH,uparrow:wH,UpArrow:kH,Uparrow:AH,UpArrowDownArrow:SH,updownarrow:$H,UpDownArrow:CH,Updownarrow:MH,UpEquilibrium:NH,upharpoonleft:TH,upharpoonright:EH,uplus:OH,UpperLeftArrow:LH,UpperRightArrow:jH,upsi:PH,Upsi:DH,upsih:qH,Upsilon:BH,upsilon:VH,UpTeeArrow:IH,UpTee:RH,upuparrows:HH,urcorn:_H,urcorner:XH,urcrop:YH,Uring:zH,uring:FH,urtri:UH,Uscr:GH,uscr:WH,utdot:KH,Utilde:ZH,utilde:QH,utri:JH,utrif:t_,uuarr:e_,Uuml:n_,uuml:i_,uwangle:r_,vangrt:o_,varepsilon:s_,varkappa:l_,varnothing:a_,varphi:c_,varpi:u_,varpropto:h_,varr:f_,vArr:d_,varrho:m_,varsigma:g_,varsubsetneq:y_,varsubsetneqq:p_,varsupsetneq:v_,varsupsetneqq:x_,vartheta:b_,vartriangleleft:w_,vartriangleright:k_,vBar:A_,Vbar:S_,vBarv:$_,Vcy:C_,vcy:M_,vdash:N_,vDash:T_,Vdash:E_,VDash:O_,Vdashl:L_,veebar:j_,vee:P_,Vee:D_,veeeq:q_,vellip:B_,verbar:V_,Verbar:I_,vert:R_,Vert:H_,VerticalBar:__,VerticalLine:X_,VerticalSeparator:Y_,VerticalTilde:z_,VeryThinSpace:F_,Vfr:U_,vfr:G_,vltri:W_,vnsub:K_,vnsup:Z_,Vopf:Q_,vopf:J_,vprop:tX,vrtri:eX,Vscr:nX,vscr:iX,vsubnE:rX,vsubne:oX,vsupnE:sX,vsupne:lX,Vvdash:aX,vzigzag:cX,Wcirc:uX,wcirc:hX,wedbar:fX,wedge:dX,Wedge:mX,wedgeq:gX,weierp:yX,Wfr:pX,wfr:vX,Wopf:xX,wopf:bX,wp:wX,wr:kX,wreath:AX,Wscr:SX,wscr:$X,xcap:CX,xcirc:MX,xcup:NX,xdtri:TX,Xfr:EX,xfr:OX,xharr:LX,xhArr:jX,Xi:PX,xi:DX,xlarr:qX,xlArr:BX,xmap:VX,xnis:IX,xodot:RX,Xopf:HX,xopf:_X,xoplus:XX,xotime:YX,xrarr:zX,xrArr:FX,Xscr:UX,xscr:GX,xsqcup:WX,xuplus:KX,xutri:ZX,xvee:QX,xwedge:JX,Yacute:tY,yacute:eY,YAcy:nY,yacy:iY,Ycirc:rY,ycirc:oY,Ycy:sY,ycy:lY,yen:aY,Yfr:cY,yfr:uY,YIcy:hY,yicy:fY,Yopf:dY,yopf:mY,Yscr:gY,yscr:yY,YUcy:pY,yucy:vY,yuml:xY,Yuml:bY,Zacute:wY,zacute:kY,Zcaron:AY,zcaron:SY,Zcy:$Y,zcy:CY,Zdot:MY,zdot:NY,zeetrf:TY,ZeroWidthSpace:EY,Zeta:OY,zeta:LY,zfr:jY,Zfr:PY,ZHcy:DY,zhcy:qY,zigrarr:BY,zopf:VY,Zopf:IY,Zscr:RY,zscr:HY,zwj:_Y,zwnj:XY};var Oo;function YY(){return Oo||(Oo=1,(function(t){var e=A1&&A1.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(ml);function i(c){return(c&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(c,l){return c.codePointAt(l)}:(function(c,l){return i(c.charCodeAt(l))?(c.charCodeAt(l)-55296)*1024+c.charCodeAt(l+1)-56320+65536:c.charCodeAt(l)});var r=a(n.default);function o(c,l){for(var s,u="",d=0,f;(f=c.exec(l))!==null;){var h=f.index,m=l.charCodeAt(h),y=r.get(m);if(y){if(y.next!=null&&h+1<l.length){var p=(s=y.next.get(l.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(p!=null){u+=l.substring(d,h)+p,c.lastIndex+=1,d=h+2;continue}}u+=l.substring(d,h)+y.value,d=h+1}else u+=l.substring(d,h)+"&#x"+t.getCodePoint(l,h).toString(16)+";",d=c.lastIndex+=Number(i(m))}return u+l.substr(d)}t.encodeHTMLTrieRe=o;function a(c){for(var l,s,u,d,f=new Map,h=0,m=Object.keys(c);h<m.length;h++){for(var y=m[h],p=c[y],S=f,$=0;$<p.length-1;$++){var b=p.charCodeAt($),N=(l=S.get(b))!==null&&l!==void 0?l:{};S.set(b,N),S=(s=N.next)!==null&&s!==void 0?s:N.next=new Map}var M=(u=S.get(p.charCodeAt(p.length-1)))!==null&&u!==void 0?u:{};(d=M.value)!==null&&d!==void 0||(M.value="&"+y+";"),S.set(p.charCodeAt(p.length-1),M)}return f}t.getTrie=a})(A1)),A1}var Lo;function jo(){if(Lo)return Jt;Lo=1;var t=Jt&&Jt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.escapeUTF8=Jt.escape=Jt.encodeNonAsciiHTML=Jt.encodeHTML=Jt.encodeXML=void 0;var e=t($8),n=YY(),i=t(ml),r=d(i.default,!0),o=d(e.default,!0),a=d(e.default,!1),c=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function l(h){for(var m="",y=0,p;(p=o.exec(h))!==null;){var S=p.index,$=h.charCodeAt(S),b=c.get($);b?(m+=h.substring(y,S)+b,y=S+1):(m+=h.substring(y,S)+"&#x"+n.getCodePoint(h,S).toString(16)+";",y=o.lastIndex+=+(($&65408)===55296))}return m+h.substr(y)}Jt.encodeXML=l;function s(h){return n.encodeHTMLTrieRe(r,h)}Jt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Jt.encodeNonAsciiHTML=u;function d(h,m){for(var y=Object.keys(h).map(function(b){return"\\"+h[b].charAt(0)}).filter(function(b){return!m||b.charCodeAt(1)<128}).sort(function(b,N){return b.charCodeAt(1)-N.charCodeAt(1)}).filter(function(b,N,M){return b!==M[N+1]}),p=0;p<y.length-1;p++){for(var S=p;S<y.length-1&&y[S].charCodeAt(1)+1===y[S+1].charCodeAt(1);)S+=1;var $=1+S-p;$<3||y.splice(p,$,y[p]+"-"+y[S])}return new RegExp("["+y.join("")+(m?"\\x80-\\uFFFF":"")+"]","g")}Jt.escape=l;function f(h){for(var m,y=0,p="";m=a.exec(h);)y!==m.index&&(p+=h.substring(y,m.index)),p+=c.get(m[0].charCodeAt(0)),y=m.index+1;return p+h.substring(y)}return Jt.escapeUTF8=f,Jt}var Po;function zY(){return Po||(Po=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var e=Eo(),n=jo(),i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(d){d[d.Legacy=0]="Legacy",d[d.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function a(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Strict?e.decodeHTMLStrict(d):e.decodeHTML(d):e.decodeXML(d)}t.decode=a;function c(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.level===i.HTML?h.mode===r.Legacy?e.decodeHTML(d):e.decodeHTMLStrict(d):e.decodeXML(d)}t.decodeStrict=c;function l(d,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(d):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(d):n.encodeHTML(d):n.encodeXML(d)}t.encode=l;var s=jo();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var u=Eo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})})(ei)),ei}var gl=zY(),FY=92,yl="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",pl="[A-Za-z][A-Za-z0-9-]*",UY="[a-zA-Z_:][a-zA-Z0-9:._-]*",GY="[^\"'=<>`\\x00-\\x20]+",WY="'[^']*'",KY='"[^"]*"',ZY="(?:"+GY+"|"+WY+"|"+KY+")",QY="(?:\\s*=\\s*"+ZY+")",JY="(?:\\s+"+UY+QY+"?)",vl="<"+pl+JY+"*\\s*/?>",xl="</"+pl+"\\s*[>]",tz="<!-->|<!--->|<!--[\\s\\S]*?-->",ez="[<][?][\\s\\S]*?[?][>]",nz="<![A-Za-z]+[^>]*>",iz="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",rz="(?:"+vl+"|"+xl+"|"+tz+"|"+ez+"|"+nz+"|"+iz+")",oz=new RegExp("^"+rz),sz=/[\\&]/,bl="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",lz=new RegExp("\\\\"+bl+"|"+yl,"gi"),az='[&<>"]',Do=new RegExp(az,"g"),cz=function(t){return t.charCodeAt(0)===FY?t.charAt(1):gl.decodeHTMLStrict(t)},wl=function(t){return sz.test(t)?t.replace(lz,cz):t},uz=function(t){try{return y8(t)}catch{return t}},hz=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}},Rn=function(t){return Do.test(t)?t.replace(Do,hz):t},Ni;function zi(t){return Ni(t)}if(String.fromCodePoint)Ni=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var fz=String.fromCharCode,dz=Math.floor;Ni=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var a="";++r<o;){var c=Number(arguments[r]);if(!isFinite(c)||c<0||c>1114111||dz(c)!==c)return"\uFFFD";c<=65535?e.push(c):(c-=65536,n=(c>>10)+55296,i=c%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(a+=fz.apply(null,e),e.length=0)}return a}}var Nn=uz,Ti=wl,kl=10,Ei=42,Tn=95,mz=96,Al=91,gz=93,Sl=60,yz=33,$l=92,pz=38,Cl=40,Oi=41,vz=58,Ze=39,Qe=34,Ml=bl,ni="\\\\"+Ml,xz=yl,bz=oz,qo=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),wz=new RegExp('^(?:"('+ni+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+ni+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+ni+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),kz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Nl=new RegExp("^"+Ml),Az=new RegExp("^"+xz,"i"),Sz=/`+/,$z=/^`+/,Cz=/\.\.\./g,Mz=/--+/g,Nz=/^<([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])?)*)>/,Tz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Ez=/^ *(?:\n *)?/,Tl=/^[ \t\n\x0b\x0c\x0d]/,Bo=/^\s/,Oz=/ *$/,Lz=/^ */,Vo=/^ *(?:\n|$)/,jz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Pz=/^[^\n`\[\]\\!<&*_'"]+/m,Zt=function(t){var e=new Vt("text");return e._literal=t,e},El=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},Dz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},qz=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Bz=function(){return this.match(Ez),!0},Vz=function(t){var e=this.match($z);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(Sz))!==null;)if(i===e)return r=new Vt("code"),o=this.subject.slice(n,this.pos-e.length).replace(/\n/gm," "),o.length>0&&o.match(/[^ ]/)!==null&&o[0]==" "&&o[o.length-1]==" "?r._literal=o.slice(1,o.length-1):r._literal=o,t.appendChild(r),!0;return this.pos=n,t.appendChild(Zt(e)),!0},Iz=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===kl?(this.pos+=1,n=new Vt("linebreak"),t.appendChild(n)):Nl.test(e.charAt(this.pos))?(t.appendChild(Zt(e.charAt(this.pos))),this.pos+=1):t.appendChild(Zt("\\")),!0},Rz=function(t){var e,n,i;return(e=this.match(Nz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=Nn("mailto:"+n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):(e=this.match(Tz))?(n=e.slice(1,e.length-1),i=new Vt("link"),i._destination=Nn(n),i._title="",i.appendChild(Zt(n)),t.appendChild(i),!0):!1},Hz=function(t){var e=this.match(bz);if(e===null)return!1;var n=new Vt("html_inline");return n._literal=e,t.appendChild(n),!0},_z=function(t){var e=0,n,i,r,o=this.pos,a,c,l,s,u,d,f,h;if(t===Ze||t===Qe)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
|
|
4
4
|
`:this.subject.charAt(o-1),r=this.peek(),r===-1?i=`
|
|
5
|
-
`:i=
|
|
6
|
-
`},
|
|
7
|
-
`);i.sourcepos[0][0]+=s.length-1}c&&
|
|
8
|
-
`),r=n.slice(0,i),o=n.slice(i+1);e.info=
|
|
9
|
-
`);/^[ \t]*$/.test(
|
|
5
|
+
`:i=zi(r),u=Bo.test(i),d=qo.test(i),f=Bo.test(n),h=qo.test(n),a=!u&&(!d||f||h),c=!f&&(!h||u||d),t===Tn?(l=a&&(!c||h),s=c&&(!a||d)):t===Ze||t===Qe?(l=a&&!c,s=c):(l=a,s=c),this.pos=o,{numdelims:e,can_open:l,can_close:s})},Xz=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i=n.numdelims,r=this.pos,o;this.pos+=i,t===Ze?o="\u2019":t===Qe?o="\u201C":o=this.subject.slice(r,this.pos);var a=Zt(o);return e.appendChild(a),(n.can_open||n.can_close)&&(this.options.smart||t!==Ze&&t!==Qe)&&(this.delimiters={cc:t,numdelims:i,origdelims:i,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},Yz=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},zz=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},Fz=function(t){for(var e,n,i,r,o,a,c,l,s,u,d=[],f,h=!1,m=0;m<14;m++)d[m]=t;for(n=this.delimiters;n!==null&&n.previous!==t;)n=n.previous;for(;n!==null;){var y=n.cc;if(!n.can_close)n=n.next;else{switch(e=n.previous,u=!1,y){case Ze:f=0;break;case Qe:f=1;break;case Tn:f=2+(n.can_open?3:0)+n.origdelims%3;break;case Ei:f=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==d[f];){if(h=(n.can_open||e.can_close)&&n.origdelims%3!==0&&(e.origdelims+n.origdelims)%3===0,e.cc===n.cc&&e.can_open&&!h){u=!0;break}e=e.previous}if(i=n,y===Ei||y===Tn)if(!u)n=n.next;else{c=n.numdelims>=2&&e.numdelims>=2?2:1,r=e.node,o=n.node,e.numdelims-=c,n.numdelims-=c,r._literal=r._literal.slice(0,r._literal.length-c),o._literal=o._literal.slice(0,o._literal.length-c);var p=new Vt(c===1?"emph":"strong");for(l=r._next;l&&l!==o;)s=l._next,l.unlink(),p.appendChild(l),l=s;r.insertAfter(p),zz(e,n),e.numdelims===0&&(r.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(o.unlink(),a=n.next,this.removeDelimiter(n),n=a)}else y===Ze?(n.node._literal="\u2019",u&&(e.node._literal="\u2018"),n=n.next):y===Qe&&(n.node._literal="\u201D",u&&(e.node.literal="\u201C"),n=n.next);u||(d[f]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},Uz=function(){var t=this.match(wz);return t===null?null:Ti(t.slice(1,-1))},Gz=function(){var t=this.match(kz);if(t===null){if(this.peek()===Sl)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===$l&&Nl.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===Cl)this.pos+=1,n+=1;else if(i===Oi){if(n<1)break;this.pos+=1,n-=1}else{if(Tl.exec(zi(i))!==null)break;this.pos+=1}return this.pos===e&&i!==Oi||n!==0?null:(t=this.subject.slice(e,this.pos),Nn(Ti(t)))}else return Nn(Ti(t.slice(1,-1)))},Wz=function(){var t=this.match(jz);return t===null||t.length>1001?0:t.length},Kz=function(t){var e=this.pos;this.pos+=1;var n=Zt("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},Zz=function(t){var e=this.pos;if(this.pos+=1,this.peek()===Al){this.pos+=1;var n=Zt("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(Zt("!"));return!0},Qz=function(t){var e,n,i,r,o=!1,a,c;if(this.pos+=1,e=this.pos,c=this.brackets,c===null)return t.appendChild(Zt("]")),!0;if(!c.active)return t.appendChild(Zt("]")),this.removeBracket(),!0;n=c.image;var l=this.pos;if(this.peek()===Cl&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(Tl.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===Oi?(this.pos+=1,o=!0):this.pos=l),!o){var s=this.pos,u=this.parseLinkLabel();if(u>2?a=this.subject.slice(s,s+u):c.bracketAfter||(a=this.subject.slice(c.index,e)),u===0&&(this.pos=l),a){var d=this.refmap[El(a)];d&&(i=d.destination,r=d.title,o=!0)}}if(o){var f=new Vt(n?"image":"link");f._destination=i,f._title=r||"";var h,m;for(h=c.node._next;h;)m=h._next,h.unlink(),f.appendChild(h),h=m;if(t.appendChild(f),this.processEmphasis(c.previousDelimiter),this.removeBracket(),c.node.unlink(),!n)for(c=this.brackets;c!==null;)c.image||(c.active=!1),c=c.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(Zt("]")),!0},Jz=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}},tF=function(){this.brackets=this.brackets.previous},eF=function(t){var e;return(e=this.match(Az))?(t.appendChild(Zt(gl.decodeHTMLStrict(e))),!0):!1},nF=function(t){var e;return(e=this.match(Pz))?(this.options.smart?t.appendChild(Zt(e.replace(Cz,"\u2026").replace(Mz,function(n){var i=0,r=0;return n.length%3===0?r=n.length/3:n.length%2===0?i=n.length/2:n.length%3===2?(i=1,r=(n.length-2)/3):(i=2,r=(n.length-4)/3),"\u2014".repeat(r)+"\u2013".repeat(i)}))):t.appendChild(Zt(e)),!0):!1},iF=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(Oz,""),t.appendChild(new Vt(n?"linebreak":"softbreak"))}else t.appendChild(new Vt("softbreak"));return this.match(Lz),!0},rF=function(t,e){this.subject=t,this.pos=0;var n,i,r,o,a=this.pos;if(o=this.parseLinkLabel(),o===0)return 0;if(n=this.subject.slice(0,o),this.peek()===vz)this.pos++;else return this.pos=a,0;if(this.spnl(),i=this.parseLinkDestination(),i===null)return this.pos=a,0;var c=this.pos;this.spnl(),this.pos!==c&&(r=this.parseLinkTitle()),r===null&&(this.pos=c);var l=!0;if(this.match(Vo)===null&&(r===null?l=!1:(r=null,this.pos=c,l=this.match(Vo)!==null)),!l)return this.pos=a,0;var s=El(n);return s===""?(this.pos=a,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-a)},oF=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case kl:e=this.parseNewline(t);break;case $l:e=this.parseBackslash(t);break;case mz:e=this.parseBackticks(t);break;case Ei:case Tn:e=this.handleDelim(n,t);break;case Ze:case Qe:e=this.options.smart&&this.handleDelim(n,t);break;case Al:e=this.parseOpenBracket(t);break;case yz:e=this.parseBang(t);break;case gz:e=this.parseCloseBracket(t);break;case Sl:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case pz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(Zt(zi(n)))),!0},sF=function(t){for(this.subject=t._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(t););t._string_content=null,this.processEmphasis(null)};function lF(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Dz,peek:qz,spnl:Bz,parseBackticks:Vz,parseBackslash:Iz,parseAutolink:Rz,parseHtmlTag:Hz,scanDelims:_z,handleDelim:Xz,parseLinkTitle:Uz,parseLinkDestination:Gz,parseLinkLabel:Wz,parseOpenBracket:Kz,parseBang:Zz,parseCloseBracket:Qz,addBracket:Jz,removeBracket:tF,parseEntity:eF,parseString:nF,parseNewline:iF,parseReference:rF,parseInline:oF,processEmphasis:Fz,removeDelimiter:Yz,options:t||{},parse:sF}}var En=4,Ol=9,aF=10,Ll=62,cF=60,jl=32,Pl=91,uF=[/./,/^<(?: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("^(?:"+vl+"|"+xl+")\\s*$","i")],hF=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],fF=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,dF=/^[#`~*+_=<>0-9-]/,Dl=/[^ \t\f\v\r\n]/,mF=/^[*+-]/,gF=/^(\d{1,9})([.)])/,yF=/^#{1,6}(?:[ \t]+|$)/,pF=/^`{3,}(?!.*`)|^~{3,}/,vF=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,xF=/^(?:=+|-+)[ \t]*$/,bF=/\r\n|\n|\r/,wF=function(t){return!Dl.test(t)},D1=function(t){return t===jl||t===Ol},oe=function(t,e){return e<t.length?t.charCodeAt(e):-1},Io=function(t){return t.next&&t.sourcepos[1][0]!==t.next.sourcepos[0][0]-1},kF=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
|
+
`},AF=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new Vt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},SF=function(t,e){var n=t.currentLine.slice(t.nextNonspace),i,r,o,a,c={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:t.indent};if(t.indent>=4)return null;if(i=n.match(mF))c.type="bullet",c.bulletChar=i[0][0];else if((i=n.match(gF))&&(e.type!=="paragraph"||i[1]==1))c.type="ordered",c.start=parseInt(i[1]),c.delimiter=i[2];else return null;if(r=oe(t.currentLine,t.nextNonspace+i[0].length),!(r===-1||r===Ol||r===jl)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(Dl))return null;t.advanceNextNonspace(),t.advanceOffset(i[0].length,!0),o=t.column,a=t.offset;do t.advanceOffset(1,!0),r=oe(t.currentLine,t.offset);while(t.column-o<5&&D1(r));var l=oe(t.currentLine,t.offset)===-1,s=t.column-o;return s>=5||s<1||l?(c.padding=i[0].length+1,t.column=o,t.offset=a,D1(oe(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):c.padding=i[0].length+s,c},$F=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},CF=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}},MF=function(t,e){for(var n,i,r=e.walker(),o=[];n=r.next();)if(i=n.node,n.entering&&i.type==="paragraph"){for(var a,c=!1;oe(i._string_content,0)===Pl&&(a=t.inlineParser.parseReference(i._string_content,t.refmap));){const l=i._string_content.slice(0,a);i._string_content=i._string_content.slice(a),c=!0;const s=l.split(`
|
|
7
|
+
`);i.sourcepos[0][0]+=s.length-1}c&&wF(i._string_content)&&o.push(i)}for(i of o)i.unlink()},ql={document:{continue:function(){return 0},finalize:function(t,e){MF(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&&Io(n)){e._listData.tight=!1;break}for(var i=n._firstChild;i;){if(i._next&&Io(i)){e._listData.tight=!1;break}i=i._next}n=n._next}e.sourcepos[1]=e._lastChild.sourcepos[1]},canContain:function(t){return t==="item"},acceptsLines:!1},block_quote:{continue:function(t){var e=t.currentLine;if(!t.indented&&oe(e,t.nextNonspace)===Ll)t.advanceNextNonspace(),t.advanceOffset(1,!1),D1(oe(e,t.offset))&&t.advanceOffset(1,!0);else return 1;return 0},finalize:function(){},canContain:function(t){return t!=="item"},acceptsLines:!1},item:{continue:function(t,e){if(t.blank){if(e._firstChild==null)return 1;t.advanceNextNonspace()}else if(t.indent>=e._listData.markerOffset+e._listData.padding)t.advanceOffset(e._listData.markerOffset+e._listData.padding,!0);else return 1;return 0},finalize:function(t,e){e._lastChild?e.sourcepos[1]=e._lastChild.sourcepos[1]:(e.sourcepos[1][0]=e.sourcepos[0][0],e.sourcepos[1][1]=e._listData.markerOffset+e._listData.padding)},canContain:function(t){return t!=="item"},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(t,e){var n=t.currentLine,i=t.indent;if(e._isFenced){var r=i<=3&&n.charAt(t.nextNonspace)===e._fenceChar&&n.slice(t.nextNonspace).match(vF);if(r&&r[0].length>=e._fenceLength)return t.lastLineLength=t.offset+i+r[0].length,t.finalize(e,t.lineNumber),2;for(var o=e._fenceOffset;o>0&&D1(oe(n,t.offset));)t.advanceOffset(1,!0),o--}else if(i>=En)t.advanceOffset(En,!0);else if(t.blank)t.advanceNextNonspace();else return 1;return 0},finalize:function(t,e){if(e._isFenced){var n=e._string_content,i=n.indexOf(`
|
|
8
|
+
`),r=n.slice(0,i),o=n.slice(i+1);e.info=wl(r.trim()),e._literal=o}else{for(var a=e._string_content.split(`
|
|
9
|
+
`);/^[ \t]*$/.test(a[a.length-1]);)a.pop();e._literal=a.join(`
|
|
10
10
|
`)+`
|
|
11
|
-
`,e.sourcepos[1][0]=e.sourcepos[0][0]+
|
|
12
|
-
`||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=En},
|
|
13
|
-
`;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function
|
|
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}},NF=[function(t){return!t.indented&&oe(t.currentLine,t.nextNonspace)===Ll?(t.advanceNextNonspace(),t.advanceOffset(1,!1),D1(oe(t.currentLine,t.offset))&&t.advanceOffset(1,!0),t.closeUnmatchedBlocks(),t.addChild("block_quote",t.nextNonspace),1):0},function(t){var e;if(!t.indented&&(e=t.currentLine.slice(t.nextNonspace).match(yF))){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(pF))){var n=e[0].length;t.closeUnmatchedBlocks();var i=t.addChild("code_block",t.nextNonspace);return i._isFenced=!0,i._fenceLength=n,i._fenceChar=e[0][0],i._fenceOffset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}else return 0},function(t,e){if(!t.indented&&oe(t.currentLine,t.nextNonspace)===cF){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(uF[i].test(n)&&(i<7||e.type!=="paragraph"&&!(!t.allClosed&&!t.blank&&t.tip.type==="paragraph"))){t.closeUnmatchedBlocks();var r=t.addChild("html_block",t.offset);return r._htmlBlockType=i,2}}return 0},function(t,e){var n;if(!t.indented&&e.type==="paragraph"&&(n=t.currentLine.slice(t.nextNonspace).match(xF))){t.closeUnmatchedBlocks();for(var i;oe(e._string_content,0)===Pl&&(i=t.inlineParser.parseReference(e._string_content,t.refmap));)e._string_content=e._string_content.slice(i);if(e._string_content.length>0){var r=new Vt("heading",e.sourcepos);return r.level=n[0][0]==="="?1:2,r._string_content=e._string_content,e.insertAfter(r),e.unlink(),t.tip=r,t.advanceOffset(t.currentLine.length-t.offset,!1),2}else return 0}else return 0},function(t){return!t.indented&&fF.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=SF(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!$F(e._listData,n))&&(e=t.addChild("list",t.nextNonspace),e._listData=n),e=t.addChild("item",t.nextNonspace),e._listData=n,1):0},function(t){return t.indented&&t.tip.type!=="paragraph"&&!t.blank?(t.advanceOffset(En,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],TF=function(t,e){for(var n=this.currentLine,i,r,o;t>0&&(o=n[this.offset]);)o===" "?(i=4-this.column%4,e?(this.partiallyConsumedTab=i>t,r=i>t?t:i,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,t-=r):(this.partiallyConsumedTab=!1,this.column+=i,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},EF=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},OF=function(){for(var t=this.currentLine,e=this.offset,n=this.column,i;(i=t.charAt(e))!=="";)if(i===" ")e++,n++;else if(i===" ")e++,n+=4-n%4;else break;this.blank=i===`
|
|
12
|
+
`||i==="\r"||i==="",this.nextNonspace=e,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=En},LF=function(t){var e=!0,n,i=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,t.indexOf("\0")!==-1&&(t=t.replace(/\0/g,"\uFFFD")),this.currentLine=t;for(var r;(r=i._lastChild)&&r._open;){switch(i=r,this.findNextNonspace(),this.blocks[i.type].continue(this,i)){case 0:break;case 1:e=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!e){i=i._parent;break}}this.allClosed=i===this.oldtip,this.lastMatchedContainer=i;for(var o=i.type!=="paragraph"&&ql[i.type].acceptsLines,a=this.blockStarts,c=a.length;!o;){if(this.findNextNonspace(),!this.indented&&!dF.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var l=0;l<c;){var s=a[l](this,i);if(s===1){i=this.tip;break}else if(s===2){i=this.tip,o=!0;break}else l++}if(l===c){this.advanceNextNonspace();break}}!this.allClosed&&!this.blank&&this.tip.type==="paragraph"?this.addLine():(this.closeUnmatchedBlocks(),n=i.type,this.blocks[n].acceptsLines?(this.addLine(),n==="html_block"&&i._htmlBlockType>=1&&i._htmlBlockType<=5&&hF[i._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(i,this.lineNumber))):this.offset<t.length&&!this.blank&&(i=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())),this.lastLineLength=t.length},jF=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},PF=function(t){var e,n,i,r=t.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=r.next();)e=n.node,i=e.type,!n.entering&&(i==="paragraph"||i==="heading")&&this.inlineParser.parse(e)},Bl=function(){var t=new Vt("document",[[1,1],[0,0]]);return t},DF=function(t){this.doc=new Bl,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(bF),n=e.length;t.charCodeAt(t.length-1)===aF&&(n-=1),this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var i=0;i<n;i++)this.incorporateLine(e[i]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc};function qF(t){return{doc:new Bl,blocks:ql,blockStarts:NF,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new lF(t),findNextNonspace:OF,advanceOffset:TF,advanceNextNonspace:EF,addLine:kF,addChild:AF,incorporateLine:LF,finalize:jF,processInlines:PF,closeUnmatchedBlocks:CF,parse:DF,options:t||{}}}function t1(){}function BF(t){var e=t.walker(),n,i;for(this.buffer="",this.lastOut=`
|
|
13
|
+
`;n=e.next();)i=n.node.type,this[i]&&this[i](n.node,n.entering);return this.buffer}function VF(t){this.buffer+=t,this.lastOut=t}function IF(){this.lastOut!==`
|
|
14
14
|
`&&this.lit(`
|
|
15
|
-
`)}function
|
|
15
|
+
`)}function RF(t){this.lit(t)}function HF(t){return t}t1.prototype.render=BF;t1.prototype.out=RF;t1.prototype.lit=VF;t1.prototype.cr=IF;t1.prototype.esc=HF;var _F=/^javascript:|vbscript:|file:|data:/i,XF=/^data:image\/(?:png|gif|jpeg|webp)/i,Vl=function(t){return _F.test(t)&&!XF.test(t)};function YF(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var i=0,r;(r=e[i])!==void 0;)this.buffer+=" "+r[0]+'="'+r[1]+'"',i++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function Mt(t){t=t||{},t.softbreak=t.softbreak||`
|
|
16
16
|
`,this.esc=t.esc||Rn,this.disableTags=0,this.lastOut=`
|
|
17
|
-
`,this.options=t}function
|
|
18
|
-
`,this.indentLevel=0,this.indent=" ",this.esc=t.esc||Rn,this.options=t}function
|
|
17
|
+
`,this.options=t}function zF(t){this.out(t.literal)}function FF(){this.lit(this.options.softbreak)}function UF(){this.tag("br",[],!0),this.cr()}function GF(t,e){var n=this.attrs(t);e?(this.options.safe&&Vl(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 WF(t,e){e?(this.disableTags===0&&(this.options.safe&&Vl(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 KF(t,e){this.tag(e?"em":"/em")}function ZF(t,e){this.tag(e?"strong":"/strong")}function QF(t,e){var n=t.parent.parent,i=this.attrs(t);n!==null&&n.type==="list"&&n.listTight||(e?(this.cr(),this.tag("p",i)):(this.tag("/p"),this.cr()))}function JF(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function tU(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function eU(t){var e=t.info?t.info.split(/\s+/):[],n=this.attrs(t);if(e.length>0&&e[0].length>0){var i=this.esc(e[0]);/^language-/.exec(i)||(i="language-"+i),n.push(["class",i])}this.cr(),this.tag("pre"),this.tag("code",n),this.out(t.literal),this.tag("/code"),this.tag("/pre"),this.cr()}function nU(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function iU(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function rU(t,e){var n=t.listType==="bullet"?"ul":"ol",i=this.attrs(t);if(e){var r=t.listStart;r!==null&&r!==1&&i.push(["start",r.toString()]),this.cr(),this.tag(n,i),this.cr()}else this.cr(),this.tag("/"+n),this.cr()}function oU(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function sU(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function lU(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function aU(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function cU(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function uU(t){this.lit(this.esc(t))}function hU(t){var e=[];if(this.options.sourcepos){var n=t.sourcepos;n&&e.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return e}Mt.prototype=Object.create(t1.prototype);Mt.prototype.text=zF;Mt.prototype.html_inline=sU;Mt.prototype.html_block=lU;Mt.prototype.softbreak=FF;Mt.prototype.linebreak=UF;Mt.prototype.link=GF;Mt.prototype.image=WF;Mt.prototype.emph=KF;Mt.prototype.strong=ZF;Mt.prototype.paragraph=QF;Mt.prototype.heading=JF;Mt.prototype.code=tU;Mt.prototype.code_block=eU;Mt.prototype.thematic_break=nU;Mt.prototype.block_quote=iU;Mt.prototype.list=rU;Mt.prototype.item=oU;Mt.prototype.custom_inline=aU;Mt.prototype.custom_block=cU;Mt.prototype.esc=Rn;Mt.prototype.out=uU;Mt.prototype.tag=YF;Mt.prototype.attrs=hU;var fU=/\<[^>]*\>/;function dU(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function b1(t){t=t||{},this.disableTags=0,this.lastOut=`
|
|
18
|
+
`,this.indentLevel=0,this.indent=" ",this.esc=t.esc||Rn,this.options=t}function mU(t){this.buffer="";var e,n,i=t.walker(),r,o,a,c,l,s,u=this.options;for(u.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
|
|
19
19
|
`,this.buffer+=`<!DOCTYPE document SYSTEM "CommonMark.dtd">
|
|
20
|
-
`;r=i.next();)if(
|
|
21
|
-
`,this.buffer}function
|
|
20
|
+
`;r=i.next();)if(a=r.entering,o=r.node,s=o.type,c=o.isContainer,l=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=dU(s),a){switch(e=[],s){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":o.listType!==null&&e.push(["type",o.listType.toLowerCase()]),o.listStart!==null&&e.push(["start",String(o.listStart)]),o.listTight!==null&&e.push(["tight",o.listTight?"true":"false"]);var d=o.listDelimiter;if(d!==null){var f="";d==="."?f="period":f="paren",e.push(["delimiter",f])}break;case"code_block":o.info&&e.push(["info",o.info]);break;case"heading":e.push(["level",String(o.level)]);break;case"link":case"image":e.push(["destination",o.destination]),e.push(["title",o.title]);break;case"custom_inline":case"custom_block":e.push(["on_enter",o.onEnter]),e.push(["on_exit",o.onExit]);break}if(u.sourcepos){var h=o.sourcepos;h&&e.push(["sourcepos",String(h[0][0])+":"+String(h[0][1])+"-"+String(h[1][0])+":"+String(h[1][1])])}if(this.cr(),this.out(this.tag(n,e,l)),c)this.indentLevel+=1;else if(!c&&!l){var m=o.literal;m&&this.out(this.esc(m)),this.out(this.tag("/"+n))}}else this.indentLevel-=1,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+=`
|
|
21
|
+
`,this.buffer}function gU(t){this.disableTags>0?this.buffer+=t.replace(fU,""):this.buffer+=t,this.lastOut=t}function yU(){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
|
|
25
|
-
`}),d=!0;else if(h==="html_inline"){const A=m;if(A.includes("color=")){const T=A.match(/color=(['"])(.*?)\1/i)?.[2]??A.match(/color=(\S*)/)?.[1];T&&a.push({fill:T})}else A.includes("</font>")?a.pop():A.includes("<sup>")?(u-=.4*b,s.push(b*.7)):A.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):A.includes("<sub>")?(u+=.25*b,s.push(b*.7)):A.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&a.pop()}return c});return(l,c)=>(P(),I("text",J({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(P(),I("title",oU,zt(t.title),1)):Ot("",!0),c[0]||(c[0]=dt()),(P(!0),I(lt,null,ut(o.value,a=>(P(),I("tspan",J({ref_for:!0},a.vbind),zt(a.text),17))),256))],16,rU))}},Nl={__name:"CoreAxisLabel",props:{type:String,value:null,getPosition:Function},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick"],setup(t,{emit:e}){const n=e,i={pointerdown(r){n("pointerdown",r,t.getPosition(r),t.value)},pointerup(r){n("pointerup",r,t.getPosition(r),t.value)},pointerover(r){n("pointerover",r,t.getPosition(r),t.value)},pointerout(r){n("pointerout",r,t.getPosition(r),t.value)},pointerenter(r){n("pointerenter",r,t.getPosition(r),t.value)},pointerleave(r){n("pointerleave",r,t.getPosition(r),t.value)},dblclick(r){n("dblclick",r,t.getPosition(r),t.value)},click(r){n("click",r,t.getPosition(r),t.value)},singleclick(r){n("singleclick",r,t.getPosition(r),t.value)},contextmenu(r){n("contextmenu",r,t.getPosition(r),t.value)},pointermove(r){n("pointermove",r,t.getPosition(r),t.value)},wheel(r){n("wheel",r,t.getPosition(r),t.value)}};return(r,o)=>t.type=="markdown"?(P(),bt(I1,J({key:0},Tt(i)),null,16)):(P(),bt(B1,J({key:1},Tt(i)),null,16))}},sU=["transform"],lU=["x2"],aU={class:"vvplot-interactive",fill:"transparent"},cU=["width","cursor"],uU={key:1,class:"vvplot-interactive",fill:"transparent"},hU=["x"],fU={__name:"CoreAxisH",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=N1("rangePreview"),o=X(()=>{let g=0,p={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=i.value*(1-p.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+p}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,k=t.theme.title_dock_x,v=t.theme.title_dock_y,w=0;return typeof g!="number"&&(p={left:0,bottom:.5,top:.5,right:1}[g]??.5,k??={left:1,right:0}[g]??.5,v??={top:0,bottom:1}[g]??.5,w=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*p,y:w,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}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let p of t.ticks){let{value:k,theme:v}=p,w=t.coord2pos({h:k}).h,D=w*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(w+=t.layout.l,w+D<0||w+D>n.value)continue;let j=(v.tick_position=="top"?-1:1)*v.tick_length;g.push({key:"line-"+k,y1:0,y2:j,x1:w,x2:w,stroke:v.tick_color,"stroke-width":v.tick_width,transform:D?`translate(${D},0)`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,k)=>p.x1-k.x1)}),s=X(()=>{let g=[];for(let p of t.ticks){let{type:k,value:v,label:w,title:D,theme:j,...U}=p,Y=(j.label_position??j.tick_position)=="top",z=t.coord2pos({h:v}).h,V=z*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(z+=t.layout.l,z+V<0||z+V>n.value)continue;let H=(Y?-1:1)*(j.label_offset??j.tick_length),F,et,Q,W;j.label_anchor_x!=null||j.label_anchor_y!=null?(F=j.label_anchor_x??.5,et=j.label_anchor_y??(Y?0:1)):(Q=j.label_dock_x??.5,W=j.label_dock_y??(Y?0:1)),g.push({wrapper:{key:"text-"+v,transform:V?`translate(${V},0)`:null,style:{transition:t.transition}},text:{x:z,y:H,angle:j.label_angle,anchorX:F,anchorY:et,dockX:Q,dockY:W,type:j.label_type,text:w,title:D??w,fontSize:j.label_size,fill:j.label_color,"font-family":"sans-serif",value:v,...U}})}return g.filter(p=>p.text.fill!=null).sort((p,k)=>p.text.x-k.text.x)}),u=qt("i");function d(g){let p=u.value.getBoundingClientRect(),k=p.width/u.value.getBBox().width,v=g.clientX-p.left,w=v/k-t.layout.left,D=t.layout.left+t.layout.width-v/k,j={l:w,r:D},{x:U,y:Y}=t.pos2coord({h:w});return U&&(j.x=U),Y&&(j.y=Y),j}const f=e;let h,m=0;function y(g){let p=d(g);f("pointerdown",g,p);let k=!1;function v(V){(Math.abs(V.screenX-g.screenX)>3||Math.abs(V.screenY-g.screenY)>3)&&(k=!0,V.currentTarget.removeEventListener("pointermove",v))}g.target.addEventListener("pointermove",v,{passive:!0});let w=t.action.find(V=>V.action=="move");if(!w)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let D=0,j=t.layout.width,U=t.coord2pos(w),z=u.value.getBoundingClientRect().width/u.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=V=>{if(m+=V.movementX,!k)return;let H=yt(-m/z,{min:U.hmin-D,max:U.hmax-j}),{xmin:F,xmax:et,ymin:Q,ymax:W}=t.pos2coord({hmin:D+H,hmax:j+H});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:W})},g.target.onpointerup=V=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,k&&(h=setTimeout(()=>{C(w,V),m=0},300))}}function b(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":k=0}=p,v=d(g),w=t.coord2pos(v).h,D=w-v.l,j=w+v.r,U=t.pos2coord({hmin:D,hmax:j}),Y={min:t.coord2pos(p).hmin,max:t.coord2pos({hmin:U.hmax-k,hmax:U.hmin+k}).hmin},V=u.value.getBoundingClientRect().width/u.value.getBBox().width,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementX;let{xmin:et,xmax:Q,ymin:W,ymax:Z}=t.pos2coord({hmin:yt(j-(j-D)*v.r/Math.max(v.r-H/V,1),Y),hmax:j});Object.assign(r,{xmin:et,xmax:Q,ymin:W,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,C(p,F)}}function A(g){let p=t.action.find(H=>H.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":k=0}=p,v=d(g),w=t.coord2pos(v).h,D=w-v.l,j=w+v.r,U=t.pos2coord({hmin:D,hmax:j}),Y={min:t.coord2pos({hmin:U.hmax-k,hmax:U.hmin+k}).hmax,max:t.coord2pos(p).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let V=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=H=>{V+=H.movementX;let{xmin:F,xmax:et,ymin:Q,ymax:W}=t.pos2coord({hmin:D,hmax:yt(D+(j-D)*v.l/Math.max(v.l+V,1),Y)});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:W})},g.target.onpointerup=H=>{g.target.onpointermove=null,g.target.onpointerup=null,C(p,H)}}let T=0,S;function $(g){let p=d(g);f("wheel",g,p);let k=t.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(w=>v[w]==g[w]));k&&(S=clearTimeout(S),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),T+=g.deltaY,E(k,p,T),S=setTimeout(()=>{C(k,g),T=0},300))}function E(g,p,k){if(g.action=="zoom"){let{"min-range-h":v=0,sensitivity:w=1.25}=g,D=w**(k/100),j=t.coord2pos(g),U=Math.max(p.l-Math.max(p.l,0)*D,j.hmin??-1/0),Y=Math.min(p.l+Math.max(p.r,0)*D,j.hmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:V}=t.pos2coord({hmin:U,hmax:Y});if(D<1&&V-z<v){let H=(V+z)/2;z=H-v/2,V=H+v/2}r[t.coord+"min"]=z,r[t.coord+"max"]=V}if(g.action=="nudge"){let{sensitivity:v=.1}=g,w=t.coord2pos(g),D=0,j=t.layout.width,U=v*t.layout.width*(-k/120),Y=yt(-U,{min:w.hmin-D,max:w.hmax-j}),{xmin:z,xmax:V,ymin:H,ymax:F}=t.pos2coord({hmin:D+Y,hmax:j+Y});Object.assign(r,{xmin:z,xmax:V,ymin:H,ymax:F})}}function C(g,p){let k=_t(r)??{};if(!Object.keys(k).length)return;let v=new PointerEvent(p.type,p);Be(g.emit,k,v)||f(g.action,k,v),f("rangechange",k),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:$};return(g,p)=>(P(),I("g",{transform:o.value,style:D1({transition:t.transition})},[c.value.stroke!=null?(P(),I("line",J({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,lU)):Ot("",!0),p[1]||(p[1]=dt()),(P(!0),I(lt,null,ut(a.value,k=>(P(),I("line",J({ref_for:!0},k),null,16))),256)),p[2]||(p[2]=dt()),(P(!0),I(lt,null,ut(s.value,k=>(P(),I("g",J({ref_for:!0},k.wrapper),[re(Nl,J({ref_for:!0},k.text,{getPosition:d}),null,16)],16))),256)),p[3]||(p[3]=dt()),Nt("g",aU,[Nt("rect",J({width:n.value,height:10,y:-5},Tt(L,!0),{onPointerdown:y,cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,cU)]),p[4]||(p[4]=dt()),t.action.some?.(k=>k.action=="rescale")?(P(),I("g",uU,[Nt("rect",J({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},Tt(L,!0),{onPointerdown:b}),null,16),p[0]||(p[0]=dt()),Nt("rect",J({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},Tt(L,!0),{onPointerdown:A}),null,16,hU)])):Ot("",!0),p[5]||(p[5]=dt()),l.value.text?(P(),I(lt,{key:2},[t.theme.title_type=="markdown"?(P(),bt(I1,se(J({key:0},l.value)),null,16)):(P(),bt(B1,se(J({key:1},l.value)),null,16))],64)):Ot("",!0)],12,sU))}},dU=["transform"],mU=["y2"],gU={class:"vvplot-interactive",fill:"transparent"},yU=["height","cursor"],pU={key:1,class:"vvplot-interactive",fill:"transparent"},vU=["y"],xU={__name:"CoreAxisV",props:{coord:String,ticks:{type:Array,default:()=>[]},title:String,coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Array,default:()=>[]},position:null,activeTransform:Object,transition:String},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick","move","zoom","rescale","nudge","rangechange","update:transition"],setup(t,{emit:e}){const n=X(()=>t.layout.width+t.layout.l+t.layout.r),i=X(()=>t.layout.height+t.layout.t+t.layout.b),r=N1("rangePreview"),o=X(()=>{let g=0,p={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof p=="string"&&p.endsWith("%")?g=n.value*p.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+p}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),l=X(()=>{let g=t.theme.title_position??t.theme.tick_position,p=g,k=t.theme.title_dock_x,v=t.theme.title_dock_y,w=0;return typeof g!="number"&&(p={bottom:0,left:.5,right:.5,top:1}[g]??.5,k??={left:1,right:0}[g]??.5,v??={top:0,bottom:1}[g]??.5,w=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:w,y:i.value*(1-p),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}}),c=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),a=X(()=>{let g=[];for(let p of t.ticks){let{value:k,theme:v}=p,w=t.coord2pos({v:k}).v,D=w*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(w+=t.layout.t,w+D<0||w+D>i.value)continue;let j=(v.tick_position=="right"?1:-1)*v.tick_length;g.push({key:"line-"+p.value,y1:w,y2:w,x1:0,x2:j,stroke:p.color??v.tick_color,"stroke-width":p.width??v.tick_width,transform:D?`translate(0,${D})`:null,style:{transition:t.transition}})}return g.filter(p=>p.stroke!=null).sort((p,k)=>p.y1-k.y1)}),s=X(()=>{let g=[];for(let p of t.ticks){let{type:k,value:v,label:w,title:D,theme:j,...U}=p,Y=(j.label_position??j.tick_position)=="right",z=t.coord2pos({v}).v,V=z*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(z+=t.layout.t,z+V<0||z+V>i.value)continue;let H=(Y?1:-1)*((j.label_offset??j.tick_length)+3),F,et,Q,W;j.label_anchor_x!=null||j.label_anchor_y!=null?(F=j.label_anchor_x??(Y?0:1),et=j.label_anchor_y??.5):(Q=j.label_dock_x??(Y?0:1),W=j.label_dock_y??.5),g.push({wrapper:{key:"text-"+v,transform:V?`translate(0,${V})`:null,style:{transition:t.transition}},text:{y:z,x:H,angle:j.label_angle,anchorX:F,anchorY:et,dockX:Q,dockY:W,type:j.label_type,text:w,title:D??w,fontSize:j.label_size,fill:j.label_color,"font-family":"sans-serif",value:v,...U}})}return g.filter(p=>p.text.fill!=null).sort((p,k)=>p.text.y-k.text.y)}),u=qt("i");function d(g){let p=u.value.getBoundingClientRect(),k=p.height/u.value.getBBox().height,v=g.clientY-p.top,w=v/k-t.layout.top,D=t.layout.top+t.layout.height-v/k,j={t:w,b:D},{x:U,y:Y}=t.pos2coord({v:w});return U&&(j.x=U),Y&&(j.y=Y),j}const f=e;let h,m=0;function y(g){let p=d(g);f("pointerdown",g,p);let k=!1;function v(V){(Math.abs(V.screenX-g.screenX)>3||Math.abs(V.screenY-g.screenY)>3)&&(k=!0,V.currentTarget.removeEventListener("pointermove",v))}g.target.addEventListener("pointermove",v,{passive:!0});let w=t.action.find(V=>V.action=="move");if(!w)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let D=0,j=t.layout.height,U=t.coord2pos(w),z=u.value.getBoundingClientRect().height/u.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=V=>{if(m+=V.movementY,!k)return;let H=yt(-m/z,{min:U.vmin-D,max:U.vmax-j}),{xmin:F,xmax:et,ymin:Q,ymax:W}=t.pos2coord({vmin:D+H,vmax:j+H});Object.assign(r,{xmin:F,xmax:et,ymin:Q,ymax:W})},g.target.onpointerup=V=>{g.target.onpointermove=null,g.target.onpointerup=null,g.target.style.cursor=null,k&&(h=setTimeout(()=>{C(w,V),m=0},300))}}function b(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":k=0}=p,v=d(g),w=t.coord2pos(v).v,D=w-v.t,j=w+v.b,U=t.pos2coord({vmin:D,vmax:j}),Y={min:t.coord2pos(p).vmin,max:t.coord2pos({vmin:U.vmax-k,vmax:U.vmin+k}).vmin},V=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementY;let{xmin:et,xmax:Q,ymin:W,ymax:Z}=t.pos2coord({vmin:yt(j-(j-D)*v.b/Math.max(v.b-H/V,1),Y),vmax:j});Object.assign(r,{xmin:et,xmax:Q,ymin:W,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,C(p,F)}}function A(g){let p=t.action.find(F=>F.action=="rescale");if(!p)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":k=0}=p,v=d(g),w=t.coord2pos(v).v,D=w-v.t,j=w+v.b,U=t.pos2coord({vmin:D,vmax:j}),Y={min:t.coord2pos({vmin:U.vmax-k,vmax:U.vmin+k}).vmax,max:t.coord2pos(p).vmax},V=u.value.getBoundingClientRect().height/u.value.getBBox().height,H=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{H+=F.movementY;let{xmin:et,xmax:Q,ymin:W,ymax:Z}=t.pos2coord({vmin:D,vmax:yt(D+(j-D)*v.t/Math.max(v.t+H/V,1),Y)});Object.assign(r,{xmin:et,xmax:Q,ymin:W,ymax:Z})},g.target.onpointerup=F=>{g.target.onpointermove=null,g.target.onpointerup=null,C(p,F)}}let T=0,S;function $(g){let p=d(g);f("wheel",g,p);let k=t.action.find(v=>["zoom","nudge"].includes(v.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(w=>v[w]==g[w]));k&&(S=clearTimeout(S),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),T+=g.deltaY,E(k,p,T),S=setTimeout(()=>{C(k,g),T=0},300))}function E(g,p,k){if(g.action=="zoom"){let{"min-range-v":v=0,sensitivity:w=1.25}=g,D=w**(k/100),j=t.coord2pos(g),U=Math.max(p.t-Math.max(p.t,0)*D,j.vmin??-1/0),Y=Math.min(p.t+Math.max(p.b,0)*D,j.vmax??1/0),{[t.coord+"min"]:z,[t.coord+"max"]:V}=t.pos2coord({vmin:U,vmax:Y});if(D<1&&V-z<v){let H=(V+z)/2;z=H-v/2,V=H+v/2}r[t.coord+"min"]=z,r[t.coord+"max"]=V}if(g.action=="nudge"){let{sensitivity:v=.1}=g,w=t.coord2pos(g),D=0,j=t.layout.height,U=v*t.layout.height*(-k/120),Y=yt(-U,{min:w.vmin-D,max:w.vmax-j}),{xmin:z,xmax:V,ymin:H,ymax:F}=t.pos2coord({vmin:D+Y,vmax:j+Y});Object.assign(r,{xmin:z,xmax:V,ymin:H,ymax:F})}}function C(g,p){let k=_t(r)??{};if(!Object.keys(k).length)return;let v=new PointerEvent(p.type,p);Be(g.emit,k,v)||f(g.action,k,v),f("rangechange",k),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:$};return(g,p)=>(P(),I("g",{transform:o.value,style:D1({transition:t.transition})},[c.value.stroke!=null?(P(),I("line",J({key:0,ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,mU)):Ot("",!0),p[1]||(p[1]=dt()),(P(!0),I(lt,null,ut(a.value,k=>(P(),I("line",J({ref_for:!0},k),null,16))),256)),p[2]||(p[2]=dt()),(P(!0),I(lt,null,ut(s.value,k=>(P(),I("g",J({ref_for:!0},k.wrapper),[re(Nl,J({ref_for:!0},k.text,{getPosition:d}),null,16)],16))),256)),p[3]||(p[3]=dt()),Nt("g",gU,[Nt("rect",J({width:10,height:i.value,x:-5},Tt(L,!0),{onPointerdown:y,cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,yU)]),p[4]||(p[4]=dt()),t.action.some?.(k=>k.action=="rescale")?(P(),I("g",pU,[Nt("rect",J({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},Tt(L,!0),{onPointerdown:b}),null,16),p[0]||(p[0]=dt()),Nt("rect",J({width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"}},Tt(L,!0),{onPointerdown:A}),null,16,vU)])):Ot("",!0),p[5]||(p[5]=dt()),l.value.text?(P(),I(lt,{key:2},[t.theme.title_type=="markdown"?(P(),bt(I1,se(J({key:0},l.value)),null,16)):(P(),bt(B1,se(J({key:1},l.value)),null,16))],64)):Ot("",!0)],12,dU))}},$o={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:fU,v:xU};return(n,i)=>t.position!="none"?(P(),bt(Xe(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Ot("",!0)}},bU={__name:"CoreGridH",props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="major")continue;let a=t.coord2pos({v:c.value}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+s<0||a+s>n.value)&&l.push({key:"major-"+c.value,x1:0,x2:e.value,y1:a,y2:a,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="minor")continue;let a=t.coord2pos({v:c.value}).v;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;a+=t.layout.t,!(a+s<0||a+s>n.value)&&l.push({key:"minor-"+c.value,x1:0,x2:e.value,y1:a,y2:a,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.y1-c.y1));return(l,c)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(o.value,a=>(P(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},wU={__name:"CoreGridV",props:{breaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="major")continue;let a=t.coord2pos({h:c.value}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+s<0||a+s>e.value)&&l.push({key:"major-"+c.value,y1:0,y2:n.value,x1:a,x2:a,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),r=X(()=>{let l=[];for(let c of t.breaks){if(c.type!="minor")continue;let a=t.coord2pos({h:c.value}).h;if(isNaN(a))continue;let s=a*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;a+=t.layout.l,!(a+s<0||a+s>e.value)&&l.push({key:"minor-"+c.value,y1:0,y2:n.value,x1:a,x2:a,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(c=>c.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,c)=>l.x1-c.x1));return(l,c)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(o.value,a=>(P(),I("line",J({ref_for:!0},a,{style:{transition:t.transition}}),null,16))),256))]))}},kU={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,xmin:m,xmax:y,y:b,ymin:A,ymax:T,lwisker:S,Q1:$,median:E,Q3:C,uwisker:L,outliers:g,$xmin:p,$xmax:k,$ymin:v,$ymax:w,fill:D="white",color:j="black",linewidth:U=1,linetype:Y,alpha:z,"translate-x":V=0,"translate-y":H=0,$raw:F}of f){const{hmin:et,hmax:Q,vmin:W,vmax:Z}=t.coord2pos(h==null?{ymin:A,ymax:T,xmin:$,xmax:C}:{xmin:m,xmax:y,ymin:$,ymax:C}),{h:ot,v:st}=t.coord2pos(h==null?{y:b,x:S}:{x:h,y:S}),{h:pt,v:Qt}=t.coord2pos(h==null?{y:b,x:L}:{x:h,y:L}),{h:le,v:ie}=t.coord2pos(h==null?{y:A,x:E}:{x:m,y:E}),{h:te,v:ve}=t.coord2pos(h==null?{y:T,x:E}:{x:y,y:E}),{h:O,v:q}=t.coord2pos(h==null?{y:A*.25+T*.75,x:L}:{x:m*.25+y*.75,y:L}),{h:B,v:_}=t.coord2pos(h==null?{y:A*.75+T*.25,x:L}:{x:m*.75+y*.25,y:L}),{h:x,v:M}=t.coord2pos(h==null?{y:A*.25+T*.75,x:S}:{x:m*.25+y*.75,y:S}),{h:N,v:R}=t.coord2pos(h==null?{y:A*.75+T*.25,x:S}:{x:m*.75+y*.25,y:S});s.globalAlpha=z,s.setLineDash(Ht(Y));const G=new Path2D;G.moveTo(ot+V,st+H),G.lineTo(pt+V,Qt+H);const tt=new Path2D;tt.moveTo(O+V,q+H),tt.lineTo(B+V,_+H),tt.moveTo(x+V,M+H),tt.lineTo(N+V,R+H);const at=new Path2D;at.rect(et+V,W+H,Q-et,Z-W),u.set(at,F);const it=new Path2D;it.moveTo(le+V,ie+H),it.lineTo(te+V,ve+H),j!=null&&j!=="none"&&(s.strokeStyle=j,s.lineWidth=U,s.stroke(G),s.stroke(tt)),D!=="none"&&(s.fillStyle=D,s.fill(at)),j!=null&&j!=="none"&&(s.stroke(at),s.lineWidth=U*2,s.stroke(it));for(let{x:kt,y:wt,$raw:ht}of g){const{h:ct,v:nt}=t.coord2pos({x:kt,y:wt}),rt=new Path2D;rt.arc(ct+V,nt+H,2,0,Math.PI*2),j!=null&&j!=="none"&&(s.fillStyle=j,s.fill(rt)),u.set(rt,ht)}}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},To={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{points:m,fill:y,color:b,linewidth:A,linetype:T,alpha:S,"translate-x":$=0,"translate-y":E=0,$raw:C,interpolate:L}of h){if(m=m.map(v=>(({h:w,v:D})=>({x:w,y:D}))(t.coord2pos(v))).filter(v=>v.x!=null&&v.y!=null),m.length===0)continue;const g=new Path2D;let k=(typeof L=="function"?L:a[L]??An)(g);k.lineStart();for(let v=0;v<m.length;v++)k.point(m[v].x+$,m[v].y+E);k.lineEnd(),d.set(g,C),u.lineWidth=A,u.globalAlpha=S,u.setLineDash(Ht(T)),y!=="none"&&(u.fillStyle=y,u.fill(g)),b!=null&&b!=="none"&&(u.strokeStyle=b,u.stroke(g))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,S]of f)if(u.isPointInPath(T,b,A)){r(h,m,t.getCoord(m),S),m._vhandled=!0;break}});return s});Ct(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const a={cardinal:Hs,cardinalClosed:Xs,catmullRom:zs,catmullRomClosed:Us,linear:Hi,linearClosed:Ws,natural:An};return(s,u)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},AU={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{cx:h,cy:m,A:y,B:b,C:A,fill:T,color:S,linewidth:$,linetype:E,alpha:C,"translate-x":L=0,"translate-y":g=0,$raw:p}of f){let k=Math.sqrt(A/(y*A-b*b)),v=Math.sqrt(y/(y*A-b*b));const{h:w,v:D}=t.coord2pos({x:h,y:m});let{h:j,v:U}=t.coord2pos({x:h-k,y:m-v}),{h:Y,v:z}=t.coord2pos({x:h+k,y:m+v}),V=(Y-j)/(2*k),H=(z-U)/(2*v);y/=V*V,b/=V*H,A/=H*H;const F=y+A,et=y*A-b*b,Q=Math.sqrt(Math.max(0,F*F/4-et));let W=1/Math.sqrt(F/2+Q),Z=1/Math.sqrt(F/2-Q),ot=Math.atan2(2*b,y-A)/2;const st=new Path2D;st.ellipse(w+L,D+g,W,Z,ot,0,2*Math.PI),u.set(st,p),s.lineWidth=$,s.globalAlpha=C,s.setLineDash(Ht(E)),T!=="none"&&(s.fillStyle=T,s.fill(st)),S!=null&&S!=="none"&&(s.strokeStyle=S,s.stroke(st))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},Eo={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,xend:y,yend:b,color:A="black",linewidth:T,alpha:S,linetype:$,"translate-x":E=0,"translate-y":C=0,$raw:L}of f){const{h:g,v:p}=t.coord2pos({x:h,y:m}),{h:k,v}=t.coord2pos({x:y,y:b}),w=new Path2D;w.moveTo(g+E,p+C),w.lineTo(k+E,v+C),u.set(w,L),s.lineWidth=T,s.globalAlpha=S,s.setLineDash(Ht($)),A!=null&&A!=="none"&&(s.strokeStyle=A,s.stroke(w))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},SU={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,cross:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`,arrowhead:s=>`M0,0L${s},${-s*.38}V${s*.38}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),c=qt("container"),a=X(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.style.width=l.value.width+"px",s.style.height=l.value.height+"px",s.width=l.value.width*t.dpi/96,s.height=l.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,y,size:b=6,shape:A,color:T,stroke:S,linewidth:$,linetype:E,alpha:C,"translate-x":L=0,"translate-y":g=0,angle:p=0,$raw:k}of h){const{h:v,v:w}=t.coord2pos({x:m,y});if(typeof p=="object"){let{dx:j=0,dy:U=0}=p,{h:Y,v:z}=t.coord2pos({x:m+j,y:y+U});p=Math.atan2(z-w,Y-v)*180/Math.PI}const D=new Path2D;String(A).startsWith("path:")?D.addPath(new Path2D(A.slice(5)),new DOMMatrix().translateSelf(v+L,w+g).rotate(p)):A in o?D.addPath(new Path2D(o[A](b)),new DOMMatrix().translate(v+L,w+g).rotate(p)):D.arc(v+L,w+g,b/2,0,Math.PI*2),d.set(D,k),u.lineWidth=$,u.globalAlpha=C,u.beginPath(),T!=="none"&&(u.fillStyle=T,u.fill(D)),S!=null&&S!=="none"&&(u.strokeStyle=S,u.setLineDash(Ht(E)),u.stroke(D))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,S]of f)if(u.isPointInPath(T,b,A)){r(h,m,t.getCoord(m),S),m._vhandled=!0;break}});return s});return Ct(a,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)}),(s,u)=>(P(),I("foreignObject",J(l.value,{ref:"container"}),null,16))}},CU={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{points:h,fill:m,color:y,linewidth:b,linetype:A,alpha:T,"translate-x":S=0,"translate-y":$=0,$raw:E}of f){if(h=h.map(L=>(({h:g,v:p})=>({x:g,y:p}))(t.coord2pos(L))).filter(L=>L.x!=null&&L.y!=null),h.length===0)continue;const C=new Path2D;C.moveTo(h[0].x+S,h[0].y+$);for(let L=1;L<h.length;L++)C.lineTo(h[L].x+S,h[L].y+$);C.closePath(),u.set(C,E),s.lineWidth=b,s.globalAlpha=T,s.setLineDash(Ht(A)),m!=="none"&&(s.fillStyle=m,s.fill(C)),y!=null&&y!=="none"&&(s.strokeStyle=y,s.stroke(C))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},Lo={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{xmin:h,xmax:m,ymin:y,ymax:b,fill:A,color:T,linewidth:S,linetype:$,alpha:E,"translate-x":C=0,"translate-y":L=0,$raw:g}of f){const{hmin:p,hmax:k,vmin:v,vmax:w}=t.coord2pos({xmin:h,xmax:m,ymin:y,ymax:b}),D=new Path2D;D.rect(p+C,v+L,k-p,w-v),u.set(D,g),s.lineWidth=S,s.globalAlpha=E,s.setLineDash(Ht($)),A!=="none"&&(s.fillStyle=A,s.fill(D)),T!=="none"&&T!=null&&(s.strokeStyle=T,s.stroke(D))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},MU={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const a=document.createElement("canvas");a.style.width=o.value.width+"px",a.style.height=o.value.height+"px",a.width=o.value.width*t.dpi/96,a.height=o.value.height*t.dpi/96;const s=a.getContext("2d");s.clearRect(0,0,a.width,a.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(const f of t.data)for(let{x:h,y:m,color:y,size:b=4,label:A="",title:T,stroke:S,linewidth:$,linetype:E,alpha:C,"anchor-x":L,"anchor-y":g,"dock-x":p,"dock-y":k,"translate-x":v=0,"translate-y":w=0,angle:D,"text-length":j,"font-family":U="sans-serif",$raw:Y}of f){s.save();const{h:z,v:V}=t.coord2pos({x:h,y:m});s.textAlign="center",s.textBaseline="middle",s.lineWidth=$,s.globalAlpha=C,s.font=`${b*4}px ${U}`,s.setLineDash(Ht(E)),s.translate(z+v,V+w);let{width:H,fontBoundingBoxAscent:F,fontBoundingBoxDescent:et}=s.measureText(A),Q=H,W=F+et;if(typeof j=="object"){let{x:Z=0,y:ot=0}=j,{h:st,v:pt}=t.coord2pos({x:h+Z/2,y:m+ot/2}),{h:Qt,v:le}=t.coord2pos({x:h-Z/2,y:m-ot/2});Q=Math.hypot(st-Qt||0,pt-le||0)}else j!=null&&(Q=j);if(typeof D=="object"){let{dx:Z=0,dy:ot=0}=D,{h:st,v:pt}=t.coord2pos({x:h+Z,y:m+ot});D=Math.atan2(pt-V,st-z)*180/Math.PI}if(p!=null||k!=null){let Z={left:0,center:.5,right:1}[p]??+(p??.5),ot={bottom:0,center:.5,top:1}[k]??+(k??.5);isNaN(Z)&&(Z=.5),isNaN(ot)&&(ot=.5);let st=Q*Math.abs(Math.cos(D*Math.PI/180))+W*Math.abs(Math.sin(D*Math.PI/180)),pt=Q*Math.abs(Math.sin(D*Math.PI/180))+W*Math.abs(Math.cos(D*Math.PI/180));s.translate(st*(.5-Z),pt*(ot-.5)),s.rotate(D*Math.PI/180)}else{let Z={left:0,center:.5,right:1}[L]??+(L??.5),ot={bottom:0,center:.5,top:1}[g]??+(g??.5);isNaN(Z)&&(Z=.5),isNaN(ot)&&(ot=.5);let st=Q,pt=W;s.rotate(D*Math.PI/180),s.translate(st*(.5-Z),pt*(ot-.5))}Q!=H&&s.scale(Q/H,1),y!=="none"&&(s.fillStyle=y,s.fillText(A,0,0)),S!=null&&S!=="none"&&(s.strokeStyle=S,s.strokeText(A,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)a.addEventListener(f,function(h){if(h._vhandled)return;const m=a.getBoundingClientRect(),y=(h.clientX-m.left)*a.width/m.width,b=(h.clientY-m.top)*a.height/m.height;for(const[A,T]of d)if(s.isPointInPath(A,y,b)){r(f,h,t.getCoord(h),T),h._vhandled=!0;break}});return a});return Ct(c,a=>l.value.replaceChildren(a)),e({dispatchEvent:a=>c.value?.dispatchEvent?.(a)}),(a,s)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},NU={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),l=qt("container"),c=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(const h of t.data)for(let{x:m,xend:y,y:b,yend:A,size:T=4,label:S="",title:$,color:E,stroke:C,linewidth:L,linetype:g,alpha:p,"translate-x":k=0,"translate-y":v=0,"text-length":w,"font-family":D="sans-serif","text-align":j="justify",angle:U="auto",inset:Y=0,$raw:z}of h){const{h:V,v:H}=t.coord2pos({x:m,y:b}),{h:F,v:et}=t.coord2pos({x:y,y:A});if(u.save(),u.translate(k,v),u.textBaseline="middle",u.lineWidth=L,u.globalAlpha=p,u.font=`${T*4}px ${D}`,u.setLineDash(Ht(g)),["stretch","pre","start","center","end","post"].includes(j)){let Q=Math.atan2(et-H,F-V),W=String(S).replace(/\x01|\x02/g,""),Z=Math.cos(Q)*Y,ot=Math.sin(Q)*Y;switch(j){case"stretch":case"center":u.translate((V+F)/2,(H+et)/2),u.textAlign="center";break;case"pre":u.translate(V-Z,H-ot),u.textAlign="end";break;case"start":u.translate(V+Z,H+ot),u.textAlign="start";break;case"end":u.translate(F-Z,et-ot),u.textAlign="end";break;case"post":u.translate(F+Z,et+ot),u.textAlign="start";break}u.rotate(Q),j==="stretch"&&u.scale(Math.hypot(F-V||0,et-H||0)/u.measureText(W).width,1),E!=="none"&&(u.fillStyle=E,u.fillText(W,0,0)),C!=null&&C!=="none"&&(u.strokeStyle=C,u.strokeText(W,0,0))}else{let Q=U==="auto"?Math.atan2(et-H,F-V):U*Math.PI/180;u.textAlign="center";let W=a(String(S)),Z=(F-V)/(W.length-1||1),ot=(et-H)/(W.length-1||1);for(let st=0;st<W.length;st++){u.save(),u.translate(V+st*Z,H+st*ot),u.rotate(Q);let pt=W[st];E!=="none"&&(u.fillStyle=E,u.fillText(pt,0,0)),C!=null&&C!=="none"&&(u.strokeStyle=C,u.strokeText(pt,0,0)),u.restore()}}u.restore()}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),b=(m.clientX-y.left)*s.width/y.width,A=(m.clientY-y.top)*s.height/y.height;for(const[T,S]of f)if(u.isPointInPath(T,b,A)){r(h,m,t.getCoord(m),S),m._vhandled=!0;break}});return s});Ct(c,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function a(s){let u=[];for(let d=0;d<s.length;d++)if(s[d]==""){let f=d+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(d+1,f)),d=f}else u.push(s[d]);return u}return(s,u)=>(P(),I("foreignObject",J(o.value,{ref:"container"}),null,16))}},$U=Object.freeze(Object.defineProperty({__proto__:null,boxplot:kU,curve:To,ellipse:AU,line:Eo,point:SU,polygon:CU,rect:Lo,shape:To,stick:Eo,text:MU,textsegment:NU,tile:Lo},Symbol.toStringTag,{value:"Module"})),TU={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(P(),I("g"))}},EU={key:0},Hn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x:t.x-t.width/2,y:t.y-t.height/2,width:t.width,height:t.height,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(P(),I("rect",se(v1(e.value)),[t.title?(P(),I("title",EU,zt(t.title),1)):Ot("",!0)],16))}},LU={key:0},OU={key:0},zi={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:{type:Number,default:1},linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={circle:"M0-0.5A0.5,0.5,0,1,1,0,0.5A0.5,0.5,0,1,1,0-0.5Z",square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z",arrowhead:"M0,0L1,0.38V-0.38Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null};if(i!=null){let o=[],l=t.x+t.translateX,c=t.y+t.translateY;(l!==0||c!==0)&&o.push(`translate(${l},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null,"stroke-width":t.linewidth/t.size})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o,"stroke-width":t.linewidth})}return r});return(i,r)=>n.value.d?(P(),I("path",se(J({key:0},n.value)),[t.title?(P(),I("title",LU,zt(t.title),1)):Ot("",!0)],16)):(P(),I("circle",se(J({key:1},n.value)),[t.title?(P(),I("title",OU,zt(t.title),1)):Ot("",!0)],16))}},PU={key:0},a1={__name:"CoreLine",props:{x1:{type:Number,default:0},y1:{type:Number,default:0},x2:{type:Number,default:0},y2:{type:Number,default:0},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,color:t.color||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(P(),I("line",se(v1(e.value)),[t.title?(P(),I("title",PU,zt(t.title),1)):Ot("",!0)],16))}},jU={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:d,xmax:f,y:h,ymin:m,ymax:y,lwisker:b,Q1:A,median:T,Q3:S,uwisker:$,outliers:E,$xmin:C,$xmax:L,$ymin:g,$ymax:p,fill:k="white",color:v="black",linewidth:w,linetype:D,alpha:j,title:U,"translate-x":Y=0,"translate-y":z=0,class:V,style:H,$raw:F})=>{const{hmin:et,hmax:Q,vmin:W,vmax:Z}=t.coord2pos({xmin:C,xmax:L,ymin:g,ymax:p});if(et<o&&Q<o||et>l&&Q>l||W<c&&Z<c||W>a&&Z>a)return null;const{hmin:ot,hmax:st,vmin:pt,vmax:Qt}=t.coord2pos(u==null?{ymin:m,ymax:y,xmin:A,xmax:S}:{xmin:d,xmax:f,ymin:A,ymax:S}),{h:le,v:ie}=t.coord2pos(u==null?{y:h,x:b}:{x:u,y:b}),{h:te,v:ve}=t.coord2pos(u==null?{y:h,x:$}:{x:u,y:$}),{h:O,v:q}=t.coord2pos(u==null?{y:m,x:T}:{x:d,y:T}),{h:B,v:_}=t.coord2pos(u==null?{y,x:T}:{x:f,y:T}),{h:x,v:M}=t.coord2pos(u==null?{y:m*.25+y*.75,x:$}:{x:d*.25+f*.75,y:$}),{h:N,v:R}=t.coord2pos(u==null?{y:m*.75+y*.25,x:$}:{x:d*.75+f*.25,y:$}),{h:G,v:tt}=t.coord2pos(u==null?{y:m*.25+y*.75,x:b}:{x:d*.25+f*.75,y:b}),{h:at,v:it}=t.coord2pos(u==null?{y:m*.75+y*.25,x:b}:{x:d*.75+f*.25,y:b});let kt={rect:{x:(ot+st)/2,width:st-ot,y:(pt+Qt)/2,height:Qt-pt,fill:k,color:v,linetype:D,linewidth:w,alpha:j,title:U,translateX:Y,translateY:z,class:V,style:H},line:{x1:le,y1:ie,x2:te,y2:ve,color:v,linetype:D,linewidth:w,alpha:j,translateX:Y,translateY:z,class:V,style:H},midline:{x1:O,y1:q,x2:B,y2:_,color:v,linetype:D,linewidth:(w??1)*2,alpha:j,translateX:Y,translateY:z,class:V,style:H},uwisker:{x1:x,y1:M,x2:N,y2:R,color:v,linetype:D,linewidth:w,alpha:j,translateX:Y,translateY:z,class:V,style:H},lwisker:{x1:G,y1:tt,x2:at,y2:it,color:v,linetype:D,linewidth:w,alpha:j,translateX:Y,translateY:z,class:V,style:H},outliers:E?.map(({x:ht,y:ct,$raw:nt})=>{const{h:rt,v:K}=t.coord2pos({x:ht,y:ct});let vt={x:rt,y:K,shape:"circle",size:4,color:v,alpha:j,translateX:Y,translateY:z,class:V,style:H},mt=Object.fromEntries(n.map(Rt=>[Rt,Xt=>i(Rt,Xt,nt)]));return[vt,mt]})},wt=Object.fromEntries(n.map(ht=>[ht,ct=>i(ht,Object.assign(ct,{_vhandled:!0}),t.getCoord(ct),F)]));return[kt,wt]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),I("g",null,[re(a1,J({ref_for:!0},a.line),null,16),l[0]||(l[0]=dt()),re(Hn,J({ref_for:!0},a.rect,Tt(s)),null,16),l[1]||(l[1]=dt()),re(a1,J({ref_for:!0},a.midline),null,16),l[2]||(l[2]=dt()),re(a1,J({ref_for:!0},a.uwisker),null,16),l[3]||(l[3]=dt()),re(a1,J({ref_for:!0},a.lwisker),null,16),l[4]||(l[4]=dt()),(P(!0),I(lt,null,ut(a.outliers,([u,d])=>(P(),bt(zi,J({ref_for:!0},u,Tt(d)),null,16))),256))]))),256))],16))),256))]))}},DU={key:0},$l={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??An;return{d:j9().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:Hs,cardinalClosed:Xs,catmullRom:zs,catmullRomClosed:Us,linear:Hi,linearClosed:Ws,natural:An};return(i,r)=>(P(),I("path",se(v1(e.value)),[t.title?(P(),I("title",DU,zt(t.title),1)):Ot("",!0)],16))}},Oo={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:b,"translate-x":A=0,"translate-y":T=0,"marker-start":S,"marker-end":$,class:E,style:C,$raw:L,interpolate:g})=>{if(u=u.map(v=>(({h:w,v:D})=>({x:w,y:D}))(t.coord2pos(v))),u.every(v=>v.x<o)||u.every(v=>v.x>l)||u.every(v=>v.y<c)||u.every(v=>v.y>a))return null;let p={points:u,fill:d,color:f,linetype:m,linewidth:h,alpha:y,title:b,translateX:A,translateY:T,"marker-start":S,"marker-end":$,class:E,style:C,interpolate:g},k=Object.fromEntries(n.map(v=>[v,w=>i(v,Object.assign(w,{_vhandled:!0}),t.getCoord(w),L)]));return[p,k]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt($l,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},qU={key:0},VU={__name:"CoreEllipse",props:{cx:{type:Number,default:0},cy:{type:Number,default:0},rx:{type:Number,default:0},ry:{type:Number,default:0},angle:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let n=[];return(t.translateX||t.translateY)&&n.push(`translate(${t.translateX}, ${t.translateY})`),t.angle&&n.push(`rotate(${t.angle})`),{cx:t.cx,cy:t.cy,rx:t.rx,ry:t.ry,color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(P(),I("ellipse",se(v1(e.value)),[t.title?(P(),I("title",qU,zt(t.title),1)):Ot("",!0)],16))}},BU={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:d,A:f,B:h,C:m,fill:y,color:b,linewidth:A,linetype:T,alpha:S,title:$,"translate-x":E=0,"translate-y":C=0,class:L,style:g,$raw:p})=>{let k=Math.sqrt(m/(f*m-h*h)),v=Math.sqrt(f/(f*m-h*h));const{h:w,v:D}=t.coord2pos({x:u,y:d});let{h:j,v:U}=t.coord2pos({x:u-k,y:d-v}),{h:Y,v:z}=t.coord2pos({x:u+k,y:d+v});if(j<o&&Y<o||Y>l&&j>l||U<c&&z<c||z>a&&U>a)return null;let V=(Y-j)/(2*k),H=(z-U)/(2*v);f/=V*V,h/=V*H,m/=H*H;const F=f+m,et=f*m-h*h,Q=Math.sqrt(Math.max(0,F*F/4-et));let W={cx:w,cy:D,rx:1/Math.sqrt(F/2+Q)||0,ry:1/Math.sqrt(F/2-Q)||0,angle:Math.atan2(2*h,f-m)/2*180/Math.PI||0,fill:y,color:b,linetype:T,linewidth:A,alpha:S,title:$,translateX:E,translateY:C,class:L,style:g},Z=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),p)]));return[W,Z]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(VU,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},Po={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,xend:f,yend:h,color:m="black",linewidth:y,linetype:b,alpha:A,title:T,"translate-x":S=0,"translate-y":$=0,"marker-start":E,"marker-end":C,class:L,style:g,$raw:p})=>{const{h:k,v}=t.coord2pos({x:u,y:d}),{h:w,v:D}=t.coord2pos({x:f,y:h});if(k<o&&w<o||k>l&&w>l||v<c&&D<c||v>a&&D>a)return null;let j={x1:k,x2:w,y1:v,y2:D,color:m,linetype:b,linewidth:y,alpha:A,title:T,translateX:S,translateY:$,"marker-start":E,"marker-end":C,class:L,style:g},U=Object.fromEntries(n.map(Y=>[Y,z=>i(Y,Object.assign(z,{_vhandled:!0}),t.getCoord(z),p)]));return[j,U]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(a1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},IU={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:b,linewidth:A,linetype:T,alpha:S,"anchor-x":$,"anchor-y":E,"dock-x":C,"dock-y":L,"translate-x":g=0,"translate-y":p=0,angle:k,"text-length":v,"font-family":w="sans-serif","text-anchor":D,class:j,style:U,$raw:Y})=>{if(h==null)return null;const{h:z,v:V}=t.coord2pos({x:u,y:d});if(z<o||z>l||V<c||V>a)return null;if(typeof v=="object"){let{x:et=0,y:Q=0}=v,{h:W,v:Z}=t.coord2pos({x:u+et/2,y:d+Q/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-Q/2});v=Math.hypot(W-ot||0,Z-st||0)}if(typeof k=="object"){let{dx:et=0,dy:Q=0}=k,{h:W,v:Z}=t.coord2pos({x:u+et,y:d+Q});k=Math.atan2(Z-V,W-z)*180/Math.PI}let H={x:z,y:V,text:String(h),title:String(m??h),size:f,color:y,stroke:b,linetype:T,linewidth:A,alpha:S,angle:k,translateX:g,translateY:p,class:j,style:U,anchorX:$,anchorY:E,dockX:C,dockY:L,textLength:v,fontFamily:w,textAnchor:D},F=Object.fromEntries(n.map(et=>[et,Q=>i(et,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),Y)]));return[H,F]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(I1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},RU={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xend:d,y:f,yend:h,size:m=4,label:y,title:b,color:A,stroke:T,linewidth:S,linetype:$,alpha:E,"translate-x":C=0,"translate-y":L=0,"anchor-x":g,"anchor-y":p=.5,"font-family":k="sans-serif","text-align":v="start",inset:w=0,class:D,style:j,$raw:U})=>{if(y==null)return null;const{h:Y,v:z}=t.coord2pos({x:u,y:f}),{h:V,v:H}=t.coord2pos({x:d,y:h});if(Y<o&&V<o||Y>l&&V>l||z<c&&H<c||z>a&&H>a)return null;let F=Math.atan2(H-z,V-Y),et={text:String(y),title:String(b??y),color:A,alpha:E,size:m,stroke:T,linewidth:S,linetype:$,fontFamily:k,class:D,style:j},Q=Object.fromEntries(n.map(ot=>[ot,st=>i(ot,Object.assign(st,{_vhandled:!0}),t.getCoord(st),U)])),W,Z;switch(v){case"stretch":W=(Y+V)/2,Z=(z+H)/2,g=.5,et.textLength=Math.hypot(V-Y||0,H-z||0);break;case"center":W=(Y+V)/2,Z=(z+H)/2,g??=.5;break;case"pre":W=Y,Z=z,C-=Math.cos(F)*w,L-=Math.sin(F)*w,g??=1;break;case"end":W=V,Z=H,C-=Math.cos(F)*w,L-=Math.sin(F)*w,g??=1;break;case"post":W=V,Z=H,C+=Math.cos(F)*w,L+=Math.sin(F)*w,g??=0;break;default:W=Y,Z=z,C+=Math.cos(F)*w,L+=Math.sin(F)*w,g??=0}return Object.assign(et,{x:W,y:Z,translateX:C,translateY:L,anchorX:g,anchorY:p,angle:F*180/Math.PI}),[et,Q]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(I1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},HU={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,shape:f,size:h=6,color:m,stroke:y,linetype:b,linewidth:A,alpha:T,title:S,"translate-x":$=0,"translate-y":E=0,angle:C,class:L,style:g,$raw:p})=>{const{h:k,v}=t.coord2pos({x:u,y:d});if(k<o||k>l||v<c||v>a)return null;if(typeof C=="object"){let{dx:j=0,dy:U=0}=C,{h:Y,v:z}=t.coord2pos({x:u+j,y:d+U});C=Math.atan2(z-v,Y-k)*180/Math.PI}let w={x:k,y:v,shape:f,size:h,color:m,stroke:y,linetype:b,linewidth:A,alpha:T,title:S,angle:C,translateX:$,translateY:E,class:L,style:g},D=Object.fromEntries(n.map(j=>[j,U=>i(j,Object.assign(U,{_vhandled:!0}),t.getCoord(U),p)]));return[w,D]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(zi,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},XU={key:0},Tl={__name:"CorePolygon",props:{points:{type:Array,default:()=>[]},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>({points:t.points.map(n=>`${n.x},${n.y}`).join(" "),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Ht(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(P(),I("polygon",se(v1(e.value)),[t.title?(P(),I("title",XU,zt(t.title),1)):Ot("",!0)],16))}},YU={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:b,"translate-x":A=0,"translate-y":T=0,"marker-start":S,"marker-mid":$,"marker-end":E,class:C,style:L,$raw:g})=>{if(u=u.map(v=>(({h:w,v:D})=>({x:w,y:D}))(t.coord2pos(v))),u.every(v=>v.x<o)||u.every(v=>v.x>l)||u.every(v=>v.y<c)||u.every(v=>v.y>a))return null;let p={points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:b,translateX:A,translateY:T,"marker-start":S,"marker-mid":$,"marker-end":E,class:C,style:L},k=Object.fromEntries(n.map(v=>[v,w=>i(v,Object.assign(w,{_vhandled:!0}),t.getCoord(w),g)]));return[p,k]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(Tl,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},jo={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:d,ymin:f,ymax:h,fill:m,color:y,linewidth:b,linetype:A,alpha:T,title:S,"translate-x":$=0,"translate-y":E=0,class:C,style:L,$raw:g})=>{const{hmin:p,hmax:k,vmin:v,vmax:w}=t.coord2pos({xmin:u,xmax:d,ymin:f,ymax:h});if(p<o&&k<o||p>l&&k>l||v<c&&w<c||v>a&&w>a)return null;let D={x:(p+k)/2,width:k-p,y:(v+w)/2,height:w-v,fill:m,color:y,linetype:A,linewidth:b,alpha:T,title:S,translateX:$,translateY:E,class:C,style:L},j=Object.fromEntries(n.map(U=>[U,Y=>i(U,Object.assign(Y,{_vhandled:!0}),t.getCoord(Y),g)]));return[D,j]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(Hn,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},_U={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,l=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-t.layout.fullHeight*t.extendY-t.layout.t,a=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:b,linewidth:A,linetype:T,alpha:S,"anchor-x":$,"anchor-y":E,"dock-x":C,"dock-y":L,"translate-x":g=0,"translate-y":p=0,angle:k,"text-length":v,"font-family":w,"text-anchor":D,class:j,style:U,$raw:Y})=>{if(h==null)return null;const{h:z,v:V}=t.coord2pos({x:u,y:d});if(z<o||z>l||V<c||V>a)return null;if(typeof v=="object"){let{x:et=0,y:Q=0}=v,{h:W,v:Z}=t.coord2pos({x:u+et/2,y:d+Q/2}),{h:ot,v:st}=t.coord2pos({x:u-et/2,y:d-Q/2});v=Math.hypot(W-ot||0,Z-st||0)}if(typeof k=="object"){let{dx:et=0,dy:Q=0}=k,{h:W,v:Z}=t.coord2pos({x:u+et,y:d+Q});k=Math.atan2(Z-V,W-z)*180/Math.PI}let H={x:z,y:V,text:String(h),title:String(m??h),size:f,color:y,stroke:b,linetype:T,linewidth:A,alpha:S,angle:k,translateX:g,translateY:p,class:j,style:U,anchorX:$,anchorY:E,dockX:C,dockY:L,textLength:v,fontFamily:w,textAnchor:D},F=Object.fromEntries(n.map(et=>[et,Q=>i(et,Object.assign(Q,{_vhandled:!0}),t.getCoord(Q),Y)]));return[H,F]}).filter(u=>u!=null))});return(o,l)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,c=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(c,([a,s])=>(P(),bt(B1,J({ref_for:!0},a,Tt(s)),null,16))),256))],16))),256))]))}},zU={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=X(()=>{let l=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,a=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(u=>u.map(({x:d,xend:f,y:h,yend:m,size:y=4,label:b,title:A,color:T,stroke:S,linewidth:$,linetype:E,alpha:C,"translate-x":L=0,"translate-y":g=0,"font-family":p="sans-serif","text-align":k="justify",angle:v="auto",inset:w=0,class:D,style:j,$raw:U})=>{if(b==null)return null;const{h:Y,v:z}=t.coord2pos({x:d,y:h}),{h:V,v:H}=t.coord2pos({x:f,y:m});if(Y<l&&V<l||Y>c&&V>c||z<a&&H<a||z>s&&H>s)return null;let F={color:T||null,fill:T||null,"fill-opacity":C==1?null:C,"font-size":y*4,stroke:S||null,"stroke-width":$,"stroke-dasharray":Ht(E).join(" ")||null,"stroke-opacity":C==1?null:C,"font-family":p,class:D,style:j},et=Object.fromEntries(n.map(Q=>[Q,W=>i(Q,Object.assign(W,{_vhandled:!0}),t.getCoord(W),U)]));if(["stretch","pre","start","center","end","post"].includes(k)){let Q=Math.atan2(H-z,V-Y),W,Z,ot=String(b).replace(/\x01|\x02/g,""),st=Math.cos(Q)*w,pt=Math.sin(Q)*w;switch(k){case"stretch":W=(Y+V)/2,Z=(z+H)/2,F["text-anchor"]="middle",F.textLength=Math.hypot(V-Y||0,H-z||0),F.lengthAdjust="spacingAndGlyphs";break;case"center":W=(Y+V)/2,Z=(z+H)/2,F["text-anchor"]="middle";break;case"pre":W=Y,Z=z,L-=st,g-=pt,F["text-anchor"]="end";break;case"start":W=Y,Z=z,L+=st,g+=pt,F["text-anchor"]="start";break;case"end":W=V,Z=H,L-=st,g-=pt,F["text-anchor"]="end";break;case"post":W=V,Z=H,L+=st,g+=pt,F["text-anchor"]="start";break}let Qt=[];return(L||g)&&Qt.push(`translate(${L}, ${g})`),Q&&Qt.push(`rotate(${Q*180/Math.PI})`),Object.assign(F,{x:W,y:Z,"dominant-baseline":"central","transform-origin":`${W} ${Z}`,transform:Qt.join(" ")||null}),[F,et,ot,String(A??String(b).replace(/\x01|\x02/g,""))]}else{v==="auto"&&(v=Math.atan2(H-z,V-Y)*180/Math.PI);let Q=o(String(b)),W=(V-Y)/(Q.length-1||1),Z=(H-z)/(Q.length-1||1),ot=Q.map((st,pt)=>[{x:Y+pt*W,y:z+pt*Z,"text-anchor":"middle","dominant-baseline":"central",rotate:v},st]);return(L||g)&&(F.transform=`translate(${L}, ${g})`),[F,et,ot,String(A??String(b).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function o(l){let c=[];for(let a=0;a<l.length;a++)if(l[a]==""){let s=a+1;for(;s<l.length&&l[s]!="";)s++;c.push(l.slice(a+1,s)),a=s}else c.push(l[a]);return c}return(l,c)=>(P(),I("g",null,[(P(!0),I(lt,null,ut(r.value,a=>(P(),I("g",J({ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(P(!0),I(lt,null,ut(a,([s,u,d,f])=>(P(),I("text",J({ref_for:!0},s,Tt(u,!0)),[Nt("title",null,zt(f),1),c[0]||(c[0]=dt()),typeof d=="string"?(P(),I(lt,{key:0},[dt(zt(d.replace(/ /g,"\xA0")),1)],64)):(P(!0),I(lt,{key:1},ut(d,([h,m])=>(P(),I(lt,null,[m?(P(),I("tspan",J({key:0,ref_for:!0},h),zt(m),17)):Ot("",!0)],64))),256))],16))),256))],16))),256))]))}},FU=Object.freeze(Object.defineProperty({__proto__:null,blank:TU,boxplot:jU,curve:Oo,ellipse:BU,line:Po,markdown:IU,markdownsegment:RU,point:HU,polygon:YU,rect:jo,shape:Oo,stick:Po,text:_U,textsegment:zU,tile:jo},Symbol.toStringTag,{value:"Module"})),UU={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"},dpi:Number,defaultDpi:Number},setup(t,{expose:e}){const n={svg:FU,canvas:$U},i=X(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,u)=>s+u,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=qt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");e({render:i,dispatchEvent:c=>r.value?.dispatchEvent?.(c)});const l=X(()=>i.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(c,a)=>(P(),bt(Xe(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:D1(o.value),data:t.data,dpi:l.value},null,8,["style","data","dpi"]))}},GU={key:0},WU=["onPointerdown"],Do={__name:"CoreSelection",props:d1({coord2pos:Function,pos2coord:Function,layout:Object,theme:Object,flip:Boolean,move:Boolean,resize:Boolean,dismissible:Boolean,xmin:Number,xmax:Number,ymin:Number,ymax:Number,x:Boolean,y:Boolean,minRangeX:Number,minRangeY:Number,ctrlKey:Boolean,shiftKey:Boolean,altKey:Boolean,metaKey:Boolean,buttons:Number,activeTransform:Object,transition:String},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:d1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=Ae(t,"modelValue"),i=Ho(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:f,xmax:h,ymin:m,ymax:y,xreverse:b=!1,yreverse:A=!1}={}){if([f,h,m,y].every(S=>S==null))return null;f!=null&&h!=null&&f>h&&([f,h,b]=[h,f,!b]),m!=null&&y!=null&&m>y&&([m,y,A]=[y,m,!A]);let T={xreverse:b,yreverse:A};return f!=null&&isFinite(f)&&(T.xmin=f),h!=null&&isFinite(h)&&(T.xmax=h),m!=null&&isFinite(m)&&(T.ymin=m),y!=null&&isFinite(y)&&(T.ymax=y),T}const o=X(()=>{if(n.value==null||n.value.hidden)return null;let f=r(n.value);if(f==null)return null;let{hmin:h,hmax:m,vmin:y,vmax:b}=t.coord2pos(f,{limited:!0}),A=t.coord2pos(f);return{hmin:h,hmax:m,vmin:y,vmax:b,pos:A}}),l=X(()=>{if(!o.value)return null;let{translateH:f,translateV:h,scaleH:m,scaleV:y}=t.activeTransform,{hmin:b,hmax:A,vmin:T,vmax:S,pos:$}=o.value,E=A-b,C=S-T,L=t.layout.left,g=t.layout.top,p=1,k=1;if($.hmin!=null&&$.hmax!=null)L+=f,p=m;else if($.hmin!=null){let w=f+b*(m-1);p=1-w/E,L+=w*(1+b/E)}else if($.hmax!=null){let w=f+A*(m-1);p=1+w/E,L+=w*(1-A/E)}if($.vmin!=null&&$.vmax!=null)g+=t.activeTransform.translateV,k=t.activeTransform.scaleV;else if($.vmin!=null){let w=h+T*(y-1);k=1-w/C,g+=w*(1+T/C)}else if($.vmax!=null){let w=h+S*(y-1);k=1+w/C,g+=w*(1-S/C)}let v=[];return(L!=0||g!=0)&&v.push(`translate(${L}, ${g})`),(p!=1||k!=1)&&v.push(`scale(${p}, ${k})`),v.join(" ")||null}),c=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!o.value)return null;let{hmin:f,hmax:h,vmin:m,vmax:y,pos:b}=o.value,A=t.theme?.line_width??1;b.hmin==null&&(f-=A/2),b.hmax==null&&(h+=A/2),b.vmin==null&&(m-=A/2),b.vmax==null&&(y+=A/2);let T=Math.max(0,h-f),S=Math.max(0,y-m);return{x:f,y:m,width:T,height:S,fill:t.theme?.background??"transparent","fill-opacity":t.theme?.opacity,stroke:t.theme?.line_color??"none","stroke-width":t.theme?.line_width,"stroke-opacity":t.theme?.opacity,transform:l.value,style:{transition:t.transition,"pointer-events":"none"}}}),s=X(()=>{if(!o.value||c.value)return null;let f=10,{hmin:h,hmax:m,vmin:y,vmax:b,pos:A}=o.value,T=Math.max(0,m-h),S=Math.max(0,b-y),$={};i.move&&($.tblr={x:h,y,width:T,height:S,fill:"transparent",style:"cursor:move;"}),i.resize&&(A.hmin!=null&&($.l={x:h-f/2,y,width:f,height:S,style:"cursor:ew-resize;",class:"vvplot-interactive"}),A.hmax!=null&&($.r={x:m-f/2,y,width:f,height:S,style:"cursor:ew-resize;"}),A.vmin!=null&&($.t={x:h,y:y-f/2,width:T,height:f,style:"cursor:ns-resize;"}),A.vmax!=null&&($.b={x:h,y:b-f/2,width:T,height:f,style:"cursor:ns-resize;"}),A.hmin!=null&&A.vmin!=null&&($.tl={x:h-f/2,y:y-f/2,width:f,height:f,style:"cursor:nwse-resize;"}),A.hmax!=null&&A.vmin!=null&&($.tr={x:m-f/2,y:y-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),A.hmin!=null&&A.vmax!=null&&($.bl={x:h-f/2,y:b-f/2,width:f,height:f,style:"cursor:nesw-resize;"}),A.hmax!=null&&A.vmax!=null&&($.br={x:m-f/2,y:b-f/2,width:f,height:f,style:"cursor:nwse-resize;"}));let E=t.layout.left,C=t.layout.top;if(E||C)for(let L in $)$[L].transform=`translate(${E}, ${C})`;return $}),u=e;function d(f,h){if(!h||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(Z=>i[Z]==f[Z]))return;f.stopPropagation(),f.preventDefault(),f.target.setPointerCapture(f.pointerId);let{xreverse:m,yreverse:y,...b}=r(n.value),A=t.coord2pos(b),{h:T,v:S}=t.pos2coord({h:A.hmin,v:A.vmin}),{h:$,v:E}=t.pos2coord({h:A.hmax,v:A.vmax}),{hmin:C,hmax:L,vmin:g,vmax:p}=A,k=!1,v={min:i.xmin,max:i.xmax},w={min:i.ymin,max:i.ymax},[D=0,j=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],U=t.coord2pos(i),Y=0,z=0,V,H,F,et,Q=!1,W=!1;f.target.onpointermove=Z=>{if(k=!0,Y+=Z.movementX,z+=Z.movementY,h.includes("l")&&h.includes("r")){let ot=yt(Y,{min:U.hmin-C,max:U.hmax-L}),st=t.pos2coord({hmin:ft(C,ot),hmax:ft(L,ot)});T=st.hmin,$=st.hmax}else h.includes("l")?(T=t.pos2coord({h:C+Y}).h,T=yt(T,T>$?{min:ft($,D)}:{max:ft($,-D)}),Q=C+Y>L):h.includes("r")&&($=t.pos2coord({h:L+Y}).h,$=yt($,$>T?{min:ft(T,D)}:{max:ft(T,-D)}),Q=L+Y<C);if(h.includes("t")&&h.includes("b")){let ot=yt(z,{min:U.vmin-g,max:U.vmax-p}),st=t.pos2coord({vmin:ft(g,ot),vmax:ft(p,ot)});S=st.vmin,E=st.vmax}else h.includes("t")?(S=t.pos2coord({v:g+z}).v,S=yt(S,S>E?{min:ft(E,j)}:{max:ft(E,-j)}),W=g+z>p):h.includes("b")&&(E=t.pos2coord({v:p+z}).v,E=yt(E,E>S?{min:ft(S,j)}:{max:ft(S,-j)}),W=p+z<g);V=yt(t.flip?S:T,v),H=yt(t.flip?E:$,v),F=yt(t.flip?T:S,w),et=yt(t.flip?$:E,w),V>H&&([V,H]=[H,V]),F>et&&([F,et]=[et,F]),u("selecting",{xmin:V,xmax:H,ymin:F,ymax:et},t.theme)},f.target.onpointerup=Z=>{if(Z.currentTarget.onpointerup=null,Z.currentTarget.onpointermove=null,i.buttons&1&&(Z.currentTarget.onclick=pt=>{pt.currentTarget.onclick=null,u("click",pt)}),i.buttons&2&&(Z.currentTarget.oncontextmenu=pt=>{pt.currentTarget.onclick=null,u("contextmenu",pt)}),!k)return;let ot={xmin:V,xmax:H,xreverse:!!(Q^m),ymin:F,ymax:et,yreverse:!!(W^y)},st=new PointerEvent("select",f);n.value=_t(ot),u("selectend"),u("select",_t(ot),st)}}return(f,h)=>a.value?(P(),I("g",GU,[Nt("rect",se(v1(a.value)),null,16),h[0]||(h[0]=dt()),(P(!0),I(lt,null,ut(s.value,(m,y)=>(P(),I("rect",J({fill:"transparent"},{ref_for:!0},m,{onPointerdown:b=>d(b,y),class:"vvplot-interactive"}),null,16,WU))),256))])):Ot("",!0)}},KU=["height","width"],ZU=["y1","y2"],QU=["y"],JU={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=X(()=>{let{min:o,max:l}=t.limits;return t.breaks.map(c=>({position:(c-o)/(l-o),label:String(c)}))}),n=X(()=>{let o=30,{min:l,max:c}=t.limits,a=(c-l)/(o-1),s=Array.from({length:o},(d,f)=>l+f*a),u=t.scales.map(d=>d(s));return s.map((d,f)=>Object.fromEntries(t.scales.map((h,m)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[m][f]])))}),i=an(0),r=qt("svg");return Ct(e,async()=>{await On();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(P(),I("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(P(!0),I(lt,null,ut(n.value,(c,a)=>(P(),bt(Hn,J({width:10,height:3.1,x:10,y:10+(29-a+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),l[1]||(l[1]=dt()),(P(!0),I(lt,null,ut(e.value,(c,a)=>(P(),I("g",null,[Nt("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,ZU),l[0]||(l[0]=dt()),Nt("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},zt(c.label),9,QU)]))),256))],8,KU))}},qo=Object.freeze(Object.defineProperty({__proto__:null,curve:$l,line:a1,point:zi,polygon:Tl,text:B1,tile:Hn},Symbol.toStringTag,{value:"Module"})),tG=["height","width"],eG=["transform"],nG={transform:"translate(10, 10)"},iG={x:"20",y:"10","alignment-baseline":"central"},rG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=X(()=>{let o=t.scales.map(s=>s(t.breaks)),l=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((d,f)=>[d.aesthetics,o[f][u]])),label:String(s)})),c=Ta(l.map(s=>s.bind)),a=Map.groupBy(l.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(a).map(([s,u])=>{let d={tile:{},line:{},point:{},text:{}};for(let f in d)for(let h of Object.keys(qo[f].props))s[h]&&(d[f][h]=s[h]);return{bind:d,label:u.join("; ")}})}),n=X(()=>{let{text:o,line:l,point:c,tile:a}=t.appearances,s={};return a!=null&&(s.tile={width:10,height:10,fill:"none",...a}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=an(0),r=qt("svg");return Ct(e,async()=>{await On();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(P(),I("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(P(!0),I(lt,null,ut(e.value,(c,a)=>(P(),I("g",{transform:`translate(0, ${a*20})`},[Nt("g",nG,[(P(!0),I(lt,null,ut(n.value,(s,u)=>(P(),bt(Xe(qo[u]),J({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),l[0]||(l[0]=dt()),Nt("text",iG,zt(c.label),1)],8,eG))),256))],8,tG))}},oG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:rG,gradientbar:JU},n=X(()=>t.scales.reduce((o,[l])=>o??l.title,null)??t.scales.reduce((o,[l])=>o??l._title,null)),i=X(()=>{let o=t.scales.map(([c])=>c),l=o.find(c=>c.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(c=>c.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(c=>c.limits!=null),Bn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={tile:Gt(...t.scales.flatMap(([l,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:Gt(...t.scales.flatMap(([l,c])=>[c.line,c.linerange,c.curve])),point:Gt(...t.scales.flatMap(([l,c])=>[c.point])),text:Gt(...t.scales.flatMap(([l,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let l=t.scales.map(([a])=>a.limits?.max).filter(a=>a!=null).reduce((a,s)=>Math.min(a,s),1/0),c=t.scales.map(([a])=>a.limits?.min).filter(a=>a!=null).reduce((a,s)=>Math.max(a,s),-1/0);o.limits={min:c,max:l},o.appearance=Gt(...t.scales.flatMap(([a,s])=>Object.values(s)))}return o});return(o,l)=>(P(),I(lt,null,[Nt("span",null,zt(n.value),1),l[0]||(l[0]=dt()),(P(),bt(Xe(e[t.type]),J(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),sG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=X(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+l);)l++;o[s]??=o.find((u,d)=>o[d]!=null&&_e.isEqual(r[d].level,r[s].level))??"_guide_"+l}let c=r.map(s=>n(s)),a=Ea(o,c);return Map.groupBy(i,(s,u)=>a.categories[a[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(P(),I("div",{key:0,class:"vvplot-legend",style:D1({gap:t.theme.spacing+"px"})},[(P(!0),I(lt,null,ut(e.value,([[o,l],c])=>(P(),bt(oG,{key:o,type:l,scales:c},null,8,["type","scales"]))),128))],4)):Ot("",!0)}},lG=["id"],aG=["width","height"],cG=["transform","width","height","fill"],uG=["transform"],hG=["transform","clip-path"],fG=["transform"],dG=["clip-path"],mG={key:1},gG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:d1({schema:Object,layers:Array,minRange:Object,expandAdd:Object,flip:Boolean,reverse:Object,paddings:Object,expandMult:Object,coordLevels:Object,levels:Object,scales:Object,axes:{type:Array,default:()=>[]},theme:Object,render:String,clip:Boolean,dpi:Number,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:d1(["click","singleclick","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","select","move","zoom","rescale","nudge"],["update:selectionPreview","update:selectionPreviewTheme","update:transition"]),setup(t,{expose:e,emit:n}){const i=Il(),r=Ho(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=N1("range"),c=N1("rangePreview"),a=Ae(t,"selectionPreview"),s=Ae(t,"selectionPreviewTheme");function u(O,q){a.value=O,s.value=q}const d=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){a.value={}}const h=Ae(t,"transition"),m=qt("svg"),y=qt("layers"),b=an(0),A=an(0);zo(m,O=>{let{width:q,height:B}=O[0].contentRect;b.value=q,A.value=B});const T=X(()=>new F9(t.schema,r.layers)),S=X(()=>T.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),$=Le(()=>{let O=Object.fromEntries(["left","right","top","bottom"].map(M=>[M,t.paddings[M]&&t.theme.plot.padding[M]||0])),q=+t.theme.plot.margin.left+O.left,B=+t.theme.plot.margin.right+O.right,_=+t.theme.plot.margin.top+O.top,x=+t.theme.plot.margin.bottom+O.bottom;return _+x>A.value&&(_=A.value*(_/(_+x)),x=A.value-_),q+B>b.value&&(q=b.value*(q/(q+B)),B=b.value-q),{l:q,r:B,t:_,b:x,left:q,right:b.value-B,top:_,bottom:A.value-x,width:b.value-q-B,height:A.value-_-x}}),E=Le(()=>{let O=S.value.coordScales,q=t.expandMult,{min:B,max:_}=v(O.x.range,q.x),{min:x,max:M}=v(O.y.range,q.y),[N,R,G,tt]=t.flip?[x,M,B,_]:[B,_,x,M],{width:at,height:it}=$;return{left:at*N||0,right:at*(1-R)||0,top:it*tt||0,bottom:it*(1-G)||0,l:at*N||0,r:at*R||0,t:it*tt||0,b:it*G||0,width:at*(1-N-R),height:it*(1-tt-G),fullWidth:at,fullHeight:it}});e({vplot:S,panel:$,svg:m});const C=X(()=>{let O=W.value.translateH+E.left,q=W.value.translateV+E.top,B=W.value.scaleH,_=W.value.scaleV,x=[];return(O!=0||q!=0)&&x.push(`translate(${O}, ${q})`),(B!=1||_!=1)&&x.push(`scale(${B}, ${_})`),{transform:x.join(" ")||null}});function L({value:O,min:q,max:B},_,x,M){let N={};return O!=null&&(N.value=_.invert(x?1-O/M:O/M)),x?(B!=null&&(N.min=_.invert(1-B/M)),q!=null&&(N.max=_.invert(1-q/M))):(q!=null&&(N.min=_.invert(q/M)),B!=null&&(N.max=_.invert(B/M))),N}function g({h:O,hmin:q,hmax:B,v:_,vmin:x,vmax:M}={}){let N=S.value.coordScales,{width:R,height:G}=E,tt={},[at,it,kt]=t.flip?[_,x,M]:[O,q,B],[wt,ht,ct]=t.flip?[O,q,B]:[_,x,M];if(at!=null||it!=null||kt!=null){let{value:nt,min:rt,max:K}=L({value:at,min:it,max:kt},N.x,t.flip!=t.reverse.x,t.flip?G:R);Object.assign(tt,_t({x:nt,xmin:rt,xmax:K})),t.flip?Object.assign(tt,_t({v:nt,vmin:rt,vmax:K})):Object.assign(tt,_t({h:nt,hmin:rt,hmax:K}))}if(wt!=null||ht!=null||ct!=null){let{value:nt,min:rt,max:K}=L({value:wt,min:ht,max:ct},N.y,t.flip==t.reverse.y,t.flip?R:G);Object.assign(tt,_t({y:nt,ymin:rt,ymax:K})),t.flip?Object.assign(tt,_t({h:nt,hmin:rt,hmax:K})):Object.assign(tt,_t({v:nt,vmin:rt,vmax:K}))}return tt}function p({value:O,min:q,max:B}={},{oob:_=ai}={},x,M,N,R){let G={};return O!=null&&(G.value=N?_(N*(M?1-x(O):x(O)),R):0),q==null&&B==null||(M?(B!=null&&(G.min=N?_(N*(1-x(B)),R):0),q!=null&&(G.max=N?_(N*(1-x(q)),R):0)):(q!=null&&(G.min=N?_(N*x(q),R):0),B!=null&&(G.max=N?_(N*x(B),R):0))),G}function k({h:O,hmin:q,hmax:B,v:_,vmin:x,vmax:M,x:N,xmin:R,xmax:G,y:tt,ymin:at,ymax:it}={},{limited:kt=!1,oob:wt=ai}={}){let{width:ht,height:ct,l:nt,r:rt,t:K,b:vt}=E,mt={},Rt=S.value.coordScales,Xt={min:-nt,max:ht+rt},$e={min:-K,max:ct+vt};if((N!=null||R!=null||G!=null)&&(t.flip?[_,x,M]=[N,R,G]:[O,q,B]=[N,R,G]),(tt!=null||at!=null||it!=null)&&(t.flip?[O,q,B]=[tt,at,it]:[_,x,M]=[tt,at,it]),O!=null||q!=null||B!=null){let{value:xe,min:de,max:me}=p({value:O,min:q,max:B},{oob:wt},Rt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ht,Xt);Object.assign(mt,_t({h:xe,hmin:de,hmax:me}))}if(_!=null||x!=null||M!=null){let{value:xe,min:de,max:me}=p({value:_,min:x,max:M},{oob:wt},Rt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,$e);Object.assign(mt,_t({v:xe,vmin:de,vmax:me}))}return kt&&(mt.hmin==null&&(mt.hmin=Xt.min),mt.hmax==null&&(mt.hmax=Xt.max),mt.vmin==null&&(mt.vmin=$e.min),mt.vmax==null&&(mt.vmax=$e.max)),mt}function v({min:O,max:q}={},{min:B=0,max:_=0}={}){let x=q-O,M=+O-B*x,N=+q+_*x,R=N-M;return{min:R==0?0:(O-M)/R,max:R==0?0:(N-q)/R}}function w(O){let q=m.value.getBoundingClientRect(),B=q.width/m.value.clientWidth,_=q.height/m.value.clientHeight,x=O.clientX-q.left,M=O.clientY-q.top,N=x/B-($.left+E.left),R=M/_-($.top+E.top),G=$.left+E.right-x/B,tt=$.top+E.bottom-M/_,{x:at,y:it}=g({h:N,v:R});return{l:N,t:R,r:G,b:tt,x:at,y:it}}function D(O){let q=m.value.getBoundingClientRect(),B=q.width/m.value.clientWidth,_=q.height/m.value.clientHeight;return O.clientX-q.left>$.l*B&&q.right-O.clientX>$.r*B&&O.clientY-q.top>$.t*_&&q.bottom-O.clientY>$.b*_}function j(O){if(!y.value||O._vhandled||!D(O)||!Array.from(y.value).filter(x=>x.render=="canvas").length)return O;let B={};for(let x in O)B[x]=O[x];B.bubbles=!1;let _=new PointerEvent(O.type,B);for(let x of Object.keys(O)){let M=Object.getOwnPropertyDescriptor(_,x);M&&!M.writable&&!M.set||(_[x]=O[x])}for(let x=y.value.length-1;x>=0;x--)y.value[x].dispatchEvent(_)===!1&&O.preventDefault();for(let x of Object.keys(_)){let M=Object.getOwnPropertyDescriptor(_,x);M&&!M.writable&&!M.set||(O[x]=_[x])}return _._vhandled?_:O}let U,Y=0,z=0;function V(O){let q=j(O),B=w(O);if(o("pointerdown",q,B),q.defaultPrevented&&O.preventDefault(),r.clip&&!D(O))return;let _=O.currentTarget,x=!1;function M(G){(Math.abs(G.screenX-O.screenX)>3||Math.abs(G.screenY-O.screenY)>3)&&(x=!0,G.currentTarget.removeEventListener("pointermove",M))}O.target.addEventListener("pointermove",M,{passive:!0}),O.target.addEventListener("pointerup",function(G){if(O.target.removeEventListener("pointermove",M),!x){let tt=new PointerEvent("singleclick",G);G.target.dispatchEvent(tt)}},{once:!0});let N=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==O[tt]));if(N){let{x:G=!1,y:tt=!1,"min-range-x":at=0,"min-range-y":it=0}=N;O.target.setPointerCapture(O.pointerId),_.style.userSelect="none";let kt=(({xmin:ht,xmax:ct})=>({min:ht,max:ct}))(N),wt=(({ymin:ht,ymax:ct})=>({min:ht,max:ct}))(N);O.target.onpointermove=ht=>{if(!G&&!tt||!x)return;let ct=w(ht),nt={};if(G){let rt=yt(B.x,kt),K=yt(yt(ct.x,ct.x>rt?{min:ft(rt,at)}:{max:ft(rt,-at)}),kt);nt.xmin=rt>K?K:rt,nt.xmax=rt>K?rt:K,nt.xreverse=rt>K}if(tt){let rt=yt(B.y,wt),K=yt(yt(ct.y,ct.y>rt?{min:ft(rt,it)}:{max:ft(rt,-it)}),wt);nt.ymin=rt>K?K:rt,nt.ymax=rt>K?rt:K}a.value=nt,s.value=N.theme},O.target.onpointerup=ht=>{if(ht.currentTarget.onpointerup=null,ht.currentTarget.onpointermove=null,_.style.userSelect=null,a.value={},x&&(G||tt)){N.buttons&1&&(ht.currentTarget.onclick=K=>{K.currentTarget.onclick=null,Be(N.onClick,K)}),N.buttons&2&&(ht.currentTarget.oncontextmenu=K=>{K.currentTarget.oncontextmenu=null,Be(N.onContextmenu,K)});let ct=w(ht),nt={},rt=new PointerEvent("select",O);if(G){let K=yt(B.x,kt),vt=yt(yt(ct.x,ct.x>K?{min:ft(K,at)}:{max:ft(K,-at)}),kt);if(K==vt)return;nt.xmin=K>vt?vt:K,nt.xmax=K>vt?K:vt,nt.xreverse=K>vt}if(tt){let K=yt(B.y,wt),vt=yt(yt(ct.y,ct.y>K?{min:ft(K,it)}:{max:ft(K,-it)}),wt);if(K==vt)return;nt.ymin=K>vt?vt:K,nt.ymax=K>vt?K:vt,nt.yreverse=K>vt}N["onUpdate:modelValue"]?.(nt),Be(N.onSelect,_t(nt),rt)||o("select",_t(nt),rt)}if(!x&&N.dismissible!==!1){if(ht.defaultPrevented)return;let ct=N.modelValue;if(N.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(K=>ct?.[K]==null))return;let nt={},rt=new PointerEvent("select",O);N["onUpdate:modelValue"]?.(nt),Be(N.onDismiss,_t(nt),rt)||o("select",_t(nt),rt)}};return}let R=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==O[tt]));if(R){let G=m.value.getBoundingClientRect(),tt=G.width/m.value.clientWidth,at=G.height/m.value.clientHeight;O.target.setPointerCapture(O.pointerId),_.style.userSelect="none",U=clearTimeout(U);let it=0,kt=E.width,wt=0,ht=E.height,ct,nt,rt,K,vt=k(R);O.target.onpointermove=mt=>{let{x:Rt=!1,y:Xt=!1}=R,[$e,xe]=t.flip?[Xt,Rt]:[Rt,Xt];if($e){Y+=mt.movementX;let Pe=yt(-Y/tt,{min:vt.hmin-it,max:vt.hmax-kt});ct=it+Pe,nt=kt+Pe}if(xe){z+=mt.movementY;let Pe=yt(-z/at,{min:vt.vmin-wt,max:vt.vmax-ht});rt=wt+Pe,K=ht+Pe}let{xmin:de,xmax:me,ymin:xr,ymax:Je}=g({hmin:ct,hmax:nt,vmin:rt,vmax:K});Object.assign(c,{xmin:de,xmax:me,ymin:xr,ymax:Je})},O.target.onpointerup=mt=>{mt.currentTarget.onpointerup=null,mt.currentTarget.onpointermove=null,_.style.userSelect=null,U=setTimeout(()=>{Z(R,mt),Y=z=0},300)};return}}let H=0,F;function et(O){let q=j(O),B=w(O);if(o("wheel",q,B),q.defaultPrevented&&O.preventDefault(),r.clip&&!D(O))return;let _=r.action.find(x=>["zoom","nudge"].includes(x.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(M=>x[M]==O[M]));!_||!_.x&&!_.y||(F=clearTimeout(F),O.preventDefault(),h.value="transform 0.1s ease-out",H+=O.deltaY,Q(_,B,H),F=setTimeout(()=>{Z(_,O),H=0},300))}function Q(O,q,B){if(O.action=="zoom"){let{x:_=!1,y:x=!1,"min-range-x":M=0,"min-range-y":N=0,sensitivity:R=1.25}=O,G=R**(H/100),[tt,at]=t.flip?[x,_]:[_,x],it=k(O),kt,wt,ht,ct;tt&&(kt=Math.max(q.l-Math.max(q.l,0)*G,it.hmin??-1/0),wt=Math.min(q.l+Math.max(q.r,0)*G,it.hmax??1/0)),at&&(ht=Math.max(q.t-Math.max(q.t,0)*G,it.vmin??-1/0),ct=Math.min(q.t+Math.max(q.b,0)*G,it.vmax??1/0));let{xmin:nt,xmax:rt,ymin:K,ymax:vt}=g({hmin:kt,hmax:wt,vmin:ht,vmax:ct});if(_&&G<1&&rt-nt<M){let mt=(rt+nt)/2;nt=mt-M/2,rt=mt+M/2}if(x&&G<1&&vt-K<N){let mt=(vt+K)/2;K=mt-N/2,vt=mt+N/2}Object.assign(c,{xmin:nt,xmax:rt,ymin:K,ymax:vt})}if(O.action=="nudge"){let{x:_=!1,y:x=!1,sensitivity:M=.1}=O,[N,R]=t.flip?[x,_]:[_,x],G=k(O),tt=0,at=E.width,it=0,kt=E.height,wt,ht,ct,nt;if(N){let Rt=M*E.width*(-B/120),Xt=yt(-Rt,{min:G.hmin-tt,max:G.hmax-at});wt=tt+Xt,ht=at+Xt}if(R){let Rt=M*E.height*(-B/120),Xt=yt(-Rt,{min:G.vmin-it,max:G.vmax-kt});ct=it+Xt,nt=kt+Xt}let{xmin:rt,xmax:K,ymin:vt,ymax:mt}=g({hmin:wt,hmax:ht,vmin:ct,vmax:nt});Object.assign(c,{xmin:rt,xmax:K,ymin:vt,ymax:mt})}}const W=X(()=>{let O=0,q=E.width,B=0,_=E.height,{hmin:x=O,hmax:M=q,vmin:N=B,vmax:R=_}=k(c??{}),G=q-O,tt=M-x,at=_-B,it=R-N;return{scaleH:G<1||tt<1||Math.abs(G-tt)<1?1:G/tt,translateH:(O*M-x*q)/(M-x)||0,scaleV:at<1||it<1||Math.abs(at-it)<1?1:at/it,translateV:(B*R-N*_)/(R-N)||0}});Ct(W,({translateH:O,translateV:q,scaleH:B,scaleV:_})=>{!O&&!q&&B==1&&_==1&&(h.value=null)},{deep:!0});function Z(O,q){let B=_t(c)??{};if(!Object.keys(B).length)return;let _=new PointerEvent(q.type,q);Be(O.emit,B,_)||o(O.action,B,_),st(B),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ot={pointerdown:V,pointerup(O){let q=j(O),B=w(O);o("pointerup",q,B),q.defaultPrevented&&O.preventDefault()},pointerover(O){o("pointerover",O,w(O))},pointerout(O){o("pointerout",O,w(O))},pointerenter(O){o("pointerenter",O,w(O))},pointerleave(O){o("pointerleave",O,w(O))},click(O){o("click",j(O),w(O))},contextmenu(O){let q=j(O),B=w(O);o("contextmenu",q,B),q.defaultPrevented&&O.preventDefault()},singleclick(O){o("singleclick",j(O),w(O))},dblclick(O){let q=j(O),B=w(O);o("dblclick",q,B),q.defaultPrevented&&O.preventDefault()},pointermove(O){let q=j(O),B=w(O);o("pointermove",q,B),q.defaultPrevented&&O.preventDefault()},wheel:et};function st(O){let{xmin:q,xmax:B,ymin:_,ymax:x}=O,{xmin:M,xmax:N,ymin:R,ymax:G}=l;q=q!=null?ft(q,+t.expandAdd.x.min):M,B=B!=null?ft(B,-t.expandAdd.x.max):N,_=_!=null?ft(_,+t.expandAdd.y.min):R,x=x!=null?ft(x,-t.expandAdd.y.max):G,!(q==M&&B==N&&_==R&&x==G)&&Object.assign(l,{xmin:q,xmax:B,ymin:_,ymax:x})}const pt=Le(()=>{let O=c?.xmin??l?.xmin,q=c?.xmax??l?.xmax,B=c?.ymin??l?.ymin,_=c?.ymax??l?.ymax;return{x:O||q?{min:O,max:q}:void 0,y:B||_?{min:B,max:_}:void 0}}),Qt=X(()=>{let O={x:S.value.coordScales.x,y:S.value.coordScales.y};return r.axes.filter(q=>q.coord in O).filter(q=>["h","v"].includes(q.orientation)).map(({coord:q,breaks:B,labels:_,titles:x,minorBreaks:M,...N})=>({coord:q,axis:new U9(O[q],{breaks:B,labels:_,titles:x,minorBreaks:M}),etc:N}))});function le(O){let{grid_color:q,grid_color_major:B=q,grid_color_minor:_=q,grid_width:x,grid_width_major:M=x,grid_width_minor:N=x,...R}=O;return B&&(R.grid_color_major=B),_&&(R.grid_color_minor=_),M&&(R.grid_width_major=M),N&&(R.grid_width_minor=N),R}const ie=X(()=>Qt.value.map(({coord:O,axis:q,etc:B})=>{let{showGrid:_,breakSlot:x,orientation:M,...N}=B,R=le(t.theme.axis[M]??{}),G=le(N.theme),tt=q.getBreaks({range:pt[O],expandMult:t.expandMult[O],breakSlot:x});for(let at of tt)at.theme=Object.assign({},R,G,le(at.theme??{}));return{breaks:tt,showGrid:_,coord:O,orientation:M,bind:N}})),te=X(()=>{let O=ie.value.filter(B=>B.showGrid&&B.orientation=="v"),q=ie.value.filter(B=>B.showGrid&&B.orientation=="h");return{h:li(O.flatMap(B=>B.breaks),B=>B.value,(B,_)=>[B,_].find(x=>x.type=="major")??B),v:li(q.flatMap(B=>B.breaks),B=>B.value,(B,_)=>[B,_].find(x=>x.type=="major")??B)}}),ve=X(()=>ie.value.map(({orientation:O,coord:q,bind:B,breaks:_})=>{let{onMove:x=(...tt)=>o("move",...tt),onZoom:M=(...tt)=>o("zoom",...tt),onRescale:N=(...tt)=>o("rescale",...tt),onNudge:R=(...tt)=>o("nudge",...tt),...G}=B;return{orientation:O,bind:{coord:q,orientation:O,ticks:_.filter(tt=>tt.type=="major"),layout:E,coord2pos:k,pos2coord:g,...G},on:{zoom:M,move:x,rescale:N,nudge:R,rangechange:st}}}));return(O,q)=>(P(),I("svg",J({ref:"svg",width:"100%",height:"100%"},Tt(ot,!0),O.$attrs),[Nt("defs",null,[Nt("clipPath",{id:`${Mt(i)}-plot-clip`},[Nt("rect",{x:"0",y:"0",width:Mt($).width,height:Mt($).height},null,8,aG)],8,lG)]),q[6]||(q[6]=dt()),t.theme.plot.background?(P(),I("rect",{key:0,transform:`translate(${Mt($).left}, ${Mt($).top})`,width:Mt($).width,height:Mt($).height,fill:t.theme.plot.background},null,8,cG)):Ot("",!0),q[7]||(q[7]=dt()),Nt("g",{transform:`translate(${Mt($).left}, ${Mt($).top})`,style:{"pointer-events":"none"}},[re(bU,{breaks:te.value.h,layout:Mt(E),activeTransform:W.value,coord2pos:k,transition:h.value},null,8,["breaks","layout","activeTransform","transition"]),q[2]||(q[2]=dt()),re(wU,{breaks:te.value.v,layout:Mt(E),activeTransform:W.value,coord2pos:k,transition:h.value},null,8,["breaks","layout","activeTransform","transition"])],8,uG),q[8]||(q[8]=dt()),Nt("g",{transform:`translate(${Mt($).left}, ${Mt($).top})`,"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[Nt("g",J(C.value,{style:{transition:h.value}}),[(P(!0),I(lt,null,ut(S.value.layers,B=>(P(),bt(UU,J({ref_for:!0,ref_key:"layers",ref:y,data:B.data},{ref_for:!0},B.vBind,{layout:Mt(E),geom:B.geom,coord2pos:k,getCoord:w,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),q[3]||(q[3]=dt()),(P(!0),I(lt,null,ut(r.selections,B=>(P(),bt(Do,J({coord2pos:k,pos2coord:g,layout:Mt(E),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:W.value},{ref_for:!0},B,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),q[4]||(q[4]=dt()),re(Do,{coord2pos:k,pos2coord:g,layout:Mt(E),modelValue:a.value,transition:h.value,activeTransform:W.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,hG),q[9]||(q[9]=dt()),Nt("g",{transform:`translate(${Mt($).left}, ${Mt($).top})`},[(P(!0),I(lt,null,ut(ve.value.filter(B=>typeof B.bind.position!="number"),B=>(P(),bt($o,J({ref_for:!0},B.bind,Tt(B.on),{transition:h.value,"onUpdate:transition":q[0]||(q[0]=_=>h.value=_),activeTransform:W.value}),null,16,["transition","activeTransform"]))),256)),q[5]||(q[5]=dt()),Nt("g",{"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[(P(!0),I(lt,null,ut(ve.value.filter(B=>typeof B.bind.position=="number"),B=>(P(),bt($o,J({ref_for:!0},B.bind,Tt(B.on),{transition:h.value,"onUpdate:transition":q[1]||(q[1]=_=>h.value=_),activeTransform:W.value}),null,16,["transition","activeTransform"]))),256))],8,dG)],8,fG),q[10]||(q[10]=dt()),Ro(O.$slots,"default"),q[11]||(q[11]=dt()),r.legendTeleport?(P(),I("foreignObject",mG,[(P(),bt(Rl,{defer:"",to:r.legendTeleport},[re(sG,{scales:S.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Ot("",!0)],16))}}),Ln={$_type:"action",$_props:{}},Fi={$_type:"layer"},Ui={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},Gi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Wi={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer",$_argnames:["width","height","position"]},Ki={$_props:{geom:"curve",stat:"curve",fill:"none",color:"black"},$_type:"layer",$_attrnames:["interpolate"]},Zi={$_props:{geom:"curve",stat:"density",fill:"none",color:"black"},$_type:"layer",$_argnames:["n","kernel","scale"]},Qi={$_props:{geom:"ellipse",stat:"ellipse",fill:"none",color:"black"},$_type:"layer",$_argnames:["CI"]},Ji={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},tr={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},er={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},nr={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},ir={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},rr={$_props:{geom:"line",stat:"path"},$_type:"layer"},or={$_props:{geom:"point",stat:"point"},$_type:"layer"},sr={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},lr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},ar={$_props:{geom:"line",stat:"segment"},$_type:"layer"},cr={$_props:{geom:"shape",stat:"shape",interpolate:"catmullRomClosed"},$_type:"layer",$_attrnames:["interpolate"]},ur={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},hr={$_props:{geom:"text",stat:"text"},$_type:"layer"},fr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},dr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},mr={$_props:{geom:"shape",stat:"violin"},$_type:"layer",$_argnames:["n","kernel","scale","width","height","position"]},yG=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Fi,VVGeomBar:Ui,VVGeomBlank:Gi,VVGeomBoxplot:Wi,VVGeomCurve:Ki,VVGeomDensity:Zi,VVGeomEllipse:Qi,VVGeomHistogram:Ji,VVGeomLine:tr,VVGeomLinerange:er,VVGeomMarkdown:nr,VVGeomMarkdownsegment:ir,VVGeomPath:rr,VVGeomPoint:or,VVGeomPolygon:sr,VVGeomRect:lr,VVGeomSegment:ar,VVGeomShape:cr,VVGeomStick:ur,VVGeomText:hr,VVGeomTextsegment:fr,VVGeomTile:dr,VVGeomViolin:mr},Symbol.toStringTag,{value:"Module"})),gr={$_type:"axis",$_props:{}},yr={$_type:"axis",$_props:{coord:"x"}},pr={$_type:"axis",$_props:{coord:"y"}},vr={$_type:"axis-break",$_props:{type:"major"}},pG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:gr,VVAxisBreak:vr,VVAxisX:yr,VVAxisY:pr},Symbol.toStringTag,{value:"Module"})),vG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},El=Object.assign({inheritAttrs:!1},{__name:"Plot",props:d1({data:Array,scales:Object,aes:Object,expandAdd:Object,expandMult:Object,extend:Object,levels:Object,range:Object,minRange:Object,rangePreview:Object,axes:[Object,Array],theme:[Object,Array],action:[Object,Array],reverse:Object,render:String,flip:Boolean,clip:{type:Boolean,default:!0},resize:null,legendTeleport:null,dpi:Number},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:d1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={...yG,...pG,VVAction:Ln,VVSelection:Ln},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(x){return x==null?x:x===""||!!x}const l=n,c=Ae(t,"selectionPreview"),a=Ae(t,"selectionPreviewTheme"),s=Ae(t,"transition");function u(x){return{props:Object.fromEntries(x.props.map(N=>{try{if(N.type==7)return[N.arg.content,new Function("return "+N.exp.content)()];if(N.type==6)return[N.name,N.value?.content??""]}catch{}}).filter(N=>N!=null)),children:x.children.map(N=>()=>[u(N)]),type:i[x.tag]}}const d=Hl(),f=Xl(),h=Pt({axis:{},layer:{},action:{},selection:{},dom:{}});for(let x in d)Ct(()=>d[x]?.(),M=>{let N=T1(M).flatMap(G=>G.type?.template?$a(G.type.template,{decodeEntities:!0}).children.map(at=>u(at)):G).filter(G=>G!=null),R=Object.groupBy(N,G=>G.type.$_type??"dom");for(let G in R)h[G][x]=R[G]},{immediate:!0});const m=X(()=>Object.values(h.layer).flat()),y=X(()=>Object.values(h.axis).flat()),b=X(()=>Object.values(h.action).flat()),A=X(()=>Object.values(h.selection).flat()),T=X(()=>Object.keys(h.dom).flatMap(x=>x=="panel"?[]:h.dom[x])),S=X(()=>T.value.filter(x=>Ar(x.type))),$=X(()=>T.value.filter(x=>!Ar(x.type))),E=X(()=>{let x={},M={};for(let N in f)if(N.startsWith("on")){let R=Array.isArray(f[N])?f[N]:[f[N]];x[N]=R.filter(G=>typeof G=="function"),M[N]=R.filter(G=>typeof G!="function")}else N.startsWith("svg-")?x[N.slice(4)]=f[N]:M[N]=f[N];return{plot:x,wrapper:M}}),C=X(()=>{let x=[ts,es].concat(t.theme??[]);return Ra(Ia(Ba(...x),t.flip))},{deep:!0}),L=Le(()=>{let x=y.value.map(R=>({...R.type.$_props,...R.props})),M=x.filter(R=>R.coord==="x"),N=x.filter(R=>R.coord==="y");return{x:M.find(R=>o(R.primary))??M.find(R=>R.primary==null&&!o(R.secondary)),y:N.find(R=>o(R.primary))??N.find(R=>R.primary==null&&!o(R.secondary))}}),g={levels:Pt({}),extend:Pt({}),"min-range":Pt({}),"expand-add":Pt({}),"expand-mult":Pt({}),boundary:Pt({}),reverse:Pt({}),min:Pt({}),max:Pt({}),"min-preview":Pt({}),"max-preview":Pt({})};Ct(L,x=>{for(let M of["x","y"])for(let N in g)g[N][M]=x?.[M]?.[N]},{immediate:!0});const p=Le(()=>{let x={};for(let M of["x","y"]){let N=g.boundary[M];x[M]={min:N?.min??N?.[0],max:N?.max??N?.[1]}}return x}),k=X(()=>({data:t.data,aes:t.aes,extendX:g.extend.x??t.extend?.x??0,extendY:g.extend.y??t.extend?.y??0})),v=X(()=>m.value.map(x=>{let{geom:M,stat:N,scales:R,data:G,"extend-x":tt,"extend-y":at,...it}={...x.type.$_props,...x.props},kt=x.type.$_argnames||[],wt=x.type.$_attrnames||[],ht={},ct={},nt={},rt={};for(let K in it)K!="key"&&(kt.includes(K)?ct[K]=it[K]:wt.includes(K)?nt[K]=it[K]:K.startsWith("on")?rt[K]=it[K]:typeof it[K]=="function"?["item-class","item-style"].includes(K)?ht[K.slice(5)]=it[K]:ht[K]=it[K]:["class","style","group-class","group-style","dpi","render"].includes(K)?rt[K]=it[K]:["item-class","item-style"].includes(K)?nt[K.slice(5)]=it[K]:nt[K]=it[K]);return{geom:M,stat:N,data:G,aes:ht,attrs:nt,scales:R,args:ct,extendX:tt,extendY:at,vBind:rt}})),w=X(()=>(({x,y:M,...N})=>N)(t.levels??{})),D=X(()=>{let x={};for(let M of["x","y"])x[M]=g.levels[M]??t.levels?.[M];return x}),j=X(()=>{let x={};for(let M of["x","y"]){let N=g.min[M]??t.range?.[M+"min"],R=g.max[M]??t.range?.[M+"max"];x[M+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,x[M+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return x}),U=X(()=>{let x={};for(let M of["x","y"]){let N=g["min-preview"][M]??t.rangePreview?.[M+"min"],R=g["max-preview"][M]??t.rangePreview?.[M+"max"];x[M+"min"]=isFinite(N)&&!Number.isNaN(N)?N:null,x[M+"max"]=isFinite(R)&&!Number.isNaN(R)?R:null}return x}),Y=Le(()=>({xmin:L?.x?.["onUpdate:min"],xmax:L?.x?.["onUpdate:max"],ymin:L?.y?.["onUpdate:min"],ymax:L?.y?.["onUpdate:max"]})),z=Le(()=>({xmin:L?.x?.["onUpdate:minPreview"],xmax:L?.x?.["onUpdate:maxPreview"],ymin:L?.y?.["onUpdate:minPreview"],ymax:L?.y?.["onUpdate:maxPreview"]})),V=Pt({}),H=Pt({});Ct(j,(x,M)=>{x?.xmin!==M?.xmin&&(V.xmin=x.xmin),x?.xmax!==M?.xmax&&(V.xmax=x.xmax),x?.ymin!==M?.ymin&&(V.ymin=x.ymin),x?.ymax!==M?.ymax&&(V.ymax=x.ymax)},{immediate:!0}),Ct(U,(x,M)=>{x?.xmin!==M?.xmin&&(H.xmin=x.xmin),x?.xmax!==M?.xmax&&(H.xmax=x.xmax),x?.ymin!==M?.ymin&&(H.ymin=x.ymin),x?.ymax!==M?.ymax&&(H.ymax=x.ymax)},{immediate:!0}),Ct(()=>({...V}),(x,M)=>{for(let N in Y)Y[N]?.(x[N]);l("rangechange",{...x},{...M}),l("update:range",{...x})},{deep:!0}),Ct(()=>H,x=>{for(let M in z)z[M]?.(x[M]);l("update:rangePreview",{...x})},{deep:!0}),wr("range",V),wr("rangePreview",H);const F=X(()=>({x:g["min-range"].x??t.minRange?.x??0,y:g["min-range"].y??t.minRange?.y??0})),et=X(()=>{let x=g["expand-add"].x??t.expandAdd?.x??0,M=g["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray(M)?M={min:M[0],max:M[1]}:typeof M=="number"&&(M={min:M,max:M}),{x,y:M}}),Q=X(()=>{let x=g["expand-mult"].x??t.expandMult?.x??.05,M=g["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(x)?x={min:x[0],max:x[1]}:typeof x=="number"&&(x={min:x,max:x}),Array.isArray(M)?M={min:M[0],max:M[1]}:typeof M=="number"&&(M={min:M,max:M}),{x,y:M}}),W=Le(()=>({x:o(g.reverse.x)??t.reverse?.x??!1,y:o(g.reverse.y)??t.reverse?.y??!1})),Z={left:1,right:2,middle:4,X1:8,X2:16},ot=X(()=>{let x=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},M=y.value.map(N=>({...N.type.$_props,...N.props,$_children:N.children??{}})).concat(t.axes??[]);return M.every(N=>N?.coord!="x")&&M.push({coord:"x"}),M.every(N=>N?.coord!="y")&&M.push({coord:"y"}),M.map(({coord:N,position:R,title:G,breaks:tt,labels:at,titles:it,"minor-breaks":kt,"show-grid":wt,theme:ht=[],extend:ct,boundary:nt,action:rt,primary:K,secondary:vt,"expand-mult":mt,"expand-add":Rt,levels:Xt,limits:$e,min:xe,max:de,"onUpdate:min":me,"onUpdate:max":xr,$_children:Je={},...Pe})=>{let je=x[N];R=R??"start",R=="start"?(R={h:"bottom",v:"left"}[je],W[r[N]]&&(R=r[R])):R=="end"&&(R={h:"top",v:"right"}[je],W[r[N]]&&(R=r[R]));let Ol=Je.breaks,Pl=Object.keys(Je).filter(Bt=>typeof Je[Bt]=="function"&&Bt!="breaks").flatMap(Bt=>T1(Je[Bt]())).map(Bt=>({...Bt.type.$_props,...Bt.props})).concat(rt??[]).flatMap(Bt=>{let br=[];for(let R1 of["move","nudge","zoom","rescale"]){let ae=Bt[R1];if(ae==null||ae===!1)continue;let jl="on"+R1.charAt(0).toUpperCase()+R1.slice(1);br.push({action:R1,[je+"min"]:ae.min??Bt.min??nt?.min??nt?.[0]??p?.[N]?.min,[je+"max"]:ae.max??Bt.max??nt?.max??nt?.[1]??p?.[N]?.max,["min-range-"+je]:ae["min-range"]??Bt["min-range"],ctrlKey:!!(ae.ctrl??o(Bt.ctrl)),shiftKey:!!(ae.shift??o(Bt.shift)),altKey:!!(ae.alt??o(Bt.alt)),metaKey:!!(ae.meta??o(Bt.meta)),buttons:ae.buttons??Z[ae.button]??Bt.buttons??Z[Bt.button]??1,emit:Bt[jl]})}return br});return{coord:N,orientation:je,position:R,title:G,breaks:tt,labels:at,titles:it,minorBreaks:kt,breakSlot:Ol,showGrid:o(wt)??R!=="none",extend:ct??g.extend[N],theme:Object.assign({},...[C.value?.axis?.[R]??C.value?.axis?.[je]].concat(ht)),action:Pl,...Pe}}).filter(N=>N!=null)}),st=Pt({});Ct(ot,x=>{for(let M of["left","right","top","bottom"])st[M]=x.some(N=>N.position==M)},{immediate:!0});const pt=X(()=>b.value.map(x=>({...x.type.$_props,...x.props})).concat(t.action??[]).flatMap(x=>{let M=[];for(let N of["select","move","nudge","zoom"]){let R=x[N];if(R==null||R===!1)continue;let G=R.x==null&&R.y==null&&x.x==null&&x.y==null,tt="on"+N.charAt(0).toUpperCase()+N.slice(1);M.push({action:N,x:G||!!(R.x??o(x.x)),y:G||!!(R.y??o(x.y)),xmin:R.xmin??x.xmin??p?.x?.min,xmax:R.xmax??x.xmax??p?.x?.max,ymin:R.ymin??x.ymin??p?.y?.min,ymax:R.ymax??x.ymax??p?.y?.max,"min-range-x":R["min-range-x"]??x["min-range-x"],"min-range-y":R["min-range-y"]??x["min-range-y"],ctrlKey:!!(R.ctrl??o(x.ctrl)),shiftKey:!!(R.shift??o(x.shift)),altKey:!!(R.alt??o(x.alt)),metaKey:!!(R.meta??o(x.meta)),buttons:R.buttons??Z[R.button]??x.buttons??Z[x.button]??1,emit:x[tt]})}return M})),Qt=X(()=>A.value.map(x=>({...x.type.$_props,...x.props})).map(({once:x,move:M,dismissible:N,resize:R,x:G,y:tt,xmin:at,xmax:it,ymin:kt,ymax:wt,ctrl:ht,shift:ct,alt:nt,meta:rt,button:K,buttons:vt,modelValue:mt,"onUpdate:modelValue":Rt,theme:Xt=[],...$e})=>{let xe=G==null&&tt==null;return o(x)?(mt=Pt({}),Rt=null):Rt==null&&(mt=Pt(mt??{}),Rt=de=>{for(let me in mt)delete mt[me];Object.assign(mt,de)}),{move:!!o(M),dismissible:N==null?void 0:N!==!1,resize:!!o(R),x:xe||!!o(G),y:xe||!!o(tt),xmin:at??p?.x?.min,xmax:it??p?.x?.max,ymin:kt??p?.y?.min,ymax:wt??p?.y?.max,ctrlKey:!!o(ht),shiftKey:!!o(ct),altKey:!!o(nt),metaKey:!!o(rt),buttons:vt??Z[K]??1,modelValue:mt,"onUpdate:modelValue":Rt,theme:Object.assign({},...[C.value?.selection].concat(Xt)),onSelect:(de,me)=>l("select",de,me),...$e}})),{pixelRatio:le}=ea(),ie=qt("wrapper"),te=qt("plot"),ve=Ae(t,"width"),O=Ae(t,"height");Io(()=>{Ct(ve,x=>{ie.value.style.width=qe(x,"px")??null},{immediate:!0}),Ct(O,x=>{ie.value.style.height=qe(x,"px")??null},{immediate:!0})});let q={width:0,height:0};zo(te,x=>{let{width:M,height:N}=x[0].contentRect;ie.value.style.width&&(ve.value=M),ie.value.style.height&&(O.value=N),(M>0||N>0)&&(q.width>0||q.height>0)&&l("resize",{width:M,height:N},q),q={width:M,height:N}});const B=X(()=>({position:"absolute",pointerEvents:"none",left:qe(te.value?.panel?.left,"px"),top:qe(te.value?.panel?.top,"px"),width:qe(te.value?.panel?.width,"px"),height:qe(te.value?.panel?.height,"px")})),_=X(()=>{let x={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(x,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(x,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(x,{resize:"vertical"}),x});return e({get svg(){return te.value.svg},serialize(x){return La(te.value.svg,x)}}),(x,M)=>(P(),I("div",J({ref:"wrapper",class:"vvplot",style:_.value},E.value.wrapper),[re(gG,J({ref:"plot",paddings:st,schema:k.value,layers:v.value,"min-range":F.value,"expand-add":et.value,"expand-mult":Q.value,reverse:Mt(W),flip:t.flip,"coord-levels":D.value,levels:w.value,scales:t.scales,axes:ot.value,theme:C.value,selections:Qt.value,transition:s.value,"onUpdate:transition":M[0]||(M[0]=N=>s.value=N)},E.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":M[1]||(M[1]=N=>c.value=N),"selection-preview-theme":a.value,"onUpdate:selectionPreviewTheme":M[2]||(M[2]=N=>a.value=N),action:pt.value,clip:t.clip,render:t.render,dpi:t.dpi??96*Mt(le),legendTeleport:t.legendTeleport,onSelect:M[3]||(M[3]=(N,R)=>l("select",N,R))}),{default:Yl(()=>[(P(!0),I(lt,null,ut(S.value,N=>(P(),bt(Xe(N)))),256))]),_:1},16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","dpi","legendTeleport"]),M[4]||(M[4]=dt()),Nt("div",{class:"vvplot-panel-container",style:D1(B.value)},[h.dom.panel?.length?(P(),I("div",vG,[(P(!0),I(lt,null,ut(h.dom.panel,N=>(P(),bt(Xe(N)))),256))])):Ot("",!0)],4),M[5]||(M[5]=dt()),(P(!0),I(lt,null,ut($.value,N=>(P(),bt(Xe(N)))),256))],16))}}),Ll={$_type:"selection",$_props:{}},xG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:Ln,VVAxis:gr,VVAxisBreak:vr,VVAxisX:yr,VVAxisY:pr,VVGeom:Fi,VVGeomBar:Ui,VVGeomBlank:Gi,VVGeomBoxplot:Wi,VVGeomCurve:Ki,VVGeomDensity:Zi,VVGeomEllipse:Qi,VVGeomHistogram:Ji,VVGeomLine:tr,VVGeomLinerange:er,VVGeomMarkdown:nr,VVGeomMarkdownsegment:ir,VVGeomPath:rr,VVGeomPoint:or,VVGeomPolygon:sr,VVGeomRect:lr,VVGeomSegment:ar,VVGeomShape:cr,VVGeomStick:ur,VVGeomText:hr,VVGeomTextsegment:fr,VVGeomTile:dr,VVGeomViolin:mr,VVPlot:El,VVSelection:Ll},Symbol.toStringTag,{value:"Module"}));export{Ln as VVAction,gr as VVAxis,vr as VVAxisBreak,yr as VVAxisX,pr as VVAxisY,Fi as VVGeom,Ui as VVGeomBar,Gi as VVGeomBlank,Wi as VVGeomBoxplot,Ki as VVGeomCurve,Zi as VVGeomDensity,Qi as VVGeomEllipse,Ji as VVGeomHistogram,tr as VVGeomLine,er as VVGeomLinerange,nr as VVGeomMarkdown,ir as VVGeomMarkdownsegment,rr as VVGeomPath,or as VVGeomPoint,sr as VVGeomPolygon,lr as VVGeomRect,ar as VVGeomSegment,cr as VVGeomShape,ur as VVGeomStick,hr as VVGeomText,fr as VVGeomTextsegment,dr as VVGeomTile,mr as VVGeomViolin,El as VVPlot,Ll as VVSelection,xG as components,Js as number_cut,D9 as oob,Bn as vvbreak,Se as vvgeom,Mi as vvlabel,Qs as vvscale,ns as vvstat,Ha as vvtheme};
|
|
24
|
+
`;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function pU(t,e,n){var i="<"+t;if(e&&e.length>0)for(var r=0,o;(o=e[r])!==void 0;)i+=" "+o[0]+'="'+this.esc(o[1])+'"',r++;return n&&(i+=" /"),i+=">",i}b1.prototype=Object.create(t1.prototype);b1.prototype.render=mU;b1.prototype.out=gU;b1.prototype.cr=yU;b1.prototype.tag=pU;b1.prototype.esc=Rn;const vU=["text-anchor","font-size"],xU={key:0},R1={__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 qF,n=Bt("ele"),i=jt({width:0,height:0}),r=Ge("vvplot-visible",!0);St([n,r,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([c])=>{if(!c)return;await Ln();let{width:l,height:s}=c.getBBox();i.width=l,i.height=s});const o=_(()=>{let{width:c,height:l}=i,s=[],u=({start:-.5,end:.5}[t.textAnchor]??0)*c;if(t.dockX!=null||t.dockY!=null){let d={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),f={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(d)&&(d=.5),isNaN(f)&&(f=.5);let h=c*Math.abs(Math.cos(t.angle*Math.PI/180))+l*Math.abs(Math.sin(t.angle*Math.PI/180)),m=c*Math.abs(Math.sin(t.angle*Math.PI/180))+l*Math.abs(Math.cos(t.angle*Math.PI/180)),y=t.translateX,p=t.translateY;s.push(`translate(${h*(.5-d)+y},${m*(f-.5)+p})`),t.angle&&s.push(`rotate(${t.angle})`),s.push(`translate(${u},${-l/2})`)}else{let d={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),f={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(d)&&(d=.5),isNaN(f)&&(f=.5);let h=c,m=l,y=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),p=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&s.push(`rotate(${t.angle})`),s.push(`translate(${h*(.5-d)+y+u},${m*(f-.5)+p-l/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":Yt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:s.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),a=_(()=>{const c=e.parse(String(t.text)).walker(),l=[];let s=[],u=[1],d=0,f=!0,h;for(;h=c.next();){let{node:{type:m,literal:y},entering:p}=h,S=u.at(-1);if(p){if(m==="text"||m==="code"){let $=d+(f?1:0);const b=Object.assign({x:f?t.x:null,dy:Ie($||null,"em")},...s,{"font-family":m==="code"?"monospace":null,"font-size":S===1?null:`${S}em`});d=0,f=!1,l.push({text:y,vbind:b})}else if(m==="strong")s.push({"font-weight":"bold"});else if(m==="emph")s.push({"font-style":"italic"});else if(m==="softbreak"||m==="paragraph")l.push({text:`
|
|
25
|
+
`}),f=!0;else if(m==="html_inline"){const $=y;if($.includes("color=")){const b=$.match(/color=(['"])(.*?)\1/i)?.[2]??$.match(/color=(\S*)/)?.[1];b&&s.push({fill:b})}else $.includes("</font>")?s.pop():$.includes("<sup>")?(d-=.4*S,u.push(S*.7)):$.includes("</sup>")?(d+=.4*u.at(-1),u.pop()):$.includes("<sub>")?(d+=.25*S,u.push(S*.7)):$.includes("</sub>")&&(d-=.25*u.at(-1),u.pop())}}else["strong","emph"].includes(m)&&s.pop()}return l});return(c,l)=>(O(),R("text",J({ref_key:"ele",ref:n},o.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(O(),R("title",xU,Ft(t.title),1)):Ot("",!0),l[0]||(l[0]=mt()),(O(!0),R(lt,null,ht(a.value,s=>(O(),R("tspan",J({ref_for:!0},s.vbind),Ft(s.text),17))),256))],16,vU))}},Il={__name:"CoreAxisLabel",props:{type:String,value:null,getPosition:Function},emits:["click","dblclick","contextmenu","pointerdown","pointerup","pointerover","pointerout","pointerenter","pointerleave","pointermove","wheel","singleclick"],setup(t,{emit:e}){const n=e,i={pointerdown(r){n("pointerdown",r,t.getPosition(r),t.value)},pointerup(r){n("pointerup",r,t.getPosition(r),t.value)},pointerover(r){n("pointerover",r,t.getPosition(r),t.value)},pointerout(r){n("pointerout",r,t.getPosition(r),t.value)},pointerenter(r){n("pointerenter",r,t.getPosition(r),t.value)},pointerleave(r){n("pointerleave",r,t.getPosition(r),t.value)},dblclick(r){n("dblclick",r,t.getPosition(r),t.value)},click(r){n("click",r,t.getPosition(r),t.value)},singleclick(r){n("singleclick",r,t.getPosition(r),t.value)},contextmenu(r){n("contextmenu",r,t.getPosition(r),t.value)},pointermove(r){n("pointermove",r,t.getPosition(r),t.value)},wheel(r){n("wheel",r,t.getPosition(r),t.value)}};return(r,o)=>t.type=="markdown"?(O(),wt(R1,J({key:0},Nt(i)),null,16)):(O(),wt(I1,J({key:1},Nt(i)),null,16))}},bU=["transform"],wU=["x2"],kU={class:"vvplot-interactive",fill:"transparent"},AU=["width","cursor"],SU={key:1,class:"vvplot-interactive",fill:"transparent"},$U=["x"],CU={__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=_(()=>t.layout.width+t.layout.l+t.layout.r),i=_(()=>t.layout.height+t.layout.t+t.layout.b),r=Ge("rangePreview"),o=_(()=>{let g=0,v={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof v=="string"&&v.endsWith("%")?g=i.value*(1-v.slice(0,-1)/100):g=t.activeTransform.translateV+t.coord2pos({v:+v}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${g})`}),a=_(()=>{let g=t.theme.title_position??t.theme.tick_position,v=g,w=t.theme.title_dock_x,x=t.theme.title_dock_y,k=0;return typeof g!="number"&&(v={left:0,bottom:.5,top:.5,right:1}[g]??.5,w??={left:1,right:0}[g]??.5,x??={top:0,bottom:1}[g]??.5,k=({top:-1,bottom:1}[g]??0)*(t.theme.title_offset??0)),{x:n.value*v,y:k,angle:t.theme.title_angle,dockX:w,dockY:x,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=_(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),l=_(()=>{let g=[];for(let v of t.ticks){let{value:w,theme:x}=v,k=t.coord2pos({h:w}).h,V=k*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(k+=t.layout.l,k+V<0||k+V>n.value)continue;let P=(x.tick_position=="top"?-1:1)*x.tick_length;g.push({key:"line-"+w,y1:0,y2:P,x1:k,x2:k,stroke:x.tick_color,"stroke-width":x.tick_width,transform:V?`translate(${V},0)`:null,style:{transition:t.transition}})}return g.filter(v=>v.stroke!=null).sort((v,w)=>v.x1-w.x1)}),s=_(()=>{let g=[];for(let v of t.ticks){let{type:w,value:x,label:k,title:V,theme:P,...W}=v,X=(P.label_position??P.tick_position)=="top",H=t.coord2pos({h:x}).h,q=H*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;if(H+=t.layout.l,H+q<0||H+q>n.value)continue;let Y=(X?-1:1)*(P.label_offset??P.tick_length),F,tt,Z,U;P.label_anchor_x!=null||P.label_anchor_y!=null?(F=P.label_anchor_x??.5,tt=P.label_anchor_y??(X?0:1)):(Z=P.label_dock_x??.5,U=P.label_dock_y??(X?0:1)),g.push({wrapper:{key:"text-"+x,transform:q?`translate(${q},0)`:null,style:{transition:t.transition}},text:{x:H,y:Y,angle:P.label_angle,anchorX:F,anchorY:tt,dockX:Z,dockY:U,type:P.label_type,text:k,title:V??k,fontSize:P.label_size,fill:P.label_color,"font-family":"sans-serif",value:x,...W}})}return g.filter(v=>v.text.fill!=null).sort((v,w)=>v.text.x-w.text.x)}),u=Bt("i");function d(g){let v=u.value.getBoundingClientRect(),w=v.width/u.value.getBBox().width,x=g.clientX-v.left,k=x/w-t.layout.left,V=t.layout.left+t.layout.width-x/w,P={l:k,r:V},{x:W,y:X}=t.pos2coord({h:k});return W&&(P.x=W),X&&(P.y=X),P}const f=e;let h,m=0;function y(g){let v=d(g);f("pointerdown",g,v);let w=!1;function x(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(w=!0,q.currentTarget.removeEventListener("pointermove",x))}g.target.addEventListener("pointermove",x,{passive:!0});let k=t.action.find(q=>q.action=="move");if(!k)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let V=0,P=t.layout.width,W=t.coord2pos(k),H=u.value.getBoundingClientRect().width/u.value.getBBox().width;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementX,!w)return;let Y=pt(-m/H,{min:W.hmin-V,max:W.hmax-P}),{xmin:F,xmax:tt,ymin:Z,ymax:U}=t.pos2coord({hmin:V+Y,hmax:P+Y});Object.assign(r,{xmin:F,xmax:tt,ymin:Z,ymax:U})},g.target.addEventListener("pointerup",function(q){g.target.onpointermove=null,g.target.style.cursor=null,w&&(h=setTimeout(()=>{C(k,q),m=0},300))},{once:!0})}function p(g){let v=t.action.find(F=>F.action=="rescale");if(!v)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":w=0}=v,x=d(g),k=t.coord2pos(x).h,V=k-x.l,P=k+x.r,W=t.pos2coord({hmin:V,hmax:P}),X={min:t.coord2pos(v).hmin,max:t.coord2pos({hmin:W.hmax-w,hmax:W.hmin+w}).hmin},q=u.value.getBoundingClientRect().width/u.value.getBBox().width,Y=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{Y+=F.movementX;let{xmin:tt,xmax:Z,ymin:U,ymax:Q}=t.pos2coord({hmin:pt(P-(P-V)*x.r/Math.max(x.r-Y/q,1),X),hmax:P});Object.assign(r,{xmin:tt,xmax:Z,ymin:U,ymax:Q})},g.target.addEventListener("pointerup",function(F){g.target.onpointermove=null,C(v,F)},{once:!0})}function S(g){let v=t.action.find(Y=>Y.action=="rescale");if(!v)return;g.preventDefault(),g.stopPropagation();let{"min-range-h":w=0}=v,x=d(g),k=t.coord2pos(x).h,V=k-x.l,P=k+x.r,W=t.pos2coord({hmin:V,hmax:P}),X={min:t.coord2pos({hmin:W.hmax-w,hmax:W.hmin+w}).hmax,max:t.coord2pos(v).hmax};u.value.getBoundingClientRect().width/u.value.getBBox().width;let q=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=Y=>{q+=Y.movementX;let{xmin:F,xmax:tt,ymin:Z,ymax:U}=t.pos2coord({hmin:V,hmax:pt(V+(P-V)*x.l/Math.max(x.l+q,1),X)});Object.assign(r,{xmin:F,xmax:tt,ymin:Z,ymax:U})},g.target.addEventListener("pointerup",function(Y){g.target.onpointermove=null,C(v,Y)},{once:!0})}let $=0,b;function N(g){let v=d(g);f("wheel",g,v);let w=t.action.find(x=>["zoom","nudge"].includes(x.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>x[k]==g[k]));w&&(b=clearTimeout(b),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),$+=g.deltaY,M(w,v,$),b=setTimeout(()=>{C(w,g),$=0},300))}function M(g,v,w){if(g.action=="zoom"){let{"min-range-h":x=0,sensitivity:k=1.25}=g,V=k**(w/100),P=t.coord2pos(g),W=Math.max(v.l-Math.max(v.l,0)*V,P.hmin??-1/0),X=Math.min(v.l+Math.max(v.r,0)*V,P.hmax??1/0),{[t.coord+"min"]:H,[t.coord+"max"]:q}=t.pos2coord({hmin:W,hmax:X});if(V<1&&q-H<x){let Y=(q+H)/2;H=Y-x/2,q=Y+x/2}r[t.coord+"min"]=H,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:x=.1}=g,k=t.coord2pos(g),V=0,P=t.layout.width,W=x*t.layout.width*(-w/120),X=pt(-W,{min:k.hmin-V,max:k.hmax-P}),{xmin:H,xmax:q,ymin:Y,ymax:F}=t.pos2coord({hmin:V+X,hmax:P+X});Object.assign(r,{xmin:H,xmax:q,ymin:Y,ymax:F})}}function C(g,v){let w=Rt(r)??{};if(!Object.keys(w).length)return;let x=new PointerEvent(v.type,v);Pe(g.emit,w,x)||f(g.action,w,x),f("rangechange",w),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:N};return(g,v)=>(O(),R("g",{transform:o.value,style:q1({transition:t.transition})},[c.value.stroke!=null?(O(),R("line",J({key:0,ref:"i",x1:0,x2:n.value,y1:0,y2:0},c.value),null,16,wU)):Ot("",!0),v[1]||(v[1]=mt()),(O(!0),R(lt,null,ht(l.value,w=>(O(),R("line",J({ref_for:!0},w),null,16))),256)),v[2]||(v[2]=mt()),(O(!0),R(lt,null,ht(s.value,w=>(O(),R("g",J({ref_for:!0},w.wrapper),[re(Il,J({ref_for:!0},w.text,{getPosition:d}),null,16)],16))),256)),v[3]||(v[3]=mt()),Ct("g",kU,[Ct("rect",J({width:n.value,height:10,y:-5},Nt(L,!0),{onPointerdown:y,cursor:t.action.some?.(w=>w.action=="move")?"grab":null}),null,16,AU)]),v[4]||(v[4]=mt()),t.action.some?.(w=>w.action=="rescale")?(O(),R("g",SU,[Ct("rect",J({width:20,height:10,y:-5,style:{cursor:"ew-resize"}},Nt(L,!0),{onPointerdown:p}),null,16),v[0]||(v[0]=mt()),Ct("rect",J({width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"}},Nt(L,!0),{onPointerdown:S}),null,16,$U)])):Ot("",!0),v[5]||(v[5]=mt()),a.value.text?(O(),R(lt,{key:2},[t.theme.title_type=="markdown"?(O(),wt(R1,se(J({key:0},a.value)),null,16)):(O(),wt(I1,se(J({key:1},a.value)),null,16))],64)):Ot("",!0)],12,bU))}},MU=["transform"],NU=["y2"],TU={class:"vvplot-interactive",fill:"transparent"},EU=["height","cursor"],OU={key:1,class:"vvplot-interactive",fill:"transparent"},LU=["y"],jU={__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=_(()=>t.layout.width+t.layout.l+t.layout.r),i=_(()=>t.layout.height+t.layout.t+t.layout.b),r=Ge("rangePreview"),o=_(()=>{let g=0,v={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof v=="string"&&v.endsWith("%")?g=n.value*v.slice(0,-1)/100:g=t.activeTransform.translateH+t.coord2pos({h:+v}).h*t.activeTransform.scaleH+t.layout.left,`translate(${g}, 0)`}),a=_(()=>{let g=t.theme.title_position??t.theme.tick_position,v=g,w=t.theme.title_dock_x,x=t.theme.title_dock_y,k=0;return typeof g!="number"&&(v={bottom:0,left:.5,right:.5,top:1}[g]??.5,w??={left:1,right:0}[g]??.5,x??={top:0,bottom:1}[g]??.5,k=({left:-1,right:1}[g]??0)*(t.theme.title_offset??0)),{x:k,y:i.value*(1-v),angle:t.theme.title_angle,dockX:w,dockY:x,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),c=_(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),l=_(()=>{let g=[];for(let v of t.ticks){let{value:w,theme:x}=v,k=t.coord2pos({v:w}).v,V=k*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(k+=t.layout.t,k+V<0||k+V>i.value)continue;let P=(x.tick_position=="right"?1:-1)*x.tick_length;g.push({key:"line-"+v.value,y1:k,y2:k,x1:0,x2:P,stroke:v.color??x.tick_color,"stroke-width":v.width??x.tick_width,transform:V?`translate(0,${V})`:null,style:{transition:t.transition}})}return g.filter(v=>v.stroke!=null).sort((v,w)=>v.y1-w.y1)}),s=_(()=>{let g=[];for(let v of t.ticks){let{type:w,value:x,label:k,title:V,theme:P,...W}=v,X=(P.label_position??P.tick_position)=="right",H=t.coord2pos({v:x}).v,q=H*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;if(H+=t.layout.t,H+q<0||H+q>i.value)continue;let Y=(X?1:-1)*((P.label_offset??P.tick_length)+3),F,tt,Z,U;P.label_anchor_x!=null||P.label_anchor_y!=null?(F=P.label_anchor_x??(X?0:1),tt=P.label_anchor_y??.5):(Z=P.label_dock_x??(X?0:1),U=P.label_dock_y??.5),g.push({wrapper:{key:"text-"+x,transform:q?`translate(0,${q})`:null,style:{transition:t.transition}},text:{y:H,x:Y,angle:P.label_angle,anchorX:F,anchorY:tt,dockX:Z,dockY:U,type:P.label_type,text:k,title:V??k,fontSize:P.label_size,fill:P.label_color,"font-family":"sans-serif",value:x,...W}})}return g.filter(v=>v.text.fill!=null).sort((v,w)=>v.text.y-w.text.y)}),u=Bt("i");function d(g){let v=u.value.getBoundingClientRect(),w=v.height/u.value.getBBox().height,x=g.clientY-v.top,k=x/w-t.layout.top,V=t.layout.top+t.layout.height-x/w,P={t:k,b:V},{x:W,y:X}=t.pos2coord({v:k});return W&&(P.x=W),X&&(P.y=X),P}const f=e;let h,m=0;function y(g){let v=d(g);f("pointerdown",g,v);let w=!1;function x(q){(Math.abs(q.screenX-g.screenX)>3||Math.abs(q.screenY-g.screenY)>3)&&(w=!0,q.currentTarget.removeEventListener("pointermove",x))}g.target.addEventListener("pointermove",x,{passive:!0});let k=t.action.find(q=>q.action=="move");if(!k)return;g.preventDefault(),g.stopPropagation(),g.target.style.cursor="grabbing",h=clearTimeout(h);let V=0,P=t.layout.height,W=t.coord2pos(k),H=u.value.getBoundingClientRect().height/u.value.getBBox().height;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=q=>{if(m+=q.movementY,!w)return;let Y=pt(-m/H,{min:W.vmin-V,max:W.vmax-P}),{xmin:F,xmax:tt,ymin:Z,ymax:U}=t.pos2coord({vmin:V+Y,vmax:P+Y});Object.assign(r,{xmin:F,xmax:tt,ymin:Z,ymax:U})},g.target.addEventListener("pointerup",function(q){g.target.onpointermove=null,g.target.style.cursor=null,w&&(h=setTimeout(()=>{C(k,q),m=0},300))},{once:!0})}function p(g){let v=t.action.find(F=>F.action=="rescale");if(!v)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":w=0}=v,x=d(g),k=t.coord2pos(x).v,V=k-x.t,P=k+x.b,W=t.pos2coord({vmin:V,vmax:P}),X={min:t.coord2pos(v).vmin,max:t.coord2pos({vmin:W.vmax-w,vmax:W.vmin+w}).vmin},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,Y=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{Y+=F.movementY;let{xmin:tt,xmax:Z,ymin:U,ymax:Q}=t.pos2coord({vmin:pt(P-(P-V)*x.b/Math.max(x.b-Y/q,1),X),vmax:P});Object.assign(r,{xmin:tt,xmax:Z,ymin:U,ymax:Q})},g.target.addEventListener("pointerup",function(F){g.target.onpointermove=null,C(v,F)},{once:!0})}function S(g){let v=t.action.find(F=>F.action=="rescale");if(!v)return;g.preventDefault(),g.stopPropagation();let{"min-range-v":w=0}=v,x=d(g),k=t.coord2pos(x).v,V=k-x.t,P=k+x.b,W=t.pos2coord({vmin:V,vmax:P}),X={min:t.coord2pos({vmin:W.vmax-w,vmax:W.vmin+w}).vmax,max:t.coord2pos(v).vmax},q=u.value.getBoundingClientRect().height/u.value.getBBox().height,Y=0;g.target.setPointerCapture(g.pointerId),g.target.onpointermove=F=>{Y+=F.movementY;let{xmin:tt,xmax:Z,ymin:U,ymax:Q}=t.pos2coord({vmin:V,vmax:pt(V+(P-V)*x.t/Math.max(x.t+Y/q,1),X)});Object.assign(r,{xmin:tt,xmax:Z,ymin:U,ymax:Q})},g.target.addEventListener("pointerup",function(F){g.target.onpointermove=null,C(v,F)},{once:!0})}let $=0,b;function N(g){let v=d(g);f("wheel",g,v);let w=t.action.find(x=>["zoom","nudge"].includes(x.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(k=>x[k]==g[k]));w&&(b=clearTimeout(b),g.preventDefault(),g.stopPropagation(),f("update:transition","transform 0.1s ease-out"),$+=g.deltaY,M(w,v,$),b=setTimeout(()=>{C(w,g),$=0},300))}function M(g,v,w){if(g.action=="zoom"){let{"min-range-v":x=0,sensitivity:k=1.25}=g,V=k**(w/100),P=t.coord2pos(g),W=Math.max(v.t-Math.max(v.t,0)*V,P.vmin??-1/0),X=Math.min(v.t+Math.max(v.b,0)*V,P.vmax??1/0),{[t.coord+"min"]:H,[t.coord+"max"]:q}=t.pos2coord({vmin:W,vmax:X});if(V<1&&q-H<x){let Y=(q+H)/2;H=Y-x/2,q=Y+x/2}r[t.coord+"min"]=H,r[t.coord+"max"]=q}if(g.action=="nudge"){let{sensitivity:x=.1}=g,k=t.coord2pos(g),V=0,P=t.layout.height,W=x*t.layout.height*(-w/120),X=pt(-W,{min:k.vmin-V,max:k.vmax-P}),{xmin:H,xmax:q,ymin:Y,ymax:F}=t.pos2coord({vmin:V+X,vmax:P+X});Object.assign(r,{xmin:H,xmax:q,ymin:Y,ymax:F})}}function C(g,v){let w=Rt(r)??{};if(!Object.keys(w).length)return;let x=new PointerEvent(v.type,v);Pe(g.emit,w,x)||f(g.action,w,x),f("rangechange",w),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const L={pointerup(g){f("pointerup",g,d(g))},pointerover(g){f("pointerover",g,d(g))},pointerout(g){f("pointerout",g,d(g))},pointerenter(g){f("pointerenter",g,d(g))},pointerleave(g){f("pointerleave",g,d(g))},click(g){f("click",g,d(g))},singleclick(g){f("singleclick",g,d(g))},dblclick(g){f("dblclick",g,d(g))},contextmenu(g){f("contextmenu",g,d(g))},pointermove(g){f("pointermove",g,d(g))},wheel:N};return(g,v)=>(O(),R("g",{transform:o.value,style:q1({transition:t.transition})},[c.value.stroke!=null?(O(),R("line",J({key:0,ref:"i",x1:0,x2:0,y1:0,y2:i.value},c.value),null,16,NU)):Ot("",!0),v[1]||(v[1]=mt()),(O(!0),R(lt,null,ht(l.value,w=>(O(),R("line",J({ref_for:!0},w),null,16))),256)),v[2]||(v[2]=mt()),(O(!0),R(lt,null,ht(s.value,w=>(O(),R("g",J({ref_for:!0},w.wrapper),[re(Il,J({ref_for:!0},w.text,{getPosition:d}),null,16)],16))),256)),v[3]||(v[3]=mt()),Ct("g",TU,[Ct("rect",J({width:10,height:i.value,x:-5},Nt(L,!0),{onPointerdown:y,cursor:t.action.some?.(w=>w.action=="move")?"grab":null}),null,16,EU)]),v[4]||(v[4]=mt()),t.action.some?.(w=>w.action=="rescale")?(O(),R("g",OU,[Ct("rect",J({width:10,height:20,x:-5,style:{cursor:"ns-resize"}},Nt(L,!0),{onPointerdown:p}),null,16),v[0]||(v[0]=mt()),Ct("rect",J({width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"}},Nt(L,!0),{onPointerdown:S}),null,16,LU)])):Ot("",!0),v[5]||(v[5]=mt()),a.value.text?(O(),R(lt,{key:2},[t.theme.title_type=="markdown"?(O(),wt(R1,se(J({key:0},a.value)),null,16)):(O(),wt(I1,se(J({key:1},a.value)),null,16))],64)):Ot("",!0)],12,MU))}},Ro={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:CU,v:jU};return(n,i)=>t.position!="none"?(O(),wt(Ye(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Ot("",!0)}},PU={__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=_(()=>t.layout.width+t.layout.l+t.layout.r),n=_(()=>t.layout.height+t.layout.t+t.layout.b),i=_(()=>{let a=[];for(let c of t.breaks){if(c.type!="major")continue;let l=t.coord2pos({v:c.value}).v;if(isNaN(l))continue;let s=l*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;l+=t.layout.t,!(l+s<0||l+s>n.value)&&a.push({key:"major-"+c.value,x1:0,x2:e.value,y1:l,y2:l,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return a.filter(c=>c.stroke!==null)}),r=_(()=>{let a=[];for(let c of t.breaks){if(c.type!="minor")continue;let l=t.coord2pos({v:c.value}).v;if(isNaN(l))continue;let s=l*(t.activeTransform.scaleV-1)+t.activeTransform.translateV;l+=t.layout.t,!(l+s<0||l+s>n.value)&&a.push({key:"minor-"+c.value,x1:0,x2:e.value,y1:l,y2:l,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return a.filter(c=>c.stroke!==null)}),o=_(()=>r.value.concat(i.value).sort((a,c)=>a.y1-c.y1));return(a,c)=>(O(),R("g",null,[(O(!0),R(lt,null,ht(o.value,l=>(O(),R("line",J({ref_for:!0},l,{style:{transition:t.transition}}),null,16))),256))]))}},DU={__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=_(()=>t.layout.width+t.layout.l+t.layout.r),n=_(()=>t.layout.height+t.layout.t+t.layout.b),i=_(()=>{let a=[];for(let c of t.breaks){if(c.type!="major")continue;let l=t.coord2pos({h:c.value}).h;if(isNaN(l))continue;let s=l*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;l+=t.layout.l,!(l+s<0||l+s>e.value)&&a.push({key:"major-"+c.value,y1:0,y2:n.value,x1:l,x2:l,stroke:c.theme.grid_color_major,"stroke-width":c.theme.grid_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return a.filter(c=>c.stroke!==null)}),r=_(()=>{let a=[];for(let c of t.breaks){if(c.type!="minor")continue;let l=t.coord2pos({h:c.value}).h;if(isNaN(l))continue;let s=l*(t.activeTransform.scaleH-1)+t.activeTransform.translateH;l+=t.layout.l,!(l+s<0||l+s>e.value)&&a.push({key:"minor-"+c.value,y1:0,y2:n.value,x1:l,x2:l,stroke:c.theme.grid_color_minor,"stroke-width":c.theme.grid_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return a.filter(c=>c.stroke!==null)}),o=_(()=>r.value.concat(i.value).sort((a,c)=>a.x1-c.x1));return(a,c)=>(O(),R("g",null,[(O(!0),R(lt,null,ht(o.value,l=>(O(),R("line",J({ref_for:!0},l,{style:{transition:t.transition}}),null,16))),256))]))}},qU={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{x:f,xmin:h,xmax:m,y,ymin:p,ymax:S,lwisker:$,Q1:b,median:N,Q3:M,uwisker:C,outliers:L,$xmin:g,$xmax:v,$ymin:w,$ymax:x,fill:k="white",color:V="black",linewidth:P=1,linetype:W,alpha:X,"translate-x":H=0,"translate-y":q=0,$raw:Y}of t.data){const{hmin:F,hmax:tt,vmin:Z,vmax:U}=t.coord2pos(f==null?{ymin:p,ymax:S,xmin:b,xmax:M}:{xmin:h,xmax:m,ymin:b,ymax:M}),{h:Q,v:ot}=t.coord2pos(f==null?{y,x:$}:{x:f,y:$}),{h:ut,v:_t}=t.coord2pos(f==null?{y,x:C}:{x:f,y:C}),{h:Qt,v:ve}=t.coord2pos(f==null?{y:p,x:N}:{x:h,y:N}),{h:ie,v:te}=t.coord2pos(f==null?{y:S,x:N}:{x:m,y:N}),{h:fe,v:E}=t.coord2pos(f==null?{y:p*.25+S*.75,x:C}:{x:h*.25+m*.75,y:C}),{h:D,v:I}=t.coord2pos(f==null?{y:p*.75+S*.25,x:C}:{x:h*.75+m*.25,y:C}),{h:z,v:G}=t.coord2pos(f==null?{y:p*.25+S*.75,x:$}:{x:h*.25+m*.75,y:$}),{h:A,v:T}=t.coord2pos(f==null?{y:p*.75+S*.25,x:$}:{x:h*.75+m*.25,y:$});s.globalAlpha=X,s.setLineDash(Yt(W));const j=new Path2D;j.moveTo(Q+H,ot+q),j.lineTo(ut+H,_t+q);const B=new Path2D;B.moveTo(fe+H,E+q),B.lineTo(D+H,I+q),B.moveTo(z+H,G+q),B.lineTo(A+H,T+q);const K=new Path2D;K.rect(F+H,Z+q,tt-F,U-Z),u.set(K,Y);const st=new Path2D;st.moveTo(Qt+H,ve+q),st.lineTo(ie+H,te+q),V!=null&&V!=="none"&&(s.strokeStyle=V,s.lineWidth=P,s.stroke(j),s.stroke(B)),k!=="none"&&(s.fillStyle=k,s.fill(K)),V!=null&&V!=="none"&&(s.stroke(K),s.lineWidth=P*2,s.stroke(st));for(let{x:at,y:gt,$raw:kt}of L){const{h:ft,v:ct}=t.coord2pos({x:at,y:gt}),it=new Path2D;it.arc(ft+H,ct+q,2,0,Math.PI*2),V!=null&&V!=="none"&&(s.fillStyle=V,s.fill(it)),u.set(it,kt)}}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},Ho={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(let{points:h,fill:m,color:y,linewidth:p,linetype:S,alpha:$,"translate-x":b=0,"translate-y":N=0,$raw:M,interpolate:C}of t.data){if(h=h.map(w=>(({h:x,v:k})=>({x,y:k}))(t.coord2pos(w))).filter(w=>w.x!=null&&w.y!=null),h.length===0)continue;const L=new Path2D;let v=(typeof C=="function"?C:l[C]??An)(L);v.lineStart();for(let w=0;w<h.length;w++)v.point(h[w].x+b,h[w].y+N);v.lineEnd(),d.set(L,M),u.lineWidth=p,u.globalAlpha=$,u.setLineDash(Yt(S)),m!=="none"&&(u.fillStyle=m,u.fill(L)),y!=null&&y!=="none"&&(u.strokeStyle=y,u.stroke(L))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),p=(m.clientX-y.left)*s.width/y.width,S=(m.clientY-y.top)*s.height/y.height;for(const[$,b]of f)if(u.isPointInPath($,p,S)){r(h,m,t.getCoord(m),b),m._vhandled=!0;break}});return s});St(c,s=>a.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});const l={cardinal:Js,cardinalClosed:tl,catmullRom:il,catmullRomClosed:ol,linear:_i,linearClosed:ll,natural:An};return(s,u)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},BU={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{cx:f,cy:h,A:m,B:y,C:p,fill:S,color:$,linewidth:b,linetype:N,alpha:M,"translate-x":C=0,"translate-y":L=0,$raw:g}of t.data){let v=Math.sqrt(p/(m*p-y*y)),w=Math.sqrt(m/(m*p-y*y));const{h:x,v:k}=t.coord2pos({x:f,y:h});let{h:V,v:P}=t.coord2pos({x:f-v,y:h-w}),{h:W,v:X}=t.coord2pos({x:f+v,y:h+w}),H=(W-V)/(2*v),q=(X-P)/(2*w);m/=H*H,y/=H*q,p/=q*q;const Y=m+p,F=m*p-y*y,tt=Math.sqrt(Math.max(0,Y*Y/4-F));let Z=1/Math.sqrt(Y/2+tt),U=1/Math.sqrt(Y/2-tt),Q=Math.atan2(2*y,m-p)/2;const ot=new Path2D;ot.ellipse(x+C,k+L,Z,U,Q,0,2*Math.PI),u.set(ot,g),s.lineWidth=b,s.globalAlpha=M,s.setLineDash(Yt(N)),S!=="none"&&(s.fillStyle=S,s.fill(ot)),$!=null&&$!=="none"&&(s.strokeStyle=$,s.stroke(ot))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},_o={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{x:f,y:h,xend:m,yend:y,color:p="black",linewidth:S,alpha:$,linetype:b,"translate-x":N=0,"translate-y":M=0,$raw:C}of t.data){const{h:L,v:g}=t.coord2pos({x:f,y:h}),{h:v,v:w}=t.coord2pos({x:m,y}),x=new Path2D;x.moveTo(L+N,g+M),x.lineTo(v+N,w+M),u.set(x,C),s.lineWidth=S,s.globalAlpha=$,s.setLineDash(Yt(b)),p!=null&&p!=="none"&&(s.strokeStyle=p,s.stroke(x))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},VU={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,cross:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`,arrowhead:s=>`M0,0L${s},${-s*.38}V${s*.38}Z`},a=_(()=>({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=Bt("container"),l=_(()=>{if(c.value==null)return;const s=document.createElement("canvas");s.style.width=a.value.width+"px",s.style.height=a.value.height+"px",s.width=a.value.width*t.dpi/96,s.height=a.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(let{x:h,y:m,size:y=6,shape:p,color:S,stroke:$,linewidth:b,linetype:N,alpha:M,"translate-x":C=0,"translate-y":L=0,angle:g=0,$raw:v}of t.data){const{h:w,v:x}=t.coord2pos({x:h,y:m});if(typeof g=="object"){let{dx:V=0,dy:P=0}=g,{h:W,v:X}=t.coord2pos({x:h+V,y:m+P});g=Math.atan2(X-x,W-w)*180/Math.PI}const k=new Path2D;String(p).startsWith("path:")?k.addPath(new Path2D(p.slice(5)),new DOMMatrix().translateSelf(w+C,x+L).rotate(g)):p in o?k.addPath(new Path2D(o[p](y)),new DOMMatrix().translate(w+C,x+L).rotate(g)):k.arc(w+C,x+L,y/2,0,Math.PI*2),d.set(k,v),u.lineWidth=b,u.globalAlpha=M,u.beginPath(),S!=="none"&&(u.fillStyle=S,u.fill(k)),$!=null&&$!=="none"&&(u.strokeStyle=$,u.setLineDash(Yt(N)),u.stroke(k))}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),p=(m.clientX-y.left)*s.width/y.width,S=(m.clientY-y.top)*s.height/y.height;for(const[$,b]of f)if(u.isPointInPath($,p,S)){r(h,m,t.getCoord(m),b),m._vhandled=!0;break}});return s});return St(l,s=>c.value.replaceChildren(s)),e({dispatchEvent:s=>l.value?.dispatchEvent?.(s)}),(s,u)=>(O(),R("foreignObject",J({class:"vvplot-layer"},a.value,{ref:"container"}),null,16))}},IU={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{points:f,fill:h,color:m,linewidth:y,linetype:p,alpha:S,"translate-x":$=0,"translate-y":b=0,$raw:N}of t.data){if(f=f.map(C=>(({h:L,v:g})=>({x:L,y:g}))(t.coord2pos(C))).filter(C=>C.x!=null&&C.y!=null),f.length===0)continue;const M=new Path2D;M.moveTo(f[0].x+$,f[0].y+b);for(let C=1;C<f.length;C++)M.lineTo(f[C].x+$,f[C].y+b);M.closePath(),u.set(M,N),s.lineWidth=y,s.globalAlpha=S,s.setLineDash(Yt(p)),h!=="none"&&(s.fillStyle=h,s.fill(M)),m!=null&&m!=="none"&&(s.strokeStyle=m,s.stroke(M))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},Xo={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{xmin:f,xmax:h,ymin:m,ymax:y,fill:p,color:S,linewidth:$,linetype:b,alpha:N,"translate-x":M=0,"translate-y":C=0,$raw:L}of t.data){const{hmin:g,hmax:v,vmin:w,vmax:x}=t.coord2pos({xmin:f,xmax:h,ymin:m,ymax:y}),k=new Path2D;k.rect(g+M,w+C,v-g,x-w),u.set(k,L),s.lineWidth=$,s.globalAlpha=N,s.setLineDash(Yt(b)),p!=="none"&&(s.fillStyle=p,s.fill(k)),S!=="none"&&S!=null&&(s.strokeStyle=S,s.stroke(k))}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},RU={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const l=document.createElement("canvas");l.style.width=o.value.width+"px",l.style.height=o.value.height+"px",l.width=o.value.width*t.dpi/96,l.height=o.value.height*t.dpi/96;const s=l.getContext("2d");s.clearRect(0,0,l.width,l.height),s.scale(t.dpi/96,t.dpi/96),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,d=new Map;for(let{x:f,y:h,color:m,size:y=4,label:p="",title:S,stroke:$,linewidth:b,linetype:N,alpha:M,"anchor-x":C,"anchor-y":L,"dock-x":g,"dock-y":v,"translate-x":w=0,"translate-y":x=0,angle:k,"text-length":V,"font-family":P="sans-serif",$raw:W}of t.data){s.save();const{h:X,v:H}=t.coord2pos({x:f,y:h});s.textAlign="center",s.textBaseline="middle",s.lineWidth=b,s.globalAlpha=M,s.font=`${y*4}px ${P}`,s.setLineDash(Yt(N)),s.translate(X+w,H+x);let{width:q,fontBoundingBoxAscent:Y,fontBoundingBoxDescent:F}=s.measureText(p),tt=q,Z=Y+F;if(typeof V=="object"){let{x:U=0,y:Q=0}=V,{h:ot,v:ut}=t.coord2pos({x:f+U/2,y:h+Q/2}),{h:_t,v:Qt}=t.coord2pos({x:f-U/2,y:h-Q/2});tt=Math.hypot(ot-_t||0,ut-Qt||0)}else V!=null&&(tt=V);if(typeof k=="object"){let{dx:U=0,dy:Q=0}=k,{h:ot,v:ut}=t.coord2pos({x:f+U,y:h+Q});k=Math.atan2(ut-H,ot-X)*180/Math.PI}if(g!=null||v!=null){let U={left:0,center:.5,right:1}[g]??+(g??.5),Q={bottom:0,center:.5,top:1}[v]??+(v??.5);isNaN(U)&&(U=.5),isNaN(Q)&&(Q=.5);let ot=tt*Math.abs(Math.cos(k*Math.PI/180))+Z*Math.abs(Math.sin(k*Math.PI/180)),ut=tt*Math.abs(Math.sin(k*Math.PI/180))+Z*Math.abs(Math.cos(k*Math.PI/180));s.translate(ot*(.5-U),ut*(Q-.5)),s.rotate(k*Math.PI/180)}else{let U={left:0,center:.5,right:1}[C]??+(C??.5),Q={bottom:0,center:.5,top:1}[L]??+(L??.5);isNaN(U)&&(U=.5),isNaN(Q)&&(Q=.5);let ot=tt,ut=Z;s.rotate(k*Math.PI/180),s.translate(ot*(.5-U),ut*(Q-.5))}tt!=q&&s.scale(tt/q,1),m!=="none"&&(s.fillStyle=m,s.fillText(p,0,0)),$!=null&&$!=="none"&&(s.strokeStyle=$,s.strokeText(p,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())d.set(f,u.get(f));for(let f of i)l.addEventListener(f,function(h){if(h._vhandled)return;const m=l.getBoundingClientRect(),y=(h.clientX-m.left)*l.width/m.width,p=(h.clientY-m.top)*l.height/m.height;for(const[S,$]of d)if(s.isPointInPath(S,y,p)){r(f,h,t.getCoord(h),$),h._vhandled=!0;break}});return l});return St(c,l=>a.value.replaceChildren(l)),e({dispatchEvent:l=>c.value?.dispatchEvent?.(l)}),(l,s)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},HU={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,dpi:{type:Number,default:96}},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o=_(()=>({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=Bt("container"),c=_(()=>{if(a.value==null)return;const s=document.createElement("canvas");s.style.width=o.value.width+"px",s.style.height=o.value.height+"px",s.width=o.value.width*t.dpi/96,s.height=o.value.height*t.dpi/96;const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.scale(t.dpi/96,t.dpi/96),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let d=new Map,f=new Map;for(let{x:h,xend:m,y,yend:p,size:S=4,label:$="",title:b,color:N,stroke:M,linewidth:C,linetype:L,alpha:g,"translate-x":v=0,"translate-y":w=0,"text-length":x,"font-family":k="sans-serif","text-align":V="justify",angle:P="auto",inset:W=0,$raw:X}of t.data){const{h:H,v:q}=t.coord2pos({x:h,y}),{h:Y,v:F}=t.coord2pos({x:m,y:p});if(u.save(),u.translate(v,w),u.textBaseline="middle",u.lineWidth=C,u.globalAlpha=g,u.font=`${S*4}px ${k}`,u.setLineDash(Yt(L)),["stretch","pre","start","center","end","post"].includes(V)){let tt=Math.atan2(F-q,Y-H),Z=String($).replace(/\x01|\x02/g,""),U=Math.cos(tt)*W,Q=Math.sin(tt)*W;switch(V){case"stretch":case"center":u.translate((H+Y)/2,(q+F)/2),u.textAlign="center";break;case"pre":u.translate(H-U,q-Q),u.textAlign="end";break;case"start":u.translate(H+U,q+Q),u.textAlign="start";break;case"end":u.translate(Y-U,F-Q),u.textAlign="end";break;case"post":u.translate(Y+U,F+Q),u.textAlign="start";break}u.rotate(tt),V==="stretch"&&u.scale(Math.hypot(Y-H||0,F-q||0)/u.measureText(Z).width,1),N!=="none"&&(u.fillStyle=N,u.fillText(Z,0,0)),M!=null&&M!=="none"&&(u.strokeStyle=M,u.strokeText(Z,0,0))}else{let tt=P==="auto"?Math.atan2(F-q,Y-H):P*Math.PI/180;u.textAlign="center";let Z=l(String($)),U=(Y-H)/(Z.length-1||1),Q=(F-q)/(Z.length-1||1);for(let ot=0;ot<Z.length;ot++){u.save(),u.translate(H+ot*U,q+ot*Q),u.rotate(tt);let ut=Z[ot];N!=="none"&&(u.fillStyle=N,u.fillText(ut,0,0)),M!=null&&M!=="none"&&(u.strokeStyle=M,u.strokeText(ut,0,0)),u.restore()}}u.restore()}for(let h of Array.from(d.keys()).reverse())f.set(h,d.get(h));for(let h of i)s.addEventListener(h,function(m){if(m._vhandled)return;const y=s.getBoundingClientRect(),p=(m.clientX-y.left)*s.width/y.width,S=(m.clientY-y.top)*s.height/y.height;for(const[$,b]of f)if(u.isPointInPath($,p,S)){r(h,m,t.getCoord(m),b),m._vhandled=!0;break}});return s});St(c,s=>a.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)});function l(s){let u=[];for(let d=0;d<s.length;d++)if(s[d]==""){let f=d+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(d+1,f)),d=f}else u.push(s[d]);return u}return(s,u)=>(O(),R("foreignObject",J({class:"vvplot-layer"},o.value,{ref:"container"}),null,16))}},_U=Object.freeze(Object.defineProperty({__proto__:null,boxplot:qU,curve:Ho,ellipse:BU,line:_o,point:VU,polygon:IU,rect:Xo,shape:Ho,stick:_o,text:RU,textsegment:HU,tile:Xo},Symbol.toStringTag,{value:"Module"})),XU={class:"vvplot-layer"},YU={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(O(),R("g",XU))}},zU={key:0},Hn={__name:"CoreTile",props:{x:{type:Number,default:0},y:{type:Number,default:0},width:{type:Number,default:0},height:{type:Number,default:0},fill:String,color:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=_(()=>({x: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":Yt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),R("rect",se(x1(e.value)),[t.title?(O(),R("title",zU,Ft(t.title),1)):Ot("",!0)],16))}},FU={key:0},UU={key:0},Fi={__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=_(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={color:t.color||null,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Yt(t.linetype).join(" ")||null};if(i!=null){let o=[],a=t.x+t.translateX,c=t.y+t.translateY;(a!==0||c!==0)&&o.push(`translate(${a},${c})`),t.size!=1&&o.push(`scale(${t.size})`),t.angle&&o.push(`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o.join(" ")||null,"stroke-width":t.linewidth/t.size})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o,"stroke-width":t.linewidth})}return r});return(i,r)=>n.value.d?(O(),R("path",se(J({key:0},n.value)),[t.title?(O(),R("title",FU,Ft(t.title),1)):Ot("",!0)],16)):(O(),R("circle",se(J({key:1},n.value)),[t.title?(O(),R("title",UU,Ft(t.title),1)):Ot("",!0)],16))}},GU={key:0},c1={__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=_(()=>({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":Yt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),R("line",se(x1(e.value)),[t.title?(O(),R("title",GU,Ft(t.title),1)):Ot("",!0)],16))}},WU={class:"vvplot-layer"},KU={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,xmin:d,xmax:f,y:h,ymin:m,ymax:y,lwisker:p,Q1:S,median:$,Q3:b,uwisker:N,outliers:M,$xmin:C,$xmax:L,$ymin:g,$ymax:v,fill:w="white",color:x="black",linewidth:k,linetype:V,alpha:P,title:W,"translate-x":X=0,"translate-y":H=0,class:q,style:Y,$raw:F})=>{const{hmin:tt,hmax:Z,vmin:U,vmax:Q}=t.coord2pos({xmin:C,xmax:L,ymin:g,ymax:v});if(tt<o&&Z<o||tt>a&&Z>a||U<c&&Q<c||U>l&&Q>l)return null;const{hmin:ot,hmax:ut,vmin:_t,vmax:Qt}=t.coord2pos(u==null?{ymin:m,ymax:y,xmin:S,xmax:b}:{xmin:d,xmax:f,ymin:S,ymax:b}),{h:ve,v:ie}=t.coord2pos(u==null?{y:h,x:p}:{x:u,y:p}),{h:te,v:fe}=t.coord2pos(u==null?{y:h,x:N}:{x:u,y:N}),{h:E,v:D}=t.coord2pos(u==null?{y:m,x:$}:{x:d,y:$}),{h:I,v:z}=t.coord2pos(u==null?{y,x:$}:{x:f,y:$}),{h:G,v:A}=t.coord2pos(u==null?{y:m*.25+y*.75,x:N}:{x:d*.25+f*.75,y:N}),{h:T,v:j}=t.coord2pos(u==null?{y:m*.75+y*.25,x:N}:{x:d*.75+f*.25,y:N}),{h:B,v:K}=t.coord2pos(u==null?{y:m*.25+y*.75,x:p}:{x:d*.25+f*.75,y:p}),{h:st,v:at}=t.coord2pos(u==null?{y:m*.75+y*.25,x:p}:{x:d*.75+f*.25,y:p});let gt={rect:{x:(ot+ut)/2,width:ut-ot,y:(_t+Qt)/2,height:Qt-_t,fill:w,color:x,linetype:V,linewidth:k,alpha:P,title:W,translateX:X,translateY:H,class:q,style:Y},line:{x1:ve,y1:ie,x2:te,y2:fe,color:x,linetype:V,linewidth:k,alpha:P,translateX:X,translateY:H,class:q,style:Y},midline:{x1:E,y1:D,x2:I,y2:z,color:x,linetype:V,linewidth:(k??1)*2,alpha:P,translateX:X,translateY:H,class:q,style:Y},uwisker:{x1:G,y1:A,x2:T,y2:j,color:x,linetype:V,linewidth:k,alpha:P,translateX:X,translateY:H,class:q,style:Y},lwisker:{x1:B,y1:K,x2:st,y2:at,color:x,linetype:V,linewidth:k,alpha:P,translateX:X,translateY:H,class:q,style:Y},outliers:M?.map(({x:ft,y:ct,$raw:it})=>{const{h:rt,v:et}=t.coord2pos({x:ft,y:ct});let nt={x:rt,y:et,shape:"circle",size:4,color:x,alpha:P,translateX:X,translateY:H,class:q,style:Y},bt=Object.fromEntries(n.map(Lt=>[Lt,Dt=>i(Lt,Dt,it)]));return[nt,bt]})},kt=Object.fromEntries(n.map(ft=>[ft,ct=>i(ft,Object.assign(ct,{_vhandled:!0}),t.getCoord(ct),F)]));return[gt,kt]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",WU,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),R("g",null,[re(c1,J({ref_for:!0},l.line),null,16),a[0]||(a[0]=mt()),re(Hn,J({ref_for:!0},l.rect,Nt(s)),null,16),a[1]||(a[1]=mt()),re(c1,J({ref_for:!0},l.midline),null,16),a[2]||(a[2]=mt()),re(c1,J({ref_for:!0},l.uwisker),null,16),a[3]||(a[3]=mt()),re(c1,J({ref_for:!0},l.lwisker),null,16),a[4]||(a[4]=mt()),(O(!0),R(lt,null,ht(l.outliers,([u,d])=>(O(),wt(Fi,J({ref_for:!0},u,Nt(d)),null,16))),256))]))),256))],16))),256))]))}},ZU={key:0},Rl={__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=_(()=>{let i=typeof t.interpolate=="function"?t.interpolate:n[t.interpolate]??An;return{d:G9().curve(i)(t.points.map(r=>[r.x,r.y])),color:t.color||null,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Yt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:Js,cardinalClosed:tl,catmullRom:il,catmullRomClosed:ol,linear:_i,linearClosed:ll,natural:An};return(i,r)=>(O(),R("path",se(x1(e.value)),[t.title?(O(),R("title",ZU,Ft(t.title),1)):Ot("",!0)],16))}},QU={class:"vvplot-layer vvplot-layer-curve"},Yo={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:p,"translate-x":S=0,"translate-y":$=0,"marker-start":b,"marker-end":N,class:M,style:C,$raw:L,interpolate:g})=>{if(u=u.map(x=>(({h:k,v:V})=>({x:k,y:V}))(t.coord2pos(x))),u.every(x=>x.x<o)||u.every(x=>x.x>a)||u.every(x=>x.y<c)||u.every(x=>x.y>l))return null;let v={points:u,fill:d,color:f,linetype:m,linewidth:h,alpha:y,title:p,translateX:S,translateY:$,"marker-start":b,"marker-end":N,class:M,style:C,interpolate:g},w=Object.fromEntries(n.map(x=>[x,k=>i(x,Object.assign(k,{_vhandled:!0}),t.getCoord(k),L)]));return[v,w]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",QU,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(Rl,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},JU={key:0},tG={__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=_(()=>{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":Yt(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(O(),R("ellipse",se(x1(e.value)),[t.title?(O(),R("title",JU,Ft(t.title),1)):Ot("",!0)],16))}},eG={class:"vvplot-layer vvplot-layer-ellipse"},nG={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({cx:u,cy:d,A:f,B:h,C:m,fill:y,color:p,linewidth:S,linetype:$,alpha:b,title:N,"translate-x":M=0,"translate-y":C=0,class:L,style:g,$raw:v})=>{let w=Math.sqrt(m/(f*m-h*h)),x=Math.sqrt(f/(f*m-h*h));const{h:k,v:V}=t.coord2pos({x:u,y:d});let{h:P,v:W}=t.coord2pos({x:u-w,y:d-x}),{h:X,v:H}=t.coord2pos({x:u+w,y:d+x});if(P<o&&X<o||X>a&&P>a||W<c&&H<c||H>l&&W>l)return null;let q=(X-P)/(2*w),Y=(H-W)/(2*x);f/=q*q,h/=q*Y,m/=Y*Y;const F=f+m,tt=f*m-h*h,Z=Math.sqrt(Math.max(0,F*F/4-tt));let U={cx:k,cy:V,rx:1/Math.sqrt(F/2+Z)||0,ry:1/Math.sqrt(F/2-Z)||0,angle:Math.atan2(2*h,f-m)/2*180/Math.PI||0,fill:y,color:p,linetype:$,linewidth:S,alpha:b,title:N,translateX:M,translateY:C,class:L,style:g},Q=Object.fromEntries(n.map(ot=>[ot,ut=>i(ot,Object.assign(ut,{_vhandled:!0}),t.getCoord(ut),v)]));return[U,Q]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",eG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(tG,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},iG={class:"vvplot-layer vvplot-layer-line"},zo={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,y:d,xend:f,yend:h,color:m="black",linewidth:y,linetype:p,alpha:S,title:$,"translate-x":b=0,"translate-y":N=0,"marker-start":M,"marker-end":C,class:L,style:g,$raw:v})=>{const{h:w,v:x}=t.coord2pos({x:u,y:d}),{h:k,v:V}=t.coord2pos({x:f,y:h});if(w<o&&k<o||w>a&&k>a||x<c&&V<c||x>l&&V>l)return null;let P={x1:w,x2:k,y1:x,y2:V,color:m,linetype:p,linewidth:y,alpha:S,title:$,translateX:b,translateY:N,"marker-start":M,"marker-end":C,class:L,style:g},W=Object.fromEntries(n.map(X=>[X,H=>i(X,Object.assign(H,{_vhandled:!0}),t.getCoord(H),v)]));return[P,W]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",iG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(c1,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},rG={class:"vvplot-layer"},oG={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:p,linewidth:S,linetype:$,alpha:b,"anchor-x":N,"anchor-y":M,"dock-x":C,"dock-y":L,"translate-x":g=0,"translate-y":v=0,angle:w,"text-length":x,"font-family":k="sans-serif","text-anchor":V,class:P,style:W,$raw:X})=>{if(h==null)return null;const{h:H,v:q}=t.coord2pos({x:u,y:d});if(H<o||H>a||q<c||q>l)return null;if(typeof x=="object"){let{x:tt=0,y:Z=0}=x,{h:U,v:Q}=t.coord2pos({x:u+tt/2,y:d+Z/2}),{h:ot,v:ut}=t.coord2pos({x:u-tt/2,y:d-Z/2});x=Math.hypot(U-ot||0,Q-ut||0)}if(typeof w=="object"){let{dx:tt=0,dy:Z=0}=w,{h:U,v:Q}=t.coord2pos({x:u+tt,y:d+Z});w=Math.atan2(Q-q,U-H)*180/Math.PI}let Y={x:H,y:q,text:String(h),title:String(m??h),size:f,color:y,stroke:p,linetype:$,linewidth:S,alpha:b,angle:w,translateX:g,translateY:v,class:P,style:W,anchorX:N,anchorY:M,dockX:C,dockY:L,textLength:x,fontFamily:k,textAnchor:V},F=Object.fromEntries(n.map(tt=>[tt,Z=>i(tt,Object.assign(Z,{_vhandled:!0}),t.getCoord(Z),X)]));return[Y,F]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",rG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(R1,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},sG={class:"vvplot-layer"},lG={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,xend:d,y:f,yend:h,size:m=4,label:y,title:p,color:S,stroke:$,linewidth:b,linetype:N,alpha:M,"translate-x":C=0,"translate-y":L=0,"anchor-x":g,"anchor-y":v=.5,"font-family":w="sans-serif","text-align":x="start",inset:k=0,class:V,style:P,$raw:W})=>{if(y==null)return null;const{h:X,v:H}=t.coord2pos({x:u,y:f}),{h:q,v:Y}=t.coord2pos({x:d,y:h});if(X<o&&q<o||X>a&&q>a||H<c&&Y<c||H>l&&Y>l)return null;let F=Math.atan2(Y-H,q-X),tt={text:String(y),title:String(p??y),color:S,alpha:M,size:m,stroke:$,linewidth:b,linetype:N,fontFamily:w,class:V,style:P},Z=Object.fromEntries(n.map(ot=>[ot,ut=>i(ot,Object.assign(ut,{_vhandled:!0}),t.getCoord(ut),W)])),U,Q;switch(x){case"stretch":U=(X+q)/2,Q=(H+Y)/2,g=.5,tt.textLength=Math.hypot(q-X||0,Y-H||0);break;case"center":U=(X+q)/2,Q=(H+Y)/2,g??=.5;break;case"pre":U=X,Q=H,C-=Math.cos(F)*k,L-=Math.sin(F)*k,g??=1;break;case"end":U=q,Q=Y,C-=Math.cos(F)*k,L-=Math.sin(F)*k,g??=1;break;case"post":U=q,Q=Y,C+=Math.cos(F)*k,L+=Math.sin(F)*k,g??=0;break;default:U=X,Q=H,C+=Math.cos(F)*k,L+=Math.sin(F)*k,g??=0}return Object.assign(tt,{x:U,y:Q,translateX:C,translateY:L,anchorX:g,anchorY:v,angle:F*180/Math.PI}),[tt,Z]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",sG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(R1,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},aG={class:"vvplot-layer"},cG={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,y:d,shape:f,size:h=6,color:m,stroke:y,linetype:p,linewidth:S,alpha:$,title:b,"translate-x":N=0,"translate-y":M=0,angle:C,class:L,style:g,$raw:v})=>{const{h:w,v:x}=t.coord2pos({x:u,y:d});if(w<o||w>a||x<c||x>l)return null;if(typeof C=="object"){let{dx:P=0,dy:W=0}=C,{h:X,v:H}=t.coord2pos({x:u+P,y:d+W});C=Math.atan2(H-x,X-w)*180/Math.PI}let k={x:w,y:x,shape:f,size:h,color:m,stroke:y,linetype:p,linewidth:S,alpha:$,title:b,angle:C,translateX:N,translateY:M,class:L,style:g},V=Object.fromEntries(n.map(P=>[P,W=>i(P,Object.assign(W,{_vhandled:!0}),t.getCoord(W),v)]));return[k,V]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",aG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(Fi,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},uG={key:0},Hl={__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=_(()=>({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":Yt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(O(),R("polygon",se(x1(e.value)),[t.title?(O(),R("title",uG,Ft(t.title),1)):Ot("",!0)],16))}},hG={class:"vvplot-layer"},fG={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:p,"translate-x":S=0,"translate-y":$=0,"marker-start":b,"marker-mid":N,"marker-end":M,class:C,style:L,$raw:g})=>{if(u=u.map(x=>(({h:k,v:V})=>({x:k,y:V}))(t.coord2pos(x))),u.every(x=>x.x<o)||u.every(x=>x.x>a)||u.every(x=>x.y<c)||u.every(x=>x.y>l))return null;let v={points:u,fill:d,color:f,linewidth:h,linetype:m,alpha:y,title:p,translateX:S,translateY:$,"marker-start":b,"marker-mid":N,"marker-end":M,class:C,style:L},w=Object.fromEntries(n.map(x=>[x,k=>i(x,Object.assign(k,{_vhandled:!0}),t.getCoord(k),g)]));return[v,w]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",hG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(Hl,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},dG={class:"vvplot-layer"},Fo={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({xmin:u,xmax:d,ymin:f,ymax:h,fill:m,color:y,linewidth:p,linetype:S,alpha:$,title:b,"translate-x":N=0,"translate-y":M=0,class:C,style:L,$raw:g})=>{const{hmin:v,hmax:w,vmin:x,vmax:k}=t.coord2pos({xmin:u,xmax:d,ymin:f,ymax:h});if(v<o&&w<o||v>a&&w>a||x<c&&k<c||x>l&&k>l)return null;let V={x:(v+w)/2,width:w-v,y:(x+k)/2,height:k-x,fill:m,color:y,linetype:S,linewidth:p,alpha:$,title:b,translateX:N,translateY:M,class:C,style:L},P=Object.fromEntries(n.map(W=>[W,X=>i(W,Object.assign(X,{_vhandled:!0}),t.getCoord(X),g)]));return[V,P]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",dG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(Hn,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},mG={class:"vvplot-layer"},gG={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let o=-t.layout.fullWidth*t.extendX-t.layout.l,a=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 Object.values(Object.groupBy(t.data,s=>s.$group)).map(s=>s.map(({x:u,y:d,size:f=4,label:h,title:m,color:y,stroke:p,linewidth:S,linetype:$,alpha:b,"anchor-x":N,"anchor-y":M,"dock-x":C,"dock-y":L,"translate-x":g=0,"translate-y":v=0,angle:w,"text-length":x,"font-family":k,"text-anchor":V,class:P,style:W,$raw:X})=>{if(h==null)return null;const{h:H,v:q}=t.coord2pos({x:u,y:d});if(H<o||H>a||q<c||q>l)return null;if(typeof x=="object"){let{x:tt=0,y:Z=0}=x,{h:U,v:Q}=t.coord2pos({x:u+tt/2,y:d+Z/2}),{h:ot,v:ut}=t.coord2pos({x:u-tt/2,y:d-Z/2});x=Math.hypot(U-ot||0,Q-ut||0)}if(typeof w=="object"){let{dx:tt=0,dy:Z=0}=w,{h:U,v:Q}=t.coord2pos({x:u+tt,y:d+Z});w=Math.atan2(Q-q,U-H)*180/Math.PI}let Y={x:H,y:q,text:String(h),title:String(m??h),size:f,color:y,stroke:p,linetype:$,linewidth:S,alpha:b,angle:w,translateX:g,translateY:v,class:P,style:W,anchorX:N,anchorY:M,dockX:C,dockY:L,textLength:x,fontFamily:k,textAnchor:V},F=Object.fromEntries(n.map(tt=>[tt,Z=>i(tt,Object.assign(Z,{_vhandled:!0}),t.getCoord(Z),X)]));return[Y,F]}).filter(u=>u!=null))});return(o,a)=>(O(),R("g",mG,[(O(!0),R(lt,null,ht(r.value,c=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(c,([l,s])=>(O(),wt(I1,J({ref_for:!0},l,Nt(s)),null,16))),256))],16))),256))]))}},yG={class:"vvplot-layer"},pG={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object,groupClass:null,groupStyle:null},emits:["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"],setup(t,{emit:e}){let n=["click","contextmenu","singleclick","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup","wheel"];const i=e,r=_(()=>{let a=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,l=-t.layout.fullHeight*t.extendY-t.layout.t,s=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return Object.values(Object.groupBy(t.data,u=>u.$group)).map(u=>u.map(({x:d,xend:f,y:h,yend:m,size:y=4,label:p,title:S,color:$,stroke:b,linewidth:N,linetype:M,alpha:C,"translate-x":L=0,"translate-y":g=0,"font-family":v="sans-serif","text-align":w="justify",angle:x="auto",inset:k=0,class:V,style:P,$raw:W})=>{if(p==null)return null;const{h:X,v:H}=t.coord2pos({x:d,y:h}),{h:q,v:Y}=t.coord2pos({x:f,y:m});if(X<a&&q<a||X>c&&q>c||H<l&&Y<l||H>s&&Y>s)return null;let F={color:$||null,fill:$||null,"fill-opacity":C==1?null:C,"font-size":y*4,stroke:b||null,"stroke-width":N,"stroke-dasharray":Yt(M).join(" ")||null,"stroke-opacity":C==1?null:C,"font-family":v,class:V,style:P},tt=Object.fromEntries(n.map(Z=>[Z,U=>i(Z,Object.assign(U,{_vhandled:!0}),t.getCoord(U),W)]));if(["stretch","pre","start","center","end","post"].includes(w)){let Z=Math.atan2(Y-H,q-X),U,Q,ot=String(p).replace(/\x01|\x02/g,""),ut=Math.cos(Z)*k,_t=Math.sin(Z)*k;switch(w){case"stretch":U=(X+q)/2,Q=(H+Y)/2,F["text-anchor"]="middle",F.textLength=Math.hypot(q-X||0,Y-H||0),F.lengthAdjust="spacingAndGlyphs";break;case"center":U=(X+q)/2,Q=(H+Y)/2,F["text-anchor"]="middle";break;case"pre":U=X,Q=H,L-=ut,g-=_t,F["text-anchor"]="end";break;case"start":U=X,Q=H,L+=ut,g+=_t,F["text-anchor"]="start";break;case"end":U=q,Q=Y,L-=ut,g-=_t,F["text-anchor"]="end";break;case"post":U=q,Q=Y,L+=ut,g+=_t,F["text-anchor"]="start";break}let Qt=[];return(L||g)&&Qt.push(`translate(${L}, ${g})`),Z&&Qt.push(`rotate(${Z*180/Math.PI})`),Object.assign(F,{x:U,y:Q,"dominant-baseline":"central","transform-origin":`${U} ${Q}`,transform:Qt.join(" ")||null}),[F,tt,ot,String(S??String(p).replace(/\x01|\x02/g,""))]}else{x==="auto"&&(x=Math.atan2(Y-H,q-X)*180/Math.PI);let Z=o(String(p)),U=(q-X)/(Z.length-1||1),Q=(Y-H)/(Z.length-1||1),ot=Z.map((ut,_t)=>[{x:X+_t*U,y:H+_t*Q,"text-anchor":"middle","dominant-baseline":"central",rotate:x},ut]);return(L||g)&&(F.transform=`translate(${L}, ${g})`),[F,tt,ot,String(S??String(p).replace(/\x01|\x02/g,""))]}}).filter(d=>d!=null))});function o(a){let c=[];for(let l=0;l<a.length;l++)if(a[l]==""){let s=l+1;for(;s<a.length&&a[s]!="";)s++;c.push(a.slice(l+1,s)),l=s}else c.push(a[l]);return c}return(a,c)=>(O(),R("g",yG,[(O(!0),R(lt,null,ht(r.value,l=>(O(),R("g",J({class:"vvplot-group"},{ref_for:!0},{class:t.groupClass,style:t.groupStyle}),[(O(!0),R(lt,null,ht(l,([s,u,d,f])=>(O(),R("text",J({ref_for:!0},s,Nt(u,!0)),[Ct("title",null,Ft(f),1),c[0]||(c[0]=mt()),typeof d=="string"?(O(),R(lt,{key:0},[mt(Ft(d.replace(/ /g,"\xA0")),1)],64)):(O(!0),R(lt,{key:1},ht(d,([h,m])=>(O(),R(lt,null,[m?(O(),R("tspan",J({key:0,ref_for:!0},h),Ft(m),17)):Ot("",!0)],64))),256))],16))),256))],16))),256))]))}},vG=Object.freeze(Object.defineProperty({__proto__:null,blank:YU,boxplot:KU,curve:Yo,ellipse:nG,line:zo,markdown:oG,markdownsegment:lG,point:cG,polygon:fG,rect:Fo,shape:Yo,stick:zo,text:gG,textsegment:pG,tile:Fo},Symbol.toStringTag,{value:"Module"})),xG={__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:vG,canvas:_U},i=_(()=>{let c=t.render??t.defaultRender;return c=="auto"?t.data.map(s=>s.length).reduce((s,u)=>s+u,0)>1e3?"canvas":"svg":n[c][t.geom]!=null?c:"svg"}),r=Bt("layer"),o=_(()=>i.value=="canvas"?"pointer-events: none;":"");e({render:i,dispatchEvent:c=>r.value?.dispatchEvent?.(c)});const a=_(()=>i.value==="canvas"?t.dpi??t.defaultDpi:void 0);return(c,l)=>(O(),wt(Ye(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:q1(o.value),data:t.data,dpi:a.value},null,8,["style","data","dpi"]))}},bG={key:0},wG=["onPointerdown"],Uo={__name:"CoreSelection",props:m1({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:m1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=Ae(t,"modelValue"),i=Jo(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]);function r({xmin:d,xmax:f,ymin:h,ymax:m,xreverse:y=!1,yreverse:p=!1}={}){if([d,f,h,m].every($=>$==null))return null;d!=null&&f!=null&&d>f&&([d,f,y]=[f,d,!y]),h!=null&&m!=null&&h>m&&([h,m,p]=[m,h,!p]);let S={xreverse:y,yreverse:p};return d!=null&&isFinite(d)&&(S.xmin=d),f!=null&&isFinite(f)&&(S.xmax=f),h!=null&&isFinite(h)&&(S.ymin=h),m!=null&&isFinite(m)&&(S.ymax=m),S}const o=_(()=>{if(n.value==null||n.value.hidden)return null;let d=r(n.value);if(d==null)return null;let{hmin:f,hmax:h,vmin:m,vmax:y}=t.coord2pos(d,{limited:!0}),p=t.coord2pos(d);return{hmin:f,hmax:h,vmin:m,vmax:y,pos:p}}),a=_(()=>{if(!o.value)return null;let{translateH:d,translateV:f,scaleH:h,scaleV:m}=t.activeTransform,{hmin:y,hmax:p,vmin:S,vmax:$,pos:b}=o.value,N=p-y,M=$-S,C=t.layout.left,L=t.layout.top,g=1,v=1;if(b.hmin!=null&&b.hmax!=null)C+=d,g=h;else if(b.hmin!=null){let x=d+y*(h-1);g=1-x/N,C+=x*(1+y/N)}else if(b.hmax!=null){let x=d+p*(h-1);g=1+x/N,C+=x*(1-p/N)}if(b.vmin!=null&&b.vmax!=null)L+=t.activeTransform.translateV,v=t.activeTransform.scaleV;else if(b.vmin!=null){let x=f+S*(m-1);v=1-x/M,L+=x*(1+S/M)}else if(b.vmax!=null){let x=f+$*(m-1);v=1+x/M,L+=x*(1-$/M)}let w=[];return(C!=0||L!=0)&&w.push(`translate(${C}, ${L})`),(g!=1||v!=1)&&w.push(`scale(${g}, ${v})`),w.join(" ")||null}),c=_(()=>{if(!o.value)return null;let{hmin:d,hmax:f,vmin:h,vmax:m,pos:y}=o.value,p=t.theme?.line_width??1;y.hmin==null&&(d-=p/2),y.hmax==null&&(f+=p/2),y.vmin==null&&(h-=p/2),y.vmax==null&&(m+=p/2);let S=Math.max(0,f-d),$=Math.max(0,m-h);return{x:d,y:h,width:S,height:$,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=_(()=>{if(!o.value)return null;let d=10,{hmin:f,hmax:h,vmin:m,vmax:y,pos:p}=o.value,S=Math.max(0,h-f),$=Math.max(0,y-m),b={};i.move&&(b.tblr={x:f,y:m,width:S,height:$,fill:"transparent",style:"cursor:move;"}),i.resize&&(p.hmin!=null&&(b.l={x:f-d/2,y:m,width:d,height:$,style:"cursor:ew-resize;"}),p.hmax!=null&&(b.r={x:h-d/2,y:m,width:d,height:$,style:"cursor:ew-resize;"}),p.vmin!=null&&(b.t={x:f,y:m-d/2,width:S,height:d,style:"cursor:ns-resize;"}),p.vmax!=null&&(b.b={x:f,y:y-d/2,width:S,height:d,style:"cursor:ns-resize;"}),p.hmin!=null&&p.vmin!=null&&(b.tl={x:f-d/2,y:m-d/2,width:d,height:d,style:"cursor:nwse-resize;"}),p.hmax!=null&&p.vmin!=null&&(b.tr={x:h-d/2,y:m-d/2,width:d,height:d,style:"cursor:nesw-resize;"}),p.hmin!=null&&p.vmax!=null&&(b.bl={x:f-d/2,y:y-d/2,width:d,height:d,style:"cursor:nesw-resize;"}),p.hmax!=null&&p.vmax!=null&&(b.br={x:h-d/2,y:y-d/2,width:d,height:d,style:"cursor:nwse-resize;"}));let N=t.layout.left,M=t.layout.top;if(N||M)for(let C in b)b[C].transform=`translate(${N}, ${M})`;return b}),s=e;function u(d,f){if(!f||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(U=>i[U]==d[U]))return;d.stopPropagation(),d.preventDefault(),d.target.setPointerCapture(d.pointerId);let{xreverse:h,yreverse:m,...y}=r(n.value),p=t.coord2pos(y),{h:S,v:$}=t.pos2coord({h:p.hmin,v:p.vmin}),{h:b,v:N}=t.pos2coord({h:p.hmax,v:p.vmax}),{hmin:M,hmax:C,vmin:L,vmax:g}=p,v=!1,w={min:i.xmin,max:i.xmax},x={min:i.ymin,max:i.ymax},[k=0,V=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],P=t.coord2pos(i),W=0,X=0,H,q,Y,F,tt=!1,Z=!1;d.target.onpointermove=U=>{if(v=!0,W+=U.movementX,X+=U.movementY,f.includes("l")&&f.includes("r")){let Q=pt(W,{min:P.hmin-M,max:P.hmax-C}),ot=t.pos2coord({hmin:dt(M,Q),hmax:dt(C,Q)});S=ot.hmin,b=ot.hmax}else f.includes("l")?(S=t.pos2coord({h:M+W}).h,S=pt(S,S>b?{min:dt(b,k)}:{max:dt(b,-k)}),tt=M+W>C):f.includes("r")&&(b=t.pos2coord({h:C+W}).h,b=pt(b,b>S?{min:dt(S,k)}:{max:dt(S,-k)}),tt=C+W<M);if(f.includes("t")&&f.includes("b")){let Q=pt(X,{min:P.vmin-L,max:P.vmax-g}),ot=t.pos2coord({vmin:dt(L,Q),vmax:dt(g,Q)});$=ot.vmin,N=ot.vmax}else f.includes("t")?($=t.pos2coord({v:L+X}).v,$=pt($,$>N?{min:dt(N,V)}:{max:dt(N,-V)}),Z=L+X>g):f.includes("b")&&(N=t.pos2coord({v:g+X}).v,N=pt(N,N>$?{min:dt($,V)}:{max:dt($,-V)}),Z=g+X<L);H=pt(t.flip?$:S,w),q=pt(t.flip?N:b,w),Y=pt(t.flip?S:$,x),F=pt(t.flip?b:N,x),H>q&&([H,q]=[q,H]),Y>F&&([Y,F]=[F,Y]),s("selecting",{xmin:H,xmax:q,ymin:Y,ymax:F},t.theme)},d.target.addEventListener("pointerup",function(U){if(U.currentTarget.onpointermove=null,i.buttons&1&&(U.currentTarget.onclick=ut=>{ut.currentTarget.onclick=null,s("click",ut)}),i.buttons&2&&(U.currentTarget.oncontextmenu=ut=>{ut.currentTarget.onclick=null,s("contextmenu",ut)}),!v)return;let Q={xmin:H,xmax:q,xreverse:!!(tt^h),ymin:Y,ymax:F,yreverse:!!(Z^m)},ot=new PointerEvent("select",d);n.value=Rt(Q),s("selectend"),s("select",Rt(Q),ot)},{once:!0})}return(d,f)=>c.value?(O(),R("g",bG,[Ct("rect",se(x1(c.value)),null,16),f[0]||(f[0]=mt()),(O(!0),R(lt,null,ht(l.value,(h,m)=>(O(),R("rect",J({fill:"transparent"},{ref_for:!0},h,{onPointerdown:y=>u(y,m),class:"vvplot-interactive"}),null,16,wG))),256))])):Ot("",!0)}},kG=["height","width"],AG=["y1","y2"],SG=["y"],$G={__name:"CoreGuideGradientbar",props:{scales:Array,appearance:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array,limits:Object},setup(t){const e=_(()=>{let{min:o,max:a}=t.limits;return t.breaks.map(c=>({position:(c-o)/(a-o),label:String(c)}))}),n=_(()=>{let o=30,{min:a,max:c}=t.limits,l=(c-a)/(o-1),s=Array.from({length:o},(d,f)=>a+f*l),u=t.scales.map(d=>d(s));return s.map((d,f)=>Object.fromEntries(t.scales.map((h,m)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[m][f]])))}),i=N1(0),r=Bt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,a)=>(O(),R("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(O(!0),R(lt,null,ht(n.value,(c,l)=>(O(),wt(Hn,J({width:10,height:3.1,x:10,y:10+(29-l+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},c),null,16,["y","alpha"]))),256)),a[1]||(a[1]=mt()),(O(!0),R(lt,null,ht(e.value,(c,l)=>(O(),R("g",null,[Ct("line",{x1:"15",x2:"18",y1:10+(1-c.position)*90,y2:10+(1-c.position)*90,stroke:"black"},null,8,AG),a[0]||(a[0]=mt()),Ct("text",{x:"20",y:10+(1-c.position)*90,"alignment-baseline":"central"},Ft(c.label),9,SG)]))),256))],8,kG))}},Go=Object.freeze(Object.defineProperty({__proto__:null,curve:Rl,line:c1,point:Fi,polygon:Hl,text:I1,tile:Hn},Symbol.toStringTag,{value:"Module"})),CG=["height","width"],MG=["transform"],NG={transform:"translate(10, 10)"},TG={x:"20",y:"10","alignment-baseline":"central"},EG={__name:"CoreGuideLegendkey",props:{scales:Array,appearances:{type:Object,default:()=>({})},theme:{type:Object,default:()=>({})},breaks:Array},setup(t){const e=_(()=>{let o=t.scales.map(s=>s(t.breaks)),a=t.breaks.map((s,u)=>({bind:Object.fromEntries(t.scales.map((d,f)=>[d.aesthetics,o[f][u]])),label:String(s)})),c=_a(a.map(s=>s.bind)),l=Map.groupBy(a.map(s=>s.label),(s,u)=>c.categories[c[u]]);return Array.from(l).map(([s,u])=>{let d={tile:{},line:{},point:{},text:{}};for(let f in d)for(let h of Object.keys(Go[f].props))s[h]&&(d[f][h]=s[h]);return{bind:d,label:u.join("; ")}})}),n=_(()=>{let{text:o,line:a,point:c,tile:l}=t.appearances,s={};return l!=null&&(s.tile={width:10,height:10,fill:"none",...l}),a!=null&&(s.line={x1:-5,x2:5,color:"black",...a}),c!=null&&(s.point={size:6,...c}),o!=null&&(s.text={size:4,text:"a",...o}),s}),i=N1(0),r=Bt("svg");return St(e,async()=>{await Ln();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,a)=>(O(),R("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(O(!0),R(lt,null,ht(e.value,(c,l)=>(O(),R("g",{transform:`translate(0, ${l*20})`},[Ct("g",NG,[(O(!0),R(lt,null,ht(n.value,(s,u)=>(O(),wt(Ye(Go[u]),J({ref_for:!0},{...s,...c.bind[u]}),null,16))),256))]),a[0]||(a[0]=mt()),Ct("text",TG,Ft(c.label),1)],8,MG))),256))],8,CG))}},OG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:EG,gradientbar:$G},n=_(()=>t.scales.reduce((o,[a])=>o??a.title,null)??t.scales.reduce((o,[a])=>o??a._title,null)),i=_(()=>{let o=t.scales.map(([c])=>c),a=o.find(c=>c.breaks!=null);return Array.isArray(a?.breaks)?Array.from(a.breaks):(a=o.find(c=>c.level!=null),a?.level?a.level.apply(Array.from(a.level)):(a=o.find(c=>c.limits!=null),Vn.number({minor:!0})(a.limits)))}),r=_(()=>{let o={scales:t.scales.map(([a])=>a)};if(t.type=="legendkey")o.appearances={tile:Wt(...t.scales.flatMap(([a,c])=>[c.rect,c.tile,c.polygon,c.ellipse])),line:Wt(...t.scales.flatMap(([a,c])=>[c.line,c.linerange,c.curve])),point:Wt(...t.scales.flatMap(([a,c])=>[c.point])),text:Wt(...t.scales.flatMap(([a,c])=>[c.text,c.markdown]))};else if(t.type=="gradientbar"){let a=t.scales.map(([l])=>l.limits?.max).filter(l=>l!=null).reduce((l,s)=>Math.min(l,s),1/0),c=t.scales.map(([l])=>l.limits?.min).filter(l=>l!=null).reduce((l,s)=>Math.max(l,s),-1/0);o.limits={min:c,max:a},o.appearance=Wt(...t.scales.flatMap(([l,s])=>Object.values(s)))}return o});return(o,a)=>(O(),R(lt,null,[Ct("span",null,Ft(n.value),1),a[0]||(a[0]=mt()),(O(),wt(Ye(e[t.type]),J(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),LG={__name:"CoreLegend",props:{theme:{type:Object,default:()=>({})},scales:Map},setup(t){const e=_(()=>{let i=new Map(Array.from(t.scales).filter(([s])=>s.legend!==!1&&s.limits?.min!=s.limits?.max)),r=Array.from(i.keys()),o=r.map(s=>s.key),a=1;for(let s=0;s<o.length;s++){for(;o.includes("_guide_"+a);)a++;o[s]??=o.find((u,d)=>o[d]!=null&&Fe.isEqual(r[d].level,r[s].level))??"_guide_"+a}let c=r.map(s=>n(s)),l=Xa(o,c);return Map.groupBy(i,(s,u)=>l.categories[l[u]])});function n(i){return i==null?null:["gradientbar","legendkey"].includes(i.guide)?i.guide:i.level?"legendkey":["color","fill","alpha"].includes(i.aesthetics)?"gradientbar":"legendkey"}return(i,r)=>t.scales?(O(),R("div",{key:0,class:"vvplot-legend",style:q1({gap:t.theme.spacing+"px"})},[(O(!0),R(lt,null,ht(e.value,([[o,a],c])=>(O(),wt(OG,{key:o,type:a,scales:c},null,8,["type","scales"]))),128))],4)):Ot("",!0)}},jG=["id"],PG=["width","height"],DG=["transform","width","height","fill"],qG=["transform"],BG=["transform"],VG=["clip-path"],IG=["transform","clip-path"],RG={key:1},HG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:m1({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:m1(["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 i=Ql(),r=Jo(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,a=Ge("range"),c=Ge("rangePreview"),l=Ae(t,"selectionPreview"),s=Ae(t,"selectionPreviewTheme");function u(E,D){l.value=E,s.value=D}const d=_(()=>Object.assign({},t.theme?.selection,s.value));function f(){l.value={}}const h=Ae(t,"transition"),m=Bt("svg"),y=Bt("layers"),p=N1(0),S=N1(0);is(m,E=>{let{width:D,height:I}=E[0].contentRect;p.value=D,S.value=I});const $=_(()=>new s8(t.schema,r.layers)),b=_(()=>$.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(a,t.expandAdd,r.minRange)),N=De(()=>{let E=Object.fromEntries(["left","right","top","bottom"].map(A=>[A,t.paddings[A]&&t.theme.plot.padding[A]||0])),D=+t.theme.plot.margin.left+E.left,I=+t.theme.plot.margin.right+E.right,z=+t.theme.plot.margin.top+E.top,G=+t.theme.plot.margin.bottom+E.bottom;return z+G>S.value&&(z=S.value*(z/(z+G)),G=S.value-z),D+I>p.value&&(D=p.value*(D/(D+I)),I=p.value-D),{l:D,r:I,t:z,b:G,left:D,right:p.value-I,top:z,bottom:S.value-G,width:p.value-D-I,height:S.value-z-G}}),M=De(()=>{let E=b.value.coordScales,D=t.expandMult,{min:I,max:z}=x(E.x.range,D.x),{min:G,max:A}=x(E.y.range,D.y),[T,j,B,K]=t.flip?[G,A,I,z]:[I,z,G,A],{width:st,height:at}=N;return{left:st*T||0,right:st*(1-j)||0,top:at*K||0,bottom:at*(1-B)||0,l:st*T||0,r:st*j||0,t:at*K||0,b:at*B||0,width:st*(1-T-j),height:at*(1-K-B),fullWidth:st,fullHeight:at}});e({vplot:b,panel:N,svg:m});const C=_(()=>{let E=U.value.translateH+M.left,D=U.value.translateV+M.top,I=U.value.scaleH,z=U.value.scaleV,G=[];return(E!=0||D!=0)&&G.push(`translate(${E}, ${D})`),(I!=1||z!=1)&&G.push(`scale(${I}, ${z})`),{transform:G.join(" ")||null}});function L({value:E,min:D,max:I},z,G,A){let T={};return E!=null&&(T.value=z.invert(G?1-E/A:E/A)),G?(I!=null&&(T.min=z.invert(1-I/A)),D!=null&&(T.max=z.invert(1-D/A))):(D!=null&&(T.min=z.invert(D/A)),I!=null&&(T.max=z.invert(I/A))),T}function g({h:E,hmin:D,hmax:I,v:z,vmin:G,vmax:A}={}){let T=b.value.coordScales,{width:j,height:B}=M,K={},[st,at,gt]=t.flip?[z,G,A]:[E,D,I],[kt,ft,ct]=t.flip?[E,D,I]:[z,G,A];if(st!=null||at!=null||gt!=null){let{value:it,min:rt,max:et}=L({value:st,min:at,max:gt},T.x,t.flip!=t.reverse.x,t.flip?B:j);Object.assign(K,Rt({x:it,xmin:rt,xmax:et})),t.flip?Object.assign(K,Rt({v:it,vmin:rt,vmax:et})):Object.assign(K,Rt({h:it,hmin:rt,hmax:et}))}if(kt!=null||ft!=null||ct!=null){let{value:it,min:rt,max:et}=L({value:kt,min:ft,max:ct},T.y,t.flip==t.reverse.y,t.flip?j:B);Object.assign(K,Rt({y:it,ymin:rt,ymax:et})),t.flip?Object.assign(K,Rt({h:it,hmin:rt,hmax:et})):Object.assign(K,Rt({v:it,vmin:rt,vmax:et}))}return K}function v({value:E,min:D,max:I}={},{oob:z=ci}={},G,A,T,j){let B={};return E!=null&&(B.value=T?z(T*(A?1-G(E):G(E)),j):0),D==null&&I==null||(A?(I!=null&&(B.min=T?z(T*(1-G(I)),j):0),D!=null&&(B.max=T?z(T*(1-G(D)),j):0)):(D!=null&&(B.min=T?z(T*G(D),j):0),I!=null&&(B.max=T?z(T*G(I),j):0))),B}function w({h:E,hmin:D,hmax:I,v:z,vmin:G,vmax:A,x:T,xmin:j,xmax:B,y:K,ymin:st,ymax:at}={},{limited:gt=!1,oob:kt=ci}={}){let{width:ft,height:ct,l:it,r:rt,t:et,b:nt}=M,bt={},Lt=b.value.coordScales,Dt={min:-it,max:ft+rt},Te={min:-et,max:ct+nt};if((T!=null||j!=null||B!=null)&&(t.flip?[z,G,A]=[T,j,B]:[E,D,I]=[T,j,B]),(K!=null||st!=null||at!=null)&&(t.flip?[E,D,I]=[K,st,at]:[z,G,A]=[K,st,at]),E!=null||D!=null||I!=null){let{value:Ee,min:xe,max:de}=v({value:E,min:D,max:I},{oob:kt},Lt[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ft,Dt);Object.assign(bt,Rt({h:Ee,hmin:xe,hmax:de}))}if(z!=null||G!=null||A!=null){let{value:Ee,min:xe,max:de}=v({value:z,min:G,max:A},{oob:kt},Lt[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],ct,Te);Object.assign(bt,Rt({v:Ee,vmin:xe,vmax:de}))}return gt&&(bt.hmin==null&&(bt.hmin=Dt.min),bt.hmax==null&&(bt.hmax=Dt.max),bt.vmin==null&&(bt.vmin=Te.min),bt.vmax==null&&(bt.vmax=Te.max)),bt}function x({min:E,max:D}={},{min:I=0,max:z=0}={}){let G=D-E,A=+E-I*G,T=+D+z*G,j=T-A;return{min:j==0?0:(E-A)/j,max:j==0?0:(T-D)/j}}function k(E){let D=m.value.getBoundingClientRect(),I=D.width/m.value.clientWidth,z=D.height/m.value.clientHeight,G=E.clientX-D.left,A=E.clientY-D.top,T=G/I-(N.left+M.left),j=A/z-(N.top+M.top),B=N.left+M.right-G/I,K=N.top+M.bottom-A/z,{x:st,y:at}=g({h:T,v:j});return{l:T,t:j,r:B,b:K,x:st,y:at}}function V(E){let D=m.value.getBoundingClientRect(),I=D.width/m.value.clientWidth,z=D.height/m.value.clientHeight;return E.clientX-D.left>N.l*I&&D.right-E.clientX>N.r*I&&E.clientY-D.top>N.t*z&&D.bottom-E.clientY>N.b*z}function P(E){if(!y.value||E._vhandled||!V(E)||!Array.from(y.value).filter(G=>G.render=="canvas").length)return E;let I={};for(let G in E)I[G]=E[G];I.bubbles=!1;let z=new PointerEvent(E.type,I);for(let G of Object.keys(E)){let A=Object.getOwnPropertyDescriptor(z,G);A&&!A.writable&&!A.set||(z[G]=E[G])}for(let G=y.value.length-1;G>=0;G--)y.value[G].dispatchEvent(z)===!1&&E.preventDefault();for(let G of Object.keys(z)){let A=Object.getOwnPropertyDescriptor(z,G);A&&!A.writable&&!A.set||(E[G]=z[G])}return z._vhandled?z:E}let W,X=0,H=0;function q(E){let D=P(E),I=k(E);if(o("pointerdown",D,I),D.defaultPrevented&&E.preventDefault(),r.clip&&!V(E))return;let z=E.currentTarget,G=!1;function A(B){(Math.abs(B.screenX-E.screenX)>3||Math.abs(B.screenY-E.screenY)>3)&&(G=!0,B.currentTarget.removeEventListener("pointermove",A))}E.target.addEventListener("pointermove",A,{passive:!0}),E.target.addEventListener("pointerup",function(B){if(E.target.removeEventListener("pointermove",A),!G){let K=new PointerEvent("singleclick",B);B.target.dispatchEvent(K)}},{once:!0});let T=r.selections.findLast(B=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(K=>B[K]==E[K]));if(T){let{x:B=!1,y:K=!1,"min-range-x":st=0,"min-range-y":at=0}=T;E.target.setPointerCapture(E.pointerId),z.style.userSelect="none";let gt=(({xmin:ft,xmax:ct})=>({min:ft,max:ct}))(T),kt=(({ymin:ft,ymax:ct})=>({min:ft,max:ct}))(T);E.target.onpointermove=ft=>{if(!B&&!K||!G)return;let ct=k(ft),it={};if(B){let rt=pt(I.x,gt),et=pt(pt(ct.x,ct.x>rt?{min:dt(rt,st)}:{max:dt(rt,-st)}),gt);it.xmin=rt>et?et:rt,it.xmax=rt>et?rt:et,it.xreverse=rt>et}if(K){let rt=pt(I.y,kt),et=pt(pt(ct.y,ct.y>rt?{min:dt(rt,at)}:{max:dt(rt,-at)}),kt);it.ymin=rt>et?et:rt,it.ymax=rt>et?rt:et}Pe(T.onSelecting,Rt(it),T.theme)||o("selecting",Rt(it),T.theme),l.value=it,s.value=T.theme},E.target.addEventListener("pointerup",function(ft){if(ft.currentTarget.onpointermove=null,z.style.userSelect=null,l.value={},G&&(B||K)){T.buttons&1&&(ft.currentTarget.onclick=et=>{et.currentTarget.onclick=null,Pe(T.onClick,et)}),T.buttons&2&&(ft.currentTarget.oncontextmenu=et=>{et.currentTarget.oncontextmenu=null,Pe(T.onContextmenu,et)});let ct=k(ft),it={},rt=new PointerEvent("select",E);if(B){let et=pt(I.x,gt),nt=pt(pt(ct.x,ct.x>et?{min:dt(et,st)}:{max:dt(et,-st)}),gt);if(et==nt)return;it.xmin=et>nt?nt:et,it.xmax=et>nt?et:nt,it.xreverse=et>nt}if(K){let et=pt(I.y,kt),nt=pt(pt(ct.y,ct.y>et?{min:dt(et,at)}:{max:dt(et,-at)}),kt);if(et==nt)return;it.ymin=et>nt?nt:et,it.ymax=et>nt?et:nt,it.yreverse=et>nt}T["onUpdate:modelValue"]?.(it),Pe(T.onSelect,Rt(it),rt)||o("select",Rt(it),rt)}if(!G&&T.dismissible!==!1){if(ft.defaultPrevented)return;let ct=T.modelValue;if(T.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(et=>ct?.[et]==null))return;let it={},rt=new PointerEvent("select",E);T["onUpdate:modelValue"]?.(it),Pe(T.onDismiss,Rt(it),rt)||o("select",Rt(it),rt)}},{once:!0});return}let j=r.action.find(B=>B.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(K=>B[K]==E[K]));if(j){let B=m.value.getBoundingClientRect(),K=B.width/m.value.clientWidth,st=B.height/m.value.clientHeight;E.target.setPointerCapture(E.pointerId),z.style.userSelect="none",W=clearTimeout(W);let at=0,gt=M.width,kt=0,ft=M.height,ct,it,rt,et,nt=w(j);E.target.onpointermove=bt=>{let{x:Lt=!1,y:Dt=!1}=j,[Te,Ee]=t.flip?[Dt,Lt]:[Lt,Dt];if(Te){X+=bt.movementX;let me=pt(-X/K,{min:nt.hmin-at,max:nt.hmax-gt});ct=at+me,it=gt+me}if(Ee){H+=bt.movementY;let me=pt(-H/st,{min:nt.vmin-kt,max:nt.vmax-ft});rt=kt+me,et=ft+me}let{xmin:xe,xmax:de,ymin:e1,ymax:wr}=g({hmin:ct,hmax:it,vmin:rt,vmax:et});Object.assign(c,{xmin:xe,xmax:de,ymin:e1,ymax:wr})},E.target.addEventListener("pointerup",function(bt){bt.currentTarget.onpointermove=null,z.style.userSelect=null,W=setTimeout(()=>{Q(j,bt),X=H=0},300)},{once:!0});return}}let Y=0,F;function tt(E){let D=P(E),I=k(E);if(o("wheel",D,I),D.defaultPrevented&&E.preventDefault(),r.clip&&!V(E))return;let z=r.action.find(G=>["zoom","nudge"].includes(G.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(A=>G[A]==E[A]));!z||!z.x&&!z.y||(F=clearTimeout(F),E.preventDefault(),h.value="transform 0.1s ease-out",Y+=E.deltaY,Z(z,I,Y),F=setTimeout(()=>{Q(z,E),Y=0},300))}function Z(E,D,I){if(E.action=="zoom"){let{x:z=!1,y:G=!1,"min-range-x":A=0,"min-range-y":T=0,sensitivity:j=1.25}=E,B=j**(Y/100),[K,st]=t.flip?[G,z]:[z,G],at=w(E),gt,kt,ft,ct;K&&(gt=Math.max(D.l-Math.max(D.l,0)*B,at.hmin??-1/0),kt=Math.min(D.l+Math.max(D.r,0)*B,at.hmax??1/0)),st&&(ft=Math.max(D.t-Math.max(D.t,0)*B,at.vmin??-1/0),ct=Math.min(D.t+Math.max(D.b,0)*B,at.vmax??1/0));let{xmin:it,xmax:rt,ymin:et,ymax:nt}=g({hmin:gt,hmax:kt,vmin:ft,vmax:ct});if(z&&B<1&&rt-it<A){let bt=(rt+it)/2;it=bt-A/2,rt=bt+A/2}if(G&&B<1&&nt-et<T){let bt=(nt+et)/2;et=bt-T/2,nt=bt+T/2}Object.assign(c,{xmin:it,xmax:rt,ymin:et,ymax:nt})}if(E.action=="nudge"){let{x:z=!1,y:G=!1,sensitivity:A=.1}=E,[T,j]=t.flip?[G,z]:[z,G],B=w(E),K=0,st=M.width,at=0,gt=M.height,kt,ft,ct,it;if(T){let Lt=A*M.width*(-I/120),Dt=pt(-Lt,{min:B.hmin-K,max:B.hmax-st});kt=K+Dt,ft=st+Dt}if(j){let Lt=A*M.height*(-I/120),Dt=pt(-Lt,{min:B.vmin-at,max:B.vmax-gt});ct=at+Dt,it=gt+Dt}let{xmin:rt,xmax:et,ymin:nt,ymax:bt}=g({hmin:kt,hmax:ft,vmin:ct,vmax:it});Object.assign(c,{xmin:rt,xmax:et,ymin:nt,ymax:bt})}}const U=_(()=>{let E=0,D=M.width,I=0,z=M.height,{hmin:G=E,hmax:A=D,vmin:T=I,vmax:j=z}=w(c??{}),B=D-E,K=A-G,st=z-I,at=j-T;return{scaleH:B<1||K<1||Math.abs(B-K)<1?1:B/K,translateH:(E*A-G*D)/(A-G)||0,scaleV:st<1||at<1||Math.abs(st-at)<1?1:st/at,translateV:(I*j-T*z)/(j-T)||0}});St(U,({translateH:E,translateV:D,scaleH:I,scaleV:z})=>{!E&&!D&&I==1&&z==1&&(h.value=null)},{deep:!0});function Q(E,D){let I=Rt(c)??{};if(!Object.keys(I).length)return;let z=new PointerEvent(D.type,D);Pe(E.emit,I,z)||o(E.action,I,z),ut(I),Object.assign(c,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ot={pointerdown:q,pointerup(E){let D=P(E),I=k(E);o("pointerup",D,I),D.defaultPrevented&&E.preventDefault()},pointerover(E){o("pointerover",E,k(E))},pointerout(E){o("pointerout",E,k(E))},pointerenter(E){o("pointerenter",E,k(E))},pointerleave(E){o("pointerleave",E,k(E))},click(E){o("click",P(E),k(E))},contextmenu(E){let D=P(E),I=k(E);o("contextmenu",D,I),D.defaultPrevented&&E.preventDefault()},singleclick(E){o("singleclick",P(E),k(E))},dblclick(E){let D=P(E),I=k(E);o("dblclick",D,I),D.defaultPrevented&&E.preventDefault()},pointermove(E){let D=P(E),I=k(E);o("pointermove",D,I),D.defaultPrevented&&E.preventDefault()},wheel:tt};function ut(E){let{xmin:D,xmax:I,ymin:z,ymax:G}=E,{xmin:A,xmax:T,ymin:j,ymax:B}=a;D=D!=null?dt(D,+t.expandAdd.x.min):A,I=I!=null?dt(I,-t.expandAdd.x.max):T,z=z!=null?dt(z,+t.expandAdd.y.min):j,G=G!=null?dt(G,-t.expandAdd.y.max):B,!(D==A&&I==T&&z==j&&G==B)&&Object.assign(a,{xmin:D,xmax:I,ymin:z,ymax:G})}const _t=De(()=>{let E=c?.xmin??a?.xmin,D=c?.xmax??a?.xmax,I=c?.ymin??a?.ymin,z=c?.ymax??a?.ymax;return{x:E||D?{min:E,max:D}:void 0,y:I||z?{min:I,max:z}:void 0}}),Qt=_(()=>{let E={x:b.value.coordScales.x,y:b.value.coordScales.y};return r.axes.filter(D=>D.coord in E).filter(D=>["h","v"].includes(D.orientation)).map(({coord:D,breaks:I,labels:z,titles:G,minorBreaks:A,...T})=>({coord:D,axis:new l8(E[D],{breaks:I,labels:z,titles:G,minorBreaks:A}),etc:T}))});function ve(E){let{grid_color:D,grid_color_major:I=D,grid_color_minor:z=D,grid_width:G,grid_width_major:A=G,grid_width_minor:T=G,...j}=E;return I&&(j.grid_color_major=I),z&&(j.grid_color_minor=z),A&&(j.grid_width_major=A),T&&(j.grid_width_minor=T),j}const ie=_(()=>Qt.value.map(({coord:E,axis:D,etc:I})=>{let{showGrid:z,breakSlot:G,orientation:A,...T}=I,j=ve(t.theme.axis[A]??{}),B=ve(T.theme),K=D.getBreaks({range:_t[E],expandMult:t.expandMult[E],breakSlot:G});for(let st of K)st.theme=Object.assign({},j,B,ve(st.theme??{}));return{breaks:K,showGrid:z,coord:E,orientation:A,bind:T}})),te=_(()=>{let E=ie.value.filter(I=>I.showGrid&&I.orientation=="v"),D=ie.value.filter(I=>I.showGrid&&I.orientation=="h");return{h:ai(E.flatMap(I=>I.breaks),I=>I.value,(I,z)=>[I,z].find(G=>G.type=="major")??I),v:ai(D.flatMap(I=>I.breaks),I=>I.value,(I,z)=>[I,z].find(G=>G.type=="major")??I)}}),fe=_(()=>ie.value.map(({orientation:E,coord:D,bind:I,breaks:z})=>{let{onMove:G=(...K)=>o("move",...K),onZoom:A=(...K)=>o("zoom",...K),onRescale:T=(...K)=>o("rescale",...K),onNudge:j=(...K)=>o("nudge",...K),...B}=I;return{orientation:E,bind:{coord:D,orientation:E,ticks:z.filter(K=>K.type=="major"),layout:M,coord2pos:w,pos2coord:g,...B},on:{zoom:A,move:G,rescale:T,nudge:j,rangechange:ut}}}));return(E,D)=>(O(),R("svg",J({ref:"svg",width:"100%",height:"100%"},Nt(ot,!0),E.$attrs),[Ct("defs",null,[Ct("clipPath",{id:`${$t(i)}-plot-clip`},[Ct("rect",{x:"0",y:"0",width:$t(N).width,height:$t(N).height},null,8,PG)],8,jG)]),D[6]||(D[6]=mt()),t.theme.plot.background?(O(),R("rect",{key:0,transform:`translate(${$t(N).left}, ${$t(N).top})`,width:$t(N).width,height:$t(N).height,fill:t.theme.plot.background},null,8,DG)):Ot("",!0),D[7]||(D[7]=mt()),Ct("g",{transform:`translate(${$t(N).left}, ${$t(N).top})`,style:{"pointer-events":"none"}},[re(PU,{breaks:te.value.h,layout:$t(M),activeTransform:U.value,coord2pos:w,transition:h.value},null,8,["breaks","layout","activeTransform","transition"]),D[2]||(D[2]=mt()),re(DU,{breaks:te.value.v,layout:$t(M),activeTransform:U.value,coord2pos:w,transition:h.value},null,8,["breaks","layout","activeTransform","transition"])],8,qG),D[8]||(D[8]=mt()),Ct("g",{transform:`translate(${$t(N).left}, ${$t(N).top})`},[(O(!0),R(lt,null,ht(fe.value.filter(I=>typeof I.bind.position!="number"),I=>(O(),wt(Ro,J({ref_for:!0},I.bind,Nt(I.on),{transition:h.value,"onUpdate:transition":D[0]||(D[0]=z=>h.value=z),activeTransform:U.value}),null,16,["transition","activeTransform"]))),256)),D[3]||(D[3]=mt()),Ct("g",{"clip-path":r.clip?`url(#${$t(i)}-plot-clip)`:null},[(O(!0),R(lt,null,ht(fe.value.filter(I=>typeof I.bind.position=="number"),I=>(O(),wt(Ro,J({ref_for:!0},I.bind,Nt(I.on),{transition:h.value,"onUpdate:transition":D[1]||(D[1]=z=>h.value=z),activeTransform:U.value}),null,16,["transition","activeTransform"]))),256))],8,VG)],8,BG),D[9]||(D[9]=mt()),Ct("g",{transform:`translate(${$t(N).left}, ${$t(N).top})`,"clip-path":r.clip?`url(#${$t(i)}-plot-clip)`:null},[Ct("g",J(C.value,{style:{transition:h.value}}),[(O(!0),R(lt,null,ht(b.value.layers,I=>(O(),wt(xG,J({ref_for:!0,ref_key:"layers",ref:y,data:I.data},{ref_for:!0},I.vBind,{layout:$t(M),geom:I.geom,coord2pos:w,getCoord:k,"default-render":r.render,"default-dpi":r.dpi}),null,16,["data","layout","geom","default-render","default-dpi"]))),256))],16),D[4]||(D[4]=mt()),(O(!0),R(lt,null,ht(r.selections,I=>(O(),wt(Uo,J({coord2pos:w,pos2coord:g,layout:$t(M),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:U.value},{ref_for:!0},I,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),D[5]||(D[5]=mt()),re(Uo,{coord2pos:w,pos2coord:g,layout:$t(M),modelValue:l.value,transition:h.value,activeTransform:U.value,theme:d.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,IG),D[10]||(D[10]=mt()),Qo(E.$slots,"default"),D[11]||(D[11]=mt()),r.legendTeleport?(O(),R("foreignObject",RG,[(O(),wt(Jl,{defer:"",to:r.legendTeleport},[re(LG,{scales:b.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Ot("",!0)],16))}}),On={$_type:"action",$_props:{}},Ui={$_type:"layer"},Gi={$_props:{geom:"tile",stat:"bar"},$_type:"layer",$_argnames:["width","height","position"]},Wi={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Ki={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer",$_argnames:["width","height","position"]},Zi={$_props:{geom:"tile",stat:"col"},$_type:"layer",$_argnames:["width","height","position","orientation"]},Qi={$_props:{geom:"curve",stat:"curve",fill:"none",color:"black"},$_type:"layer",$_attrnames:["interpolate"]},Ji={$_props:{geom:"curve",stat:"density",fill:"none",color:"black"},$_type:"layer",$_argnames:["n","kernel","scale"]},tr={$_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"]},nr={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},ir={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},rr={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},or={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},sr={$_props:{geom:"line",stat:"path"},$_type:"layer"},lr={$_props:{geom:"point",stat:"point"},$_type:"layer"},ar={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},cr={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},ur={$_props:{geom:"line",stat:"segment"},$_type:"layer"},hr={$_props:{geom:"shape",stat:"shape",interpolate:"catmullRomClosed"},$_type:"layer",$_attrnames:["interpolate"]},fr={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},dr={$_props:{geom:"text",stat:"text"},$_type:"layer"},mr={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},gr={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},yr={$_props:{geom:"shape",stat:"violin"},$_type:"layer",$_argnames:["n","kernel","scale","width","height","position"]},_G=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Ui,VVGeomBar:Gi,VVGeomBlank:Wi,VVGeomBoxplot:Ki,VVGeomCol:Zi,VVGeomCurve:Qi,VVGeomDensity:Ji,VVGeomEllipse:tr,VVGeomHistogram:er,VVGeomLine:nr,VVGeomLinerange:ir,VVGeomMarkdown:rr,VVGeomMarkdownsegment:or,VVGeomPath:sr,VVGeomPoint:lr,VVGeomPolygon:ar,VVGeomRect:cr,VVGeomSegment:ur,VVGeomShape:hr,VVGeomStick:fr,VVGeomText:dr,VVGeomTextsegment:mr,VVGeomTile:gr,VVGeomViolin:yr},Symbol.toStringTag,{value:"Module"})),pr={$_type:"axis",$_props:{}},vr={$_type:"axis",$_props:{coord:"x"}},xr={$_type:"axis",$_props:{coord:"y"}},br={$_type:"axis-break",$_props:{type:"major"}},XG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:pr,VVAxisBreak:br,VVAxisX:vr,VVAxisY:xr},Symbol.toStringTag,{value:"Module"})),YG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},_l=Object.assign({inheritAttrs:!1},{__name:"Plot",props:m1({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:m1(["resize","rangechange","select","update:range","update:rangePreview"],["update:selectionPreview","update:selectionPreviewTheme","update:transition","update:width","update:height"]),setup(t,{expose:e,emit:n}){const i={..._G,...XG,VVAction:On,VVSelection:On},r={x:"y",y:"x",h:"v",v:"h",top:"bottom",bottom:"top",left:"right",right:"left"};function o(A){return A==null?A:A===""||!!A}const a=n,c=Ae(t,"selectionPreview"),l=Ae(t,"selectionPreviewTheme"),s=Ae(t,"transition");function u(A){return{props:Object.fromEntries(A.props.map(j=>{try{if(j.type==7)return[j.arg.content,new Function("return "+j.exp.content)()];if(j.type==6)return[j.name,j.value?.content??""]}catch{}}).filter(j=>j!=null)),children:A.children.map(j=>()=>[u(j)]),type:i[A.tag]}}const d=ta(),f=ea(),h=jt({axis:{},layer:{},action:{},selection:{},dom:{}});for(let A in d)St(()=>d[A]?.(),T=>{let j=E1(T).flatMap(K=>K.type?.template?Ha(K.type.template,{decodeEntities:!0}).children.map(at=>u(at)):K).filter(K=>K!=null),B=Object.groupBy(j,K=>K.type.$_type??"dom");for(let K in h)B[K]==null?delete h[K][A]:h[K][A]=B[K]},{immediate:!0});const m=_(()=>Object.values(h.layer).flat()),y=_(()=>Object.values(h.axis).flat()),p=_(()=>Object.values(h.action).flat()),S=_(()=>Object.values(h.selection).flat()),$=_(()=>Object.keys(h.dom).flatMap(A=>A=="panel"?[]:h.dom[A])),b=_(()=>$.value.filter(A=>Sr(A.type))),N=_(()=>$.value.filter(A=>!Sr(A.type))),M=_(()=>{let A={},T={};for(let j in f)if(j.startsWith("on")){let B=Array.isArray(f[j])?f[j]:[f[j]];A[j]=B.filter(K=>typeof K=="function"),T[j]=B.filter(K=>typeof K!="function")}else j.startsWith("svg-")?A[j.slice(4)]=f[j]:T[j]=f[j];return{plot:A,wrapper:T}}),C=_(()=>{let A=[fs,ds].concat(t.theme??[]);return Ja(Qa(Za(...A),t.flip))},{deep:!0}),L=De(()=>{let A=y.value.map(B=>({...B.type.$_props,...B.props})),T=A.filter(B=>B.coord==="x"),j=A.filter(B=>B.coord==="y");return{x:T.find(B=>o(B.primary))??T.find(B=>B.primary==null&&!o(B.secondary)),y:j.find(B=>o(B.primary))??j.find(B=>B.primary==null&&!o(B.secondary))}}),g={levels:jt({}),extend:jt({}),"min-range":jt({}),"expand-add":jt({}),"expand-mult":jt({}),boundary:jt({}),reverse:jt({}),min:jt({}),max:jt({}),"min-preview":jt({}),"max-preview":jt({})};St(L,A=>{for(let T of["x","y"])for(let j in g)g[j][T]=A?.[T]?.[j]},{immediate:!0});const v=De(()=>{let A={};for(let T of["x","y"]){let j=g.boundary[T];A[T]={min:j?.min??j?.[0],max:j?.max??j?.[1]}}return A}),w=_(()=>({data:t.data,aes:t.aes,extendX:g.extend.x??t.extend?.x??0,extendY:g.extend.y??t.extend?.y??0})),x=_(()=>m.value.map(A=>{let{geom:T,stat:j,scales:B,data:K,"extend-x":st,"extend-y":at,...gt}={...A.type.$_props,...A.props},kt=A.type.$_argnames||[],ft=A.type.$_attrnames||[],ct={},it={},rt={},et={};for(let nt in gt)nt!="key"&&(kt.includes(nt)?it[nt]=gt[nt]:ft.includes(nt)?rt[nt]=gt[nt]:nt.startsWith("on")?et[nt]=gt[nt]:typeof gt[nt]=="function"?["item-class","item-style"].includes(nt)?ct[nt.slice(5)]=gt[nt]:ct[nt]=gt[nt]:["class","style","group-class","group-style","dpi","render"].includes(nt)?et[nt]=gt[nt]:["item-class","item-style"].includes(nt)?rt[nt.slice(5)]=gt[nt]:rt[nt]=gt[nt]);return{geom:T,stat:j,data:K,aes:ct,attrs:rt,scales:B,args:it,extendX:st,extendY:at,vBind:et}})),k=_(()=>(({x:A,y:T,...j})=>j)(t.levels??{})),V=_(()=>{let A={};for(let T of["x","y"])A[T]=g.levels[T]??t.levels?.[T];return A}),P=_(()=>{let A={};for(let T of["x","y"]){let j=g.min[T]??t.range?.[T+"min"],B=g.max[T]??t.range?.[T+"max"];A[T+"min"]=isFinite(j)&&!Number.isNaN(j)?j:null,A[T+"max"]=isFinite(B)&&!Number.isNaN(B)?B:null}return A}),W=_(()=>{let A={};for(let T of["x","y"]){let j=g["min-preview"][T]??t.rangePreview?.[T+"min"],B=g["max-preview"][T]??t.rangePreview?.[T+"max"];A[T+"min"]=isFinite(j)&&!Number.isNaN(j)?j:null,A[T+"max"]=isFinite(B)&&!Number.isNaN(B)?B:null}return A}),X=De(()=>({xmin:L?.x?.["onUpdate:min"],xmax:L?.x?.["onUpdate:max"],ymin:L?.y?.["onUpdate:min"],ymax:L?.y?.["onUpdate:max"]})),H=De(()=>({xmin:L?.x?.["onUpdate:minPreview"],xmax:L?.x?.["onUpdate:maxPreview"],ymin:L?.y?.["onUpdate:minPreview"],ymax:L?.y?.["onUpdate:maxPreview"]})),q=jt({}),Y=jt({});St(P,(A,T)=>{A?.xmin!==T?.xmin&&(q.xmin=A.xmin),A?.xmax!==T?.xmax&&(q.xmax=A.xmax),A?.ymin!==T?.ymin&&(q.ymin=A.ymin),A?.ymax!==T?.ymax&&(q.ymax=A.ymax)},{immediate:!0}),St(W,(A,T)=>{A?.xmin!==T?.xmin&&(Y.xmin=A.xmin),A?.xmax!==T?.xmax&&(Y.xmax=A.xmax),A?.ymin!==T?.ymin&&(Y.ymin=A.ymin),A?.ymax!==T?.ymax&&(Y.ymax=A.ymax)},{immediate:!0}),St(()=>({...q}),(A,T)=>{for(let j in X)X[j]?.(A[j]);a("rangechange",{...A},{...T}),a("update:range",{...A})},{deep:!0}),St(()=>Y,A=>{for(let T in H)H[T]?.(A[T]);a("update:rangePreview",{...A})},{deep:!0}),Xn("range",q),Xn("rangePreview",Y);const F=_(()=>({x:g["min-range"].x??t.minRange?.x??0,y:g["min-range"].y??t.minRange?.y??0})),tt=_(()=>{let A=g["expand-add"].x??t.expandAdd?.x??0,T=g["expand-add"].y??t.expandAdd?.y??0;return Array.isArray(A)?A={min:A[0],max:A[1]}:typeof A=="number"&&(A={min:A,max:A}),Array.isArray(T)?T={min:T[0],max:T[1]}:typeof T=="number"&&(T={min:T,max:T}),{x:A,y:T}}),Z=_(()=>{let A=g["expand-mult"].x??t.expandMult?.x??.05,T=g["expand-mult"].y??t.expandMult?.y??.05;return Array.isArray(A)?A={min:A[0],max:A[1]}:typeof A=="number"&&(A={min:A,max:A}),Array.isArray(T)?T={min:T[0],max:T[1]}:typeof T=="number"&&(T={min:T,max:T}),{x:A,y:T}}),U=De(()=>({x:o(g.reverse.x)??t.reverse?.x??!1,y:o(g.reverse.y)??t.reverse?.y??!1})),Q={left:1,right:2,middle:4,X1:8,X2:16},ot=_(()=>{let A=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},T=y.value.map(j=>({...j.type.$_props,...j.props,$_children:j.children??{}})).concat(t.axes??[]);return T.every(j=>j?.coord!="x")&&T.push({coord:"x"}),T.every(j=>j?.coord!="y")&&T.push({coord:"y"}),T.map(({coord:j,position:B,title:K,breaks:st,labels:at,titles:gt,"minor-breaks":kt,"show-grid":ft,theme:ct=[],extend:it,boundary:rt,action:et,primary:nt,secondary:bt,"expand-mult":Lt,"expand-add":Dt,levels:Te,limits:Ee,min:xe,max:de,"onUpdate:min":e1,"onUpdate:max":wr,$_children:me={},...Yl})=>{let Be=A[j];B=B??"start",B=="start"?(B={h:"bottom",v:"left"}[Be],U[r[j]]&&(B=r[B])):B=="end"&&(B={h:"top",v:"right"}[Be],U[r[j]]&&(B=r[B]));let zl=me.breaks,Fl=Object.keys(me).filter(It=>typeof me[It]=="function"&&It!="breaks").flatMap(It=>E1(me[It]())).map(It=>({...It.type.$_props,...It.props})).concat(et??[]).flatMap(It=>{let kr=[];for(let H1 of["move","nudge","zoom","rescale"]){let le=It[H1];if(le==null||le===!1)continue;let Ul="on"+H1.charAt(0).toUpperCase()+H1.slice(1);kr.push({action:H1,[Be+"min"]:le.min??It.min??rt?.min??rt?.[0]??v?.[j]?.min,[Be+"max"]:le.max??It.max??rt?.max??rt?.[1]??v?.[j]?.max,["min-range-"+Be]:le["min-range"]??It["min-range"],ctrlKey:!!(le.ctrl??o(It.ctrl)),shiftKey:!!(le.shift??o(It.shift)),altKey:!!(le.alt??o(It.alt)),metaKey:!!(le.meta??o(It.meta)),buttons:le.buttons??Q[le.button]??It.buttons??Q[It.button]??1,emit:It[Ul]})}return kr});return{coord:j,orientation:Be,position:B,title:K,breaks:st,labels:at,titles:gt,minorBreaks:kt,breakSlot:zl,showGrid:o(ft)??B!=="none",extend:it??g.extend[j],theme:Object.assign({},...[C.value?.axis?.[B]??C.value?.axis?.[Be]].concat(ct)),action:Fl,...Yl}}).filter(j=>j!=null)}),ut=jt({});St(ot,A=>{for(let T of["left","right","top","bottom"])ut[T]=A.some(j=>j.position==T)},{immediate:!0});const _t=_(()=>p.value.map(A=>({...A.type.$_props,...A.props})).concat(t.action??[]).flatMap(A=>{let T=[];for(let j of["select","move","nudge","zoom"]){let B=A[j];if(B==null||B===!1)continue;let K=B.x==null&&B.y==null&&A.x==null&&A.y==null,st="on"+j.charAt(0).toUpperCase()+j.slice(1);T.push({action:j,x:K||!!(B.x??o(A.x)),y:K||!!(B.y??o(A.y)),xmin:B.xmin??A.xmin??v?.x?.min,xmax:B.xmax??A.xmax??v?.x?.max,ymin:B.ymin??A.ymin??v?.y?.min,ymax:B.ymax??A.ymax??v?.y?.max,"min-range-x":B["min-range-x"]??A["min-range-x"],"min-range-y":B["min-range-y"]??A["min-range-y"],ctrlKey:!!(B.ctrl??o(A.ctrl)),shiftKey:!!(B.shift??o(A.shift)),altKey:!!(B.alt??o(A.alt)),metaKey:!!(B.meta??o(A.meta)),buttons:B.buttons??Q[B.button]??A.buttons??Q[A.button]??1,emit:A[st]})}return T})),Qt=_(()=>S.value.map(A=>({...A.type.$_props,...A.props})).map(({once:A,move:T,dismissible:j,resize:B,x:K,y:st,xmin:at,xmax:gt,ymin:kt,ymax:ft,ctrl:ct,shift:it,alt:rt,meta:et,button:nt,buttons:bt,modelValue:Lt,"onUpdate:modelValue":Dt,theme:Te=[],...Ee})=>{let xe=K==null&&st==null;return o(A)?(Lt=jt({}),Dt=null):Dt==null&&(Lt=jt(Lt??{}),Dt=de=>{for(let e1 in Lt)delete Lt[e1];Object.assign(Lt,de)}),{move:!!o(T),dismissible:j==null?void 0:j!==!1,resize:!!o(B),x:xe||!!o(K),y:xe||!!o(st),xmin:at??v?.x?.min,xmax:gt??v?.x?.max,ymin:kt??v?.y?.min,ymax:ft??v?.y?.max,ctrlKey:!!o(ct),shiftKey:!!o(it),altKey:!!o(rt),metaKey:!!o(et),buttons:bt??Q[nt]??1,modelValue:Lt,"onUpdate:modelValue":Dt,theme:Object.assign({},...[C.value?.selection].concat(Te)),onSelect:(de,e1)=>a("select",de,e1),...Ee}})),{pixelRatio:ve}=ma(),ie=Bt("wrapper"),te=Bt("plot"),fe=Ae(t,"width"),E=Ae(t,"height"),D=N1(null);Xn("vvplot-visible",D),Zo(()=>{St(fe,A=>{ie.value.style.width=Ie(A,"px")??null},{immediate:!0}),St(E,A=>{ie.value.style.height=Ie(A,"px")??null},{immediate:!0})});let I={width:0,height:0};is(te,([A])=>{if(D.value=A.target.getClientRects().length>0,!D.value)return;let{width:T,height:j}=A.contentRect;fe.value-T<.5&&E.value-j<.5||(ie.value.style.width&&(fe.value=T),ie.value.style.height&&(E.value=j),(T>0||j>0)&&(I.width>0||I.height>0)&&a("resize",{width:T,height:j},I),I={width:T,height:j})});const z=_(()=>({position:"absolute",pointerEvents:"none",left:Ie(te.value?.panel?.left,"px"),top:Ie(te.value?.panel?.top,"px"),width:Ie(te.value?.panel?.width,"px"),height:Ie(te.value?.panel?.height,"px")})),G=_(()=>{let A={position:"relative",overflow:"hidden",boxSizing:"border-box"};return t.resize==="both"||t.resize===!0||t.resize===""?Object.assign(A,{resize:"both"}):t.resize==="horizontal"||t.resize==="x"&&!t.flip||t.resize==="y"&&t.flip?Object.assign(A,{resize:"horizontal"}):(t.resize==="vertical"||t.resize==="y"&&!t.flip||t.resize==="x"&&t.flip)&&Object.assign(A,{resize:"vertical"}),A});return e({get svg(){return te.value.svg},serialize(A){return Ya(te.value.svg,A)}}),(A,T)=>(O(),R("div",J({ref:"wrapper",class:"vvplot",style:G.value},M.value.wrapper),[re(HG,J({ref:"plot",paddings:ut,schema:w.value,layers:x.value,"min-range":F.value,"expand-add":tt.value,"expand-mult":Z.value,reverse:$t(U),flip:t.flip,"coord-levels":V.value,levels:k.value,scales:t.scales,axes:ot.value,theme:C.value,selections:Qt.value,transition:s.value,"onUpdate:transition":T[0]||(T[0]=j=>s.value=j)},M.value.plot,{"selection-preview":c.value,"onUpdate:selectionPreview":T[1]||(T[1]=j=>c.value=j),"selection-preview-theme":l.value,"onUpdate:selectionPreviewTheme":T[2]||(T[2]=j=>l.value=j),action:_t.value,clip:t.clip,render:t.render,dpi:t.dpi??96*$t(ve),legendTeleport:t.legendTeleport,onSelect:T[3]||(T[3]=(j,B)=>a("select",j,B))}),{default:na(()=>[(O(!0),R(lt,null,ht(b.value,j=>(O(),wt(Ye(j)))),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"]),T[4]||(T[4]=mt()),Ct("div",{class:"vvplot-panel-container",style:q1(z.value)},[h.dom.panel?.length?(O(),R("div",YG,[(O(!0),R(lt,null,ht(h.dom.panel,j=>(O(),wt(Ye(j)))),256))])):Ot("",!0)],4),T[5]||(T[5]=mt()),(O(!0),R(lt,null,ht(N.value,j=>(O(),wt(Ye(j)))),256))],16))}}),Xl={$_type:"selection",$_props:{}},zG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:On,VVAxis:pr,VVAxisBreak:br,VVAxisX:vr,VVAxisY:xr,VVGeom:Ui,VVGeomBar:Gi,VVGeomBlank:Wi,VVGeomBoxplot:Ki,VVGeomCol:Zi,VVGeomCurve:Qi,VVGeomDensity:Ji,VVGeomEllipse:tr,VVGeomHistogram:er,VVGeomLine:nr,VVGeomLinerange:ir,VVGeomMarkdown:rr,VVGeomMarkdownsegment:or,VVGeomPath:sr,VVGeomPoint:lr,VVGeomPolygon:ar,VVGeomRect:cr,VVGeomSegment:ur,VVGeomShape:hr,VVGeomStick:fr,VVGeomText:dr,VVGeomTextsegment:mr,VVGeomTile:gr,VVGeomViolin:yr,VVPlot:_l,VVSelection:Xl},Symbol.toStringTag,{value:"Module"}));export{On as VVAction,pr as VVAxis,br as VVAxisBreak,vr as VVAxisX,xr as VVAxisY,Ui as VVGeom,Gi as VVGeomBar,Wi as VVGeomBlank,Ki as VVGeomBoxplot,Zi as VVGeomCol,Qi as VVGeomCurve,Ji as VVGeomDensity,tr as VVGeomEllipse,er as VVGeomHistogram,nr as VVGeomLine,ir as VVGeomLinerange,rr as VVGeomMarkdown,or as VVGeomMarkdownsegment,sr as VVGeomPath,lr as VVGeomPoint,ar as VVGeomPolygon,cr as VVGeomRect,ur as VVGeomSegment,hr as VVGeomShape,fr as VVGeomStick,dr as VVGeomText,mr as VVGeomTextsegment,gr as VVGeomTile,yr as VVGeomViolin,_l as VVPlot,Xl as VVSelection,zG as components,hl as number_cut,W9 as oob,Vn as vvbreak,Se as vvgeom,Mi as vvlabel,ul as vvscale,ms as vvstat,tc as vvtheme};
|