vvplot 0.1.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ import{computed as X,isRef as Ln,reactive as Lt,unref as Mt,getCurrentScope as Qs,onScopeDispose as Js,toValue as uo,watch as St,shallowRef as tl,getCurrentInstance as el,onMounted as ho,useTemplateRef as Pt,nextTick as kn,openBlock as E,createElementBlock as B,mergeProps as J,renderSlot as nl,toDisplayString as qt,createCommentVNode as Et,createTextVNode as ft,Fragment as rt,renderList as at,inject as K1,normalizeStyle as C1,createElementVNode as kt,createBlock as vt,toHandlers as zt,normalizeProps as re,resolveDynamicComponent as r1,guardReactiveProps as u1,createVNode as $e,useModel as ke,createPropsRestProxy as fo,mergeModels as o1,ref as Z1,useId as il,Teleport as rl,useSlots as ol,useAttrs as sl,provide as Ji}from"vue";function ll(t){return Qs()?(Js(t),!0):!1}function al(t){if(!Ln(t))return Lt(t);const e=new Proxy({},{get(n,i,r){return Mt(Reflect.get(t.value,i,r))},set(n,i,r){return Ln(t.value[i])&&!Ln(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 Lt(e)}function Ee(t){return al(X(t))}const cl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ul=cl?window:void 0;function tr(t){var e;const n=uo(t);return(e=n?.$el)!=null?e:n}function hl(){const t=tl(!1),e=el();return e&&ho(()=>{t.value=!0},e),t}function fl(t){const e=hl();return X(()=>(e.value,!!t()))}function mo(t,e,n={}){const{window:i=ul,...r}=n;let o;const l=fl(()=>i&&"ResizeObserver"in i),a=()=>{o&&(o.disconnect(),o=void 0)},c=X(()=>{const m=uo(t);return Array.isArray(m)?m.map(f=>tr(f)):[tr(m)]}),s=St(c,m=>{if(a(),l.value&&i){o=new ResizeObserver(e);for(const f of m)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),s()};return ll(u),{isSupported:l,stop:u}}const E1=()=>!1,Xn=Object.assign,ml=Symbol(""),dl=Symbol(""),yl=Symbol(""),gl=Symbol(""),yo={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function xl(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:yo}}function Yn(t,e=!1,n=yo,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}const er=new Uint8Array([123,123]),nr=new Uint8Array([125,125]);function ir(t){return t>=97&&t<=122||t>=65&&t<=90}function ee(t){return t===32||t===10||t===9||t===12||t===13}function Ce(t){return t===47||t===62||ee(t)}function Q1(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 vl{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=er,this.delimiterClose=nr,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=er,this.delimiterClose=nr}getPos(e){let n=1,i=e+1;const r=this.newlines.length;let o=-1;if(r>100){let l=-1,a=r;for(;l+1<a;){const c=l+a>>>1;this.newlines[c]<e?l=c:a=c}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?Ce(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||ee(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):ir(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){Ce(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ce(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Q1("</"+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){ee(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ir(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||ee(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):ee(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):ee(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Ce(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Ce(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||Ce(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||Ce(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Ce(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)):ee(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):ee(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){ee(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 rr(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function go(t,e){const n=rr("MODE",e),i=rr(t,e);return n===3?i===!0:i!==!1}function J1(t,e,n,...i){return go(t,e)}function pl(t){throw t}function bl(t){}function wl(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 kl=t=>t.type===4&&t.isStatic;function Al(t){switch(t){case"Teleport":case"teleport":return ml;case"Suspense":case"suspense":return dl;case"KeepAlive":case"keep-alive":return yl;case"BaseTransition":case"base-transition":return gl}}function Sl(t,e){return!!(t&&kl(t)&&t.content===e)}function or(t){return t.type===7&&t.name==="pre"}const Nl=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Cl(t){for(let e=0;e<t.length;e++)if(!ee(t.charCodeAt(e)))return!1;return!0}const xo={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:E1,isPreTag:E1,isIgnoreNewlineTag:E1,isCustomElement:E1,onError:pl,onWarn:bl,comments:!1,prefixIdentifiers:!1};let bt=xo,p1=null,Se="",Gt=null,dt=null,Qt="",we=-1,Pe=-1,di=0,Me=!1,zn=null;const At=[],$t=new vl(At,{onerr:pe,ontext(t,e){L1(Ht(t,e),t,e)},ontextentity(t,e,n){L1(t,e,n)},oninterpolation(t,e){if(Me)return L1(Ht(t,e),t,e);let n=t+$t.delimiterOpen.length,i=e-$t.delimiterClose.length;for(;ee(Se.charCodeAt(n));)n++;for(;ee(Se.charCodeAt(i-1));)i--;let r=Ht(n,i);r.includes("&")&&(r=bt.decodeEntities(r,!1)),Un({type:5,content:U1(r,!1,jt(n,i)),loc:jt(t,e)})},onopentagname(t,e){const n=Ht(t,e);Gt={type:1,tag:n,ns:bt.getNamespace(n,At[0],bt.ns),tagType:0,props:[],children:[],loc:jt(t-1,e),codegenNode:void 0}},onopentagend(t){lr(t)},onclosetag(t,e){const n=Ht(t,e);if(!bt.isVoidTag(n)){let i=!1;for(let r=0;r<At.length;r++)if(At[r].tag.toLowerCase()===n.toLowerCase()){i=!0,r>0&&pe(24,At[0].loc.start.offset);for(let l=0;l<=r;l++){const a=At.shift();z1(a,e,l<r)}break}i||pe(23,vo(t,60))}},onselfclosingtag(t){const e=Gt.tag;Gt.isSelfClosing=!0,lr(t),At[0]&&At[0].tag===e&&z1(At.shift(),t)},onattribname(t,e){dt={type:6,name:Ht(t,e),nameLoc:jt(t,e),value:void 0,loc:jt(t)}},ondirname(t,e){const n=Ht(t,e),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Me&&i===""&&pe(26,t),Me||i==="")dt={type:6,name:n,nameLoc:jt(t,e),value:void 0,loc:jt(t)};else if(dt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Yn("prop")]:[],loc:jt(t)},i==="pre"){Me=$t.inVPre=!0,zn=Gt;const r=Gt.props;for(let o=0;o<r.length;o++)r[o].type===7&&(r[o]=Dl(r[o]))}},ondirarg(t,e){if(t===e)return;const n=Ht(t,e);if(Me&&!or(dt))dt.name+=n,Ve(dt.nameLoc,e);else{const i=n[0]!=="[";dt.arg=U1(i?n:n.slice(1,-1),i,jt(t,e),i?3:0)}},ondirmodifier(t,e){const n=Ht(t,e);if(Me&&!or(dt))dt.name+="."+n,Ve(dt.nameLoc,e);else if(dt.name==="slot"){const i=dt.arg;i&&(i.content+="."+n,Ve(i.loc,e))}else{const i=Yn(n,!0,jt(t,e));dt.modifiers.push(i)}},onattribdata(t,e){Qt+=Ht(t,e),we<0&&(we=t),Pe=e},onattribentity(t,e,n){Qt+=t,we<0&&(we=e),Pe=n},onattribnameend(t){const e=dt.loc.start.offset,n=Ht(e,t);dt.type===7&&(dt.rawName=n),Gt.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&pe(2,e)},onattribend(t,e){if(Gt&&dt){if(Ve(dt.loc,e),t!==0)if(Qt.includes("&")&&(Qt=bt.decodeEntities(Qt,!0)),dt.type===6)dt.name==="class"&&(Qt=bo(Qt).trim()),t===1&&!Qt&&pe(13,e),dt.value={type:2,content:Qt,loc:t===1?jt(we,Pe):jt(we-1,Pe+1)},$t.inSFCRoot&&Gt.tag==="template"&&dt.name==="lang"&&Qt&&Qt!=="html"&&$t.enterRCDATA(Q1("</template"),0);else{let n=0;dt.exp=U1(Qt,!1,jt(we,Pe),0,n),dt.name==="for"&&(dt.forParseResult=Tl(dt.exp));let i=-1;dt.name==="bind"&&(i=dt.modifiers.findIndex(r=>r.content==="sync"))>-1&&J1("COMPILER_V_BIND_SYNC",bt,dt.loc,dt.arg.loc.source)&&(dt.name="model",dt.modifiers.splice(i,1))}(dt.type!==7||dt.name!=="pre")&&Gt.props.push(dt)}Qt="",we=Pe=-1},oncomment(t,e){bt.comments&&Un({type:3,content:Ht(t,e),loc:jt(t-4,e+3)})},onend(){const t=Se.length;for(let e=0;e<At.length;e++)z1(At[e],t-1),pe(24,At[e].loc.start.offset)},oncdata(t,e){At[0].ns!==0?L1(Ht(t,e),t,e):pe(1,t-9)},onprocessinginstruction(t){(At[0]?At[0].ns:bt.ns)===0&&pe(21,t-1)}}),sr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ml=/^\(|\)$/g;function Tl(t){const e=t.loc,n=t.content,i=n.match(Nl);if(!i)return;const[,r,o]=i,l=(m,f,h=!1)=>{const y=e.start.offset+f,g=y+m.length;return U1(m,!1,jt(y,g),0,h?1:0)},a={source:l(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=r.trim().replace(Ml,"").trim();const s=r.indexOf(c),u=c.match(sr);if(u){c=c.replace(sr,"").trim();const m=u[1].trim();let f;if(m&&(f=n.indexOf(m,s+c.length),a.key=l(m,f,!0)),u[2]){const h=u[2].trim();h&&(a.index=l(h,n.indexOf(h,a.key?f+m.length:s+c.length),!0))}}return c&&(a.value=l(c,s,!0)),a}function Ht(t,e){return Se.slice(t,e)}function lr(t){$t.inSFCRoot&&(Gt.innerLoc=jt(t+1,t+1)),Un(Gt);const{tag:e,ns:n}=Gt;n===0&&bt.isPreTag(e)&&di++,bt.isVoidTag(e)?z1(Gt,t):(At.unshift(Gt),(n===1||n===2)&&($t.inXML=!0)),Gt=null}function L1(t,e,n){{const o=At[0]&&At[0].tag;o!=="script"&&o!=="style"&&t.includes("&")&&(t=bt.decodeEntities(t,!1))}const i=At[0]||p1,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=t,Ve(r.loc,n)):i.children.push({type:2,content:t,loc:jt(e,n)})}function z1(t,e,n=!1){n?Ve(t.loc,vo(e,60)):Ve(t.loc,$l(e,62)+1),$t.inSFCRoot&&(t.children.length?t.innerLoc.end=Xn({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Xn({},t.innerLoc.start),t.innerLoc.source=Ht(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Me||(i==="slot"?t.tagType=2:ar(t)?t.tagType=3:Ll(t)&&(t.tagType=1)),$t.inRCDATA||(t.children=po(o)),r===0&&bt.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}r===0&&bt.isPreTag(i)&&di--,zn===t&&(Me=$t.inVPre=!1,zn=null),$t.inXML&&(At[0]?At[0].ns:bt.ns)===0&&($t.inXML=!1);{const l=t.props;if(!$t.inSFCRoot&&go("COMPILER_NATIVE_TEMPLATE",bt)&&t.tag==="template"&&!ar(t)){const c=At[0]||p1,s=c.children.indexOf(t);c.children.splice(s,1,...t.children)}const a=l.find(c=>c.type===6&&c.name==="inline-template");a&&J1("COMPILER_INLINE_TEMPLATE",bt,a.loc)&&t.children.length&&(a.value={type:2,content:Ht(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:a.loc})}}function $l(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n<Se.length-1;)n++;return n}function vo(t,e){let n=t;for(;Se.charCodeAt(n)!==e&&n>=0;)n--;return n}const El=new Set(["if","else","else-if","for","slot"]);function ar({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&El.has(e[n].name))return!0}return!1}function Ll({tag:t,props:e}){if(bt.isCustomElement(t))return!1;if(t==="component"||Ol(t.charCodeAt(0))||Al(t)||bt.isBuiltInComponent&&bt.isBuiltInComponent(t)||bt.isNativeTag&&!bt.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(J1("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}}else if(i.name==="bind"&&Sl(i.arg,"is")&&J1("COMPILER_IS_ON_ELEMENT",bt,i.loc))return!0}return!1}function Ol(t){return t>64&&t<91}const jl=/\r\n/g;function po(t){const e=bt.whitespace!=="preserve";let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(di)r.content=r.content.replace(jl,`
2
+ `);else if(Cl(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&&Pl(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=bo(r.content))}return n?t.filter(Boolean):t}function Pl(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function bo(t){let e="",n=!1;for(let i=0;i<t.length;i++)ee(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function Un(t){(At[0]||p1).children.push(t)}function jt(t,e){return{start:$t.getPos(t),end:e==null?e:$t.getPos(e),source:e==null?e:Ht(t,e)}}function Ve(t,e){t.end=$t.getPos(e),t.source=Ht(t.start.offset,e)}function Dl(t){const e={type:6,name:t.rawName,nameLoc:jt(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function U1(t,e=!1,n,i=0,r=0){return Yn(t,e,n,i)}function pe(t,e,n){bt.onError(wl(t,jt(e,e)))}function ql(){$t.reset(),Gt=null,dt=null,Qt="",we=-1,Pe=-1,At.length=0}function Vl(t,e){if(ql(),Se=t,bt=Xn({},xo),e){let r;for(r in e)e[r]!=null&&(bt[r]=e[r])}$t.mode=bt.parseMode==="html"?1:bt.parseMode==="sfc"?2:0,$t.inXML=bt.ns===1||bt.ns===2;const n=e&&e.delimiters;n&&($t.delimiterOpen=Q1(n[0]),$t.delimiterClose=Q1(n[1]));const i=p1=xl([],t);return $t.parse(Se),i.loc=jt(0,t.length),i.children=po(i.children),p1=null,i}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");class wo{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 e1 extends Array{static from(e){if(e instanceof this)return e;if(e[Symbol.iterator]){let n=y1(Array.from(e).map(i=>String(i))).sort((i,r)=>cr(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)=>cr(e[i],e[r]));return new this(...n)}throw new Error(`Invalid level values: ${e}`)}constructor(...e){return e=e.map((n,i)=>new wo(String(n),i)),e.forEach(n=>n.level=e),e.mapping=Object.fromEntries(e.map(n=>[n,n])),Object.setPrototypeOf(e,e1.prototype),e}getItem(e){return typeof e=="number"||e instanceof Number?this[e]:this.mapping[e]}apply(e){let n=e.map(i=>this.mapping[i]);return n.level=this,n}}function Fe(t){return typeof t=="number"||t instanceof Number||t instanceof Date}function ht(t,e=0){return e==0||t==null?t:t instanceof Date?new t.constructor(+t+e):+t+e}const Yt={min(t,{na_rm:e=!0,infinity_rm:n=!0}={}){return e&&(t=t.filter(Fe)),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(Fe)),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(Fe)),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(Fe)),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(Fe)),i&&(t=t.filter(a=>isFinite(a))),t.length==0)return NaN;t=Array.from(t).sort((a,c)=>a-c);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(Fe)),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})}},Ot={sum(...t){if(t.some(i=>i==null))return null;if(t.some(i=>!Array.isArray(i)&&typeof i!="number"))throw new Error("Arguments must be numbers or arrays");let e=t.filter(i=>!Array.isArray(i)).reduce((i,r)=>+r+i,0);if(t=t.filter(i=>Array.isArray(i)),t.length==0)return[e];if(t.some(i=>i.length==0))return[];let n=t[0].length;if(t.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.reduce((o,l)=>+l[r]+o,e))},opposite(t){if(t==null)return null;if(!Array.isArray(t)&&typeof t!="number")throw new Error("Arguments must be numbers or arrays");return Array.isArray(t)?t.map(e=>e==null?e:-e):-t},concat(...t){if(t.some(i=>i==null))return null;let e=t.filter(i=>Array.isArray(i));if(e.length==0)return[t.join("")];if(t.some(i=>i.length==0))return[];let n=e[0].length;if(e.some(i=>i.length!=n))throw new Error("Arrays must have the same length");return Array.from({length:n},(i,r)=>t.map(o=>Array.isArray(o)?o[r]:o).join(""))},apply(t,...e){if(e.some(r=>r==null))return null;let n=e.filter(r=>Array.isArray(r));if(n.length==0)return[t(...e)];if(e.some(r=>r.length==0))return[];let i=n[0].length;if(n.some(r=>r.length!=i))throw new Error("Arrays must have the same length");return Array.from({length:i},(r,o)=>t(...e.map(l=>Array.isArray(l)?l[o]:l)))}};function Tt(...t){if(t=t.filter(e=>e!==void 0),t.length!=0)return t=t.slice(t.findIndex(e=>e==null)+1),t.length==0?null:t.reduce((e,n)=>{for(let i in n)n[i]===null&&delete e[i],n[i]!=null&&(e[i]=n[i]);return e},{})}function Te(...t){if(!t.some(e=>e===void 0))return t.some(e=>e===null)?null:t.join("")}function y1(t,e=null){let n=new Map;for(let i in t){let r=e?e(t[i]):t[i];n.has(r)||n.set(r,t[i])}return Array.from(n.values())}function cr(t,e,{numeric:n=!1}={}){return typeof t!="number"||typeof e!="number"?String(t).localeCompare(String(e),void 0,{numeric:n}):t-e}function qe(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 Fn(t,{min:e,max:n}){return t==-1/0?e:t==1/0?n:t}function Xt(t){return typeof t!="object"||t==null?t:Object.fromEntries(Object.entries(t).filter(([e,n])=>n!=null))}function ko(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(!ko(t[r],e[r]))return!1;return!0}function Bl(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=>ko(l,r));o===-1&&(e.push(r),o=e.length-1),n.push(o)}return n.categories=e,n}function Il(...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(a=>Array.isArray(a)?a[r]:a),l=n.findIndex(a=>a.every((c,s)=>c===o[s]));l===-1&&(n.push(o),l=n.length-1),i.push(l)}return i.categories=n,i}function Jt(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(c=>[c,Array.isArray(t[c])?t[c][o]:t[c]])),a=i.findIndex(c=>n.every(s=>c[s]===l[s]));a===-1&&(i.push(l),a=i.length-1),r.push(a)}return r.categories=i,r}function yi(t){if(Object.keys(t).length==0)return[];let e=Object.values(t).filter(n=>Array.isArray(n)).reduce((n,i)=>{if(Array.isArray(i)){if(n==null)return i.length;if(n!=i.length)throw new Error("Arrays must have the same length")}return n},null)??0;return Array.from({length:e},(n,i)=>Object.fromEntries(Object.keys(t).map(r=>[r,Array.isArray(t[r])?t[r][i]:t[r]])))}function Vt(t){return t==null?[]:Array.isArray(t)?t:t==="solid"?[]:t==="dashed"?[4,4]:t==="dotted"?[1,3]:t==="dotdash"?[1,3,4,3]:t==="longdash"?[8,4]:t==="twodash"?[2,2,6,2]:t.includes(" ")?t.split(" ").map(e=>+e):t.split("").map(e=>+("0x"+e))}function Rl(t){if(!(t instanceof SVGElement))return null;function e(l){let a=l.childNodes.length;for(;a--;){const c=l.childNodes[a];c.nodeType===Node.COMMENT_NODE?l.removeChild(c):c.nodeType===Node.ELEMENT_NODE&&(e(c),c.getAttribute("style")==""&&c.removeAttribute("style"),c.getAttribute("class")==""&&c.removeAttribute("class"))}}let n=t.cloneNode(!0),i=Array.from(t.querySelectorAll("foreignObject")),r=Array.from(n.querySelectorAll("foreignObject"));for(let l=0;l<i.length;l++){let a=i[l],c=r[l],s=i[l].querySelector("canvas");if(!s)continue;let u=n.ownerDocument.createElementNS("http://www.w3.org/2000/svg","image");u.setAttribute("href",s.toDataURL()),u.setAttribute("x",a.getAttribute("x")),u.setAttribute("y",a.getAttribute("y")),u.setAttribute("width",a.getAttribute("width")),u.setAttribute("height",a.getAttribute("height")),c.parentNode.replaceChild(u,c)}for(let l of n.querySelectorAll(".vvplot-interactive"))l.remove();return e(n),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n.setAttribute("version","1.1"),n.setAttribute("width",t.scrollWidth),n.setAttribute("height",t.scrollHeight),n.setAttribute("viewBox",`0 0 ${t.scrollWidth} ${t.scrollHeight}`),new XMLSerializer().serializeToString(n)}const Ao={axis:{line_width:1,tick_width:1,tick_length:5,label_size:12,title_size:18},axis_h:{title_offset:20},axis_v:{title_offset:30,title_angle:90},axis_left:{tick_position:"left",title_position:"left"},axis_right:{tick_position:"right",title_position:"right"},axis_top:{tick_position:"top",title_position:"top"},axis_bottom:{tick_position:"bottom",title_position:"bottom"},grid:{line_width:1,line_width_major:2},plot:{margin:20,padding_h:50,padding_v:20},legend:{spacing:4},selection:{background:"#00000020"}},So={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"#eeeeee"}},Hl={axis:{line_color:"gray",tick_color:"gray",label_color:"gray",title_color:"gray"},grid:{line_color:"#eeeeee"}},Xl={axis:{tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"white"},plot:{background:"#eeeeee"}},Yl={axis:{tick_color:"#333333",label_color:"#555555",title_color:"black"},grid:{line_color:"#666666"},plot:{background:"#888888"}},zl={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:{line_color:"black",line_width_major:1,line_width_minor:.5}},Ul={axis:{line_color:"black",tick_color:"black",label_color:"black",title_color:"black"},grid:null},Fl={axis:null,grid:null};function Gl(...t){return t.reduce((e,n)=>{for(let i in n)n[i]===null?e[i]=null:e[i]=Tt(e[i],n[i]);return e??void 0},{})}function Wl(t,e=!1){let{axis_h:n,axis_v:i,axis_x:r,axis_y:o,grid_h:l,grid_v:a,grid_x:c,grid_y:s,plot:{margin_x:u,margin_y:m,margin_h:f,margin_v:h,padding_x:y,padding_y:g,padding_h:v,padding_v:b,...M}={},...A}=t;return e?(n=Tt(n,o),i=Tt(i,r),l=Tt(l,c),a=Tt(a,s),M.margin_h=m===void 0?f:m,M.margin_v=u===void 0?h:u,M.padding_h=g===void 0?v:g,M.padding_v=y===void 0?b:y):(n=Tt(n,r),i=Tt(i,o),l=Tt(l,s),a=Tt(a,c),M.margin_h=u===void 0?f:u,M.margin_v=m===void 0?h:m,M.padding_h=y===void 0?v:y,M.padding_v=g===void 0?b:g),{axis_h:n,axis_v:i,grid_h:l,grid_v:a,plot:M,...A}}function _l(t){function e(n){return{line_color_major:["line_color","line_color_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_color_minor:["line_color","line_color_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_major:["line_width","line_width_major"].map(i=>n?.[i]).findLast(i=>i!==void 0),line_width_minor:["line_width","line_width_minor"].map(i=>n?.[i]).findLast(i=>i!==void 0)}}return{axis:{h:Tt(...["axis","axis_h"].map(n=>t?.[n])),v:Tt(...["axis","axis_v"].map(n=>t?.[n])),left:Tt(...["axis","axis_v","axis_left"].map(n=>t?.[n])),right:Tt(...["axis","axis_v","axis_right"].map(n=>t?.[n])),top:Tt(...["axis","axis_h","axis_top"].map(n=>t?.[n])),bottom:Tt(...["axis","axis_h","axis_bottom"].map(n=>t?.[n]))},grid:{h:e(Tt(...["grid","grid_h"].map(n=>t?.[n]))),v:e(Tt(...["grid","grid_v"].map(n=>t?.[n])))},plot:{margin:{left:["margin","margin_h","margin_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["margin","margin_h","margin_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["margin","margin_v","margin_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["margin","margin_v","margin_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},padding:{left:["padding","padding_h","padding_left"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,right:["padding","padding_h","padding_right"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,top:["padding","padding_v","padding_top"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0,bottom:["padding","padding_v","padding_bottom"].map(n=>t?.plot?.[n]).findLast(n=>n!==void 0)??0},background:t?.plot?.background},selection:t?.selection??{},legend:{spacing:t?.legend?.spacing??0}}}const Kl={base:Ao,default:So,light:Hl,classic:Ul,gray:Xl,dark:Yl,linedraw:zl,void:Fl},Zl={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 Ct=Ot.sum;const Ql={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=Ct(e.x?.apply?.(t.x)??t.x,n),o=Ct(r,t.width?.map?.(g=>-g/2)??-.5,n),l=Ct(r,t.width?.map?.(g=>+g/2)??.5,n),a=Ct(t.lwisker,i),c=Ct(t.Q1,i),s=Ct(t.median,i),u=Ct(t.Q3,i),m=Ct(t.uwisker,i),f=Ot.apply((g,{y:v,$raw:b},M)=>Ct(v,M).map((A,L)=>({x:g,y:A,$raw:b[L]})),r,t.outliers??[],i),h=Ct(t.min,i),y=Ct(t.max,i);return{x:r,xmin:o,xmax:l,lwisker:a,Q1:c,median:s,Q3:u,uwisker:m,outliers:f,$xmin:o,$xmax:l,$ymin:h,$ymax:y}}else if(t.y){let r=Ct(e.y?.apply?.(t.y)??t.y,i),o=Ct(r,t.height?.map?.(g=>-g/2)??-.5,i),l=Ct(r,t.height?.map?.(g=>+g/2)??.5,i),a=Ct(t.lwisker,n),c=Ct(t.Q1,n),s=Ct(t.median,n),u=Ct(t.Q3,n),m=Ct(t.uwisker,n),f=Ot.apply((g,{x:v,$raw:b},M)=>Ct(v,M).map((A,L)=>({x:A,y:g,$raw:b[L]})),r,t.outliers??[],n),h=Ct(t.xmin,n),y=Ct(t.xmax,n);return{y:r,ymin:o,ymax:l,lwisker:a,Q1:c,median:s,Q3:u,uwisker:m,outliers:f,$xmin:h,$xmax:y,$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}},Jl={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(a=>{let c=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[a.x]??a.x)+c,y:+(e?.y?.[a.y]??a.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let Ge=Ot.sum;const ta={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,a=Ge(e.x?.apply?.(t.cx)??t.cx,o),c=Ge(e.y?.apply?.(t.cy)??t.cy,l);return{cx:a,cy:c,A:n,B:i,C:r}},get_range(t,e){if(e=="x"){let n=Ot.apply((i,r,o)=>Math.sqrt(o/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Ge(t.cx??[],n).concat(Ge(t.cx??[],Ot.opposite(n))??[])}if(e=="y"){let n=Ot.apply((i,r,o)=>Math.sqrt(i/(i*o-r*r)),t.A??[],t.B??[],t.C??[]);return Ge(t.cy??[],n).concat(Ge(t.cy??[],Ot.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 O1=Ot.sum;const ea={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=O1(e.x?.apply?.(t.x)??t.x,n),o=O1(e.y?.apply?.(t.y)??t.y,i),l=O1(e.x?.apply?.(t.xend)??t.xend,n),a=O1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:a}},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 ur=Ot.sum;const na={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=ur(e.x?.apply?.(t.x)??t.x,n),o=ur(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 j1=Ot.sum;const ia={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=j1(e.x?.apply?.(t.x)??t.x,n),o=j1(e.y?.apply?.(t.y)??t.y,i),l=j1(e.x?.apply?.(t.xend)??t.xend,n),a=j1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:a}},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 hr=Ot.sum;const ra={scale_attrs:["shape","size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=hr(e.x?.apply?.(t.x)??t.x,n),o=hr(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}},oa={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(a=>{let c=n?.[l]??0,s=i?.[l]??0;return{x:+(e?.x?.[a.x]??a.x)+c,y:+(e?.y?.[a.y]??a.y)+s}}))}},get_range(t,e){if(e=="x")return(t.points??[]).flatMap(n=>n.map(i=>i.x));if(e=="y")return(t.points??[]).flatMap(n=>n.map(i=>i.y))},validate(t){return Array.isArray(t.points)?t:null}};let P1=Ot.sum;const sa={scale_attrs:["fill","color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=P1(e.x?.apply?.(t.xmin)??t.xmin,n),o=P1(e.x?.apply?.(t.xmax)??t.xmax,n),l=P1(e.y?.apply?.(t.ymin)??t.ymin,i),a=P1(e.y?.apply?.(t.ymax)??t.ymax,i);return{xmin:r,xmax:o,ymin:l,ymax:a}},get_range(t,e){if(e=="x")return(t.xmin??[]).concat(t.xmax??[]);if(e=="y")return(t.ymin??[]).concat(t.ymax??[])},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}};let We=Ot.sum;const la={scale_attrs:["color","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=We(e.x?.apply?.(t.x)??t.x,n),o=We(e.y?.apply?.(t.y)??t.y,i),l=We(r,t.dx),a=We(o,t.dy);return{x:r,y:o,xend:l,yend: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.x??[]).concat(We(t.x??[],t.dx??0)??[]);if(e=="y")return(t.y??[]).concat(We(t.y??[],t.dy??0)??[])},validate(t){return isNaN(t.x)||isNaN(t.y)||isNaN(t.xend)||isNaN(t.yend)?null:t}};let fr=Ot.sum;const aa={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=fr(e.x?.apply?.(t.x)??t.x,n),o=fr(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 D1=Ot.sum;const ca={scale_attrs:["size","color","stroke","linewidth","linetype","alpha"],coord_scale(t,e){let n=t.xnudge??0,i=t.ynudge??0,r=D1(e.x?.apply?.(t.x)??t.x,n),o=D1(e.y?.apply?.(t.y)??t.y,i),l=D1(e.x?.apply?.(t.xend)??t.xend,n),a=D1(e.y?.apply?.(t.yend)??t.yend,i);return{x:r,y:o,xend:l,yend:a}},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 q1=Ot.sum;const ua={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=q1(r,t.width?.map?.(u=>-u/2)??-.5,n),a=q1(r,t.width?.map?.(u=>+u/2)??.5,n),c=q1(o,t.height?.map?.(u=>-u/2)??-.5,i),s=q1(o,t.height?.map?.(u=>+u/2)??.5,i);return{xmin:l,xmax:a,ymin:c,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=Ot.apply((r,o)=>+r-o/2,t.x??[],t.width??[]),i=Ot.apply((r,o)=>+r+o/2,t.x??[],t.width??[]);return n.concat(i)}if(e=="y"){let n=Ot.apply((r,o)=>+r-o/2,t.y??[],t.height??[]),i=Ot.apply((r,o)=>+r+o/2,t.y??[],t.height??[]);return n.concat(i)}},validate(t){return isNaN(t.xmin)||isNaN(t.ymin)||isNaN(t.xmax)||isNaN(t.ymax)?null:t}},Le=Object.freeze(Object.defineProperty({__proto__:null,blank:Zl,boxplot:Ql,curve:Jl,ellipse:ta,line:ea,markdown:na,markdownsegment:ia,point:ra,polygon:oa,rect:sa,stick:la,text:aa,textsegment:ca,tile:ua},Symbol.toStringTag,{value:"Module"})),ha=Object.assign(function(t){if(t.x!=null&&t.y!=null)throw new Error('"StatBar" only supports "x" or "y", not both');let e=t.x??t.y;if(e==null)throw new Error('Missing aesthetics for "StatBar": "x" or "y"');if(e.some(s=>typeof s=="number"))throw new Error('"StatBar" requires a discrete aesthetic');let n=Object.keys(t).filter(s=>!["x","y"].includes(s)&&!s.startsWith("$")),i=Jt(Object.fromEntries(n.map(s=>[s,t[s]]))),r=Jt({group:i??0,value:e}),o=Map.groupBy(t.$raw,(s,u)=>r.categories[r[u]]),l=Array.from(o.values()),a=Array.from(o.keys()),c={$raw:l,count:l.map(s=>s.length),$group:a.map(s=>s.group),value:a.map(s=>s.value)};for(let s of n)c[s]=a.map(u=>u.group).map(u=>i.categories[u][s]);return t.x?(({value:s,count:u,...m})=>({x:s,y:u.map(f=>f/2),height:u,...m}))(c):(({value:s,count:u,...m})=>({y:s,x:u.map(f=>f/2),width:u,...m}))(c)},{core_attrs:["x","y","xnudge","ynudge"]}),fa=Object.assign(function(t,{}){let e=["x","y"].filter(p=>t[p]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatBoxplot": "${e.join('", "')}"`);let n=t.x.some(p=>typeof p!="number"),i=t.y.some(p=>typeof p!="number");if(n&&i)throw new Error('Both "x" and "y" are discrete, "StatBoxplot" requires one continuous and one discrete aesthetic');if(!n&&!i)throw new Error('Both "x" and "y" are continuous, "StatBoxplot" requires one continuous and one discrete aesthetic');let[r,o]=n?["y","x"]:["x","y"],l=Object.keys(t).filter(p=>p!=r&&!p.startsWith("$")),a=Jt(Object.fromEntries(l.map(p=>[p,t[p]]))),c=Jt({group:a??0,cate:t[o]}),s=Map.groupBy(c.map((p,d)=>d),(p,d)=>c.categories[c[d]]),u=Array.from(s.keys()),m=Array.from(s.values()).map(p=>p.map(d=>t.$raw[d])),f=Array.from(s.values()).map(p=>p.map(d=>t[r][d])),h=f.map(p=>Yt.min(p)),y=f.map(p=>Yt.quantile(p,.25)),g=f.map(p=>Yt.quantile(p,.5)),v=f.map(p=>Yt.quantile(p,.75)),b=f.map(p=>Yt.max(p)),M=f.map((p,d)=>v[d]-y[d]),A=f.map((p,d)=>Math.max(h[d],y[d]-1.5*M[d])),L=f.map((p,d)=>Math.min(b[d],v[d]+1.5*M[d])),j=Array.from(s.values()).map((p,d)=>{let w=p.filter(k=>t[r][k]<A[d]||t[r][k]>L[d]);return{[r]:w.map(k=>t[r][k]),$raw:w.map(k=>t.$raw[k])}}),D={$raw:m,$group:u.map(p=>p.group),min:h,lwisker:A,Q1:y,median:g,Q3:v,uwisker:L,max:b,outliers:j};for(let p of l)D[p]=u.map(d=>d.group).map(d=>a.categories[d][p]);return D},{core_attrs:["x","y","xnudge","ynudge"]}),ma=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=Jt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Jt({group:i??new Array(t.x.length).fill(0)}).map((u,m,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,m)=>r[m]),l=Array.from(o.values()),a=Array.from(o.keys()),c=Array.from(Map.groupBy(yi({x:t.x,y:t.y}),(u,m)=>r[m]).values()),s={$raw:l,points:c};for(let u of n)s[u]=a.map(m=>m.group).map(m=>i.categories[m][u]);return s},{core_attrs:["x","y","xnudge","ynudge"]}),da=Object.assign(function(t,{n:e=512,kernel:n="gaussian"}={}){if(t.x!=null&&t.y!=null)throw new Error('"StatDensity" only supports "x" or "y", not both');let i=t.x??t.y;if(i==null)throw new Error('Missing aesthetics for "StatDensity": "x" or "y"');if(i.some(h=>typeof h!="number"))throw new Error('"StatDensity" requires a continuous aesthetic');if(n=mr[n],!n)throw new Error(`kernel must be one of ${Object.keys(mr).map(h=>`"${h}"`).join(", ")}`);let r=Object.keys(t).filter(h=>!["x","y"].includes(h)&&!h.startsWith("$")),o=Jt(Object.fromEntries(r.map(h=>[h,t[h]]))),l=Jt({group:o??new Array(i.length).fill(0)}).map((h,y,g)=>g.categories[h]),a=Map.groupBy(t.$raw,(h,y)=>l[y]),c=Array.from(a.values()),s=Array.from(a.keys()),u=Array.from(Map.groupBy(i,(h,y)=>l[y]).values()),m={$raw:c,$group:s.map(h=>h.group)},f=u.map(h=>{let y=ya.nrd0(h),{min:g,max:v}=Yt.extent(h);g-=3*y,v+=3*y;let b=(v-g)/(e-1);return Array.from({length:e},(A,L)=>g+L*b).map(A=>[A,Yt.mean(h.map(L=>n((A-L)/y)))/y])});for(let h of r)m[h]=s.map(y=>o.categories[y.group][h]);return t.x?m.points=f.map(h=>h.map(([y,g])=>({x:y,y:g}))):m.points=f.map(h=>h.map(([y,g])=>({x:g,y}))),m},{core_attrs:["x","y","xnudge","ynudge"]}),ya={nrd0:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Yt.sd(t),n=Yt.quantile(t,.75)-Yt.quantile(t,.25);return .9*(Math.min(e,n/1.34)||1)*t.length**-.2},nrd:function(t){t=t.filter(r=>(typeof r=="number"||r instanceof Date)&&isFinite(r));let e=Yt.sd(t),n=Yt.quantile(t,.75)-Yt.quantile(t,.25);return 1.06*(Math.min(e,n/1.34)||1)*t.length**-.2}},mr={uniform:t=>Math.abs(t)<=1?.5:0,triangular:t=>Math.abs(t)<=1?1-Math.abs(t):0,epanechnikov:t=>Math.abs(t)<=1?.75*(1-t**2):0,biweight:t=>Math.abs(t)<=1?15/16*(1-t**2)**2:0,triweight:t=>Math.abs(t)<=1?35/32*(1-t**2)**3:0,tricube:t=>Math.abs(t)<=1?70/81*(1-Math.abs(t)**3)**3:0,gaussian:t=>Math.exp(-.5*t**2)/Math.sqrt(2*Math.PI),cosine:t=>Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0,logistic:t=>1/Math.cosh(t)**2/Math.PI,sigmoid:t=>2/(Math.exp(t)+Math.exp(-t))**2/Math.PI},ga=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=Jt(Object.fromEntries(i.map(f=>[f,t[f]]))),o=Jt({group:r??new Array(t.x.length).fill(0)}).map((f,h,y)=>y.categories[f]),l=Map.groupBy(t.$raw,(f,h)=>o[h]),a=Array.from(l.values()),c=Array.from(l.keys()),s=-2*Math.log(1-e),u=Array.from(Map.groupBy(yi({x:t.x,y:t.y}),(f,h)=>o[h]).values()).map(f=>{const h=f.length;let y=f.reduce((L,j)=>L+j.x,0)/h,g=f.reduce((L,j)=>L+j.y,0)/h;if(h<2)return{};let v=f.reduce((L,j)=>L+(j.x-y)**2,0)/(h-1),b=f.reduce((L,j)=>L+(j.x-y)*(j.y-g),0)/(h-1),M=f.reduce((L,j)=>L+(j.y-g)**2,0)/(h-1),A=(v*M-b*b)*s;return{cx:y,cy:g,A:M/A,B:-b/A,C:v/A}}),m={$raw:a,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)m[f]=c.map(h=>h.group).map(h=>r.categories[h][f]);return m},{core_attrs:["x","y","xnudge","ynudge"]}),xa=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}=Yt.extent(r);n||(n=(h-f)/(e-1)),i=Array.from({length:e+1},(y,g)=>f+(g-.5)*n)}e=i.length-1;let o=Object.keys(t).filter(f=>!["x","y"].includes(f)&&!f.startsWith("$")),l=Jt(Object.fromEntries(o.map(f=>[f,t[f]]))),a=Jt({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,y)=>y.categories[f]),c=Map.groupBy(t.$raw,(f,h)=>a[h]),s=Array.from(c.values()),u=Array.from(c.keys()),m={$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)m[f]=u.map(h=>l.categories[h.group][f]);return t.x?(({upper:f,lower:h,count:y,ymin:g=s.map(()=>0),...v})=>({xmin:f,xmax:h,ymin:g,ymax:y,...v}))(m):(({upper:f,lower:h,count:y,xmin:g=s.map(()=>0),...v})=>({xmin:g,xmax:y,ymin:f,ymax:h,...v}))(m)},{core_attrs:["x","y","xnudge","ynudge"]}),va=Object.assign(function(t){return t},{core_attrs:["x","y","xnudge","ynudge"]}),pa=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,m)=>(s[u]??=[],s[u].push(m),s),{})).map(s=>s.map((u,m)=>[t[e][u],m]).sort((u,m)=>u[0]-m[0]).map((u,m)=>s[u[1]])),l=o.map(s=>s.slice(0,-1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),a=o.map(s=>s.slice(1).concat(NaN)).reduce((s,u)=>s.concat(u),[]).filter(s=>!isNaN(s)),c={};for(let s in t)c[s]=l.map(u=>t[s][u]);return c.xend=a.map(s=>t.x[s]),c.yend=a.map(s=>t.y[s]),c},{core_attrs:["x","y","xnudge","ynudge"]}),ba=Object.assign(function(t){if(t.x!=null){let e=["x","ymin","ymax"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatLinerange": "${e.join('", "')}"`);return(({x:n,ymin: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"]}),wa=Object.assign(function(t){let e=["x","y"].filter(c=>t[c]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatPath": "${e.join('", "')}"`);let n=t.group??new Array(t.x.length).fill(null),r=Object.values(n.reduce((c,s,u)=>(c[s]??=[],c[s].push(u),c),{})).map(c=>c.map((s,u)=>c[u])),o=r.map(c=>c.slice(0,-1).concat(NaN)).reduce((c,s)=>c.concat(s),[]).filter(c=>!isNaN(c)),l=r.map(c=>c.slice(1).concat(NaN)).reduce((c,s)=>c.concat(s),[]).filter(c=>!isNaN(c)),a={};for(let c in t)a[c]=o.map(s=>t[c][s]);return a.xend=l.map(c=>t.x[c]),a.yend=l.map(c=>t.y[c]),a},{core_attrs:["x","y","xnudge","ynudge"]}),ka=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"]}),Aa=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=Jt(Object.fromEntries(n.map(u=>[u,t[u]]))),r=Jt({group:i??new Array(t.x.length).fill(0)}).map((u,m,f)=>f.categories[u]),o=Map.groupBy(t.$raw,(u,m)=>r[m]),l=Array.from(o.values()),a=Array.from(o.keys()),c=Array.from(Map.groupBy(yi({x:t.x,y:t.y}),(u,m)=>r[m]).values()),s={$raw:l,points:c};for(let u of n)s[u]=a.map(m=>m.group).map(m=>i.categories[m][u]);return s},{core_attrs:["points","xnudge","ynudge"]}),Sa=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"]}),Na=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"]}),Ca=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"]}),Ma=Object.assign(function(t){let e=["x","y","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatText": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xnudge","ynudge","label","text-length"]}),Ta=Object.assign(function(t){t.xend==null&&(t.xend=t.x),t.yend==null&&(t.yend=t.y);let e=["x","y","xend","yend","label"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTextsegment": "${e.join('", "')}"`);return t},{core_attrs:["x","y","xend","yend","xnudge","ynudge","label"]}),$a=Object.assign(function(t){t.width==null&&t.x.some(n=>typeof n=="string")&&(t.width=Array(t.x.length).fill(1)),t.height==null&&t.y.some(n=>typeof n=="string")&&(t.height=Array(t.y.length).fill(1));let e=["x","y","width","height"].filter(n=>t[n]==null);if(e.length>0)throw new Error(`Missing aesthetics for "StatTile": "${e.join('", "')}"`);return t},{core_attrs:["x","y","width","height","xnudge","ynudge"]}),Ea=Object.freeze(Object.defineProperty({__proto__:null,bar:ha,boxplot:fa,curve:ma,density:da,ellipse:ga,histogram:xa,identity:va,line:pa,linerange:ba,path:wa,point:ka,polygon:Aa,rect:Sa,segment:Na,stick:Ca,text:Ma,textsegment:Ta,tile:$a},Symbol.toStringTag,{value:"Module"}));function F1(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function La(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function No(t){let e,n,i;t.length!==2?(e=F1,n=(a,c)=>F1(t(a),c),i=(a,c)=>t(a)-c):(e=t===F1||t===La?t:Oa,n=t,i=t);function r(a,c,s=0,u=a.length){if(s<u){if(e(c,c)!==0)return u;do{const m=s+u>>>1;n(a[m],c)<0?s=m+1:u=m}while(s<u)}return s}function o(a,c,s=0,u=a.length){if(s<u){if(e(c,c)!==0)return u;do{const m=s+u>>>1;n(a[m],c)<=0?s=m+1:u=m}while(s<u)}return s}function l(a,c,s=0,u=a.length){const m=r(a,c,s,u-1);return m>s&&i(a[m-1],c)>-i(a[m],c)?m-1:m}return{left:r,center:l,right:o}}function Oa(){return 0}function ja(t){return t===null?NaN:+t}const Pa=No(F1),Da=Pa.right;No(ja).center;const qa=Math.sqrt(50),Va=Math.sqrt(10),Ba=Math.sqrt(2);function tn(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>=qa?10:o>=Va?5:o>=Ba?2:1;let a,c,s;return r<0?(s=Math.pow(10,-r)/l,a=Math.round(t*s),c=Math.round(e*s),a/s<t&&++a,c/s>e&&--c,s=-s):(s=Math.pow(10,r)*l,a=Math.round(t/s),c=Math.round(e/s),a*s<t&&++a,c*s>e&&--c),c<a&&.5<=n&&n<2?tn(t,e,n*2):[a,c,s]}function Ia(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?tn(e,t,n):tn(t,e,n);if(!(o>=r))return[];const a=o-r+1,c=new Array(a);if(i)if(l<0)for(let s=0;s<a;++s)c[s]=(o-s)/-l;else for(let s=0;s<a;++s)c[s]=(o-s)*l;else if(l<0)for(let s=0;s<a;++s)c[s]=(r+s)/-l;else for(let s=0;s<a;++s)c[s]=(r+s)*l;return c}function Gn(t,e,n){return e=+e,t=+t,n=+n,tn(t,e,n)[2]}function Ra(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?Gn(e,t,n):Gn(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}var Ha={value:()=>{}};function Co(){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 G1(n)}function G1(t){this._=t}function Xa(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}})}G1.prototype=Co.prototype={constructor:G1,on:function(t,e){var n=this._,i=Xa(t+"",n),r,o=-1,l=i.length;if(arguments.length<2){for(;++o<l;)if((r=(t=i[o]).type)&&(r=Ya(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]=dr(n[r],t.name,e);else if(e==null)for(r in n)n[r]=dr(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 G1(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 Ya(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function dr(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Ha,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var Wn="http://www.w3.org/1999/xhtml";const yr={svg:"http://www.w3.org/2000/svg",xhtml:Wn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function An(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),yr.hasOwnProperty(e)?{space:yr[e],local:t}:t}function za(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Wn&&e.documentElement.namespaceURI===Wn?e.createElement(t):e.createElementNS(n,t)}}function Ua(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Mo(t){var e=An(t);return(e.local?Ua:za)(e)}function Fa(){}function gi(t){return t==null?Fa:function(){return this.querySelector(t)}}function Ga(t){typeof t!="function"&&(t=gi(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,a=i[r]=new Array(l),c,s,u=0;u<l;++u)(c=o[u])&&(s=t.call(c,c.__data__,u,o))&&("__data__"in c&&(s.__data__=c.__data__),a[u]=s);return new ae(i,this._parents)}function Wa(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function _a(){return[]}function To(t){return t==null?_a:function(){return this.querySelectorAll(t)}}function Ka(t){return function(){return Wa(t.apply(this,arguments))}}function Za(t){typeof t=="function"?t=Ka(t):t=To(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var l=e[o],a=l.length,c,s=0;s<a;++s)(c=l[s])&&(i.push(t.call(c,c.__data__,s,l)),r.push(c));return new ae(i,r)}function $o(t){return function(){return this.matches(t)}}function Eo(t){return function(e){return e.matches(t)}}var Qa=Array.prototype.find;function Ja(t){return function(){return Qa.call(this.children,t)}}function tc(){return this.firstElementChild}function ec(t){return this.select(t==null?tc:Ja(typeof t=="function"?t:Eo(t)))}var nc=Array.prototype.filter;function ic(){return Array.from(this.children)}function rc(t){return function(){return nc.call(this.children,t)}}function oc(t){return this.selectAll(t==null?ic:rc(typeof t=="function"?t:Eo(t)))}function sc(t){typeof t!="function"&&(t=$o(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,a=i[r]=[],c,s=0;s<l;++s)(c=o[s])&&t.call(c,c.__data__,s,o)&&a.push(c);return new ae(i,this._parents)}function Lo(t){return new Array(t.length)}function lc(){return new ae(this._enter||this._groups.map(Lo),this._parents)}function en(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}en.prototype={constructor:en,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function ac(t){return function(){return t}}function cc(t,e,n,i,r,o){for(var l=0,a,c=e.length,s=o.length;l<s;++l)(a=e[l])?(a.__data__=o[l],i[l]=a):n[l]=new en(t,o[l]);for(;l<c;++l)(a=e[l])&&(r[l]=a)}function uc(t,e,n,i,r,o,l){var a,c,s=new Map,u=e.length,m=o.length,f=new Array(u),h;for(a=0;a<u;++a)(c=e[a])&&(f[a]=h=l.call(c,c.__data__,a,e)+"",s.has(h)?r[a]=c:s.set(h,c));for(a=0;a<m;++a)h=l.call(t,o[a],a,o)+"",(c=s.get(h))?(i[a]=c,c.__data__=o[a],s.delete(h)):n[a]=new en(t,o[a]);for(a=0;a<u;++a)(c=e[a])&&s.get(f[a])===c&&(r[a]=c)}function hc(t){return t.__data__}function fc(t,e){if(!arguments.length)return Array.from(this,hc);var n=e?uc:cc,i=this._parents,r=this._groups;typeof t!="function"&&(t=ac(t));for(var o=r.length,l=new Array(o),a=new Array(o),c=new Array(o),s=0;s<o;++s){var u=i[s],m=r[s],f=m.length,h=mc(t.call(u,u&&u.__data__,s,i)),y=h.length,g=a[s]=new Array(y),v=l[s]=new Array(y),b=c[s]=new Array(f);n(u,m,g,v,b,h,e);for(var M=0,A=0,L,j;M<y;++M)if(L=g[M]){for(M>=A&&(A=M+1);!(j=v[A])&&++A<y;);L._next=j||null}}return l=new ae(l,i),l._enter=a,l._exit=c,l}function mc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function dc(){return new ae(this._exit||this._groups.map(Lo),this._parents)}function yc(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function gc(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,l=Math.min(r,o),a=new Array(r),c=0;c<l;++c)for(var s=n[c],u=i[c],m=s.length,f=a[c]=new Array(m),h,y=0;y<m;++y)(h=s[y]||u[y])&&(f[y]=h);for(;c<r;++c)a[c]=n[c];return new ae(a,this._parents)}function xc(){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 vc(t){t||(t=pc);function e(m,f){return m&&f?t(m.__data__,f.__data__):!m-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var l=n[o],a=l.length,c=r[o]=new Array(a),s,u=0;u<a;++u)(s=l[u])&&(c[u]=s);c.sort(e)}return new ae(r,this._parents).order()}function pc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function bc(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function wc(){return Array.from(this)}function kc(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var l=i[r];if(l)return l}return null}function Ac(){let t=0;for(const e of this)++t;return t}function Sc(){return!this.node()}function Nc(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,l=r.length,a;o<l;++o)(a=r[o])&&t.call(a,a.__data__,o,r);return this}function Cc(t){return function(){this.removeAttribute(t)}}function Mc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tc(t,e){return function(){this.setAttribute(t,e)}}function $c(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ec(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function Lc(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 Oc(t,e){var n=An(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?Mc:Cc:typeof e=="function"?n.local?Lc:Ec:n.local?$c:Tc)(n,e))}function Oo(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function jc(t){return function(){this.style.removeProperty(t)}}function Pc(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Dc(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function qc(t,e,n){return arguments.length>1?this.each((e==null?jc:typeof e=="function"?Dc:Pc)(t,e,n??"")):s1(this.node(),t)}function s1(t,e){return t.style.getPropertyValue(e)||Oo(t).getComputedStyle(t,null).getPropertyValue(e)}function Vc(t){return function(){delete this[t]}}function Bc(t,e){return function(){this[t]=e}}function Ic(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Rc(t,e){return arguments.length>1?this.each((e==null?Vc:typeof e=="function"?Ic:Bc)(t,e)):this.node()[t]}function jo(t){return t.trim().split(/^|\s+/)}function xi(t){return t.classList||new Po(t)}function Po(t){this._node=t,this._names=jo(t.getAttribute("class")||"")}Po.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 Do(t,e){for(var n=xi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function qo(t,e){for(var n=xi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Hc(t){return function(){Do(this,t)}}function Xc(t){return function(){qo(this,t)}}function Yc(t,e){return function(){(e.apply(this,arguments)?Do:qo)(this,t)}}function zc(t,e){var n=jo(t+"");if(arguments.length<2){for(var i=xi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?Yc:e?Hc:Xc)(n,e))}function Uc(){this.textContent=""}function Fc(t){return function(){this.textContent=t}}function Gc(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Wc(t){return arguments.length?this.each(t==null?Uc:(typeof t=="function"?Gc:Fc)(t)):this.node().textContent}function _c(){this.innerHTML=""}function Kc(t){return function(){this.innerHTML=t}}function Zc(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Qc(t){return arguments.length?this.each(t==null?_c:(typeof t=="function"?Zc:Kc)(t)):this.node().innerHTML}function Jc(){this.nextSibling&&this.parentNode.appendChild(this)}function t0(){return this.each(Jc)}function e0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function n0(){return this.each(e0)}function i0(t){var e=typeof t=="function"?t:Mo(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function r0(){return null}function o0(t,e){var n=typeof t=="function"?t:Mo(t),i=e==null?r0:typeof e=="function"?e:gi(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function s0(){var t=this.parentNode;t&&t.removeChild(this)}function l0(){return this.each(s0)}function a0(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function c0(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function u0(t){return this.select(t?c0:a0)}function h0(t){return arguments.length?this.property("__data__",t):this.node().__data__}function f0(t){return function(e){t.call(this,e,this.__data__)}}function m0(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function d0(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 y0(t,e,n){return function(){var i=this.__on,r,o=f0(e);if(i){for(var l=0,a=i.length;l<a;++l)if((r=i[l]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function g0(t,e,n){var i=m0(t+""),r,o=i.length,l;if(arguments.length<2){var a=this.node().__on;if(a){for(var c=0,s=a.length,u;c<s;++c)for(r=0,u=a[c];r<o;++r)if((l=i[r]).type===u.type&&l.name===u.name)return u.value}return}for(a=e?y0:d0,r=0;r<o;++r)this.each(a(i[r],e,n));return this}function Vo(t,e,n){var i=Oo(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 x0(t,e){return function(){return Vo(this,t,e)}}function v0(t,e){return function(){return Vo(this,t,e.apply(this,arguments))}}function p0(t,e){return this.each((typeof e=="function"?v0:x0)(t,e))}function*b0(){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 w0=[null];function ae(t,e){this._groups=t,this._parents=e}function M1(){return new ae([[document.documentElement]],w0)}function k0(){return this}ae.prototype=M1.prototype={constructor:ae,select:Ga,selectAll:Za,selectChild:ec,selectChildren:oc,filter:sc,data:fc,enter:lc,exit:dc,join:yc,merge:gc,selection:k0,order:xc,sort:vc,call:bc,nodes:wc,node:kc,size:Ac,empty:Sc,each:Nc,attr:Oc,style:qc,property:Rc,classed:zc,text:Wc,html:Qc,raise:t0,lower:n0,append:i0,insert:o0,remove:l0,clone:u0,datum:h0,on:g0,dispatch:p0,[Symbol.iterator]:b0};function T1(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Sn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function ze(){}var b1=.7,nn=1/b1,n1="\\s*([+-]?\\d+)\\s*",w1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A0=/^#([0-9a-f]{3,8})$/,S0=new RegExp(`^rgb\\(${n1},${n1},${n1}\\)$`),N0=new RegExp(`^rgb\\(${me},${me},${me}\\)$`),C0=new RegExp(`^rgba\\(${n1},${n1},${n1},${w1}\\)$`),M0=new RegExp(`^rgba\\(${me},${me},${me},${w1}\\)$`),T0=new RegExp(`^hsl\\(${w1},${me},${me}\\)$`),$0=new RegExp(`^hsla\\(${w1},${me},${me},${w1}\\)$`),gr={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};T1(ze,Re,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:xr,formatHex:xr,formatHex8:E0,formatHsl:L0,formatRgb:vr,toString:vr});function xr(){return this.rgb().formatHex()}function E0(){return this.rgb().formatHex8()}function L0(){return Io(this).formatHsl()}function vr(){return this.rgb().formatRgb()}function Re(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=A0.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?pr(e):n===3?new Wt(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?V1(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?V1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=S0.exec(t))?new Wt(e[1],e[2],e[3],1):(e=N0.exec(t))?new Wt(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=C0.exec(t))?V1(e[1],e[2],e[3],e[4]):(e=M0.exec(t))?V1(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=T0.exec(t))?kr(e[1],e[2]/100,e[3]/100,1):(e=$0.exec(t))?kr(e[1],e[2]/100,e[3]/100,e[4]):gr.hasOwnProperty(t)?pr(gr[t]):t==="transparent"?new Wt(NaN,NaN,NaN,0):null}function pr(t){return new Wt(t>>16&255,t>>8&255,t&255,1)}function V1(t,e,n,i){return i<=0&&(t=e=n=NaN),new Wt(t,e,n,i)}function Bo(t){return t instanceof ze||(t=Re(t)),t?(t=t.rgb(),new Wt(t.r,t.g,t.b,t.opacity)):new Wt}function _n(t,e,n,i){return arguments.length===1?Bo(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}T1(Wt,_n,Sn(ze,{brighter(t){return t=t==null?nn:Math.pow(nn,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?b1:Math.pow(b1,t),new Wt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Wt(Ie(this.r),Ie(this.g),Ie(this.b),rn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:br,formatHex:br,formatHex8:O0,formatRgb:wr,toString:wr}));function br(){return`#${Be(this.r)}${Be(this.g)}${Be(this.b)}`}function O0(){return`#${Be(this.r)}${Be(this.g)}${Be(this.b)}${Be((isNaN(this.opacity)?1:this.opacity)*255)}`}function wr(){const t=rn(this.opacity);return`${t===1?"rgb(":"rgba("}${Ie(this.r)}, ${Ie(this.g)}, ${Ie(this.b)}${t===1?")":`, ${t})`}`}function rn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ie(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Be(t){return t=Ie(t),(t<16?"0":"")+t.toString(16)}function kr(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new le(t,e,n,i)}function Io(t){if(t instanceof le)return new le(t.h,t.s,t.l,t.opacity);if(t instanceof ze||(t=Re(t)),!t)return new le;if(t instanceof le)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,a=o-r,c=(o+r)/2;return a?(e===o?l=(n-i)/a+(n<i)*6:n===o?l=(i-e)/a+2:l=(e-n)/a+4,a/=c<.5?o+r:2-o-r,l*=60):a=c>0&&c<1?0:l,new le(l,a,c,t.opacity)}function j0(t,e,n,i){return arguments.length===1?Io(t):new le(t,e,n,i??1)}function le(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}T1(le,j0,Sn(ze,{brighter(t){return t=t==null?nn:Math.pow(nn,t),new le(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?b1:Math.pow(b1,t),new le(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(On(t>=240?t-240:t+120,r,i),On(t,r,i),On(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new le(Ar(this.h),B1(this.s),B1(this.l),rn(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=rn(this.opacity);return`${t===1?"hsl(":"hsla("}${Ar(this.h)}, ${B1(this.s)*100}%, ${B1(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ar(t){return t=(t||0)%360,t<0?t+360:t}function B1(t){return Math.max(0,Math.min(1,t||0))}function On(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 P0=Math.PI/180,D0=180/Math.PI,on=18,Ro=.96422,Ho=1,Xo=.82521,Yo=4/29,i1=6/29,zo=3*i1*i1,q0=i1*i1*i1;function Uo(t){if(t instanceof de)return new de(t.l,t.a,t.b,t.opacity);if(t instanceof Ae)return Go(t);t instanceof Wt||(t=Bo(t));var e=qn(t.r),n=qn(t.g),i=qn(t.b),r=jn((.2225045*e+.7168786*n+.0606169*i)/Ho),o,l;return e===n&&n===i?o=l=r:(o=jn((.4360747*e+.3850649*n+.1430804*i)/Ro),l=jn((.0139322*e+.0971045*n+.7141733*i)/Xo)),new de(116*r-16,500*(o-r),200*(r-l),t.opacity)}function Kn(t,e,n,i){return arguments.length===1?Uo(t):new de(t,e,n,i??1)}function de(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}T1(de,Kn,Sn(ze,{brighter(t){return new de(this.l+on*(t??1),this.a,this.b,this.opacity)},darker(t){return new de(this.l-on*(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=Ro*Pn(e),t=Ho*Pn(t),n=Xo*Pn(n),new Wt(Dn(3.1338561*e-1.6168667*t-.4906146*n),Dn(-.9787684*e+1.9161415*t+.033454*n),Dn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function jn(t){return t>q0?Math.pow(t,1/3):t/zo+Yo}function Pn(t){return t>i1?t*t*t:zo*(t-Yo)}function Dn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function qn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function V0(t){if(t instanceof Ae)return new Ae(t.h,t.c,t.l,t.opacity);if(t instanceof de||(t=Uo(t)),t.a===0&&t.b===0)return new Ae(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*D0;return new Ae(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Fo(t,e,n,i){return arguments.length===1?V0(t):new Ae(t,e,n,i??1)}function Ae(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function Go(t){if(isNaN(t.h))return new de(t.l,0,0,t.opacity);var e=t.h*P0;return new de(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}T1(Ae,Fo,Sn(ze,{brighter(t){return new Ae(this.h,this.c,this.l+on*(t??1),this.opacity)},darker(t){return new Ae(this.h,this.c,this.l-on*(t??1),this.opacity)},rgb(){return Go(this).rgb()}}));const vi=t=>()=>t;function B0(t,e){return function(n){return t+n*e}}function I0(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 R0(t){return(t=+t)==1?Qe:function(e,n){return n-e?I0(e,n,t):vi(isNaN(e)?n:e)}}function Qe(t,e){var n=e-t;return n?B0(t,n):vi(isNaN(t)?e:t)}const sn=(function t(e){var n=R0(e);function i(r,o){var l=n((r=_n(r)).r,(o=_n(o)).r),a=n(r.g,o.g),c=n(r.b,o.b),s=Qe(r.opacity,o.opacity);return function(u){return r.r=l(u),r.g=a(u),r.b=c(u),r.opacity=s(u),r+""}}return i.gamma=t,i})(1);function H0(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 X0(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Y0(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]=pi(t[l],e[l]);for(;l<n;++l)o[l]=e[l];return function(a){for(l=0;l<i;++l)o[l]=r[l](a);return o}}function z0(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function se(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function U0(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]=pi(t[r],e[r]):i[r]=e[r];return function(o){for(r in n)i[r]=n[r](o);return i}}var Zn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Vn=new RegExp(Zn.source,"g");function F0(t){return function(){return t}}function G0(t){return function(e){return t(e)+""}}function Wo(t,e){var n=Zn.lastIndex=Vn.lastIndex=0,i,r,o,l=-1,a=[],c=[];for(t=t+"",e=e+"";(i=Zn.exec(t))&&(r=Vn.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),a[l]?a[l]+=o:a[++l]=o),(i=i[0])===(r=r[0])?a[l]?a[l]+=r:a[++l]=r:(a[++l]=null,c.push({i:l,x:se(i,r)})),n=Vn.lastIndex;return n<e.length&&(o=e.slice(n),a[l]?a[l]+=o:a[++l]=o),a.length<2?c[0]?G0(c[0].x):F0(e):(e=c.length,function(s){for(var u=0,m;u<e;++u)a[(m=c[u]).i]=m.x(s);return a.join("")})}function pi(t,e){var n=typeof e,i;return e==null||n==="boolean"?vi(e):(n==="number"?se:n==="string"?(i=Re(e))?(e=i,sn):Wo:e instanceof Re?sn:e instanceof Date?z0:X0(e)?H0:Array.isArray(e)?Y0:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?U0:se)(t,e)}function W0(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Sr=180/Math.PI,Qn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _o(t,e,n,i,r,o){var l,a,c;return(l=Math.sqrt(t*t+e*e))&&(t/=l,e/=l),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,c/=a),t*i<e*n&&(t=-t,e=-e,c=-c,l=-l),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Sr,skewX:Math.atan(c)*Sr,scaleX:l,scaleY:a}}var I1;function _0(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Qn:_o(e.a,e.b,e.c,e.d,e.e,e.f)}function K0(t){return t==null||(I1||(I1=document.createElementNS("http://www.w3.org/2000/svg","g")),I1.setAttribute("transform",t),!(t=I1.transform.baseVal.consolidate()))?Qn:(t=t.matrix,_o(t.a,t.b,t.c,t.d,t.e,t.f))}function Ko(t,e,n,i){function r(s){return s.length?s.pop()+" ":""}function o(s,u,m,f,h,y){if(s!==m||u!==f){var g=h.push("translate(",null,e,null,n);y.push({i:g-4,x:se(s,m)},{i:g-2,x:se(u,f)})}else(m||f)&&h.push("translate("+m+e+f+n)}function l(s,u,m,f){s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),f.push({i:m.push(r(m)+"rotate(",null,i)-2,x:se(s,u)})):u&&m.push(r(m)+"rotate("+u+i)}function a(s,u,m,f){s!==u?f.push({i:m.push(r(m)+"skewX(",null,i)-2,x:se(s,u)}):u&&m.push(r(m)+"skewX("+u+i)}function c(s,u,m,f,h,y){if(s!==m||u!==f){var g=h.push(r(h)+"scale(",null,",",null,")");y.push({i:g-4,x:se(s,m)},{i:g-2,x:se(u,f)})}else(m!==1||f!==1)&&h.push(r(h)+"scale("+m+","+f+")")}return function(s,u){var m=[],f=[];return s=t(s),u=t(u),o(s.translateX,s.translateY,u.translateX,u.translateY,m,f),l(s.rotate,u.rotate,m,f),a(s.skewX,u.skewX,m,f),c(s.scaleX,s.scaleY,u.scaleX,u.scaleY,m,f),s=u=null,function(h){for(var y=-1,g=f.length,v;++y<g;)m[(v=f[y]).i]=v.x(h);return m.join("")}}}var Z0=Ko(_0,"px, ","px)","deg)"),Q0=Ko(K0,", ",")",")");function Jn(t,e){var n=Qe((t=Kn(t)).l,(e=Kn(e)).l),i=Qe(t.a,e.a),r=Qe(t.b,e.b),o=Qe(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 l1=0,g1=0,f1=0,Zo=1e3,ln,x1,an=0,He=0,Nn=0,k1=typeof performance=="object"&&performance.now?performance:Date,Qo=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function bi(){return He||(Qo(J0),He=k1.now()+Nn)}function J0(){He=0}function cn(){this._call=this._time=this._next=null}cn.prototype=Jo.prototype={constructor:cn,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?bi():+n)+(e==null?0:+e),!this._next&&x1!==this&&(x1?x1._next=this:ln=this,x1=this),this._call=t,this._time=n,ti()},stop:function(){this._call&&(this._call=null,this._time=1/0,ti())}};function Jo(t,e,n){var i=new cn;return i.restart(t,e,n),i}function tu(){bi(),++l1;for(var t=ln,e;t;)(e=He-t._time)>=0&&t._call.call(void 0,e),t=t._next;--l1}function Nr(){He=(an=k1.now())+Nn,l1=g1=0;try{tu()}finally{l1=0,nu(),He=0}}function eu(){var t=k1.now(),e=t-an;e>Zo&&(Nn-=e,an=t)}function nu(){for(var t,e=ln,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:ln=n);x1=t,ti(i)}function ti(t){if(!l1){g1&&(g1=clearTimeout(g1));var e=t-He;e>24?(t<1/0&&(g1=setTimeout(Nr,t-k1.now()-Nn)),f1&&(f1=clearInterval(f1))):(f1||(an=k1.now(),f1=setInterval(eu,Zo)),l1=1,Qo(Nr))}}function Cr(t,e,n){var i=new cn;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var iu=Co("start","end","cancel","interrupt"),ru=[],ts=0,Mr=1,ei=2,W1=3,Tr=4,ni=5,_1=6;function Cn(t,e,n,i,r,o){var l=t.__transition;if(!l)t.__transition={};else if(n in l)return;ou(t,n,{name:e,index:i,group:r,on:iu,tween:ru,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ts})}function wi(t,e){var n=ce(t,e);if(n.state>ts)throw new Error("too late; already scheduled");return n}function ye(t,e){var n=ce(t,e);if(n.state>W1)throw new Error("too late; already running");return n}function ce(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ou(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=Jo(o,0,n.time);function o(s){n.state=Mr,n.timer.restart(l,n.delay,n.time),n.delay<=s&&l(s-n.delay)}function l(s){var u,m,f,h;if(n.state!==Mr)return c();for(u in i)if(h=i[u],h.name===n.name){if(h.state===W1)return Cr(l);h.state===Tr?(h.state=_1,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=_1,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(Cr(function(){n.state===W1&&(n.state=Tr,n.timer.restart(a,n.delay,n.time),a(s))}),n.state=ei,n.on.call("start",t,t.__data__,n.index,n.group),n.state===ei){for(n.state=W1,r=new Array(f=n.tween.length),u=0,m=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++m]=h);r.length=m+1}}function a(s){for(var u=s<n.duration?n.ease.call(null,s/n.duration):(n.timer.restart(c),n.state=ni,1),m=-1,f=r.length;++m<f;)r[m].call(t,u);n.state===ni&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){n.state=_1,n.timer.stop(),delete i[e];for(var s in i)return;delete t.__transition}}function su(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>ei&&i.state<ni,i.state=_1,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[l]}o&&delete t.__transition}}function lu(t){return this.each(function(){su(this,t)})}function au(t,e){var n,i;return function(){var r=ye(this,t),o=r.tween;if(o!==n){i=n=o;for(var l=0,a=i.length;l<a;++l)if(i[l].name===e){i=i.slice(),i.splice(l,1);break}}r.tween=i}}function cu(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=ye(this,t),l=o.tween;if(l!==i){r=(i=l).slice();for(var a={name:e,value:n},c=0,s=r.length;c<s;++c)if(r[c].name===e){r[c]=a;break}c===s&&r.push(a)}o.tween=r}}function uu(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=ce(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?au:cu)(n,t,e))}function ki(t,e,n){var i=t._id;return t.each(function(){var r=ye(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return ce(r,i).value[e]}}function es(t,e){var n;return(typeof e=="number"?se:e instanceof Re?sn:(n=Re(e))?(e=n,sn):Wo)(t,e)}function hu(t){return function(){this.removeAttribute(t)}}function fu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function mu(t,e,n){var i,r=n+"",o;return function(){var l=this.getAttribute(t);return l===r?null:l===i?o:o=e(i=l,n)}}function du(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 yu(t,e,n){var i,r,o;return function(){var l,a=n(this),c;return a==null?void this.removeAttribute(t):(l=this.getAttribute(t),c=a+"",l===c?null:l===i&&c===r?o:(r=c,o=e(i=l,a)))}}function gu(t,e,n){var i,r,o;return function(){var l,a=n(this),c;return a==null?void this.removeAttributeNS(t.space,t.local):(l=this.getAttributeNS(t.space,t.local),c=a+"",l===c?null:l===i&&c===r?o:(r=c,o=e(i=l,a)))}}function xu(t,e){var n=An(t),i=n==="transform"?Q0:es;return this.attrTween(t,typeof e=="function"?(n.local?gu:yu)(n,i,ki(this,"attr."+t,e)):e==null?(n.local?fu:hu)(n):(n.local?du:mu)(n,i,e))}function vu(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function pu(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function bu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&pu(t,o)),n}return r._value=e,r}function wu(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&vu(t,o)),n}return r._value=e,r}function ku(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=An(t);return this.tween(n,(i.local?bu:wu)(i,e))}function Au(t,e){return function(){wi(this,t).delay=+e.apply(this,arguments)}}function Su(t,e){return e=+e,function(){wi(this,t).delay=e}}function Nu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Au:Su)(e,t)):ce(this.node(),e).delay}function Cu(t,e){return function(){ye(this,t).duration=+e.apply(this,arguments)}}function Mu(t,e){return e=+e,function(){ye(this,t).duration=e}}function Tu(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Cu:Mu)(e,t)):ce(this.node(),e).duration}function $u(t,e){if(typeof e!="function")throw new Error;return function(){ye(this,t).ease=e}}function Eu(t){var e=this._id;return arguments.length?this.each($u(e,t)):ce(this.node(),e).ease}function Lu(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ye(this,t).ease=n}}function Ou(t){if(typeof t!="function")throw new Error;return this.each(Lu(this._id,t))}function ju(t){typeof t!="function"&&(t=$o(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,a=i[r]=[],c,s=0;s<l;++s)(c=o[s])&&t.call(c,c.__data__,s,o)&&a.push(c);return new Ne(i,this._parents,this._name,this._id)}function Pu(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),a=0;a<o;++a)for(var c=e[a],s=n[a],u=c.length,m=l[a]=new Array(u),f,h=0;h<u;++h)(f=c[h]||s[h])&&(m[h]=f);for(;a<i;++a)l[a]=e[a];return new Ne(l,this._parents,this._name,this._id)}function Du(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 qu(t,e,n){var i,r,o=Du(e)?wi:ye;return function(){var l=o(this,t),a=l.on;a!==i&&(r=(i=a).copy()).on(e,n),l.on=r}}function Vu(t,e){var n=this._id;return arguments.length<2?ce(this.node(),n).on.on(t):this.each(qu(n,t,e))}function Bu(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function Iu(){return this.on("end.remove",Bu(this._id))}function Ru(t){var e=this._name,n=this._id;typeof t!="function"&&(t=gi(t));for(var i=this._groups,r=i.length,o=new Array(r),l=0;l<r;++l)for(var a=i[l],c=a.length,s=o[l]=new Array(c),u,m,f=0;f<c;++f)(u=a[f])&&(m=t.call(u,u.__data__,f,a))&&("__data__"in u&&(m.__data__=u.__data__),s[f]=m,Cn(s[f],e,n,f,s,ce(u,n)));return new Ne(o,this._parents,e,n)}function Hu(t){var e=this._name,n=this._id;typeof t!="function"&&(t=To(t));for(var i=this._groups,r=i.length,o=[],l=[],a=0;a<r;++a)for(var c=i[a],s=c.length,u,m=0;m<s;++m)if(u=c[m]){for(var f=t.call(u,u.__data__,m,c),h,y=ce(u,n),g=0,v=f.length;g<v;++g)(h=f[g])&&Cn(h,e,n,g,f,y);o.push(f),l.push(u)}return new Ne(o,l,e,n)}var Xu=M1.prototype.constructor;function Yu(){return new Xu(this._groups,this._parents)}function zu(t,e){var n,i,r;return function(){var o=s1(this,t),l=(this.style.removeProperty(t),s1(this,t));return o===l?null:o===n&&l===i?r:r=e(n=o,i=l)}}function ns(t){return function(){this.style.removeProperty(t)}}function Uu(t,e,n){var i,r=n+"",o;return function(){var l=s1(this,t);return l===r?null:l===i?o:o=e(i=l,n)}}function Fu(t,e,n){var i,r,o;return function(){var l=s1(this,t),a=n(this),c=a+"";return a==null&&(c=a=(this.style.removeProperty(t),s1(this,t))),l===c?null:l===i&&c===r?o:(r=c,o=e(i=l,a))}}function Gu(t,e){var n,i,r,o="style."+e,l="end."+o,a;return function(){var c=ye(this,t),s=c.on,u=c.value[o]==null?a||(a=ns(e)):void 0;(s!==n||r!==u)&&(i=(n=s).copy()).on(l,r=u),c.on=i}}function Wu(t,e,n){var i=(t+="")=="transform"?Z0:es;return e==null?this.styleTween(t,zu(t,i)).on("end.style."+t,ns(t)):typeof e=="function"?this.styleTween(t,Fu(t,i,ki(this,"style."+t,e))).each(Gu(this._id,t)):this.styleTween(t,Uu(t,i,e),n).on("end.style."+t,null)}function _u(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function Ku(t,e,n){var i,r;function o(){var l=e.apply(this,arguments);return l!==r&&(i=(r=l)&&_u(t,l,n)),i}return o._value=e,o}function Zu(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,Ku(t,e,n??""))}function Qu(t){return function(){this.textContent=t}}function Ju(t){return function(){var e=t(this);this.textContent=e??""}}function t2(t){return this.tween("text",typeof t=="function"?Ju(ki(this,"text",t)):Qu(t==null?"":t+""))}function e2(t){return function(e){this.textContent=t.call(this,e)}}function n2(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&e2(r)),e}return i._value=t,i}function i2(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,n2(t))}function r2(){for(var t=this._name,e=this._id,n=is(),i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],a=l.length,c,s=0;s<a;++s)if(c=l[s]){var u=ce(c,e);Cn(c,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 o2(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,l){var a={value:l},c={value:function(){--r===0&&o()}};n.each(function(){var s=ye(this,i),u=s.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(c)),s.on=e}),r===0&&o()})}var s2=0;function Ne(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function is(){return++s2}var be=M1.prototype;Ne.prototype={constructor:Ne,select:Ru,selectAll:Hu,selectChild:be.selectChild,selectChildren:be.selectChildren,filter:ju,merge:Pu,selection:Yu,transition:r2,call:be.call,nodes:be.nodes,node:be.node,size:be.size,empty:be.empty,each:be.each,on:Vu,attr:xu,attrTween:ku,style:Wu,styleTween:Zu,text:t2,textTween:i2,remove:Iu,tween:uu,delay:Nu,duration:Tu,ease:Eu,easeVarying:Ou,end:o2,[Symbol.iterator]:be[Symbol.iterator]};function l2(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var a2={time:null,delay:0,duration:250,ease:l2};function c2(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function u2(t){var e,n;t instanceof Ne?(e=t._id,t=t._name):(e=is(),(n=a2).time=bi(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var l=i[o],a=l.length,c,s=0;s<a;++s)(c=l[s])&&Cn(c,t,e,s,l,n||c2(c,e));return new Ne(i,this._parents,t,e)}M1.prototype.interrupt=lu;M1.prototype.transition=u2;const ii=Math.PI,ri=2*ii,De=1e-6,h2=ri-De;function rs(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function f2(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return rs;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 m2{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?rs:f2(e)}moveTo(e,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,n){this._append`L${this._x1=+e},${this._y1=+n}`}quadraticCurveTo(e,n,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,a=this._y1,c=i-e,s=r-n,u=l-e,m=a-n,f=u*u+m*m;if(this._x1===null)this._append`M${this._x1=e},${this._y1=n}`;else if(f>De)if(!(Math.abs(m*c-s*u)>De)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=i-l,y=r-a,g=c*c+s*s,v=h*h+y*y,b=Math.sqrt(g),M=Math.sqrt(f),A=o*Math.tan((ii-Math.acos((g+f-v)/(2*b*M)))/2),L=A/M,j=A/b;Math.abs(L-1)>De&&this._append`L${e+L*u},${n+L*m}`,this._append`A${o},${o},0,0,${+(m*h>u*y)},${this._x1=e+j*c},${this._y1=n+j*s}`}}arc(e,n,i,r,o,l){if(e=+e,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(r),c=i*Math.sin(r),s=e+a,u=n+c,m=1^l,f=l?r-o:o-r;this._x1===null?this._append`M${s},${u}`:(Math.abs(this._x1-s)>De||Math.abs(this._y1-u)>De)&&this._append`L${s},${u}`,i&&(f<0&&(f=f%ri+ri),f>h2?this._append`A${i},${i},0,1,${m},${e-a},${n-c}A${i},${i},0,1,${m},${this._x1=s},${this._y1=u}`:f>De&&this._append`A${i},${i},0,${+(f>=ii)},${m},${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 d2(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function un(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 a1(t){return t=un(Math.abs(t)),t?t[1]:NaN}function y2(t,e){return function(n,i){for(var r=n.length,o=[],l=0,a=t[0],c=0;r>0&&a>0&&(c+a+1>i&&(a=Math.max(1,i-c)),o.push(n.substring(r-=a,r+a)),!((c+=a+1)>i));)a=t[l=(l+1)%t.length];return o.reverse().join(e)}}function g2(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var x2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function hn(t){if(!(e=x2.exec(t)))throw new Error("invalid format: "+t);var e;return new Ai({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]})}hn.prototype=Ai.prototype;function Ai(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+""}Ai.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 v2(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 fn;function p2(t,e){var n=un(t,e);if(!n)return fn=void 0,t.toPrecision(e);var i=n[0],r=n[1],o=r-(fn=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")+un(t,Math.max(0,e+o-1))[0]}function $r(t,e){var n=un(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 Er={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:d2,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>$r(t*100,e),r:$r,s:p2,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Lr(t){return t}var Or=Array.prototype.map,jr=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function b2(t){var e=t.grouping===void 0||t.thousands===void 0?Lr:y2(Or.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?Lr:g2(Or.call(t.numerals,String)),l=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"\u2212":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function s(m,f){m=hn(m);var h=m.fill,y=m.align,g=m.sign,v=m.symbol,b=m.zero,M=m.width,A=m.comma,L=m.precision,j=m.trim,D=m.type;D==="n"?(A=!0,D="g"):Er[D]||(L===void 0&&(L=12),j=!0,D="g"),(b||h==="0"&&y==="=")&&(b=!0,h="0",y="=");var p=(f&&f.prefix!==void 0?f.prefix:"")+(v==="$"?n:v==="#"&&/[boxX]/.test(D)?"0"+D.toLowerCase():""),d=(v==="$"?i:/[%p]/.test(D)?l:"")+(f&&f.suffix!==void 0?f.suffix:""),w=Er[D],k=/[defgprs%]/.test(D);L=L===void 0?6:/[gprs]/.test(D)?Math.max(1,Math.min(21,L)):Math.max(0,Math.min(20,L));function C(N){var R=p,q=d,z,H,Y;if(D==="c")q=w(N)+q,N="";else{N=+N;var I=N<0||1/N<0;if(N=isNaN(N)?c:w(Math.abs(N),L),j&&(N=v2(N)),I&&+N==0&&g!=="+"&&(I=!1),R=(I?g==="("?g:a:g==="-"||g==="("?"":g)+R,q=(D==="s"&&!isNaN(N)&&fn!==void 0?jr[8+fn/3]:"")+q+(I&&g==="("?")":""),k){for(z=-1,H=N.length;++z<H;)if(Y=N.charCodeAt(z),48>Y||Y>57){q=(Y===46?r+N.slice(z+1):N.slice(z))+q,N=N.slice(0,z);break}}}A&&!b&&(N=e(N,1/0));var U=R.length+N.length+q.length,F=U<M?new Array(M-U+1).join(h):"";switch(A&&b&&(N=e(F+N,F.length?M-q.length:1/0),F=""),y){case"<":N=R+N+q+F;break;case"=":N=R+F+N+q;break;case"^":N=F.slice(0,U=F.length>>1)+R+N+q+F.slice(U);break;default:N=F+R+N+q;break}return o(N)}return C.toString=function(){return m+""},C}function u(m,f){var h=Math.max(-8,Math.min(8,Math.floor(a1(f)/3)))*3,y=Math.pow(10,-h),g=s((m=hn(m),m.type="f",m),{suffix:jr[8+h/3]});return function(v){return g(y*v)}}return{format:s,formatPrefix:u}}var R1,os,ss;w2({thousands:",",grouping:[3],currency:["$",""]});function w2(t){return R1=b2(t),os=R1.format,ss=R1.formatPrefix,R1}function k2(t){return Math.max(0,-a1(Math.abs(t)))}function A2(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a1(e)/3)))*3-a1(Math.abs(t)))}function S2(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,a1(e)-a1(t))+1}function N2(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function C2(t){return function(){return t}}function M2(t){return+t}var Pr=[0,1];function Je(t){return t}function oi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:C2(isNaN(e)?NaN:.5)}function T2(t,e){var n;return t>e&&(n=t,t=e,e=n),function(i){return Math.max(t,Math.min(e,i))}}function $2(t,e,n){var i=t[0],r=t[1],o=e[0],l=e[1];return r<i?(i=oi(r,i),o=n(l,o)):(i=oi(i,r),o=n(o,l)),function(a){return o(i(a))}}function E2(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]=oi(t[l],t[l+1]),o[l]=n(e[l],e[l+1]);return function(a){var c=Da(t,a,1,i)-1;return o[c](r[c](a))}}function L2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function O2(){var t=Pr,e=Pr,n=pi,i,r,o,l=Je,a,c,s;function u(){var f=Math.min(t.length,e.length);return l!==Je&&(l=T2(t[0],t[f-1])),a=f>2?E2:$2,c=s=null,m}function m(f){return f==null||isNaN(f=+f)?o:(c||(c=a(t.map(i),e,n)))(i(l(f)))}return m.invert=function(f){return l(r((s||(s=a(e,t.map(i),se)))(f)))},m.domain=function(f){return arguments.length?(t=Array.from(f,M2),u()):t.slice()},m.range=function(f){return arguments.length?(e=Array.from(f),u()):e.slice()},m.rangeRound=function(f){return e=Array.from(f),n=W0,u()},m.clamp=function(f){return arguments.length?(l=f?!0:Je,u()):l!==Je},m.interpolate=function(f){return arguments.length?(n=f,u()):n},m.unknown=function(f){return arguments.length?(o=f,m):o},function(f,h){return i=f,r=h,u()}}function j2(){return O2()(Je,Je)}function P2(t,e,n,i){var r=Ra(t,e,n),o;switch(i=hn(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(t),Math.abs(e));return i.precision==null&&!isNaN(o=A2(r,l))&&(i.precision=o),ss(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=S2(r,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=k2(r))&&(i.precision=o-(i.type==="%")*2);break}}return os(i)}function D2(t){var e=t.domain;return t.ticks=function(n){var i=e();return Ia(i[0],i[i.length-1],n??10)},t.tickFormat=function(n,i){var r=e();return P2(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],a=i[o],c,s,u=10;for(a<l&&(s=l,l=a,a=s,s=r,r=o,o=s);u-- >0;){if(s=Gn(l,a,n),s===c)return i[r]=l,i[o]=a,e(i);if(s>0)l=Math.floor(l/s)*s,a=Math.ceil(a/s)*s;else if(s<0)l=Math.ceil(l*s)/s,a=Math.floor(a*s)/s;else break;c=s}return t},t}function ls(){var t=j2();return t.copy=function(){return L2(t,ls())},N2.apply(t,arguments),D2(t)}function _e(t){return function(){return t}}const Dr=1e-12;function q2(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 m2(e)}function V2(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function as(t){this._context=t}as.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 Si(t){return new as(t)}function B2(t){return t[0]}function I2(t){return t[1]}function R2(t,e){var n=_e(!0),i=null,r=Si,o=null,l=q2(a);t=typeof t=="function"?t:t===void 0?B2:_e(t),e=typeof e=="function"?e:e===void 0?I2:_e(e);function a(c){var s,u=(c=V2(c)).length,m,f=!1,h;for(i==null&&(o=r(h=l())),s=0;s<=u;++s)!(s<u&&n(m=c[s],s,c))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(m,s,c),+e(m,s,c));if(h)return o=null,h+""||null}return a.x=function(c){return arguments.length?(t=typeof c=="function"?c:_e(+c),a):t},a.y=function(c){return arguments.length?(e=typeof c=="function"?c:_e(+c),a):e},a.defined=function(c){return arguments.length?(n=typeof c=="function"?c:_e(!!c),a):n},a.curve=function(c){return arguments.length?(r=c,i!=null&&(o=r(i)),a):r},a.context=function(c){return arguments.length?(c==null?i=o=null:o=r(i=c),a):i},a}function qr(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 Ni(t,e){this._context=t,this._k=(1-e)/6}Ni.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:qr(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:qr(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 cs=(function t(e){function n(i){return new Ni(i,e)}return n.tension=function(i){return t(+i)},n})(0);function H2(t,e,n){var i=t._x1,r=t._y1,o=t._x2,l=t._y2;if(t._l01_a>Dr){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Dr){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 us(t,e){this._context=t,this._alpha=e}us.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:H2(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 hs=(function t(e){function n(i){return e?new us(i,e):new Ni(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function fs(t){this._context=t}fs.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=Vr(t),r=Vr(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 Vr(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 mn(t){return new fs(t)}function v1(t,e,n){this.k=t,this.x=e,this.y=n}v1.prototype={constructor:v1,scale:function(t){return t===1?this:new v1(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new v1(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+")"}};v1.prototype;const X2={censor:Oe,squish(t,{min:e,max:n}){return isFinite(t)?t<e?e:t>n?n:t:t},squish_any:yt,squish_infinite:Fn,discard(t,{min:e,max:n}){return t<e||t>n?null:t}};function Ze(t,{title:e,...n}={}){return Object.assign(function(i){return i.map(t)},{title:e},n)}function ms({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 Ke({limits:t,oob:e=Oe,range:n=[0,1],na_value:i=null,null_value:r=null,title:o,...l}={}){return Object.assign(function(c){let s=this?.limits?.min??this?.limits?.[0]??c.extent?.[0],u=this?.limits?.max??this?.limits?.[1]??c.extent?.[1],m=u-s,f=n?.min??n[0],h=n?.max??n[1],y=h-f;return c.map(g=>(g=this.oob(g,{min:s,max:u}),g===null?r:isNaN(g)?i:f+(g-s)/m*y))},{title:o,limits:t,oob:e},l)}function Br({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 dn({h:t=[15,375],c:e=100,l:n=65,h_start:i=0,direction:r=1,limits:o,oob:l=Oe,na_value:a="#7f7f7f",null_value:c=null,title:s,...u}={}){return Object.assign(function(f){let h=this?.limits?.min??this?.limits?.[0]??f.extent?.[0],y=this?.limits?.max??this?.limits?.[1]??f.extent?.[1],g=y-h,v=t?.min??t[0],b=t?.max??t[1],M=b-v;return f.map(A=>(A=this.oob(A,{min:h,max:y}),A===null?c:isNaN(A)?a:Fo(i+v+M*(A-h)/g*r,e,n).toString()))},{title:s,limits:o,oob:l},u)}function Y2({values:t,na_value:e="#7f7f7f",title:n,...i}={}){return ms({values:t,na_value:e,title:n,...i})}function yn({low:t="#132B43",high:e="#56B1F7",limits:n,oob:i=Oe,na_value:r="#7f7f7f",null_value:o=null,title:l,...a}={}){return Object.assign(function(s){let u=this?.limits?.min??this?.limits?.[0]??s.extent?.[0],m=this?.limits?.max??this?.limits?.[1]??s.extent?.[1],f=Jn(t,e);return s.map(h=>(h=this.oob(h,{min:u,max:m}),h===null?o:isNaN(h)?r:u===m?f(.5):h>m?e:h<u?t:f((h-u)/(m-u))))},{title:l,limits:n,oob:i},a)}function z2({low:t="#832424",mid:e="white",high:n="#3A3A98",midpoint:i=0,limits:r,oob:o=Oe,na_value:l="#7f7f7f",null_value:a=null,title:c,...s}={}){return Object.assign(function(m){let f=this?.limits?.min??this?.limits?.[0]??m.extent?.[0],h=this?.limits?.max??this?.limits?.[1]??m.extent?.[1],y=i??(f+h)/2,g=Jn(t,e),v=Jn(e,n);return m.map(b=>(b=this.oob(b,{min:f,max:h}),b===null?a:isNaN(b)?l:b<y?g((b-f)/(y-f)):v((b-y)/(h-y))))},{title:c,limits:r,oob:o},s)}function U2({colors:t=[],values:e,anchors:n,limits:i,oob:r=Oe,na_value:o="#7f7f7f",null_value:l=null,title:a,...c}={}){return Object.assign(function(u){let m=this?.limits?.min??this?.limits?.[0]??u.extent?.[0],f=this?.limits?.max??this?.limits?.[1]??u.extent?.[1],h=e??n?.map?.(g=>m+(f-m)*g);h??=Array(t.length).fill(0).map((g,v)=>m+(f-m)*v/(t.length-1)),t=t.filter((g,v)=>!isNaN(h[v])),h=h.filter(g=>!isNaN(g));let y=ls(h,t);return u.map(g=>(g=this.oob(g,{min:m,max:f}),g===null?l:isNaN(g)?o:y(g)))},{title:a,limits:i,oob:r},c)}function Ir({limits:t,oob:e=Oe,title:n,...i}={}){let r=dn(),o=yn();return Object.assign(function(a){return a.level!=null?r.call(this,a):o.call(this,a)},{title:n,limits:t,oob:e},i)}function F2({discrete:t,continuous:e,limits:n,oob:i=Oe,title:r,...o}={}){return t??=dn(),e??=yn(),Object.assign(function(a){return a.level!=null?t.call(this,a):e.call(this,a)},{title:r,limits:n,oob:i},o)}function Rr({title:t,...e}={}){let n=["circle","square","triangle","diamond","plus"];return Object.assign(function(r){return r.map(o=>n[+o])},{title:t},e)}function Hr({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 Bn={identity:({title:t,...e}={})=>si({legend:!1,title:t,...e}),discrete:dn,hue:dn,manual:Y2,continuous:yn,gradient:yn,gradient2:z2,gradientn:U2,dynamic:F2,auto:Ir,custom:Ze,default:Ir},ds={color:Bn,stroke:Bn,fill:Bn,alpha:{continuous:Ke,custom:Ze,default:({title:t,...e}={})=>Ke({range:[.1,1],title:t,...e})},size:{identity:({title:t,...e}={})=>Br({legend:!1,title:t,...e}),continuous:Ke,custom:Ze,default:({title:t,...e}={})=>Ke({range:[1,6],title:t,...e})},linewidth:{identity:({title:t,...e}={})=>Br({legend:!1,title:t,...e}),continuous:Ke,manual:ms,custom:Ze,default:({title:t,...e}={})=>Ke({range:[1,6],title:t,...e})},linetype:{identity:({title:t,...e}={})=>si({legend:!1,title:t,...e}),discrete:Hr,default:Hr,custom:Ze},shape:{identity:({title:t,...e}={})=>si({legend:!1,title:t,...e}),discrete:Rr,default:Rr,custom:Ze}};function G2({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 a=10**Math.floor(Math.log10(o)-1),c=o/a;l==null&&(l=([5,10,20].find(m=>m*5>c)??20)*a),r&&(l/=2);let s=Math.ceil(n/l),u=Math.floor(i/l);return new Array(u-s+1).fill(null).map((m,f)=>(s+f)*l)}}function W2(){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(),a=i.getUTCDate(),c=i.getUTCHours(),s=i.getUTCMinutes(),u=i.getUTCSeconds(),m=[];if(n>3*31536e6){let f=n/31536e6,h=10**Math.floor(Math.log10(f)-1),y=f/h,g=Math.max((y>50?10:y>25?5:2)*h,1);i=new Date(Date.UTC(Math.ceil(o/g)*g));do m.push(new Date(i));while(i.setUTCFullYear(i.getUTCFullYear()+g)<r)}else if(n>3*2592e6){let f=n/2592e6,h=[2,3,6].findLast(y=>y*3<=f)||1;i=new Date(Date.UTC(o,Math.ceil(l/h)*h));do m.push(new Date(i));while(i.setUTCMonth(i.getUTCMonth()+h)<r)}else if(n>21*864e5){i=new Date(Date.UTC(o,l,a+(7-i.getUTCDay())%7));do m.push(new Date(i));while(i.setUTCDate(i.getUTCDate()+7)<r)}else if(n>3*864e5){let f=n/864e5,h=[2,3].findLast(y=>y*3<=f)||1;i=new Date(Date.UTC(o,l,Math.ceil(a)));do m.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(y=>y*3<=f)||1;i=new Date(Date.UTC(o,l,a,Math.ceil(c/h)*h));do m.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(y=>y*3<=f)||1;i=new Date(Date.UTC(o,l,a,c,Math.ceil(s/h)*h));do m.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(y=>y*3<=f)||1;i=new Date(Date.UTC(o,l,a,c,s,Math.ceil(u/h)*h));do m.push(new Date(i));while(i.setUTCSeconds(i.getUTCSeconds()+h)<r)}else{let f=10**Math.floor(Math.log10(n)-1),h=n/f,y=(h>50?20:h>25?10:5)*f,g=Math.ceil(t/y),v=Math.floor(e/y);return new Array(v-g+1).fill(null).map((b,M)=>new Date((g+M)*y))}return m}}const Mn={number:G2,datetime:W2};let _2={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 li(t,e="yyyy-MM-dd hh:mm:ss"){return e.replace(/(y|M|d|h|m|s)\1*/g,(n,i)=>{let r=String(_2[i](t)),o=n.length;return i=="y"?r.slice(-o):r.padStart(o,"0")})}const ys={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 K2(){return function(t){return t==null?"":t instanceof Date?li(t):String(t)}}function gs({accuracy:t,scale:e=1,prefix:n="",suffix:i="",big_mark:r=" ",style_positive:o="none",style_negative:l="hyphen",scale_cut:a={"":1}}={}){let c={plus:"+",space:" "}[o]??"",s={hyphen:"-",minus:"\u2212",parens:"("}[l]??"";return function(u,m,f=[u]){let h;if(t)h=t;else if(f.length>1){let A=f.filter(j=>isFinite(j)).sort((j,D)=>j-D);h=A.slice(1).map((j,D)=>j-A[D]).reduce((j,D)=>j<D?j:D)*e}else h=u||1;let y=Object.entries(a).sort((A,L)=>L[1]-A[1]).find(A=>A[1]<=h)?.[0]??"",g=(y==""?"":" ")+y+i;h=h/(a[y]??1);let v=Math.max(0,Math.ceil(-Math.log10(h))),b=Math.round(u*e/(a[y]??1)/h)*h,M=n+(b>0?c:b<0?s:"");return b<0&&l=="parens"&&(g=")"+g),b=Math.abs(b).toFixed(v).replace(new RegExp("(?<!\\..*)(\\d)(?=(?:\\d{3})+(?:\\.|$))","g"),"$1"+r),M+b+g}}function ai({format:t}={}){let e={y:31536e3,M:2678400,d:86400,h:3600,m:60,s:1},n={y:0,M:5,d:8,h:11,m:14,s:17},i={y:4,M:7,d:10,h:13,m:16,s:19};return function(r,o,l=[r]){if(l.length<=1)return li(new Date(r),t);if(t==null){let a=Array.from(l).sort((f,h)=>f-h),c=a.slice(1).map((f,h)=>f-a[h]).reduce((f,h)=>f<h?f:h)/1e3,s=(a[a.length-1]-a[0])/1e3,u=["y","M","d","m","s"].find(f=>e[f]<=c),m=s>2678400?"y":s>86400?"M":"h";t="yyyy-MM-dd hh:mm:ss".slice(n[m],i[u])}return li(new Date(r),t)}}function Xr(t){let e=gs(t),n=ai(t);return function(i,r,o=[i]){return i instanceof wo?String(i):i instanceof Date?n(i,r,o):e(i,r,o)}}const ci={number:gs,datetime:ai,timestamp:ai,asis:K2,auto:Xr,default:function(t){return Xr({scale_cut:ys.default,...t})}};function Z2(t,e){return t==null?{}:Object.fromEntries(Object.entries(t).map(([n,i])=>[n,e(n,i)]))}class Q2{constructor(e,n){let{data:i=[],aes:r,extendX:o,extendY:l}=n,{geom:a,stat:c,data:s,aes:u,levels:m={},scales:f={},attrs:h,args:y,vBind:g,extendX:v,extendY:b}=e;if(!Le[a]){console.error(`Invalid geom "${a}"`,"in layer",e,", plot",n);return}let M=typeof c=="function"?c:Ea[c];if(M==null){console.error(`Invalid stat "${c}"`,"in layer",e,", plot",n);return}this.geom=a,this.vBind=Object.assign(g,{extendX:v??o??0,extendY:b??l??0}),this.scales={},typeof s=="function"&&(s=s(i)),s==null&&(s=i),u={...r,...u};let A={},L={};for(const p in u)L[p]=String(u[p]),A[p]=s.map(u[p]);A.$raw=s;let j=M?.core_attrs??["x","y","xnudge","ynudge"],D=s.length;D==0&&(D=j.map(p=>h[p]).filter(p=>p!=null).reduce((p,d)=>Math.max(Array.isArray(d)?d.length:1,p),0));for(const p in h)if(j.includes(p))if(Array.isArray(h[p])){if(h[p].length!=D)throw new Error(`Attribute "${p}" must have the same length as data (${D})`);A[p]=h[p]}else{if(h[p]==null)continue;A[p]=new Array(D).fill(h[p])}try{if(A=M(A,y||{}),A.$group??=A.group,A.$group==null){let p=Object.values(A).filter(d=>Array.isArray(d)).reduce((d,w)=>Math.max(d,w.length),0);A.$group=new Array(p).fill(null)}}catch(p){console.error("Error",p,"in layer",e,", plot",n);return}this.localScales=new Set([...Object.keys(m).filter(p=>m[p]!=null),...Object.keys(f).filter(p=>f[p]!=null)]),this.aes=new Set([...this.localScales,...Le[a]?.scale_attrs??[]]),this.$data=A,this.$fns=L,this.data={...A};for(const p in A)if(f[p]!=null){let d=new Tn(f[p]);d.aesthetics=p,d.title===void 0&&(d.title=L[p]);let w=this.$data[p];if(!w?.length)continue;d.asis||(m?.[p]!=null?d.level=m[p]:w.some(k=>typeof k=="string")?d.level=e1.from(w):d.extent=Yt.extent(w)),this.applyScale(p,d)}this.attrs={};for(const p in h)if(!j.includes(p))if(Array.isArray(h[p])){if(h[p].length!=D)throw new Error(`Attribute "${p}" must have the same length as data (${D})`);this.data[p]=h[p]}else this.attrs[p]=h[p],h[p]!=null&&(this.data[p]=new Array(D).fill(h[p]))}applyScale(e,n){let i=this.$data[e];i!=null&&(n.level&&(i=n.level.apply(i)),n.limits&&(i.extent=n.limits),n.aes=e,this.data[e]=n(i),this.scales[e]=n)}applyCoordScale(e){try{Object.assign(this.data,Le[this.geom]?.coord_scale?.(this.$data,e))}catch(n){console.error(n)}}}class J2{constructor(e,n){this.levels={},this.extents={},this.layers=[],this.coordScales={};for(let i in n)this.layers.push(new Q2(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 Tn(e?.[i]??ds[i].default());o.aesthetics=i,o.asis||(n?.[i]!=null?o.level=n[i]:r.some(l=>typeof l=="string")?o.level=e1.from(r):o.extent=Yt.extent(r)),o.title==null&&(o.title=this.layers.map(l=>l.$fns?.[i]).find(l=>l!=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 a=this.scales.get(l);a[o.geom]==null&&(a[o.geom]={});for(let c of Le[o.geom]?.scale_attrs)o.attrs[c]!=null&&(a[o.geom][c]=o.attrs[c])}}}return this}useCoordLevels(e={}){for(const n of["x","y"])if(e[n])this.levels[n]=new e1(...e[n]);else{let i=this.layers.flatMap(r=>(Le[r.geom].get_values??Le[r.geom].get_range)?.(r.$data,n));i.some(r=>typeof r=="string")?this.levels[n]=e1.from(i):(i=this.layers.flatMap(r=>Le[r.geom].get_range?.(r.$data,n)).filter(r=>!isNaN(r)),this.extents[n]=Yt.extent(i))}for(const n of this.layers)n.applyCoordScale(this.levels);return this}getComputedLayers(){return this.layers.map(e=>({data:Object.values(Object.groupBy(e.data.$group.map((i,r)=>Le[e.geom].validate(Z2(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 gn(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,a=ht(o,-n.x?.min||0),c=ht(l,+n.x?.max||0),s=i?.x??1;if(c-a<s)if(e?.xmax==null&&e?.xmin!=null)c=ht(a,+s);else if(e?.xmax!=null&&e?.xmin==null)a=ht(c,-s);else{let u=c-a;c=ht(c,-u/2+s/2),a=ht(c,-s)}a instanceof Date||c instanceof Date?r.x=new xn({min:a,max:c}):r.x=new A1({min:a,max:c})}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 gn(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,a=ht(o,-n.y?.min),c=ht(l,+n.y?.max||0),s=i?.y??1;if(c-a<s)if(e?.ymax==null&&e?.ymin!=null)c=ht(a,+s);else if(e?.ymax!=null&&e?.ymin==null)a=ht(c,-s);else{let u=c-a;c=ht(c,-u/2+s/2),a=ht(c,-s)}a instanceof Date||c instanceof Date?r.y=new xn({min:a,max:c}):r.y=new A1({min:a,max:c})}return r}render(e,n,i){let r=this.getCoordScales(e,n,i);return{layers:this.getComputedLayers(),coordScales:r,scales:this.scales}}}class Tn extends Function{constructor(e){let n=e._fn??e;function i(){return n.apply(i,arguments)}return Object.setPrototypeOf(i,Tn.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}}}class gn 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,gn.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 A1 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,A1.prototype),r}invert(e){let{min:n,max:i}=this.range;return ht(n,e*(i-n))}get breaks(){return Mn.number()}}class xn extends A1{constructor(e){let n=super(e);return Object.setPrototypeOf(n,xn.prototype),n}get breaks(){return Mn.datetime()}get minorBreaks(){return[]}}class t9{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??ci.auto(),this.titles=o??ci.asis(),this.minorBreaks=r??n??e.minorBreaks??e.breaks}getBindings({range:e,expandMult:n}={}){let i=this.breaks,r=this.minorBreaks,o=this.labels,l=this.titles,a=e?.min??this?.range?.min,c=e?.max??this?.range?.max,s=c-a||0;a=a==null?a:ht(a,-(n?.min??0)*s),c=c==null?c:ht(c,+(n?.max??0)*s);function u(f){return f.position!=null?f:{position:f}}typeof i=="function"&&(i=i({min:a,max:c})),i=Array.isArray(i)?i.map(u):[];let m=i.map(f=>f.position);if(typeof r=="function"&&(r=r({min:a,max:c,minor:!0})),r=Array.isArray(r)?r.map(u):[],typeof o=="function"&&(o=m.map(o)),!Array.isArray(o))o=[];else if(o.length!=m.length)throw new Error("Length of labels must be the same as breaks");if(typeof l=="function"&&(l=m.map(l)),!Array.isArray(l))l=[];else if(l.length!=m.length)throw new Error("Length of titles must be the same as breaks");return{majorBreaks:i,minorBreaks:r,ticks:m.map((f,h)=>({position:f,label:o[h],title:l[h]}))}}}const e9=["font-size"],n9={key:0},c1={__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=Pt("ele"),n=Lt({width:0,height:0});St([e,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([r])=>{if(!r)return;await kn();let{width:o,height:l}=r.getBBox();n.width=o,n.height=l});const i=X(()=>{let{width:r,height:o}=n,l=[],a=({start:-.5,end:.5}[t.textAnchor]??0)*r;if(t.dockX!=null||t.dockY!=null){let c={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),s={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(c)&&(c=.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)),m=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-c)+f},${m*(s-.5)+h})`),t.angle&&l.push(`rotate(${t.angle})`),l.push(`translate(${a},0)`)}else{let c={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),s={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(c)&&(c=.5),isNaN(s)&&(s=.5);let u=r,m=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-c)+f+a},${m*(s-.5)+h})`)}return{x:t.x,y:t.y,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Vt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:l.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`,"text-anchor":t.textAnchor,"dominant-baseline":"central"}});return(r,o)=>(E(),B("text",J({ref_key:"ele",ref:e},i.value,{"font-size":(t.fontSize??t.size*4)||null}),[nl(r.$slots,"default",{},()=>[t.title?(E(),B("title",n9,qt(t.title),1)):Et("",!0),ft(" "+qt(t.text.replace(/ /g,"\xA0")),1)])],16,e9))}};function xs(t){switch(t._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var i9=function(t,e){this.current=t,this.entering=e===!0},r9=function(){var t=this.current,e=this.entering;if(t===null)return null;var n=xs(t);return e&&n?t._firstChild?(this.current=t._firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t._next===null?(this.current=t._parent,this.entering=!1):(this.current=t._next,this.entering=!0),{entering:e,node:t}},o9=function(t){return{current:t,root:t,entering:!0,next:r9,resumeAt:i9}},Dt=function(t,e){this._type=t,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=e,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},Bt=Dt.prototype;Object.defineProperty(Bt,"isContainer",{get:function(){return xs(this)}});Object.defineProperty(Bt,"type",{get:function(){return this._type}});Object.defineProperty(Bt,"firstChild",{get:function(){return this._firstChild}});Object.defineProperty(Bt,"lastChild",{get:function(){return this._lastChild}});Object.defineProperty(Bt,"next",{get:function(){return this._next}});Object.defineProperty(Bt,"prev",{get:function(){return this._prev}});Object.defineProperty(Bt,"parent",{get:function(){return this._parent}});Object.defineProperty(Bt,"sourcepos",{get:function(){return this._sourcepos}});Object.defineProperty(Bt,"literal",{get:function(){return this._literal},set:function(t){this._literal=t}});Object.defineProperty(Bt,"destination",{get:function(){return this._destination},set:function(t){this._destination=t}});Object.defineProperty(Bt,"title",{get:function(){return this._title},set:function(t){this._title=t}});Object.defineProperty(Bt,"info",{get:function(){return this._info},set:function(t){this._info=t}});Object.defineProperty(Bt,"level",{get:function(){return this._level},set:function(t){this._level=t}});Object.defineProperty(Bt,"listType",{get:function(){return this._listData.type},set:function(t){this._listData.type=t}});Object.defineProperty(Bt,"listTight",{get:function(){return this._listData.tight},set:function(t){this._listData.tight=t}});Object.defineProperty(Bt,"listStart",{get:function(){return this._listData.start},set:function(t){this._listData.start=t}});Object.defineProperty(Bt,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(t){this._listData.delimiter=t}});Object.defineProperty(Bt,"onEnter",{get:function(){return this._onEnter},set:function(t){this._onEnter=t}});Object.defineProperty(Bt,"onExit",{get:function(){return this._onExit},set:function(t){this._onExit=t}});Dt.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)};Dt.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)};Dt.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};Dt.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)};Dt.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)};Dt.prototype.walker=function(){var t=new o9(this);return t};function s9(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var In,Yr;function l9(){if(Yr)return In;Yr=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,a,c,s,u,m="";for(typeof r!="string"&&(o=r,r=n.defaultChars),typeof o>"u"&&(o=!0),u=e(r),l=0,a=i.length;l<a;l++){if(c=i.charCodeAt(l),o&&c===37&&l+2<a&&/^[0-9a-f]{2}$/i.test(i.slice(l+1,l+3))){m+=i.slice(l,l+3),l+=2;continue}if(c<128){m+=u[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&l+1<a&&(s=i.charCodeAt(l+1),s>=56320&&s<=57343)){m+=encodeURIComponent(i[l]+i[l+1]),l++;continue}m+="%EF%BF%BD";continue}m+=encodeURIComponent(i[l])}return m}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",In=n,In}var a9=l9();const c9=s9(a9);var Rn={},m1={},H1={},zr;function u9(){return zr||(zr=1,Object.defineProperty(H1,"__esModule",{value:!0}),H1.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])),H1}var X1={},Ur;function h9(){return Ur||(Ur=1,Object.defineProperty(X1,"__esModule",{value:!0}),X1.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])),X1}var Y1={},Fr;function f9(){if(Fr)return Y1;Fr=1,Object.defineProperty(Y1,"__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 Y1.default=n,Y1}var Gr;function Wr(){return Gr||(Gr=1,(function(t){var e=m1&&m1.__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(u9());t.htmlDecodeTree=n.default;var i=e(h9());t.xmlDecodeTree=i.default;var r=e(f9()),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(g,v){for(var b="",M=0,A=0;(A=g.indexOf("&",A))>=0;){if(b+=g.slice(M,A),M=A,A+=1,g.charCodeAt(A)===35){var L=A+1,j=10,D=g.charCodeAt(L);for((D|32)===120&&(j=16,A+=1,L+=1);(D=g.charCodeAt(++A))>=48&&D<=57||j===16&&(D|32)>=97&&(D|32)<=102;);if(L!==A){var p=g.substring(L,A),d=parseInt(p,j);if(g.charCodeAt(A)===59)A+=1;else if(v)continue;b+=r.default(d),M=A}continue}for(var w=null,k=1,C=0,N=h[C];A<g.length&&(C=a(h,N,C+1,g.charCodeAt(A)),!(C<0));A++,k++)N=h[C],N&o.HAS_VALUE&&(v&&g.charCodeAt(A)!==59?C+=1:(w=N&o.MULTI_BYTE?String.fromCharCode(h[++C],h[++C]):String.fromCharCode(h[++C]),k=0));w!=null&&(b+=w,M=A-k+1)}return b+g.slice(M)}}function a(h,y,g,v){if(y<=128)return v===y?g:-1;var b=(y&o.BRANCH_LENGTH)>>8;if(b===0)return-1;if(b===1)return v===h[g]?g+1:-1;var M=y&o.JUMP_TABLE;if(M){var A=v-t.JUMP_OFFSET_BASE-M;return A<0||A>b?-1:h[g+A]-1}for(var L=g,j=L+b-1;L<=j;){var D=L+j>>>1,p=h[D];if(p<v)L=D+1;else if(p>v)j=D-1;else return h[D+b]}return-1}t.determineBranch=a;var c=l(n.default),s=l(i.default);function u(h){return c(h,!1)}t.decodeHTML=u;function m(h){return c(h,!0)}t.decodeHTMLStrict=m;function f(h){return s(h,!0)}t.decodeXML=f})(m1)),m1}var Kt={};const m9="&",d9="'",y9=">",g9="<",x9='"',v9={amp:m9,apos:d9,gt:y9,lt:g9,quot:x9};var d1={};const p9="\xC1",b9="\xE1",w9="\u0102",k9="\u0103",A9="\u223E",S9="\u223F",N9="\u223E\u0333",C9="\xC2",M9="\xE2",T9="\xB4",$9="\u0410",E9="\u0430",L9="\xC6",O9="\xE6",j9="\u2061",P9="\u{1D504}",D9="\u{1D51E}",q9="\xC0",V9="\xE0",B9="\u2135",I9="\u2135",R9="\u0391",H9="\u03B1",X9="\u0100",Y9="\u0101",z9="\u2A3F",U9="&",F9="&",G9="\u2A55",W9="\u2A53",_9="\u2227",K9="\u2A5C",Z9="\u2A58",Q9="\u2A5A",J9="\u2220",t8="\u29A4",e8="\u2220",n8="\u29A8",i8="\u29A9",r8="\u29AA",o8="\u29AB",s8="\u29AC",l8="\u29AD",a8="\u29AE",c8="\u29AF",u8="\u2221",h8="\u221F",f8="\u22BE",m8="\u299D",d8="\u2222",y8="\xC5",g8="\u237C",x8="\u0104",v8="\u0105",p8="\u{1D538}",b8="\u{1D552}",w8="\u2A6F",k8="\u2248",A8="\u2A70",S8="\u224A",N8="\u224B",C8="'",M8="\u2061",T8="\u2248",$8="\u224A",E8="\xC5",L8="\xE5",O8="\u{1D49C}",j8="\u{1D4B6}",P8="\u2254",D8="*",q8="\u2248",V8="\u224D",B8="\xC3",I8="\xE3",R8="\xC4",H8="\xE4",X8="\u2233",Y8="\u2A11",z8="\u224C",U8="\u03F6",F8="\u2035",G8="\u223D",W8="\u22CD",_8="\u2216",K8="\u2AE7",Z8="\u22BD",Q8="\u2305",J8="\u2306",t5="\u2305",e5="\u23B5",n5="\u23B6",i5="\u224C",r5="\u0411",o5="\u0431",s5="\u201E",l5="\u2235",a5="\u2235",c5="\u2235",u5="\u29B0",h5="\u03F6",f5="\u212C",m5="\u212C",d5="\u0392",y5="\u03B2",g5="\u2136",x5="\u226C",v5="\u{1D505}",p5="\u{1D51F}",b5="\u22C2",w5="\u25EF",k5="\u22C3",A5="\u2A00",S5="\u2A01",N5="\u2A02",C5="\u2A06",M5="\u2605",T5="\u25BD",$5="\u25B3",E5="\u2A04",L5="\u22C1",O5="\u22C0",j5="\u290D",P5="\u29EB",D5="\u25AA",q5="\u25B4",V5="\u25BE",B5="\u25C2",I5="\u25B8",R5="\u2423",H5="\u2592",X5="\u2591",Y5="\u2593",z5="\u2588",U5="=\u20E5",F5="\u2261\u20E5",G5="\u2AED",W5="\u2310",_5="\u{1D539}",K5="\u{1D553}",Z5="\u22A5",Q5="\u22A5",J5="\u22C8",t6="\u29C9",e6="\u2510",n6="\u2555",i6="\u2556",r6="\u2557",o6="\u250C",s6="\u2552",l6="\u2553",a6="\u2554",c6="\u2500",u6="\u2550",h6="\u252C",f6="\u2564",m6="\u2565",d6="\u2566",y6="\u2534",g6="\u2567",x6="\u2568",v6="\u2569",p6="\u229F",b6="\u229E",w6="\u22A0",k6="\u2518",A6="\u255B",S6="\u255C",N6="\u255D",C6="\u2514",M6="\u2558",T6="\u2559",$6="\u255A",E6="\u2502",L6="\u2551",O6="\u253C",j6="\u256A",P6="\u256B",D6="\u256C",q6="\u2524",V6="\u2561",B6="\u2562",I6="\u2563",R6="\u251C",H6="\u255E",X6="\u255F",Y6="\u2560",z6="\u2035",U6="\u02D8",F6="\u02D8",G6="\xA6",W6="\u{1D4B7}",_6="\u212C",K6="\u204F",Z6="\u223D",Q6="\u22CD",J6="\u29C5",t7="\\",e7="\u27C8",n7="\u2022",i7="\u2022",r7="\u224E",o7="\u2AAE",s7="\u224F",l7="\u224E",a7="\u224F",c7="\u0106",u7="\u0107",h7="\u2A44",f7="\u2A49",m7="\u2A4B",d7="\u2229",y7="\u22D2",g7="\u2A47",x7="\u2A40",v7="\u2145",p7="\u2229\uFE00",b7="\u2041",w7="\u02C7",k7="\u212D",A7="\u2A4D",S7="\u010C",N7="\u010D",C7="\xC7",M7="\xE7",T7="\u0108",$7="\u0109",E7="\u2230",L7="\u2A4C",O7="\u2A50",j7="\u010A",P7="\u010B",D7="\xB8",q7="\xB8",V7="\u29B2",B7="\xA2",I7="\xB7",R7="\xB7",H7="\u{1D520}",X7="\u212D",Y7="\u0427",z7="\u0447",U7="\u2713",F7="\u2713",G7="\u03A7",W7="\u03C7",_7="\u02C6",K7="\u2257",Z7="\u21BA",Q7="\u21BB",J7="\u229B",th="\u229A",eh="\u229D",nh="\u2299",ih="\xAE",rh="\u24C8",oh="\u2296",sh="\u2295",lh="\u2297",ah="\u25CB",ch="\u29C3",uh="\u2257",hh="\u2A10",fh="\u2AEF",mh="\u29C2",dh="\u2232",yh="\u201D",gh="\u2019",xh="\u2663",vh="\u2663",ph=":",bh="\u2237",wh="\u2A74",kh="\u2254",Ah="\u2254",Sh=",",Nh="@",Ch="\u2201",Mh="\u2218",Th="\u2201",$h="\u2102",Eh="\u2245",Lh="\u2A6D",Oh="\u2261",jh="\u222E",Ph="\u222F",Dh="\u222E",qh="\u{1D554}",Vh="\u2102",Bh="\u2210",Ih="\u2210",Rh="\xA9",Hh="\xA9",Xh="\u2117",Yh="\u2233",zh="\u21B5",Uh="\u2717",Fh="\u2A2F",Gh="\u{1D49E}",Wh="\u{1D4B8}",_h="\u2ACF",Kh="\u2AD1",Zh="\u2AD0",Qh="\u2AD2",Jh="\u22EF",t3="\u2938",e3="\u2935",n3="\u22DE",i3="\u22DF",r3="\u21B6",o3="\u293D",s3="\u2A48",l3="\u2A46",a3="\u224D",c3="\u222A",u3="\u22D3",h3="\u2A4A",f3="\u228D",m3="\u2A45",d3="\u222A\uFE00",y3="\u21B7",g3="\u293C",x3="\u22DE",v3="\u22DF",p3="\u22CE",b3="\u22CF",w3="\xA4",k3="\u21B6",A3="\u21B7",S3="\u22CE",N3="\u22CF",C3="\u2232",M3="\u2231",T3="\u232D",$3="\u2020",E3="\u2021",L3="\u2138",O3="\u2193",j3="\u21A1",P3="\u21D3",D3="\u2010",q3="\u2AE4",V3="\u22A3",B3="\u290F",I3="\u02DD",R3="\u010E",H3="\u010F",X3="\u0414",Y3="\u0434",z3="\u2021",U3="\u21CA",F3="\u2145",G3="\u2146",W3="\u2911",_3="\u2A77",K3="\xB0",Z3="\u2207",Q3="\u0394",J3="\u03B4",tf="\u29B1",ef="\u297F",nf="\u{1D507}",rf="\u{1D521}",of="\u2965",sf="\u21C3",lf="\u21C2",af="\xB4",cf="\u02D9",uf="\u02DD",hf="`",ff="\u02DC",mf="\u22C4",df="\u22C4",yf="\u22C4",gf="\u2666",xf="\u2666",vf="\xA8",pf="\u2146",bf="\u03DD",wf="\u22F2",kf="\xF7",Af="\xF7",Sf="\u22C7",Nf="\u22C7",Cf="\u0402",Mf="\u0452",Tf="\u231E",$f="\u230D",Ef="$",Lf="\u{1D53B}",Of="\u{1D555}",jf="\xA8",Pf="\u02D9",Df="\u20DC",qf="\u2250",Vf="\u2251",Bf="\u2250",If="\u2238",Rf="\u2214",Hf="\u22A1",Xf="\u2306",Yf="\u222F",zf="\xA8",Uf="\u21D3",Ff="\u21D0",Gf="\u21D4",Wf="\u2AE4",_f="\u27F8",Kf="\u27FA",Zf="\u27F9",Qf="\u21D2",Jf="\u22A8",tm="\u21D1",em="\u21D5",nm="\u2225",im="\u2913",rm="\u2193",om="\u2193",sm="\u21D3",lm="\u21F5",am="\u0311",cm="\u21CA",um="\u21C3",hm="\u21C2",fm="\u2950",mm="\u295E",dm="\u2956",ym="\u21BD",gm="\u295F",xm="\u2957",vm="\u21C1",pm="\u21A7",bm="\u22A4",wm="\u2910",km="\u231F",Am="\u230C",Sm="\u{1D49F}",Nm="\u{1D4B9}",Cm="\u0405",Mm="\u0455",Tm="\u29F6",$m="\u0110",Em="\u0111",Lm="\u22F1",Om="\u25BF",jm="\u25BE",Pm="\u21F5",Dm="\u296F",qm="\u29A6",Vm="\u040F",Bm="\u045F",Im="\u27FF",Rm="\xC9",Hm="\xE9",Xm="\u2A6E",Ym="\u011A",zm="\u011B",Um="\xCA",Fm="\xEA",Gm="\u2256",Wm="\u2255",_m="\u042D",Km="\u044D",Zm="\u2A77",Qm="\u0116",Jm="\u0117",td="\u2251",ed="\u2147",nd="\u2252",id="\u{1D508}",rd="\u{1D522}",od="\u2A9A",sd="\xC8",ld="\xE8",ad="\u2A96",cd="\u2A98",ud="\u2A99",hd="\u2208",fd="\u23E7",md="\u2113",dd="\u2A95",yd="\u2A97",gd="\u0112",xd="\u0113",vd="\u2205",pd="\u2205",bd="\u25FB",wd="\u2205",kd="\u25AB",Ad="\u2004",Sd="\u2005",Nd="\u2003",Cd="\u014A",Md="\u014B",Td="\u2002",$d="\u0118",Ed="\u0119",Ld="\u{1D53C}",Od="\u{1D556}",jd="\u22D5",Pd="\u29E3",Dd="\u2A71",qd="\u03B5",Vd="\u0395",Bd="\u03B5",Id="\u03F5",Rd="\u2256",Hd="\u2255",Xd="\u2242",Yd="\u2A96",zd="\u2A95",Ud="\u2A75",Fd="=",Gd="\u2242",Wd="\u225F",_d="\u21CC",Kd="\u2261",Zd="\u2A78",Qd="\u29E5",Jd="\u2971",t4="\u2253",e4="\u212F",n4="\u2130",i4="\u2250",r4="\u2A73",o4="\u2242",s4="\u0397",l4="\u03B7",a4="\xD0",c4="\xF0",u4="\xCB",h4="\xEB",f4="\u20AC",m4="!",d4="\u2203",y4="\u2203",g4="\u2130",x4="\u2147",v4="\u2147",p4="\u2252",b4="\u0424",w4="\u0444",k4="\u2640",A4="\uFB03",S4="\uFB00",N4="\uFB04",C4="\u{1D509}",M4="\u{1D523}",T4="\uFB01",$4="\u25FC",E4="\u25AA",L4="fj",O4="\u266D",j4="\uFB02",P4="\u25B1",D4="\u0192",q4="\u{1D53D}",V4="\u{1D557}",B4="\u2200",I4="\u2200",R4="\u22D4",H4="\u2AD9",X4="\u2131",Y4="\u2A0D",z4="\xBD",U4="\u2153",F4="\xBC",G4="\u2155",W4="\u2159",_4="\u215B",K4="\u2154",Z4="\u2156",Q4="\xBE",J4="\u2157",ty="\u215C",ey="\u2158",ny="\u215A",iy="\u215D",ry="\u215E",oy="\u2044",sy="\u2322",ly="\u{1D4BB}",ay="\u2131",cy="\u01F5",uy="\u0393",hy="\u03B3",fy="\u03DC",my="\u03DD",dy="\u2A86",yy="\u011E",gy="\u011F",xy="\u0122",vy="\u011C",py="\u011D",by="\u0413",wy="\u0433",ky="\u0120",Ay="\u0121",Sy="\u2265",Ny="\u2267",Cy="\u2A8C",My="\u22DB",Ty="\u2265",$y="\u2267",Ey="\u2A7E",Ly="\u2AA9",Oy="\u2A7E",jy="\u2A80",Py="\u2A82",Dy="\u2A84",qy="\u22DB\uFE00",Vy="\u2A94",By="\u{1D50A}",Iy="\u{1D524}",Ry="\u226B",Hy="\u22D9",Xy="\u22D9",Yy="\u2137",zy="\u0403",Uy="\u0453",Fy="\u2AA5",Gy="\u2277",Wy="\u2A92",_y="\u2AA4",Ky="\u2A8A",Zy="\u2A8A",Qy="\u2A88",Jy="\u2269",tg="\u2A88",eg="\u2269",ng="\u22E7",ig="\u{1D53E}",rg="\u{1D558}",og="`",sg="\u2265",lg="\u22DB",ag="\u2267",cg="\u2AA2",ug="\u2277",hg="\u2A7E",fg="\u2273",mg="\u{1D4A2}",dg="\u210A",yg="\u2273",gg="\u2A8E",xg="\u2A90",vg="\u2AA7",pg="\u2A7A",bg=">",wg=">",kg="\u226B",Ag="\u22D7",Sg="\u2995",Ng="\u2A7C",Cg="\u2A86",Mg="\u2978",Tg="\u22D7",$g="\u22DB",Eg="\u2A8C",Lg="\u2277",Og="\u2273",jg="\u2269\uFE00",Pg="\u2269\uFE00",Dg="\u02C7",qg="\u200A",Vg="\xBD",Bg="\u210B",Ig="\u042A",Rg="\u044A",Hg="\u2948",Xg="\u2194",Yg="\u21D4",zg="\u21AD",Ug="^",Fg="\u210F",Gg="\u0124",Wg="\u0125",_g="\u2665",Kg="\u2665",Zg="\u2026",Qg="\u22B9",Jg="\u{1D525}",tx="\u210C",ex="\u210B",nx="\u2925",ix="\u2926",rx="\u21FF",ox="\u223B",sx="\u21A9",lx="\u21AA",ax="\u{1D559}",cx="\u210D",ux="\u2015",hx="\u2500",fx="\u{1D4BD}",mx="\u210B",dx="\u210F",yx="\u0126",gx="\u0127",xx="\u224E",vx="\u224F",px="\u2043",bx="\u2010",wx="\xCD",kx="\xED",Ax="\u2063",Sx="\xCE",Nx="\xEE",Cx="\u0418",Mx="\u0438",Tx="\u0130",$x="\u0415",Ex="\u0435",Lx="\xA1",Ox="\u21D4",jx="\u{1D526}",Px="\u2111",Dx="\xCC",qx="\xEC",Vx="\u2148",Bx="\u2A0C",Ix="\u222D",Rx="\u29DC",Hx="\u2129",Xx="\u0132",Yx="\u0133",zx="\u012A",Ux="\u012B",Fx="\u2111",Gx="\u2148",Wx="\u2110",_x="\u2111",Kx="\u0131",Zx="\u2111",Qx="\u22B7",Jx="\u01B5",tv="\u21D2",ev="\u2105",nv="\u221E",iv="\u29DD",rv="\u0131",ov="\u22BA",sv="\u222B",lv="\u222C",av="\u2124",cv="\u222B",uv="\u22BA",hv="\u22C2",fv="\u2A17",mv="\u2A3C",dv="\u2063",yv="\u2062",gv="\u0401",xv="\u0451",vv="\u012E",pv="\u012F",bv="\u{1D540}",wv="\u{1D55A}",kv="\u0399",Av="\u03B9",Sv="\u2A3C",Nv="\xBF",Cv="\u{1D4BE}",Mv="\u2110",Tv="\u2208",$v="\u22F5",Ev="\u22F9",Lv="\u22F4",Ov="\u22F3",jv="\u2208",Pv="\u2062",Dv="\u0128",qv="\u0129",Vv="\u0406",Bv="\u0456",Iv="\xCF",Rv="\xEF",Hv="\u0134",Xv="\u0135",Yv="\u0419",zv="\u0439",Uv="\u{1D50D}",Fv="\u{1D527}",Gv="\u0237",Wv="\u{1D541}",_v="\u{1D55B}",Kv="\u{1D4A5}",Zv="\u{1D4BF}",Qv="\u0408",Jv="\u0458",tp="\u0404",ep="\u0454",np="\u039A",ip="\u03BA",rp="\u03F0",op="\u0136",sp="\u0137",lp="\u041A",ap="\u043A",cp="\u{1D50E}",up="\u{1D528}",hp="\u0138",fp="\u0425",mp="\u0445",dp="\u040C",yp="\u045C",gp="\u{1D542}",xp="\u{1D55C}",vp="\u{1D4A6}",pp="\u{1D4C0}",bp="\u21DA",wp="\u0139",kp="\u013A",Ap="\u29B4",Sp="\u2112",Np="\u039B",Cp="\u03BB",Mp="\u27E8",Tp="\u27EA",$p="\u2991",Ep="\u27E8",Lp="\u2A85",Op="\u2112",jp="\xAB",Pp="\u21E4",Dp="\u291F",qp="\u2190",Vp="\u219E",Bp="\u21D0",Ip="\u291D",Rp="\u21A9",Hp="\u21AB",Xp="\u2939",Yp="\u2973",zp="\u21A2",Up="\u2919",Fp="\u291B",Gp="\u2AAB",Wp="\u2AAD",_p="\u2AAD\uFE00",Kp="\u290C",Zp="\u290E",Qp="\u2772",Jp="{",tb="[",eb="\u298B",nb="\u298F",ib="\u298D",rb="\u013D",ob="\u013E",sb="\u013B",lb="\u013C",ab="\u2308",cb="{",ub="\u041B",hb="\u043B",fb="\u2936",mb="\u201C",db="\u201E",yb="\u2967",gb="\u294B",xb="\u21B2",vb="\u2264",pb="\u2266",bb="\u27E8",wb="\u21E4",kb="\u2190",Ab="\u2190",Sb="\u21D0",Nb="\u21C6",Cb="\u21A2",Mb="\u2308",Tb="\u27E6",$b="\u2961",Eb="\u2959",Lb="\u21C3",Ob="\u230A",jb="\u21BD",Pb="\u21BC",Db="\u21C7",qb="\u2194",Vb="\u2194",Bb="\u21D4",Ib="\u21C6",Rb="\u21CB",Hb="\u21AD",Xb="\u294E",Yb="\u21A4",zb="\u22A3",Ub="\u295A",Fb="\u22CB",Gb="\u29CF",Wb="\u22B2",_b="\u22B4",Kb="\u2951",Zb="\u2960",Qb="\u2958",Jb="\u21BF",tw="\u2952",ew="\u21BC",nw="\u2A8B",iw="\u22DA",rw="\u2264",ow="\u2266",sw="\u2A7D",lw="\u2AA8",aw="\u2A7D",cw="\u2A7F",uw="\u2A81",hw="\u2A83",fw="\u22DA\uFE00",mw="\u2A93",dw="\u2A85",yw="\u22D6",gw="\u22DA",xw="\u2A8B",vw="\u22DA",pw="\u2266",bw="\u2276",ww="\u2276",kw="\u2AA1",Aw="\u2272",Sw="\u2A7D",Nw="\u2272",Cw="\u297C",Mw="\u230A",Tw="\u{1D50F}",$w="\u{1D529}",Ew="\u2276",Lw="\u2A91",Ow="\u2962",jw="\u21BD",Pw="\u21BC",Dw="\u296A",qw="\u2584",Vw="\u0409",Bw="\u0459",Iw="\u21C7",Rw="\u226A",Hw="\u22D8",Xw="\u231E",Yw="\u21DA",zw="\u296B",Uw="\u25FA",Fw="\u013F",Gw="\u0140",Ww="\u23B0",_w="\u23B0",Kw="\u2A89",Zw="\u2A89",Qw="\u2A87",Jw="\u2268",tk="\u2A87",ek="\u2268",nk="\u22E6",ik="\u27EC",rk="\u21FD",ok="\u27E6",sk="\u27F5",lk="\u27F5",ak="\u27F8",ck="\u27F7",uk="\u27F7",hk="\u27FA",fk="\u27FC",mk="\u27F6",dk="\u27F6",yk="\u27F9",gk="\u21AB",xk="\u21AC",vk="\u2985",pk="\u{1D543}",bk="\u{1D55D}",wk="\u2A2D",kk="\u2A34",Ak="\u2217",Sk="_",Nk="\u2199",Ck="\u2198",Mk="\u25CA",Tk="\u25CA",$k="\u29EB",Ek="(",Lk="\u2993",Ok="\u21C6",jk="\u231F",Pk="\u21CB",Dk="\u296D",qk="\u200E",Vk="\u22BF",Bk="\u2039",Ik="\u{1D4C1}",Rk="\u2112",Hk="\u21B0",Xk="\u21B0",Yk="\u2272",zk="\u2A8D",Uk="\u2A8F",Fk="[",Gk="\u2018",Wk="\u201A",_k="\u0141",Kk="\u0142",Zk="\u2AA6",Qk="\u2A79",Jk="<",tA="<",eA="\u226A",nA="\u22D6",iA="\u22CB",rA="\u22C9",oA="\u2976",sA="\u2A7B",lA="\u25C3",aA="\u22B4",cA="\u25C2",uA="\u2996",hA="\u294A",fA="\u2966",mA="\u2268\uFE00",dA="\u2268\uFE00",yA="\xAF",gA="\u2642",xA="\u2720",vA="\u2720",pA="\u21A6",bA="\u21A6",wA="\u21A7",kA="\u21A4",AA="\u21A5",SA="\u25AE",NA="\u2A29",CA="\u041C",MA="\u043C",TA="\u2014",$A="\u223A",EA="\u2221",LA="\u205F",OA="\u2133",jA="\u{1D510}",PA="\u{1D52A}",DA="\u2127",qA="\xB5",VA="*",BA="\u2AF0",IA="\u2223",RA="\xB7",HA="\u229F",XA="\u2212",YA="\u2238",zA="\u2A2A",UA="\u2213",FA="\u2ADB",GA="\u2026",WA="\u2213",_A="\u22A7",KA="\u{1D544}",ZA="\u{1D55E}",QA="\u2213",JA="\u{1D4C2}",tS="\u2133",eS="\u223E",nS="\u039C",iS="\u03BC",rS="\u22B8",oS="\u22B8",sS="\u2207",lS="\u0143",aS="\u0144",cS="\u2220\u20D2",uS="\u2249",hS="\u2A70\u0338",fS="\u224B\u0338",mS="\u0149",dS="\u2249",yS="\u266E",gS="\u2115",xS="\u266E",vS="\xA0",pS="\u224E\u0338",bS="\u224F\u0338",wS="\u2A43",kS="\u0147",AS="\u0148",SS="\u0145",NS="\u0146",CS="\u2247",MS="\u2A6D\u0338",TS="\u2A42",$S="\u041D",ES="\u043D",LS="\u2013",OS="\u2924",jS="\u2197",PS="\u21D7",DS="\u2197",qS="\u2260",VS="\u2250\u0338",BS="\u200B",IS="\u200B",RS="\u200B",HS="\u200B",XS="\u2262",YS="\u2928",zS="\u2242\u0338",US="\u226B",FS="\u226A",GS=`
3
+ `,WS="\u2204",_S="\u2204",KS="\u{1D511}",ZS="\u{1D52B}",QS="\u2267\u0338",JS="\u2271",tN="\u2271",eN="\u2267\u0338",nN="\u2A7E\u0338",iN="\u2A7E\u0338",rN="\u22D9\u0338",oN="\u2275",sN="\u226B\u20D2",lN="\u226F",aN="\u226F",cN="\u226B\u0338",uN="\u21AE",hN="\u21CE",fN="\u2AF2",mN="\u220B",dN="\u22FC",yN="\u22FA",gN="\u220B",xN="\u040A",vN="\u045A",pN="\u219A",bN="\u21CD",wN="\u2025",kN="\u2266\u0338",AN="\u2270",SN="\u219A",NN="\u21CD",CN="\u21AE",MN="\u21CE",TN="\u2270",$N="\u2266\u0338",EN="\u2A7D\u0338",LN="\u2A7D\u0338",ON="\u226E",jN="\u22D8\u0338",PN="\u2274",DN="\u226A\u20D2",qN="\u226E",VN="\u22EA",BN="\u22EC",IN="\u226A\u0338",RN="\u2224",HN="\u2060",XN="\xA0",YN="\u{1D55F}",zN="\u2115",UN="\u2AEC",FN="\xAC",GN="\u2262",WN="\u226D",_N="\u2226",KN="\u2209",ZN="\u2260",QN="\u2242\u0338",JN="\u2204",tC="\u226F",eC="\u2271",nC="\u2267\u0338",iC="\u226B\u0338",rC="\u2279",oC="\u2A7E\u0338",sC="\u2275",lC="\u224E\u0338",aC="\u224F\u0338",cC="\u2209",uC="\u22F5\u0338",hC="\u22F9\u0338",fC="\u2209",mC="\u22F7",dC="\u22F6",yC="\u29CF\u0338",gC="\u22EA",xC="\u22EC",vC="\u226E",pC="\u2270",bC="\u2278",wC="\u226A\u0338",kC="\u2A7D\u0338",AC="\u2274",SC="\u2AA2\u0338",NC="\u2AA1\u0338",CC="\u220C",MC="\u220C",TC="\u22FE",$C="\u22FD",EC="\u2280",LC="\u2AAF\u0338",OC="\u22E0",jC="\u220C",PC="\u29D0\u0338",DC="\u22EB",qC="\u22ED",VC="\u228F\u0338",BC="\u22E2",IC="\u2290\u0338",RC="\u22E3",HC="\u2282\u20D2",XC="\u2288",YC="\u2281",zC="\u2AB0\u0338",UC="\u22E1",FC="\u227F\u0338",GC="\u2283\u20D2",WC="\u2289",_C="\u2241",KC="\u2244",ZC="\u2247",QC="\u2249",JC="\u2224",tM="\u2226",eM="\u2226",nM="\u2AFD\u20E5",iM="\u2202\u0338",rM="\u2A14",oM="\u2280",sM="\u22E0",lM="\u2280",aM="\u2AAF\u0338",cM="\u2AAF\u0338",uM="\u2933\u0338",hM="\u219B",fM="\u21CF",mM="\u219D\u0338",dM="\u219B",yM="\u21CF",gM="\u22EB",xM="\u22ED",vM="\u2281",pM="\u22E1",bM="\u2AB0\u0338",wM="\u{1D4A9}",kM="\u{1D4C3}",AM="\u2224",SM="\u2226",NM="\u2241",CM="\u2244",MM="\u2244",TM="\u2224",$M="\u2226",EM="\u22E2",LM="\u22E3",OM="\u2284",jM="\u2AC5\u0338",PM="\u2288",DM="\u2282\u20D2",qM="\u2288",VM="\u2AC5\u0338",BM="\u2281",IM="\u2AB0\u0338",RM="\u2285",HM="\u2AC6\u0338",XM="\u2289",YM="\u2283\u20D2",zM="\u2289",UM="\u2AC6\u0338",FM="\u2279",GM="\xD1",WM="\xF1",_M="\u2278",KM="\u22EA",ZM="\u22EC",QM="\u22EB",JM="\u22ED",tT="\u039D",eT="\u03BD",nT="#",iT="\u2116",rT="\u2007",oT="\u224D\u20D2",sT="\u22AC",lT="\u22AD",aT="\u22AE",cT="\u22AF",uT="\u2265\u20D2",hT=">\u20D2",fT="\u2904",mT="\u29DE",dT="\u2902",yT="\u2264\u20D2",gT="<\u20D2",xT="\u22B4\u20D2",vT="\u2903",pT="\u22B5\u20D2",bT="\u223C\u20D2",wT="\u2923",kT="\u2196",AT="\u21D6",ST="\u2196",NT="\u2927",CT="\xD3",MT="\xF3",TT="\u229B",$T="\xD4",ET="\xF4",LT="\u229A",OT="\u041E",jT="\u043E",PT="\u229D",DT="\u0150",qT="\u0151",VT="\u2A38",BT="\u2299",IT="\u29BC",RT="\u0152",HT="\u0153",XT="\u29BF",YT="\u{1D512}",zT="\u{1D52C}",UT="\u02DB",FT="\xD2",GT="\xF2",WT="\u29C1",_T="\u29B5",KT="\u03A9",ZT="\u222E",QT="\u21BA",JT="\u29BE",t$="\u29BB",e$="\u203E",n$="\u29C0",i$="\u014C",r$="\u014D",o$="\u03A9",s$="\u03C9",l$="\u039F",a$="\u03BF",c$="\u29B6",u$="\u2296",h$="\u{1D546}",f$="\u{1D560}",m$="\u29B7",d$="\u201C",y$="\u2018",g$="\u29B9",x$="\u2295",v$="\u21BB",p$="\u2A54",b$="\u2228",w$="\u2A5D",k$="\u2134",A$="\u2134",S$="\xAA",N$="\xBA",C$="\u22B6",M$="\u2A56",T$="\u2A57",$$="\u2A5B",E$="\u24C8",L$="\u{1D4AA}",O$="\u2134",j$="\xD8",P$="\xF8",D$="\u2298",q$="\xD5",V$="\xF5",B$="\u2A36",I$="\u2A37",R$="\u2297",H$="\xD6",X$="\xF6",Y$="\u233D",z$="\u203E",U$="\u23DE",F$="\u23B4",G$="\u23DC",W$="\xB6",_$="\u2225",K$="\u2225",Z$="\u2AF3",Q$="\u2AFD",J$="\u2202",tE="\u2202",eE="\u041F",nE="\u043F",iE="%",rE=".",oE="\u2030",sE="\u22A5",lE="\u2031",aE="\u{1D513}",cE="\u{1D52D}",uE="\u03A6",hE="\u03C6",fE="\u03D5",mE="\u2133",dE="\u260E",yE="\u03A0",gE="\u03C0",xE="\u22D4",vE="\u03D6",pE="\u210F",bE="\u210E",wE="\u210F",kE="\u2A23",AE="\u229E",SE="\u2A22",NE="+",CE="\u2214",ME="\u2A25",TE="\u2A72",$E="\xB1",EE="\xB1",LE="\u2A26",OE="\u2A27",jE="\xB1",PE="\u210C",DE="\u2A15",qE="\u{1D561}",VE="\u2119",BE="\xA3",IE="\u2AB7",RE="\u2ABB",HE="\u227A",XE="\u227C",YE="\u2AB7",zE="\u227A",UE="\u227C",FE="\u227A",GE="\u2AAF",WE="\u227C",_E="\u227E",KE="\u2AAF",ZE="\u2AB9",QE="\u2AB5",JE="\u22E8",tL="\u2AAF",eL="\u2AB3",nL="\u227E",iL="\u2032",rL="\u2033",oL="\u2119",sL="\u2AB9",lL="\u2AB5",aL="\u22E8",cL="\u220F",uL="\u220F",hL="\u232E",fL="\u2312",mL="\u2313",dL="\u221D",yL="\u221D",gL="\u2237",xL="\u221D",vL="\u227E",pL="\u22B0",bL="\u{1D4AB}",wL="\u{1D4C5}",kL="\u03A8",AL="\u03C8",SL="\u2008",NL="\u{1D514}",CL="\u{1D52E}",ML="\u2A0C",TL="\u{1D562}",$L="\u211A",EL="\u2057",LL="\u{1D4AC}",OL="\u{1D4C6}",jL="\u210D",PL="\u2A16",DL="?",qL="\u225F",VL='"',BL='"',IL="\u21DB",RL="\u223D\u0331",HL="\u0154",XL="\u0155",YL="\u221A",zL="\u29B3",UL="\u27E9",FL="\u27EB",GL="\u2992",WL="\u29A5",_L="\u27E9",KL="\xBB",ZL="\u2975",QL="\u21E5",JL="\u2920",tO="\u2933",eO="\u2192",nO="\u21A0",iO="\u21D2",rO="\u291E",oO="\u21AA",sO="\u21AC",lO="\u2945",aO="\u2974",cO="\u2916",uO="\u21A3",hO="\u219D",fO="\u291A",mO="\u291C",dO="\u2236",yO="\u211A",gO="\u290D",xO="\u290F",vO="\u2910",pO="\u2773",bO="}",wO="]",kO="\u298C",AO="\u298E",SO="\u2990",NO="\u0158",CO="\u0159",MO="\u0156",TO="\u0157",$O="\u2309",EO="}",LO="\u0420",OO="\u0440",jO="\u2937",PO="\u2969",DO="\u201D",qO="\u201D",VO="\u21B3",BO="\u211C",IO="\u211B",RO="\u211C",HO="\u211D",XO="\u211C",YO="\u25AD",zO="\xAE",UO="\xAE",FO="\u220B",GO="\u21CB",WO="\u296F",_O="\u297D",KO="\u230B",ZO="\u{1D52F}",QO="\u211C",JO="\u2964",tj="\u21C1",ej="\u21C0",nj="\u296C",ij="\u03A1",rj="\u03C1",oj="\u03F1",sj="\u27E9",lj="\u21E5",aj="\u2192",cj="\u2192",uj="\u21D2",hj="\u21C4",fj="\u21A3",mj="\u2309",dj="\u27E7",yj="\u295D",gj="\u2955",xj="\u21C2",vj="\u230B",pj="\u21C1",bj="\u21C0",wj="\u21C4",kj="\u21CC",Aj="\u21C9",Sj="\u219D",Nj="\u21A6",Cj="\u22A2",Mj="\u295B",Tj="\u22CC",$j="\u29D0",Ej="\u22B3",Lj="\u22B5",Oj="\u294F",jj="\u295C",Pj="\u2954",Dj="\u21BE",qj="\u2953",Vj="\u21C0",Bj="\u02DA",Ij="\u2253",Rj="\u21C4",Hj="\u21CC",Xj="\u200F",Yj="\u23B1",zj="\u23B1",Uj="\u2AEE",Fj="\u27ED",Gj="\u21FE",Wj="\u27E7",_j="\u2986",Kj="\u{1D563}",Zj="\u211D",Qj="\u2A2E",Jj="\u2A35",tP="\u2970",eP=")",nP="\u2994",iP="\u2A12",rP="\u21C9",oP="\u21DB",sP="\u203A",lP="\u{1D4C7}",aP="\u211B",cP="\u21B1",uP="\u21B1",hP="]",fP="\u2019",mP="\u2019",dP="\u22CC",yP="\u22CA",gP="\u25B9",xP="\u22B5",vP="\u25B8",pP="\u29CE",bP="\u29F4",wP="\u2968",kP="\u211E",AP="\u015A",SP="\u015B",NP="\u201A",CP="\u2AB8",MP="\u0160",TP="\u0161",$P="\u2ABC",EP="\u227B",LP="\u227D",OP="\u2AB0",jP="\u2AB4",PP="\u015E",DP="\u015F",qP="\u015C",VP="\u015D",BP="\u2ABA",IP="\u2AB6",RP="\u22E9",HP="\u2A13",XP="\u227F",YP="\u0421",zP="\u0441",UP="\u22A1",FP="\u22C5",GP="\u2A66",WP="\u2925",_P="\u2198",KP="\u21D8",ZP="\u2198",QP="\xA7",JP=";",tD="\u2929",eD="\u2216",nD="\u2216",iD="\u2736",rD="\u{1D516}",oD="\u{1D530}",sD="\u2322",lD="\u266F",aD="\u0429",cD="\u0449",uD="\u0428",hD="\u0448",fD="\u2193",mD="\u2190",dD="\u2223",yD="\u2225",gD="\u2192",xD="\u2191",vD="\xAD",pD="\u03A3",bD="\u03C3",wD="\u03C2",kD="\u03C2",AD="\u223C",SD="\u2A6A",ND="\u2243",CD="\u2243",MD="\u2A9E",TD="\u2AA0",$D="\u2A9D",ED="\u2A9F",LD="\u2246",OD="\u2A24",jD="\u2972",PD="\u2190",DD="\u2218",qD="\u2216",VD="\u2A33",BD="\u29E4",ID="\u2223",RD="\u2323",HD="\u2AAA",XD="\u2AAC",YD="\u2AAC\uFE00",zD="\u042C",UD="\u044C",FD="\u233F",GD="\u29C4",WD="/",_D="\u{1D54A}",KD="\u{1D564}",ZD="\u2660",QD="\u2660",JD="\u2225",tq="\u2293",eq="\u2293\uFE00",nq="\u2294",iq="\u2294\uFE00",rq="\u221A",oq="\u228F",sq="\u2291",lq="\u228F",aq="\u2291",cq="\u2290",uq="\u2292",hq="\u2290",fq="\u2292",mq="\u25A1",dq="\u25A1",yq="\u2293",gq="\u228F",xq="\u2291",vq="\u2290",pq="\u2292",bq="\u2294",wq="\u25AA",kq="\u25A1",Aq="\u25AA",Sq="\u2192",Nq="\u{1D4AE}",Cq="\u{1D4C8}",Mq="\u2216",Tq="\u2323",$q="\u22C6",Eq="\u22C6",Lq="\u2606",Oq="\u2605",jq="\u03F5",Pq="\u03D5",Dq="\xAF",qq="\u2282",Vq="\u22D0",Bq="\u2ABD",Iq="\u2AC5",Rq="\u2286",Hq="\u2AC3",Xq="\u2AC1",Yq="\u2ACB",zq="\u228A",Uq="\u2ABF",Fq="\u2979",Gq="\u2282",Wq="\u22D0",_q="\u2286",Kq="\u2AC5",Zq="\u2286",Qq="\u228A",Jq="\u2ACB",tV="\u2AC7",eV="\u2AD5",nV="\u2AD3",iV="\u2AB8",rV="\u227B",oV="\u227D",sV="\u227B",lV="\u2AB0",aV="\u227D",cV="\u227F",uV="\u2AB0",hV="\u2ABA",fV="\u2AB6",mV="\u22E9",dV="\u227F",yV="\u220B",gV="\u2211",xV="\u2211",vV="\u266A",pV="\xB9",bV="\xB2",wV="\xB3",kV="\u2283",AV="\u22D1",SV="\u2ABE",NV="\u2AD8",CV="\u2AC6",MV="\u2287",TV="\u2AC4",$V="\u2283",EV="\u2287",LV="\u27C9",OV="\u2AD7",jV="\u297B",PV="\u2AC2",DV="\u2ACC",qV="\u228B",VV="\u2AC0",BV="\u2283",IV="\u22D1",RV="\u2287",HV="\u2AC6",XV="\u228B",YV="\u2ACC",zV="\u2AC8",UV="\u2AD4",FV="\u2AD6",GV="\u2926",WV="\u2199",_V="\u21D9",KV="\u2199",ZV="\u292A",QV="\xDF",JV=" ",tB="\u2316",eB="\u03A4",nB="\u03C4",iB="\u23B4",rB="\u0164",oB="\u0165",sB="\u0162",lB="\u0163",aB="\u0422",cB="\u0442",uB="\u20DB",hB="\u2315",fB="\u{1D517}",mB="\u{1D531}",dB="\u2234",yB="\u2234",gB="\u2234",xB="\u0398",vB="\u03B8",pB="\u03D1",bB="\u03D1",wB="\u2248",kB="\u223C",AB="\u205F\u200A",SB="\u2009",NB="\u2009",CB="\u2248",MB="\u223C",TB="\xDE",$B="\xFE",EB="\u02DC",LB="\u223C",OB="\u2243",jB="\u2245",PB="\u2248",DB="\u2A31",qB="\u22A0",VB="\xD7",BB="\u2A30",IB="\u222D",RB="\u2928",HB="\u2336",XB="\u2AF1",YB="\u22A4",zB="\u{1D54B}",UB="\u{1D565}",FB="\u2ADA",GB="\u2929",WB="\u2034",_B="\u2122",KB="\u2122",ZB="\u25B5",QB="\u25BF",JB="\u25C3",tI="\u22B4",eI="\u225C",nI="\u25B9",iI="\u22B5",rI="\u25EC",oI="\u225C",sI="\u2A3A",lI="\u20DB",aI="\u2A39",cI="\u29CD",uI="\u2A3B",hI="\u23E2",fI="\u{1D4AF}",mI="\u{1D4C9}",dI="\u0426",yI="\u0446",gI="\u040B",xI="\u045B",vI="\u0166",pI="\u0167",bI="\u226C",wI="\u219E",kI="\u21A0",AI="\xDA",SI="\xFA",NI="\u2191",CI="\u219F",MI="\u21D1",TI="\u2949",$I="\u040E",EI="\u045E",LI="\u016C",OI="\u016D",jI="\xDB",PI="\xFB",DI="\u0423",qI="\u0443",VI="\u21C5",BI="\u0170",II="\u0171",RI="\u296E",HI="\u297E",XI="\u{1D518}",YI="\u{1D532}",zI="\xD9",UI="\xF9",FI="\u2963",GI="\u21BF",WI="\u21BE",_I="\u2580",KI="\u231C",ZI="\u231C",QI="\u230F",JI="\u25F8",tR="\u016A",eR="\u016B",nR="\xA8",iR="_",rR="\u23DF",oR="\u23B5",sR="\u23DD",lR="\u22C3",aR="\u228E",cR="\u0172",uR="\u0173",hR="\u{1D54C}",fR="\u{1D566}",mR="\u2912",dR="\u2191",yR="\u2191",gR="\u21D1",xR="\u21C5",vR="\u2195",pR="\u2195",bR="\u21D5",wR="\u296E",kR="\u21BF",AR="\u21BE",SR="\u228E",NR="\u2196",CR="\u2197",MR="\u03C5",TR="\u03D2",$R="\u03D2",ER="\u03A5",LR="\u03C5",OR="\u21A5",jR="\u22A5",PR="\u21C8",DR="\u231D",qR="\u231D",VR="\u230E",BR="\u016E",IR="\u016F",RR="\u25F9",HR="\u{1D4B0}",XR="\u{1D4CA}",YR="\u22F0",zR="\u0168",UR="\u0169",FR="\u25B5",GR="\u25B4",WR="\u21C8",_R="\xDC",KR="\xFC",ZR="\u29A7",QR="\u299C",JR="\u03F5",tH="\u03F0",eH="\u2205",nH="\u03D5",iH="\u03D6",rH="\u221D",oH="\u2195",sH="\u21D5",lH="\u03F1",aH="\u03C2",cH="\u228A\uFE00",uH="\u2ACB\uFE00",hH="\u228B\uFE00",fH="\u2ACC\uFE00",mH="\u03D1",dH="\u22B2",yH="\u22B3",gH="\u2AE8",xH="\u2AEB",vH="\u2AE9",pH="\u0412",bH="\u0432",wH="\u22A2",kH="\u22A8",AH="\u22A9",SH="\u22AB",NH="\u2AE6",CH="\u22BB",MH="\u2228",TH="\u22C1",$H="\u225A",EH="\u22EE",LH="|",OH="\u2016",jH="|",PH="\u2016",DH="\u2223",qH="|",VH="\u2758",BH="\u2240",IH="\u200A",RH="\u{1D519}",HH="\u{1D533}",XH="\u22B2",YH="\u2282\u20D2",zH="\u2283\u20D2",UH="\u{1D54D}",FH="\u{1D567}",GH="\u221D",WH="\u22B3",_H="\u{1D4B1}",KH="\u{1D4CB}",ZH="\u2ACB\uFE00",QH="\u228A\uFE00",JH="\u2ACC\uFE00",tX="\u228B\uFE00",eX="\u22AA",nX="\u299A",iX="\u0174",rX="\u0175",oX="\u2A5F",sX="\u2227",lX="\u22C0",aX="\u2259",cX="\u2118",uX="\u{1D51A}",hX="\u{1D534}",fX="\u{1D54E}",mX="\u{1D568}",dX="\u2118",yX="\u2240",gX="\u2240",xX="\u{1D4B2}",vX="\u{1D4CC}",pX="\u22C2",bX="\u25EF",wX="\u22C3",kX="\u25BD",AX="\u{1D51B}",SX="\u{1D535}",NX="\u27F7",CX="\u27FA",MX="\u039E",TX="\u03BE",$X="\u27F5",EX="\u27F8",LX="\u27FC",OX="\u22FB",jX="\u2A00",PX="\u{1D54F}",DX="\u{1D569}",qX="\u2A01",VX="\u2A02",BX="\u27F6",IX="\u27F9",RX="\u{1D4B3}",HX="\u{1D4CD}",XX="\u2A06",YX="\u2A04",zX="\u25B3",UX="\u22C1",FX="\u22C0",GX="\xDD",WX="\xFD",_X="\u042F",KX="\u044F",ZX="\u0176",QX="\u0177",JX="\u042B",tY="\u044B",eY="\xA5",nY="\u{1D51C}",iY="\u{1D536}",rY="\u0407",oY="\u0457",sY="\u{1D550}",lY="\u{1D56A}",aY="\u{1D4B4}",cY="\u{1D4CE}",uY="\u042E",hY="\u044E",fY="\xFF",mY="\u0178",dY="\u0179",yY="\u017A",gY="\u017D",xY="\u017E",vY="\u0417",pY="\u0437",bY="\u017B",wY="\u017C",kY="\u2128",AY="\u200B",SY="\u0396",NY="\u03B6",CY="\u{1D537}",MY="\u2128",TY="\u0416",$Y="\u0436",EY="\u21DD",LY="\u{1D56B}",OY="\u2124",jY="\u{1D4B5}",PY="\u{1D4CF}",DY="\u200D",qY="\u200C",vs={Aacute:p9,aacute:b9,Abreve:w9,abreve:k9,ac:A9,acd:S9,acE:N9,Acirc:C9,acirc:M9,acute:T9,Acy:$9,acy:E9,AElig:L9,aelig:O9,af:j9,Afr:P9,afr:D9,Agrave:q9,agrave:V9,alefsym:B9,aleph:I9,Alpha:R9,alpha:H9,Amacr:X9,amacr:Y9,amalg:z9,amp:U9,AMP:F9,andand:G9,And:W9,and:_9,andd:K9,andslope:Z9,andv:Q9,ang:J9,ange:t8,angle:e8,angmsdaa:n8,angmsdab:i8,angmsdac:r8,angmsdad:o8,angmsdae:s8,angmsdaf:l8,angmsdag:a8,angmsdah:c8,angmsd:u8,angrt:h8,angrtvb:f8,angrtvbd:m8,angsph:d8,angst:y8,angzarr:g8,Aogon:x8,aogon:v8,Aopf:p8,aopf:b8,apacir:w8,ap:k8,apE:A8,ape:S8,apid:N8,apos:C8,ApplyFunction:M8,approx:T8,approxeq:$8,Aring:E8,aring:L8,Ascr:O8,ascr:j8,Assign:P8,ast:D8,asymp:q8,asympeq:V8,Atilde:B8,atilde:I8,Auml:R8,auml:H8,awconint:X8,awint:Y8,backcong:z8,backepsilon:U8,backprime:F8,backsim:G8,backsimeq:W8,Backslash:_8,Barv:K8,barvee:Z8,barwed:Q8,Barwed:J8,barwedge:t5,bbrk:e5,bbrktbrk:n5,bcong:i5,Bcy:r5,bcy:o5,bdquo:s5,becaus:l5,because:a5,Because:c5,bemptyv:u5,bepsi:h5,bernou:f5,Bernoullis:m5,Beta:d5,beta:y5,beth:g5,between:x5,Bfr:v5,bfr:p5,bigcap:b5,bigcirc:w5,bigcup:k5,bigodot:A5,bigoplus:S5,bigotimes:N5,bigsqcup:C5,bigstar:M5,bigtriangledown:T5,bigtriangleup:$5,biguplus:E5,bigvee:L5,bigwedge:O5,bkarow:j5,blacklozenge:P5,blacksquare:D5,blacktriangle:q5,blacktriangledown:V5,blacktriangleleft:B5,blacktriangleright:I5,blank:R5,blk12:H5,blk14:X5,blk34:Y5,block:z5,bne:U5,bnequiv:F5,bNot:G5,bnot:W5,Bopf:_5,bopf:K5,bot:Z5,bottom:Q5,bowtie:J5,boxbox:t6,boxdl:e6,boxdL:n6,boxDl:i6,boxDL:r6,boxdr:o6,boxdR:s6,boxDr:l6,boxDR:a6,boxh:c6,boxH:u6,boxhd:h6,boxHd:f6,boxhD:m6,boxHD:d6,boxhu:y6,boxHu:g6,boxhU:x6,boxHU:v6,boxminus:p6,boxplus:b6,boxtimes:w6,boxul:k6,boxuL:A6,boxUl:S6,boxUL:N6,boxur:C6,boxuR:M6,boxUr:T6,boxUR:$6,boxv:E6,boxV:L6,boxvh:O6,boxvH:j6,boxVh:P6,boxVH:D6,boxvl:q6,boxvL:V6,boxVl:B6,boxVL:I6,boxvr:R6,boxvR:H6,boxVr:X6,boxVR:Y6,bprime:z6,breve:U6,Breve:F6,brvbar:G6,bscr:W6,Bscr:_6,bsemi:K6,bsim:Z6,bsime:Q6,bsolb:J6,bsol:t7,bsolhsub:e7,bull:n7,bullet:i7,bump:r7,bumpE:o7,bumpe:s7,Bumpeq:l7,bumpeq:a7,Cacute:c7,cacute:u7,capand:h7,capbrcup:f7,capcap:m7,cap:d7,Cap:y7,capcup:g7,capdot:x7,CapitalDifferentialD:v7,caps:p7,caret:b7,caron:w7,Cayleys:k7,ccaps:A7,Ccaron:S7,ccaron:N7,Ccedil:C7,ccedil:M7,Ccirc:T7,ccirc:$7,Cconint:E7,ccups:L7,ccupssm:O7,Cdot:j7,cdot:P7,cedil:D7,Cedilla:q7,cemptyv:V7,cent:B7,centerdot:I7,CenterDot:R7,cfr:H7,Cfr:X7,CHcy:Y7,chcy:z7,check:U7,checkmark:F7,Chi:G7,chi:W7,circ:_7,circeq:K7,circlearrowleft:Z7,circlearrowright:Q7,circledast:J7,circledcirc:th,circleddash:eh,CircleDot:nh,circledR:ih,circledS:rh,CircleMinus:oh,CirclePlus:sh,CircleTimes:lh,cir:ah,cirE:ch,cire:uh,cirfnint:hh,cirmid:fh,cirscir:mh,ClockwiseContourIntegral:dh,CloseCurlyDoubleQuote:yh,CloseCurlyQuote:gh,clubs:xh,clubsuit:vh,colon:ph,Colon:bh,Colone:wh,colone:kh,coloneq:Ah,comma:Sh,commat:Nh,comp:Ch,compfn:Mh,complement:Th,complexes:$h,cong:Eh,congdot:Lh,Congruent:Oh,conint:jh,Conint:Ph,ContourIntegral:Dh,copf:qh,Copf:Vh,coprod:Bh,Coproduct:Ih,copy:Rh,COPY:Hh,copysr:Xh,CounterClockwiseContourIntegral:Yh,crarr:zh,cross:Uh,Cross:Fh,Cscr:Gh,cscr:Wh,csub:_h,csube:Kh,csup:Zh,csupe:Qh,ctdot:Jh,cudarrl:t3,cudarrr:e3,cuepr:n3,cuesc:i3,cularr:r3,cularrp:o3,cupbrcap:s3,cupcap:l3,CupCap:a3,cup:c3,Cup:u3,cupcup:h3,cupdot:f3,cupor:m3,cups:d3,curarr:y3,curarrm:g3,curlyeqprec:x3,curlyeqsucc:v3,curlyvee:p3,curlywedge:b3,curren:w3,curvearrowleft:k3,curvearrowright:A3,cuvee:S3,cuwed:N3,cwconint:C3,cwint:M3,cylcty:T3,dagger:$3,Dagger:E3,daleth:L3,darr:O3,Darr:j3,dArr:P3,dash:D3,Dashv:q3,dashv:V3,dbkarow:B3,dblac:I3,Dcaron:R3,dcaron:H3,Dcy:X3,dcy:Y3,ddagger:z3,ddarr:U3,DD:F3,dd:G3,DDotrahd:W3,ddotseq:_3,deg:K3,Del:Z3,Delta:Q3,delta:J3,demptyv:tf,dfisht:ef,Dfr:nf,dfr:rf,dHar:of,dharl:sf,dharr:lf,DiacriticalAcute:af,DiacriticalDot:cf,DiacriticalDoubleAcute:uf,DiacriticalGrave:hf,DiacriticalTilde:ff,diam:mf,diamond:df,Diamond:yf,diamondsuit:gf,diams:xf,die:vf,DifferentialD:pf,digamma:bf,disin:wf,div:kf,divide:Af,divideontimes:Sf,divonx:Nf,DJcy:Cf,djcy:Mf,dlcorn:Tf,dlcrop:$f,dollar:Ef,Dopf:Lf,dopf:Of,Dot:jf,dot:Pf,DotDot:Df,doteq:qf,doteqdot:Vf,DotEqual:Bf,dotminus:If,dotplus:Rf,dotsquare:Hf,doublebarwedge:Xf,DoubleContourIntegral:Yf,DoubleDot:zf,DoubleDownArrow:Uf,DoubleLeftArrow:Ff,DoubleLeftRightArrow:Gf,DoubleLeftTee:Wf,DoubleLongLeftArrow:_f,DoubleLongLeftRightArrow:Kf,DoubleLongRightArrow:Zf,DoubleRightArrow:Qf,DoubleRightTee:Jf,DoubleUpArrow:tm,DoubleUpDownArrow:em,DoubleVerticalBar:nm,DownArrowBar:im,downarrow:rm,DownArrow:om,Downarrow:sm,DownArrowUpArrow:lm,DownBreve:am,downdownarrows:cm,downharpoonleft:um,downharpoonright:hm,DownLeftRightVector:fm,DownLeftTeeVector:mm,DownLeftVectorBar:dm,DownLeftVector:ym,DownRightTeeVector:gm,DownRightVectorBar:xm,DownRightVector:vm,DownTeeArrow:pm,DownTee:bm,drbkarow:wm,drcorn:km,drcrop:Am,Dscr:Sm,dscr:Nm,DScy:Cm,dscy:Mm,dsol:Tm,Dstrok:$m,dstrok:Em,dtdot:Lm,dtri:Om,dtrif:jm,duarr:Pm,duhar:Dm,dwangle:qm,DZcy:Vm,dzcy:Bm,dzigrarr:Im,Eacute:Rm,eacute:Hm,easter:Xm,Ecaron:Ym,ecaron:zm,Ecirc:Um,ecirc:Fm,ecir:Gm,ecolon:Wm,Ecy:_m,ecy:Km,eDDot:Zm,Edot:Qm,edot:Jm,eDot:td,ee:ed,efDot:nd,Efr:id,efr:rd,eg:od,Egrave:sd,egrave:ld,egs:ad,egsdot:cd,el:ud,Element:hd,elinters:fd,ell:md,els:dd,elsdot:yd,Emacr:gd,emacr:xd,empty:vd,emptyset:pd,EmptySmallSquare:bd,emptyv:wd,EmptyVerySmallSquare:kd,emsp13:Ad,emsp14:Sd,emsp:Nd,ENG:Cd,eng:Md,ensp:Td,Eogon:$d,eogon:Ed,Eopf:Ld,eopf:Od,epar:jd,eparsl:Pd,eplus:Dd,epsi:qd,Epsilon:Vd,epsilon:Bd,epsiv:Id,eqcirc:Rd,eqcolon:Hd,eqsim:Xd,eqslantgtr:Yd,eqslantless:zd,Equal:Ud,equals:Fd,EqualTilde:Gd,equest:Wd,Equilibrium:_d,equiv:Kd,equivDD:Zd,eqvparsl:Qd,erarr:Jd,erDot:t4,escr:e4,Escr:n4,esdot:i4,Esim:r4,esim:o4,Eta:s4,eta:l4,ETH:a4,eth:c4,Euml:u4,euml:h4,euro:f4,excl:m4,exist:d4,Exists:y4,expectation:g4,exponentiale:x4,ExponentialE:v4,fallingdotseq:p4,Fcy:b4,fcy:w4,female:k4,ffilig:A4,fflig:S4,ffllig:N4,Ffr:C4,ffr:M4,filig:T4,FilledSmallSquare:$4,FilledVerySmallSquare:E4,fjlig:L4,flat:O4,fllig:j4,fltns:P4,fnof:D4,Fopf:q4,fopf:V4,forall:B4,ForAll:I4,fork:R4,forkv:H4,Fouriertrf:X4,fpartint:Y4,frac12:z4,frac13:U4,frac14:F4,frac15:G4,frac16:W4,frac18:_4,frac23:K4,frac25:Z4,frac34:Q4,frac35:J4,frac38:ty,frac45:ey,frac56:ny,frac58:iy,frac78:ry,frasl:oy,frown:sy,fscr:ly,Fscr:ay,gacute:cy,Gamma:uy,gamma:hy,Gammad:fy,gammad:my,gap:dy,Gbreve:yy,gbreve:gy,Gcedil:xy,Gcirc:vy,gcirc:py,Gcy:by,gcy:wy,Gdot:ky,gdot:Ay,ge:Sy,gE:Ny,gEl:Cy,gel:My,geq:Ty,geqq:$y,geqslant:Ey,gescc:Ly,ges:Oy,gesdot:jy,gesdoto:Py,gesdotol:Dy,gesl:qy,gesles:Vy,Gfr:By,gfr:Iy,gg:Ry,Gg:Hy,ggg:Xy,gimel:Yy,GJcy:zy,gjcy:Uy,gla:Fy,gl:Gy,glE:Wy,glj:_y,gnap:Ky,gnapprox:Zy,gne:Qy,gnE:Jy,gneq:tg,gneqq:eg,gnsim:ng,Gopf:ig,gopf:rg,grave:og,GreaterEqual:sg,GreaterEqualLess:lg,GreaterFullEqual:ag,GreaterGreater:cg,GreaterLess:ug,GreaterSlantEqual:hg,GreaterTilde:fg,Gscr:mg,gscr:dg,gsim:yg,gsime:gg,gsiml:xg,gtcc:vg,gtcir:pg,gt:bg,GT:wg,Gt:kg,gtdot:Ag,gtlPar:Sg,gtquest:Ng,gtrapprox:Cg,gtrarr:Mg,gtrdot:Tg,gtreqless:$g,gtreqqless:Eg,gtrless:Lg,gtrsim:Og,gvertneqq:jg,gvnE:Pg,Hacek:Dg,hairsp:qg,half:Vg,hamilt:Bg,HARDcy:Ig,hardcy:Rg,harrcir:Hg,harr:Xg,hArr:Yg,harrw:zg,Hat:Ug,hbar:Fg,Hcirc:Gg,hcirc:Wg,hearts:_g,heartsuit:Kg,hellip:Zg,hercon:Qg,hfr:Jg,Hfr:tx,HilbertSpace:ex,hksearow:nx,hkswarow:ix,hoarr:rx,homtht:ox,hookleftarrow:sx,hookrightarrow:lx,hopf:ax,Hopf:cx,horbar:ux,HorizontalLine:hx,hscr:fx,Hscr:mx,hslash:dx,Hstrok:yx,hstrok:gx,HumpDownHump:xx,HumpEqual:vx,hybull:px,hyphen:bx,Iacute:wx,iacute:kx,ic:Ax,Icirc:Sx,icirc:Nx,Icy:Cx,icy:Mx,Idot:Tx,IEcy:$x,iecy:Ex,iexcl:Lx,iff:Ox,ifr:jx,Ifr:Px,Igrave:Dx,igrave:qx,ii:Vx,iiiint:Bx,iiint:Ix,iinfin:Rx,iiota:Hx,IJlig:Xx,ijlig:Yx,Imacr:zx,imacr:Ux,image:Fx,ImaginaryI:Gx,imagline:Wx,imagpart:_x,imath:Kx,Im:Zx,imof:Qx,imped:Jx,Implies:tv,incare:ev,in:"\u2208",infin:nv,infintie:iv,inodot:rv,intcal:ov,int:sv,Int:lv,integers:av,Integral:cv,intercal:uv,Intersection:hv,intlarhk:fv,intprod:mv,InvisibleComma:dv,InvisibleTimes:yv,IOcy:gv,iocy:xv,Iogon:vv,iogon:pv,Iopf:bv,iopf:wv,Iota:kv,iota:Av,iprod:Sv,iquest:Nv,iscr:Cv,Iscr:Mv,isin:Tv,isindot:$v,isinE:Ev,isins:Lv,isinsv:Ov,isinv:jv,it:Pv,Itilde:Dv,itilde:qv,Iukcy:Vv,iukcy:Bv,Iuml:Iv,iuml:Rv,Jcirc:Hv,jcirc:Xv,Jcy:Yv,jcy:zv,Jfr:Uv,jfr:Fv,jmath:Gv,Jopf:Wv,jopf:_v,Jscr:Kv,jscr:Zv,Jsercy:Qv,jsercy:Jv,Jukcy:tp,jukcy:ep,Kappa:np,kappa:ip,kappav:rp,Kcedil:op,kcedil:sp,Kcy:lp,kcy:ap,Kfr:cp,kfr:up,kgreen:hp,KHcy:fp,khcy:mp,KJcy:dp,kjcy:yp,Kopf:gp,kopf:xp,Kscr:vp,kscr:pp,lAarr:bp,Lacute:wp,lacute:kp,laemptyv:Ap,lagran:Sp,Lambda:Np,lambda:Cp,lang:Mp,Lang:Tp,langd:$p,langle:Ep,lap:Lp,Laplacetrf:Op,laquo:jp,larrb:Pp,larrbfs:Dp,larr:qp,Larr:Vp,lArr:Bp,larrfs:Ip,larrhk:Rp,larrlp:Hp,larrpl:Xp,larrsim:Yp,larrtl:zp,latail:Up,lAtail:Fp,lat:Gp,late:Wp,lates:_p,lbarr:Kp,lBarr:Zp,lbbrk:Qp,lbrace:Jp,lbrack:tb,lbrke:eb,lbrksld:nb,lbrkslu:ib,Lcaron:rb,lcaron:ob,Lcedil:sb,lcedil:lb,lceil:ab,lcub:cb,Lcy:ub,lcy:hb,ldca:fb,ldquo:mb,ldquor:db,ldrdhar:yb,ldrushar:gb,ldsh:xb,le:vb,lE:pb,LeftAngleBracket:bb,LeftArrowBar:wb,leftarrow:kb,LeftArrow:Ab,Leftarrow:Sb,LeftArrowRightArrow:Nb,leftarrowtail:Cb,LeftCeiling:Mb,LeftDoubleBracket:Tb,LeftDownTeeVector:$b,LeftDownVectorBar:Eb,LeftDownVector:Lb,LeftFloor:Ob,leftharpoondown:jb,leftharpoonup:Pb,leftleftarrows:Db,leftrightarrow:qb,LeftRightArrow:Vb,Leftrightarrow:Bb,leftrightarrows:Ib,leftrightharpoons:Rb,leftrightsquigarrow:Hb,LeftRightVector:Xb,LeftTeeArrow:Yb,LeftTee:zb,LeftTeeVector:Ub,leftthreetimes:Fb,LeftTriangleBar:Gb,LeftTriangle:Wb,LeftTriangleEqual:_b,LeftUpDownVector:Kb,LeftUpTeeVector:Zb,LeftUpVectorBar:Qb,LeftUpVector:Jb,LeftVectorBar:tw,LeftVector:ew,lEg:nw,leg:iw,leq:rw,leqq:ow,leqslant:sw,lescc:lw,les:aw,lesdot:cw,lesdoto:uw,lesdotor:hw,lesg:fw,lesges:mw,lessapprox:dw,lessdot:yw,lesseqgtr:gw,lesseqqgtr:xw,LessEqualGreater:vw,LessFullEqual:pw,LessGreater:bw,lessgtr:ww,LessLess:kw,lesssim:Aw,LessSlantEqual:Sw,LessTilde:Nw,lfisht:Cw,lfloor:Mw,Lfr:Tw,lfr:$w,lg:Ew,lgE:Lw,lHar:Ow,lhard:jw,lharu:Pw,lharul:Dw,lhblk:qw,LJcy:Vw,ljcy:Bw,llarr:Iw,ll:Rw,Ll:Hw,llcorner:Xw,Lleftarrow:Yw,llhard:zw,lltri:Uw,Lmidot:Fw,lmidot:Gw,lmoustache:Ww,lmoust:_w,lnap:Kw,lnapprox:Zw,lne:Qw,lnE:Jw,lneq:tk,lneqq:ek,lnsim:nk,loang:ik,loarr:rk,lobrk:ok,longleftarrow:sk,LongLeftArrow:lk,Longleftarrow:ak,longleftrightarrow:ck,LongLeftRightArrow:uk,Longleftrightarrow:hk,longmapsto:fk,longrightarrow:mk,LongRightArrow:dk,Longrightarrow:yk,looparrowleft:gk,looparrowright:xk,lopar:vk,Lopf:pk,lopf:bk,loplus:wk,lotimes:kk,lowast:Ak,lowbar:Sk,LowerLeftArrow:Nk,LowerRightArrow:Ck,loz:Mk,lozenge:Tk,lozf:$k,lpar:Ek,lparlt:Lk,lrarr:Ok,lrcorner:jk,lrhar:Pk,lrhard:Dk,lrm:qk,lrtri:Vk,lsaquo:Bk,lscr:Ik,Lscr:Rk,lsh:Hk,Lsh:Xk,lsim:Yk,lsime:zk,lsimg:Uk,lsqb:Fk,lsquo:Gk,lsquor:Wk,Lstrok:_k,lstrok:Kk,ltcc:Zk,ltcir:Qk,lt:Jk,LT:tA,Lt:eA,ltdot:nA,lthree:iA,ltimes:rA,ltlarr:oA,ltquest:sA,ltri:lA,ltrie:aA,ltrif:cA,ltrPar:uA,lurdshar:hA,luruhar:fA,lvertneqq:mA,lvnE:dA,macr:yA,male:gA,malt:xA,maltese:vA,Map:"\u2905",map:pA,mapsto:bA,mapstodown:wA,mapstoleft:kA,mapstoup:AA,marker:SA,mcomma:NA,Mcy:CA,mcy:MA,mdash:TA,mDDot:$A,measuredangle:EA,MediumSpace:LA,Mellintrf:OA,Mfr:jA,mfr:PA,mho:DA,micro:qA,midast:VA,midcir:BA,mid:IA,middot:RA,minusb:HA,minus:XA,minusd:YA,minusdu:zA,MinusPlus:UA,mlcp:FA,mldr:GA,mnplus:WA,models:_A,Mopf:KA,mopf:ZA,mp:QA,mscr:JA,Mscr:tS,mstpos:eS,Mu:nS,mu:iS,multimap:rS,mumap:oS,nabla:sS,Nacute:lS,nacute:aS,nang:cS,nap:uS,napE:hS,napid:fS,napos:mS,napprox:dS,natural:yS,naturals:gS,natur:xS,nbsp:vS,nbump:pS,nbumpe:bS,ncap:wS,Ncaron:kS,ncaron:AS,Ncedil:SS,ncedil:NS,ncong:CS,ncongdot:MS,ncup:TS,Ncy:$S,ncy:ES,ndash:LS,nearhk:OS,nearr:jS,neArr:PS,nearrow:DS,ne:qS,nedot:VS,NegativeMediumSpace:BS,NegativeThickSpace:IS,NegativeThinSpace:RS,NegativeVeryThinSpace:HS,nequiv:XS,nesear:YS,nesim:zS,NestedGreaterGreater:US,NestedLessLess:FS,NewLine:GS,nexist:WS,nexists:_S,Nfr:KS,nfr:ZS,ngE:QS,nge:JS,ngeq:tN,ngeqq:eN,ngeqslant:nN,nges:iN,nGg:rN,ngsim:oN,nGt:sN,ngt:lN,ngtr:aN,nGtv:cN,nharr:uN,nhArr:hN,nhpar:fN,ni:mN,nis:dN,nisd:yN,niv:gN,NJcy:xN,njcy:vN,nlarr:pN,nlArr:bN,nldr:wN,nlE:kN,nle:AN,nleftarrow:SN,nLeftarrow:NN,nleftrightarrow:CN,nLeftrightarrow:MN,nleq:TN,nleqq:$N,nleqslant:EN,nles:LN,nless:ON,nLl:jN,nlsim:PN,nLt:DN,nlt:qN,nltri:VN,nltrie:BN,nLtv:IN,nmid:RN,NoBreak:HN,NonBreakingSpace:XN,nopf:YN,Nopf:zN,Not:UN,not:FN,NotCongruent:GN,NotCupCap:WN,NotDoubleVerticalBar:_N,NotElement:KN,NotEqual:ZN,NotEqualTilde:QN,NotExists:JN,NotGreater:tC,NotGreaterEqual:eC,NotGreaterFullEqual:nC,NotGreaterGreater:iC,NotGreaterLess:rC,NotGreaterSlantEqual:oC,NotGreaterTilde:sC,NotHumpDownHump:lC,NotHumpEqual:aC,notin:cC,notindot:uC,notinE:hC,notinva:fC,notinvb:mC,notinvc:dC,NotLeftTriangleBar:yC,NotLeftTriangle:gC,NotLeftTriangleEqual:xC,NotLess:vC,NotLessEqual:pC,NotLessGreater:bC,NotLessLess:wC,NotLessSlantEqual:kC,NotLessTilde:AC,NotNestedGreaterGreater:SC,NotNestedLessLess:NC,notni:CC,notniva:MC,notnivb:TC,notnivc:$C,NotPrecedes:EC,NotPrecedesEqual:LC,NotPrecedesSlantEqual:OC,NotReverseElement:jC,NotRightTriangleBar:PC,NotRightTriangle:DC,NotRightTriangleEqual:qC,NotSquareSubset:VC,NotSquareSubsetEqual:BC,NotSquareSuperset:IC,NotSquareSupersetEqual:RC,NotSubset:HC,NotSubsetEqual:XC,NotSucceeds:YC,NotSucceedsEqual:zC,NotSucceedsSlantEqual:UC,NotSucceedsTilde:FC,NotSuperset:GC,NotSupersetEqual:WC,NotTilde:_C,NotTildeEqual:KC,NotTildeFullEqual:ZC,NotTildeTilde:QC,NotVerticalBar:JC,nparallel:tM,npar:eM,nparsl:nM,npart:iM,npolint:rM,npr:oM,nprcue:sM,nprec:lM,npreceq:aM,npre:cM,nrarrc:uM,nrarr:hM,nrArr:fM,nrarrw:mM,nrightarrow:dM,nRightarrow:yM,nrtri:gM,nrtrie:xM,nsc:vM,nsccue:pM,nsce:bM,Nscr:wM,nscr:kM,nshortmid:AM,nshortparallel:SM,nsim:NM,nsime:CM,nsimeq:MM,nsmid:TM,nspar:$M,nsqsube:EM,nsqsupe:LM,nsub:OM,nsubE:jM,nsube:PM,nsubset:DM,nsubseteq:qM,nsubseteqq:VM,nsucc:BM,nsucceq:IM,nsup:RM,nsupE:HM,nsupe:XM,nsupset:YM,nsupseteq:zM,nsupseteqq:UM,ntgl:FM,Ntilde:GM,ntilde:WM,ntlg:_M,ntriangleleft:KM,ntrianglelefteq:ZM,ntriangleright:QM,ntrianglerighteq:JM,Nu:tT,nu:eT,num:nT,numero:iT,numsp:rT,nvap:oT,nvdash:sT,nvDash:lT,nVdash:aT,nVDash:cT,nvge:uT,nvgt:hT,nvHarr:fT,nvinfin:mT,nvlArr:dT,nvle:yT,nvlt:gT,nvltrie:xT,nvrArr:vT,nvrtrie:pT,nvsim:bT,nwarhk:wT,nwarr:kT,nwArr:AT,nwarrow:ST,nwnear:NT,Oacute:CT,oacute:MT,oast:TT,Ocirc:$T,ocirc:ET,ocir:LT,Ocy:OT,ocy:jT,odash:PT,Odblac:DT,odblac:qT,odiv:VT,odot:BT,odsold:IT,OElig:RT,oelig:HT,ofcir:XT,Ofr:YT,ofr:zT,ogon:UT,Ograve:FT,ograve:GT,ogt:WT,ohbar:_T,ohm:KT,oint:ZT,olarr:QT,olcir:JT,olcross:t$,oline:e$,olt:n$,Omacr:i$,omacr:r$,Omega:o$,omega:s$,Omicron:l$,omicron:a$,omid:c$,ominus:u$,Oopf:h$,oopf:f$,opar:m$,OpenCurlyDoubleQuote:d$,OpenCurlyQuote:y$,operp:g$,oplus:x$,orarr:v$,Or:p$,or:b$,ord:w$,order:k$,orderof:A$,ordf:S$,ordm:N$,origof:C$,oror:M$,orslope:T$,orv:$$,oS:E$,Oscr:L$,oscr:O$,Oslash:j$,oslash:P$,osol:D$,Otilde:q$,otilde:V$,otimesas:B$,Otimes:I$,otimes:R$,Ouml:H$,ouml:X$,ovbar:Y$,OverBar:z$,OverBrace:U$,OverBracket:F$,OverParenthesis:G$,para:W$,parallel:_$,par:K$,parsim:Z$,parsl:Q$,part:J$,PartialD:tE,Pcy:eE,pcy:nE,percnt:iE,period:rE,permil:oE,perp:sE,pertenk:lE,Pfr:aE,pfr:cE,Phi:uE,phi:hE,phiv:fE,phmmat:mE,phone:dE,Pi:yE,pi:gE,pitchfork:xE,piv:vE,planck:pE,planckh:bE,plankv:wE,plusacir:kE,plusb:AE,pluscir:SE,plus:NE,plusdo:CE,plusdu:ME,pluse:TE,PlusMinus:$E,plusmn:EE,plussim:LE,plustwo:OE,pm:jE,Poincareplane:PE,pointint:DE,popf:qE,Popf:VE,pound:BE,prap:IE,Pr:RE,pr:HE,prcue:XE,precapprox:YE,prec:zE,preccurlyeq:UE,Precedes:FE,PrecedesEqual:GE,PrecedesSlantEqual:WE,PrecedesTilde:_E,preceq:KE,precnapprox:ZE,precneqq:QE,precnsim:JE,pre:tL,prE:eL,precsim:nL,prime:iL,Prime:rL,primes:oL,prnap:sL,prnE:lL,prnsim:aL,prod:cL,Product:uL,profalar:hL,profline:fL,profsurf:mL,prop:dL,Proportional:yL,Proportion:gL,propto:xL,prsim:vL,prurel:pL,Pscr:bL,pscr:wL,Psi:kL,psi:AL,puncsp:SL,Qfr:NL,qfr:CL,qint:ML,qopf:TL,Qopf:$L,qprime:EL,Qscr:LL,qscr:OL,quaternions:jL,quatint:PL,quest:DL,questeq:qL,quot:VL,QUOT:BL,rAarr:IL,race:RL,Racute:HL,racute:XL,radic:YL,raemptyv:zL,rang:UL,Rang:FL,rangd:GL,range:WL,rangle:_L,raquo:KL,rarrap:ZL,rarrb:QL,rarrbfs:JL,rarrc:tO,rarr:eO,Rarr:nO,rArr:iO,rarrfs:rO,rarrhk:oO,rarrlp:sO,rarrpl:lO,rarrsim:aO,Rarrtl:cO,rarrtl:uO,rarrw:hO,ratail:fO,rAtail:mO,ratio:dO,rationals:yO,rbarr:gO,rBarr:xO,RBarr:vO,rbbrk:pO,rbrace:bO,rbrack:wO,rbrke:kO,rbrksld:AO,rbrkslu:SO,Rcaron:NO,rcaron:CO,Rcedil:MO,rcedil:TO,rceil:$O,rcub:EO,Rcy:LO,rcy:OO,rdca:jO,rdldhar:PO,rdquo:DO,rdquor:qO,rdsh:VO,real:BO,realine:IO,realpart:RO,reals:HO,Re:XO,rect:YO,reg:zO,REG:UO,ReverseElement:FO,ReverseEquilibrium:GO,ReverseUpEquilibrium:WO,rfisht:_O,rfloor:KO,rfr:ZO,Rfr:QO,rHar:JO,rhard:tj,rharu:ej,rharul:nj,Rho:ij,rho:rj,rhov:oj,RightAngleBracket:sj,RightArrowBar:lj,rightarrow:aj,RightArrow:cj,Rightarrow:uj,RightArrowLeftArrow:hj,rightarrowtail:fj,RightCeiling:mj,RightDoubleBracket:dj,RightDownTeeVector:yj,RightDownVectorBar:gj,RightDownVector:xj,RightFloor:vj,rightharpoondown:pj,rightharpoonup:bj,rightleftarrows:wj,rightleftharpoons:kj,rightrightarrows:Aj,rightsquigarrow:Sj,RightTeeArrow:Nj,RightTee:Cj,RightTeeVector:Mj,rightthreetimes:Tj,RightTriangleBar:$j,RightTriangle:Ej,RightTriangleEqual:Lj,RightUpDownVector:Oj,RightUpTeeVector:jj,RightUpVectorBar:Pj,RightUpVector:Dj,RightVectorBar:qj,RightVector:Vj,ring:Bj,risingdotseq:Ij,rlarr:Rj,rlhar:Hj,rlm:Xj,rmoustache:Yj,rmoust:zj,rnmid:Uj,roang:Fj,roarr:Gj,robrk:Wj,ropar:_j,ropf:Kj,Ropf:Zj,roplus:Qj,rotimes:Jj,RoundImplies:tP,rpar:eP,rpargt:nP,rppolint:iP,rrarr:rP,Rrightarrow:oP,rsaquo:sP,rscr:lP,Rscr:aP,rsh:cP,Rsh:uP,rsqb:hP,rsquo:fP,rsquor:mP,rthree:dP,rtimes:yP,rtri:gP,rtrie:xP,rtrif:vP,rtriltri:pP,RuleDelayed:bP,ruluhar:wP,rx:kP,Sacute:AP,sacute:SP,sbquo:NP,scap:CP,Scaron:MP,scaron:TP,Sc:$P,sc:EP,sccue:LP,sce:OP,scE:jP,Scedil:PP,scedil:DP,Scirc:qP,scirc:VP,scnap:BP,scnE:IP,scnsim:RP,scpolint:HP,scsim:XP,Scy:YP,scy:zP,sdotb:UP,sdot:FP,sdote:GP,searhk:WP,searr:_P,seArr:KP,searrow:ZP,sect:QP,semi:JP,seswar:tD,setminus:eD,setmn:nD,sext:iD,Sfr:rD,sfr:oD,sfrown:sD,sharp:lD,SHCHcy:aD,shchcy:cD,SHcy:uD,shcy:hD,ShortDownArrow:fD,ShortLeftArrow:mD,shortmid:dD,shortparallel:yD,ShortRightArrow:gD,ShortUpArrow:xD,shy:vD,Sigma:pD,sigma:bD,sigmaf:wD,sigmav:kD,sim:AD,simdot:SD,sime:ND,simeq:CD,simg:MD,simgE:TD,siml:$D,simlE:ED,simne:LD,simplus:OD,simrarr:jD,slarr:PD,SmallCircle:DD,smallsetminus:qD,smashp:VD,smeparsl:BD,smid:ID,smile:RD,smt:HD,smte:XD,smtes:YD,SOFTcy:zD,softcy:UD,solbar:FD,solb:GD,sol:WD,Sopf:_D,sopf:KD,spades:ZD,spadesuit:QD,spar:JD,sqcap:tq,sqcaps:eq,sqcup:nq,sqcups:iq,Sqrt:rq,sqsub:oq,sqsube:sq,sqsubset:lq,sqsubseteq:aq,sqsup:cq,sqsupe:uq,sqsupset:hq,sqsupseteq:fq,square:mq,Square:dq,SquareIntersection:yq,SquareSubset:gq,SquareSubsetEqual:xq,SquareSuperset:vq,SquareSupersetEqual:pq,SquareUnion:bq,squarf:wq,squ:kq,squf:Aq,srarr:Sq,Sscr:Nq,sscr:Cq,ssetmn:Mq,ssmile:Tq,sstarf:$q,Star:Eq,star:Lq,starf:Oq,straightepsilon:jq,straightphi:Pq,strns:Dq,sub:qq,Sub:Vq,subdot:Bq,subE:Iq,sube:Rq,subedot:Hq,submult:Xq,subnE:Yq,subne:zq,subplus:Uq,subrarr:Fq,subset:Gq,Subset:Wq,subseteq:_q,subseteqq:Kq,SubsetEqual:Zq,subsetneq:Qq,subsetneqq:Jq,subsim:tV,subsub:eV,subsup:nV,succapprox:iV,succ:rV,succcurlyeq:oV,Succeeds:sV,SucceedsEqual:lV,SucceedsSlantEqual:aV,SucceedsTilde:cV,succeq:uV,succnapprox:hV,succneqq:fV,succnsim:mV,succsim:dV,SuchThat:yV,sum:gV,Sum:xV,sung:vV,sup1:pV,sup2:bV,sup3:wV,sup:kV,Sup:AV,supdot:SV,supdsub:NV,supE:CV,supe:MV,supedot:TV,Superset:$V,SupersetEqual:EV,suphsol:LV,suphsub:OV,suplarr:jV,supmult:PV,supnE:DV,supne:qV,supplus:VV,supset:BV,Supset:IV,supseteq:RV,supseteqq:HV,supsetneq:XV,supsetneqq:YV,supsim:zV,supsub:UV,supsup:FV,swarhk:GV,swarr:WV,swArr:_V,swarrow:KV,swnwar:ZV,szlig:QV,Tab:JV,target:tB,Tau:eB,tau:nB,tbrk:iB,Tcaron:rB,tcaron:oB,Tcedil:sB,tcedil:lB,Tcy:aB,tcy:cB,tdot:uB,telrec:hB,Tfr:fB,tfr:mB,there4:dB,therefore:yB,Therefore:gB,Theta:xB,theta:vB,thetasym:pB,thetav:bB,thickapprox:wB,thicksim:kB,ThickSpace:AB,ThinSpace:SB,thinsp:NB,thkap:CB,thksim:MB,THORN:TB,thorn:$B,tilde:EB,Tilde:LB,TildeEqual:OB,TildeFullEqual:jB,TildeTilde:PB,timesbar:DB,timesb:qB,times:VB,timesd:BB,tint:IB,toea:RB,topbot:HB,topcir:XB,top:YB,Topf:zB,topf:UB,topfork:FB,tosa:GB,tprime:WB,trade:_B,TRADE:KB,triangle:ZB,triangledown:QB,triangleleft:JB,trianglelefteq:tI,triangleq:eI,triangleright:nI,trianglerighteq:iI,tridot:rI,trie:oI,triminus:sI,TripleDot:lI,triplus:aI,trisb:cI,tritime:uI,trpezium:hI,Tscr:fI,tscr:mI,TScy:dI,tscy:yI,TSHcy:gI,tshcy:xI,Tstrok:vI,tstrok:pI,twixt:bI,twoheadleftarrow:wI,twoheadrightarrow:kI,Uacute:AI,uacute:SI,uarr:NI,Uarr:CI,uArr:MI,Uarrocir:TI,Ubrcy:$I,ubrcy:EI,Ubreve:LI,ubreve:OI,Ucirc:jI,ucirc:PI,Ucy:DI,ucy:qI,udarr:VI,Udblac:BI,udblac:II,udhar:RI,ufisht:HI,Ufr:XI,ufr:YI,Ugrave:zI,ugrave:UI,uHar:FI,uharl:GI,uharr:WI,uhblk:_I,ulcorn:KI,ulcorner:ZI,ulcrop:QI,ultri:JI,Umacr:tR,umacr:eR,uml:nR,UnderBar:iR,UnderBrace:rR,UnderBracket:oR,UnderParenthesis:sR,Union:lR,UnionPlus:aR,Uogon:cR,uogon:uR,Uopf:hR,uopf:fR,UpArrowBar:mR,uparrow:dR,UpArrow:yR,Uparrow:gR,UpArrowDownArrow:xR,updownarrow:vR,UpDownArrow:pR,Updownarrow:bR,UpEquilibrium:wR,upharpoonleft:kR,upharpoonright:AR,uplus:SR,UpperLeftArrow:NR,UpperRightArrow:CR,upsi:MR,Upsi:TR,upsih:$R,Upsilon:ER,upsilon:LR,UpTeeArrow:OR,UpTee:jR,upuparrows:PR,urcorn:DR,urcorner:qR,urcrop:VR,Uring:BR,uring:IR,urtri:RR,Uscr:HR,uscr:XR,utdot:YR,Utilde:zR,utilde:UR,utri:FR,utrif:GR,uuarr:WR,Uuml:_R,uuml:KR,uwangle:ZR,vangrt:QR,varepsilon:JR,varkappa:tH,varnothing:eH,varphi:nH,varpi:iH,varpropto:rH,varr:oH,vArr:sH,varrho:lH,varsigma:aH,varsubsetneq:cH,varsubsetneqq:uH,varsupsetneq:hH,varsupsetneqq:fH,vartheta:mH,vartriangleleft:dH,vartriangleright:yH,vBar:gH,Vbar:xH,vBarv:vH,Vcy:pH,vcy:bH,vdash:wH,vDash:kH,Vdash:AH,VDash:SH,Vdashl:NH,veebar:CH,vee:MH,Vee:TH,veeeq:$H,vellip:EH,verbar:LH,Verbar:OH,vert:jH,Vert:PH,VerticalBar:DH,VerticalLine:qH,VerticalSeparator:VH,VerticalTilde:BH,VeryThinSpace:IH,Vfr:RH,vfr:HH,vltri:XH,vnsub:YH,vnsup:zH,Vopf:UH,vopf:FH,vprop:GH,vrtri:WH,Vscr:_H,vscr:KH,vsubnE:ZH,vsubne:QH,vsupnE:JH,vsupne:tX,Vvdash:eX,vzigzag:nX,Wcirc:iX,wcirc:rX,wedbar:oX,wedge:sX,Wedge:lX,wedgeq:aX,weierp:cX,Wfr:uX,wfr:hX,Wopf:fX,wopf:mX,wp:dX,wr:yX,wreath:gX,Wscr:xX,wscr:vX,xcap:pX,xcirc:bX,xcup:wX,xdtri:kX,Xfr:AX,xfr:SX,xharr:NX,xhArr:CX,Xi:MX,xi:TX,xlarr:$X,xlArr:EX,xmap:LX,xnis:OX,xodot:jX,Xopf:PX,xopf:DX,xoplus:qX,xotime:VX,xrarr:BX,xrArr:IX,Xscr:RX,xscr:HX,xsqcup:XX,xuplus:YX,xutri:zX,xvee:UX,xwedge:FX,Yacute:GX,yacute:WX,YAcy:_X,yacy:KX,Ycirc:ZX,ycirc:QX,Ycy:JX,ycy:tY,yen:eY,Yfr:nY,yfr:iY,YIcy:rY,yicy:oY,Yopf:sY,yopf:lY,Yscr:aY,yscr:cY,YUcy:uY,yucy:hY,yuml:fY,Yuml:mY,Zacute:dY,zacute:yY,Zcaron:gY,zcaron:xY,Zcy:vY,zcy:pY,Zdot:bY,zdot:wY,zeetrf:kY,ZeroWidthSpace:AY,Zeta:SY,zeta:NY,zfr:CY,Zfr:MY,ZHcy:TY,zhcy:$Y,zigrarr:EY,zopf:LY,Zopf:OY,Zscr:jY,zscr:PY,zwj:DY,zwnj:qY};var _r;function VY(){return _r||(_r=1,(function(t){var e=d1&&d1.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTrie=t.encodeHTMLTrieRe=t.getCodePoint=void 0;var n=e(vs);function i(a){return(a&64512)===55296}t.getCodePoint=String.prototype.codePointAt!=null?function(a,c){return a.codePointAt(c)}:(function(a,c){return i(a.charCodeAt(c))?(a.charCodeAt(c)-55296)*1024+a.charCodeAt(c+1)-56320+65536:a.charCodeAt(c)});var r=l(n.default);function o(a,c){for(var s,u="",m=0,f;(f=a.exec(c))!==null;){var h=f.index,y=c.charCodeAt(h),g=r.get(y);if(g){if(g.next!=null&&h+1<c.length){var v=(s=g.next.get(c.charCodeAt(h+1)))===null||s===void 0?void 0:s.value;if(v!=null){u+=c.substring(m,h)+v,a.lastIndex+=1,m=h+2;continue}}u+=c.substring(m,h)+g.value,m=h+1}else u+=c.substring(m,h)+"&#x"+t.getCodePoint(c,h).toString(16)+";",m=a.lastIndex+=Number(i(y))}return u+c.substr(m)}t.encodeHTMLTrieRe=o;function l(a){for(var c,s,u,m,f=new Map,h=0,y=Object.keys(a);h<y.length;h++){for(var g=y[h],v=a[g],b=f,M=0;M<v.length-1;M++){var A=v.charCodeAt(M),L=(c=b.get(A))!==null&&c!==void 0?c:{};b.set(A,L),b=(s=L.next)!==null&&s!==void 0?s:L.next=new Map}var j=(u=b.get(v.charCodeAt(v.length-1)))!==null&&u!==void 0?u:{};(m=j.value)!==null&&m!==void 0||(j.value="&"+g+";"),b.set(v.charCodeAt(v.length-1),j)}return f}t.getTrie=l})(d1)),d1}var Kr;function Zr(){if(Kr)return Kt;Kr=1;var t=Kt&&Kt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.escapeUTF8=Kt.escape=Kt.encodeNonAsciiHTML=Kt.encodeHTML=Kt.encodeXML=void 0;var e=t(v9),n=VY(),i=t(vs),r=m(i.default,!0),o=m(e.default,!0),l=m(e.default,!1),a=new Map(Object.keys(e.default).map(function(h){return[e.default[h].charCodeAt(0),"&"+h+";"]}));function c(h){for(var y="",g=0,v;(v=o.exec(h))!==null;){var b=v.index,M=h.charCodeAt(b),A=a.get(M);A?(y+=h.substring(g,b)+A,g=b+1):(y+=h.substring(g,b)+"&#x"+n.getCodePoint(h,b).toString(16)+";",g=o.lastIndex+=+((M&65408)===55296))}return y+h.substr(g)}Kt.encodeXML=c;function s(h){return n.encodeHTMLTrieRe(r,h)}Kt.encodeHTML=s;function u(h){return n.encodeHTMLTrieRe(o,h)}Kt.encodeNonAsciiHTML=u;function m(h,y){for(var g=Object.keys(h).map(function(A){return"\\"+h[A].charAt(0)}).filter(function(A){return!y||A.charCodeAt(1)<128}).sort(function(A,L){return A.charCodeAt(1)-L.charCodeAt(1)}).filter(function(A,L,j){return A!==j[L+1]}),v=0;v<g.length-1;v++){for(var b=v;b<g.length-1&&g[b].charCodeAt(1)+1===g[b+1].charCodeAt(1);)b+=1;var M=1+b-v;M<3||g.splice(v,M,g[v]+"-"+g[b])}return new RegExp("["+g.join("")+(y?"\\x80-\\uFFFF":"")+"]","g")}Kt.escape=c;function f(h){for(var y,g=0,v="";y=l.exec(h);)g!==y.index&&(v+=h.substring(g,y.index)),v+=a.get(y[0].charCodeAt(0)),g=y.index+1;return v+h.substring(g)}return Kt.escapeUTF8=f,Kt}var Qr;function BY(){return Qr||(Qr=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=Wr(),n=Zr(),i;(function(m){m[m.XML=0]="XML",m[m.HTML=1]="HTML"})(i=t.EntityLevel||(t.EntityLevel={}));var r;(function(m){m[m.Legacy=0]="Legacy",m[m.Strict=1]="Strict"})(r=t.DecodingMode||(t.DecodingMode={}));var o;(function(m){m[m.UTF8=0]="UTF8",m[m.ASCII=1]="ASCII",m[m.Extensive=2]="Extensive"})(o=t.EncodingMode||(t.EncodingMode={}));function l(m,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(m):e.decodeHTML(m):e.decodeXML(m)}t.decode=l;function a(m,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(m):e.decodeHTMLStrict(m):e.decodeXML(m)}t.decodeStrict=a;function c(m,f){f===void 0&&(f=i.XML);var h=typeof f=="number"?{level:f}:f;return h.mode===o.UTF8?n.escapeUTF8(m):h.level===i.HTML?h.mode===o.ASCII?n.encodeNonAsciiHTML(m):n.encodeHTML(m):n.encodeXML(m)}t.encode=c;var s=Zr();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=Wr();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}})})(Rn)),Rn}var ps=BY(),IY=92,bs="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",ws="[A-Za-z][A-Za-z0-9-]*",RY="[a-zA-Z_:][a-zA-Z0-9:._-]*",HY="[^\"'=<>`\\x00-\\x20]+",XY="'[^']*'",YY='"[^"]*"',zY="(?:"+HY+"|"+XY+"|"+YY+")",UY="(?:\\s*=\\s*"+zY+")",FY="(?:\\s+"+RY+UY+"?)",ks="<"+ws+FY+"*\\s*/?>",As="</"+ws+"\\s*[>]",GY="<!-->|<!--->|<!--[\\s\\S]*?-->",WY="[<][?][\\s\\S]*?[?][>]",_Y="<![A-Za-z]+[^>]*>",KY="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",ZY="(?:"+ks+"|"+As+"|"+GY+"|"+WY+"|"+_Y+"|"+KY+")",QY=new RegExp("^"+ZY),JY=/[\\&]/,Ss="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",tz=new RegExp("\\\\"+Ss+"|"+bs,"gi"),ez='[&<>"]',Jr=new RegExp(ez,"g"),nz=function(t){return t.charCodeAt(0)===IY?t.charAt(1):ps.decodeHTMLStrict(t)},Ns=function(t){return JY.test(t)?t.replace(tz,nz):t},iz=function(t){try{return c9(t)}catch{return t}},rz=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return t}},$n=function(t){return Jr.test(t)?t.replace(Jr,rz):t},ui;function Ci(t){return ui(t)}if(String.fromCodePoint)ui=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return"\uFFFD";throw e}};else{var oz=String.fromCharCode,sz=Math.floor;ui=function(){var t=16384,e=[],n,i,r=-1,o=arguments.length;if(!o)return"";for(var l="";++r<o;){var a=Number(arguments[r]);if(!isFinite(a)||a<0||a>1114111||sz(a)!==a)return"\uFFFD";a<=65535?e.push(a):(a-=65536,n=(a>>10)+55296,i=a%1024+56320,e.push(n,i)),(r+1===o||e.length>t)&&(l+=oz.apply(null,e),e.length=0)}return l}}var vn=iz,hi=Ns,Cs=10,fi=42,pn=95,lz=96,Ms=91,az=93,Ts=60,cz=33,$s=92,uz=38,Es=40,mi=41,hz=58,Xe=39,Ye=34,Ls=Ss,Hn="\\\\"+Ls,fz=bs,mz=QY,to=new RegExp(/^[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\p{P}\p{S}]/u),dz=new RegExp('^(?:"('+Hn+`|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(`+Hn+"|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\(("+Hn+"|\\\\[^\\\\]|[^\\\\()\\x00])*\\))"),yz=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Os=new RegExp("^"+Ls),gz=new RegExp("^"+fz,"i"),xz=/`+/,vz=/^`+/,pz=/\.\.\./g,bz=/--+/g,wz=/^<([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])?)*)>/,kz=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Az=/^ *(?:\n *)?/,js=/^[ \t\n\x0b\x0c\x0d]/,eo=/^\s/,Sz=/ *$/,Nz=/^ */,no=/^ *(?:\n|$)/,Cz=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/s,Mz=/^[^\n`\[\]\\!<&*_'"]+/m,_t=function(t){var e=new Dt("text");return e._literal=t,e},Ps=function(t){return t.slice(1,t.length-1).trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase()},Tz=function(t){var e=t.exec(this.subject.slice(this.pos));return e===null?null:(this.pos+=e.index+e[0].length,e[0])},$z=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},Ez=function(){return this.match(Az),!0},Lz=function(t){var e=this.match(vz);if(e===null)return!1;for(var n=this.pos,i,r,o;(i=this.match(xz))!==null;)if(i===e)return r=new Dt("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(_t(e)),!0},Oz=function(t){var e=this.subject,n;return this.pos+=1,this.peek()===Cs?(this.pos+=1,n=new Dt("linebreak"),t.appendChild(n)):Os.test(e.charAt(this.pos))?(t.appendChild(_t(e.charAt(this.pos))),this.pos+=1):t.appendChild(_t("\\")),!0},jz=function(t){var e,n,i;return(e=this.match(wz))?(n=e.slice(1,e.length-1),i=new Dt("link"),i._destination=vn("mailto:"+n),i._title="",i.appendChild(_t(n)),t.appendChild(i),!0):(e=this.match(kz))?(n=e.slice(1,e.length-1),i=new Dt("link"),i._destination=vn(n),i._title="",i.appendChild(_t(n)),t.appendChild(i),!0):!1},Pz=function(t){var e=this.match(mz);if(e===null)return!1;var n=new Dt("html_inline");return n._literal=e,t.appendChild(n),!0},Dz=function(t){var e=0,n,i,r,o=this.pos,l,a,c,s,u,m,f,h;if(t===Xe||t===Ye)e++,this.pos++;else for(;this.peek()===t;)e++,this.pos++;return e===0?null:(n=o===0?`
4
+ `:this.subject.charAt(o-1),r=this.peek(),r===-1?i=`
5
+ `:i=Ci(r),u=eo.test(i),m=to.test(i),f=eo.test(n),h=to.test(n),l=!u&&(!m||f||h),a=!f&&(!h||u||m),t===pn?(c=l&&(!a||h),s=a&&(!l||m)):t===Xe||t===Ye?(c=l&&!a,s=a):(c=l,s=a),this.pos=o,{numdelims:e,can_open:c,can_close:s})},qz=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i=n.numdelims,r=this.pos,o;this.pos+=i,t===Xe?o="\u2019":t===Ye?o="\u201C":o=this.subject.slice(r,this.pos);var l=_t(o);return e.appendChild(l),(n.can_open||n.can_close)&&(this.options.smart||t!==Xe&&t!==Ye)&&(this.delimiters={cc:t,numdelims:i,origdelims:i,node:l,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},this.delimiters.previous!==null&&(this.delimiters.previous.next=this.delimiters)),!0},Vz=function(t){t.previous!==null&&(t.previous.next=t.next),t.next===null?this.delimiters=t.previous:t.next.previous=t.previous},Bz=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},Iz=function(t){for(var e,n,i,r,o,l,a,c,s,u,m=[],f,h=!1,y=0;y<14;y++)m[y]=t;for(n=this.delimiters;n!==null&&n.previous!==t;)n=n.previous;for(;n!==null;){var g=n.cc;if(!n.can_close)n=n.next;else{switch(e=n.previous,u=!1,g){case Xe:f=0;break;case Ye:f=1;break;case pn:f=2+(n.can_open?3:0)+n.origdelims%3;break;case fi:f=8+(n.can_open?3:0)+n.origdelims%3;break}for(;e!==null&&e!==t&&e!==m[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,g===fi||g===pn)if(!u)n=n.next;else{a=n.numdelims>=2&&e.numdelims>=2?2:1,r=e.node,o=n.node,e.numdelims-=a,n.numdelims-=a,r._literal=r._literal.slice(0,r._literal.length-a),o._literal=o._literal.slice(0,o._literal.length-a);var v=new Dt(a===1?"emph":"strong");for(c=r._next;c&&c!==o;)s=c._next,c.unlink(),v.appendChild(c),c=s;r.insertAfter(v),Bz(e,n),e.numdelims===0&&(r.unlink(),this.removeDelimiter(e)),n.numdelims===0&&(o.unlink(),l=n.next,this.removeDelimiter(n),n=l)}else g===Xe?(n.node._literal="\u2019",u&&(e.node._literal="\u2018"),n=n.next):g===Ye&&(n.node._literal="\u201D",u&&(e.node.literal="\u201C"),n=n.next);u||(m[f]=i.previous,i.can_open||this.removeDelimiter(i))}}for(;this.delimiters!==null&&this.delimiters!==t;)this.removeDelimiter(this.delimiters)},Rz=function(){var t=this.match(dz);return t===null?null:hi(t.slice(1,-1))},Hz=function(){var t=this.match(yz);if(t===null){if(this.peek()===Ts)return null;for(var e=this.pos,n=0,i;(i=this.peek())!==-1;)if(i===$s&&Os.test(this.subject.charAt(this.pos+1)))this.pos+=1,this.peek()!==-1&&(this.pos+=1);else if(i===Es)this.pos+=1,n+=1;else if(i===mi){if(n<1)break;this.pos+=1,n-=1}else{if(js.exec(Ci(i))!==null)break;this.pos+=1}return this.pos===e&&i!==mi||n!==0?null:(t=this.subject.slice(e,this.pos),vn(hi(t)))}else return vn(hi(t.slice(1,-1)))},Xz=function(){var t=this.match(Cz);return t===null||t.length>1001?0:t.length},Yz=function(t){var e=this.pos;this.pos+=1;var n=_t("[");return t.appendChild(n),this.addBracket(n,e,!1),!0},zz=function(t){var e=this.pos;if(this.pos+=1,this.peek()===Ms){this.pos+=1;var n=_t("![");t.appendChild(n),this.addBracket(n,e+1,!0)}else t.appendChild(_t("!"));return!0},Uz=function(t){var e,n,i,r,o=!1,l,a;if(this.pos+=1,e=this.pos,a=this.brackets,a===null)return t.appendChild(_t("]")),!0;if(!a.active)return t.appendChild(_t("]")),this.removeBracket(),!0;n=a.image;var c=this.pos;if(this.peek()===Es&&(this.pos++,this.spnl()&&(i=this.parseLinkDestination())!==null&&this.spnl()&&(js.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle())||!0)&&this.spnl()&&this.peek()===mi?(this.pos+=1,o=!0):this.pos=c),!o){var s=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(s,s+u):a.bracketAfter||(l=this.subject.slice(a.index,e)),u===0&&(this.pos=c),l){var m=this.refmap[Ps(l)];m&&(i=m.destination,r=m.title,o=!0)}}if(o){var f=new Dt(n?"image":"link");f._destination=i,f._title=r||"";var h,y;for(h=a.node._next;h;)y=h._next,h.unlink(),f.appendChild(h),h=y;if(t.appendChild(f),this.processEmphasis(a.previousDelimiter),this.removeBracket(),a.node.unlink(),!n)for(a=this.brackets;a!==null;)a.image||(a.active=!1),a=a.previous;return!0}else return this.removeBracket(),this.pos=e,t.appendChild(_t("]")),!0},Fz=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}},Gz=function(){this.brackets=this.brackets.previous},Wz=function(t){var e;return(e=this.match(gz))?(t.appendChild(_t(ps.decodeHTMLStrict(e))),!0):!1},_z=function(t){var e;return(e=this.match(Mz))?(this.options.smart?t.appendChild(_t(e.replace(pz,"\u2026").replace(bz,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(_t(e)),!0):!1},Kz=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(Sz,""),t.appendChild(new Dt(n?"linebreak":"softbreak"))}else t.appendChild(new Dt("softbreak"));return this.match(Nz),!0},Zz=function(t,e){this.subject=t,this.pos=0;var n,i,r,o,l=this.pos;if(o=this.parseLinkLabel(),o===0)return 0;if(n=this.subject.slice(0,o),this.peek()===hz)this.pos++;else return this.pos=l,0;if(this.spnl(),i=this.parseLinkDestination(),i===null)return this.pos=l,0;var a=this.pos;this.spnl(),this.pos!==a&&(r=this.parseLinkTitle()),r===null&&(this.pos=a);var c=!0;if(this.match(no)===null&&(r===null?c=!1:(r=null,this.pos=a,c=this.match(no)!==null)),!c)return this.pos=l,0;var s=Ps(n);return s===""?(this.pos=l,0):(e[s]||(e[s]={destination:i,title:r===null?"":r}),this.pos-l)},Qz=function(t){var e=!1,n=this.peek();if(n===-1)return!1;switch(n){case Cs:e=this.parseNewline(t);break;case $s:e=this.parseBackslash(t);break;case lz:e=this.parseBackticks(t);break;case fi:case pn:e=this.handleDelim(n,t);break;case Xe:case Ye:e=this.options.smart&&this.handleDelim(n,t);break;case Ms:e=this.parseOpenBracket(t);break;case cz:e=this.parseBang(t);break;case az:e=this.parseCloseBracket(t);break;case Ts:e=this.parseAutolink(t)||this.parseHtmlTag(t);break;case uz:e=this.parseEntity(t);break;default:e=this.parseString(t);break}return e||(this.pos+=1,t.appendChild(_t(Ci(n)))),!0},Jz=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 tU(t){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Tz,peek:$z,spnl:Ez,parseBackticks:Lz,parseBackslash:Oz,parseAutolink:jz,parseHtmlTag:Pz,scanDelims:Dz,handleDelim:qz,parseLinkTitle:Rz,parseLinkDestination:Hz,parseLinkLabel:Xz,parseOpenBracket:Yz,parseBang:zz,parseCloseBracket:Uz,addBracket:Fz,removeBracket:Gz,parseEntity:Wz,parseString:_z,parseNewline:Kz,parseReference:Zz,parseInline:Qz,processEmphasis:Iz,removeDelimiter:Vz,options:t||{},parse:Jz}}var bn=4,Ds=9,eU=10,qs=62,nU=60,Vs=32,Bs=91,iU=[/./,/^<(?: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("^(?:"+ks+"|"+As+")\\s*$","i")],rU=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],oU=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,sU=/^[#`~*+_=<>0-9-]/,Is=/[^ \t\f\v\r\n]/,lU=/^[*+-]/,aU=/^(\d{1,9})([.)])/,cU=/^#{1,6}(?:[ \t]+|$)/,uU=/^`{3,}(?!.*`)|^~{3,}/,hU=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,fU=/^(?:=+|-+)[ \t]*$/,mU=/\r\n|\n|\r/,dU=function(t){return!Is.test(t)},S1=function(t){return t===Vs||t===Ds},ie=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},yU=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
+ `},gU=function(t,e){for(;!this.blocks[this.tip.type].canContain(t);)this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=new Dt(t,[[this.lineNumber,n],[0,0]]);return i._string_content="",this.tip.appendChild(i),this.tip=i,i},xU=function(t,e){var n=t.currentLine.slice(t.nextNonspace),i,r,o,l,a={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(lU))a.type="bullet",a.bulletChar=i[0][0];else if((i=n.match(aU))&&(e.type!=="paragraph"||i[1]==1))a.type="ordered",a.start=parseInt(i[1]),a.delimiter=i[2];else return null;if(r=ie(t.currentLine,t.nextNonspace+i[0].length),!(r===-1||r===Ds||r===Vs)||e.type==="paragraph"&&!t.currentLine.slice(t.nextNonspace+i[0].length).match(Is))return null;t.advanceNextNonspace(),t.advanceOffset(i[0].length,!0),o=t.column,l=t.offset;do t.advanceOffset(1,!0),r=ie(t.currentLine,t.offset);while(t.column-o<5&&S1(r));var c=ie(t.currentLine,t.offset)===-1,s=t.column-o;return s>=5||s<1||c?(a.padding=i[0].length+1,t.column=o,t.offset=l,S1(ie(t.currentLine,t.offset))&&t.advanceOffset(1,!0)):a.padding=i[0].length+s,a},vU=function(t,e){return t.type===e.type&&t.delimiter===e.delimiter&&t.bulletChar===e.bulletChar},pU=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}},bU=function(t,e){for(var n,i,r=e.walker(),o=[];n=r.next();)if(i=n.node,n.entering&&i.type==="paragraph"){for(var l,a=!1;ie(i._string_content,0)===Bs&&(l=t.inlineParser.parseReference(i._string_content,t.refmap));){const c=i._string_content.slice(0,l);i._string_content=i._string_content.slice(l),a=!0;const s=c.split(`
7
+ `);i.sourcepos[0][0]+=s.length-1}a&&dU(i._string_content)&&o.push(i)}for(i of o)i.unlink()},Rs={document:{continue:function(){return 0},finalize:function(t,e){bU(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&&ie(e,t.nextNonspace)===qs)t.advanceNextNonspace(),t.advanceOffset(1,!1),S1(ie(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(hU);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&&S1(ie(n,t.offset));)t.advanceOffset(1,!0),o--}else if(i>=bn)t.advanceOffset(bn,!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=Ns(r.trim()),e._literal=o}else{for(var l=e._string_content.split(`
9
+ `);/^[ \t]*$/.test(l[l.length-1]);)l.pop();e._literal=l.join(`
10
+ `)+`
11
+ `,e.sourcepos[1][0]=e.sourcepos[0][0]+l.length-1,e.sourcepos[1][1]=e.sourcepos[0][1]+l[l.length-1].length-1}e._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(t,e){return t.blank&&(e._htmlBlockType===6||e._htmlBlockType===7)?1:0},finalize:function(t,e){e._literal=e._string_content.replace(/\n$/,""),e._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(t){return t.blank?1:0},finalize:function(){},canContain:function(){return!1},acceptsLines:!0}},wU=[function(t){return!t.indented&&ie(t.currentLine,t.nextNonspace)===qs?(t.advanceNextNonspace(),t.advanceOffset(1,!1),S1(ie(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(cU))){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(uU))){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&&ie(t.currentLine,t.nextNonspace)===nU){var n=t.currentLine.slice(t.nextNonspace),i;for(i=1;i<=7;i++)if(iU[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(fU))){t.closeUnmatchedBlocks();for(var i;ie(e._string_content,0)===Bs&&(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 Dt("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&&oU.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=xU(t,e))?(t.closeUnmatchedBlocks(),(t.tip.type!=="list"||!vU(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(bn,!0),t.closeUnmatchedBlocks(),t.addChild("code_block",t.offset),2):0}],kU=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)},AU=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},SU=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>=bn},NU=function(t){var e=!0,n,i=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,t.indexOf("\0")!==-1&&(t=t.replace(/\0/g,"\uFFFD")),this.currentLine=t;for(var r;(r=i._lastChild)&&r._open;){switch(i=r,this.findNextNonspace(),this.blocks[i.type].continue(this,i)){case 0:break;case 1:e=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!e){i=i._parent;break}}this.allClosed=i===this.oldtip,this.lastMatchedContainer=i;for(var o=i.type!=="paragraph"&&Rs[i.type].acceptsLines,l=this.blockStarts,a=l.length;!o;){if(this.findNextNonspace(),!this.indented&&!sU.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var c=0;c<a;){var s=l[c](this,i);if(s===1){i=this.tip;break}else if(s===2){i=this.tip,o=!0;break}else c++}if(c===a){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&&rU[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},CU=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},MU=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)},Hs=function(){var t=new Dt("document",[[1,1],[0,0]]);return t},TU=function(t){this.doc=new Hs,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(mU),n=e.length;t.charCodeAt(t.length-1)===eU&&(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 Xs(t){return{doc:new Hs,blocks:Rs,blockStarts:wU,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 tU(t),findNextNonspace:SU,advanceOffset:kU,advanceNextNonspace:AU,addLine:yU,addChild:gU,incorporateLine:NU,finalize:CU,processInlines:MU,closeUnmatchedBlocks:pU,parse:TU,options:t||{}}}function Ue(){}function $U(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 EU(t){this.buffer+=t,this.lastOut=t}function LU(){this.lastOut!==`
14
+ `&&this.lit(`
15
+ `)}function OU(t){this.lit(t)}function jU(t){return t}Ue.prototype.render=$U;Ue.prototype.out=OU;Ue.prototype.lit=EU;Ue.prototype.cr=LU;Ue.prototype.esc=jU;var PU=/^javascript:|vbscript:|file:|data:/i,DU=/^data:image\/(?:png|gif|jpeg|webp)/i,Ys=function(t){return PU.test(t)&&!DU.test(t)};function qU(t,e,n){if(!(this.disableTags>0)){if(this.buffer+="<"+t,e&&e.length>0)for(var i=0,r;(r=e[i])!==void 0;)this.buffer+=" "+r[0]+'="'+r[1]+'"',i++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}}function Nt(t){t=t||{},t.softbreak=t.softbreak||`
16
+ `,this.esc=t.esc||$n,this.disableTags=0,this.lastOut=`
17
+ `,this.options=t}function VU(t){this.out(t.literal)}function BU(){this.lit(this.options.softbreak)}function IU(){this.tag("br",[],!0),this.cr()}function RU(t,e){var n=this.attrs(t);e?(this.options.safe&&Ys(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 HU(t,e){e?(this.disableTags===0&&(this.options.safe&&Ys(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 XU(t,e){this.tag(e?"em":"/em")}function YU(t,e){this.tag(e?"strong":"/strong")}function zU(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 UU(t,e){var n="h"+t.level,i=this.attrs(t);e?(this.cr(),this.tag(n,i)):(this.tag("/"+n),this.cr())}function FU(t){this.tag("code"),this.out(t.literal),this.tag("/code")}function GU(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 WU(t){var e=this.attrs(t);this.cr(),this.tag("hr",e,!0),this.cr()}function _U(t,e){var n=this.attrs(t);e?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())}function KU(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 ZU(t,e){var n=this.attrs(t);e?this.tag("li",n):(this.tag("/li"),this.cr())}function QU(t){this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal)}function JU(t){this.cr(),this.options.safe?this.lit("<!-- raw HTML omitted -->"):this.lit(t.literal),this.cr()}function tF(t,e){e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit)}function eF(t,e){this.cr(),e&&t.onEnter?this.lit(t.onEnter):!e&&t.onExit&&this.lit(t.onExit),this.cr()}function nF(t){this.lit(this.esc(t))}function iF(t){var e=[];if(this.options.sourcepos){var n=t.sourcepos;n&&e.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return e}Nt.prototype=Object.create(Ue.prototype);Nt.prototype.text=VU;Nt.prototype.html_inline=QU;Nt.prototype.html_block=JU;Nt.prototype.softbreak=BU;Nt.prototype.linebreak=IU;Nt.prototype.link=RU;Nt.prototype.image=HU;Nt.prototype.emph=XU;Nt.prototype.strong=YU;Nt.prototype.paragraph=zU;Nt.prototype.heading=UU;Nt.prototype.code=FU;Nt.prototype.code_block=GU;Nt.prototype.thematic_break=WU;Nt.prototype.block_quote=_U;Nt.prototype.list=KU;Nt.prototype.item=ZU;Nt.prototype.custom_inline=tF;Nt.prototype.custom_block=eF;Nt.prototype.esc=$n;Nt.prototype.out=nF;Nt.prototype.tag=qU;Nt.prototype.attrs=iF;var rF=/\<[^>]*\>/;function oF(t){return t.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function h1(t){t=t||{},this.disableTags=0,this.lastOut=`
18
+ `,this.indentLevel=0,this.indent=" ",this.esc=t.esc||$n,this.options=t}function sF(t){this.buffer="";var e,n,i=t.walker(),r,o,l,a,c,s,u=this.options;for(u.time&&console.time("rendering"),this.buffer+=`<?xml version="1.0" encoding="UTF-8"?>
19
+ `,this.buffer+=`<!DOCTYPE document SYSTEM "CommonMark.dtd">
20
+ `;r=i.next();)if(l=r.entering,o=r.node,s=o.type,a=o.isContainer,c=s==="thematic_break"||s==="linebreak"||s==="softbreak",n=oF(s),l){switch(e=[],s){case"document":e.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":o.listType!==null&&e.push(["type",o.listType.toLowerCase()]),o.listStart!==null&&e.push(["start",String(o.listStart)]),o.listTight!==null&&e.push(["tight",o.listTight?"true":"false"]);var m=o.listDelimiter;if(m!==null){var f="";m==="."?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,c)),a)this.indentLevel+=1;else if(!a&&!c){var y=o.literal;y&&this.out(this.esc(y)),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 lF(t){this.disableTags>0?this.buffer+=t.replace(rF,""):this.buffer+=t,this.lastOut=t}function aF(){if(this.lastOut!==`
22
+ `){this.buffer+=`
23
+ `,this.lastOut=`
24
+ `;for(var t=this.indentLevel;t>0;t--)this.buffer+=this.indent}}function cF(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}h1.prototype=Object.create(Ue.prototype);h1.prototype.render=sF;h1.prototype.out=lF;h1.prototype.cr=aF;h1.prototype.tag=cF;h1.prototype.esc=$n;const uF=["text-anchor","font-size"],hF={key:0},N1={__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 Xs,n=Pt("ele"),i=Lt({width:0,height:0});St([n,()=>t.fontSize,()=>t.size,()=>t.text,()=>t.textLength,()=>t.fontFamily],async([l])=>{if(!l)return;await kn();let{width:a,height:c}=l.getBBox();i.width=a,i.height=c});const r=X(()=>{let{width:l,height:a}=i,c=[],s=({start:-.5,end:.5}[t.textAnchor]??0)*l;if(t.dockX!=null||t.dockY!=null){let u={left:0,center:.5,right:1}[t.dockX]??+(t.dockX??.5),m={bottom:0,center:.5,top:1}[t.dockY]??+(t.dockY??.5);isNaN(u)&&(u=.5),isNaN(m)&&(m=.5);let f=l*Math.abs(Math.cos(t.angle*Math.PI/180))+a*Math.abs(Math.sin(t.angle*Math.PI/180)),h=l*Math.abs(Math.sin(t.angle*Math.PI/180))+a*Math.abs(Math.cos(t.angle*Math.PI/180)),y=t.translateX,g=t.translateY;c.push(`translate(${f*(.5-u)+y},${h*(m-.5)+g})`),t.angle&&c.push(`rotate(${t.angle})`),c.push(`translate(${s},${-a/2})`)}else{let u={left:0,center:.5,right:1}[t.anchorX]??+(t.anchorX??.5),m={bottom:0,center:.5,top:1}[t.anchorY]??+(t.anchorY??.5);isNaN(u)&&(u=.5),isNaN(m)&&(m=.5);let f=l,h=a,y=t.translateX*Math.cos(t.angle*Math.PI/180)+t.translateY*Math.sin(t.angle*Math.PI/180),g=t.translateY*Math.cos(t.angle*Math.PI/180)-t.translateX*Math.sin(t.angle*Math.PI/180);t.angle&&c.push(`rotate(${t.angle})`),c.push(`translate(${f*(.5-u)+y+s},${h*(m-.5)+g-a/2})`)}return{x:t.x,y:t.y,fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-dasharray":Vt(t.linetype).join(" ")||null,"stroke-opacity":t.alpha==1?null:t.alpha,transform:c.join(" ")||null,"font-family":t.fontFamily||null,textLength:t.textLength,lengthAdjust:t.textLength?"spacingAndGlyphs":null,"transform-origin":`${t.x} ${t.y}`}}),o=X(()=>{const l=e.parse(String(t.text)).walker(),a=[];let c=[],s=[1],u=0,m=!0,f;for(;f=l.next();){let{node:{type:h,literal:y},entering:g}=f,v=s.at(-1);if(g){if(h==="text"||h==="code"){let b=u+(m?1:0);const M=Object.assign({x:m?t.x:null,dy:Te(b||null,"em")},...c,{"font-family":h==="code"?"monospace":null,"font-size":v===1?null:`${v}em`});u=0,m=!1,a.push({text:y,vbind:M})}else if(h==="strong")c.push({"font-weight":"bold"});else if(h==="emph")c.push({"font-style":"italic"});else if(h==="softbreak"||h==="paragraph")a.push({text:`
25
+ `}),m=!0;else if(h==="html_inline"){const b=y;if(b.includes("color=")){const M=b.match(/color=(['"])(.*?)\1/i)?.[2]??b.match(/color=(\S*)/)?.[1];M&&c.push({fill:M})}else b.includes("</font>")?c.pop():b.includes("<sup>")?(u-=.4*v,s.push(v*.7)):b.includes("</sup>")?(u+=.4*s.at(-1),s.pop()):b.includes("<sub>")?(u+=.25*v,s.push(v*.7)):b.includes("</sub>")&&(u-=.25*s.at(-1),s.pop())}}else["strong","emph"].includes(h)&&c.pop()}return a});return(l,a)=>(E(),B("text",J({ref_key:"ele",ref:n},r.value,{"text-anchor":t.textAnchor,"font-size":(t.fontSize??t.size*4)||null}),[t.title?(E(),B("title",hF,qt(t.title),1)):Et("",!0),a[0]||(a[0]=ft()),(E(!0),B(rt,null,at(o.value,c=>(E(),B("tspan",J({ref_for:!0},c.vbind),qt(c.text),17))),256))],16,uF))}},fF=["transform"],mF=["x2"],dF={class:"vvplot-interactive",fill:"transparent"},yF=["width","cursor"],gF={key:0,class:"vvplot-interactive",fill:"transparent"},xF=["x"],vF={__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=K1("rangePreview"),o=X(()=>{let d=0,w={bottom:"0%",center:"50%",top:"100%"}[t.position]??t.position;return typeof w=="string"&&w.endsWith("%")?d=i.value*(1-w.slice(0,-1)/100):d=t.activeTransform.translateV+t.coord2pos({v:+w}).v*t.activeTransform.scaleV+t.layout.top,`translate(0, ${d})`}),l=X(()=>{let d=t.theme.title_position??t.theme.tick_position,w=d,k=t.theme.title_dock_x,C=t.theme.title_dock_y,N=0;return typeof d!="number"&&(w={left:0,bottom:.5,top:.5,right:1}[d]??.5,k??={left:1,right:0}[d]??.5,C??={top:0,bottom:1}[d]??.5,N=({top:-1,bottom:1}[d]??0)*(t.theme.title_offset??0)),{x:n.value*w,y:N,angle:t.theme.title_angle,dockX:k,dockY:C,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),a=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),c=X(()=>{let d=[];for(let w of t.ticks){typeof w=="number"&&(w={position:w});let k=t.coord2pos({h:w.position}).h,C=k*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,N=k+t.layout.l;if(N+C<0||N+C>n.value)continue;let R=(t.theme.tick_position=="top"?-1:1)*(w.length??t.theme.tick_length);d.push({key:"line-"+w.position,y1:0,y2:R,x1:N,x2:N,stroke:w.color??t.theme.tick_color,"stroke-width":w.width??t.theme.tick_width,transform:C?`translate(${C},0)`:null,style:{transition:t.transition}})}return d.filter(w=>w.stroke!=null).sort((w,k)=>w.x1-k.x1)}),s=X(()=>{let d=t.theme.tick_position=="top",w=[];for(let k of t.ticks){typeof k=="number"&&(k={position:k,label:k});let C=t.coord2pos({h:k.position}).h,N=C*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,R=C+t.layout.l;if(R+N<0||R+N>n.value)continue;let q=(d?-1:1)*(k.length??t.theme.tick_length),z,H,Y,I;t.theme.tick_anchor_x!=null||t.theme.tick_anchor_y!=null?(z=t.theme.tick_anchor_x??.5,H=t.theme.tick_anchor_y??(d?0:1)):(Y=t.theme.tick_dock_x??.5,I=t.theme.tick_dock_y??(d?0:1)),w.push({wrapper:{key:"text-"+k.position,transform:N?`translate(${N},0)`:null,style:{transition:t.transition}},text:{x:R,y:q,angle:t.theme.text_angle,anchorX:z,anchorY:H,dockX:Y,dockY:I,text:k.label,title:k.title??k.label,fontSize:k.size??t.theme.label_size,fill:k.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return w.filter(k=>k.text.fill!=null).sort((k,C)=>k.text.x-C.text.x)}),u=Pt("i");function m(d){let w=u.value.getBoundingClientRect(),k=Math.trunc(d.clientX)-w.left-t.layout.left,C=w.left+t.layout.left+t.layout.width-Math.trunc(d.clientX),N={l:k,r:C},{x:R,y:q}=t.pos2coord({h:k});return R&&(N.x=R),q&&(N.y=q),N}const f=e;let h,y=0;function g(d){let w=m(d);f("pointerdown",d,w);let k=!1;function C(H){(Math.abs(H.screenX-d.screenX)>3||Math.abs(H.screenY-d.screenY)>3)&&(k=!0,H.currentTarget.removeEventListener("pointermove",C))}d.target.addEventListener("pointermove",C,{passive:!0}),d.target.addEventListener("pointerup",function(H){if(d.target.removeEventListener("pointermove",C),!k){let Y=m(H);f("singleclick",new PointerEvent("singleclick",H),Y)}},{once:!0});let N=t.action.find(H=>H.action=="move");if(!N)return;d.preventDefault(),d.stopPropagation(),d.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,q=t.layout.width,z=t.coord2pos(N);d.target.setPointerCapture(d.pointerId),d.target.onpointermove=H=>{if(y+=H.movementX,!k)return;let Y=yt(-y,{min:z.hmin-R,max:z.hmax-q}),{xmin:I,xmax:U,ymin:F,ymax:_}=t.pos2coord({hmin:R+Y,hmax:q+Y});Object.assign(r,{xmin:I,xmax:U,ymin:F,ymax:_})},d.target.onpointerup=H=>{d.target.onpointermove=null,d.target.onpointerup=null,d.target.style.cursor=null,k&&(h=setTimeout(()=>{D(N,H),y=0},300))}}function v(d){let w=t.action.find(I=>I.action=="rescale");if(!w)return;d.preventDefault(),d.stopPropagation();let{"min-range-h":k=0}=w,C=m(d),N=t.coord2pos(C).h,R=N-C.l,q=N+C.r,z=t.pos2coord({hmin:R,hmax:q}),H={min:t.coord2pos(w).hmin,max:t.coord2pos({hmin:z.hmax-k,hmax:z.hmin+k}).hmin},Y=0;d.target.setPointerCapture(d.pointerId),d.target.onpointermove=I=>{Y+=I.movementX;let{xmin:U,xmax:F,ymin:_,ymax:K}=t.pos2coord({hmin:yt(q-(q-R)*C.r/Math.max(C.r-Y,1),H),hmax:q});Object.assign(r,{xmin:U,xmax:F,ymin:_,ymax:K})},d.target.onpointerup=I=>{d.target.onpointermove=null,d.target.onpointerup=null,D(w,I)}}function b(d){let w=t.action.find(I=>I.action=="rescale");if(!w)return;d.preventDefault(),d.stopPropagation();let{"min-range-h":k=0}=w,C=m(d),N=t.coord2pos(C).h,R=N-C.l,q=N+C.r,z=t.pos2coord({hmin:R,hmax:q}),H={min:t.coord2pos({hmin:z.hmax-k,hmax:z.hmin+k}).hmax,max:t.coord2pos(w).hmax},Y=0;d.target.setPointerCapture(d.pointerId),d.target.onpointermove=I=>{Y+=I.movementX;let{xmin:U,xmax:F,ymin:_,ymax:K}=t.pos2coord({hmin:R,hmax:yt(R+(q-R)*C.l/Math.max(C.l+Y,1),H)});Object.assign(r,{xmin:U,xmax:F,ymin:_,ymax:K})},d.target.onpointerup=I=>{d.target.onpointermove=null,d.target.onpointerup=null,D(w,I)}}let M=0,A;function L(d){let w=m(d);f("wheel",d,w);let k=t.action.find(C=>["zoom","nudge"].includes(C.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(N=>C[N]==d[N]));k&&(A=clearTimeout(A),d.preventDefault(),d.stopPropagation(),f("update:transition","transform 0.1s ease-out"),M+=d.deltaY,j(k,w,M),A=setTimeout(()=>{D(k,d),M=0},300))}function j(d,w,k){if(d.action=="zoom"){let{"min-range-h":C=0,sensitivity:N=1.25}=d,R=N**(k/100),q=t.coord2pos(d),z=Math.max(w.l-Math.max(w.l,0)*R,q.hmin??-1/0),H=Math.min(w.l+Math.max(w.r,0)*R,q.hmax??1/0),{[t.coord+"min"]:Y,[t.coord+"max"]:I}=t.pos2coord({hmin:z,hmax:H});if(R<1&&I-Y<C){let U=(I+Y)/2;Y=U-C/2,I=U+C/2}r[t.coord+"min"]=Y,r[t.coord+"max"]=I}if(d.action=="nudge"){let{sensitivity:C=.1}=d,N=t.coord2pos(d),R=0,q=t.layout.width,z=C*t.layout.width*(-k/120),H=yt(-z,{min:N.hmin-R,max:N.hmax-q}),{xmin:Y,xmax:I,ymin:U,ymax:F}=t.pos2coord({hmin:R+H,hmax:q+H});Object.assign(r,{xmin:Y,xmax:I,ymin:U,ymax:F})}}function D(d,w){let k=Xt(r)??{};if(!Object.keys(k).length)return;let C=new PointerEvent(w.type,w);qe(d.emit,k,C)||f(d.action,k,C),f("rangechange",k),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const p={pointerup(d){f("pointerup",d,m(d))},pointerover(d){f("pointerover",d,m(d))},pointerout(d){f("pointerout",d,m(d))},pointerenter(d){f("pointerenter",d,m(d))},pointerleave(d){f("pointerleave",d,m(d))},dblclick(d){f("dblclick",d,m(d))},click(d){f("click",d,m(d))},contextmenu(d){f("contextmenu",d,m(d))},pointermove(d){f("pointermove",d,m(d))},pointerdown:g,wheel:L};return(d,w)=>(E(),B("g",{transform:o.value,style:C1({transition:t.transition})},[kt("line",J({ref:"i",x1:0,x2:n.value,y1:0,y2:0},a.value),null,16,mF),w[1]||(w[1]=ft()),(E(!0),B(rt,null,at(c.value,k=>(E(),B("line",J({ref_for:!0},k),null,16))),256)),w[2]||(w[2]=ft()),(E(!0),B(rt,null,at(s.value,k=>(E(),B("g",J({ref_for:!0},k.wrapper),[t.theme.label_type=="markdown"?(E(),vt(N1,J({key:0,ref_for:!0},k.text),null,16)):(E(),vt(c1,J({key:1,ref_for:!0},k.text),null,16))],16))),256)),w[3]||(w[3]=ft()),kt("g",dF,[kt("rect",J({width:n.value,height:10,y:-5},zt(p,!0),{cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,yF)]),w[4]||(w[4]=ft()),t.action.some?.(k=>k.action=="rescale")?(E(),B("g",gF,[kt("rect",{width:20,height:10,y:-5,style:{cursor:"ew-resize"},onPointerdown:v},null,32),w[0]||(w[0]=ft()),kt("rect",{width:20,height:10,y:-5,x:n.value-20,style:{cursor:"ew-resize"},onPointerdown:b},null,40,xF)])):Et("",!0),w[5]||(w[5]=ft()),l.value.text?(E(),B(rt,{key:1},[t.theme.title_type=="markdown"?(E(),vt(N1,re(J({key:0},l.value)),null,16)):(E(),vt(c1,re(J({key:1},l.value)),null,16))],64)):Et("",!0)],12,fF))}},pF=["transform"],bF=["y2"],wF={class:"vvplot-interactive",fill:"transparent"},kF=["height","cursor"],AF={key:0,class:"vvplot-interactive",fill:"transparent"},SF=["y"],NF={__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=K1("rangePreview"),o=X(()=>{let d=0,w={left:"0%",center:"50%",right:"100%"}[t.position]??t.position;return typeof w=="string"&&w.endsWith("%")?d=n.value*w.slice(0,-1)/100:d=t.activeTransform.translateH+t.coord2pos({h:+w}).h*t.activeTransform.scaleH+t.layout.left,`translate(${d}, 0)`}),l=X(()=>{let d=t.theme.title_position??t.theme.tick_position,w=d,k=t.theme.title_dock_x,C=t.theme.title_dock_y,N=0;return typeof d!="number"&&(w={bottom:0,left:.5,right:.5,top:1}[d]??.5,k??={left:1,right:0}[d]??.5,C??={top:0,bottom:1}[d]??.5,N=({left:-1,right:1}[d]??0)*(t.theme.title_offset??0)),{x:N,y:i.value*(1-w),angle:t.theme.title_angle,dockX:k,dockY:C,fontSize:t.theme.title_size,text:t.title,fill:t.theme.title_color,"font-family":"sans-serif",...t.theme.title_style}}),a=X(()=>({stroke:t.theme.line_color,"stroke-width":t.theme.line_width,"stroke-dasharray":t.theme.line_dasharray,style:t.theme.line_style})),c=X(()=>{let d=[];for(let w of t.ticks){typeof w=="number"&&(w={position:w});let k=t.coord2pos({v:w.position}).v,C=k*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,N=k+t.layout.t;if(N+C<0||N+C>i.value)continue;let R=(t.theme.tick_position=="right"?1:-1)*(w.length??t.theme.tick_length);d.push({key:"line-"+w.position,y1:N,y2:N,x1:0,x2:R,stroke:w.color??t.theme.tick_color,"stroke-width":w.width??t.theme.tick_width,transform:C?`translate(0,${C})`:null,style:{transition:t.transition}})}return d.filter(w=>w.stroke!=null).sort((w,k)=>w.y1-k.y1)}),s=X(()=>{let d=t.theme.tick_position=="right",w=[];for(let k of t.ticks){typeof k=="number"&&(k={position:k});let C=t.coord2pos({v:k.position}).v,N=C*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,R=C+t.layout.t;if(R+N<0||R+N>i.value)continue;let q=(d?1:-1)*((k.length??t.theme.tick_length)+3),z,H,Y,I;t.theme.tick_anchor_x!=null||t.theme.tick_anchor_y!=null?(z=t.theme.tick_anchor_x??(d?0:1),H=t.theme.tick_anchor_y??.5):(Y=t.theme.tick_dock_x??(d?0:1),I=t.theme.tick_dock_y??.5),w.push({wrapper:{key:"text-"+k.position,transform:N?`translate(0,${N})`:null,style:{transition:t.transition}},text:{y:R,x:q,angle:t.theme.text_angle,anchorX:z,anchorY:H,dockX:Y,dockY:I,text:k.label,title:k.title??k.label,fontSize:k.size??t.theme.label_size,fill:k.color??t.theme.label_color,"font-family":"sans-serif",...t.theme.label_style}})}return w.filter(k=>k.text.fill!=null).sort((k,C)=>k.text.y-C.text.y)}),u=Pt("i");function m(d){let w=u.value.getBoundingClientRect(),k=Math.trunc(d.clientY)-w.top-t.layout.top,C=w.top+t.layout.top+t.layout.height-Math.trunc(d.clientY),N={t:k,b:C},{x:R,y:q}=t.pos2coord({v:k});return R&&(N.x=R),q&&(N.y=q),N}const f=e;let h,y=0;function g(d){let w=m(d);f("pointerdown",d,w);let k=!1;function C(H){(Math.abs(H.screenX-d.screenX)>3||Math.abs(H.screenY-d.screenY)>3)&&(k=!0,H.currentTarget.removeEventListener("pointermove",C))}d.target.addEventListener("pointermove",C,{passive:!0}),d.target.addEventListener("pointerup",function(H){if(d.target.removeEventListener("pointermove",C),!k){let Y=m(H);f("singleclick",new PointerEvent("singleclick",H),Y)}},{once:!0});let N=t.action.find(H=>H.action=="move");if(!N)return;d.preventDefault(),d.stopPropagation(),d.target.style.cursor="grabbing",h=clearTimeout(h);let R=0,q=t.layout.height,z=t.coord2pos(N);d.target.setPointerCapture(d.pointerId),d.target.onpointermove=H=>{if(y+=H.movementY,!k)return;let Y=yt(-y,{min:z.vmin-R,max:z.vmax-q}),{xmin:I,xmax:U,ymin:F,ymax:_}=t.pos2coord({vmin:R+Y,vmax:q+Y});Object.assign(r,{xmin:I,xmax:U,ymin:F,ymax:_})},d.target.onpointerup=H=>{d.target.onpointermove=null,d.target.onpointerup=null,d.target.style.cursor=null,k&&(h=setTimeout(()=>{D(N,H),y=0},300))}}function v(d){let w=t.action.find(I=>I.action=="rescale");if(!w)return;d.preventDefault(),d.stopPropagation();let{"min-range-v":k=0}=w,C=m(d),N=t.coord2pos(C).v,R=N-C.t,q=N+C.b,z=t.pos2coord({vmin:R,vmax:q}),H={min:t.coord2pos(w).vmin,max:t.coord2pos({vmin:z.vmax-k,vmax:z.vmin+k}).vmin},Y=0;d.target.setPointerCapture(d.pointerId),d.target.onpointermove=I=>{Y+=I.movementY;let{xmin:U,xmax:F,ymin:_,ymax:K}=t.pos2coord({vmin:yt(q-(q-R)*C.b/Math.max(C.b-Y,1),H),vmax:q});Object.assign(r,{xmin:U,xmax:F,ymin:_,ymax:K})},d.target.onpointerup=I=>{d.target.onpointermove=null,d.target.onpointerup=null,D(w,I)}}function b(d){let w=t.action.find(I=>I.action=="rescale");if(!w)return;d.preventDefault(),d.stopPropagation();let{"min-range-v":k=0}=w,C=m(d),N=t.coord2pos(C).v,R=N-C.t,q=N+C.b,z=t.pos2coord({vmin:R,vmax:q}),H={min:t.coord2pos({vmin:z.vmax-k,vmax:z.vmin+k}).vmax,max:t.coord2pos(w).vmax},Y=0;d.target.setPointerCapture(d.pointerId),d.target.onpointermove=I=>{Y+=I.movementY;let{xmin:U,xmax:F,ymin:_,ymax:K}=t.pos2coord({vmin:R,vmax:yt(R+(q-R)*C.t/Math.max(C.t+Y,1),H)});Object.assign(r,{xmin:U,xmax:F,ymin:_,ymax:K})},d.target.onpointerup=I=>{d.target.onpointermove=null,d.target.onpointerup=null,D(w,I)}}let M=0,A;function L(d){let w=m(d);f("wheel",d,w);let k=t.action.find(C=>["zoom","nudge"].includes(C.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every(N=>C[N]==d[N]));k&&(A=clearTimeout(A),d.preventDefault(),d.stopPropagation(),f("update:transition","transform 0.1s ease-out"),M+=d.deltaY,j(k,w,M),A=setTimeout(()=>{D(k,d),M=0},300))}function j(d,w,k){if(d.action=="zoom"){let{"min-range-v":C=0,sensitivity:N=1.25}=d,R=N**(k/100),q=t.coord2pos(d),z=Math.max(w.t-Math.max(w.t,0)*R,q.vmin??-1/0),H=Math.min(w.t+Math.max(w.b,0)*R,q.vmax??1/0),{[t.coord+"min"]:Y,[t.coord+"max"]:I}=t.pos2coord({vmin:z,vmax:H});if(R<1&&I-Y<C){let U=(I+Y)/2;Y=U-C/2,I=U+C/2}r[t.coord+"min"]=Y,r[t.coord+"max"]=I}if(d.action=="nudge"){let{sensitivity:C=.1}=d,N=t.coord2pos(d),R=0,q=t.layout.height,z=C*t.layout.height*(-k/120),H=yt(-z,{min:N.vmin-R,max:N.vmax-q}),{xmin:Y,xmax:I,ymin:U,ymax:F}=t.pos2coord({vmin:R+H,vmax:q+H});Object.assign(r,{xmin:Y,xmax:I,ymin:U,ymax:F})}}function D(d,w){let k=Xt(r)??{};if(!Object.keys(k).length)return;let C=new PointerEvent(w.type,w);qe(d.emit,k,C)||f(d.action,k,C),f("rangechange",k),Object.assign(r,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const p={pointerup(d){f("pointerup",d,m(d))},pointerover(d){f("pointerover",d,m(d))},pointerout(d){f("pointerout",d,m(d))},pointerenter(d){f("pointerenter",d,m(d))},pointerleave(d){f("pointerleave",d,m(d))},dblclick(d){f("dblclick",d,m(d))},click(d){f("click",d,m(d))},contextmenu(d){f("contextmenu",d,m(d))},pointermove(d){f("pointermove",d,m(d))},pointerdown:g,wheel:L};return(d,w)=>(E(),B("g",{transform:o.value,style:C1({transition:t.transition})},[kt("line",J({ref:"i",x1:0,x2:0,y1:0,y2:i.value},a.value),null,16,bF),w[1]||(w[1]=ft()),(E(!0),B(rt,null,at(c.value,k=>(E(),B("line",J({ref_for:!0},k),null,16))),256)),w[2]||(w[2]=ft()),(E(!0),B(rt,null,at(s.value,k=>(E(),B("g",J({ref_for:!0},k.wrapper),[t.theme.label_type=="markdown"?(E(),vt(N1,J({key:0,ref_for:!0},k.text),null,16)):(E(),vt(c1,J({key:1,ref_for:!0},k.text),null,16))],16))),256)),w[3]||(w[3]=ft()),kt("g",wF,[kt("rect",J({width:10,height:i.value,x:-5},zt(p,!0),{cursor:t.action.some?.(k=>k.action=="move")?"grab":null}),null,16,kF)]),w[4]||(w[4]=ft()),t.action.some?.(k=>k.action=="rescale")?(E(),B("g",AF,[kt("rect",{width:10,height:20,x:-5,style:{cursor:"ns-resize"},onPointerdown:v},null,32),w[0]||(w[0]=ft()),kt("rect",{width:10,height:20,x:-5,y:i.value-20,style:{cursor:"ns-resize"},onPointerdown:b},null,40,SF)])):Et("",!0),w[5]||(w[5]=ft()),l.value.text?(E(),B(rt,{key:1},[t.theme.title_type=="markdown"?(E(),vt(N1,re(J({key:0},l.value)),null,16)):(E(),vt(c1,re(J({key:1},l.value)),null,16))],64)):Et("",!0)],12,pF))}},ro={__name:"CoreAxis",props:{theme:{type:Object,default:()=>({})},position:null,orientation:null},setup(t){const e={h:vF,v:NF};return(n,i)=>t.position!="none"?(E(),vt(r1(e[t.orientation]),{key:0,theme:t.theme,position:t.position},null,8,["theme","position"])):Et("",!0)}},CF={__name:"CoreGridH",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let a of t.majorBreaks){let c=t.coord2pos({v:a.position}).v;if(isNaN(c))continue;let s=c*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=c+t.layout.t;u+s<0||u+s>n.value||l.push({key:"major-"+a.position,x1:0,x2:e.value,y1:u,y2:u,stroke:a.color??t.theme.line_color_major,"stroke-width":a.width??t.theme.line_width_major??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(a=>a.stroke!==null)}),r=X(()=>{let l=[];for(let a of t.minorBreaks){if(t.majorBreaks.some(m=>m.position==a.position))continue;let c=t.coord2pos({v:a.position}).v;if(isNaN(c))continue;let s=c*(t.activeTransform.scaleV-1)+t.activeTransform.translateV,u=c+t.layout.t;u+s<0||u+s>n.value||l.push({key:"minor-"+a.position,x1:0,x2:e.value,y1:u,y2:u,stroke:a.color??t.theme.line_color_minor,"stroke-width":a.width??t.theme.line_width_minor??0,transform:s?`translate(0,${s})`:null,style:{transition:t.transition}})}return l.filter(a=>a.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,a)=>l.y1-a.y1));return(l,a)=>(E(),B("g",null,[(E(!0),B(rt,null,at(o.value,c=>(E(),B("line",J({ref_for:!0},c,{style:{transition:t.transition}}),null,16))),256))]))}},MF={__name:"CoreGridV",props:{majorBreaks:{type:Array,default:()=>[]},minorBreaks:{type:Array,default:()=>[]},coord2pos:Function,pos2coord:Function,layout:Object,theme:{type:Object,default:()=>({})},action:{type:Object,default:()=>({})},activeTransform:Object,transition:String},setup(t){const e=X(()=>t.layout.width+t.layout.l+t.layout.r),n=X(()=>t.layout.height+t.layout.t+t.layout.b),i=X(()=>{let l=[];for(let a of t.majorBreaks){let c=t.coord2pos({h:a.position}).h;if(isNaN(c))continue;let s=c*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=c+t.layout.l;u+s<0||u+s>e.value||l.push({key:"major-"+a.position,y1:0,y2:n.value,x1:u,x2:u,stroke:a.color??t.theme.line_color_major,"stroke-width":a.width??t.theme.line_width_major??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(a=>a.stroke!==null)}),r=X(()=>{let l=[];for(let a of t.minorBreaks){if(t.majorBreaks.some(m=>m.position==a.position))continue;let c=t.coord2pos({h:a.position}).h;if(isNaN(c))continue;let s=c*(t.activeTransform.scaleH-1)+t.activeTransform.translateH,u=c+t.layout.l;u+s<0||u+s>e.value||l.push({key:"minor-"+a.position,y1:0,y2:n.value,x1:u,x2:u,stroke:a.color??t.theme.line_color_minor,"stroke-width":a.width??t.theme.line_width_minor??0,transform:s?`translate(${s},0)`:null,style:{transition:t.transition}})}return l.filter(a=>a.stroke!==null)}),o=X(()=>r.value.concat(i.value).sort((l,a)=>l.x1-a.x1));return(l,a)=>(E(),B("g",null,[(E(!0),B(rt,null,at(o.value,c=>(E(),B("line",J({ref_for:!0},c,{style:{transition:t.transition}}),null,16))),256))]))}},TF={__name:"CoreCanvasBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,xmin:y,xmax:g,y:v,ymin:b,ymax:M,lwisker:A,Q1:L,median:j,Q3:D,uwisker:p,outliers:d,$xmin:w,$xmax:k,$ymin:C,$ymax:N,fill:R="white",color:q="black",linewidth:z=1,linetype:H,alpha:Y,"translate-x":I=0,"translate-y":U=0,$raw:F}of f){if(q==="transparent")continue;const{hmin:_,hmax:K,vmin:et,vmax:ot}=t.coord2pos(h==null?{ymin:b,ymax:M,xmin:L,xmax:D}:{xmin:y,xmax:g,ymin:L,ymax:D}),{h:ut,v:gt}=t.coord2pos(h==null?{y:v,x:A}:{x:h,y:A}),{h:Ut,v:ne}=t.coord2pos(h==null?{y:v,x:p}:{x:h,y:p}),{h:Rt,v:ge}=t.coord2pos(h==null?{y:b,x:j}:{x:y,y:j}),{h:xe,v:T}=t.coord2pos(h==null?{y:M,x:j}:{x:g,y:j}),{h:P,v:V}=t.coord2pos(h==null?{y:b*.25+M*.75,x:p}:{x:y*.25+g*.75,y:p}),{h:x,v:S}=t.coord2pos(h==null?{y:b*.75+M*.25,x:p}:{x:y*.75+g*.25,y:p}),{h:$,v:O}=t.coord2pos(h==null?{y:b*.25+M*.75,x:A}:{x:y*.25+g*.75,y:A}),{h:W,v:G}=t.coord2pos(h==null?{y:b*.75+M*.25,x:A}:{x:y*.75+g*.25,y:A});s.globalAlpha=Y,s.setLineDash(Vt(H));const tt=new Path2D;tt.moveTo(ut+I,gt+U),tt.lineTo(Ut+I,ne+U);const it=new Path2D;it.moveTo(P+I,V+U),it.lineTo(x+I,S+U),it.moveTo($+I,O+U),it.lineTo(W+I,G+U),s.lineWidth=z,q!=="none"&&(s.strokeStyle=q,s.stroke(tt),s.stroke(it));const st=new Path2D;st.rect(_+I,et+U,K-_,ot-et),R!=="none"&&(s.fillStyle=R,s.fill(st)),q!=null&&(s.strokeStyle=q,s.stroke(st)),u.set(st,F);const pt=new Path2D;pt.moveTo(Rt+I,ge+U),pt.lineTo(xe+I,T+U),s.lineWidth=z*2,q!=="none"&&(s.strokeStyle=q,s.stroke(pt));for(let{x:xt,y:ct,$raw:lt}of d){const{h:Z,v:nt}=t.coord2pos({x:xt,y:ct}),Q=new Path2D;Q.arc(Z+I,nt+U,2,0,Math.PI*2),R!=="none"&&(s.fillStyle=q,s.fill(Q)),u.set(Q,lt)}}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},$F={__name:"CoreCanvasCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{points:y,fill:g="none",color:v="black",linewidth:b,linetype:M,alpha:A,"translate-x":L=0,"translate-y":j=0,$raw:D,interpolate:p}of h){if(y=y.map(C=>(({h:N,v:R})=>({x:N,y:R}))(t.coord2pos(C))).filter(C=>C.x!=null&&C.y!=null),y.length===0)continue;const d=new Path2D;let k=(c[p]??mn)(d);k.lineStart();for(let C=0;C<y.length;C++)k.point(y[C].x+L,y[C].y+j);k.lineEnd(),m.set(d,D),u.lineWidth=b,u.globalAlpha=A,u.setLineDash(Vt(M)),g!=="none"&&(u.fillStyle=g,u.fill(d)),v!=null&&(u.strokeStyle=v,u.stroke(d))}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(y){if(y._vhandled)return;const g=s.getBoundingClientRect(),v=y.clientX-g.left,b=y.clientY-g.top;for(const[M,A]of f)if(u.isPointInPath(M,v,b)){r(h,y,t.getCoord(y),A),y._vhandled=!0;break}});return s});St(a,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)});const c={cardinal:cs,catmullRom:hs,linear:Si,natural:mn};return(s,u)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},EF={__name:"CoreCanvasEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{cx:h,cy:y,A:g,B:v,C:b,fill:M="none",color:A="black",linewidth:L,linetype:j,alpha:D,"translate-x":p=0,"translate-y":d=0,$raw:w}of f){let k=Math.sqrt(b/(g*b-v*v)),C=Math.sqrt(g/(g*b-v*v));const{h:N,v:R}=t.coord2pos({x:h,y});let{hmin:q,hmax:z,vmin:H,vmax:Y}=t.coord2pos({xmin:h-k,xmax:h+k,ymin:y-C,ymax:y+C}),I=(z-q)/(2*k),U=(Y-H)/(2*C);g/=I*I,v/=I*U,b/=U*U;const F=g+b,_=g*b-v*v,K=Math.sqrt(Math.max(0,F*F/4-_));let et=1/Math.sqrt(F/2+K),ot=1/Math.sqrt(F/2-K),ut=-Math.atan2(2*v,g-b)/2;const gt=new Path2D;gt.ellipse(N+p,R+d,et,ot,ut,0,2*Math.PI),u.set(gt,w),s.lineWidth=L,s.globalAlpha=D,s.setLineDash(Vt(j)),M!=="none"&&(s.fillStyle=M,s.fill(gt)),A!=null&&(s.strokeStyle=A,s.stroke(gt))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},oo={__name:"CoreCanvasLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,y,xend:g,yend:v,color:b,linewidth:M,alpha:A,linetype:L,"translate-x":j=0,"translate-y":D=0,$raw:p}of f){if(b==="transparent")continue;const{h:d,v:w}=t.coord2pos({x:h,y}),{h:k,v:C}=t.coord2pos({x:g,y:v}),N=new Path2D;N.moveTo(d+j,w+D),N.lineTo(k+j,C+D),u.set(N,p),s.lineWidth=M,s.globalAlpha=A,s.setLineDash(Vt(L)),b!=="none"&&(s.strokeStyle=b,s.stroke(N))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},LF={__name:"CoreCanvasPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"],setup(t,{expose:e,emit:n}){let i=["click","contextmenu","singleclick","dblclick","pointermove","pointerdown","pointerup","wheel"];const r=n,o={triangle:s=>`M0-${s*2/3}L${s*.577},${s/3}L-${s*.577},${s/3}Z`,diamond:s=>`M0-${s*.707}L${s*.707},0L0,${s*.707}L-${s*.707},0Z`,square:s=>`M-${s/2}-${s/2}H${s/2}V${s/2}H-${s/2}Z`,plus:s=>`M-${s/10}-${s/2}V-${s/10}H-${s/2}V${s/10}H-${s/10}V${s/2}H${s/10}V${s/10}H${s/2}V-${s/10}H${s/10}V-${s/2}H-${s/10}Z`,corss:s=>`M-${s*.283}-${s*.424}L-${s*.424}-${s*.283}L-${s*.141},0L-${s*.424},${s*.283}L-${s*.283},${s*.424}L0,${s*.141}L${s*.283},${s*.424}L${s*.424},${s*.283}L${s*.141},0L${s*.424},-${s*.283}L${s*.283},-${s*.424}L0,-${s*.141}Z`},l=X(()=>({width:t.layout.fullWidth*(1+t.extendX*2),height:t.layout.fullHeight*(1+t.extendY*2),x:-t.layout.l-t.layout.fullWidth*t.extendX,y:-t.layout.t-t.layout.fullHeight*t.extendY})),a=Pt("container"),c=X(()=>{if(a.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{x:y,y:g,size:v=6,shape:b,color:M,stroke:A,linewidth:L,linetype:j,alpha:D,"translate-x":p=0,"translate-y":d=0,$raw:w}of h){const{h:k,v:C}=t.coord2pos({x:y,y:g}),N=new Path2D;String(b).startsWith("path:")?N.addPath(new Path2D(b.slice(5)),new DOMMatrix().translateSelf(k+p,C+d)):b in o?N.addPath(new Path2D(o[b](v)),new DOMMatrix().translate(k+p,C+d)):N.arc(k+p,C+d,v/2,0,Math.PI*2),m.set(N,w),u.lineWidth=L,u.globalAlpha=D,u.beginPath(),M!=="none"&&(u.fillStyle=M,u.fill(N)),A!=null&&(u.strokeStyle=A,u.setLineDash(Vt(j)),u.stroke(N))}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(y){if(y._vhandled)return;const g=s.getBoundingClientRect(),v=y.clientX-g.left,b=y.clientY-g.top;for(const[M,A]of f)if(u.isPointInPath(M,v,b)){r(h,y,t.getCoord(y),A),y._vhandled=!0;break}});return s});return St(c,s=>a.value.replaceChildren(s)),e({dispatchEvent:s=>c.value?.dispatchEvent?.(s)}),(s,u)=>(E(),B("foreignObject",J(l.value,{ref:"container"}),null,16))}},OF={__name:"CoreCanvasPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{points:h,fill:y,color:g,linewidth:v,linetype:b,alpha:M,"translate-x":A=0,"translate-y":L=0,$raw:j}of f){if(h=h.map(p=>(({h:d,v:w})=>({x:d,y:w}))(t.coord2pos(p))).filter(p=>p.x!=null&&p.y!=null),h.length===0)continue;const D=new Path2D;D.moveTo(h[0].x+A,h[0].y+L);for(let p=1;p<h.length;p++)D.lineTo(h[p].x+A,h[p].y+L);D.closePath(),u.set(D,j),s.lineWidth=v,s.globalAlpha=M,s.setLineDash(Vt(b)),y!=="none"&&(s.fillStyle=y,s.fill(D)),g!=null&&(s.strokeStyle=g,s.stroke(D))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},so={__name:"CoreCanvasRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{xmin:h,xmax:y,ymin:g,ymax:v,fill:b,color:M,linewidth:A,linetype:L,alpha:j,"translate-x":D=0,"translate-y":p=0,$raw:d}of f){const{hmin:w,hmax:k,vmin:C,vmax:N}=t.coord2pos({xmin:h,xmax:y,ymin:g,ymax:v}),R=new Path2D;R.rect(w+D,C+p,k-w,N-C),u.set(R,d),s.lineWidth=A,s.globalAlpha=j,s.setLineDash(Vt(L)),b!=="none"&&(s.fillStyle=b,s.fill(R)),M!=null&&(s.strokeStyle=M,s.stroke(R))}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},jF={__name:"CoreCanvasText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const c=document.createElement("canvas");c.width=t.layout.fullWidth*(1+t.extendX*2),c.height=t.layout.fullHeight*(1+t.extendY*2);const s=c.getContext("2d");s.clearRect(0,0,c.width,c.height),s.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let u=new Map,m=new Map;for(const f of t.data)for(let{x:h,y,color:g,size:v=4,label:b="",title:M,stroke:A,linewidth:L,linetype:j,alpha:D,"anchor-x":p,"anchor-y":d,"dock-x":w,"dock-y":k,"translate-x":C=0,"translate-y":N=0,angle:R,"text-length":q,"font-family":z="sans-serif",$raw:H}of f){s.save();const{h:Y,v:I}=t.coord2pos({x:h,y});s.textAlign="center",s.textBaseline="middle",s.lineWidth=L,s.globalAlpha=D,s.font=`${v*4}px ${z}`,s.setLineDash(Vt(j)),s.translate(Y+C,I+N);let{width:U,fontBoundingBoxAscent:F,fontBoundingBoxDescent:_}=s.measureText(b),K=U,et=F+_;if(typeof q=="object"){let{x:ot=0,y:ut=0}=q,{h:gt,v:Ut}=t.coord2pos({x:h+ot/2,y:y+ut/2}),{h:ne,v:Rt}=t.coord2pos({x:h-ot/2,y:y-ut/2});K=Math.hypot(gt-ne||0,Ut-Rt||0)}else q!=null&&(K=q);if(w!=null||k!=null){let ot={left:0,center:.5,right:1}[w]??+(w??.5),ut={bottom:0,center:.5,top:1}[k]??+(k??.5);isNaN(ot)&&(ot=.5),isNaN(ut)&&(ut=.5);let gt=K*Math.abs(Math.cos(R*Math.PI/180))+et*Math.abs(Math.sin(R*Math.PI/180)),Ut=K*Math.abs(Math.sin(R*Math.PI/180))+et*Math.abs(Math.cos(R*Math.PI/180));s.translate(gt*(.5-ot),Ut*(ut-.5)),s.rotate(R*Math.PI/180)}else{let ot={left:0,center:.5,right:1}[p]??+(p??.5),ut={bottom:0,center:.5,top:1}[d]??+(d??.5);isNaN(ot)&&(ot=.5),isNaN(ut)&&(ut=.5);let gt=K,Ut=et;s.rotate(R*Math.PI/180),s.translate(gt*(.5-ot),Ut*(ut-.5))}K!=U&&s.scale(K/U,1),g!=="none"&&(s.fillStyle=g,s.fillText(b,0,0)),A!=null&&(s.strokeStyle=A,s.strokeText(b,0,0)),s.restore()}for(let f of Array.from(u.keys()).reverse())m.set(f,u.get(f));for(let f of i)c.addEventListener(f,function(h){if(h._vhandled)return;const y=c.getBoundingClientRect(),g=h.clientX-y.left,v=h.clientY-y.top;for(const[b,M]of m)if(s.isPointInPath(b,g,v)){r(f,h,t.getCoord(h),M),h._vhandled=!0;break}});return c});return St(a,c=>l.value.replaceChildren(c)),e({dispatchEvent:c=>a.value?.dispatchEvent?.(c)}),(c,s)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},PF={__name:"CoreCanvasTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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=Pt("container"),a=X(()=>{if(l.value==null)return;const s=document.createElement("canvas");s.width=t.layout.fullWidth*(1+t.extendX*2),s.height=t.layout.fullHeight*(1+t.extendY*2);const u=s.getContext("2d");u.clearRect(0,0,s.width,s.height),u.translate(t.layout.l+t.layout.fullWidth*t.extendX,t.layout.t+t.layout.fullHeight*t.extendY);let m=new Map,f=new Map;for(const h of t.data)for(let{x:y,xend:g,y:v,yend:b,size:M=4,label:A="",title:L,color:j,stroke:D,linewidth:p,linetype:d,alpha:w,"translate-x":k=0,"translate-y":C=0,"text-length":N,"font-family":R="sans-serif","text-align":q="justify",angle:z="auto",inset:H=0,$raw:Y}of h){const{h:I,v:U}=t.coord2pos({x:y,y:v}),{h:F,v:_}=t.coord2pos({x:g,y:b});if(u.save(),u.translate(k,C),u.textBaseline="middle",u.lineWidth=p,u.globalAlpha=w,u.font=`${M*4}px ${R}`,u.setLineDash(Vt(d)),["stretch","pre","start","center","end","post"].includes(q)){let K=Math.atan2(_-U,F-I),et=String(A).replace(/\x01|\x02/g,""),ot=Math.cos(K)*H,ut=Math.sin(K)*H;switch(q){case"stretch":case"center":u.translate((I+F)/2,(U+_)/2),u.textAlign="center";break;case"pre":u.translate(I-ot,U-ut),u.textAlign="end";break;case"start":u.translate(I+ot,U+ut),u.textAlign="start";break;case"end":u.translate(F-ot,_-ut),u.textAlign="end";break;case"post":u.translate(F+ot,_+ut),u.textAlign="start";break}u.rotate(K),q==="stretch"&&u.scale(Math.hypot(F-I||0,_-U||0)/u.measureText(et).width,1),j!=="none"&&(u.fillStyle=j,u.fillText(et,0,0)),D!=null&&(u.strokeStyle=D,u.strokeText(et,0,0))}else{let K=z==="auto"?Math.atan2(_-U,F-I):z*Math.PI/180;u.textAlign="center";let et=c(String(A)),ot=(F-I)/(et.length-1||1),ut=(_-U)/(et.length-1||1);for(let gt=0;gt<et.length;gt++){u.save(),u.translate(I+gt*ot,U+gt*ut),u.rotate(K);let Ut=et[gt];j!=="none"&&(u.fillStyle=j,u.fillText(Ut,0,0)),D!=null&&(u.strokeStyle=D,u.strokeText(Ut,0,0)),u.restore()}}u.restore()}for(let h of Array.from(m.keys()).reverse())f.set(h,m.get(h));for(let h of i)s.addEventListener(h,function(y){if(y._vhandled)return;const g=s.getBoundingClientRect(),v=y.clientX-g.left,b=y.clientY-g.top;for(const[M,A]of f)if(u.isPointInPath(M,v,b)){r(h,y,t.getCoord(y),A),y._vhandled=!0;break}});return s});St(a,s=>l.value.replaceChildren(s)),e({dispatchEvent:s=>a.value?.dispatchEvent?.(s)});function c(s){let u=[];for(let m=0;m<s.length;m++)if(s[m]==""){let f=m+1;for(;f<s.length&&s[f]!="";)f++;u.push(s.slice(m+1,f)),m=f}else u.push(s[m]);return u}return(s,u)=>(E(),B("foreignObject",J(o.value,{ref:"container"}),null,16))}},DF=Object.freeze(Object.defineProperty({__proto__:null,boxplot:TF,curve:$F,ellipse:EF,line:oo,point:LF,polygon:OF,rect:so,stick:oo,text:jF,textsegment:PF,tile:so},Symbol.toStringTag,{value:"Module"})),qF={__name:"CoreSvgBlank",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},emits:["click","contextmenu","pointerover","pointerout","pointerenter","pointerleave","pointermove","pointerdown","pointerup"],setup(t,{emit:e}){return(n,i)=>(E(),B("g"))}},VF={key:0},En={__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,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(E(),B("rect",re(u1(e.value)),[t.title?(E(),B("title",VF,qt(t.title),1)):Et("",!0)],16))}},BF={key:0},IF={key:0},Mi={__name:"CorePoint",props:{x:{type:Number,default:0},y:{type:Number,default:0},shape:String,size:{type:Number,default:6},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,angle:{type:Number,default:0},translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e={square:"M-0.5-0.5H0.5V0.5H-0.5Z",triangle:"M0-0.667L0.577,0.333L-0.577,0.333Z",diamond:"M0-0.707L0.707,0L0,0.707L-0.707,0Z",plus:"M-0.1-0.5V-0.1H-0.5V0.1H-0.1V0.5H0.1V0.1H0.5V-0.1H0.1V-0.5H-0.1Z",cross:"M-0.283-0.424L-0.424-0.283L-0.141,0L-0.424,0.283L-0.283,0.424L0,0.141L0.283,0.424L0.424,0.283L0.141,0L0.424,-0.283L0.283,-0.424L0,-0.141Z"},n=X(()=>{let i=t.shape?.startsWith?.("path:")?t.shape?.slice?.(5):e[t.shape],r={fill:t.color||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.stroke||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null};if(i!=null){let o=`translate(${t.x+t.translateX},${t.y+t.translateY})`;t.size!=1&&(o+=`scale(${t.size})`),t.angle&&(o+=`rotate(${t.angle})`),Object.assign(r,{d:i,transform:o})}else{let o=t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null;Object.assign(r,{cx:t.x,cy:t.y,r:t.size/2,transform:o})}return r});return(i,r)=>n.value.d?(E(),B("path",re(J({key:0},n.value)),[t.title?(E(),B("title",BF,qt(t.title),1)):Et("",!0)],16)):(E(),B("circle",re(J({key:1},n.value)),[t.title?(E(),B("title",IF,qt(t.title),1)):Et("",!0)],16))}},RF={key:0},t1={__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,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(E(),B("line",re(u1(e.value)),[t.title?(E(),B("title",RF,qt(t.title),1)):Et("",!0)],16))}},HF={__name:"CoreSvgBoxplot",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,xmin:m,xmax:f,y:h,ymin:y,ymax:g,lwisker:v,Q1:b,median:M,Q3:A,uwisker:L,outliers:j,$xmin:D,$xmax:p,$ymin:d,$ymax:w,fill:k="white",color:C="black",linewidth:N,linetype:R,alpha:q,title:z,"translate-x":H=0,"translate-y":Y=0,$raw:I})=>{const{hmin:U,hmax:F,vmin:_,vmax:K}=t.coord2pos({xmin:D,xmax:p,ymin:d,ymax:w});if(U<o&&F<o||U>l&&F>l||_<a&&K<a||_>c&&K>c)return null;const{hmin:et,hmax:ot,vmin:ut,vmax:gt}=t.coord2pos(u==null?{ymin:y,ymax:g,xmin:b,xmax:A}:{xmin:m,xmax:f,ymin:b,ymax:A}),{h:Ut,v:ne}=t.coord2pos(u==null?{y:h,x:v}:{x:u,y:v}),{h:Rt,v:ge}=t.coord2pos(u==null?{y:h,x:L}:{x:u,y:L}),{h:xe,v:T}=t.coord2pos(u==null?{y,x:M}:{x:m,y:M}),{h:P,v:V}=t.coord2pos(u==null?{y:g,x:M}:{x:f,y:M}),{h:x,v:S}=t.coord2pos(u==null?{y:y*.25+g*.75,x:L}:{x:m*.25+f*.75,y:L}),{h:$,v:O}=t.coord2pos(u==null?{y:y*.75+g*.25,x:L}:{x:m*.75+f*.25,y:L}),{h:W,v:G}=t.coord2pos(u==null?{y:y*.25+g*.75,x:v}:{x:m*.25+f*.75,y:v}),{h:tt,v:it}=t.coord2pos(u==null?{y:y*.75+g*.25,x:v}:{x:m*.75+f*.25,y:v});let st={rect:{x:(et+ot)/2,width:ot-et,y:(ut+gt)/2,height:gt-ut,fill:k,color:C,linetype:R,linewidth:N,alpha:q,title:z,translateX:H,translateY:Y},line:{x1:Ut,y1:ne,x2:Rt,y2:ge,color:C,linetype:R,linewidth:N,alpha:q,translateX:H,translateY:Y},midline:{x1:xe,y1:T,x2:P,y2:V,color:C,linetype:R,linewidth:(N??1)*2,alpha:q,translateX:H,translateY:Y},uwisker:{x1:x,y1:S,x2:$,y2:O,color:C,linetype:R,linewidth:N,alpha:q,translateX:H,translateY:Y},lwisker:{x1:W,y1:G,x2:tt,y2:it,color:C,linetype:R,linewidth:N,alpha:q,translateX:H,translateY:Y},outliers:j?.map(({x:xt,y:ct,$raw:lt})=>{const{h:Z,v:nt}=t.coord2pos({x:xt,y:ct});let Q={x:Z,y:nt,shape:"circle",size:4,color:C,alpha:q,translateX:H,translateY:Y},mt=Object.fromEntries(n.map(wt=>[wt,te=>i(wt,te,lt)]));return[Q,mt]})},pt=Object.fromEntries(n.map(xt=>[xt,ct=>i(xt,Object.assign(ct,{_vhandled:!0}),t.getCoord(ct),I)]));return[st,pt]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),B("g",null,[$e(t1,J({ref_for:!0},c.line),null,16),l[0]||(l[0]=ft()),$e(En,J({ref_for:!0},c.rect,zt(s)),null,16),l[1]||(l[1]=ft()),$e(t1,J({ref_for:!0},c.midline),null,16),l[2]||(l[2]=ft()),$e(t1,J({ref_for:!0},c.uwisker),null,16),l[3]||(l[3]=ft()),$e(t1,J({ref_for:!0},c.lwisker),null,16),l[4]||(l[4]=ft()),(E(!0),B(rt,null,at(c.outliers,([u,m])=>(E(),vt(Mi,J({ref_for:!0},u,zt(m)),null,16))),256))]))),256))]))),256))]))}},XF={key:0},zs={__name:"CoreCurve",props:{points:{type:Array,default:()=>[]},interpolate:{default:"natural"},fill:{type:String,default:"none"},color:String,stroke:String,linewidth:Number,linetype:String,alpha:{type:Number,default:1},title:String,translateX:{type:Number,default:0},translateY:{type:Number,default:0}},setup(t){const e=X(()=>{let i=n[t.interpolate]??mn;return{d:R2().curve(i)(t.points.map(r=>[r.x,r.y])),fill:t.fill||null,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}}),n={cardinal:cs,catmullRom:hs,linear:Si,natural:mn};return(i,r)=>(E(),B("path",re(u1(e.value)),[t.title?(E(),B("title",XF,qt(t.title),1)):Et("",!0)],16))}},YF={__name:"CoreSvgCurve",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:m="none",color:f="black",linewidth:h,linetype:y,alpha:g,title:v,"translate-x":b=0,"translate-y":M=0,$raw:A,interpolate:L})=>{if(u=u.map(p=>(({h:d,v:w})=>({x:d,y:w}))(t.coord2pos(p))),u.every(p=>p.x<o)||u.every(p=>p.x>l)||u.every(p=>p.y<a)||u.every(p=>p.y>c))return null;let j={points:u,fill:m,color:f,linetype:y,linewidth:h,alpha:g,title:v,translateX:b,translateY:M,interpolate:L},D=Object.fromEntries(n.map(p=>[p,d=>i(p,Object.assign(d,{_vhandled:!0}),t.getCoord(d),A)]));return[j,D]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(zs,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},zF={key:0},UF={__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,fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:n.join(" ")||null,"transform-origin":`${t.cx} ${t.cy}`}});return(n,i)=>(E(),B("ellipse",re(u1(e.value)),[t.title?(E(),B("title",zF,qt(t.title),1)):Et("",!0)],16))}},FF={__name:"CoreSvgEllipse",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({cx:u,cy:m,A:f,B:h,C:y,fill:g="none",color:v="black",linewidth:b,linetype:M,alpha:A,title:L,"translate-x":j=0,"translate-y":D=0,$raw:p})=>{let d=Math.sqrt(y/(f*y-h*h)),w=Math.sqrt(f/(f*y-h*h));const{h:k,v:C}=t.coord2pos({x:u,y:m});let{hmin:N,hmax:R,vmin:q,vmax:z}=t.coord2pos({xmin:u-d,xmax:u+d,ymin:m-w,ymax:m+w});if(R<o||N>l||z<a||q>c)return null;let H=(R-N)/(2*d),Y=(z-q)/(2*w);f/=H*H,h/=H*Y,y/=Y*Y;const I=f+y,U=f*y-h*h,F=Math.sqrt(Math.max(0,I*I/4-U));let _={cx:k,cy:C,rx:1/Math.sqrt(I/2+F),ry:1/Math.sqrt(I/2-F),angle:-Math.atan2(2*h,f-y)/2*180/Math.PI,fill:g,color:v,linetype:M,linewidth:b,alpha:A,title:L,translateX:j,translateY:D},K=Object.fromEntries(n.map(et=>[et,ot=>i(et,Object.assign(ot,{_vhandled:!0}),t.getCoord(ot),p)]));return[_,K]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(UF,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},lo={__name:"CoreSvgLine",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,xend:f,yend:h,color:y="black",linewidth:g,linetype:v,alpha:b,title:M,"translate-x":A=0,"translate-y":L=0,$raw:j})=>{const{h:D,v:p}=t.coord2pos({x:u,y:m}),{h:d,v:w}=t.coord2pos({x:f,y:h});if(D<o&&d<o||D>l&&d>l||p<a&&w<a||p>c&&w>c)return null;let k={x1:D,x2:d,y1:p,y2:w,color:y,linetype:v,linewidth:g,alpha:b,title:M,translateX:A,translateY:L},C=Object.fromEntries(n.map(N=>[N,R=>i(N,Object.assign(R,{_vhandled:!0}),t.getCoord(R),j)]));return[k,C]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(t1,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},GF={__name:"CoreSvgMarkdown",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,size:f=4,label:h,title:y,color:g,stroke:v,linewidth:b,linetype:M,alpha:A,"anchor-x":L,"anchor-y":j,"dock-x":D,"dock-y":p,"translate-x":d=0,"translate-y":w=0,angle:k,"text-length":C,"font-family":N="sans-serif","text-anchor":R,$raw:q})=>{if(h==null)return null;const{h:z,v:H}=t.coord2pos({x:u,y:m});if(z<o||z>l||H<a||H>c)return null;if(typeof C=="object"){let{x:U=0,y:F=0}=C,{h:_,v:K}=t.coord2pos({x:u+U/2,y:m+F/2}),{h:et,v:ot}=t.coord2pos({x:u-U/2,y:m-F/2});C=Math.hypot(_-et||0,K-ot||0)}let Y={x:z,y:H,text:String(h),title:String(y??h),size:f,color:g,stroke:v,linetype:M,linewidth:b,alpha:A,angle:k,translateX:d,translateY:w,anchorX:L,anchorY:j,dockX:D,dockY:p,textLength:C,fontFamily:N,textAnchor:R},I=Object.fromEntries(n.map(U=>[U,F=>i(U,Object.assign(F,{_vhandled:!0}),t.getCoord(F),q)]));return[Y,I]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(N1,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},WF={__name:"CoreSvgMarkdownsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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 a=-t.layout.fullWidth*t.extendX-t.layout.l,c=t.layout.fullWidth*(1+t.extendX)-t.layout.l,s=-t.layout.fullHeight*t.extendY-t.layout.t,u=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(m=>m.map(({x:f,xend:h,y,yend:g,size:v=4,label:b,title:M,color:A,stroke:L,linewidth:j,linetype:D,alpha:p,"translate-x":d=0,"translate-y":w=0,"font-family":k="sans-serif","text-align":C="start",inset:N=0,$raw:R})=>{if(b==null)return null;const{h:q,v:z}=t.coord2pos({x:f,y}),{h:H,v:Y}=t.coord2pos({x:h,y:g});if(q<a&&H<a||q>c&&H>c||z<s&&Y<s||z>u&&Y>u)return null;let I=Math.atan2(Y-z,H-q),U={fill:A,"font-size":v*4,stroke:L,"stroke-width":j,"stroke-dasharray":Vt(D).join(" ")||null,"fill-opacity":p,"stroke-opacity":p,"font-family":k},F=Object.fromEntries(n.map(ut=>[ut,gt=>i(ut,Object.assign(gt,{_vhandled:!0}),t.getCoord(gt),R)])),_,K,et=l(String(b));switch(C){case"stretch":_=(q+H)/2,K=(z+Y)/2,U["text-anchor"]="middle",U.textLength=Math.hypot(H-q||0,Y-z||0),U.lengthAdjust="spacingAndGlyphs";break;case"center":_=(q+H)/2,K=(z+Y)/2,U["text-anchor"]="middle";break;case"pre":_=q,K=z,d-=Math.cos(I)*N,w-=Math.sin(I)*N,U["text-anchor"]="end";break;case"end":_=H,K=Y,d-=Math.cos(I)*N,w-=Math.sin(I)*N,U["text-anchor"]="end";break;case"post":_=H,K=Y,d+=Math.cos(I)*N,w+=Math.sin(I)*N,U["text-anchor"]="start";break;default:_=q,K=z,d+=Math.cos(I)*N,w+=Math.sin(I)*N,U["text-anchor"]="start"}let ot=[];return(d||w)&&ot.push(`translate(${d}, ${w})`),I&&ot.push(`rotate(${I*180/Math.PI})`),Object.assign(U,{x:_,y:K,"dominant-baseline":"central","transform-origin":`${_} ${K}`,transform:ot.join(" ")||null}),[U,F,et,String(M??String(b).replace(/\x01|\x02/g,""))]}).filter(f=>f!=null))}),o=new Xs;function l(a){const c=o.parse(a).walker(),s=[];let u=[],m=[1],f=0,h;for(;h=c.next();){let{node:{type:y,literal:g},entering:v}=h,b=m.at(-1);if(v){if(y==="text"||y==="code"){const M=Object.assign({dy:Te(f||null,"em")},...u,{"font-family":y==="code"?"monospace":null,"font-size":b===1?null:`${b}em`});f=0,s.push({text:g,vbind:M})}else if(y==="strong")u.push({"font-weight":"bold"});else if(y==="emph")u.push({"font-style":"italic"});else if(y==="softbreak"||y==="paragraph")s.push({text:" "});else if(y==="html_inline"){const M=g;if(M.includes("color=")){const A=M.match(/color=(['"])(.*?)\1/i)?.[2]??M.match(/color=(\S*)/)?.[1];A&&u.push({fill:A})}else M.includes("</font>")?u.pop():M.includes("<sup>")?(f-=.4*b,m.push(b*.7)):M.includes("</sup>")?(f+=.4*m.at(-1),m.pop()):M.includes("<sub>")?(f+=.25*b,m.push(b*.7)):M.includes("</sub>")&&(f-=.25*m.at(-1),m.pop())}}else["strong","emph"].includes(y)&&u.pop()}return s}return(a,c)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,s=>(E(),B("g",null,[(E(!0),B(rt,null,at(s,([u,m,f,h])=>(E(),B("text",J({ref_for:!0},u,zt(m,!0)),[kt("title",null,qt(h),1),c[0]||(c[0]=ft()),(E(!0),B(rt,null,at(f,y=>(E(),B("tspan",J({ref_for:!0},y.vbind),qt(y.text),17))),256))],16))),256))]))),256))]))}},_F={__name:"CoreSvgPoint",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,shape:f,size:h=6,color:y,stroke:g,linetype:v,linewidth:b,alpha:M,title:A,"translate-x":L=0,"translate-y":j=0,angle:D,$raw:p})=>{const{h:d,v:w}=t.coord2pos({x:u,y:m});if(d<o||d>l||w<a||w>c)return null;let k={x:d,y:w,shape:f,size:h,color:y,stroke:g,linetype:v,linewidth:b,alpha:M,title:A,angle:D,translateX:L,translateY:j},C=Object.fromEntries(n.map(N=>[N,R=>i(N,Object.assign(R,{_vhandled:!0}),t.getCoord(R),p)]));return[k,C]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(Mi,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},KF={key:0},Us={__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(" "),fill:t.fill||null,"fill-opacity":t.alpha==1?null:t.alpha,stroke:t.color||null,"stroke-width":t.linewidth,"stroke-opacity":t.alpha==1?null:t.alpha,"stroke-dasharray":Vt(t.linetype).join(" ")||null,transform:t.translateX||t.translateY?`translate(${t.translateX}, ${t.translateY})`:null}));return(n,i)=>(E(),B("polygon",re(u1(e.value)),[t.title?(E(),B("title",KF,qt(t.title),1)):Et("",!0)],16))}},ZF={__name:"CoreSvgPolygon",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({points:u,fill:m,color:f,linewidth:h,linetype:y,alpha:g,title:v,"translate-x":b=0,"translate-y":M=0,$raw:A})=>{if(u=u.map(D=>(({h:p,v:d})=>({x:p,y:d}))(t.coord2pos(D))),u.every(D=>D.x<o)||u.every(D=>D.x>l)||u.every(D=>D.y<a)||u.every(D=>D.y>c))return null;let L={points:u,fill:m,color:f,linewidth:h,linetype:y,alpha:g,title:v,translateX:b,translateY:M},j=Object.fromEntries(n.map(D=>[D,p=>i(D,Object.assign(p,{_vhandled:!0}),t.getCoord(p),A)]));return[L,j]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(Us,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},ao={__name:"CoreSvgRect",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({xmin:u,xmax:m,ymin:f,ymax:h,fill:y="black",color:g,linewidth:v,linetype:b,alpha:M,title:A,"translate-x":L=0,"translate-y":j=0,$raw:D})=>{const{hmin:p,hmax:d,vmin:w,vmax:k}=t.coord2pos({xmin:u,xmax:m,ymin:f,ymax:h});if(p<o&&d<o||p>l&&d>l||w<a&&k<a||w>c&&k>c)return null;let C={x:(p+d)/2,width:d-p,y:(w+k)/2,height:k-w,fill:y,color:g,linetype:b,linewidth:v,alpha:M,title:A,translateX:L,translateY:j},N=Object.fromEntries(n.map(R=>[R,q=>i(R,Object.assign(q,{_vhandled:!0}),t.getCoord(q),D)]));return[C,N]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(En,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},QF={__name:"CoreSvgText",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=-t.layout.fullHeight*t.extendY-t.layout.t,c=t.layout.fullHeight*(1+t.extendY)-t.layout.t;return t.data.map(s=>s.map(({x:u,y:m,size:f=4,label:h,title:y,color:g,stroke:v,linewidth:b,linetype:M,alpha:A,"anchor-x":L,"anchor-y":j,"dock-x":D,"dock-y":p,"translate-x":d=0,"translate-y":w=0,angle:k,"text-length":C,"font-family":N,"text-anchor":R,$raw:q})=>{if(h==null)return null;const{h:z,v:H}=t.coord2pos({x:u,y:m});if(z<o||z>l||H<a||H>c)return null;if(typeof C=="object"){let{x:U=0,y:F=0}=C,{h:_,v:K}=t.coord2pos({x:u+U/2,y:m+F/2}),{h:et,v:ot}=t.coord2pos({x:u-U/2,y:m-F/2});C=Math.hypot(_-et||0,K-ot||0)}let Y={x:z,y:H,text:String(h),title:String(y??h),size:f,color:g,stroke:v,linetype:M,linewidth:b,alpha:A,angle:k,translateX:d,translateY:w,anchorX:L,anchorY:j,dockX:D,dockY:p,textLength:C,fontFamily:N,textAnchor:R},I=Object.fromEntries(n.map(U=>[U,F=>i(U,Object.assign(F,{_vhandled:!0}),t.getCoord(F),q)]));return[Y,I]}).filter(u=>u!=null))});return(o,l)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,a=>(E(),B("g",null,[(E(!0),B(rt,null,at(a,([c,s])=>(E(),vt(c1,J({ref_for:!0},c,zt(s)),null,16))),256))]))),256))]))}},JF={__name:"CoreSvgTextsegment",props:{extendX:{type:Number,default:0},extendY:{type:Number,default:0},data:Object,coord2pos:Function,getCoord:Function,layout:Object},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,a=t.layout.fullWidth*(1+t.extendX)-t.layout.l,c=-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:m,xend:f,y:h,yend:y,size:g=4,label:v,title:b,color:M,stroke:A,linewidth:L,linetype:j,alpha:D,"translate-x":p=0,"translate-y":d=0,"font-family":w="sans-serif","text-align":k="justify",angle:C="auto",inset:N=0,$raw:R})=>{if(v==null)return null;const{h:q,v:z}=t.coord2pos({x:m,y:h}),{h:H,v:Y}=t.coord2pos({x:f,y});if(q<l&&H<l||q>a&&H>a||z<c&&Y<c||z>s&&Y>s)return null;let I={fill:M,"font-size":g*4,stroke:A,"stroke-width":L,"stroke-dasharray":Vt(j).join(" ")||null,"fill-opacity":D,"stroke-opacity":D,"font-family":w},U=Object.fromEntries(n.map(F=>[F,_=>i(F,Object.assign(_,{_vhandled:!0}),t.getCoord(_),R)]));if(["stretch","pre","start","center","end","post"].includes(k)){let F=Math.atan2(Y-z,H-q),_,K,et=String(v).replace(/\x01|\x02/g,""),ot=Math.cos(F)*N,ut=Math.sin(F)*N;switch(k){case"stretch":_=(q+H)/2,K=(z+Y)/2,I["text-anchor"]="middle",I.textLength=Math.hypot(H-q||0,Y-z||0),I.lengthAdjust="spacingAndGlyphs";break;case"center":_=(q+H)/2,K=(z+Y)/2,I["text-anchor"]="middle";break;case"pre":_=q,K=z,p-=ot,d-=ut,I["text-anchor"]="end";break;case"start":_=q,K=z,p+=ot,d+=ut,I["text-anchor"]="start";break;case"end":_=H,K=Y,p-=ot,d-=ut,I["text-anchor"]="end";break;case"post":_=H,K=Y,p+=ot,d+=ut,I["text-anchor"]="start";break}let gt=[];return(p||d)&&gt.push(`translate(${p}, ${d})`),F&&gt.push(`rotate(${F*180/Math.PI})`),Object.assign(I,{x:_,y:K,"dominant-baseline":"central","transform-origin":`${_} ${K}`,transform:gt.join(" ")||null}),[I,U,et,String(b??String(v).replace(/\x01|\x02/g,""))]}else{C==="auto"&&(C=Math.atan2(Y-z,H-q)*180/Math.PI);let F=o(String(v)),_=(H-q)/(F.length-1||1),K=(Y-z)/(F.length-1||1),et=F.map((ot,ut)=>[{x:q+ut*_,y:z+ut*K,"text-anchor":"middle","dominant-baseline":"central",rotate:C},ot]);return(p||d)&&(I.transform=`translate(${p}, ${d})`),[I,U,et,String(b??String(v).replace(/\x01|\x02/g,""))]}}).filter(m=>m!=null))});function o(l){let a=[];for(let c=0;c<l.length;c++)if(l[c]==""){let s=c+1;for(;s<l.length&&l[s]!="";)s++;a.push(l.slice(c+1,s)),c=s}else a.push(l[c]);return a}return(l,a)=>(E(),B("g",null,[(E(!0),B(rt,null,at(r.value,c=>(E(),B("g",null,[(E(!0),B(rt,null,at(c,([s,u,m,f])=>(E(),B("text",J({ref_for:!0},s,zt(u,!0)),[kt("title",null,qt(f),1),a[0]||(a[0]=ft()),typeof m=="string"?(E(),B(rt,{key:0},[ft(qt(m.replace(/ /g,"\xA0")),1)],64)):(E(!0),B(rt,{key:1},at(m,([h,y])=>(E(),B(rt,null,[y?(E(),B("tspan",J({key:0,ref_for:!0},h),qt(y),17)):Et("",!0)],64))),256))],16))),256))]))),256))]))}},tG=Object.freeze(Object.defineProperty({__proto__:null,blank:qF,boxplot:HF,curve:YF,ellipse:FF,line:lo,markdown:GF,markdownsegment:WF,point:_F,polygon:ZF,rect:ao,stick:lo,text:QF,textsegment:JF,tile:ao},Symbol.toStringTag,{value:"Module"})),eG={__name:"CoreLayer",props:{data:Object,geom:String,render:String,defaultRender:{type:String,default:"auto"}},setup(t,{expose:e}){const n={svg:tG,canvas:DF},i=X(()=>{let l=t.render??t.defaultRender;return l=="auto"?t.data.map(c=>c.length).reduce((c,s)=>c+s,0)>1e3?"canvas":"svg":n[l][t.geom]!=null?l:"svg"}),r=Pt("layer"),o=X(()=>i.value=="canvas"?"pointer-events: none;":"");return e({render:i,dispatchEvent:l=>r.value?.dispatchEvent?.(l)}),(l,a)=>(E(),vt(r1(n[i.value][t.geom]),{ref_key:"layer",ref:r,style:C1(o.value),data:t.data},null,8,["style","data"]))}},nG={key:0},iG=["onPointerdown"],co={__name:"CoreSelection",props:o1({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:o1(["select","selecting","selectend","click","contextmenu"],["update:modelValue"]),setup(t,{emit:e}){const n=ke(t,"modelValue"),i=fo(t,["coord2pos","pos2coord","layout","theme","flip","activeTransform","transition"]),r=X(()=>{if(n.value==null||n.value.hidden||["xmin","xmax","ymin","ymax"].every(v=>n.value?.[v]==null))return null;let{hmin:m,hmax:f,vmin:h,vmax:y}=t.coord2pos(n.value,{limited:!0}),g=t.coord2pos(n.value);return m!=null&&f!=null&&([m,f]=[m,f].sort((v,b)=>v-b)),h!=null&&y!=null&&([h,y]=[h,y].sort((v,b)=>v-b)),{hmin:m,hmax:f,vmin:h,vmax:y,pos:g}}),o=X(()=>{if(!r.value)return null;let{translateH:m,translateV:f,scaleH:h,scaleV:y}=t.activeTransform,{hmin:g,hmax:v,vmin:b,vmax:M,pos:A}=r.value,L=v-g,j=M-b,D=t.layout.left,p=t.layout.top,d=1,w=1;if(A.hmin!=null&&A.hmax!=null)D+=m,d=h;else if(A.hmin!=null){let C=m+g*(h-1);d=1-C/L,D+=C*(1+g/L)}else if(A.hmax!=null){let C=m+v*(h-1);d=1+C/L,D+=C*(1-v/L)}if(A.vmin!=null&&A.vmax!=null)p+=t.activeTransform.translateV,w=t.activeTransform.scaleV;else if(A.vmin!=null){let C=f+b*(y-1);w=1-C/j,p+=C*(1+b/j)}else if(A.vmax!=null){let C=f+M*(y-1);w=1+C/j,p+=C*(1-M/j)}let k=[];return(D!=0||p!=0)&&k.push(`translate(${D}, ${p})`),(d!=1||w!=1)&&k.push(`scale(${d}, ${w})`),k.join(" ")||null}),l=X(()=>t.activeTransform.translateH!=0||t.activeTransform.translateV!=0||t.activeTransform.scaleH!=1||t.activeTransform.scaleV!=1),a=X(()=>{if(!r.value)return null;let{hmin:m,hmax:f,vmin:h,vmax:y,pos:g}=r.value,v=t.theme?.line_width??1;g.hmin==null&&(m-=v/2),g.hmax==null&&(f+=v/2),g.vmin==null&&(h-=v/2),g.vmax==null&&(y+=v/2);let b=f-m,M=y-h;return{x:m,y:h,width:b,height:M,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:o.value,style:{transition:t.transition,"pointer-events":"none"}}}),c=X(()=>{if(!r.value||l.value)return null;let m=10,{hmin:f,hmax:h,vmin:y,vmax:g,pos:v}=r.value,b=h-f,M=g-y,A={};i.move&&(A.tblr={x:f,y,width:b,height:M,fill:"transparent",style:"cursor:move;"}),i.resize&&(v.hmin!=null&&(A.l={x:f-m/2,y,width:m,height:M,style:"cursor:ew-resize;",class:"vvplot-interactive"}),v.hmax!=null&&(A.r={x:h-m/2,y,width:m,height:M,style:"cursor:ew-resize;"}),v.vmin!=null&&(A.t={x:f,y:y-m/2,width:b,height:m,style:"cursor:ns-resize;"}),v.vmax!=null&&(A.b={x:f,y:g-m/2,width:b,height:m,style:"cursor:ns-resize;"}),v.hmin!=null&&v.vmin!=null&&(A.tl={x:f-m/2,y:y-m/2,width:m,height:m,style:"cursor:nwse-resize;"}),v.hmax!=null&&v.vmin!=null&&(A.tr={x:h-m/2,y:y-m/2,width:m,height:m,style:"cursor:nesw-resize;"}),v.hmin!=null&&v.vmax!=null&&(A.bl={x:f-m/2,y:g-m/2,width:m,height:m,style:"cursor:nesw-resize;"}),v.hmax!=null&&v.vmax!=null&&(A.br={x:h-m/2,y:g-m/2,width:m,height:m,style:"cursor:nwse-resize;"}));let L=t.layout.left,j=t.layout.top;if(L||j)for(let D in A)A[D].transform=`translate(${L}, ${j})`;return A}),s=e;function u(m,f){if(!f||!["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(F=>i[F]==m[F]))return;m.stopPropagation(),m.preventDefault(),m.target.setPointerCapture(m.pointerId);let h=t.coord2pos(n.value),{h:y,v:g}=t.pos2coord({h:h.hmin,v:h.vmin}),{h:v,v:b}=t.pos2coord({h:h.hmax,v:h.vmax}),{hmin:M,hmax:A,vmin:L,vmax:j}=h,D=!1,p={min:i.xmin,max:i.xmax},d={min:i.ymin,max:i.ymax},[w=0,k=0]=t.flip?[i.minRangeY,i.minRangeX]:[i.minRangeX,i.minRangeY],C=t.coord2pos(i),N=0,R=0,q,z,H,Y,I=!1,U=!1;m.target.onpointermove=F=>{if(D=!0,N+=F.movementX,R+=F.movementY,f.includes("l")&&f.includes("r")){let _=yt(N,{min:C.hmin-M,max:C.hmax-A}),K=t.pos2coord({hmin:ht(M,_),hmax:ht(A,_)});y=K.hmin,v=K.hmax}else f.includes("l")?(y=t.pos2coord({h:M+N}).h,y=yt(y,y>v?{min:ht(v,w)}:{max:ht(v,-w)}),I=M+N>A):f.includes("r")&&(v=t.pos2coord({h:A+N}).h,v=yt(v,v>y?{min:ht(y,w)}:{max:ht(y,-w)}),I=A+N<M);if(f.includes("t")&&f.includes("b")){let _=yt(R,{min:C.vmin-L,max:C.vmax-j}),K=t.pos2coord({vmin:ht(L,_),vmax:ht(j,_)});g=K.vmin,b=K.vmax}else f.includes("t")?(g=t.pos2coord({v:L+R}).v,g=yt(g,g>b?{min:ht(b,k)}:{max:ht(b,-k)}),U=L+R>j):f.includes("b")&&(b=t.pos2coord({v:j+R}).v,b=yt(b,b>g?{min:ht(g,k)}:{max:ht(g,-k)}),U=j+R<L);q=yt(t.flip?g:y,p),z=yt(t.flip?b:v,p),H=yt(t.flip?y:g,d),Y=yt(t.flip?v:b,d),q>z&&([q,z]=[z,q]),H>Y&&([H,Y]=[Y,H]),s("selecting",{xmin:q,xmax:z,ymin:H,ymax:Y},t.theme)},m.target.onpointerup=F=>{if(F.currentTarget.onpointerup=null,F.currentTarget.onpointermove=null,i.buttons&1&&(F.currentTarget.onclick=et=>{et.currentTarget.onclick=null,s("click",et)}),i.buttons&2&&(F.currentTarget.oncontextmenu=et=>{et.currentTarget.onclick=null,s("contextmenu",et)}),!D)return;let _={xmin:q,xmax:z,xreverse:!!(I^n.value.xreverse),ymin:H,ymax:Y,yreverse:!!(U^n.value.yreverse)},K=new PointerEvent("select",m);n.value=Xt(_),s("selectend"),s("select",Xt(_),K)}}return(m,f)=>a.value?(E(),B("g",nG,[kt("rect",re(u1(a.value)),null,16),f[0]||(f[0]=ft()),(E(!0),B(rt,null,at(c.value,(h,y)=>(E(),B("rect",J({fill:"transparent"},{ref_for:!0},h,{onPointerdown:g=>u(g,y),class:"vvplot-interactive"}),null,16,iG))),256))])):Et("",!0)}},rG=["height","width"],oG=["y1","y2"],sG=["y"],lG={__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(a=>({position:(a-o)/(l-o),label:String(a)}))}),n=X(()=>{let o=30,{min:l,max:a}=t.limits,c=(a-l)/(o-1),s=Array.from({length:o},(m,f)=>l+f*c),u=t.scales.map(m=>m(s));return s.map((m,f)=>Object.fromEntries(t.scales.map((h,y)=>[{color:"fill"}[h.aesthetics]??h.aesthetics,u[y][f]])))}),i=Z1(0),r=Pt("svg");return St(e,async()=>{await kn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(E(),B("svg",{height:n.value.length*3+20,width:i.value,ref:"svg"},[(E(!0),B(rt,null,at(n.value,(a,c)=>(E(),vt(En,J({width:10,height:3.1,x:10,y:10+(29-c+.5)*3,alpha:t.appearance.alpha},{ref_for:!0},a),null,16,["y","alpha"]))),256)),l[1]||(l[1]=ft()),(E(!0),B(rt,null,at(e.value,(a,c)=>(E(),B("g",null,[kt("line",{x1:"15",x2:"18",y1:10+(1-a.position)*90,y2:10+(1-a.position)*90,stroke:"black"},null,8,oG),l[0]||(l[0]=ft()),kt("text",{x:"20",y:10+(1-a.position)*90,"alignment-baseline":"central"},qt(a.label),9,sG)]))),256))],8,rG))}},aG=Object.freeze(Object.defineProperty({__proto__:null,curve:zs,line:t1,point:Mi,polygon:Us,text:c1,tile:En},Symbol.toStringTag,{value:"Module"})),cG=["height","width"],uG=["transform"],hG={transform:"translate(10, 10)"},fG={x:"20",y:"10","alignment-baseline":"central"},mG={__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((m,f)=>[m.aesthetics,o[f][u]])),label:String(s)})),a=Bl(l.map(s=>s.bind)),c=Map.groupBy(l.map(s=>s.label),(s,u)=>a.categories[a[u]]);return Array.from(c).map(([s,u])=>({bind:s,label:u.join("; ")}))}),n=X(()=>{let{text:o,line:l,point:a,tile:c}=t.appearances,s={};return o!=null&&(s.text={size:4,text:"a",...o}),l!=null&&(s.line={x1:-5,x2:5,color:"black",...l}),a!=null&&(s.point={size:6,...a}),c!=null&&(s.tile={width:10,height:10,fill:"transparent",...c}),s}),i=Z1(0),r=Pt("svg");return St(e,async()=>{await kn();let o=r.value?.getBBox?.();o&&(i.value=o.width+o.x)},{immediate:!0}),(o,l)=>(E(),B("svg",{height:e.value.length*20,width:i.value,ref:"svg"},[(E(!0),B(rt,null,at(e.value,(a,c)=>(E(),B("g",{transform:`translate(0, ${c*20})`},[kt("g",hG,[(E(!0),B(rt,null,at(n.value,(s,u)=>(E(),vt(r1(aG[u]),J({ref_for:!0},{...s,...a.bind}),null,16))),256))]),l[0]||(l[0]=ft()),kt("text",fG,qt(a.label),1)],8,uG))),256))],8,cG))}},dG=Object.assign({inheritAttrs:!1},{__name:"CoreGuide",props:{scales:Array,type:{type:String,default:"legendkey"}},setup(t){const e={legendkey:mG,gradientbar:lG},n=X(()=>t.scales.map(([o])=>o.title).find(o=>o!=null)),i=X(()=>{let o=t.scales.map(([a])=>a),l=o.find(a=>a.breaks!=null);return Array.isArray(l?.breaks)?Array.from(l.breaks):(l=o.find(a=>a.level!=null),l?.level?l.level.apply(Array.from(l.level)):(l=o.find(a=>a.limits!=null),Mn.number({minor:!0})(l.limits)))}),r=X(()=>{let o={scales:t.scales.map(([l])=>l)};if(t.type=="legendkey")o.appearances={text:Tt(...t.scales.flatMap(([l,a])=>[a.text,a.markdown])),line:Tt(...t.scales.flatMap(([l,a])=>[a.line,a.linerange,a.curve])),point:Tt(...t.scales.flatMap(([l,a])=>[a.point])),tile:Tt(...t.scales.flatMap(([l,a])=>[a.rect,a.tile,a.polygon,a.ellipse]))};else if(t.type=="gradientbar"){let l=t.scales.map(([c])=>c.limits?.max).filter(c=>c!=null).reduce((c,s)=>Math.min(c,s),1/0),a=t.scales.map(([c])=>c.limits?.min).filter(c=>c!=null).reduce((c,s)=>Math.max(c,s),-1/0);o.limits={min:a,max:l},o.appearance=Tt(...t.scales.flatMap(([c,s])=>Object.values(s)))}return o});return(o,l)=>(E(),B(rt,null,[kt("span",null,qt(n.value),1),l[0]||(l[0]=ft()),(E(),vt(r1(e[t.type]),J(r.value,{breaks:i.value}),null,16,["breaks"]))],64))}}),yG={__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)),r=Array.from(i.keys()),o=r.map(s=>s.key),l=1;for(let s in o){for(;o.includes("_guide_"+l);)l++;o[s]==null&&(o[s]="_guide_"+l)}let a=r.map(s=>n(s)),c=Il(o,a);return Map.groupBy(i,(s,u)=>c.categories[c[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?(E(),B("div",{key:0,class:"vvplot-legend",style:C1({gap:t.theme.spacing+"px"})},[(E(!0),B(rt,null,at(e.value,([[o,l],a])=>(E(),vt(dG,{key:o,type:l,scales:a},null,8,["type","scales"]))),128))],4)):Et("",!0)}},gG=["id"],xG=["width","height"],vG=["transform","width","height","fill"],pG=["transform"],bG=["transform","clip-path"],wG=["transform"],kG=["clip-path"],AG={key:1},SG=Object.assign({inheritAttrs:!1},{__name:"CorePlot",props:o1({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,action:{type:Array,default:()=>[]},selections:{type:Array,default:()=>[]},legendTeleport:null},{selectionPreview:{},selectionPreviewModifiers:{},selectionPreviewTheme:{},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{}}),emits:o1(["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=fo(t,["schema","theme","expandAdd","expandMult","coordLevels","levels","scales","flip","reverse","paddings"]),o=n,l=K1("range"),a=K1("rangePreview"),c=ke(t,"selectionPreview"),s=ke(t,"selectionPreviewTheme");function u(T,P){c.value=T,s.value=P}const m=X(()=>Object.assign({},t.theme?.selection,s.value));function f(){c.value={}}const h=ke(t,"transition"),y=Pt("svg"),g=Pt("layers"),v=Z1(0),b=Z1(0);mo(y,T=>{let{width:P,height:V}=T[0].contentRect;v.value=P,b.value=V});const M=X(()=>new J2(t.schema,r.layers)),A=X(()=>M.value.useScales(t.scales,t.levels).useCoordLevels(t.coordLevels).render(l,t.expandAdd,r.minRange)),L=Ee(()=>{let T=Object.fromEntries(["left","right","top","bottom"].map($=>[$,t.paddings[$]&&t.theme.plot.padding[$]||0])),P=+t.theme.plot.margin.left+T.left,V=+t.theme.plot.margin.right+T.right,x=+t.theme.plot.margin.top+T.top,S=+t.theme.plot.margin.bottom+T.bottom;return x+S>b.value&&(x=b.value*(x/(x+S)),S=b.value-x),P+V>v.value&&(P=v.value*(P/(P+V)),V=v.value-P),{l:P,r:V,t:x,b:S,left:P,right:v.value-V,top:x,bottom:b.value-S,width:v.value-P-V,height:b.value-x-S}}),j=Ee(()=>{let T=A.value.coordScales,P=t.expandMult,{min:V,max:x}=C(T.x.range,P.x),{min:S,max:$}=C(T.y.range,P.y),[O,W,G,tt]=t.flip?[S,$,V,x]:[V,x,S,$],{width:it,height:st}=L;return{left:it*O||0,right:it*(1-W)||0,top:st*tt||0,bottom:st*(1-G)||0,l:it*O||0,r:it*W||0,t:st*tt||0,b:st*G||0,width:it*(1-O-W),height:st*(1-tt-G),fullWidth:it,fullHeight:st}});e({vplot:A,panel:L,svg:y});const D=X(()=>{let T=et.value.translateH+j.left,P=et.value.translateV+j.top,V=et.value.scaleH,x=et.value.scaleV,S=[];return(T!=0||P!=0)&&S.push(`translate(${T}, ${P})`),(V!=1||x!=1)&&S.push(`scale(${V}, ${x})`),{transform:S.join(" ")||null}});function p({value:T,min:P,max:V},x,S,$){let O={};return T!=null&&(O.value=x.invert(S?1-T/$:T/$)),S?(V!=null&&(O.min=x.invert(1-V/$)),P!=null&&(O.max=x.invert(1-P/$))):(P!=null&&(O.min=x.invert(P/$)),V!=null&&(O.max=x.invert(V/$))),O}function d({h:T,hmin:P,hmax:V,v:x,vmin:S,vmax:$}={}){let O=A.value.coordScales,{width:W,height:G}=j,tt={},[it,st,pt]=t.flip?[x,S,$]:[T,P,V],[xt,ct,lt]=t.flip?[T,P,V]:[x,S,$];if(it!=null||st!=null||pt!=null){let{value:Z,min:nt,max:Q}=p({value:it,min:st,max:pt},O.x,t.flip!=t.reverse.x,t.flip?G:W);Object.assign(tt,Xt({x:Z,xmin:nt,xmax:Q})),t.flip?Object.assign(tt,Xt({v:Z,vmin:nt,vmax:Q})):Object.assign(tt,Xt({h:Z,hmin:nt,hmax:Q}))}if(xt!=null||ct!=null||lt!=null){let{value:Z,min:nt,max:Q}=p({value:xt,min:ct,max:lt},O.y,t.flip==t.reverse.y,t.flip?W:G);Object.assign(tt,Xt({y:Z,ymin:nt,ymax:Q})),t.flip?Object.assign(tt,Xt({h:Z,hmin:nt,hmax:Q})):Object.assign(tt,Xt({v:Z,vmin:nt,vmax:Q}))}return tt}function w({value:T,min:P,max:V}={},{oob:x=Fn}={},S,$,O,W){let G={};return T!=null&&(G.value=O?x(O*($?1-S(T):S(T)),W):0),P==null&&V==null||($?(V!=null&&(G.min=O?x(O*(1-S(V)),W):0),P!=null&&(G.max=O?x(O*(1-S(P)),W):0)):(P!=null&&(G.min=O?x(O*S(P),W):0),V!=null&&(G.max=O?x(O*S(V),W):0))),G}function k({h:T,hmin:P,hmax:V,v:x,vmin:S,vmax:$,x:O,xmin:W,xmax:G,y:tt,ymin:it,ymax:st}={},{limited:pt=!1,oob:xt=Fn}={}){let{width:ct,height:lt,l:Z,r:nt,t:Q,b:mt}=j,wt={},te=A.value.coordScales,Zt={min:-Z,max:ct+nt},ve={min:-Q,max:lt+mt};if((O!=null||W!=null||G!=null)&&(t.flip?[x,S,$]=[O,W,G]:[T,P,V]=[O,W,G]),(tt!=null||it!=null||st!=null)&&(t.flip?[T,P,V]=[tt,it,st]:[x,S,$]=[tt,it,st]),T!=null||P!=null||V!=null){let{value:ue,min:he,max:fe}=w({value:T,min:P,max:V},{oob:xt},te[t.flip?"y":"x"],t.reverse[t.flip?"y":"x"],ct,Zt);Object.assign(wt,Xt({h:ue,hmin:he,hmax:fe}))}if(x!=null||S!=null||$!=null){let{value:ue,min:he,max:fe}=w({value:x,min:S,max:$},{oob:xt},te[t.flip?"x":"y"],!t.reverse[t.flip?"x":"y"],lt,ve);Object.assign(wt,Xt({v:ue,vmin:he,vmax:fe}))}return pt&&(wt.hmin==null&&(wt.hmin=Zt.min),wt.hmax==null&&(wt.hmax=Zt.max),wt.vmin==null&&(wt.vmin=ve.min),wt.vmax==null&&(wt.vmax=ve.max)),wt}function C({min:T,max:P}={},{min:V=0,max:x=0}={}){let S=P-T,$=+T-V*S,O=+P+x*S,W=O-$;return{min:W==0?0:(T-$)/W,max:W==0?0:(O-P)/W}}function N(T){let P=y.value.getBoundingClientRect(),V=Math.trunc(T.clientX)-(P.left+L.left+j.left),x=Math.trunc(T.clientY)-(P.top+L.top+j.top),S=P.left+L.left+j.right-Math.trunc(T.clientX),$=P.top+L.top+j.bottom-Math.trunc(T.clientY),{x:O,y:W}=d({h:V,v:x});return{l:V,t:x,r:S,b:$,x:O,y:W}}function R(T){let P=y.value.getBoundingClientRect();return T.clientX>P.left+L.l&&T.clientX<P.right-L.r&&T.clientY>P.top+L.t&&T.clientY<P.bottom-L.b}function q(T){if(!g.value||T._vhandled||!R(T)||!Array.from(g.value).filter(S=>S.render=="canvas").length)return T;let V={};for(let S in T)V[S]=T[S];V.bubbles=!1;let x=new PointerEvent(T.type,V);for(let S of Object.keys(T)){let $=Object.getOwnPropertyDescriptor(x,S);$&&!$.writable&&!$.set||(x[S]=T[S])}for(let S=g.value.length-1;S>=0;S--)g.value[S].dispatchEvent(x)===!1&&T.preventDefault();for(let S of Object.keys(x)){let $=Object.getOwnPropertyDescriptor(x,S);$&&!$.writable&&!$.set||(T[S]=x[S])}return x._vhandled?x:T}let z,H=0,Y=0;function I(T){let P=q(T),V=N(T);if(o("pointerdown",P,V),P.defaultPrevented&&T.preventDefault(),r.clip&&!R(T))return;let x=T.currentTarget,S=!1;function $(G){(Math.abs(G.screenX-T.screenX)>3||Math.abs(G.screenY-T.screenY)>3)&&(S=!0,G.currentTarget.removeEventListener("pointermove",$))}T.target.addEventListener("pointermove",$,{passive:!0}),T.target.addEventListener("pointerup",function(G){if(T.target.removeEventListener("pointermove",$),!S){let tt=new PointerEvent("singleclick",G);G.target.dispatchEvent(tt)}},{once:!0});let O=r.selections.findLast(G=>["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==T[tt]));if(O){let{x:G=!1,y:tt=!1,"min-range-x":it=0,"min-range-y":st=0}=O;T.target.setPointerCapture(T.pointerId),x.style.userSelect="none";let pt=(({xmin:ct,xmax:lt})=>({min:ct,max:lt}))(O),xt=(({ymin:ct,ymax:lt})=>({min:ct,max:lt}))(O);T.target.onpointermove=ct=>{if(!G&&!tt||!S)return;let lt=N(ct),Z={};if(G){let nt=yt(V.x,pt),Q=yt(yt(lt.x,lt.x>nt?{min:ht(nt,it)}:{max:ht(nt,-it)}),pt);Z.xmin=nt>Q?Q:nt,Z.xmax=nt>Q?nt:Q,Z.xreverse=nt>Q}if(tt){let nt=yt(V.y,xt),Q=yt(yt(lt.y,lt.y>nt?{min:ht(nt,st)}:{max:ht(nt,-st)}),xt);Z.ymin=nt>Q?Q:nt,Z.ymax=nt>Q?nt:Q}c.value=Z,s.value=O.theme},T.target.onpointerup=ct=>{if(ct.currentTarget.onpointerup=null,ct.currentTarget.onpointermove=null,x.style.userSelect=null,c.value={},S&&(G||tt)){O.buttons&1&&(ct.currentTarget.onclick=Q=>{Q.currentTarget.onclick=null,qe(O.onClick,Q)}),O.buttons&2&&(ct.currentTarget.oncontextmenu=Q=>{Q.currentTarget.oncontextmenu=null,qe(O.onContextmenu,Q)});let lt=N(ct),Z={},nt=new PointerEvent("select",T);if(G){let Q=yt(V.x,pt),mt=yt(yt(lt.x,lt.x>Q?{min:ht(Q,it)}:{max:ht(Q,-it)}),pt);if(Q==mt)return;Z.xmin=Q>mt?mt:Q,Z.xmax=Q>mt?Q:mt,Z.xreverse=Q>mt}if(tt){let Q=yt(V.y,xt),mt=yt(yt(lt.y,lt.y>Q?{min:ht(Q,st)}:{max:ht(Q,-st)}),xt);if(Q==mt)return;Z.ymin=Q>mt?mt:Q,Z.ymax=Q>mt?Q:mt,Z.yreverse=Q>mt}O["onUpdate:modelValue"]?.(Z),qe(O.onSelect,Xt(Z),nt)||o("select",Xt(Z),nt)}if(!S&&O.dismissible!==!1){if(ct.defaultPrevented)return;let lt=O.modelValue;if(O.dismissible!==!0&&["xmin","xmax","ymin","ymax"].every(Q=>lt?.[Q]==null))return;let Z={},nt=new PointerEvent("select",T);O["onUpdate:modelValue"]?.(Z),qe(O.onDismiss,Xt(Z),nt)||o("select",Xt(Z),nt)}};return}let W=r.action.find(G=>G.action=="move"&&["buttons","ctrlKey","shiftKey","altKey","metaKey"].every(tt=>G[tt]==T[tt]));if(W){T.target.setPointerCapture(T.pointerId),x.style.userSelect="none",z=clearTimeout(z);let G=0,tt=j.width,it=0,st=j.height,pt,xt,ct,lt,Z=k(W);T.target.onpointermove=nt=>{let{x:Q=!1,y:mt=!1}=W,[wt,te]=t.flip?[mt,Q]:[Q,mt];if(wt){H+=nt.movementX;let fe=yt(-H,{min:Z.hmin-G,max:Z.hmax-tt});pt=G+fe,xt=tt+fe}if(te){Y+=nt.movementY;let fe=yt(-Y,{min:Z.vmin-it,max:Z.vmax-st});ct=it+fe,lt=st+fe}let{xmin:Zt,xmax:ve,ymin:ue,ymax:he}=d({hmin:pt,hmax:xt,vmin:ct,vmax:lt});Object.assign(a,{xmin:Zt,xmax:ve,ymin:ue,ymax:he})},T.target.onpointerup=nt=>{nt.currentTarget.onpointerup=null,nt.currentTarget.onpointermove=null,x.style.userSelect=null,z=setTimeout(()=>{ot(W,nt),H=Y=0},300)};return}}let U=0,F;function _(T){let P=q(T),V=N(T);if(o("wheel",P,V),P.defaultPrevented&&T.preventDefault(),r.clip&&!R(T))return;let x=r.action.find(S=>["zoom","nudge"].includes(S.action)&&["ctrlKey","shiftKey","altKey","metaKey"].every($=>S[$]==T[$]));!x||!x.x&&!x.y||(F=clearTimeout(F),T.preventDefault(),h.value="transform 0.1s ease-out",U+=T.deltaY,K(x,V,U),F=setTimeout(()=>{ot(x,T),U=0},300))}function K(T,P,V){if(T.action=="zoom"){let{x=!1,y:S=!1,"min-range-x":$=0,"min-range-y":O=0,sensitivity:W=1.25}=T,G=W**(U/100),[tt,it]=t.flip?[S,x]:[x,S],st=k(T),pt,xt,ct,lt;tt&&(pt=Math.max(P.l-Math.max(P.l,0)*G,st.hmin??-1/0),xt=Math.min(P.l+Math.max(P.r,0)*G,st.hmax??1/0)),it&&(ct=Math.max(P.t-Math.max(P.t,0)*G,st.vmin??-1/0),lt=Math.min(P.t+Math.max(P.b,0)*G,st.vmax??1/0));let{xmin:Z,xmax:nt,ymin:Q,ymax:mt}=d({hmin:pt,hmax:xt,vmin:ct,vmax:lt});if(x&&G<1&&nt-Z<$){let wt=(nt+Z)/2;Z=wt-$/2,nt=wt+$/2}if(S&&G<1&&mt-Q<O){let wt=(mt+Q)/2;Q=wt-O/2,mt=wt+O/2}Object.assign(a,{xmin:Z,xmax:nt,ymin:Q,ymax:mt})}if(T.action=="nudge"){let{x=!1,y:S=!1,sensitivity:$=.1}=T,[O,W]=t.flip?[S,x]:[x,S],G=k(T),tt=0,it=j.width,st=0,pt=j.height,xt,ct,lt,Z;if(O){let te=$*j.width*(-V/120),Zt=yt(-te,{min:G.hmin-tt,max:G.hmax-it});xt=tt+Zt,ct=it+Zt}if(W){let te=$*j.height*(-V/120),Zt=yt(-te,{min:G.vmin-st,max:G.vmax-pt});lt=st+Zt,Z=pt+Zt}let{xmin:nt,xmax:Q,ymin:mt,ymax:wt}=d({hmin:xt,hmax:ct,vmin:lt,vmax:Z});Object.assign(a,{xmin:nt,xmax:Q,ymin:mt,ymax:wt})}}const et=X(()=>{let T=0,P=j.width,V=0,x=j.height,{hmin:S=T,hmax:$=P,vmin:O=V,vmax:W=x}=k(a??{}),G=P-T,tt=$-S,it=x-V,st=W-O;return{scaleH:G<1||tt<1||Math.abs(G-tt)<1?1:G/tt,translateH:(T*$-S*P)/($-S)||0,scaleV:it<1||st<1||Math.abs(it-st)<1?1:it/st,translateV:(V*W-O*x)/(W-O)||0}});St(et,({translateH:T,translateV:P,scaleH:V,scaleV:x})=>{!T&&!P&&V==1&&x==1&&(h.value=null)},{deep:!0});function ot(T,P){let V=Xt(a)??{};if(!Object.keys(V).length)return;let x=new PointerEvent(P.type,P);qe(T.emit,V,x)||o(T.action,V,x),gt(V),Object.assign(a,{xmin:void 0,xmax:void 0,ymin:void 0,ymax:void 0})}const ut={pointerdown:I,pointerup(T){let P=q(T),V=N(T);o("pointerup",P,V),P.defaultPrevented&&T.preventDefault()},pointerover(T){o("pointerover",T,N(T))},pointerout(T){o("pointerout",T,N(T))},pointerenter(T){o("pointerenter",T,N(T))},pointerleave(T){o("pointerleave",T,N(T))},click(T){o("click",q(T),N(T))},contextmenu(T){let P=q(T),V=N(T);o("contextmenu",P,V),P.defaultPrevented&&T.preventDefault()},singleclick(T){o("singleclick",q(T),N(T))},dblclick(T){let P=q(T),V=N(T);o("dblclick",P,V),P.defaultPrevented&&T.preventDefault()},pointermove(T){let P=q(T),V=N(T);o("pointermove",P,V),P.defaultPrevented&&T.preventDefault()},wheel:_};function gt(T){let{xmin:P,xmax:V,ymin:x,ymax:S}=T,{xmin:$,xmax:O,ymin:W,ymax:G}=l;P=P!=null?ht(P,+t.expandAdd.x.min):$,V=V!=null?ht(V,-t.expandAdd.x.max):O,x=x!=null?ht(x,+t.expandAdd.y.min):W,S=S!=null?ht(S,-t.expandAdd.y.max):G,!(P==$&&V==O&&x==W&&S==G)&&Object.assign(l,{xmin:P,xmax:V,ymin:x,ymax:S})}const Ut=Ee(()=>{let T=a?.xmin??l?.xmin,P=a?.xmax??l?.xmax,V=a?.ymin??l?.ymin,x=a?.ymax??l?.ymax;return{x:T||P?{min:T,max:P}:void 0,y:V||x?{min:V,max:x}:void 0}}),ne=X(()=>{let T={x:A.value.coordScales.x,y:A.value.coordScales.y};return r.axes.filter(P=>P.coord in T).filter(P=>["h","v"].includes(P.orientation)).map(({coord:P,breaks:V,labels:x,titles:S,minorBreaks:$,...O})=>({coord:P,axis:new t9(T[P],{breaks:V,labels:x,titles:S,minorBreaks:$}),etc:O}))}),Rt=X(()=>ne.value.map(({coord:T,axis:P,etc:V})=>{let{majorBreaks:x,minorBreaks:S,ticks:$}=P.getBindings({range:Ut[T],expandMult:t.expandMult[T]}),{showGrid:O,orientation:W,...G}=V;return{majorBreaks:x,minorBreaks:S,ticks:$,showGrid:O,coord:T,orientation:W,bind:G}})),ge=X(()=>{let T=Rt.value.filter(V=>V.showGrid&&V.orientation=="v"),P=Rt.value.filter(V=>V.showGrid&&V.orientation=="h");return{h:{majorBreaks:y1(T.flatMap(V=>V.majorBreaks),V=>V.position),minorBreaks:y1(T.flatMap(V=>V.minorBreaks),V=>V.position)},v:{majorBreaks:y1(P.flatMap(V=>V.majorBreaks),V=>V.position),minorBreaks:y1(P.flatMap(V=>V.minorBreaks),V=>V.position)}}}),xe=X(()=>Rt.value.map(({orientation:T,coord:P,bind:V,ticks:x})=>{let{onMove:S=(...tt)=>o("move",...tt),onZoom:$=(...tt)=>o("zoom",...tt),onRescale:O=(...tt)=>o("rescale",...tt),onNudge:W=(...tt)=>o("nudge",...tt),...G}=V;return{orientation:T,bind:{coord:P,orientation:T,ticks:x,layout:j,coord2pos:k,pos2coord:d,...G},on:{zoom:$,move:S,rescale:O,nudge:W,rangechange:gt}}}));return(T,P)=>(E(),B("svg",J({ref:"svg",width:"100%",height:"100%"},zt(ut,!0),T.$attrs),[kt("defs",null,[kt("clipPath",{id:`${Mt(i)}-plot-clip`},[kt("rect",{x:"0",y:"0",width:Mt(L).width,height:Mt(L).height},null,8,xG)],8,gG)]),P[6]||(P[6]=ft()),t.theme.plot.background?(E(),B("rect",{key:0,transform:`translate(${Mt(L).left}, ${Mt(L).top})`,width:Mt(L).width,height:Mt(L).height,fill:t.theme.plot.background},null,8,vG)):Et("",!0),P[7]||(P[7]=ft()),kt("g",{transform:`translate(${Mt(L).left}, ${Mt(L).top})`,style:{"pointer-events":"none"}},[t.theme.grid.h?(E(),vt(CF,J({key:0},ge.value.h,{layout:Mt(j),theme:t.theme.grid.h,activeTransform:et.value,coord2pos:k,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Et("",!0),P[2]||(P[2]=ft()),t.theme.grid.v?(E(),vt(MF,J({key:1},ge.value.v,{layout:Mt(j),theme:t.theme.grid.v,activeTransform:et.value,coord2pos:k,transition:h.value}),null,16,["layout","theme","activeTransform","transition"])):Et("",!0)],8,pG),P[8]||(P[8]=ft()),kt("g",{transform:`translate(${Mt(L).left}, ${Mt(L).top})`,"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[kt("g",J(D.value,{style:{transition:h.value}}),[(E(!0),B(rt,null,at(A.value.layers,V=>(E(),vt(eG,J({ref_for:!0,ref_key:"layers",ref:g,data:V.data},{ref_for:!0},V.vBind,{layout:Mt(j),geom:V.geom,coord2pos:k,getCoord:N,"default-render":r.render}),null,16,["data","layout","geom","default-render"]))),256))],16),P[3]||(P[3]=ft()),(E(!0),B(rt,null,at(r.selections,V=>(E(),vt(co,J({coord2pos:k,pos2coord:d,layout:Mt(j),onSelecting:u,onSelectend:f,transition:h.value,activeTransform:et.value},{ref_for:!0},V,{flip:t.flip}),null,16,["layout","transition","activeTransform","flip"]))),256)),P[4]||(P[4]=ft()),$e(co,{coord2pos:k,pos2coord:d,layout:Mt(j),modelValue:c.value,transition:h.value,activeTransform:et.value,theme:m.value,flip:t.flip},null,8,["layout","modelValue","transition","activeTransform","theme","flip"])],8,bG),P[9]||(P[9]=ft()),kt("g",{transform:`translate(${Mt(L).left}, ${Mt(L).top})`},[(E(!0),B(rt,null,at(xe.value.filter(V=>typeof V.bind.position!="number"),V=>(E(),vt(ro,J({ref_for:!0},V.bind,zt(V.on),{transition:h.value,"onUpdate:transition":P[0]||(P[0]=x=>h.value=x),activeTransform:et.value}),null,16,["transition","activeTransform"]))),256)),P[5]||(P[5]=ft()),kt("g",{"clip-path":r.clip?`url(#${Mt(i)}-plot-clip)`:null},[(E(!0),B(rt,null,at(xe.value.filter(V=>typeof V.bind.position=="number"),V=>(E(),vt(ro,J({ref_for:!0},V.bind,zt(V.on),{transition:h.value,"onUpdate:transition":P[1]||(P[1]=x=>h.value=x),activeTransform:et.value}),null,16,["transition","activeTransform"]))),256))],8,kG)],8,wG),P[10]||(P[10]=ft()),r.legendTeleport?(E(),B("foreignObject",AG,[(E(),vt(rl,{defer:"",to:r.legendTeleport},[$e(yG,{scales:A.value?.scales,theme:t.theme.legend},null,8,["scales","theme"])],8,["to"]))])):Et("",!0)],16))}}),wn={$_type:"action",$_props:{}},Ti={$_type:"layer"},$i={$_props:{geom:"tile",stat:"bar"},$_type:"layer"},Ei={$_props:{geom:"blank",stat:"identity"},$_type:"layer"},Li={$_props:{geom:"boxplot",stat:"boxplot"},$_type:"layer"},Oi={$_props:{geom:"curve",stat:"curve"},$_type:"layer"},ji={$_props:{geom:"curve",stat:"density"},$_type:"layer",$_argnames:["n","kernel"]},Pi={$_props:{geom:"ellipse",stat:"ellipse"},$_type:"layer",$_argnames:["CI"]},Di={$_props:{geom:"rect",stat:"histogram"},$_type:"layer",$_argnames:["bins","binwidth","breaks"]},qi={$_props:{geom:"line",stat:"line"},$_type:"layer",$_argnames:["orientation"]},Vi={$_props:{geom:"line",stat:"linerange"},$_type:"layer"},Bi={$_props:{geom:"markdown",stat:"text"},$_type:"layer"},Ii={$_props:{geom:"markdownsegment",stat:"textsegment"},$_type:"layer"},Ri={$_props:{geom:"line",stat:"path"},$_type:"layer"},Hi={$_props:{geom:"point",stat:"point"},$_type:"layer"},Xi={$_props:{geom:"polygon",stat:"polygon"},$_type:"layer"},Yi={$_props:{geom:"rect",stat:"rect"},$_type:"layer"},zi={$_props:{geom:"line",stat:"segment"},$_type:"layer"},Ui={$_props:{geom:"stick",stat:"stick"},$_type:"layer"},Fi={$_props:{geom:"text",stat:"text"},$_type:"layer"},Gi={$_props:{geom:"textsegment",stat:"textsegment"},$_type:"layer"},Wi={$_props:{geom:"tile",stat:"tile"},$_type:"layer"},NG=Object.freeze(Object.defineProperty({__proto__:null,VVGeom:Ti,VVGeomBar:$i,VVGeomBlank:Ei,VVGeomBoxplot:Li,VVGeomCurve:Oi,VVGeomDensity:ji,VVGeomEllipse:Pi,VVGeomHistogram:Di,VVGeomLine:qi,VVGeomLinerange:Vi,VVGeomMarkdown:Bi,VVGeomMarkdownsegment:Ii,VVGeomPath:Ri,VVGeomPoint:Hi,VVGeomPolygon:Xi,VVGeomRect:Yi,VVGeomSegment:zi,VVGeomStick:Ui,VVGeomText:Fi,VVGeomTextsegment:Gi,VVGeomTile:Wi},Symbol.toStringTag,{value:"Module"})),_i={$_type:"axis",$_props:{}},Ki={$_type:"axis",$_props:{coord:"x"}},Zi={$_type:"axis",$_props:{coord:"y"}},CG=Object.freeze(Object.defineProperty({__proto__:null,VVAxis:_i,VVAxisX:Ki,VVAxisY:Zi},Symbol.toStringTag,{value:"Module"})),MG={key:0,class:"vvplot-panel",style:{"pointer-events":"auto",display:"contents"}},Fs=Object.assign({inheritAttrs:!1},{__name:"Plot",props:o1({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},{selectionPreview:{default:()=>({})},selectionPreviewModifiers:{},selectionPreviewTheme:{default:()=>({})},selectionPreviewThemeModifiers:{},transition:{},transitionModifiers:{},width:{},widthModifiers:{},height:{},heightModifiers:{}}),emits:o1(["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={...NG,...CG,VVAction:wn,VVSelection:wn},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,a=ke(t,"selectionPreview"),c=ke(t,"selectionPreviewTheme"),s=ke(t,"transition");function u(x){return x==null?[]:x.flatMap(S=>S.type==rt?u(S.children):S.type=="template"?u(S.children).map($=>($.props={...$.props,...S.props},$)):S)}function m(x){return{props:Object.fromEntries(x.props.map($=>{try{if($.type==7)return[$.arg.content,new Function("return "+$.exp.content)()];if($.type==6)return[$.name,$.value?.content??""]}catch{}}).filter($=>$!=null)),children:x.children.map($=>()=>[m($)]),type:i[x.tag]}}const f=ol(),h=sl(),y=Lt({axis:{},layer:{},action:{},selection:{},dom:{}});for(let x in f)St(()=>f[x]?.(),S=>{let $=u(S).flatMap(W=>W.type?.template?Vl(W.type.template,{decodeEntities:!0}).children.map(tt=>m(tt)):W).filter(W=>W!=null),O=Object.groupBy($,W=>W.type.$_type??"dom");for(let W in O)y[W][x]=O[W]},{immediate:!0});const g=X(()=>Object.values(y.layer).flat()),v=X(()=>Object.values(y.axis).flat()),b=X(()=>Object.values(y.action).flat()),M=X(()=>Object.values(y.selection).flat()),A=X(()=>Object.keys(y.dom).flatMap(x=>x=="panel"?[]:y.dom[x])),L=X(()=>{let x={},S={};for(let $ in h)if($.startsWith("on")){let O=Array.isArray(h[$])?h[$]:[h[$]];x[$]=O.filter(W=>typeof W=="function"),S[$]=O.filter(W=>typeof W!="function")}else S[$]=h[$];return{plot:x,wrapper:S}}),j=X(()=>{let x=[Ao,So].concat(t.theme??[]);return _l(Wl(Gl(...x),t.flip))},{deep:!0}),D=Ee(()=>{let x=v.value.map(O=>({...O.type.$_props,...O.props})),S=x.filter(O=>O.coord==="x"),$=x.filter(O=>O.coord==="y");return{x:S.find(O=>o(O.primary))??S.find(O=>O.primary==null&&!o(O.secondary)),y:$.find(O=>o(O.primary))??$.find(O=>O.primary==null&&!o(O.secondary))}}),p={levels:Lt({}),extend:Lt({}),"min-range":Lt({}),"expand-add":Lt({}),"expand-mult":Lt({}),boundary:Lt({}),reverse:Lt({}),min:Lt({}),max:Lt({}),"min-preview":Lt({}),"max-preview":Lt({})};St(D,x=>{for(let S of["x","y"])for(let $ in p)p[$][S]=x?.[S]?.[$]},{immediate:!0});const d=Ee(()=>{let x={};for(let S of["x","y"]){let $=p.boundary[S];x[S]={min:$?.min??$?.[0],max:$?.max??$?.[1]}}return x}),w=X(()=>({data:t.data,aes:t.aes,extendX:p.extend.x??t.extend?.x??0,extendY:p.extend.y??t.extend?.y??0})),k=X(()=>g.value.map(x=>{let{geom:S,stat:$,scales:O,data:W,"extend-x":G,"extend-y":tt,...it}={...x.type.$_props,...x.props},st=x.type.$_argnames||[],pt={},xt={},ct={},lt={};for(let Z in it)Z!="key"&&(st.includes(Z)?xt[Z]=it[Z]:Z.startsWith("on")?lt[Z]=it[Z]:typeof it[Z]=="function"?pt[Z]=it[Z]:["class","style","render"].includes(Z)?lt[Z]=it[Z]:ct[Z]=it[Z]);return{geom:S,stat:$,data:W,aes:pt,attrs:ct,scales:O,args:xt,extendX:G,extendY:tt,vBind:lt}})),C=X(()=>(({x,y:S,...$})=>$)(t.levels??{})),N=X(()=>{let x={};for(let S of["x","y"])x[S]=p.levels[S]??t.levels?.[S];return x}),R=X(()=>{let x={};for(let S of["x","y"]){let $=p.min[S]??t.range?.[S+"min"],O=p.max[S]??t.range?.[S+"max"];x[S+"min"]=isFinite($)&&!Number.isNaN($)?$:null,x[S+"max"]=isFinite(O)&&!Number.isNaN(O)?O:null}return x}),q=X(()=>{let x={};for(let S of["x","y"]){let $=p["min-preview"][S]??t.rangePreview?.[S+"min"],O=p["max-preview"][S]??t.rangePreview?.[S+"max"];x[S+"min"]=isFinite($)&&!Number.isNaN($)?$:null,x[S+"max"]=isFinite(O)&&!Number.isNaN(O)?O:null}return x}),z=Ee(()=>({xmin:D?.x?.["onUpdate:min"],xmax:D?.x?.["onUpdate:max"],ymin:D?.y?.["onUpdate:min"],ymax:D?.y?.["onUpdate:max"]})),H=Ee(()=>({xmin:D?.x?.["onUpdate:minPreview"],xmax:D?.x?.["onUpdate:maxPreview"],ymin:D?.y?.["onUpdate:minPreview"],ymax:D?.y?.["onUpdate:maxPreview"]})),Y=Lt({}),I=Lt({});St(R,(x,S)=>{x?.xmin!==S?.xmin&&(Y.xmin=x.xmin),x?.xmax!==S?.xmax&&(Y.xmax=x.xmax),x?.ymin!==S?.ymin&&(Y.ymin=x.ymin),x?.ymax!==S?.ymax&&(Y.ymax=x.ymax)},{immediate:!0}),St(q,(x,S)=>{x?.xmin!==S?.xmin&&(I.xmin=x.xmin),x?.xmax!==S?.xmax&&(I.xmax=x.xmax),x?.ymin!==S?.ymin&&(I.ymin=x.ymin),x?.ymax!==S?.ymax&&(I.ymax=x.ymax)},{immediate:!0}),St(()=>({...Y}),(x,S)=>{for(let $ in z)z[$]?.(x[$]);l("rangechange",{...x},{...S}),l("update:range",{...x})},{deep:!0}),St(()=>I,x=>{for(let S in H)H[S]?.(x[S]);l("update:rangePreview",{...x})},{deep:!0}),Ji("range",Y),Ji("rangePreview",I);const U=X(()=>({x:p["min-range"].x??t.minRange?.x??0,y:p["min-range"].y??t.minRange?.y??0})),F=X(()=>{let x=p["expand-add"].x??t.expandAdd?.x??0,S=p["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(S)?S={min:S[0],max:S[1]}:typeof S=="number"&&(S={min:S,max:S}),{x,y:S}}),_=X(()=>{let x=p["expand-mult"].x??t.expandMult?.x??.05,S=p["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(S)?S={min:S[0],max:S[1]}:typeof S=="number"&&(S={min:S,max:S}),{x,y:S}}),K=Ee(()=>({x:o(p.reverse.x)??t.reverse?.x??!1,y:o(p.reverse.y)??t.reverse?.y??!1})),et={left:1,right:2,middle:4,X1:8,X2:16},ot=X(()=>{let x=t.flip?{x:"v",y:"h"}:{x:"h",y:"v"},S=v.value.map($=>({...$.type.$_props,...$.props,$_children:$.children})).concat(t.axes??[]);return S.every($=>$?.coord!="x")&&S.push({coord:"x"}),S.every($=>$?.coord!="y")&&S.push({coord:"y"}),S.map(({coord:$,position:O,title:W,breaks:G,labels:tt,titles:it,"minor-breaks":st,"show-grid":pt,theme:xt=[],extend:ct,boundary:lt,action:Z,primary:nt,secondary:Q,"expand-mult":mt,"expand-add":wt,levels:te,limits:Zt,min:ve,max:ue,"onUpdate:min":he,"onUpdate:max":fe,$_children:Ws,..._s})=>{let je=x[$];O=O??"start",O=="start"?(O={h:"bottom",v:"left"}[je],K[r[$]]&&(O=r[O])):O=="end"&&(O={h:"top",v:"right"}[je],K[r[$]]&&(O=r[O]));let Ks=Object.values(Ws??{}).filter(It=>typeof It=="function").flatMap(It=>u(It())).map(It=>({...It.type.$_props,...It.props})).concat(Z??[]).flatMap(It=>{let Qi=[];for(let $1 of["move","nudge","zoom","rescale"]){let oe=It[$1];if(oe==null||oe===!1)continue;let Zs="on"+$1.charAt(0).toUpperCase()+$1.slice(1);Qi.push({action:$1,[je+"min"]:oe.min??It.min??lt?.min??lt?.[0]??d?.[$]?.min,[je+"max"]:oe.max??It.max??lt?.max??lt?.[1]??d?.[$]?.max,["min-range-"+je]:oe["min-range"]??It["min-range"],ctrlKey:!!(oe.ctrl??o(It.ctrl)),shiftKey:!!(oe.shift??o(It.shift)),altKey:!!(oe.alt??o(It.alt)),metaKey:!!(oe.meta??o(It.meta)),buttons:oe.buttons??et[oe.button]??It.buttons??et[It.button]??1,emit:It[Zs]})}return Qi});return{coord:$,orientation:je,position:O,title:W,breaks:G,labels:tt,titles:it,minorBreaks:st,showGrid:o(pt)??O!=="none",extend:ct??p.extend[$],theme:Object.assign({},...[j.value?.axis?.[O]??j.value?.axis?.[je]].concat(xt)),action:Ks,..._s}}).filter($=>$!=null)}),ut=Lt({});St(ot,x=>{for(let S of["left","right","top","bottom"])ut[S]=x.some($=>$.position==S)},{immediate:!0});const gt=X(()=>b.value.map(x=>({...x.type.$_props,...x.props})).concat(t.action??[]).flatMap(x=>{let S=[];for(let $ of["select","move","nudge","zoom"]){let O=x[$];if(O==null||O===!1)continue;let W=O.x==null&&O.y==null&&x.x==null&&x.y==null,G="on"+$.charAt(0).toUpperCase()+$.slice(1);S.push({action:$,x:W||!!(O.x??o(x.x)),y:W||!!(O.y??o(x.y)),xmin:O.xmin??x.xmin??d?.x?.min,xmax:O.xmax??x.xmax??d?.x?.max,ymin:O.ymin??x.ymin??d?.y?.min,ymax:O.ymax??x.ymax??d?.y?.max,"min-range-x":O["min-range-x"]??x["min-range-x"],"min-range-y":O["min-range-y"]??x["min-range-y"],ctrlKey:!!(O.ctrl??o(x.ctrl)),shiftKey:!!(O.shift??o(x.shift)),altKey:!!(O.alt??o(x.alt)),metaKey:!!(O.meta??o(x.meta)),buttons:O.buttons??et[O.button]??x.buttons??et[x.button]??1,emit:x[G]})}return S})),Ut=X(()=>M.value.map(x=>({...x.type.$_props,...x.props})).map(({once:x,move:S,dismissible:$,resize:O,x:W,y:G,xmin:tt,xmax:it,ymin:st,ymax:pt,ctrl:xt,shift:ct,alt:lt,meta:Z,button:nt,buttons:Q,modelValue:mt,"onUpdate:modelValue":wt,theme:te=[],...Zt})=>{let ve=W==null&&G==null;return o(x)?(mt=Lt({}),wt=null):wt==null&&(mt=Lt(mt??{}),wt=ue=>{for(let he in mt)delete mt[he];Object.assign(mt,ue)}),{move:!!o(S),dismissible:$==null?void 0:$!==!1,resize:!!o(O),x:ve||!!o(W),y:ve||!!o(G),xmin:tt??d?.x?.min,xmax:it??d?.x?.max,ymin:st??d?.y?.min,ymax:pt??d?.y?.max,ctrlKey:!!o(xt),shiftKey:!!o(ct),altKey:!!o(lt),metaKey:!!o(Z),buttons:Q??et[nt]??1,modelValue:mt,"onUpdate:modelValue":wt,theme:Object.assign({},...[j.value?.selection].concat(te)),onSelect:(ue,he)=>l("select",ue,he),...Zt}})),ne=Pt("wrapper"),Rt=Pt("plot"),ge=ke(t,"width"),xe=ke(t,"height");ho(()=>{St(ge,x=>{ne.value.style.width=Te(x,"px")??null},{immediate:!0}),St(xe,x=>{ne.value.style.height=Te(x,"px")??null},{immediate:!0})});let T={width:0,height:0};mo(Rt,x=>{let{width:S,height:$}=x[0].contentRect;ne.value.style.width&&(ge.value=S),ne.value.style.height&&(xe.value=$),(S>0||$>0)&&(T.width>0||T.height>0)&&l("resize",{width:S,height:$},T),T={width:S,height:$}});const P=X(()=>({position:"absolute",pointerEvents:"none",left:Te(Rt.value?.panel?.left,"px"),top:Te(Rt.value?.panel?.top,"px"),width:Te(Rt.value?.panel?.width,"px"),height:Te(Rt.value?.panel?.height,"px")})),V=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 Rt.value.svg},serialize(){return Rl(Rt.value.svg)}}),(x,S)=>(E(),B("div",J({ref:"wrapper",class:"vvplot",style:V.value},L.value.wrapper),[$e(SG,J({ref:"plot",paddings:ut,schema:w.value,layers:k.value,"min-range":U.value,"expand-add":F.value,"expand-mult":_.value,reverse:Mt(K),flip:t.flip,"coord-levels":N.value,levels:C.value,scales:t.scales,axes:ot.value,theme:j.value,selections:Ut.value,transition:s.value,"onUpdate:transition":S[0]||(S[0]=$=>s.value=$)},L.value.plot,{"selection-preview":a.value,"onUpdate:selectionPreview":S[1]||(S[1]=$=>a.value=$),"selection-preview-theme":c.value,"onUpdate:selectionPreviewTheme":S[2]||(S[2]=$=>c.value=$),action:gt.value,clip:t.clip,render:t.render,legendTeleport:t.legendTeleport,onSelect:S[3]||(S[3]=($,O)=>l("select",$,O))}),null,16,["paddings","schema","layers","min-range","expand-add","expand-mult","reverse","flip","coord-levels","levels","scales","axes","theme","selections","transition","selection-preview","selection-preview-theme","action","clip","render","legendTeleport"]),S[4]||(S[4]=ft()),kt("div",{class:"vvplot-panel-container",style:C1(P.value)},[y.dom.panel?.length?(E(),B("div",MG,[(E(!0),B(rt,null,at(y.dom.panel,$=>(E(),vt(r1($)))),256))])):Et("",!0)],4),S[5]||(S[5]=ft()),(E(!0),B(rt,null,at(A.value,$=>(E(),vt(r1($)))),256))],16))}}),Gs={$_type:"selection",$_props:{}},TG=Object.freeze(Object.defineProperty({__proto__:null,VVAction:wn,VVAxis:_i,VVAxisX:Ki,VVAxisY:Zi,VVGeom:Ti,VVGeomBar:$i,VVGeomBlank:Ei,VVGeomBoxplot:Li,VVGeomCurve:Oi,VVGeomDensity:ji,VVGeomEllipse:Pi,VVGeomHistogram:Di,VVGeomLine:qi,VVGeomLinerange:Vi,VVGeomMarkdown:Bi,VVGeomMarkdownsegment:Ii,VVGeomPath:Ri,VVGeomPoint:Hi,VVGeomPolygon:Xi,VVGeomRect:Yi,VVGeomSegment:zi,VVGeomStick:Ui,VVGeomText:Fi,VVGeomTextsegment:Gi,VVGeomTile:Wi,VVPlot:Fs,VVSelection:Gs},Symbol.toStringTag,{value:"Module"}));export{wn as VVAction,_i as VVAxis,Ki as VVAxisX,Zi as VVAxisY,Ti as VVGeom,$i as VVGeomBar,Ei as VVGeomBlank,Li as VVGeomBoxplot,Oi as VVGeomCurve,ji as VVGeomDensity,Pi as VVGeomEllipse,Di as VVGeomHistogram,qi as VVGeomLine,Vi as VVGeomLinerange,Bi as VVGeomMarkdown,Ii as VVGeomMarkdownsegment,Ri as VVGeomPath,Hi as VVGeomPoint,Xi as VVGeomPolygon,Yi as VVGeomRect,zi as VVGeomSegment,Ui as VVGeomStick,Fi as VVGeomText,Gi as VVGeomTextsegment,Wi as VVGeomTile,Fs as VVPlot,Gs as VVSelection,TG as components,ys as number_cut,X2 as oob,Mn as vvbreak,ci as vvlabel,ds as vvscale,Kl as vvtheme};