@milaboratories/graph-maker 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graph-maker.js +2 -2
- package/dist/graph-maker.umd.cjs +1 -1
- package/package.json +2 -2
package/dist/graph-maker.js
CHANGED
|
@@ -5131,7 +5131,7 @@ var Hle = class extends wE {
|
|
|
5131
5131
|
}),
|
|
5132
5132
|
height: new di({
|
|
5133
5133
|
componentName: "height",
|
|
5134
|
-
allowedTypes: ["Int", "Long"],
|
|
5134
|
+
allowedTypes: ["Int", "Long", "Double", "Float"],
|
|
5135
5135
|
annotations: { "pl7.app/dendrogram/isDistance": "true" },
|
|
5136
5136
|
parentComponents: ["value"],
|
|
5137
5137
|
strictlyDependsOnParents: !0,
|
|
@@ -5216,7 +5216,7 @@ var Hle = class extends wE {
|
|
|
5216
5216
|
}),
|
|
5217
5217
|
heatmapAnnotation: new di({
|
|
5218
5218
|
componentName: "heatmapAnnotation",
|
|
5219
|
-
allowedTypes: ["Double", "Int", "Long"],
|
|
5219
|
+
allowedTypes: ["Double", "Int", "Long", "Float", "String"],
|
|
5220
5220
|
parentComponents: ["value"],
|
|
5221
5221
|
strictlyDependsOnParents: !1,
|
|
5222
5222
|
settings: {
|
package/dist/graph-maker.umd.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __p += '`),$i&&(Ht+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+Ht+`return __p
|
|
27
|
-
}`;var Yr=bR(function(){return ti(Re,Rn+"return "+Ht).apply(n,Ie)});if(Yr.source=Ht,jg(Yr))throw Yr;return Yr}function bM(y){return Eo(y).toLowerCase()}function _E(y){return Eo(y).toUpperCase()}function EM(y,x,_){if(y=Eo(y),y&&(_||x===n))return Lt(y);if(!y||!(x=ta(x)))return y;var q=ho(y),pe=ho(x),Re=xi(q,pe),Ie=Aa(q,pe)+1;return Fu(q,Re,Ie).join("")}function OE(y,x,_){if(y=Eo(y),y&&(_||x===n))return y.slice(0,Rp(y)+1);if(!y||!(x=ta(x)))return y;var q=ho(y),pe=Aa(q,ho(x))+1;return Fu(q,0,pe).join("")}function SR(y,x,_){if(y=Eo(y),y&&(_||x===n))return y.replace(ei,"");if(!y||!(x=ta(x)))return y;var q=ho(y),pe=xi(q,ho(x));return Fu(q,pe).join("")}function xM(y,x){var _=Z,q=ee;if(oa(x)){var pe="separator"in x?x.separator:pe;_="length"in x?Or(x.length):_,q="omission"in x?ta(x.omission):q}y=Eo(y);var Re=y.length;if(Wh(y)){var Ie=ho(y);Re=Ie.length}if(_>=Re)return y;var _e=_-sd(q);if(_e<1)return q;var Ze=Ie?Fu(Ie,0,_e).join(""):y.slice(0,_e);if(pe===n)return Ze+q;if(Ie&&(_e+=Ze.length-_e),m3(pe)){if(y.slice(_e).search(pe)){var Pt,Bt=Ze;for(pe.global||(pe=fl(pe.source,Eo($n.exec(pe))+"g")),pe.lastIndex=0;Pt=pe.exec(Bt);)var Ht=Pt.index;Ze=Ze.slice(0,Ht===n?_e:Ht)}}else if(y.indexOf(ta(pe),_e)!=_e){var Zt=Ze.lastIndexOf(pe);Zt>-1&&(Ze=Ze.slice(0,Zt))}return Ze+q}function RM(y){return y=Eo(y),y&&hs.test(y)?y.replace(Rr,xA):y}var BM=Q(function(y,x,_){return y+(_?" ":"")+x.toUpperCase()}),NE=H("toUpperCase");function VE(y,x,_){return y=Eo(y),x=_?n:x,x===n?Uv(y)?Mg(y):rd(y):y.match(x)||[]}var bR=Er(function(y,x){try{return Zn(y,n,x)}catch(_){return jg(_)?_:new Qn(_)}}),TM=rf(function(y,x){return mr(x,function(_){_=Lu(_),Ya(y,_,Nt(y[_],y))}),y});function PM(y){var x=y==null?0:y.length,_=Xn();return y=x?Gr(y,function(q){if(typeof q[1]!="function")throw new Nl(s);return[_(q[0]),q[1]]}):[],Er(function(q){for(var pe=-1;++pe<x;){var Re=y[pe];if(Zn(Re[0],this,q))return Zn(Re[1],this,q)}})}function DM(y){return kp(qs(y,p))}function GE(y){return function(){return y}}function FM(y,x){return y==null||y!==y?x:y}var kM=ke(),$E=ke(!0);function xd(y){return y}function zE(y){return hd(typeof y=="function"?y:qs(y,p))}function MM(y){return hu(qs(y,p))}function IM(y,x){return to(y,qs(x,p))}var HM=Er(function(y,x){return function(_){return ya(_,y,x)}}),LM=Er(function(y,x){return function(_){return ya(y,_,x)}});function QE(y,x,_){var q=Au(x),pe=ma(x,q);_==null&&!(oa(x)&&(pe.length||!q.length))&&(_=x,x=y,y=this,pe=ma(x,Au(x)));var Re=!(oa(_)&&"chain"in _)||!!_.chain,Ie=Qp(y);return mr(pe,function(_e){var Ze=x[_e];y[_e]=Ze,Ie&&(y.prototype[_e]=function(){var Pt=this.__chain__;if(Re||Pt){var Bt=y(this.__wrapped__),Ht=Bt.__actions__=bs(this.__actions__);return Ht.push({func:Ze,args:arguments,thisArg:y}),Bt.__chain__=Pt,Bt}return Ze.apply(y,pa([this.value()],arguments))})}),y}function _M(){return pi._===this&&(pi._=kf),this}function UE(){}function ER(y){return y=Or(y),Er(function(x){return fd(x,y)})}var WE=Xt(Gr),OM=Xt(Ll),NM=Xt(nd);function Uy(y){return un(y)?X(Lu(y)):bn(y)}function Wy(y){return function(x){return y==null?n:ys(y,x)}}var VM=Es(),GM=Es(!0);function jE(){return[]}function YE(){return!1}function $M(){return{}}function zM(){return""}function QM(){return!0}function xR(y,x){if(y=Or(y),y<1||y>de)return[];var _=fe,q=ts(y,fe);x=Xn(x),y-=fe;for(var pe=Je(q,x);++_<y;)x(_);return pe}function UM(y){return $r(y)?Gr(y,Lu):Di(y)?[y]:bs(F0(Eo(y)))}function WM(y){var x=++Rc;return Eo(y)+x}var jM=kt(function(y,x){return y+x},0),YM=Pi("ceil"),KM=kt(function(y,x){return y/x},1),XM=Pi("floor");function ZM(y){return y&&y.length?Gl(y,xd,su):n}function JM(y,x){return y&&y.length?Gl(y,Xn(x,2),su):n}function qM(y){return Pf(y,xd)}function eI(y,x){return Pf(y,Xn(x,2))}function tI(y){return y&&y.length?Gl(y,xd,Ha):n}function nI(y,x){return y&&y.length?Gl(y,Xn(x,2),Ha):n}var rI=kt(function(y,x){return y*x},1),iI=Pi("round"),oI=kt(function(y,x){return y-x},0);function sI(y){return y&&y.length?et(y,xd):0}function J0(y,x){return y&&y.length?et(y,Xn(x,2)):0}return we.after=Oe,we.ary=dt,we.assign=bd,we.assignIn=K0,we.assignInWith=dm,we.assignWith=Xg,we.at=dR,we.before=Ot,we.bind=Nt,we.bindAll=TM,we.bindKey=_t,we.castArray=rR,we.chain=V0,we.chunk=MA,we.compact=k0,we.concat=yd,we.cond=PM,we.conforms=DM,we.constant=GE,we.countBy=Dy,we.create=hm,we.curry=on,we.curryRight=wn,we.debounce=xn,we.defaults=fm,we.defaultsDeep=w3,we.defer=Sa,we.delay=tt,we.difference=li,we.differenceBy=ia,we.differenceWith=as,we.drop=qa,we.dropRight=hc,we.dropRightWhile=Gg,we.dropWhile=el,we.fill=qv,we.filter=Q0,we.flatMap=ky,we.flatMapDeep=yE,we.flatMapDepth=My,we.flatten=M0,we.flattenDeep=Np,we.flattenDepth=pu,we.flip=$e,we.flow=kM,we.flowRight=$E,we.fromPairs=I0,we.functions=pR,we.functionsIn=tM,we.groupBy=$p,we.initial=H0,we.intersection=Ey,we.intersectionBy=Cd,we.intersectionWith=$g,we.invert=AR,we.invertBy=nM,we.invokeMap=A3,we.iteratee=zE,we.keyBy=CE,we.keys=Au,we.keysIn=Ed,we.map=NA,we.mapKeys=rM,we.mapValues=iM,we.matches=MM,we.matchesProperty=IM,we.memoize=ot,we.merge=oM,we.mergeWith=gR,we.method=HM,we.methodOf=LM,we.mixin=QE,we.negate=Qt,we.nthArg=ER,we.omit=sM,we.omitBy=aM,we.once=kn,we.orderBy=wE,we.over=WE,we.overArgs=qn,we.overEvery=OM,we.overSome=NM,we.partial=An,we.partialRight=er,we.partition=am,we.pick=lM,we.pickBy=vR,we.property=Uy,we.propertyOf=Wy,we.pull=tm,we.pullAll=Vp,we.pullAllBy=xl,we.pullAllWith=Uf,we.pullAt=zs,we.range=VM,we.rangeRight=GM,we.rearg=nl,we.reject=f,we.remove=tl,we.rest=no,we.reverse=zg,we.sampleSize=R,we.set=kE,we.setWith=ME,we.shuffle=M,we.slice=LA,we.sortBy=ge,we.sortedUniq=_0,we.sortedUniqBy=_A,we.split=CM,we.spread=Wf,we.tail=o3,we.take=s3,we.takeRight=nm,we.takeRightWhile=O0,we.takeWhile=fE,we.tap=mE,we.throttle=SE,we.thru=gh,we.toArray=Y0,we.toPairs=R3,we.toPairsIn=mR,we.toPath=UM,we.toPlainObject=TE,we.transform=Ny,we.unary=Vk,we.union=pE,we.unionBy=a3,we.unionWith=l3,we.uniq=Gp,we.uniqBy=AE,we.uniqWith=Ug,we.unset=Vy,we.unzip=N0,we.unzipWith=Qs,we.update=uM,we.updateWith=yR,we.values=Z0,we.valuesIn=cM,we.without=gE,we.words=VE,we.wrap=Gk,we.xor=u3,we.xorBy=Ty,we.xorWith=vE,we.zip=c3,we.zipObject=d3,we.zipObjectDeep=h3,we.zipWith=Sd,we.entries=R3,we.entriesIn=mR,we.extend=K0,we.extendWith=dm,QE(we,we),we.add=jM,we.attempt=bR,we.camelCase=wR,we.capitalize=Gy,we.ceil=YM,we.clamp=CR,we.clone=iR,we.cloneDeep=zk,we.cloneDeepWith=oR,we.cloneWith=$k,we.conformsTo=bE,we.deburr=$y,we.defaultTo=FM,we.divide=KM,we.endsWith=B3,we.eq=jf,we.escape=zy,we.escapeRegExp=Qy,we.every=Fy,we.find=om,we.findIndex=Op,we.findKey=PE,we.findLast=p3,we.findLastIndex=IA,we.findLastKey=S3,we.floor=XM,we.forEach=sm,we.forEachRight=Wg,we.forIn=Oy,we.forInRight=hR,we.forOwn=b3,we.forOwnRight=fR,we.get=DE,we.gt=Qk,we.gte=Uk,we.has=E3,we.hasIn=X0,we.head=HA,we.identity=xd,we.includes=U0,we.indexOf=Qf,we.inRange=dM,we.invoke=x3,we.isArguments=lm,we.isArray=$r,we.isArrayBuffer=Wk,we.isArrayLike=Ql,we.isArrayLikeObject=ba,we.isBoolean=Iy,we.isBuffer=zp,we.isDate=jk,we.isElement=Yk,we.isEmpty=sR,we.isEqual=Kk,we.isEqualWith=v3,we.isError=jg,we.isFinite=EE,we.isFunction=Qp,we.isInteger=Hy,we.isLength=Ly,we.isMap=xE,we.isMatch=aR,we.isMatchWith=lR,we.isNaN=Yg,we.isNative=Xk,we.isNil=Jk,we.isNull=Zk,we.isNumber=j0,we.isObject=oa,we.isObjectLike=Ea,we.isPlainObject=um,we.isRegExp=m3,we.isSafeInteger=qk,we.isSet=RE,we.isString=y3,we.isSymbol=Di,we.isTypedArray=Kg,we.isUndefined=C3,we.isWeakMap=_y,we.isWeakSet=uR,we.join=wd,we.kebabCase=fM,we.last=_u,we.lastIndexOf=em,we.lowerCase=IE,we.lowerFirst=HE,we.lt=cR,we.lte=BE,we.max=ZM,we.maxBy=JM,we.mean=qM,we.meanBy=eI,we.min=tI,we.minBy=nI,we.stubArray=jE,we.stubFalse=YE,we.stubObject=$M,we.stubString=zM,we.stubTrue=QM,we.multiply=rI,we.nth=L0,we.noConflict=_M,we.noop=UE,we.now=Fe,we.pad=pM,we.padEnd=AM,we.padStart=pee,we.parseInt=gM,we.random=hM,we.reduce=g3,we.reduceRight=W0,we.repeat=vM,we.replace=mM,we.result=FE,we.round=iI,we.runInContext=Qe,we.sample=v,we.size=U,we.snakeCase=yM,we.some=J,we.sortedIndex=xy,we.sortedIndexBy=Ry,we.sortedIndexOf=lf,we.sortedLastIndex=Qg,we.sortedLastIndexBy=By,we.sortedLastIndexOf=uf,we.startCase=wM,we.startsWith=LE,we.subtract=oI,we.sum=sI,we.sumBy=J0,we.template=SM,we.times=xR,we.toFinite=VA,we.toInteger=Or,we.toLength=cm,we.toLower=bM,we.toNumber=cf,we.toSafeInteger=eM,we.toString=Eo,we.toUpper=_E,we.trim=EM,we.trimEnd=OE,we.trimStart=SR,we.truncate=xM,we.unescape=RM,we.uniqueId=WM,we.upperCase=BM,we.upperFirst=NE,we.each=sm,we.eachRight=Wg,we.first=HA,QE(we,function(){var y={};return Ti(we,function(x,_){oi.call(we.prototype,_)||(y[_]=x)}),y}(),{chain:!1}),we.VERSION=r,mr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(y){we[y].placeholder=we}),mr(["drop","take"],function(y,x){ar.prototype[y]=function(_){_=_===n?1:so(Or(_),0);var q=this.__filtered__&&!x?new ar(this):this.clone();return q.__filtered__?q.__takeCount__=ts(_,q.__takeCount__):q.__views__.push({size:ts(_,fe),type:y+(q.__dir__<0?"Right":"")}),q},ar.prototype[y+"Right"]=function(_){return this.reverse()[y](_).reverse()}}),mr(["filter","map","takeWhile"],function(y,x){var _=x+1,q=_==ie||_==ae;ar.prototype[y]=function(pe){var Re=this.clone();return Re.__iteratees__.push({iteratee:Xn(pe,3),type:_}),Re.__filtered__=Re.__filtered__||q,Re}}),mr(["head","last"],function(y,x){var _="take"+(x?"Right":"");ar.prototype[y]=function(){return this[_](1).value()[0]}}),mr(["initial","tail"],function(y,x){var _="drop"+(x?"":"Right");ar.prototype[y]=function(){return this.__filtered__?new ar(this):this[_](1)}}),ar.prototype.compact=function(){return this.filter(xd)},ar.prototype.find=function(y){return this.filter(y).head()},ar.prototype.findLast=function(y){return this.reverse().find(y)},ar.prototype.invokeMap=Er(function(y,x){return typeof y=="function"?new ar(this):this.map(function(_){return ya(_,y,x)})}),ar.prototype.reject=function(y){return this.filter(Qt(Xn(y)))},ar.prototype.slice=function(y,x){y=Or(y);var _=this;return _.__filtered__&&(y>0||x<0)?new ar(_):(y<0?_=_.takeRight(-y):y&&(_=_.drop(y)),x!==n&&(x=Or(x),_=x<0?_.dropRight(-x):_.take(x-y)),_)},ar.prototype.takeRightWhile=function(y){return this.reverse().takeWhile(y).reverse()},ar.prototype.toArray=function(){return this.take(fe)},Ti(ar.prototype,function(y,x){var _=/^(?:filter|find|map|reject)|While$/.test(x),q=/^(?:head|last)$/.test(x),pe=we[q?"take"+(x=="last"?"Right":""):x],Re=q||/^find/.test(x);pe&&(we.prototype[x]=function(){var Ie=this.__wrapped__,_e=q?[1]:arguments,Ze=Ie instanceof ar,Pt=_e[0],Bt=Ze||$r(Ie),Ht=function(vi){var $i=pe.apply(we,pa([vi],_e));return q&&Zt?$i[0]:$i};Bt&&_&&typeof Pt=="function"&&Pt.length!=1&&(Ze=Bt=!1);var Zt=this.__chain__,Rn=!!this.__actions__.length,rr=Re&&!Zt,Yr=Ze&&!Rn;if(!Re&&Bt){Ie=Yr?Ie:new ar(this);var dr=y.apply(Ie,_e);return dr.__actions__.push({func:gh,args:[Ht],thisArg:n}),new gs(dr,Zt)}return rr&&Yr?y.apply(this,_e):(dr=this.thru(Ht),rr?q?dr.value()[0]:dr.value():dr)})}),mr(["pop","push","shift","sort","splice","unshift"],function(y){var x=pl[y],_=/^(?:push|sort|unshift)$/.test(y)?"tap":"thru",q=/^(?:pop|shift)$/.test(y);we.prototype[y]=function(){var pe=arguments;if(q&&!this.__chain__){var Re=this.value();return x.apply($r(Re)?Re:[],pe)}return this[_](function(Ie){return x.apply($r(Ie)?Ie:[],pe)})}}),Ti(ar.prototype,function(y,x){var _=we[x];if(_){var q=_.name+"";oi.call(qd,q)||(qd[q]=[]),qd[q].push({name:x,func:_})}}),qd[Xe(n,P).name]=[{name:"wrapper",func:n}],ar.prototype.clone=Bn,ar.prototype.reverse=tu,ar.prototype.value=eo,we.prototype.at=G0,we.prototype.chain=OA,we.prototype.commit=$0,we.prototype.next=z0,we.prototype.plant=im,we.prototype.reverse=Py,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=f3,we.prototype.first=we.prototype.head,Qa&&(we.prototype[Qa]=rm),we},Ec=Bp();Me?((Me.exports=Ec)._=Ec,he._=Ec):pi._=Ec}).call(J3)}(L7,L7.exports);var Mre=L7.exports;const yr=xm(Mre);var Zf=class I7{constructor({type:t,name:n,domain:r}){this.kind="axis",this.type=t,this.name=n,this.domain={...r}}toCanonicalString(){return av(this)}static fromAxisSpec(t){return new I7({name:t.name,type:t.type,domain:t.domain})}static fromAxesSpec(t){return t.map(n=>I7.fromAxisSpec(n))}copy(){return new I7({type:this.type,name:this.name,domain:this.domain})}toPFrameId(){return{type:this.type,name:this.name,domain:this.domain}}static fromPojo(t){return new I7(t)}},cC=class yre{constructor({name:t,type:n}){this.kind="column",this.name=t,this.type=n}toCanonicalString(){return av(this)}static fromPojo(t){return new yre(t)}};function Ar(e){return e!==null&&e.kind==="column"}function OB(e){return e!==null&&e.kind==="axis"}function In(e){const t=JSON.parse(e);if(t.kind==="column")return cC.fromPojo(t);if(t.kind==="axis")return Zf.fromPojo(t);throw Error("wrong column or axis object")}var Ire="pl7.app/axisNature",Hre="pl7.app/label",Lre="pl7.app/isLabel",_re="pl7.app/columnAsAxis/name",Ore="pl7.app/columnAsAxis/domain";async function LL(e,t,n){let r;if(n){const i=await e.pFrameProvider.getTableOuterJoin([t,n],[]),o=i.columnsData[t.toCanonicalString()],s=i.columnsData[n.toCanonicalString()];r=o.reduce((a,u,d)=>(a[String(u)]=String(s[d]),a),{})}else r=(await e.pFrameProvider.getColumnUniqueValues(t)).reduce((o,s)=>{const a=String(s);return o[a]=a,o},{});return r}async function _L(e,t,n,r){let i;if(r){const{data:o,axesData:s}=await e.pFrameProvider.getSingleColumnData(r);i=s[t.toCanonicalString()].reduce((u,d,h)=>(u[String(d)]=String(o[h]),u),{})}else i=(await e.pFrameProvider.getAxisUniqueValues(t,[n])).reduce((s,a)=>{const u=String(a);return s[u]=u,s},{});return i}async function Nre(e,t,n){const r=In(t);if(Ar(r)){const i=await e.pFrameProvider.getColumnSpecById(r);if(!i)return;const o=await _a(e,t,[]),s={kind:"column",label:await aa(e,t,[]),valueLabels:await LL(e,r,o),uniqueValues:i.valueType!=="Double"?await e.pFrameProvider.getColumnUniqueValues(r):[],type:i.valueType};n.set(r.toCanonicalString(),s);for(const a of i.axesSpec){const u=Zf.fromAxisSpec(a),d=u.toCanonicalString(),h=await _a(e,d,[t]),p={kind:"axis",label:await aa(e,d,[t]),valueLabels:await _L(e,u,r,h),uniqueValues:a.type?await e.pFrameProvider.getAxisUniqueValues(u,[r]):[],type:a.type,mustBeConsumed:VL(a),dividable:!1,spec:a};n.set(d,p)}}}function OL(e){const t=In(e),{name:n,type:r}=t;return Ar(t)?{kind:"column",label:" ",uniqueValues:[],valueLabels:{},type:t.type}:{kind:"axis",label:" ",uniqueValues:[],valueLabels:{},type:r,spec:{type:r,name:n},mustBeConsumed:!1,dividable:!1}}function _7(e){return{type:e.type,components:{...e.components},dividedAxes:{...e.dividedAxes}}}function Jf(e){const{selectedSource:t,selectedFilterValue:n}=e,r=In(t);if(!r)throw Error("Empty source selected");return OB(r)?{type:"bySingleColumn",column:{type:"axis",id:r.toPFrameId()},predicate:{operator:"Equal",reference:r.type==="String"?String(n):Number(n)}}:{type:"bySingleColumn",column:{type:"column",id:r.name},predicate:{operator:"Equal",reference:r.type==="String"?String(n):Number(n)}}}function NB(e){var t,n,r,i;if("kind"in e&&e.kind==="PColumn"){const a=(n=e.name)!=null?n:(t=e.annotations)==null?void 0:t[_re],u=(i=e.domain)!=null?i:(r=e.annotations)==null?void 0:r[Ore];return av({name:a,domain:u})}const o=e.name,s=e.domain;return av({name:o,domain:s})}async function NL(e,t,n){for(const r of n){const i=In(r);if(Ar(i)){const o=await e.pFrameProvider.getColumnSpecById(i),s=o==null?void 0:o.axesSpec.find(a=>Zf.fromAxisSpec(a).toCanonicalString()===t.toCanonicalString());if(s)return s}}return null}async function _a(e,t,n){const r=In(t);async function i(d){const h=await NL(e,d,n);return h?NB(h):null}async function o(d){const h=await e.pFrameProvider.getColumnSpecById(d);return h?NB(h):null}const s=await e.pFrameProvider.getColumns([],["String"],{[Lre]:"true"},!1),a=Ar(r)?await o(r):await i(r),u=await Promise.all(s.map(async d=>{const h=await e.pFrameProvider.getColumnSpecById(d);return h&&h.axesSpec.length===1&&NB(h.axesSpec[0])===a})).then(d=>d.findIndex(h=>h===!0));if(u!==-1)return s[u]}async function aa(e,t,n){var r,i;const o=In(t),s=await _a(e,t,n);let a;if(Ar(o)?a=await e.pFrameProvider.getColumnSpecById(s??o):a=s?await e.pFrameProvider.getColumnSpecById(s):await NL(e,o,n),!a)return"";const u=(i=(r=a.annotations)==null?void 0:r[Hre])!=null?i:a.name;return e.labelsModifier(a.name,u)}function VL(e){var t,n;const r=(n=(t=e.annotations)==null?void 0:t[Ire])==null?void 0:n.toLowerCase();return!!r&&r!=="homogenous"&&r!=="homogeneous"}var q3=class{constructor(e,t){this.simpleComponentControllers=e,this.filterComponentControllers=t,this.ignoredOptionIdNames=[],this.dataInputs=[]}get requiredComponents(){const e=[];for(const t of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[t].isRequired&&e.push(t);return e}get dimensionsConsumerComponents(){const e=[];for(const t of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[t].isDimensionsConsumer&&e.push(t);for(const t of Object.keys(this.filterComponentControllers))this.filterComponentControllers[t].isDimensionsConsumer&&e.push(t);return e}addSelected(e,t,n,r){if(e in this.simpleComponentControllers)return this.simpleComponentControllers[e].addSelected(t,n);if(e in this.filterComponentControllers)return this.filterComponentControllers[e].addSelected(t,n,!0,r);throw Error(`Unknown input name: ${String(e)}`)}deleteSelected(e,t,n,r){if(e in this.simpleComponentControllers)return this.simpleComponentControllers[e].deleteSelected(n,r);if(e in this.filterComponentControllers)return this.filterComponentControllers[e].deleteSelected(n,r);throw Error(`Unknown input name: ${String(e)}`)}changeSelected(e,t,n,r,i){const o=n.components[e].selectorStates.map(h=>[h.selectedSource,"selectedFilterValue"in h?h.selectedFilterValue:void 0]),s=r.map((h,p)=>[h,i==null?void 0:i[p]]),a=o.filter(([h])=>!s.find(p=>p[0]===h)),u=s.filter(([h])=>!o.find(p=>p[0]===h));let d=_7(n);return a.forEach(([h])=>{d=this.deleteSelected(e,t,d,h)}),u.forEach(([h,p])=>{d=this.addSelected(e,d,h,p)}),d}switchDividableAxis(e,t){return _7(e)}createEmptyComponentsGuide(e){return Object.fromEntries(Object.entries(e.components).map(([t,n])=>n.type!=="filter"?[t,{options:[],optionsInfo:new Map,stateConsistency:{},required:!1,multipleSelectors:!1}]:[t,{options:[],optionsInfo:new Map,multipleSelectors:!1,required:!1,stateConsistency:{},filterValueOptions:{}}]))}async getSelectedSetAndInfo(e,t,n=[]){const r=new Set,i=new Set,o=new Map;for(const{selectorStates:s}of Object.values(t.components))for(const{selectedSource:a}of s){await Nre(e,a,o);const u=In(a);if(u instanceof cC){const d=await e.pFrameProvider.getColumnSpecById(u);d==null||d.axesSpec.forEach(h=>{const p=Zf.fromAxisSpec(h).toCanonicalString();r.add(p),i.add(a)})}}return{selectedAxesSet:r,selectedSourcesSet:i,selectedColumnsOrAxesInfo:o}}getEmptyInputGuide(e){return{components:this.createEmptyComponentsGuide(e),getSourceInfo:t=>OL(t),freeOptionsSet:new Set,readyData:!1,ready:!1}}async calculateOptions(e,t,n=[]){const r=this.createEmptyComponentsGuide(t),i=new Set;for(const h of this.dimensionsConsumerComponents)for(const{selectedSource:p}of t.components[h].selectorStates)i.add(p);const o=new Set(this.ignoredOptionIdNames),s=new Set(n),a=new Set,{selectedColumnsOrAxesInfo:u}=await this.getSelectedSetAndInfo(e,t,n),d=new Map;for(const h of Object.keys(this.simpleComponentControllers)){const p=await this.simpleComponentControllers[h].getOptions(e,t,i,o,s);p.options.forEach(g=>{a.add(g.value)});for(const[g,C]of p.optionsInfo)d.set(g,C);r[h]=p}for(const h of Object.keys(this.filterComponentControllers)){const p=await this.filterComponentControllers[h].getOptionsFilter(e,t,i,o,s);p.options.forEach(g=>{a.add(g.value)});for(const[g,C]of p.optionsInfo)d.set(g,C);r[h]=p}return{components:r,getSourceInfo:h=>{var p,g,C;const S=(p=In(h).toCanonicalString())!=null?p:h;return(C=(g=d.get(S))!=null?g:u.get(S))!=null?C:OL(h)},freeOptionsSet:a,readyData:this.readyDataInputs(t),ready:await this.readyForPlotBuilding(e,t,a,d)}}async checkStateConsistency(e,t){const n=new Map;for(const r of Object.keys(this.simpleComponentControllers))n.set(r,await this.simpleComponentControllers[r].checkStateConsistency(e,t));for(const r of Object.keys(this.filterComponentControllers))n.set(r,await this.filterComponentControllers[r].checkStateConsistency(e,t));return n}async isConsistent(e,t){const n=await this.checkStateConsistency(e,t);for(const r of n.values())if(Object.values(r).some(i=>!i))return!1;return!0}readyDataInputs(e){return this.dataInputs.every(t=>e.components[t].selectorStates.length>0)}async readyForPlotBuilding(e,t,n,r){if(!await this.isConsistent(e,t)||!this.readyDataInputs(t))return!1;const i=[];for(const o of n){const s=In(o),a=s?r.get(s.toCanonicalString()):null;a&&a.kind==="axis"&&a.mustBeConsumed&&i.push(o)}return this.requiredComponents.every(o=>t.components[o].selectorStates.length>0)&&i.length===0}async createDataForPlot(e,t){return{dataByColumns:await this.createDataByColumns(e,t),settings:await this.createChartSettings(e,t)}}},GL=class Cre{constructor({componentName:t,allowedTypes:n,settings:r,dependsOn:i=[],parentComponents:o=[],annotations:s={},strictlyDependsOnParents:a=!0}){this.componentName=t,this.allowedTypes=[...n],this.settings={...Cre.DefaultSettings,...r},this.dependsOn=[...i],this.parentComponents=[...o],this.strictlyDependsOnParents=a,this.annotations={...s}}get isRequired(){return this.settings.required}get isDimensionsConsumer(){return this.settings.dimensionConsumer}addSelected(t,n,r=!1,i){const o=_7(t),s={selectedSource:n};return r&&(s.selectedFilterValue=i),o.components[this.componentName].selectorStates.push(s),o}deleteSelected(t,n){const r=_7(t);return r.components[this.componentName].selectorStates=r.components[this.componentName].selectorStates.filter(i=>i.selectedSource!==n),r}async checkStateConsistency(t,n){const r=n.components[this.componentName],i=await this.getParentAxes(t,n);function o(a){const u=Zf.fromAxisSpec(a);return i.has(u.toCanonicalString())}const s=await Promise.all(r.selectorStates.map(async({selectedSource:a})=>{const u=In(a);if(Ar(u)){const d=await t.pFrameProvider.getColumnSpecById(u);return d?this.parentComponents.length===0?!0:this.strictlyDependsOnParents?d.axesSpec.every(p=>o(p)):i.size===0||d.axesSpec.some(p=>o(p)):!1}return i.has(a)}));return r.selectorStates.reduce((a,u,d)=>(a[u.selectedSource]=s[d],a),{})}getParentSelectedSources(t,n){return this.parentComponents.reduce((i,o)=>{const s=n.components[o].selectorStates.map(a=>In(a.selectedSource));return i.push(...s),i},[])}async getParentAxes(t,n){const r=this.getParentSelectedSources(t,n),i=new Set;for(const o of r)if(Ar(o)){const s=await t.pFrameProvider.getColumnSpecById(o);s==null||s.axesSpec.forEach(a=>{const u=Zf.fromAxisSpec(a);i.add(u.toCanonicalString())})}return i}async getAllowedAxes(t,n){var r;const i=this.getParentSelectedSources(t,n),o=new Set,s=new Map;for(const a of i)if(Ar(a)){const u=await t.pFrameProvider.getColumnSpecById(a);for(const d of(r=u==null?void 0:u.axesSpec)!=null?r:[]){const h=Zf.fromAxisSpec(d),p=this.allowedTypes.includes(d.type),g=Object.entries(this.annotations).every(([C,S])=>{var E;return((E=d.annotations)==null?void 0:E[C])===S});if(p&&g){o.add(h.toCanonicalString());const C=await _a(t,h.toCanonicalString(),[a.toCanonicalString()]),S=await t.pFrameProvider.getAxisUniqueValues(h,[a]);s.set(h.toCanonicalString(),{kind:"axis",label:await aa(t,h.toCanonicalString(),[a.toCanonicalString()]),valueLabels:await _L(t,h,a,C),uniqueValues:S,type:d.type,mustBeConsumed:VL(d),dividable:!1,spec:d})}}}return{axes:o,optionsInfo:s}}async getOptions(t,n,r,i=new Set,o=new Set){const s=this.settings.multipleSelectors,a=this.settings.required,u=await this.checkStateConsistency(t,n);if(this.strictlyDependsOnParents&&this.parentComponents.some(E=>n.components[E].selectorStates.length===0))return{multipleSelectors:s,required:a,stateConsistency:u,options:[],optionsInfo:new Map};const d=this.getParentSelectedSources(t,n),h=(await t.pFrameProvider.getColumns(d,this.allowedTypes,this.annotations,this.strictlyDependsOnParents)).filter(E=>!r.has(E.toCanonicalString())),{axes:p,optionsInfo:g}=await this.getAllowedAxes(t,n);if(this.dependsOn.length&&this.dependsOn.some(E=>n.components[E].selectorStates.length===0))return{multipleSelectors:s,required:a,stateConsistency:u,options:[],optionsInfo:new Map};const C=n.components[this.componentName],S=[];if(this.settings.axesAllowed)for(const E of p){const B=In(E),P=g.get(B.toCanonicalString()),F=!this.settings.homogeneous||!(P!=null&&P.mustBeConsumed),k=!r.has(E),$=i.has(B.name)||o.has(B.toCanonicalString()),V=C.selectorStates.some(O=>O.selectedSource===E);F&&k&&!$&&!V&&S.push({value:E})}if(this.settings.columnsAllowed)for(const E of h){const B=E.toCanonicalString(),P=In(B),F=await t.pFrameProvider.getColumnSpecById(P);if(F){const V=await _a(t,E.toCanonicalString(),[]),O=await t.pFrameProvider.getColumnUniqueValues(E),L=await aa(t,E.toCanonicalString(),[]),z=await LL(t,E,V),W={kind:"column",label:L,valueLabels:z,uniqueValues:O,type:F.valueType};g.set(P.toCanonicalString(),W)}const k=i.has(P.name)||o.has(P.toCanonicalString()),$=n.components[this.componentName].selectorStates.some(V=>V.selectedSource===B);!k&&!$&&S.push({value:B})}return{multipleSelectors:s,required:a,stateConsistency:u,options:S,optionsInfo:g}}async getOptionsFilter(t,n,r,i=new Set,o=new Set){const s=n.components[this.componentName];if(s.type!=="filter")throw Error("Trying to take filter options for simple component");const a=await this.getOptions(t,n,r,i,o),d=this.getParentSelectedSources(t,n).filter(Ar);function h(C){const S=In(C);return Ar(S)?t.pFrameProvider.getColumnUniqueValues(S):t.pFrameProvider.getAxisUniqueValues(S,d)}const p=await Promise.all(a.options.map(C=>h(C.value))),g=await Promise.all(s.selectorStates.map(C=>h(C.selectedSource)));return{...a,filterValueOptions:{...a.options.reduce((C,{value:S},E)=>(C[S]=p[E],C),{}),...s.selectorStates.reduce((C,S,E)=>(C[S.selectedSource]=g[E],C),{})}}}};GL.DefaultSettings={multipleSelectors:!1,required:!1,homogeneous:!1,axesAllowed:!1,columnsAllowed:!0,dimensionConsumer:!1};var Xr=GL,Vre={type:"discrete",components:{y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},primaryGrouping:{type:"simple",selectorStates:[]},secondaryGrouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},Gre=class extends q3{constructor(){super({y:new Xr({componentName:"y",allowedTypes:["Int","Double","Long","Float"],settings:{}}),primaryGrouping:new Xr({componentName:"primaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,homogeneous:!0}}),secondaryGrouping:new Xr({componentName:"secondaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["primaryGrouping"],settings:{axesAllowed:!0,homogeneous:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["y"]}async createDataByColumns(e,t){var n;const r=t.components.y.selectorStates[0].selectedSource,i=In(r);if(!r||!Ar(i))throw Error("Y column is not valid");const o={type:"columns",id:(n=av({data:r,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?n:"",values:{}},s=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],a=[...t.components.filters.selectorStates.map(g=>In(g.selectedSource)),...t.components.tabBy.selectorStates.map(g=>In(g.selectedSource))].filter(Ar),u=[r],d=[t.components.primaryGrouping,t.components.secondaryGrouping,t.components.facetBy],h=[];for(const g of d)for(const{selectedSource:C}of g.selectorStates){h.push(In(C));const S=await _a(e,C,u);S&&h.push(S)}const p=await e.pFrameProvider.getTableOuterJoin([i,...a],h,s);return h.forEach(g=>{const C=g.toCanonicalString();o.values[C]=Ar(g)?p.columnsData[C]:p.axesData[C]}),o.values[i.toCanonicalString()]=p.columnsData[i.toCanonicalString()],o}async createChartSettings(e,t){var n,r;const i=t.components.y.selectorStates[0].selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Y column is not valid");const s={type:"column",value:i,label:await aa(e,i,[])},a=[i];let u;if(t.components.primaryGrouping.selectorStates.length){const{selectedSource:p}=t.components.primaryGrouping.selectorStates[0];u={columnName:{type:"column",value:p,label:await aa(e,p,a),valueLabels:(n=await _a(e,p,a))==null?void 0:n.toCanonicalString()}}}let d;if(t.components.secondaryGrouping.selectorStates.length){const{selectedSource:p}=t.components.secondaryGrouping.selectorStates[0];d={columnName:{type:"column",value:p,label:await aa(e,p,a),valueLabels:(r=await _a(e,p,a))==null?void 0:r.toCanonicalString()}}}const h=await Promise.all(t.components.facetBy.selectorStates.map(async p=>{var g,C;return{type:"column",value:(C=(g=await _a(e,p.selectedSource,a))==null?void 0:g.toCanonicalString())!=null?C:p.selectedSource,label:await aa(e,p.selectedSource,a)}}));return{type:"discrete",y:s,primaryGrouping:u,secondaryGrouping:d,facetBy:h}}},$re={type:"heatmap",components:{value:{type:"simple",selectorStates:[]},x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},xGroupBy:{type:"simple",selectorStates:[]},yGroupBy:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},annotations:{type:"simple",selectorStates:[]}},dividedAxes:{}};function O7(e,t){if(!t.length)return[];const n=t.map(o=>In(o)),r=Object.values(e.columnsData)[0].length,i=[];for(let o=0;o<r;o++){const s=n.map(a=>{const u=a.toCanonicalString();return Ar(a)?e.columnsData[u][o]:e.axesData[u][o]}).join(", ");i.push(s)}return i}var zre=class extends q3{constructor(){super({value:new Xr({componentName:"value",allowedTypes:["Int","Long","Double","Float","String"],settings:{columnsAllowed:!0,axesAllowed:!1,required:!0}}),x:new Xr({componentName:"x",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),xGroupBy:new Xr({componentName:"xGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["x"]}),y:new Xr({componentName:"y",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),yGroupBy:new Xr({componentName:"yGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["y"]}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),annotations:new Xr({componentName:"annotations",allowedTypes:["String","Int"],parentComponents:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0},dependsOn:["x","y"]})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["value"]}async readyForPlotBuilding(e,t,n,r){const{axes:i}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),o=[...i],s=this.dimensionsConsumerComponents;return await super.readyForPlotBuilding(e,t,n,r)&&o.every(a=>s.some(u=>t.components[u].selectorStates.some(d=>d.selectedSource===a)))}async createDataByColumns(e,t){var n,r;const i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s={type:"columns",id:(r=av({data:i,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?r:"",values:{}},a=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],u=[...t.components.filters.selectorStates.map(L=>In(L.selectedSource)),...t.components.tabBy.selectorStates.map(L=>In(L.selectedSource))].filter(Ar),d=[i],h=[t.components.facetBy,t.components.annotations,t.components.x,t.components.y,t.components.xGroupBy,t.components.yGroupBy],p=[];for(const L of h)for(const{selectedSource:z}of L.selectorStates){p.push(In(z));const W=await _a(e,z,d);W&&p.push(W)}const g=await e.pFrameProvider.getTableOuterJoin([o,...u],p,a);p.forEach(L=>{const z=L.toCanonicalString();s.values[z]=Ar(L)?g.columnsData[z]:g.axesData[z]}),s.values[o.toCanonicalString()]=g.columnsData[o.toCanonicalString()];const C=t.components.x.selectorStates.concat(t.components.xGroupBy.selectorStates).map(L=>L.selectedSource),S=C.join(", ");s.values[S]=O7(g,C);const E=t.components.x.selectorStates.map(L=>L.selectedSource),B=await Promise.all(E.map(async L=>{var z,W;return(W=(z=await _a(e,L,d))==null?void 0:z.toCanonicalString())!=null?W:L})),P=E.join(", ");s.values[P]=O7(g,B);const F=t.components.y.selectorStates.concat(t.components.yGroupBy.selectorStates).map(L=>L.selectedSource),k=F.join(", ");s.values[k]=O7(g,F);const $=t.components.y.selectorStates.map(L=>L.selectedSource),V=$.join(", "),O=await Promise.all($.map(async L=>{var z,W;return(W=(z=await _a(e,L,d))==null?void 0:z.toCanonicalString())!=null?W:L}));return s.values[V]=O7(g,O),s}async createChartSettings(e,t){var n,r;const i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s=[i],a={type:"column",value:i,label:await aa(e,i,[])},u=t.components.x.selectorStates.concat(t.components.xGroupBy.selectorStates).map(({selectedSource:$})=>In($)).filter($=>OB($)).map($=>$.toCanonicalString()),d=u.join(", "),h=t.components.y.selectorStates.concat(t.components.yGroupBy.selectorStates).map(({selectedSource:$})=>In($)).filter($=>OB($)).map($=>$.toCanonicalString()),p=h.join(", "),g=await Promise.all(t.components.facetBy.selectorStates.map(async $=>{var V,O;return{type:"column",value:(O=(V=await _a(e,$.selectedSource,s))==null?void 0:V.toCanonicalString())!=null?O:$.selectedSource}})),C=await Promise.all(t.components.xGroupBy.selectorStates.map(async $=>({type:"column",label:await aa(e,$.selectedSource,s),value:$.selectedSource}))),S=await Promise.all(t.components.yGroupBy.selectorStates.map(async $=>({type:"column",label:await aa(e,$.selectedSource,s),value:$.selectedSource}))),E=await Promise.all(t.components.annotations.selectorStates.map(async $=>{var V,O;const L=$.selectedSource,z=In(L),W=Ar(z)?(V=(await e.pFrameProvider.getColumnAxesIds(z)).map(ee=>ee.toCanonicalString()))!=null?V:[]:[L];let Z="";if(W.every(ee=>u.findIndex(Y=>Y===ee)!==-1))Z="x";else if(W.every(ee=>h.findIndex(Y=>Y===ee)!==-1))Z="y";else throw Error("Invalid annotation axes");return{axis:Z,valueColumn:{type:"column",value:L,label:await aa(e,L,s)},type:Ar(z)&&((O=await e.pFrameProvider.getColumnSpecById(z))==null?void 0:O.valueType)==="Double"?"continuous":"discrete"}})),B=t.components.x.selectorStates.map(({selectedSource:$})=>$).join(", "),P=t.components.y.selectorStates.map(({selectedSource:$})=>$).join(", "),F=(await Promise.all(t.components.x.selectorStates.map($=>aa(e,$.selectedSource,s)))).join(", "),k=(await Promise.all(t.components.y.selectorStates.map($=>aa(e,$.selectedSource,s)))).join(", ");return{type:"heatmap",valueColumn:a,valueType:((r=await e.pFrameProvider.getColumnSpecById(o))==null?void 0:r.valueType)==="String"?"discrete":"continuous",xColumn:{type:"column",value:d,label:F,valueLabels:B},yColumn:{type:"column",value:p,label:k,valueLabels:P},facetBy:g,xGroupBy:C,yGroupBy:S,annotations:E}}},Qre={type:"scatterplot",components:{x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},grouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},Ure=class extends q3{constructor(){super({x:new Xr({componentName:"x",allowedTypes:["Int","Long","Double","Float"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Xr({componentName:"y",allowedTypes:["Int","Long","Double","Float"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Xr({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["x","y"]}async readyForPlotBuilding(e,t,n,r){var i,o;if(!super.readyForPlotBuilding(e,t,n,r))return!1;const s=(i=t.components.x.selectorStates[0])==null?void 0:i.selectedSource,a=(o=t.components.y.selectorStates[0])==null?void 0:o.selectedSource;if(!this.isConsistent(e,t)||!s||!a)return!1;const{axes:u}=await this.simpleComponentControllers.y.getAllowedAxes(e,t),{axes:d}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),h=In(s),p=In(a),g=Ar(h)?[...u]:[s],C=Ar(p)?[...d]:[a],S=g.filter(P=>!C.some(F=>F===P)),E=C.filter(P=>!g.some(F=>F===P));if(S.length===0&&E.length===0)return!0;const B=this.dimensionsConsumerComponents;return S.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))&&E.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))}async createDataByColumns(e,t){var n,r,i;const o=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,a=In(o),u=In(s);if(!o||!a||!s||!u)throw Error("X or Y column is not valid");const d={type:"columns",id:(i=av({data:[o,s],filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},h=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],p=[...t.components.filters.selectorStates.map(P=>In(P.selectedSource)),...t.components.tabBy.selectorStates.map(P=>In(P.selectedSource))].filter(Ar),g=[a,u].filter(Ar).map(P=>P.toCanonicalString());if(g.length===0)throw Error("One of X and Y should be a column");const C=[a,u,...p],S=[],E=[t.components.grouping,t.components.facetBy];for(const P of E)for(const{selectedSource:F}of P.selectorStates){S.push(In(F));const k=await _a(e,F,g);k&&S.push(k)}const B=await e.pFrameProvider.getTableOuterJoin(C,S,h);return[...C,...S].forEach(P=>{const F=P.toCanonicalString();d.values[F]=Ar(P)?B.columnsData[F]:B.axesData[F]}),d.values.key=d.values[Object.keys(d.values)[0]].map((P,F)=>F),d}async createChartSettings(e,t){var n,r;const i=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,o=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,s=i?In(i):null,a=o?In(o):null;if(!i||!o||!s||!a||!Ar(s)&&!Ar(a))throw Error("Empty or invalid required data");const u=[s,a].filter(Ar).map(S=>S.toCanonicalString()),d={type:"column",value:i,label:await aa(e,i,u)},h={type:"column",value:o,label:await aa(e,o,u)},p={type:"column",value:"key"},g=await Promise.all(t.components.facetBy.selectorStates.map(async S=>{var E,B;return{type:"column",value:(B=(E=await _a(e,S.selectedSource,u))==null?void 0:E.toCanonicalString())!=null?B:S.selectedSource}})),C=await Promise.all(t.components.grouping.selectorStates.map(async S=>{var E,B;const P=S.selectedSource;return{type:"column",label:await aa(e,P,u)||P,value:P,valueLabels:(B=(E=await _a(e,P,u))==null?void 0:E.toCanonicalString())!=null?B:P}}));return{type:"scatterplot",x:d,y:h,keyColumn:p,facetBy:g,grouping:C}}},Wre={type:"scatterplot-umap",components:{x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},grouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},jre=class extends q3{constructor(){super({x:new Xr({componentName:"x",allowedTypes:["Int","Long","Double","Float"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Xr({componentName:"y",allowedTypes:["Int","Long","Double","Float"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Xr({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["x","y"]}async readyForPlotBuilding(e,t,n,r){var i,o;if(!super.readyForPlotBuilding(e,t,n,r))return!1;const s=(i=t.components.x.selectorStates[0])==null?void 0:i.selectedSource,a=(o=t.components.y.selectorStates[0])==null?void 0:o.selectedSource;if(!this.isConsistent(e,t)||!s||!a)return!1;const{axes:u}=await this.simpleComponentControllers.y.getAllowedAxes(e,t),{axes:d}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),h=In(s),p=In(a),g=Ar(h)?[...u]:[s],C=Ar(p)?[...d]:[a],S=g.filter(P=>!C.some(F=>F===P)),E=C.filter(P=>!g.some(F=>F===P));if(S.length===0&&E.length===0)return!0;const B=this.dimensionsConsumerComponents;return S.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))&&E.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))}async createDataByColumns(e,t){var n,r,i;const o=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,a=In(o),u=In(s);if(!o||!a||!s||!u)throw Error("X or Y column is not valid");const d={type:"columns",id:(i=av({data:[o,s],filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},h=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],p=[...t.components.filters.selectorStates.map(P=>In(P.selectedSource)),...t.components.tabBy.selectorStates.map(P=>In(P.selectedSource))].filter(Ar),g=[a,u].filter(Ar).map(P=>P.toCanonicalString());if(g.length===0)throw Error("One of X and Y should be a column");const C=[a,u,...p],S=[],E=[t.components.grouping,t.components.facetBy];for(const P of E)for(const{selectedSource:F}of P.selectorStates){S.push(In(F));const k=await _a(e,F,g);k&&S.push(k)}const B=await e.pFrameProvider.getTableOuterJoin(C,S,h);return[...C,...S].forEach(P=>{const F=P.toCanonicalString();d.values[F]=Ar(P)?B.columnsData[F]:B.axesData[F]}),d.values.key=d.values[Object.keys(d.values)[0]].map((P,F)=>F),d}async createChartSettings(e,t){var n,r;const i=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,o=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,s=i?In(i):null,a=o?In(o):null;if(!i||!o||!s||!a||!Ar(s)&&!Ar(a))throw Error("Empty or invalid required data");const u=[s,a].filter(Ar).map(S=>S.toCanonicalString()),d={type:"column",value:i,label:await aa(e,i,u)},h={type:"column",value:o,label:await aa(e,o,u)},p={type:"column",value:"key"},g=await Promise.all(t.components.facetBy.selectorStates.map(async S=>{var E,B;return{type:"column",value:(B=(E=await _a(e,S.selectedSource,u))==null?void 0:E.toCanonicalString())!=null?B:S.selectedSource}})),C=await Promise.all(t.components.grouping.selectorStates.map(async S=>{var E,B;const P=S.selectedSource;return{type:"column",label:await aa(e,P,u)||P,value:P,valueLabels:(B=(E=await _a(e,P,u))==null?void 0:E.toCanonicalString())!=null?B:P}}));return{type:"scatterplot-umap",x:d,y:h,keyColumn:p,facetBy:g,grouping:C}}},VB="pl7.app/dendrogram/nodeId",N7="sequenceOrder",V7="sequenceValue",dC="id",Yre={type:"dendro",components:{value:{type:"simple",selectorStates:[]},height:{type:"simple",selectorStates:[]},labels:{type:"simple",selectorStates:[]},tableContent:{type:"simple",selectorStates:[]},nodeColor:{type:"simple",selectorStates:[]},nodeShape:{type:"simple",selectorStates:[]},nodeSize:{type:"simple",selectorStates:[]},lineColor:{type:"simple",selectorStates:[]},heatmapAnnotation:{type:"simple",selectorStates:[]},heatmapForSequence:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},heatmapAxis:{type:"simple",selectorStates:[]},heatmapGroup:{type:"simple",selectorStates:[]}},dividedAxes:{}},Kre=class extends q3{constructor(){super({value:new Xr({componentName:"value",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isTopology":"true"},settings:{columnsAllowed:!0,required:!0,dimensionConsumer:!0}}),height:new Xr({componentName:"height",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isDistance":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1,dimensionConsumer:!0}}),labels:new Xr({componentName:"labels",allowedTypes:["Int","String","Long"],annotations:{"pl7.app/dendrogram/isLabel":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),tableContent:new Xr({componentName:"tableContent",allowedTypes:["Int","String","Long","Double","Float"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0,multipleSelectors:!0}}),nodeShape:new Xr({componentName:"nodeShape",allowedTypes:["Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeSize:new Xr({componentName:"nodeSize",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeColor:new Xr({componentName:"nodeColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),lineColor:new Xr({componentName:"lineColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),heatmapForSequence:new Xr({componentName:"heatmapForSequence",allowedTypes:["String"],annotations:{"pl7.app/type":"sequence"},parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!0}}),heatmapAnnotation:new Xr({componentName:"heatmapAnnotation",allowedTypes:["Double","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!1}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapAxis:new Xr({componentName:"heatmapAxis",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapGroup:new Xr({componentName:"heatmapGroup",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}})}),this.ignoredOptionIdNames=[VB]}readyDataInputs(e){return e.components.value.selectorStates.length>0}async createTableData(e,t){var n;const r={},i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],a=[...t.components.filters.selectorStates.map(B=>In(B.selectedSource)),...t.components.tabBy.selectorStates.map(B=>In(B.selectedSource))].filter(Ar),u=[i],d=[],h=[],p=[t.components.value],g=[t.components.tableContent,t.components.labels,t.components.nodeColor,t.components.nodeSize,t.components.nodeShape,t.components.lineColor],C={};for(const B of p)for(const{selectedSource:P}of B.selectorStates){const F=await _a(e,P,u),k=F??In(P);C[k.toCanonicalString()]=P,d.push(k)}for(const B of g)for(const{selectedSource:P}of B.selectorStates){const F=await _a(e,P,u),k=F??In(P);C[P]=k.toCanonicalString(),h.push(k)}const S=await e.pFrameProvider.getTableOuterJoin([...d,...a],h,s,!1);for(const B of[...d,...h]){const P=B.toCanonicalString(),F=C[B.toCanonicalString()];r[F]={data:Ar(B)?S.columnsData[P]:S.axesData[P],label:await aa(e,F,u)}}const E=Object.keys(S.axesData).find(B=>{var P;return((P=In(B))==null?void 0:P.name)===VB});return E?r[dC]={data:S.axesData[E],label:"Node id"}:console.warn("Missed node id axis in data column"),r}async createDataByColumns(e,t){var n,r,i,o,s;const a=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,u=(r=t.components.heatmapAnnotation.selectorStates[0])==null?void 0:r.selectedSource,d=In(a),h=u?In(u):null;if(!a||!Ar(d))throw Error("Value column is not valid");const p={type:"columns",id:(i=av({data:a,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},g=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],C=[...t.components.filters.selectorStates.map(W=>In(W.selectedSource)),...t.components.tabBy.selectorStates.map(W=>In(W.selectedSource))].filter(Ar),S=[d,h].filter(Ar).map(W=>W.toCanonicalString()),E=[],B=[],P=[t.components.value,t.components.height,t.components.labels,t.components.nodeColor,t.components.nodeSize,t.components.nodeShape,t.components.lineColor,t.components.heatmapAnnotation,t.components.heatmapForSequence],F=[t.components.facetBy,t.components.heatmapAxis,t.components.heatmapGroup,t.components.tableContent];for(const W of P)for(const{selectedSource:Z}of W.selectorStates){E.push(In(Z));const ee=await _a(e,Z,S);ee&&E.push(ee)}for(const W of F)for(const{selectedSource:Z}of W.selectorStates){B.push(In(Z));const ee=await _a(e,Z,S);ee&&B.push(ee)}const k=await e.pFrameProvider.getTableOuterJoin([...E,...C],B,g,!1),$=t.components.heatmapForSequence.selectorStates.length>0?t.components.heatmapForSequence.selectorStates[0].selectedSource:null;let V=[],O=[];if($){O=Ar(In($))?k.columnsData[$]:k.axesData[$];const W=O.find(Z=>Z!==null);W&&(V=String(W).split("").map((Z,ee)=>ee),p.values[N7]=[],p.values[V7]=[])}const L=(s=(o=Object.values(k.columnsData)[0])==null?void 0:o.length)!=null?s:0;[...E,...B].forEach(W=>{const Z=W.toCanonicalString(),ee=Ar(W)?k.columnsData[Z]:k.axesData[Z];p.values[Z]=[],$?V.forEach(()=>{p.values[Z]=p.values[Z].concat(ee)}):p.values[Z]=ee}),$&&V.forEach(W=>{p.values[N7]=p.values[N7].concat(new Array(L).fill(W)),p.values[V7]=p.values[V7].concat(O.map(Z=>Z?String(Z)[W]:null))});const z=Object.keys(k.axesData).find(W=>{var Z;return((Z=In(W))==null?void 0:Z.name)===VB});return z?$?(p.values[dC]=[],V.forEach(()=>{p.values[dC]=p.values[dC].concat(k.axesData[z])})):p.values[dC]=k.axesData[z]:console.warn("Missed node id axis in data column"),p}async createChartSettings(e,t){var n;const r=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,i=In(r);if(!r||!Ar(i))throw Error("Data column is not valid");const o=[r],s={type:"column",value:dC},a={type:"column",value:r},u=t.components.height.selectorStates.length?{type:"column",value:t.components.height.selectorStates[0].selectedSource}:void 0,d=t.components.labels.selectorStates.length?{type:"column",value:t.components.labels.selectorStates[0].selectedSource}:void 0,h={};if(t.components.nodeColor.selectorStates.length){const S=t.components.nodeColor.selectorStates[0].selectedSource;h.nodeColor={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.nodeShape.selectorStates.length){const S=t.components.nodeShape.selectorStates[0].selectedSource;h.nodeShape={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.nodeSize.selectorStates.length){const S=t.components.nodeSize.selectorStates[0].selectedSource;h.nodeSize={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.lineColor.selectorStates.length){const S=t.components.lineColor.selectorStates[0].selectedSource;h.lineColor={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}let p,g,C;return t.components.heatmapAnnotation.selectorStates.length&&t.components.heatmapAxis.selectorStates.length?(p={type:"column",value:t.components.heatmapAnnotation.selectorStates[0].selectedSource},g={type:"column",value:t.components.heatmapAxis.selectorStates[0].selectedSource},C=t.components.heatmapGroup.selectorStates.map(S=>({type:"column",value:S.selectedSource}))):t.components.heatmapForSequence.selectorStates.length&&(p={type:"column",value:V7},g={type:"column",value:N7}),{type:"dendro",id:s,parentId:a,height:u,labels:d,aes:h,heatmapAnnotation:p,heatmapAxis:g,heatmapGroup:C}}};function G7(e,t){return e==="String"?t.data:Array.from(t.data).map(n=>e==="Int"&&n===-2147483648||e==="Long"&&n===BigInt(-9007199254740991)||(e==="Double"||e==="Float")&&isNaN(n)?null:Number(n))}var Xre=class{constructor(e,t){this.pframeHandle=e,this.pframeDriver=t}async getSingleColumnData(e,t=[]){try{const n=await this.pframeDriver.calculateTableData(this.pframeHandle,{src:{type:"column",column:e.name},filters:t,sorting:[]}),r=n.filter(o=>o.spec.type==="axis"),i=n.filter(o=>o.spec.type==="column");return{axesData:r.reduce((o,s)=>{const a=Zf.fromAxisSpec(s.spec.spec);return o[a.toCanonicalString()]=G7(a.type,s.data),o},{}),data:i.length?G7(e.type,i[0].data):[]}}catch(n){throw console.error("PFrame: single column data error"),n}}async getColumnUniqueValues(e,t=[]){const n={columnId:e.name,filters:t,limit:10};try{const r=await this.pframeDriver.getUniqueValues(this.pframeHandle,n);return Array.from(r.values.data).map(String)}catch{return[]}}async getAxisUniqueValues(e,t,n=[]){try{const r=t.filter(Ar),i=await Promise.all(r.map(o=>this.pframeDriver.getUniqueValues(this.pframeHandle,{columnId:o.name,axis:e.toPFrameId(),filters:n,limit:1e3})));return yr.uniq(yr.flatten(i.map(o=>Array.from(o.values.data).map(String))))}catch{return[]}}async getTableOuterJoin(e,t,n=[],r=!0){const i=e.filter(Ar),o=t.filter(Ar),s={src:{type:"outer",primary:{type:r?"inner":"full",entries:i.map(a=>({type:"column",column:a.name}))},secondary:o.map(a=>({type:"column",column:a.name}))},filters:n,sorting:[]};try{const a=await this.pframeDriver.calculateTableData(this.pframeHandle,s),u=a.filter(h=>h.spec.type==="axis"),d=a.filter(h=>h.spec.type==="column");return{axesData:u.reduce((h,p)=>{const g=Zf.fromAxisSpec(p.spec.spec);return h[g.toCanonicalString()]=G7(g.type,p.data),h},{}),columnsData:d.reduce((h,p)=>{const g=p.spec.spec,C=new cC({name:p.spec.id,type:g.valueType});return h[C.toCanonicalString()]=G7(C.type,p.data),h},{})}}catch(a){throw console.error("PFrame: table outer join error"),console.info("error with request: ",s),a}}async getColumnSpecById(e){try{const t=await this.pframeDriver.getColumnSpec(this.pframeHandle,e.name);return t??null}catch{return console.error("PFrame: get single column error"),null}}async getColumnAxesIds(e){var t,n;return(n=(t=await this.getColumnSpecById(e))==null?void 0:t.axesSpec.map(r=>Zf.fromAxisSpec(r)))!=null?n:[]}async getRequestColumnsFromSelectedSources(e){var t,n;const r=[];for(const i of e)if(Ar(i)){const o=(n=(t=await this.getColumnSpecById(i))==null?void 0:t.axesSpec)!=null?n:[];r.push(...o.map(s=>Zf.fromAxisSpec(s).toPFrameId()))}return r}async getColumnsList(){return this.pframeDriver.listColumns(this.pframeHandle)}async getColumns(e,t,n,r){try{const i={columnFilter:{type:t,annotationValue:n},compatibleWith:await this.getRequestColumnsFromSelectedSources(e),strictlyCompatible:r},o=await this.pframeDriver.findColumns(this.pframeHandle,i),s=[];return o.hits.forEach(({columnId:a,spec:u})=>{s.push(new cC({name:a,type:u.valueType}))}),s}catch(i){throw console.error("PFrame: get columns error",i),i}}},Zre=class{constructor(e,t,n=(r,i)=>i??r){this.labelsModifier=n,this.pFrameProvider=new Xre(e,t)}},$L={controllers:{discrete:new Gre,scatterplot:new Ure,"scatterplot-umap":new jre,heatmap:new zre,dendro:new Kre},initialStates:{discrete:Vre,scatterplot:Qre,"scatterplot-umap":Wre,heatmap:$re,dendro:Yre}};function $7(e){return $L.controllers[e]}function Jre(e){return $L.initialStates[e]}const zr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},qre={},eie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tie(e,t){return A.openBlock(),A.createElementBlock("svg",eie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25V21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 1C17.5523 1 18 1.44772 18 2C18 2.55228 17.5523 3 17 3C16.4477 3 16 2.55228 16 2C16 1.44772 16.4477 1 17 1ZM15 6.75H16.25L16.25 9H14C13.4477 9 13 9.44771 13 10V12.125V13.25V14V14.75V16V18C13 18.5523 13.4477 19 14 19H16.25L16.25 21.25H15H14.25V22.75H15H19H19.75V21.25H19H17.75V19H20C20.5523 19 21 18.5523 21 18V16V14.75V14V13.25V12.125V10C21 9.44771 20.5523 9 20 9H17.75V6.75H19H19.75V5.25H19H15H14.25V6.75H15ZM16.25 10.5H14.5V12.125V13.25H19.5V12.125V10.5H17.75H16.25ZM14.5 16V14.75H19.5V16V17.5H14.5V16Z",fill:"#07AD3E"},null,-1)]))}const nie=zr(qre,[["render",tie]]),rie={},iie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function oie(e,t){return A.openBlock(),A.createElementBlock("svg",iie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25L6.25 21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.25 7C14.25 5.75736 15.2574 4.75 16.5 4.75C17.7426 4.75 18.75 5.75736 18.75 7C18.75 7.08866 18.7449 7.17613 18.7349 7.26211C19.8671 7.37957 20.75 8.33668 20.75 9.5C20.75 10.6633 19.8671 11.6204 18.7349 11.7379C18.7449 11.8239 18.75 11.9113 18.75 12C18.75 13.2426 17.7426 14.25 16.5 14.25C15.2574 14.25 14.25 13.2426 14.25 12C14.25 11.9113 14.2551 11.8239 14.2651 11.7379C13.1329 11.6204 12.25 10.6633 12.25 9.5C12.25 8.33668 13.1329 7.37957 14.2651 7.26211C14.2551 7.17613 14.25 7.08866 14.25 7ZM16.5 6.25C16.0858 6.25 15.75 6.58579 15.75 7C15.75 7.41421 16.0858 7.75 16.5 7.75C16.9142 7.75 17.25 7.41421 17.25 7C17.25 6.58579 16.9142 6.25 16.5 6.25ZM13.75 9.5C13.75 9.08579 14.0858 8.75 14.5 8.75C14.9142 8.75 15.25 9.08579 15.25 9.5C15.25 9.91421 14.9142 10.25 14.5 10.25C14.0858 10.25 13.75 9.91421 13.75 9.5ZM18.5 8.75C18.0858 8.75 17.75 9.08579 17.75 9.5C17.75 9.91421 18.0858 10.25 18.5 10.25C18.9142 10.25 19.25 9.91421 19.25 9.5C19.25 9.08579 18.9142 8.75 18.5 8.75ZM14.25 18.5C14.25 17.2574 15.2574 16.25 16.5 16.25C17.7426 16.25 18.75 17.2574 18.75 18.5C18.75 19.7426 17.7426 20.75 16.5 20.75C15.2574 20.75 14.25 19.7426 14.25 18.5ZM16.5 17.75C16.0858 17.75 15.75 18.0858 15.75 18.5C15.75 18.9142 16.0858 19.25 16.5 19.25C16.9142 19.25 17.25 18.9142 17.25 18.5C17.25 18.0858 16.9142 17.75 16.5 17.75ZM15.75 12C15.75 11.5858 16.0858 11.25 16.5 11.25C16.9142 11.25 17.25 11.5858 17.25 12C17.25 12.4142 16.9142 12.75 16.5 12.75C16.0858 12.75 15.75 12.4142 15.75 12Z",fill:"#07AD3E"},null,-1)]))}const sie=zr(rie,[["render",oie]]),aie={},lie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function uie(e,t){return A.openBlock(),A.createElementBlock("svg",lie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25L6.25 21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18 3C18 3.55228 17.5523 4 17 4C16.4477 4 16 3.55228 16 3C16 2.44772 16.4477 2 17 2C17.5523 2 18 2.44772 18 3ZM17 15C17 15.5523 16.5523 16 16 16C15.4477 16 15 15.5523 15 15C15 14.4477 15.4477 14 16 14C16.5523 14 17 14.4477 17 15ZM18 17.5C18.5523 17.5 19 17.0523 19 16.5C19 15.9477 18.5523 15.5 18 15.5C17.4477 15.5 17 15.9477 17 16.5C17 17.0523 17.4477 17.5 18 17.5ZM17 6.5C17 7.05228 16.5523 7.5 16 7.5C15.4477 7.5 15 7.05228 15 6.5C15 5.94772 15.4477 5.5 16 5.5C16.5523 5.5 17 5.94772 17 6.5ZM18 9.5C18.5523 9.5 19 9.05228 19 8.5C19 7.94772 18.5523 7.5 18 7.5C17.4477 7.5 17 7.94772 17 8.5C17 9.05228 17.4477 9.5 18 9.5ZM21 15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15C19 14.4477 19.4477 14 20 14C20.5523 14 21 14.4477 21 15ZM15 13.5C15.5523 13.5 16 13.0523 16 12.5C16 11.9477 15.5523 11.5 15 11.5C14.4477 11.5 14 11.9477 14 12.5C14 13.0523 14.4477 13.5 15 13.5ZM15 16.5C15 17.0523 14.5523 17.5 14 17.5C13.4477 17.5 13 17.0523 13 16.5C13 15.9477 13.4477 15.5 14 15.5C14.5523 15.5 15 15.9477 15 16.5ZM16 19C16.5523 19 17 18.5523 17 18C17 17.4477 16.5523 17 16 17C15.4477 17 15 17.4477 15 18C15 18.5523 15.4477 19 16 19ZM18 11C18 11.5523 17.5523 12 17 12C16.4477 12 16 11.5523 16 11C16 10.4477 16.4477 10 17 10C17.5523 10 18 10.4477 18 11ZM18 14.5C18.5523 14.5 19 14.0523 19 13.5C19 12.9477 18.5523 12.5 18 12.5C17.4477 12.5 17 12.9477 17 13.5C17 14.0523 17.4477 14.5 18 14.5ZM18 20.5C18 21.0523 17.5523 21.5 17 21.5C16.4477 21.5 16 21.0523 16 20.5C16 19.9477 16.4477 19.5 17 19.5C17.5523 19.5 18 19.9477 18 20.5Z",fill:"#07AD3E"},null,-1)]))}const cie=zr(aie,[["render",uie]]),die={},hie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function fie(e,t){return A.openBlock(),A.createElementBlock("svg",hie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25H21" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M14 11.5C14 12.3284 13.3284 13 12.5 13C11.6716 13 11 12.3284 11 11.5C11 10.6716 11.6716 10 12.5 10C13.3284 10 14 10.6716 14 11.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M14 14.5C14 15.3284 13.3284 16 12.5 16C11.6716 16 11 15.3284 11 14.5C11 13.6716 11.6716 13 12.5 13C13.3284 13 14 13.6716 14 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M14 17.5C14 18.3284 13.3284 19 12.5 19C11.6716 19 11 18.3284 11 17.5C11 16.6716 11.6716 16 12.5 16C13.3284 16 14 16.6716 14 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M9 17.5C9 18.3284 8.32843 19 7.5 19C6.67157 19 6 18.3284 6 17.5C6 16.6716 6.67157 16 7.5 16C8.32843 16 9 16.6716 9 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 8.5C17 9.32843 16.3284 10 15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 5.5C17 6.32843 16.3284 7 15.5 7C14.6716 7 14 6.32843 14 5.5C14 4.67157 14.6716 4 15.5 4C16.3284 4 17 4.67157 17 5.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 17.5C17 18.3284 16.3284 19 15.5 19C14.6716 19 14 18.3284 14 17.5C14 16.6716 14.6716 16 15.5 16C16.3284 16 17 16.6716 17 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M20 17.5C20 18.3284 19.3284 19 18.5 19C17.6716 19 17 18.3284 17 17.5C17 16.6716 17.6716 16 18.5 16C19.3284 16 20 16.6716 20 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M20 14.5C20 15.3284 19.3284 16 18.5 16C17.6716 16 17 15.3284 17 14.5C17 13.6716 17.6716 13 18.5 13C19.3284 13 20 13.6716 20 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 14.5C17 15.3284 16.3284 16 15.5 16C14.6716 16 14 15.3284 14 14.5C14 13.6716 14.6716 13 15.5 13C16.3284 13 17 13.6716 17 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 11.5C17 12.3284 16.3284 13 15.5 13C14.6716 13 14 12.3284 14 11.5C14 10.6716 14.6716 10 15.5 10C16.3284 10 17 10.6716 17 11.5Z" stroke="#07AD3E" stroke-width="1.5"></path>',18)]))}const pie=zr(die,[["render",fie]]),Aie={},gie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function vie(e,t){return A.openBlock(),A.createElementBlock("svg",gie,t[0]||(t[0]=[A.createStaticVNode('<path d="M18 3C18 3.55228 17.5523 4 17 4C16.4477 4 16 3.55228 16 3C16 2.44772 16.4477 2 17 2C17.5523 2 18 2.44772 18 3Z" fill="#07AD3E"></path><path d="M17 15C17 15.5523 16.5523 16 16 16C15.4477 16 15 15.5523 15 15C15 14.4477 15.4477 14 16 14C16.5523 14 17 14.4477 17 15Z" fill="#07AD3E"></path><path d="M18 17.5C18.5523 17.5 19 17.0523 19 16.5C19 15.9477 18.5523 15.5 18 15.5C17.4477 15.5 17 15.9477 17 16.5C17 17.0523 17.4477 17.5 18 17.5Z" fill="#07AD3E"></path><path d="M17 6.5C17 7.05228 16.5523 7.5 16 7.5C15.4477 7.5 15 7.05228 15 6.5C15 5.94772 15.4477 5.5 16 5.5C16.5523 5.5 17 5.94772 17 6.5Z" fill="#07AD3E"></path><path d="M18 9.5C18.5523 9.5 19 9.05228 19 8.5C19 7.94772 18.5523 7.5 18 7.5C17.4477 7.5 17 7.94772 17 8.5C17 9.05228 17.4477 9.5 18 9.5Z" fill="#07AD3E"></path><path d="M21 15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15C19 14.4477 19.4477 14 20 14C20.5523 14 21 14.4477 21 15Z" fill="#07AD3E"></path><path d="M15 13.5C15.5523 13.5 16 13.0523 16 12.5C16 11.9477 15.5523 11.5 15 11.5C14.4477 11.5 14 11.9477 14 12.5C14 13.0523 14.4477 13.5 15 13.5Z" fill="#07AD3E"></path><path d="M15 16.5C15 17.0523 14.5523 17.5 14 17.5C13.4477 17.5 13 17.0523 13 16.5C13 15.9477 13.4477 15.5 14 15.5C14.5523 15.5 15 15.9477 15 16.5Z" fill="#07AD3E"></path><path d="M16 19C16.5523 19 17 18.5523 17 18C17 17.4477 16.5523 17 16 17C15.4477 17 15 17.4477 15 18C15 18.5523 15.4477 19 16 19Z" fill="#07AD3E"></path><path d="M18 11C18 11.5523 17.5523 12 17 12C16.4477 12 16 11.5523 16 11C16 10.4477 16.4477 10 17 10C17.5523 10 18 10.4477 18 11Z" fill="#07AD3E"></path><path d="M18 14.5C18.5523 14.5 19 14.0523 19 13.5C19 12.9477 18.5523 12.5 18 12.5C17.4477 12.5 17 12.9477 17 13.5C17 14.0523 17.4477 14.5 18 14.5Z" fill="#07AD3E"></path><path d="M18 20.5C18 21.0523 17.5523 21.5 17 21.5C16.4477 21.5 16 21.0523 16 20.5C16 19.9477 16.4477 19.5 17 19.5C17.5523 19.5 18 19.9477 18 20.5Z" fill="#07AD3E"></path><path d="M8 3C8 2.44772 7.55228 2 7 2C6.44772 2 6 2.44772 6 3C6 3.55228 6.44772 4 7 4C7.55228 4 8 3.55228 8 3Z" fill="#110529"></path><path d="M6 4.5C6.55228 4.5 7 4.94772 7 5.5C7 6.05228 6.55228 6.5 6 6.5C5.44772 6.5 5 6.05228 5 5.5C5 4.94772 5.44772 4.5 6 4.5Z" fill="#110529"></path><path d="M5 7C5 6.44772 4.55228 6 4 6C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8C4.55228 8 5 7.55228 5 7Z" fill="#110529"></path><path d="M8 6C8.55228 6 9 6.44772 9 7C9 7.55228 8.55228 8 8 8C7.44772 8 7 7.55228 7 7C7 6.44772 7.44772 6 8 6Z" fill="#110529"></path><path d="M7 8.5C7 7.94772 6.55228 7.5 6 7.5C5.44772 7.5 5 7.94772 5 8.5C5 9.05228 5.44772 9.5 6 9.5C6.55228 9.5 7 9.05228 7 8.5Z" fill="#110529"></path><path d="M8 20.5C8 19.9477 7.55228 19.5 7 19.5C6.44772 19.5 6 19.9477 6 20.5C6 21.0523 6.44772 21.5 7 21.5C7.55228 21.5 8 21.0523 8 20.5Z" fill="#110529"></path><path d="M7 17C7 16.4477 6.55228 16 6 16C5.44772 16 5 16.4477 5 17C5 17.5523 5.44772 18 6 18C6.55228 18 7 17.5523 7 17Z" fill="#110529"></path><path d="M8 14C8.55228 14 9 14.4477 9 15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15C7 14.4477 7.44772 14 8 14Z" fill="#110529"></path><path d="M11 8.5C11 7.94772 10.5523 7.5 10 7.5C9.44772 7.5 9 7.94772 9 8.5C9 9.05228 9.44772 9.5 10 9.5C10.5523 9.5 11 9.05228 11 8.5Z" fill="#110529"></path><path d="M5 10C5.55228 10 6 10.4477 6 11C6 11.5523 5.55228 12 5 12C4.44772 12 4 11.5523 4 11C4 10.4477 4.44772 10 5 10Z" fill="#110529"></path><path d="M8 12.5C8 11.9477 7.55228 11.5 7 11.5C6.44772 11.5 6 11.9477 6 12.5C6 13.0523 6.44772 13.5 7 13.5C7.55228 13.5 8 13.0523 8 12.5Z" fill="#110529"></path><path d="M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z" fill="#110529"></path>',24)]))}const mie=zr(Aie,[["render",vie]]),yie={},Cie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wie(e,t){return A.openBlock(),A.createElementBlock("svg",Cie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40827 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M16.1603 11.6035C16.5892 12.0178 17.0904 12.5021 17.5 13.1017C17.9096 12.5021 18.4108 12.0178 18.8397 11.6035C18.8575 11.5863 18.8751 11.5692 18.8927 11.5522C19.7742 10.6998 20.25 10.1824 20.25 9.5C20.25 8.81759 19.7742 8.30021 18.8927 7.4478C18.8751 7.43083 18.8575 7.41374 18.8397 7.39653C18.4108 6.98221 17.9096 6.49792 17.5 5.89827C17.0904 6.49792 16.5892 6.98221 16.1603 7.39653C16.1425 7.41374 16.1249 7.43083 16.1073 7.4478C15.2258 8.30021 14.75 8.81759 14.75 9.5C14.75 10.1824 15.2258 10.6998 16.1073 11.5522C16.1249 11.5692 16.1425 11.5863 16.1603 11.6035Z",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("circle",{cx:"17.5",cy:"18",r:"0.5",stroke:"#07AD3E"},null,-1)]))}const Sie=zr(yie,[["render",wie]]),bie={},Eie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xie(e,t){return A.openBlock(),A.createElementBlock("svg",Eie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40826 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.25 7C14.25 5.75736 15.2574 4.75 16.5 4.75C17.7426 4.75 18.75 5.75736 18.75 7C18.75 7.08866 18.7449 7.17613 18.7349 7.26211C19.8671 7.37957 20.75 8.33668 20.75 9.5C20.75 10.6633 19.8671 11.6204 18.7349 11.7379C18.7449 11.8239 18.75 11.9113 18.75 12C18.75 13.2426 17.7426 14.25 16.5 14.25C15.2574 14.25 14.25 13.2426 14.25 12C14.25 11.9113 14.2551 11.8239 14.2651 11.7379C13.1329 11.6204 12.25 10.6633 12.25 9.5C12.25 8.33668 13.1329 7.37957 14.2651 7.26211C14.2551 7.17613 14.25 7.08866 14.25 7ZM16.5 6.25C16.0858 6.25 15.75 6.58579 15.75 7C15.75 7.41421 16.0858 7.75 16.5 7.75C16.9142 7.75 17.25 7.41421 17.25 7C17.25 6.58579 16.9142 6.25 16.5 6.25ZM13.75 9.5C13.75 9.08579 14.0858 8.75 14.5 8.75C14.9142 8.75 15.25 9.08579 15.25 9.5C15.25 9.91421 14.9142 10.25 14.5 10.25C14.0858 10.25 13.75 9.91421 13.75 9.5ZM18.5 8.75C18.0858 8.75 17.75 9.08579 17.75 9.5C17.75 9.91421 18.0858 10.25 18.5 10.25C18.9142 10.25 19.25 9.91421 19.25 9.5C19.25 9.08579 18.9142 8.75 18.5 8.75ZM14.25 18.5C14.25 17.2574 15.2574 16.25 16.5 16.25C17.7426 16.25 18.75 17.2574 18.75 18.5C18.75 19.7426 17.7426 20.75 16.5 20.75C15.2574 20.75 14.25 19.7426 14.25 18.5ZM16.5 17.75C16.0858 17.75 15.75 18.0858 15.75 18.5C15.75 18.9142 16.0858 19.25 16.5 19.25C16.9142 19.25 17.25 18.9142 17.25 18.5C17.25 18.0858 16.9142 17.75 16.5 17.75ZM15.75 12C15.75 11.5858 16.0858 11.25 16.5 11.25C16.9142 11.25 17.25 11.5858 17.25 12C17.25 12.4142 16.9142 12.75 16.5 12.75C16.0858 12.75 15.75 12.4142 15.75 12Z",fill:"#07AD3E"},null,-1)]))}const Rie=zr(bie,[["render",xie]]),Bie={},Tie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Pie(e,t){return A.openBlock(),A.createElementBlock("svg",Tie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40827 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M16.1603 11.6035C16.5892 12.0178 17.0904 12.5021 17.5 13.1017C17.9096 12.5021 18.4108 12.0178 18.8397 11.6035C18.8575 11.5863 18.8751 11.5692 18.8927 11.5522C19.7742 10.6998 20.25 10.1824 20.25 9.5C20.25 8.81759 19.7742 8.30021 18.8927 7.4478C18.8751 7.43083 18.8575 7.41374 18.8397 7.39653C18.4108 6.98221 17.9096 6.49792 17.5 5.89827C17.0904 6.49792 16.5892 6.98221 16.1603 7.39653C16.1425 7.41374 16.1249 7.43083 16.1073 7.4478C15.2258 8.30021 14.75 8.81759 14.75 9.5C14.75 10.1824 15.2258 10.6998 16.1073 11.5522C16.1249 11.5692 16.1425 11.5863 16.1603 11.6035Z",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("circle",{cx:"17.5",cy:"18",r:"0.5",stroke:"#07AD3E"},null,-1)]))}const Die=zr(Bie,[["render",Pie]]),Fie={},kie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mie(e,t){return A.openBlock(),A.createElementBlock("svg",kie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M7 19L7 10" stroke="#07AD3E" stroke-width="1.5"></path><path d="M11 19L11 14" stroke="#110529" stroke-width="1.5"></path><path d="M15 19L15 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M19 19L19 7" stroke="#110529" stroke-width="1.5"></path>',11)]))}const Iie=zr(Fie,[["render",Mie]]),Hie={},Lie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _ie(e,t){return A.openBlock(),A.createElementBlock("svg",Lie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M5.49982 10.5L10.5037 5.49615C10.7829 5.21695 11.2307 5.20204 11.5279 5.46205L14.4718 8.03795C14.7689 8.29796 15.2168 8.28305 15.496 8.00385L20.4998 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M7 14V19" stroke="#110529" stroke-width="1.5"></path><path d="M11 10L11 19" stroke="#110529" stroke-width="1.5"></path><path d="M15 12V19" stroke="#110529" stroke-width="1.5"></path><path d="M19 9L19 19" stroke="#110529" stroke-width="1.5"></path>',12)]))}const zL=zr(Hie,[["render",_ie]]),Oie={},Nie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vie(e,t){return A.openBlock(),A.createElementBlock("svg",Nie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M11.25 11V13V16V18C11.25 18.1381 11.1381 18.25 11 18.25H9H7C6.86193 18.25 6.75 18.1381 6.75 18V16V13V11C6.75 10.8619 6.86193 10.75 7 10.75H9H11C11.1381 10.75 11.25 10.8619 11.25 11Z" stroke="#07AD3E" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.75 8V7.25H8.25V8H9.75ZM9.75 14V8H8.25V14H9.75Z" fill="#07AD3E"></path><path d="M19.25 6V9.66667V14.3333V18C19.25 18.1381 19.1381 18.25 19 18.25H17H15C14.8619 18.25 14.75 18.1381 14.75 18V14.3333V9.66667V6C14.75 5.86193 14.8619 5.75 15 5.75H17H19C19.1381 5.75 19.25 5.86193 19.25 6Z" stroke="#110529" stroke-width="1.5" stroke-linecap="round"></path><path d="M17 9V3" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path>',11)]))}const Gie=zr(Oie,[["render",Vie]]),$ie={},zie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Qie(e,t){return A.openBlock(),A.createElementBlock("svg",zie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M11 19L11 14" stroke="#110529" stroke-width="1.5"></path><path d="M11 13L11 9" stroke="#07AD3E" stroke-width="1.5"></path><path d="M15 19L15 7" stroke="#110529" stroke-width="1.5"></path><path d="M7 19L7 11" stroke="#110529" stroke-width="1.5"></path><path d="M19 19L19 11" stroke="#110529" stroke-width="1.5"></path><path d="M15 6L15 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M7 10L7 7" stroke="#07AD3E" stroke-width="1.5"></path><path d="M19 10L19 6" stroke="#07AD3E" stroke-width="1.5"></path>',15)]))}const Uie=zr($ie,[["render",Qie]]),Wie={},jie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yie(e,t){return A.openBlock(),A.createElementBlock("svg",jie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M6 17L10.3949 10.1634C10.4567 10.0673 10.5759 10.0253 10.6843 10.0614L16.3157 11.9386C16.4241 11.9747 16.5433 11.9327 16.6051 11.8366L21 5" stroke="#07AD3E" stroke-width="1.5"></path>',8)]))}const QL=zr(Wie,[["render",Yie]]),Kie={},Xie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Zie(e,t){return A.openBlock(),A.createElementBlock("svg",Xie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.87166 17.4862C6.72148 18.5589 5.21191 19.25 3 19.25H2.25V20.75H3C5.01 20.75 6.5821 20.2481 7.84779 19.4106C7.78374 19.1173 7.75 18.8126 7.75 18.5C7.75 18.1506 7.79216 17.8111 7.87166 17.4862ZM16.5833 6.12522C17.6721 5.27714 19.0682 4.75 21 4.75H21.75V3.25H21C18.7445 3.25 17.0404 3.882 15.702 4.91089C15.8578 5.18652 15.9838 5.48129 16.0755 5.79079C16.253 5.8903 16.4227 6.00217 16.5833 6.12522ZM3.75 5.5L3.75 4H2.25L2.25 5.5H3.75ZM3.75 8.5V7H2.25L2.25 8.5H3.75ZM3.75 10L3.75 11.5H2.25L2.25 10H3.75ZM3.75 14.5V13H2.25V14.5H3.75ZM3.75 16L3.75 17.5H2.25V16H3.75ZM20.25 6.5V8L21.75 8V6.5H20.25ZM20.25 11V9.5H21.75V11H20.25ZM20.25 12.5V14H21.75V12.5H20.25ZM20.25 17V15.5H21.75V17H20.25ZM20.25 20V18.5H21.75V20H20.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.75 7C9.75 5.75736 10.7574 4.75 12 4.75C13.2426 4.75 14.25 5.75736 14.25 7C14.25 7.08866 14.2449 7.17613 14.2349 7.26211C15.3671 7.37957 16.25 8.33668 16.25 9.5C16.25 10.6633 15.3671 11.6204 14.2349 11.7379C14.2449 11.8239 14.25 11.9113 14.25 12C14.25 13.2426 13.2426 14.25 12 14.25C10.7574 14.25 9.75 13.2426 9.75 12C9.75 11.9113 9.75513 11.8239 9.7651 11.7379C8.63285 11.6204 7.75 10.6633 7.75 9.5C7.75 8.33668 8.63285 7.37957 9.7651 7.26211C9.75513 7.17613 9.75 7.08866 9.75 7ZM12 6.25C11.5858 6.25 11.25 6.58579 11.25 7C11.25 7.41421 11.5858 7.75 12 7.75C12.4142 7.75 12.75 7.41421 12.75 7C12.75 6.58579 12.4142 6.25 12 6.25ZM9.25 9.5C9.25 9.08579 9.58579 8.75 10 8.75C10.4142 8.75 10.75 9.08579 10.75 9.5C10.75 9.91421 10.4142 10.25 10 10.25C9.58579 10.25 9.25 9.91421 9.25 9.5ZM14 8.75C13.5858 8.75 13.25 9.08579 13.25 9.5C13.25 9.91421 13.5858 10.25 14 10.25C14.4142 10.25 14.75 9.91421 14.75 9.5C14.75 9.08579 14.4142 8.75 14 8.75ZM9.75 18.5C9.75 17.2574 10.7574 16.25 12 16.25C13.2426 16.25 14.25 17.2574 14.25 18.5C14.25 19.7426 13.2426 20.75 12 20.75C10.7574 20.75 9.75 19.7426 9.75 18.5ZM12 17.75C11.5858 17.75 11.25 18.0858 11.25 18.5C11.25 18.9142 11.5858 19.25 12 19.25C12.4142 19.25 12.75 18.9142 12.75 18.5C12.75 18.0858 12.4142 17.75 12 17.75ZM11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12C12.75 12.4142 12.4142 12.75 12 12.75C11.5858 12.75 11.25 12.4142 11.25 12Z",fill:"#07AD3E"},null,-1)]))}const Jie=zr(Kie,[["render",Zie]]),qie={},eoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function toe(e,t){return A.openBlock(),A.createElementBlock("svg",eoe,t[0]||(t[0]=[A.createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66173 18.3797C5.69642 18.9269 4.51239 19.25 3 19.25H2.25V20.75H3C5.08009 20.75 6.69121 20.2125 7.97909 19.3218C7.45744 19.133 7.00308 18.8038 6.66173 18.3797ZM15.6198 7.03708C15.6306 7.02483 15.6415 7.01261 15.6524 7.00044C16.858 5.65468 18.4693 4.75 21 4.75H21.75V3.25H21C18.0608 3.25 16.0579 4.32325 14.5803 5.94949C15.0122 6.21765 15.3709 6.59244 15.6198 7.03708ZM3.75 5.5L3.75 4H2.25L2.25 5.5H3.75ZM3.75 8.5V7H2.25L2.25 8.5H3.75ZM3.75 10L3.75 11.5H2.25L2.25 10H3.75ZM3.75 14.5V13H2.25V14.5H3.75ZM3.75 16L3.75 17.5H2.25V16H3.75ZM20.25 6.5V8L21.75 8V6.5H20.25ZM20.25 11V9.5H21.75V11H20.25ZM20.25 12.5V14H21.75V12.5H20.25ZM20.25 17V15.5H21.75V17H20.25ZM20.25 20V18.5H21.75V20H20.25Z" fill="#110529"></path><path d="M13 3C13 3.55228 12.5523 4 12 4C11.4477 4 11 3.55228 11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3Z" fill="#07AD3E"></path><path d="M12 15C12 15.5523 11.5523 16 11 16C10.4477 16 10 15.5523 10 15C10 14.4477 10.4477 14 11 14C11.5523 14 12 14.4477 12 15Z" fill="#07AD3E"></path><path d="M13 17.5C13.5523 17.5 14 17.0523 14 16.5C14 15.9477 13.5523 15.5 13 15.5C12.4477 15.5 12 15.9477 12 16.5C12 17.0523 12.4477 17.5 13 17.5Z" fill="#07AD3E"></path><path d="M12 6.5C12 7.05228 11.5523 7.5 11 7.5C10.4477 7.5 10 7.05228 10 6.5C10 5.94772 10.4477 5.5 11 5.5C11.5523 5.5 12 5.94772 12 6.5Z" fill="#07AD3E"></path><path d="M13 9.5C13.5523 9.5 14 9.05228 14 8.5C14 7.94772 13.5523 7.5 13 7.5C12.4477 7.5 12 7.94772 12 8.5C12 9.05228 12.4477 9.5 13 9.5Z" fill="#07AD3E"></path><path d="M16 15C16 15.5523 15.5523 16 15 16C14.4477 16 14 15.5523 14 15C14 14.4477 14.4477 14 15 14C15.5523 14 16 14.4477 16 15Z" fill="#07AD3E"></path><path d="M10 13.5C10.5523 13.5 11 13.0523 11 12.5C11 11.9477 10.5523 11.5 10 11.5C9.44772 11.5 9 11.9477 9 12.5C9 13.0523 9.44772 13.5 10 13.5Z" fill="#07AD3E"></path><path d="M10 16.5C10 17.0523 9.55228 17.5 9 17.5C8.44772 17.5 8 17.0523 8 16.5C8 15.9477 8.44772 15.5 9 15.5C9.55228 15.5 10 15.9477 10 16.5Z" fill="#07AD3E"></path><path d="M11 19C11.5523 19 12 18.5523 12 18C12 17.4477 11.5523 17 11 17C10.4477 17 10 17.4477 10 18C10 18.5523 10.4477 19 11 19Z" fill="#07AD3E"></path><path d="M13 11C13 11.5523 12.5523 12 12 12C11.4477 12 11 11.5523 11 11C11 10.4477 11.4477 10 12 10C12.5523 10 13 10.4477 13 11Z" fill="#07AD3E"></path><path d="M13 14.5C13.5523 14.5 14 14.0523 14 13.5C14 12.9477 13.5523 12.5 13 12.5C12.4477 12.5 12 12.9477 12 13.5C12 14.0523 12.4477 14.5 13 14.5Z" fill="#07AD3E"></path><path d="M13 20.5C13 21.0523 12.5523 21.5 12 21.5C11.4477 21.5 11 21.0523 11 20.5C11 19.9477 11.4477 19.5 12 19.5C12.5523 19.5 13 19.9477 13 20.5Z" fill="#07AD3E"></path>',13)]))}const UL=zr(qie,[["render",toe]]),noe={},roe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ioe(e,t){return A.openBlock(),A.createElementBlock("svg",roe,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5 16.5C13.5556 16.5 10.4444 7.5 19 7.5",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M5 21.25V16.5V11.75M5 21.25H8M5 21.25H2M5 11.75H8M5 11.75H2M5 9.5V8M5 6.5V5M5 3.5V2",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M5 21.25V16.5V11.75M5 21.25H8M5 21.25H2M5 11.75H8M5 11.75H2M5 9.5V8M5 6.5V5M5 3.5V2",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M19 2.75V7.5V12.25M19 2.75H16M19 2.75H22M19 12.25H16M19 12.25H22M19 14.5V16M19 17.5V19M19 20.5V22",stroke:"#110529","stroke-width":"1.5"},null,-1)]))}const ooe=zr(noe,[["render",ioe]]),soe={},aoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function loe(e,t){return A.openBlock(),A.createElementBlock("svg",aoe,t[0]||(t[0]=[A.createStaticVNode('<path d="M18 4.5C18 3.94772 17.5523 3.5 17 3.5C16.4477 3.5 16 3.94772 16 4.5C16 5.05228 16.4477 5.5 17 5.5C17.5523 5.5 18 5.05228 18 4.5Z" fill="#07AD3E"></path><path d="M17 18.5C17.5523 18.5 18 18.9477 18 19.5C18 20.0523 17.5523 20.5 17 20.5C16.4477 20.5 16 20.0523 16 19.5C16 18.9477 16.4477 18.5 17 18.5Z" fill="#07AD3E"></path><path d="M16 16.5C16.5523 16.5 17 16.9477 17 17.5C17 18.0523 16.5523 18.5 16 18.5C15.4477 18.5 15 18.0523 15 17.5C15 16.9477 15.4477 16.5 16 16.5Z" fill="#07AD3E"></path><path d="M17 17.5C17 16.9477 17.4477 16.5 18 16.5C18.5523 16.5 19 16.9477 19 17.5C19 18.0523 18.5523 18.5 18 18.5C17.4477 18.5 17 18.0523 17 17.5Z" fill="#07AD3E"></path><path d="M17 14.5C17.5523 14.5 18 14.9477 18 15.5C18 16.0523 17.5523 16.5 17 16.5C16.4477 16.5 16 16.0523 16 15.5C16 14.9477 16.4477 14.5 17 14.5Z" fill="#07AD3E"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M16 7C16.5523 7 17 7.44772 17 8C17 8.55228 16.5523 9 16 9C15.4477 9 15 8.55228 15 8C15 7.44772 15.4477 7 16 7ZM17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10C15 9.44772 14.5523 9 14 9C13.4477 9 13 9.44772 13 10C13 10.5523 13.4477 11 14 11C14.5523 11 15 10.5523 15 10C15 10.5523 15.4477 11 16 11C15.4477 11 15 11.4477 15 12C15 12.5523 15.4477 13 16 13C16.5523 13 17 12.5523 17 12C17 12.5523 17.4477 13 18 13C18.5523 13 19 12.5523 19 12C19 11.4477 18.5523 11 18 11C18.5523 11 19 10.5523 19 10C19 10.5523 19.4477 11 20 11C20.5523 11 21 10.5523 21 10C21 9.44772 20.5523 9 20 9C19.4477 9 19 9.44772 19 10C19 9.44772 18.5523 9 18 9C18.5523 9 19 8.55228 19 8C19 7.44772 18.5523 7 18 7C17.4477 7 17 7.44772 17 8C17 8.55228 17.4477 9 18 9C17.4477 9 17 9.44772 17 10ZM17 10C17 10.5523 17.4477 11 18 11C17.4477 11 17 11.4477 17 12C17 11.4477 16.5523 11 16 11C16.5523 11 17 10.5523 17 10Z" fill="#07AD3E"></path><path d="M7 5.5C7.55228 5.5 8 5.05228 8 4.5C8 3.94772 7.55228 3.5 7 3.5C6.44772 3.5 6 3.94772 6 4.5C6 5.05228 6.44772 5.5 7 5.5Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 15C8.55228 15 9 14.5523 9 14C9 14.5523 9.44772 15 10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44772 13 9 13.4477 9 14C9 13.4477 8.55228 13 8 13C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11C7.44772 11 7 11.4477 7 12C7 11.4477 6.55228 11 6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13C5.44772 13 5 13.4477 5 14C5 13.4477 4.55228 13 4 13C3.44772 13 3 13.4477 3 14C3 14.5523 3.44772 15 4 15C4.55228 15 5 14.5523 5 14C5 14.5523 5.44772 15 6 15C5.44772 15 5 15.4477 5 16C5 16.5523 5.44772 17 6 17C6.55228 17 7 16.5523 7 16C7 16.5523 7.44772 17 8 17C8.55228 17 9 16.5523 9 16C9 15.4477 8.55228 15 8 15ZM8 15C7.44772 15 7 15.4477 7 16C7 15.4477 6.55228 15 6 15C6.55228 15 7 14.5523 7 14C7 14.5523 7.44772 15 8 15ZM7 14C7 13.4477 6.55228 13 6 13C6.55228 13 7 12.5523 7 12C7 12.5523 7.44772 13 8 13C7.44772 13 7 13.4477 7 14Z" fill="#110529"></path><path d="M6 7.5C6.55228 7.5 7 7.05228 7 6.5C7 7.05228 7.44772 7.5 8 7.5C8.55228 7.5 9 7.05228 9 6.5C9 5.94772 8.55228 5.5 8 5.5C7.44772 5.5 7 5.94772 7 6.5C7 5.94772 6.55228 5.5 6 5.5C5.44772 5.5 5 5.94772 5 6.5C5 7.05228 5.44772 7.5 6 7.5Z" fill="#110529"></path><path d="M7 9.5C7.55228 9.5 8 9.05228 8 8.5C8 7.94772 7.55228 7.5 7 7.5C6.44772 7.5 6 7.94772 6 8.5C6 9.05228 6.44772 9.5 7 9.5Z" fill="#110529"></path><path d="M8 19.5C8 20.0523 7.55228 20.5 7 20.5C6.44772 20.5 6 20.0523 6 19.5C6 18.9477 6.44772 18.5 7 18.5C7.55228 18.5 8 18.9477 8 19.5Z" fill="#110529"></path>',11)]))}const uoe=zr(soe,[["render",loe]]),coe={},doe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function hoe(e,t){return A.openBlock(),A.createElementBlock("svg",doe,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M20 5C20 5.55228 19.5523 6 19 6C18.4477 6 18 5.55228 18 5C18 4.44772 18.4477 4 19 4C19.5523 4 20 4.44772 20 5Z" fill="#07AD3E"></path><path d="M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z" fill="#07AD3E"></path><path d="M16 17C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15C15.4477 15 15 15.4477 15 16C15 16.5523 15.4477 17 16 17Z" fill="#07AD3E"></path><path d="M13 6C13.5523 6 14 5.55228 14 5C14 4.44772 13.5523 4 13 4C12.4477 4 12 4.44772 12 5C12 5.55228 12.4477 6 13 6Z" fill="#110529"></path><path d="M16 9C16.5523 9 17 8.55228 17 8C17 7.44772 16.5523 7 16 7C15.4477 7 15 7.44772 15 8C15 8.55228 15.4477 9 16 9Z" fill="#110529"></path><path d="M8 17C8.55228 17 9 16.5523 9 16C9 15.4477 8.55228 15 8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17Z" fill="#110529"></path><path d="M20 11C20 11.5523 19.5523 12 19 12C18.4477 12 18 11.5523 18 11C18 10.4477 18.4477 10 19 10C19.5523 10 20 10.4477 20 11Z" fill="#110529"></path><path d="M15 12C15.5523 12 16 11.5523 16 11C16 10.4477 15.5523 10 15 10C14.4477 10 14 10.4477 14 11C14 11.5523 14.4477 12 15 12Z" fill="#110529"></path><path d="M10 13C10 13.5523 9.55228 14 9 14C8.44772 14 8 13.5523 8 13C8 12.4477 8.44772 12 9 12C9.55228 12 10 12.4477 10 13Z" fill="#110529"></path><path d="M11 16C11.5523 16 12 15.5523 12 15C12 14.4477 11.5523 14 11 14C10.4477 14 10 14.4477 10 15C10 15.5523 10.4477 16 11 16Z" fill="#110529"></path><path d="M14 9C14 9.55228 13.5523 10 13 10C12.4477 10 12 9.55228 12 9C12 8.44772 12.4477 8 13 8C13.5523 8 14 8.44772 14 9Z" fill="#110529"></path><path d="M13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12Z" fill="#110529"></path>',19)]))}const foe=zr(coe,[["render",hoe]]),poe={},Aoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function goe(e,t){return A.openBlock(),A.createElementBlock("svg",Aoe,t[0]||(t[0]=[A.createStaticVNode('<path d="M10 20.5C10 20.7761 10.2239 21 10.5 21H13.5C13.7761 21 14 20.7761 14 20.5V19.3333V18.3333V18V17.5C14 17.2239 13.7761 17 13.5 17H10.5C10.2239 17 10 17.2239 10 17.5V18V18.3333V19.3333V20.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M10 13.5C10 13.7761 10.2239 14 10.5 14H13.5C13.7761 14 14 13.7761 14 13.5V12.3333V11.3333V11V10.5C14 10.2239 13.7761 10 13.5 10H10.5C10.2239 10 10 10.2239 10 10.5V11V11.3333V12.3333V13.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M17 13.5C17 13.7761 17.2239 14 17.5 14H20.5C20.7761 14 21 13.7761 21 13.5V12.3333V11.3333V11V10.5C21 10.2239 20.7761 10 20.5 10H17.5C17.2239 10 17 10.2239 17 10.5V11V11.3333V12.3333V13.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M17 20.5C17 20.7761 17.2239 21 17.5 21H20.5C20.7761 21 21 20.7761 21 20.5V19.3333V18.3333V18V17.5C21 17.2239 20.7761 17 20.5 17H17.5C17.2239 17 17 17.2239 17 17.5V18V18.3333V19.3333V20.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M10 6.5C10 6.77614 10.2239 7 10.5 7H13.5C13.7761 7 14 6.77614 14 6.5V5.33333V4.33333V4V3.5C14 3.22386 13.7761 3 13.5 3H10.5C10.2239 3 10 3.22386 10 3.5V4V4.33333V5.33333V6.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M3 20.5C3 20.7761 3.22386 21 3.5 21H6.5C6.77614 21 7 20.7761 7 20.5V19.3333V18.3333V18V17.5C7 17.2239 6.77614 17 6.5 17H3.5C3.22386 17 3 17.2239 3 17.5V18V18.3333V19.3333V20.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M3 13.5C3 13.7761 3.22386 14 3.5 14H6.5C6.77614 14 7 13.7761 7 13.5V12.3333V11.3333V11V10.5C7 10.2239 6.77614 10 6.5 10H3.5C3.22386 10 3 10.2239 3 10.5V11V11.3333V12.3333V13.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 6.5C17 6.77614 17.2239 7 17.5 7H20.5C20.7761 7 21 6.77614 21 6.5V5.33333V4.33333V4V3.5C21 3.22386 20.7761 3 20.5 3H17.5C17.2239 3 17 3.22386 17 3.5V4V4.33333V5.33333V6.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M3 6.5C3 6.77614 3.22386 7 3.5 7H6.5C6.77614 7 7 6.77614 7 6.5V5.33333V4.33333V4V3.5C7 3.22386 6.77614 3 6.5 3H3.5C3.22386 3 3 3.22386 3 3.5V4V4.33333V5.33333V6.5Z" stroke="#110529" stroke-width="1.5"></path>',9)]))}const voe=zr(poe,[["render",goe]]),hC=[{name:"Light green",color:"#99E099"},{name:"Green",color:"#42B842"},{name:"Dark green",color:"#198020"},{name:"Light violet",color:"#C1ADFF"},{name:"Violet",color:"#845CFF"},{name:"Dark violet",color:"#5F31CC"},{name:"Light orange",color:"#FFCB8F"},{name:"Orange",color:"#FF9429"},{name:"Dark orange",color:"#C26A27"},{name:"Light teal",color:"#90E0E0"},{name:"Teal",color:"#27C2C2"},{name:"Dark teal",color:"#068A94"},{name:"Light rose",color:"#FAAAFA"},{name:"Rose",color:"#E553E5"},{name:"Dark rose",color:"#A324B2"},{name:"Light lime",color:"#CBEB67"},{name:"Lime",color:"#95C700"},{name:"Dark lime",color:"#659406"},{name:"Light blue",color:"#99CCFF"},{name:"Blue",color:"#2D93FA"},{name:"Dark blue",color:"#105BCC"},{name:"Light red",color:"#FFADBA"},{name:"Red",color:"#F05670"},{name:"Dark red",color:"#AD3757"},{name:"Light grey",color:"#D3D7E0"},{name:"Grey",color:"#929BAD"},{name:"Dark grey",color:"#5E5E70"},{name:"Black",color:"#110529"},{name:"White",color:"#FFFFFF"},{name:"None",color:"transparent"}],e2="#FFFFFF",Bl="#110529";hC.reduce((e,t)=>(e[t.color]=t,e),{});const t2=hC.slice(0,-3).map(e=>e.color),moe=t2.filter((e,t)=>t%3===0),yoe=t2.filter((e,t)=>t%3===1),Coe=t2.filter((e,t)=>t%3===2),woe=t2.filter((e,t)=>t%3!==2),Soe=t2,boe=["#FFF680","#53D788","#36739D","#4A005C"],Eoe=["#FFF680","#F77E5B","#902B83","#2B125C"],xoe=["#DFFADC","#74CFD1","#635AC1","#611347"],Roe=["#FAFAB4","#8DDA7F","#337E90","#1C0F5C"],Boe=["#FFEA80","#F07A76","#7535A4","#003752"],Toe=["#FFF780","#6CEA90","#6C90F0","#942AAE"],Poe=["#43317B","#7ACFAC","#F5F5B7","#F07B75","#5C1243"],Doe=["#122B5C","#41B5A8","#F0F0F0","#F07C80","#5C1243"],Foe=["#0E0E8F","#7E93FB","#F0F0F0","#ED7883","#5C1243"],koe=["#2E5C00","#9ED26A","#F0F0F0","#EB8BDB","#701260"],Moe=["#4A005C","#36749D","#56D688","#FFF680","#F77E5E","#902B82","#2B125C"],WL=["light","bright","dark","paired","triadic"],Ioe=["viridis","magma","density","salinity","sunset","perceptual_rainbow"],Hoe=["spectrum","teal_red","blue_red","lime_rose","viridis_magma"];function GB(e){return WL.includes(e)}const Ac={...{light:{title:"Light",colors:moe},bright:{title:"Bright",colors:yoe},dark:{title:"Dark",colors:Coe},paired:{title:"Paired",colors:woe},triadic:{title:"Triadic",colors:Soe}},...{viridis:{title:"Viridis",colors:boe},magma:{title:"Magma",colors:Eoe},density:{title:"Density",colors:xoe},salinity:{title:"Salinity",colors:Roe},sunset:{title:"Sunset",colors:Boe},perceptual_rainbow:{title:"Rainbow",colors:Toe}},...{spectrum:{title:"Spectrum",colors:Poe},teal_red:{title:"Teal-Red",colors:Doe},blue_red:{title:"Blue-Red",colors:Foe},lime_rose:{title:"Lime-Rose",colors:koe},viridis_magma:{title:"Vir-Mag",colors:Moe}}},Loe="salinity",n2=["0","5","1","2","6","7","9","3","4","8","12","10","13","14","11","22","23","21","24","25"],jL="#F0F0F0",lv="21",r2=["solid","dashed","dotted","dotdash","longdash","twodash"],z7="solid",_oe={solid:{title:"Solid"},dashed:{title:"Dashed"},dotted:{title:"Dotted"},dotdash:{title:"Dotdash"},longdash:{title:"Longdash"},twodash:{title:"Twodash"}};function fC(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ooe(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function $B(e){let t,n,r;e.length!==2?(t=fC,n=(a,u)=>fC(e(a),u),r=(a,u)=>e(a)-u):(t=e===fC||e===Ooe?e:Noe,n=e,r=e);function i(a,u,d=0,h=a.length){if(d<h){if(t(u,u)!==0)return h;do{const p=d+h>>>1;n(a[p],u)<0?d=p+1:h=p}while(d<h)}return d}function o(a,u,d=0,h=a.length){if(d<h){if(t(u,u)!==0)return h;do{const p=d+h>>>1;n(a[p],u)<=0?d=p+1:h=p}while(d<h)}return d}function s(a,u,d=0,h=a.length){const p=i(a,u,d,h-1);return p>d&&r(a[p-1],u)>-r(a[p],u)?p-1:p}return{left:i,center:s,right:o}}function Noe(){return 0}function YL(e){return e===null?NaN:+e}function*Voe(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Goe=$B(fC).right;$B(YL).center;function i2(e,t){let n,r;if(t===void 0)for(const i of e)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(n===void 0?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}class KL extends Map{constructor(t,n=Qoe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(XL(this,t))}has(t){return super.has(XL(this,t))}set(t,n){return super.set($oe(this,t),n)}delete(t){return super.delete(zoe(this,t))}}function XL({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function $oe({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function zoe({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Qoe(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Uoe(e=fC){if(e===fC)return ZL;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function ZL(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Woe=Math.sqrt(50),joe=Math.sqrt(10),Yoe=Math.sqrt(2);function Q7(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Woe?10:o>=joe?5:o>=Yoe?2:1;let a,u,d;return i<0?(d=Math.pow(10,-i)/s,a=Math.round(e*d),u=Math.round(t*d),a/d<e&&++a,u/d>t&&--u,d=-d):(d=Math.pow(10,i)*s,a=Math.round(e/d),u=Math.round(t/d),a*d<e&&++a,u*d>t&&--u),u<a&&.5<=n&&n<2?Q7(e,t,n*2):[a,u,d]}function zB(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,o,s]=r?Q7(t,e,n):Q7(e,t,n);if(!(o>=i))return[];const a=o-i+1,u=new Array(a);if(r)if(s<0)for(let d=0;d<a;++d)u[d]=(o-d)/-s;else for(let d=0;d<a;++d)u[d]=(o-d)*s;else if(s<0)for(let d=0;d<a;++d)u[d]=(i+d)/-s;else for(let d=0;d<a;++d)u[d]=(i+d)*s;return u}function QB(e,t,n){return t=+t,e=+e,n=+n,Q7(e,t,n)[2]}function UB(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?QB(t,e,n):QB(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function A1(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function U7(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function JL(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?ZL:Uoe(i);r>n;){if(r-n>600){const u=r-n+1,d=t-n+1,h=Math.log(u),p=.5*Math.exp(2*h/3),g=.5*Math.sqrt(h*p*(u-p)/u)*(d-u/2<0?-1:1),C=Math.max(n,Math.floor(t-d*p/u+g)),S=Math.min(r,Math.floor(t+(u-d)*p/u+g));JL(e,t,C,S,i)}const o=e[t];let s=n,a=r;for(o2(e,n,t),i(e[r],o)>0&&o2(e,n,r);s<a;){for(o2(e,s,a),++s,--a;i(e[s],o)<0;)++s;for(;i(e[a],o)>0;)--a}i(e[n],o)===0?o2(e,n,a):(++a,o2(e,a,r)),a<=t&&(n=a+1),t<=a&&(r=a-1)}return e}function o2(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function qL(e,t,n){if(e=Float64Array.from(Voe(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return U7(e);if(t>=1)return A1(e);var r,i=(r-1)*t,o=Math.floor(i),s=A1(JL(e,o).subarray(0,o+1)),a=U7(e.subarray(o+1));return s+(a-s)*(i-o)}}function ZA(e,t,n=YL){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),s=+n(e[o],o,e),a=+n(e[o+1],o+1,e);return s+(a-s)*(i-o)}}function Xc(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function Koe(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r<i;)o[r]=e+r*n;return o}function Zc(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}function pC(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const e_=Symbol("implicit");function ju(){var e=new KL,t=[],n=[],r=e_;function i(o){let s=e.get(o);if(s===void 0){if(r!==e_)return r;e.set(o,s=t.push(o)-1)}return n[s%n.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new KL;for(const s of o)e.has(s)||e.set(s,t.push(s)-1);return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return ju(t,n).unknown(r)},pC.apply(i,arguments),i}function s2(){var e=ju().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,o,s,a=!1,u=0,d=0,h=.5;delete e.unknown;function p(){var g=t().length,C=i<r,S=C?i:r,E=C?r:i;o=(E-S)/Math.max(1,g-u+d*2),a&&(o=Math.floor(o)),S+=(E-S-o*(g-u))*h,s=o*(1-u),a&&(S=Math.round(S),s=Math.round(s));var B=Koe(g).map(function(P){return S+o*P});return n(C?B.reverse():B)}return e.domain=function(g){return arguments.length?(t(g),p()):t()},e.range=function(g){return arguments.length?([r,i]=g,r=+r,i=+i,p()):[r,i]},e.rangeRound=function(g){return[r,i]=g,r=+r,i=+i,a=!0,p()},e.bandwidth=function(){return s},e.step=function(){return o},e.round=function(g){return arguments.length?(a=!!g,p()):a},e.padding=function(g){return arguments.length?(u=Math.min(1,d=+g),p()):u},e.paddingInner=function(g){return arguments.length?(u=Math.min(1,g),p()):u},e.paddingOuter=function(g){return arguments.length?(d=+g,p()):d},e.align=function(g){return arguments.length?(h=Math.max(0,Math.min(1,g)),p()):h},e.copy=function(){return s2(t(),[r,i]).round(a).paddingInner(u).paddingOuter(d).align(h)},pC.apply(p(),arguments)}function WB(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function t_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function a2(){}var l2=.7,W7=1/l2,AC="\\s*([+-]?\\d+)\\s*",u2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",JA="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xoe=/^#([0-9a-f]{3,8})$/,Zoe=new RegExp(`^rgb\\(${AC},${AC},${AC}\\)$`),Joe=new RegExp(`^rgb\\(${JA},${JA},${JA}\\)$`),qoe=new RegExp(`^rgba\\(${AC},${AC},${AC},${u2}\\)$`),ese=new RegExp(`^rgba\\(${JA},${JA},${JA},${u2}\\)$`),tse=new RegExp(`^hsl\\(${u2},${JA},${JA}\\)$`),nse=new RegExp(`^hsla\\(${u2},${JA},${JA},${u2}\\)$`),n_={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};WB(a2,g1,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:r_,formatHex:r_,formatHex8:rse,formatHsl:ise,formatRgb:i_,toString:i_});function r_(){return this.rgb().formatHex()}function rse(){return this.rgb().formatHex8()}function ise(){return u_(this).formatHsl()}function i_(){return this.rgb().formatRgb()}function g1(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Xoe.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?o_(t):n===3?new Sh(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?j7(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?j7(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Zoe.exec(e))?new Sh(t[1],t[2],t[3],1):(t=Joe.exec(e))?new Sh(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=qoe.exec(e))?j7(t[1],t[2],t[3],t[4]):(t=ese.exec(e))?j7(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=tse.exec(e))?l_(t[1],t[2]/100,t[3]/100,1):(t=nse.exec(e))?l_(t[1],t[2]/100,t[3]/100,t[4]):n_.hasOwnProperty(e)?o_(n_[e]):e==="transparent"?new Sh(NaN,NaN,NaN,0):null}function o_(e){return new Sh(e>>16&255,e>>8&255,e&255,1)}function j7(e,t,n,r){return r<=0&&(e=t=n=NaN),new Sh(e,t,n,r)}function ose(e){return e instanceof a2||(e=g1(e)),e?(e=e.rgb(),new Sh(e.r,e.g,e.b,e.opacity)):new Sh}function c2(e,t,n,r){return arguments.length===1?ose(e):new Sh(e,t,n,r??1)}function Sh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}WB(Sh,c2,t_(a2,{brighter(e){return e=e==null?W7:Math.pow(W7,e),new Sh(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?l2:Math.pow(l2,e),new Sh(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Sh(v1(this.r),v1(this.g),v1(this.b),Y7(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:s_,formatHex:s_,formatHex8:sse,formatRgb:a_,toString:a_}));function s_(){return`#${m1(this.r)}${m1(this.g)}${m1(this.b)}`}function sse(){return`#${m1(this.r)}${m1(this.g)}${m1(this.b)}${m1((isNaN(this.opacity)?1:this.opacity)*255)}`}function a_(){const e=Y7(this.opacity);return`${e===1?"rgb(":"rgba("}${v1(this.r)}, ${v1(this.g)}, ${v1(this.b)}${e===1?")":`, ${e})`}`}function Y7(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function v1(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function m1(e){return e=v1(e),(e<16?"0":"")+e.toString(16)}function l_(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new qp(e,t,n,r)}function u_(e){if(e instanceof qp)return new qp(e.h,e.s,e.l,e.opacity);if(e instanceof a2||(e=g1(e)),!e)return new qp;if(e instanceof qp)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,u=(o+i)/2;return a?(t===o?s=(n-r)/a+(n<r)*6:n===o?s=(r-t)/a+2:s=(t-n)/a+4,a/=u<.5?o+i:2-o-i,s*=60):a=u>0&&u<1?0:s,new qp(s,a,u,e.opacity)}function ase(e,t,n,r){return arguments.length===1?u_(e):new qp(e,t,n,r??1)}function qp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}WB(qp,ase,t_(a2,{brighter(e){return e=e==null?W7:Math.pow(W7,e),new qp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?l2:Math.pow(l2,e),new qp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Sh(jB(e>=240?e-240:e+120,i,r),jB(e,i,r),jB(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new qp(c_(this.h),K7(this.s),K7(this.l),Y7(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 e=Y7(this.opacity);return`${e===1?"hsl(":"hsla("}${c_(this.h)}, ${K7(this.s)*100}%, ${K7(this.l)*100}%${e===1?")":`, ${e})`}`}}));function c_(e){return e=(e||0)%360,e<0?e+360:e}function K7(e){return Math.max(0,Math.min(1,e||0))}function jB(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const YB=e=>()=>e;function lse(e,t){return function(n){return e+n*t}}function use(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function cse(e){return(e=+e)==1?d_:function(t,n){return n-t?use(t,n,e):YB(isNaN(t)?n:t)}}function d_(e,t){var n=t-e;return n?lse(e,n):YB(isNaN(e)?t:e)}const X7=function e(t){var n=cse(t);function r(i,o){var s=n((i=c2(i)).r,(o=c2(o)).r),a=n(i.g,o.g),u=n(i.b,o.b),d=d_(i.opacity,o.opacity);return function(h){return i.r=s(h),i.g=a(h),i.b=u(h),i.opacity=d(h),i+""}}return r.gamma=e,r}(1);function dse(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;i<n;++i)r[i]=e[i]*(1-o)+t[i]*o;return r}}function hse(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function fse(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),o=new Array(n),s;for(s=0;s<r;++s)i[s]=ZB(e[s],t[s]);for(;s<n;++s)o[s]=t[s];return function(a){for(s=0;s<r;++s)o[s]=i[s](a);return o}}function pse(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function eA(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ase(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=ZB(e[i],t[i]):r[i]=t[i];return function(o){for(i in n)r[i]=n[i](o);return r}}var KB=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,XB=new RegExp(KB.source,"g");function gse(e){return function(){return e}}function vse(e){return function(t){return e(t)+""}}function h_(e,t){var n=KB.lastIndex=XB.lastIndex=0,r,i,o,s=-1,a=[],u=[];for(e=e+"",t=t+"";(r=KB.exec(e))&&(i=XB.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),a[s]?a[s]+=o:a[++s]=o),(r=r[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,u.push({i:s,x:eA(r,i)})),n=XB.lastIndex;return n<t.length&&(o=t.slice(n),a[s]?a[s]+=o:a[++s]=o),a.length<2?u[0]?vse(u[0].x):gse(t):(t=u.length,function(d){for(var h=0,p;h<t;++h)a[(p=u[h]).i]=p.x(d);return a.join("")})}function ZB(e,t){var n=typeof t,r;return t==null||n==="boolean"?YB(t):(n==="number"?eA:n==="string"?(r=g1(t))?(t=r,X7):h_:t instanceof g1?X7:t instanceof Date?pse:hse(t)?dse:Array.isArray(t)?fse:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?Ase:eA)(e,t)}function mse(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var f_=180/Math.PI,JB={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function p_(e,t,n,r,i,o){var s,a,u;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(u=e*n+t*r)&&(n-=e*u,r-=t*u),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,u/=a),e*r<t*n&&(e=-e,t=-t,u=-u,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*f_,skewX:Math.atan(u)*f_,scaleX:s,scaleY:a}}var Z7;function yse(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?JB:p_(t.a,t.b,t.c,t.d,t.e,t.f)}function Cse(e){return e==null||(Z7||(Z7=document.createElementNS("http://www.w3.org/2000/svg","g")),Z7.setAttribute("transform",e),!(e=Z7.transform.baseVal.consolidate()))?JB:(e=e.matrix,p_(e.a,e.b,e.c,e.d,e.e,e.f))}function A_(e,t,n,r){function i(d){return d.length?d.pop()+" ":""}function o(d,h,p,g,C,S){if(d!==p||h!==g){var E=C.push("translate(",null,t,null,n);S.push({i:E-4,x:eA(d,p)},{i:E-2,x:eA(h,g)})}else(p||g)&&C.push("translate("+p+t+g+n)}function s(d,h,p,g){d!==h?(d-h>180?h+=360:h-d>180&&(d+=360),g.push({i:p.push(i(p)+"rotate(",null,r)-2,x:eA(d,h)})):h&&p.push(i(p)+"rotate("+h+r)}function a(d,h,p,g){d!==h?g.push({i:p.push(i(p)+"skewX(",null,r)-2,x:eA(d,h)}):h&&p.push(i(p)+"skewX("+h+r)}function u(d,h,p,g,C,S){if(d!==p||h!==g){var E=C.push(i(C)+"scale(",null,",",null,")");S.push({i:E-4,x:eA(d,p)},{i:E-2,x:eA(h,g)})}else(p!==1||g!==1)&&C.push(i(C)+"scale("+p+","+g+")")}return function(d,h){var p=[],g=[];return d=e(d),h=e(h),o(d.translateX,d.translateY,h.translateX,h.translateY,p,g),s(d.rotate,h.rotate,p,g),a(d.skewX,h.skewX,p,g),u(d.scaleX,d.scaleY,h.scaleX,h.scaleY,p,g),d=h=null,function(C){for(var S=-1,E=g.length,B;++S<E;)p[(B=g[S]).i]=B.x(C);return p.join("")}}}var wse=A_(yse,"px, ","px)","deg)"),Sse=A_(Cse,", ",")",")"),bse=1e-12;function g_(e){return((e=Math.exp(e))+1/e)/2}function Ese(e){return((e=Math.exp(e))-1/e)/2}function xse(e){return((e=Math.exp(2*e))-1)/(e+1)}const Rse=function e(t,n,r){function i(o,s){var a=o[0],u=o[1],d=o[2],h=s[0],p=s[1],g=s[2],C=h-a,S=p-u,E=C*C+S*S,B,P;if(E<bse)P=Math.log(g/d)/t,B=function(L){return[a+L*C,u+L*S,d*Math.exp(t*L*P)]};else{var F=Math.sqrt(E),k=(g*g-d*d+r*E)/(2*d*n*F),$=(g*g-d*d-r*E)/(2*g*n*F),V=Math.log(Math.sqrt(k*k+1)-k),O=Math.log(Math.sqrt($*$+1)-$);P=(O-V)/t,B=function(L){var z=L*P,W=g_(V),Z=d/(n*F)*(W*xse(t*z+V)-Ese(V));return[a+Z*C,u+Z*S,d*W/g_(t*z+V)]}}return B.duration=P*1e3*t/Math.SQRT2,B}return i.rho=function(o){var s=Math.max(.001,+o),a=s*s,u=a*a;return e(s,a,u)},i}(Math.SQRT2,2,4);function Bse(e){return function(){return e}}function qB(e){return+e}var v_=[0,1];function qA(e){return e}function eT(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Bse(isNaN(t)?NaN:.5)}function Tse(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Pse(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=eT(i,r),o=n(s,o)):(r=eT(r,i),o=n(o,s)),function(a){return o(r(a))}}function Dse(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=eT(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(a){var u=Goe(e,a,1,r)-1;return o[u](i[u](a))}}function J7(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function tT(){var e=v_,t=v_,n=ZB,r,i,o,s=qA,a,u,d;function h(){var g=Math.min(e.length,t.length);return s!==qA&&(s=Tse(e[0],e[g-1])),a=g>2?Dse:Pse,u=d=null,p}function p(g){return g==null||isNaN(g=+g)?o:(u||(u=a(e.map(r),t,n)))(r(s(g)))}return p.invert=function(g){return s(i((d||(d=a(t,e.map(r),eA)))(g)))},p.domain=function(g){return arguments.length?(e=Array.from(g,qB),h()):e.slice()},p.range=function(g){return arguments.length?(t=Array.from(g),h()):t.slice()},p.rangeRound=function(g){return t=Array.from(g),n=mse,h()},p.clamp=function(g){return arguments.length?(s=g?!0:qA,h()):s!==qA},p.interpolate=function(g){return arguments.length?(n=g,h()):n},p.unknown=function(g){return arguments.length?(o=g,p):o},function(g,C){return r=g,i=C,h()}}function m_(){return tT()(qA,qA)}function Fse(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function q7(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function gC(e){return e=q7(Math.abs(e)),e?e[1]:NaN}function kse(e,t){return function(n,r){for(var i=n.length,o=[],s=0,a=e[0],u=0;i>0&&a>0&&(u+a+1>r&&(a=Math.max(1,r-u)),o.push(n.substring(i-=a,i+a)),!((u+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(t)}}function Mse(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Ise=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function d2(e){if(!(t=Ise.exec(e)))throw new Error("invalid format: "+e);var t;return new nT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}d2.prototype=nT.prototype;function nT(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}nT.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 Hse(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var y_;function Lse(e,t){var n=q7(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(y_=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+q7(e,Math.max(0,t+o-1))[0]}function C_(e,t){var n=q7(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const w_={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Fse,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>C_(e*100,t),r:C_,s:Lse,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function S_(e){return e}var b_=Array.prototype.map,E_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _se(e){var t=e.grouping===void 0||e.thousands===void 0?S_:kse(b_.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?S_:Mse(b_.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",a=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function d(p){p=d2(p);var g=p.fill,C=p.align,S=p.sign,E=p.symbol,B=p.zero,P=p.width,F=p.comma,k=p.precision,$=p.trim,V=p.type;V==="n"?(F=!0,V="g"):w_[V]||(k===void 0&&(k=12),$=!0,V="g"),(B||g==="0"&&C==="=")&&(B=!0,g="0",C="=");var O=E==="$"?n:E==="#"&&/[boxX]/.test(V)?"0"+V.toLowerCase():"",L=E==="$"?r:/[%p]/.test(V)?s:"",z=w_[V],W=/[defgprs%]/.test(V);k=k===void 0?6:/[gprs]/.test(V)?Math.max(1,Math.min(21,k)):Math.max(0,Math.min(20,k));function Z(ee){var Y=O,ne=L,ie,le,ae;if(V==="c")ne=z(ee)+ne,ee="";else{ee=+ee;var De=ee<0||1/ee<0;if(ee=isNaN(ee)?u:z(Math.abs(ee),k),$&&(ee=Hse(ee)),De&&+ee==0&&S!=="+"&&(De=!1),Y=(De?S==="("?S:a:S==="-"||S==="("?"":S)+Y,ne=(V==="s"?E_[8+y_/3]:"")+ne+(De&&S==="("?")":""),W){for(ie=-1,le=ee.length;++ie<le;)if(ae=ee.charCodeAt(ie),48>ae||ae>57){ne=(ae===46?i+ee.slice(ie+1):ee.slice(ie))+ne,ee=ee.slice(0,ie);break}}}F&&!B&&(ee=t(ee,1/0));var de=Y.length+ee.length+ne.length,be=de<P?new Array(P-de+1).join(g):"";switch(F&&B&&(ee=t(be+ee,be.length?P-ne.length:1/0),be=""),C){case"<":ee=Y+ee+ne+be;break;case"=":ee=Y+be+ee+ne;break;case"^":ee=be.slice(0,de=be.length>>1)+Y+ee+ne+be.slice(de);break;default:ee=be+Y+ee+ne;break}return o(ee)}return Z.toString=function(){return p+""},Z}function h(p,g){var C=d((p=d2(p),p.type="f",p)),S=Math.max(-8,Math.min(8,Math.floor(gC(g)/3)))*3,E=Math.pow(10,-S),B=E_[8+S/3];return function(P){return C(E*P)+B}}return{format:d,formatPrefix:h}}var e5,h2,x_;Ose({thousands:",",grouping:[3],currency:["$",""]});function Ose(e){return e5=_se(e),h2=e5.format,x_=e5.formatPrefix,e5}function Nse(e){return Math.max(0,-gC(Math.abs(e)))}function Vse(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(gC(t)/3)))*3-gC(Math.abs(e)))}function Gse(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,gC(t)-gC(e))+1}function $se(e,t,n,r){var i=UB(e,t,n),o;switch(r=d2(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Vse(i,s))&&(r.precision=o),x_(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Gse(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Nse(i))&&(r.precision=o-(r.type==="%")*2);break}}return h2(r)}function rT(e){var t=e.domain;return e.ticks=function(n){var r=t();return zB(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return $se(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],a=r[o],u,d,h=10;for(a<s&&(d=s,s=a,a=d,d=i,i=o,o=d);h-- >0;){if(d=QB(s,a,n),d===u)return r[i]=s,r[o]=a,t(r);if(d>0)s=Math.floor(s/d)*d,a=Math.ceil(a/d)*d;else if(d<0)s=Math.ceil(s*d)/d,a=Math.floor(a*d)/d;else break;u=d}return e},e}function Bo(){var e=m_();return e.copy=function(){return J7(e,Bo())},pC.apply(e,arguments),rT(e)}function Rm(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,qB),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return Rm(e).unknown(t)},e=arguments.length?Array.from(e,qB):[0,1],rT(n)}function R_(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o<i&&(s=n,n=r,r=s,s=i,i=o,o=s),e[n]=t.floor(i),e[r]=t.ceil(o),e}function B_(e){return Math.log(e)}function T_(e){return Math.exp(e)}function zse(e){return-Math.log(-e)}function Qse(e){return-Math.exp(-e)}function Use(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Wse(e){return e===10?Use:e===Math.E?Math.exp:t=>Math.pow(e,t)}function jse(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function P_(e){return(t,n)=>-e(-t,n)}function Yse(e){const t=e(B_,T_),n=t.domain;let r=10,i,o;function s(){return i=jse(r),o=Wse(r),n()[0]<0?(i=P_(i),o=P_(o),e(zse,Qse)):e(B_,T_),t}return t.base=function(a){return arguments.length?(r=+a,s()):r},t.domain=function(a){return arguments.length?(n(a),s()):n()},t.ticks=a=>{const u=n();let d=u[0],h=u[u.length-1];const p=h<d;p&&([d,h]=[h,d]);let g=i(d),C=i(h),S,E;const B=a==null?10:+a;let P=[];if(!(r%1)&&C-g<B){if(g=Math.floor(g),C=Math.ceil(C),d>0){for(;g<=C;++g)for(S=1;S<r;++S)if(E=g<0?S/o(-g):S*o(g),!(E<d)){if(E>h)break;P.push(E)}}else for(;g<=C;++g)for(S=r-1;S>=1;--S)if(E=g>0?S/o(-g):S*o(g),!(E<d)){if(E>h)break;P.push(E)}P.length*2<B&&(P=zB(d,h,B))}else P=zB(g,C,Math.min(C-g,B)).map(o);return p?P.reverse():P},t.tickFormat=(a,u)=>{if(a==null&&(a=10),u==null&&(u=r===10?"s":","),typeof u!="function"&&(!(r%1)&&(u=d2(u)).precision==null&&(u.trim=!0),u=h2(u)),a===1/0)return u;const d=Math.max(1,r*a/t.ticks().length);return h=>{let p=h/o(Math.round(i(h)));return p*r<r-.5&&(p*=r),p<=d?u(h):""}},t.nice=()=>n(R_(n(),{floor:a=>o(Math.floor(i(a))),ceil:a=>o(Math.ceil(i(a)))})),t}function y1(){const e=Yse(tT()).domain([1,10]);return e.copy=()=>J7(e,y1()).base(e.base()),pC.apply(e,arguments),e}function D_(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Kse(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Xse(e){return e<0?-e*e:e*e}function Zse(e){var t=e(qA,qA),n=1;function r(){return n===1?e(qA,qA):n===.5?e(Kse,Xse):e(D_(n),D_(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},rT(t)}function F_(){var e=Zse(tT());return e.copy=function(){return J7(e,F_()).exponent(e.exponent())},pC.apply(e,arguments),e}const iT=new Date,oT=new Date;function vu(e,t,n,r){function i(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),a=i.ceil(o);return o-s<a-o?s:a},i.offset=(o,s)=>(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,a)=>{const u=[];if(o=i.ceil(o),a=a==null?1:Math.floor(a),!(o<s)||!(a>0))return u;let d;do u.push(d=new Date(+o)),t(o,a),e(o);while(d<o&&o<s);return u},i.filter=o=>vu(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;t(s,-1),!o(s););else for(;--a>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(iT.setTime(+o),oT.setTime(+s),e(iT),e(oT),Math.floor(n(iT,oT))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const t5=vu(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);t5.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?vu(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):t5),t5.range;const uv=1e3,qf=uv*60,cv=qf*60,dv=cv*24,sT=dv*7,k_=dv*30,aT=dv*365,vC=vu(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*uv)},(e,t)=>(t-e)/uv,e=>e.getUTCSeconds());vC.range;const lT=vu(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*uv)},(e,t)=>{e.setTime(+e+t*qf)},(e,t)=>(t-e)/qf,e=>e.getMinutes());lT.range,vu(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*qf)},(e,t)=>(t-e)/qf,e=>e.getUTCMinutes()).range;const uT=vu(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*uv-e.getMinutes()*qf)},(e,t)=>{e.setTime(+e+t*cv)},(e,t)=>(t-e)/cv,e=>e.getHours());uT.range,vu(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*cv)},(e,t)=>(t-e)/cv,e=>e.getUTCHours()).range;const f2=vu(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*qf)/dv,e=>e.getDate()-1);f2.range;const cT=vu(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/dv,e=>e.getUTCDate()-1);cT.range,vu(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/dv,e=>Math.floor(e/dv)).range;function C1(e){return vu(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*qf)/sT)}const n5=C1(0),r5=C1(1),Jse=C1(2),qse=C1(3),mC=C1(4),eae=C1(5),tae=C1(6);n5.range,r5.range,Jse.range,qse.range,mC.range,eae.range,tae.range;function w1(e){return vu(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/sT)}const M_=w1(0),i5=w1(1),nae=w1(2),rae=w1(3),yC=w1(4),iae=w1(5),oae=w1(6);M_.range,i5.range,nae.range,rae.range,yC.range,iae.range,oae.range;const dT=vu(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());dT.range,vu(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()).range;const hv=vu(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());hv.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vu(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),hv.range;const S1=vu(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());S1.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vu(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),S1.range;function sae(e,t,n,r,i,o){const s=[[vC,1,uv],[vC,5,5*uv],[vC,15,15*uv],[vC,30,30*uv],[o,1,qf],[o,5,5*qf],[o,15,15*qf],[o,30,30*qf],[i,1,cv],[i,3,3*cv],[i,6,6*cv],[i,12,12*cv],[r,1,dv],[r,2,2*dv],[n,1,sT],[t,1,k_],[t,3,3*k_],[e,1,aT]];function a(d,h,p){const g=h<d;g&&([d,h]=[h,d]);const C=p&&typeof p.range=="function"?p:u(d,h,p),S=C?C.range(d,+h+1):[];return g?S.reverse():S}function u(d,h,p){const g=Math.abs(h-d)/p,C=$B(([,,B])=>B).right(s,g);if(C===s.length)return e.every(UB(d/aT,h/aT,p));if(C===0)return t5.every(Math.max(UB(d,h,p),1));const[S,E]=s[g/s[C-1][2]<s[C][2]/g?C-1:C];return S.every(E)}return[a,u]}const[aae,lae]=sae(hv,dT,n5,f2,uT,lT);function hT(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function fT(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function p2(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function uae(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,u=e.shortMonths,d=A2(i),h=g2(i),p=A2(o),g=g2(o),C=A2(s),S=g2(s),E=A2(a),B=g2(a),P=A2(u),F=g2(u),k={a:De,A:de,b:be,B:me,c:null,d:N_,e:N_,f:kae,g:$ae,G:Qae,H:Pae,I:Dae,j:Fae,L:V_,m:Mae,M:Iae,p:fe,q:xe,Q:W_,s:j_,S:Hae,u:Lae,U:_ae,V:Oae,w:Nae,W:Vae,x:null,X:null,y:Gae,Y:zae,Z:Uae,"%":U_},$={a:We,A:Ve,b:Ne,B:je,c:null,d:$_,e:$_,f:Kae,g:ole,G:ale,H:Wae,I:jae,j:Yae,L:z_,m:Xae,M:Zae,p:Ye,q:pt,Q:W_,s:j_,S:Jae,u:qae,U:ele,V:tle,w:nle,W:rle,x:null,X:null,y:ile,Y:sle,Z:lle,"%":U_},V={a:Z,A:ee,b:Y,B:ne,c:ie,d:__,e:__,f:xae,g:L_,G:H_,H:O_,I:O_,j:wae,L:Eae,m:Cae,M:Sae,p:W,q:yae,Q:Bae,s:Tae,S:bae,u:pae,U:Aae,V:gae,w:fae,W:vae,x:le,X:ae,y:L_,Y:H_,Z:mae,"%":Rae};k.x=O(n,k),k.X=O(r,k),k.c=O(t,k),$.x=O(n,$),$.X=O(r,$),$.c=O(t,$);function O(Ge,nt){return function(ut){var rt=[],Ct=-1,wt=0,qt=Ge.length,gr,vr,Hi;for(ut instanceof Date||(ut=new Date(+ut));++Ct<qt;)Ge.charCodeAt(Ct)===37&&(rt.push(Ge.slice(wt,Ct)),(vr=I_[gr=Ge.charAt(++Ct)])!=null?gr=Ge.charAt(++Ct):vr=gr==="e"?" ":"0",(Hi=nt[gr])&&(gr=Hi(ut,vr)),rt.push(gr),wt=Ct+1);return rt.push(Ge.slice(wt,Ct)),rt.join("")}}function L(Ge,nt){return function(ut){var rt=p2(1900,void 0,1),Ct=z(rt,Ge,ut+="",0),wt,qt;if(Ct!=ut.length)return null;if("Q"in rt)return new Date(rt.Q);if("s"in rt)return new Date(rt.s*1e3+("L"in rt?rt.L:0));if(nt&&!("Z"in rt)&&(rt.Z=0),"p"in rt&&(rt.H=rt.H%12+rt.p*12),rt.m===void 0&&(rt.m="q"in rt?rt.q:0),"V"in rt){if(rt.V<1||rt.V>53)return null;"w"in rt||(rt.w=1),"Z"in rt?(wt=fT(p2(rt.y,0,1)),qt=wt.getUTCDay(),wt=qt>4||qt===0?i5.ceil(wt):i5(wt),wt=cT.offset(wt,(rt.V-1)*7),rt.y=wt.getUTCFullYear(),rt.m=wt.getUTCMonth(),rt.d=wt.getUTCDate()+(rt.w+6)%7):(wt=hT(p2(rt.y,0,1)),qt=wt.getDay(),wt=qt>4||qt===0?r5.ceil(wt):r5(wt),wt=f2.offset(wt,(rt.V-1)*7),rt.y=wt.getFullYear(),rt.m=wt.getMonth(),rt.d=wt.getDate()+(rt.w+6)%7)}else("W"in rt||"U"in rt)&&("w"in rt||(rt.w="u"in rt?rt.u%7:"W"in rt?1:0),qt="Z"in rt?fT(p2(rt.y,0,1)).getUTCDay():hT(p2(rt.y,0,1)).getDay(),rt.m=0,rt.d="W"in rt?(rt.w+6)%7+rt.W*7-(qt+5)%7:rt.w+rt.U*7-(qt+6)%7);return"Z"in rt?(rt.H+=rt.Z/100|0,rt.M+=rt.Z%100,fT(rt)):hT(rt)}}function z(Ge,nt,ut,rt){for(var Ct=0,wt=nt.length,qt=ut.length,gr,vr;Ct<wt;){if(rt>=qt)return-1;if(gr=nt.charCodeAt(Ct++),gr===37){if(gr=nt.charAt(Ct++),vr=V[gr in I_?nt.charAt(Ct++):gr],!vr||(rt=vr(Ge,ut,rt))<0)return-1}else if(gr!=ut.charCodeAt(rt++))return-1}return rt}function W(Ge,nt,ut){var rt=d.exec(nt.slice(ut));return rt?(Ge.p=h.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function Z(Ge,nt,ut){var rt=C.exec(nt.slice(ut));return rt?(Ge.w=S.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ee(Ge,nt,ut){var rt=p.exec(nt.slice(ut));return rt?(Ge.w=g.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function Y(Ge,nt,ut){var rt=P.exec(nt.slice(ut));return rt?(Ge.m=F.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ne(Ge,nt,ut){var rt=E.exec(nt.slice(ut));return rt?(Ge.m=B.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ie(Ge,nt,ut){return z(Ge,t,nt,ut)}function le(Ge,nt,ut){return z(Ge,n,nt,ut)}function ae(Ge,nt,ut){return z(Ge,r,nt,ut)}function De(Ge){return s[Ge.getDay()]}function de(Ge){return o[Ge.getDay()]}function be(Ge){return u[Ge.getMonth()]}function me(Ge){return a[Ge.getMonth()]}function fe(Ge){return i[+(Ge.getHours()>=12)]}function xe(Ge){return 1+~~(Ge.getMonth()/3)}function We(Ge){return s[Ge.getUTCDay()]}function Ve(Ge){return o[Ge.getUTCDay()]}function Ne(Ge){return u[Ge.getUTCMonth()]}function je(Ge){return a[Ge.getUTCMonth()]}function Ye(Ge){return i[+(Ge.getUTCHours()>=12)]}function pt(Ge){return 1+~~(Ge.getUTCMonth()/3)}return{format:function(Ge){var nt=O(Ge+="",k);return nt.toString=function(){return Ge},nt},parse:function(Ge){var nt=L(Ge+="",!1);return nt.toString=function(){return Ge},nt},utcFormat:function(Ge){var nt=O(Ge+="",$);return nt.toString=function(){return Ge},nt},utcParse:function(Ge){var nt=L(Ge+="",!0);return nt.toString=function(){return Ge},nt}}}var I_={"-":"",_:" ",0:"0"},Yu=/^\s*\d+/,cae=/^%/,dae=/[\\^$*+?|[\]().{}]/g;function yo(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function hae(e){return e.replace(dae,"\\$&")}function A2(e){return new RegExp("^(?:"+e.map(hae).join("|")+")","i")}function g2(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function fae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function pae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Aae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function vae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function H_(e,t,n){var r=Yu.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function L_(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function mae(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function yae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Cae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function __(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function wae(e,t,n){var r=Yu.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function O_(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Sae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function bae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Eae(e,t,n){var r=Yu.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function xae(e,t,n){var r=Yu.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Rae(e,t,n){var r=cae.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Bae(e,t,n){var r=Yu.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Tae(e,t,n){var r=Yu.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function N_(e,t){return yo(e.getDate(),t,2)}function Pae(e,t){return yo(e.getHours(),t,2)}function Dae(e,t){return yo(e.getHours()%12||12,t,2)}function Fae(e,t){return yo(1+f2.count(hv(e),e),t,3)}function V_(e,t){return yo(e.getMilliseconds(),t,3)}function kae(e,t){return V_(e,t)+"000"}function Mae(e,t){return yo(e.getMonth()+1,t,2)}function Iae(e,t){return yo(e.getMinutes(),t,2)}function Hae(e,t){return yo(e.getSeconds(),t,2)}function Lae(e){var t=e.getDay();return t===0?7:t}function _ae(e,t){return yo(n5.count(hv(e)-1,e),t,2)}function G_(e){var t=e.getDay();return t>=4||t===0?mC(e):mC.ceil(e)}function Oae(e,t){return e=G_(e),yo(mC.count(hv(e),e)+(hv(e).getDay()===4),t,2)}function Nae(e){return e.getDay()}function Vae(e,t){return yo(r5.count(hv(e)-1,e),t,2)}function Gae(e,t){return yo(e.getFullYear()%100,t,2)}function $ae(e,t){return e=G_(e),yo(e.getFullYear()%100,t,2)}function zae(e,t){return yo(e.getFullYear()%1e4,t,4)}function Qae(e,t){var n=e.getDay();return e=n>=4||n===0?mC(e):mC.ceil(e),yo(e.getFullYear()%1e4,t,4)}function Uae(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yo(t/60|0,"0",2)+yo(t%60,"0",2)}function $_(e,t){return yo(e.getUTCDate(),t,2)}function Wae(e,t){return yo(e.getUTCHours(),t,2)}function jae(e,t){return yo(e.getUTCHours()%12||12,t,2)}function Yae(e,t){return yo(1+cT.count(S1(e),e),t,3)}function z_(e,t){return yo(e.getUTCMilliseconds(),t,3)}function Kae(e,t){return z_(e,t)+"000"}function Xae(e,t){return yo(e.getUTCMonth()+1,t,2)}function Zae(e,t){return yo(e.getUTCMinutes(),t,2)}function Jae(e,t){return yo(e.getUTCSeconds(),t,2)}function qae(e){var t=e.getUTCDay();return t===0?7:t}function ele(e,t){return yo(M_.count(S1(e)-1,e),t,2)}function Q_(e){var t=e.getUTCDay();return t>=4||t===0?yC(e):yC.ceil(e)}function tle(e,t){return e=Q_(e),yo(yC.count(S1(e),e)+(S1(e).getUTCDay()===4),t,2)}function nle(e){return e.getUTCDay()}function rle(e,t){return yo(i5.count(S1(e)-1,e),t,2)}function ile(e,t){return yo(e.getUTCFullYear()%100,t,2)}function ole(e,t){return e=Q_(e),yo(e.getUTCFullYear()%100,t,2)}function sle(e,t){return yo(e.getUTCFullYear()%1e4,t,4)}function ale(e,t){var n=e.getUTCDay();return e=n>=4||n===0?yC(e):yC.ceil(e),yo(e.getUTCFullYear()%1e4,t,4)}function lle(){return"+0000"}function U_(){return"%"}function W_(e){return+e}function j_(e){return Math.floor(+e/1e3)}var CC,Y_;ule({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function ule(e){return CC=uae(e),Y_=CC.format,CC.parse,CC.utcFormat,CC.utcParse,CC}function cle(e){return new Date(e)}function dle(e){return e instanceof Date?+e:+new Date(+e)}function K_(e,t,n,r,i,o,s,a,u,d){var h=m_(),p=h.invert,g=h.domain,C=d(".%L"),S=d(":%S"),E=d("%I:%M"),B=d("%I %p"),P=d("%a %d"),F=d("%b %d"),k=d("%B"),$=d("%Y");function V(O){return(u(O)<O?C:a(O)<O?S:s(O)<O?E:o(O)<O?B:r(O)<O?i(O)<O?P:F:n(O)<O?k:$)(O)}return h.invert=function(O){return new Date(p(O))},h.domain=function(O){return arguments.length?g(Array.from(O,dle)):g().map(cle)},h.ticks=function(O){var L=g();return e(L[0],L[L.length-1],O??10)},h.tickFormat=function(O,L){return L==null?V:d(L)},h.nice=function(O){var L=g();return(!O||typeof O.range!="function")&&(O=t(L[0],L[L.length-1],O??10)),O?g(R_(L,O)):h},h.copy=function(){return J7(h,K_(e,t,n,r,i,o,s,a,u,d))},h}function hle(){return pC.apply(K_(aae,lae,hv,dT,n5,f2,uT,lT,vC,Y_).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}const wC="#110529",fle="solid",ple=1,pT="21",Ale=3,gle={color:"#ccc",lineShape:fle,dotShape:pT},vle="light";function mle(e){const t=1/(e.length-1);return Bo().domain(e.map((n,r)=>r*t)).range(e)}function X_(e,t){const n=Ac[e].colors,r=t.length>1?1/(t.length-1):0,i=mle(n),o=GB(e),s=t.reduce((a,u,d)=>(a[u]={colorIdx:o?d:d*r,aes:{color:o?n[d%n.length]:i(d*r),lineShape:r2[d%r2.length],dotShape:n2[d%n2.length]}},a),{});return{type:"categorical",palette:e,naAes:gle,order:t,mapping:s}}function SC(e){return X_(vle,e)}function Z_(e,t,n,r){if((t==null?void 0:t.type)==="continuous")return{inheritedAes:{}};const i=t??SC(n?e.getSourceInfo(n).uniqueValues:[]);return{order:i.order,inheritedAes:i.order.reduce((o,s)=>{const a=i.mapping[s].aes;return o[s]={},r.fill&&(o[s].fillColor=a.color,o[s].dotFill=a.color),r.stroke&&(o[s].lineColor=a.color),r.dotShape&&(o[s].dotShape=a.dotShape),r.lineType&&(o[s].lineShape=a.lineShape),o},{})}}function yle(e,t,n){const r=n[e]??SC(t.getSourceInfo(e).uniqueValues);return r.order.reduce((i,o)=>{const s=r.mapping[o].aes;return i[o]={fillColor:s.color,lineColor:s.color,dotFill:s.color,dotShape:s.dotShape,dotSize:Ale,lineWidth:ple},i},{})}function AT(e,t,n,r){const i=n[e]??SC(t.getSourceInfo(e).uniqueValues);return i.order.reduce((o,s)=>{const a=i.mapping[s].aes;return o[s]=a[r],o},{})}const Cle={},wle={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Sle(e,t){return A.openBlock(),A.createElementBlock("svg",wle,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.5 2.25H12V3.75H15.25V11.25H13.5C12.8096 11.25 12.25 11.8096 12.25 12.5V21H13.75V12.75H18.25V16.25H17.5C16.8096 16.25 16.25 16.8096 16.25 17.5V21H17.75V17.75H20.25V21H21.75V17.5C21.75 16.8096 21.1904 16.25 20.5 16.25H19.75V12.5C19.75 11.8096 19.1904 11.25 18.5 11.25H16.75V3.5C16.75 2.80964 16.1904 2.25 15.5 2.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5 3.75H7.25V7.25H8.5C9.19036 7.25 9.75 7.80964 9.75 8.5V21H8.25V8.75H4.75V21H3.25V8.5C3.25 7.80965 3.80964 7.25 4.5 7.25H5.75V3.5C5.75 2.80964 6.30964 2.25 7 2.25H10.5V3.75Z",fill:"#07AD3E"},null,-1)]))}const ble=zr(Cle,[["render",Sle]]);function Ele(e,t){return t==="discrete"?e&&v2[e]?e:"box":t==="scatterplot"||t==="scatterplot-umap"?e&&m2[e]?e:"dots":t==="dendro"?"dendro":"heatmap"}const v2={box:["box"],box_binnedDots:["box","binnedDots"],box_jitteredDots:["box","jitteredDots"],violin:["violin"],violin_binnedDots:["violin","binnedDots"],violin_jitteredDots:["violin","jitteredDots"],binnedDots:["binnedDots"],jitteredDots:["jitteredDots"],bar:["bar"],bar_line:["bar","line"],bar_errorbar:["bar","errorbar"],stackedBar:["stackedBar"],line:["line"],line_jitteredDots:["line","jitteredDots"],line_binnedDots:["line","binnedDots"],line_errorbar:["line","errorbar"],errorbar:["errorbar"],sina:["sina"]},m2={dots:["dots"],curve:["curve"],curve_dots:["curve","dots"]},bC={box:"Boxplot",binnedDots:"Binned Dots",jitteredDots:"Jittered Dots",violin:"Violins",bar:"Bar",stackedBar:"Stacked Bar",line:"Line",errorbar:"Error Bar",sina:"Sina",dots:"Scatter Plot",curve:"Curve",heatmap:"Heatmap",dendro:"Dendrogram"};function xle(e){return{overall:{data:{testMethod:(e==null?void 0:e.overall.data.testMethod)??null},validity:{testMethod:(e==null?void 0:e.overall.validity.testMethod)??!0}},referenceGroup:{data:{testMethod:(e==null?void 0:e.referenceGroup.data.testMethod)??null,referenceGroup:(e==null?void 0:e.referenceGroup.data.referenceGroup)??null,correctionMethod:(e==null?void 0:e.referenceGroup.data.correctionMethod)??"Bonferroni",format:(e==null?void 0:e.referenceGroup.data.format)??"significance",ns:(e==null?void 0:e.referenceGroup.data.ns)??!1},validity:{testMethod:(e==null?void 0:e.referenceGroup.validity.testMethod)??!0,referenceGroup:(e==null?void 0:e.referenceGroup.validity.referenceGroup)??!0}},pairwise:{data:{testMethod:(e==null?void 0:e.pairwise.data.testMethod)??null,correctionMethod:(e==null?void 0:e.pairwise.data.correctionMethod)??"Bonferroni",format:(e==null?void 0:e.pairwise.data.format)??"significance",ns:(e==null?void 0:e.pairwise.data.ns)??!1},validity:{testMethod:(e==null?void 0:e.pairwise.validity.testMethod)??!0}}}}function b1(e){return typeof e=="object"&&e!==null&&"type"in e}const Rle=()=>({dendro:{dotFill:Bl,dotShape:lv,lineColor:Bl,mode:"normal",leavesMode:"normal",showTable:!1},heatmap:{dendrogramX:!1,dendrogramY:!1},dots:{dotFill:null,dotShape:null},curve:{lineColor:Bl,smoothing:!0},box:{showOutliers:!0,fillColor:null,lineColor:wC,dotShape:lv,lineType:z7,gapWidth:.2,opacity:1,stat:{low:.25,middle:.5,upper:.75,k:1.5}},binnedDots:{fillColor:null,lineColor:wC,opacity:1,showOutliers:!0},jitteredDots:{dotFill:null,dotShape:lv,lineColor:wC,opacity:1,showOutliers:!0},violin:{fillColor:null,lineColor:wC,lineType:z7,opacity:1,trim:!1},bar:{fillColor:null,lineColor:wC,opacity:1,height:"max"},stackedBar:{fillColor:null,lineColor:wC,opacity:1},line:{pointsValues:"mean",lineColor:null,dotShape:lv,lineType:z7,dotFill:Bl,opacity:1},errorbar:{pointsValues:"mean",interval:"sd",lineColor:null,dotShape:lv,dotFill:Bl,opacity:1},sina:{dotFill:null,dotShape:lv,opacity:1,showOutliers:!0}});function Ble(e){const t=Rle();return Object.keys(t).reduce((r,i)=>(Object.assign(r[i],(e==null?void 0:e[i])??{}),r),t)}const Tle=()=>({title:{value:"Graph 1",position:"left",facetTitleFrame:"full"},axisX:{labelsPosition:"bottom",labelsRotation:"center",axisLabelsAngle:90,titleMode:"auto",customTitle:"",gridlines:!0,linesBetweenCategories:!0,ticks:!0,scale:"linear"},axisY:{titleMode:"auto",customTitle:"",axisLabelsAngle:90,gridlines:!0,ticks:!0,scale:"linear"},legend:{},other:{frame:"full",reverse:!1,facetSharedBy:"xy",facetColumns:3}});function J_(e){return e==="full"||e==="none"}function Ple(e,t){if(!t)return Tle();function n(r){return e==="heatmap"&&!J_(r)?"full":e!=="heatmap"&&J_(r)&&r==="none"?"empty":r}return{title:{...t.title},axisX:{...t.axisX},axisY:{...t.axisY},legend:{...t.legend},other:{...t.other,frame:n(t.other.frame)}}}const Bm={box:nie,box_binnedDots:sie,box_jitteredDots:cie,binnedDots:pie,jitteredDots:mie,violin:Sie,violin_binnedDots:Rie,violin_jitteredDots:Die,bar:Iie,bar_line:zL,bar_errorbar:Gie,stackedBar:Uie,line:QL,line_binnedDots:Jie,line_jitteredDots:UL,line_errorbar:ooe,errorbar:zL,sina:uoe,dots:foe,curve:QL,curve_dots:UL,heatmap:voe,dendro:ble},o5=[{value:"ttest",text:"TTest"},{value:"anova",text:"ANOVA"},{value:"wilcoxon",text:"Wilcoxon"},{value:"kruskalWallis",text:"Kruskal-Wallis"}],q_=[{value:"BenjaminiHochberg",text:"Benjamini-Hochberg"},{value:"BenjaminiYekutieli",text:"Benjamini-Yekutieli"},{value:"Bonferroni",text:"Bonferroni"},{value:"Hochberg",text:"Hochberg"},{value:"Holm",text:"Holm"},{value:"Hommel",text:"Hommel"},{value:"none",text:"None"}],eO=[{value:"pValue",text:"p-value"},{value:"significance",text:"significance"}];function tO(e,t,n){var i,o,s,a,u;if(((o=(i=e.components)==null?void 0:i.y)==null?void 0:o.selectorStates.length)===0)return[];if(!((a=(s=e.components)==null?void 0:s[n])!=null&&a.selectorStates.length))return["single common group"];const r=(u=e.components)==null?void 0:u[n].selectorStates[0].selectedSource;return t.getSourceInfo(r).uniqueValues}function Dle(e){const t=[];if(e.overall.data.testMethod&&e.overall.validity.testMethod&&t.push({type:"stat",statType:"overall",testMethod:e.overall.data.testMethod}),e.referenceGroup.data.testMethod&&e.referenceGroup.validity.testMethod&&e.referenceGroup.validity.referenceGroup){const n={type:"stat",statType:"referenceGroup",testMethod:e.referenceGroup.data.testMethod,referenceGroup:e.referenceGroup.data.referenceGroup,format:e.referenceGroup.data.format,ns:e.referenceGroup.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(n.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(n)}if(e.pairwise.data.testMethod&&e.pairwise.validity.testMethod){const n={type:"stat",statType:"pairwise",testMethod:e.pairwise.data.testMethod,format:e.pairwise.data.format,ns:e.pairwise.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(n.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(n)}return t}function Fle(e,t,n,r){const i=[],o=r.components.primaryGrouping.selectorStates.length>0,s=r.components.secondaryGrouping.selectorStates.length>0;function a(u,d=!1){return u===null?s?{type:"secondaryGrouping"}:o&&!d?{type:"primaryGrouping"}:{type:"secondaryGrouping"}:u}return e.forEach(u=>{if(u==="box"){const d=t[u];i.push({type:"box",aes:{showOutliers:d.showOutliers,dotShape:d.dotShape,fillColor:a(d.fillColor),lineColor:a(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(u==="binnedDots"){const d=t[u];i.push({type:"binnedDots",aes:{showOutliers:d.showOutliers,fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="jitteredDots"){const d=t[u];i.push({type:"dot",aes:{showOutliers:d.showOutliers,dotFill:a(d.dotFill),dotShape:d.dotShape,lineColor:d.lineColor,opacity:d.opacity}})}if(u==="violin"){const d=t[u];i.push({type:"violin",stat:{trim:d.trim},aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(u==="bar"){const d=t[u];i.push({type:"bar",height:d.height,aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="stackedBar"){const d=t[u];i.push({type:"stackedBar",aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="line"){const d=t[u];i.push({type:"line",pointsValues:d.pointsValues,aes:{lineColor:a(d.lineColor,!0),fillColor:d.dotFill,lineShape:d.lineType,dotShape:d.dotShape,opacity:d.opacity}})}if(u==="errorbar"){const d=t[u];i.push({type:"errorbar",pointsValues:d.pointsValues,interval:d.interval,aes:{lineColor:a(d.lineColor,!0),fillColor:d.dotFill,dotShape:d.dotShape,opacity:d.opacity}})}if(u==="sina"){const d=t[u];i.push({type:"sina",aes:{showOutliers:d.showOutliers,dotFill:a(d.dotFill),dotShape:d.dotShape}})}}),o&&!s&&i.push(...Dle(n)),i}function kle(e,t){const n=[];return e.forEach(r=>{if(r==="dots"){const i=t[r];n.push({type:"dots",aes:{dotFill:i.dotFill??Bl,dotShape:i.dotShape??lv}})}if(r==="curve"){const i=t[r];n.push({type:"curve",smoothing:i.smoothing,aes:{lineColor:i.lineColor??Bl}})}}),n}function gT(e,t,n,r,i){if(e==="discrete"){const o=v2[t];return Fle(o,n,r,i)}if(e==="scatterplot"||e==="scatterplot-umap"){const o=m2[t];return kle(o,n)}return[]}function y2(e,t,n){return e.some(r=>{var o;const i=(o=r==null?void 0:r.aes)==null?void 0:o[t];return b1(i)&&i.type===n})}function s5(e,t,n){return e.some(r=>{var o;const i=(o=r==null?void 0:r.aes)==null?void 0:o[t];return b1(i)&&i.value===n})}function nO(e,t,n,r,i){var u,d,h;const o=gT(e,t,n,r,i),s={};let a=[];return e==="discrete"&&(a=["primaryGrouping","secondaryGrouping"],a.forEach(p=>{var C,S;const g=(S=(C=i.components[p])==null?void 0:C.selectorStates[0])==null?void 0:S.selectedSource;g&&(s[g]={fill:y2(o,"fillColor",p)||y2(o,"dotFill",p),stroke:y2(o,"lineColor",p),dotShape:y2(o,"dotShape",p),lineType:y2(o,"lineShape",p),size:!1})})),e==="scatterplot"&&(a=i.components.grouping.selectorStates.map(p=>p.selectedSource),a.forEach(p=>{s[p]={fill:s5(o,"dotFill",p),stroke:s5(o,"lineColor",p),dotShape:s5(o,"dotShape",p),lineType:!1,size:!1}})),e==="scatterplot-umap"&&(a=i.components.grouping.selectorStates.map(p=>p.selectedSource),a.forEach(p=>{s[p]={fill:s5(o,"dotFill",p),stroke:!1,dotShape:!1,lineType:!1,size:!1}})),e==="dendro"&&(a=[((u=i.components.nodeColor.selectorStates[0])==null?void 0:u.selectedSource)??null,((d=i.components.nodeShape.selectorStates[0])==null?void 0:d.selectedSource)??null,((h=i.components.lineColor.selectorStates[0])==null?void 0:h.selectedSource)??null].filter(g=>g!==null),a.forEach(g=>{s[g]={fill:b1(n.dendro.dotFill)&&n.dendro.dotFill.value===g,stroke:b1(n.dendro.lineColor)&&n.dendro.lineColor.value===g,dotShape:b1(n.dendro.dotShape)&&n.dendro.dotShape.value===g,lineType:!1,size:!1}})),s}function vT(e,t){let n={},r={};t==="discrete"&&(n.labelsPosition=e.axisX.labelsRotation,n.linesBetweenCategories=e.axisX.linesBetweenCategories,r.scale=e.axisY.scale),(t==="discrete"||t==="scatterplot")&&(n.showGrid=e.axisX.gridlines,n.showTicks=e.axisX.ticks,r.showGrid=e.axisY.gridlines,r.showTicks=e.axisY.ticks),t==="scatterplot"&&(n.scale=e.axisX.scale,r.scale=e.axisY.scale),t==="heatmap"&&(n.axisLabelsAngle=e.axisX.axisLabelsAngle,r.axisLabelsAngle=e.axisY.axisLabelsAngle),e.axisY.titleMode!=="auto"&&(r.title=e.axisY.titleMode==="custom"?e.axisY.customTitle:""),e.axisX.titleMode!=="auto"&&(n.title=e.axisX.titleMode==="custom"?e.axisX.customTitle:"");const i={xAxis:n,yAxis:r,frame:{type:e.other.frame},facetSettings:{nCols:e.other.facetColumns}};return(t==="discrete"||t==="scatterplot"||t==="heatmap")&&(i.orientation=e.other.reverse?"horizontal":"vertical",i.facetSettings.sharedX=["x","xy"].includes(e.other.facetSharedBy),i.facetSettings.sharedY=["y","xy"].includes(e.other.facetSharedBy)),i}async function rO(e,t){if(t.type==="column"){const n=await e.pFrameProvider.getColumnSpecById(new cC({name:t.id,type:"String"}));return n?new cC({name:t.id,type:n.valueType}):null}return new Zf(t.id)}function fv(e){return JSON.parse(JSON.stringify(e))}async function iO(e,t,n){if(!n||n.length===0)return e;const r=await Promise.all(n.map(o=>rO(t,o.selectedSource))),i=fv(e);return n.forEach(({inputName:o,selectedFilterValue:s},a)=>{if(e.components[o]){const u=r[a];u&&i.components[o].selectorStates.push({selectedSource:u.toCanonicalString(),selectedFilterValue:s})}}),i}function Mle(e,t,n){const r=gT(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState),i=nO(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);e.layers=r;const o=t.optionsState.components;if(o.primaryGrouping.selectorStates.length&&e.primaryGrouping){const s=o.primaryGrouping.selectorStates[0].selectedSource,a=i[s];Object.assign(e.primaryGrouping,Z_(n,t.dataBindAes[s],s,a))}if(o.secondaryGrouping.selectorStates&&e.secondaryGrouping){const s=o.secondaryGrouping.selectorStates[0].selectedSource,a=i[s];Object.assign(e.secondaryGrouping,Z_(n,t.dataBindAes[s],s,a))}return Object.assign(e,vT(t.axesSettings,t.chartType)),e}function Ile(e,t,n){e.layers=gT(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);const r=t.optionsState.components;if(r.grouping.selectorStates.length){const i={};r.grouping.selectorStates.forEach(({selectedSource:o})=>{i[o]=yle(o,n,t.dataBindAes)}),Object.assign(e,{inheritedAes:i})}return Object.assign(e,vT(t.axesSettings,t.chartType)),e}function Hle(e,t){const n={};return(e==null?void 0:e.valueType)!=="discrete"?(t.layersSettings.heatmap.dendrogramX&&(e.dendrogramX={fillNA:0,showNodes:!1}),t.layersSettings.heatmap.dendrogramY&&(e.dendrogramY={fillNA:0,position:"right",showNodes:!1}),n.colorsList=Ac[Loe].colors):n.colorsList=Ac.bright.colors,e.aes=n,Object.assign(e,vT(t.axesSettings,t.chartType)),e}const Lle=280;function _le(e,t,n,r,i){var u,d,h;e.rootPosition="left";const o=n.optionsState.components,s=n.layersSettings.dendro,a=e==null?void 0:e.aes;if(a.nodeShape&&typeof a.nodeShape=="object"){const p=(u=o.nodeShape.selectorStates[0])==null?void 0:u.selectedSource,g=AT(p,r,n.dataBindAes,"dotShape");Object.keys(g).length?a.nodeShape.valuesMap=g:a.nodeShape=pT}else typeof s.dotShape=="string"&&(a.nodeShape=s.dotShape);if(a.nodeColor&&typeof a.nodeColor=="object"){const p=(d=o.nodeColor.selectorStates[0])==null?void 0:d.selectedSource,g=AT(p,r,n.dataBindAes,"color");Object.keys(g).length?a.nodeColor.valuesMap=g:a.nodeColor=Bl}else typeof s.dotFill=="string"&&(a.nodeColor=s.dotFill);if(a.lineColor&&typeof a.lineColor=="object"){const p=(h=o.lineColor.selectorStates[0])==null?void 0:h.selectedSource;a.lineColor.valuesMap=AT(p,r,n.dataBindAes,"color")}else typeof s.lineColor=="string"&&(a.lineColor=s.lineColor);if(o.heatmapForSequence.selectorStates.length>0){const p=t.values.sequenceValue,g=[...new Set(p)].filter(Boolean),C=Ac.bright.colors;e.heatmapSettings={valueType:"discrete",aes:{colorsMap:g.reduce((S,E,B)=>(S[E]=C[B%C.length],S),{})}}}return e.mode=s.mode,e.leavesMode=s.leavesMode,e.showNodesLabels=!1,e.showLeavesLabels=!1,(s.showTable||o.heatmapAnnotation.selectorStates.length>0||o.heatmapForSequence.selectorStates.length>0)&&(e.legend={show:!1}),s.showTable&&o.heatmapAnnotation.selectorStates.length===0&&o.heatmapForSequence.selectorStates.length===0&&(e.size={...e.size,width:Lle*(i/100)}),e}const Ole=600,Nle=350,Vle=400,Gle=250;function $le(e,t=0){return{width:(t>0?Vle:Ole)*(e/100),height:(t>0?Gle:Nle)*(e/100)}}async function zle(e,t,n,r){var i;if(!e.ready||n===null)return null;try{const o=$7(t.chartType),s=await iO(t.optionsState,n,r),a=await o.createDataForPlot(n,s);let u=a.settings;return u.title={name:"",show:!1},u.size=$le(t.chartScale,((i=t.optionsState.components)==null?void 0:i.facetBy.selectorStates.length)||0),t.chartType==="discrete"&&(u=Mle(u,t,e)),(t.chartType==="scatterplot"||t.chartType==="scatterplot-umap")&&(u=Ile(u,t,e)),t.chartType==="heatmap"&&(u=Hle(u,t)),t.chartType==="dendro"&&(u=_le(u,a.dataByColumns,t,e,t.chartScale)),{settings:u,dataByColumns:a.dataByColumns}}catch(o){return console.warn("Cant build chart data"),console.warn(o.message),null}}function oO(e){return e.length<2?[]:e.map(t=>({value:String(t),text:String(t)}))}function sO(e){return e.length<2?[]:e.length>2?o5.filter(t=>t.value!=="ttest"&&t.value!=="wilcoxon"):o5}function mT(e){return async()=>{const t=e.value.commonHelpersData.primaryGroups.value;function n(u,d){return d===null||!!u.find(h=>h.value===d)}const r=e.value.reactive.statisticsSettings,i=sO(t),o=oO(t),s=r.overall.data.testMethod,a=r.referenceGroup.data.referenceGroup;r.overall.validity.testMethod=n(i,s),r.referenceGroup.validity.referenceGroup=n(o,a)}}function Qle(e){e.dispatchEvent(new MouseEvent("click"))}function Ule(e,t){const n=window.URL||window.webkitURL,r=document.createElement("a");r.download=t,r.rel="noopener",r.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(r.href)},4e4),setTimeout(function(){Qle(r)},0)}function Wle(e){var t;return A.reactive({chartType:e.chartType,optionsState:((t=e.optionsState)==null?void 0:t.type)===e.chartType?fv(e.optionsState):fv(Jre(e.chartType)),template:Ele(e.template,e.chartType),statisticsSettings:xle(e.statisticsSettings),layersSettings:Ble(e.layersSettings),axesSettings:Ple(e.chartType,e.axesSettings),dataBindAes:fv(e.dataBindAes??{}),chartScale:100,dendroInfoByClick:null,dendroSelectedNodeId:null})}function jle(e,t,n,r,i){return{reactive:e,commonHelpersData:{primaryGroups:A.computed(()=>tO(e.optionsState,n.value,"primaryGrouping")),secondaryGroups:A.computed(()=>tO(e.optionsState,n.value,"secondaryGrouping")),usedAesInMapping:A.computed(()=>nO(e.chartType,e.template,e.layersSettings,e.statisticsSettings,e.optionsState)),dendroTableData:i},controller:$7(e.chartType),columnsDataStore:t,inputGuide:n,chartData:r}}function Yle(e,t,n){const r=Wle(e),i=$7(r.chartType),o=A.ref($7(r.chartType).getEmptyInputGuide(r.optionsState)),s=A.ref(null),a=A.ref(null),u=A.computed(()=>jle(r,A.toRaw(t.value),o,s,a));return A.watch([()=>r.optionsState,()=>t.value,()=>n.value],async([d,h,p])=>{const g=h?(await Promise.all((p??[]).map(C=>rO(h,C.selectedSource)))).filter(Boolean).map(C=>C==null?void 0:C.toCanonicalString()):[];o.value=h?await i.calculateOptions(A.toRaw(h),d,g):i.getEmptyInputGuide(d)},{immediate:!0,deep:!0}),A.watch([()=>o.value,()=>r],async([d,h])=>{s.value=await zle(d,h,A.toRaw(t.value),n.value)},{immediate:!0,deep:!0}),r.chartType==="dendro"&&A.watch([()=>r.optionsState,()=>t.value,()=>o.value.readyData],async([d,h,p])=>{if(p&&h){const g=await iO(d,h,n.value);a.value=await i.createTableData(h,g)}},{immediate:!0}),A.provide(p1,u),u}function Oo(){return Fre(A.inject(p1),"Empty store")}const Kle={class:"template-list"},Xle=["onClick"],Zle=["onClick"],Jle=A.defineComponent({__name:"TemplateForm",setup(e){const t=Oo(),n=Object.entries(v2).map(([a,u])=>({id:a,text:u.map(d=>bC[d]).join(" + "),icon:Bm[a]})),r=Object.entries(m2).map(([a,u])=>({id:a,text:u.map(d=>bC[d]).join(" + "),icon:Bm[a]})),i=[{id:"heatmap",text:"Heatmap",icon:Bm.heatmap}],o=[{id:"dendro",text:"Dendrogram",icon:Bm.dendro}];function s(a){t.value.reactive.template=a}return(a,u)=>(A.openBlock(),A.createElementBlock("div",{class:"template-form",onClick:u[0]||(u[0]=d=>d.stopPropagation())},[u[5]||(u[5]=A.createElementVNode("div",{class:"template-title"},[A.createElementVNode("h3",null," Template ")],-1)),A.createElementVNode("div",Kle,[A.unref(t).reactive.chartType==="discrete"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(n),({id:d,text:h,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:g=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(h)+" ",1),u[1]||(u[1]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,Xle))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="scatterplot"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(r),({id:d,text:h,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:g=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(h)+" ",1),u[2]||(u[2]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,Zle))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="heatmap"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:2},A.renderList(i,({text:d,icon:h})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(h))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),u[3]||(u[3]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="dendro"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:3},A.renderList(o,({text:d,icon:h})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(h))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),u[4]||(u[4]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0)])]))}});function pv(e,t,n,r=!1){A.onMounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.addEventListener(t,n,r)}),A.onUnmounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.removeEventListener(t,n,r)})}const yT=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function qle(e){return e()}function aO(e,t){if(e==null)throw Error(t);return e}function eue(e){let t=!1;return function(...n){t||(requestAnimationFrame(()=>{e(...n),t=!1}),t=!0)}}function tue(e){return new Promise(t=>setTimeout(t,e))}function nue(e,t){const n=setTimeout(e,t);return()=>{clearTimeout(n)}}function rue(e){return function(t){return 1-e(1-t)}}function iue(e){const{duration:t,draw:n,timing:r}=e,i=performance.now();let o=!1;return requestAnimationFrame(function s(a){let u=(a-i)/t;(u>1||o)&&(u=1);const d=r(u);n(d),u<1&&requestAnimationFrame(s)}),function(){o=!0}}function oue(e,t){let n=-1;return(...r)=>{n!==-1&&(clearTimeout(n),n=-1),n=window.setTimeout(()=>e(...r),t)}}function sue(e,t,n=!0){let r=0,i;return function(...o){i=()=>{e.apply(this,o),r=new Date().getTime()+t,i=null,n&&setTimeout(()=>{i&&i()},t)},new Date().getTime()>r&&i()}}function aue(e){return e.map(t=>({label:"label"in t?t.label:t.text,value:t.value,description:t.description}))}function lO(e,t){const n={el:void 0,x:0,y:0},r=i=>({x:i.x,y:i.y,dx:i.x-n.x,dy:i.y-n.y});pv(document,"mousedown",i=>{i.target===A.unref(e)&&(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),n.el=A.unref(e),n.x=i.x,n.y=i.y)}),pv(document,"mouseup",i=>{n.el&&(n.el=void 0,t({...r(i),stop:!0},n))}),pv(document,"mousemove",i=>{n.el&&t(r(i),n)})}function*lue(e,t){for(const n of e)yield t(n)}function uue(e){const t=[];for(const n of e)t.push(n);return t}const CT=new Map;function cue(e){return CT.has(e)||CT.set(e,A.ref(localStorage.getItem(e))),aO(CT.get(e),"...")}function due(e,t){t==null?localStorage.removeItem(e):localStorage.setItem(e,t)}function hue(e){const t=cue(e);return A.watch(t,n=>due(e,n)),t}const fue=new Set;window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{uue(lue(fue.values(),t=>t(e.matches?"dark":"light")))});const pue=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";A.ref(pue),hue("theme");const C2=A.defineComponent({__name:"MaskIcon16",props:{name:{},size:{}},setup(e){const t=e,n=A.computed(()=>t.size==="large"?"--mask-size: 24px":""),r=A.computed(()=>`mask-16 mask-${t.name}`);return(i,o)=>(A.openBlock(),A.createElementBlock("i",{style:A.normalizeStyle(n.value),class:A.normalizeClass(r.value)},null,6))}});function Aue(e){function t(n){const r=n.currentTarget,i=document.createElement("span"),o=Math.max(r.clientWidth,r.clientHeight),s=o/2;i.style.width=i.style.height=`${o}px`,i.style.left=`${n.clientX-r.offsetLeft-s}px`,i.style.top=`${n.clientY-r.offsetTop-s}px`,i.classList.add("ripple");const a=r.getElementsByClassName("ripple")[0];a&&a.remove(),r.appendChild(i)}A.onMounted(()=>{var n;(n=e.value)==null||n.addEventListener("click",t)})}const gue={key:0},vue={name:"PlBtnGhost"},uO=A.defineComponent({...vue,props:{loading:{type:Boolean},size:{default:void 0},round:{type:Boolean},icon:{default:void 0},reverse:{type:Boolean},justifyCenter:{type:Boolean,default:!1}},setup(e){const t=e,n=A.computed(()=>t.size==="small"),r=A.computed(()=>t.size==="large"),i=A.ref(),o=A.useSlots();return Aue(i),(s,a)=>(A.openBlock(),A.createElementBlock("button",A.mergeProps({ref_key:"btnRef",ref:i,tabindex:"0",class:["ui-btn-ghost",{loading:s.loading,small:n.value,large:r.value,round:s.round,reverse:s.reverse,justifyCenter:s.justifyCenter,[s.$attrs.class+""]:!0}]},{...s.$attrs,disabled:!!s.$attrs.disabled||s.loading}),[A.unref(o).default&&!s.round?(A.openBlock(),A.createElementBlock("span",gue,[A.renderSlot(s.$slots,"default")])):A.createCommentVNode("",!0),a[0]||(a[0]=A.createTextVNode()),s.loading?(A.openBlock(),A.createBlock(C2,{key:1,name:"loading",size:s.size},null,8,["size"])):s.icon?(A.openBlock(),A.createBlock(C2,{key:2,name:s.icon,size:s.size},null,8,["name","size"])):A.createCommentVNode("",!0)],16))}});function cO(e,t){const n=eue(()=>{if(e.value){const{scrollTop:r,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:a,clientWidth:u}=document.documentElement,d=e.value.getBoundingClientRect();t({scrollTop:r,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:a,clientWidth:u,offsetY:r+d.y,offsetX:i+d.x,top:d.top,right:d.right,bottom:d.bottom,left:d.left,width:d.width,height:d.height,x:d.x,y:d.y})}});A.onMounted(n),pv(window,"scroll",n,!0),pv(window,"resize",n,!0),pv(window,"adjust",n,!0)}function mue(e,t){const n=A.ref();return cO(e,r=>{n.value=r}),A.computed(()=>{const r=A.unref(n),i=A.unref(t),o=i.position??"top",s=i.gap??8;if(!r)return"";const a=r.offsetY+Math.floor(r.height/2),u=r.offsetX+Math.floor(r.width/2);return o==="top-left"?`left: ${r.offsetX}px; top: ${r.offsetY-s}px;`:o==="top"?`left: ${u}px; top: ${r.offsetY-s}px;`:o==="right"?`left: ${r.offsetX+r.width+s}px; top: ${a}px;`:o==="left"?`right: ${r.scrollWidth-r.x+s}px; top: ${a}px;`:""})}function dO(e,t){return t(e)}function a5(e,t){if(e!=null)return t(e)}function yue(e){return Array.isArray(e)?e:[e]}function l5(e,t){pv(document,"click",n=>{document.contains(n.target)&&(yue(e).map(r=>r.value).filter(r=>!!r).some(r=>r==null?void 0:r.contains(n.target))||t())})}const Cue={},wue={class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Sue(e,t){return A.openBlock(),A.createElementBlock("svg",wue,t[0]||(t[0]=[A.createElementVNode("path",{d:"M4.00222 8.00933L0 4.00711L4.00222 0.00488281L4.00222 8.00933Z",fill:"#24223D"},null,-1)]))}const bue=yT(Cue,[["render",Sue]]),wT=new Map,Eue={name:"PlTooltip"},w2=A.defineComponent({...Eue,props:{openDelay:{default:100},closeDelay:{default:1e3},position:{default:"top"},hide:{type:Boolean},gap:{default:8},element:{default:"div"}},emits:["tooltip:close"],setup(e,{emit:t}){const n=t,r=Symbol(),i=e,o=A.reactive({open:!1,over:!1,tooltipOpen:!1,key:Symbol()});wT.set(r,()=>d()),A.watch(()=>o.open,E=>{requestAnimationFrame(()=>{o.tooltipOpen=E})});let s=()=>{};const a=sue(()=>window.dispatchEvent(new CustomEvent("adjust")),1e3),u=()=>{o.open=!0;for(let[E,B]of wT.entries())E!==r&&B()},d=()=>{o.open=!1,n("tooltip:close")},h=async()=>{i.hide||(a(),o.over=!0,s(),await tue(100),o.over&&u())},p=()=>{o.over=!1,s=nue(()=>{o.over||d()},i.closeDelay)};A.watch(()=>i.hide,E=>{E&&d()});const g=A.ref(),C=A.ref(),S=mue(g,A.toRef(i));return l5([g,C],()=>d()),A.onUnmounted(()=>{wT.delete(r)}),(E,B)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(E.element),A.mergeProps(E.$attrs,{ref_key:"rootRef",ref:g,onClick:h,onMouseover:h,onMouseleave:p}),{default:A.withCtx(()=>[A.renderSlot(E.$slots,"default"),B[1]||(B[1]=A.createTextVNode()),E.$slots.tooltip&&o.open?(A.openBlock(),A.createBlock(A.Teleport,{key:0,to:"body"},[A.createVNode(A.Transition,{name:"tooltip-transition"},{default:A.withCtx(()=>[o.tooltipOpen?(A.openBlock(),A.createElementBlock("div",{key:0,class:"pl-tooltip__container",style:A.normalizeStyle(A.unref(S))},[A.createElementVNode("div",{ref_key:"tooltip",ref:C,class:A.normalizeClass(["pl-tooltip",E.position]),onMouseover:h,onMouseleave:p},[A.createElementVNode("div",null,[A.renderSlot(E.$slots,"tooltip")]),B[0]||(B[0]=A.createTextVNode()),A.createVNode(bue)],34)],4)):A.createCommentVNode("",!0)]),_:3})])):A.createCommentVNode("",!0)]),_:3},16))}}),xue={},Rue={class:"inner-border"};function Bue(e,t,n,r,i,o){return A.openBlock(),A.createElementBlock("div",Rue,[A.renderSlot(e.$slots,"default")])}const Tue=yT(xue,[["render",Bue]]),Pue={key:0},Due=["tabindex","onKeydown","onClick"],Fue={key:1,class:"ui-btn-group__helper"},kue={key:2,class:"ui-btn-group__error"},Mue={name:"PlBtnGroup"},bh=A.defineComponent({...Mue,props:{modelValue:{},label:{},options:{},disabled:{type:Boolean},helper:{},error:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=A.useSlots(),r=t,i=a=>r("update:modelValue",a),o=e,s=A.computed(()=>o.options.map(a=>({label:"label"in a?a.label:a.text,value:a.value})));return(a,u)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["ui-btn-group",{disabled:a.disabled}])},[a.label?(A.openBlock(),A.createElementBlock("label",Pue,[A.createElementVNode("span",null,A.toDisplayString(a.label),1),u[0]||(u[0]=A.createTextVNode()),A.unref(n).tooltip?(A.openBlock(),A.createBlock(A.unref(w2),{key:0,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(a.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0),u[1]||(u[1]=A.createTextVNode()),A.createVNode(Tue,{class:"ui-btn-group__container"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(s.value,(d,h)=>(A.openBlock(),A.createElementBlock("div",{key:h,class:A.normalizeClass(["ui-btn-group__option",{active:a.modelValue===d.value}]),tabindex:a.modelValue===d.value||a.disabled?void 0:0,onKeydown:A.withKeys(p=>i(d.value),["enter"]),onClick:p=>i(d.value)},A.toDisplayString(d.label),43,Due))),128))]),_:1}),u[2]||(u[2]=A.createTextVNode()),a.helper?(A.openBlock(),A.createElementBlock("div",Fue,A.toDisplayString(a.helper),1)):a.error?(A.openBlock(),A.createElementBlock("div",kue,A.toDisplayString(a.error),1)):A.createCommentVNode("",!0)],2))}}),Iue={inheritAttrs:!1},Hue={class:"double-contour"};function Lue(e,t,n,r,i,o){return A.openBlock(),A.createElementBlock("div",Hue,[A.createElementVNode("div",A.normalizeProps(A.guardReactiveProps(e.$attrs)),[A.renderSlot(e.$slots,"default")],16)])}const hO=yT(Iue,[["render",Lue]]);function _ue(e){A.onMounted(e),A.onUpdated(e)}const ST=new WeakMap,bT=new ResizeObserver(e=>{for(const t of e)a5(ST.get(t.target),n=>n(t))});function Oue(e,t){ST.set(e,t),bT.unobserve(e),bT.observe(e)}function Nue(e){bT.unobserve(e),ST.delete(e)}const Vue=8,fO=4;function ET(e,t="label"){const n=new Set;_ue(()=>{a5(e==null?void 0:e.value,r=>{const i=r.querySelector(t);i&&(n.add(i),Oue(i,()=>{const o=qle(()=>i.getBoundingClientRect().width+dO(Vue,s=>Number.isNaN(s)?fO:s+fO));r.style.getPropertyValue("--label-offset-right-x")!==`${o}px`&&r.style.setProperty("--label-offset-right-x",`${o}px`)}))})}),A.onBeforeUnmount(()=>{Array.from(n.values()).map(r=>Nue(r))})}function Gue(e,t){const n=[];return t&&t.length>0&&t.forEach(r=>{const i=r(e);typeof i=="string"&&n.push(i)}),{isValid:n.length===0,errors:n}}function $ue(e,t){return A.computed(()=>Gue(e.value,t))}const zue={class:"ui-text-field__envelope"},Que={key:0,ref:"label"},Uue={key:0,class:"required-icon"},Wue={key:1,class:"ui-text-field__prefix"},jue=["disabled","placeholder"],Yue={class:"ui-text-field__append"},Kue={key:0,class:"ui-text-field__error"},Xue={key:1,class:"ui-text-field__helper"},Zue={name:"PlTextField"},EC=A.defineComponent({...Zue,props:{modelValue:{},label:{},clearable:{type:[Boolean,Function]},required:{type:Boolean},error:{},helper:{},placeholder:{},disabled:{type:Boolean},dashed:{type:Boolean},prefix:{},rules:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=A.useSlots(),r=t,i=e,o=A.ref(void 0),s=A.ref(),a=A.computed({get(){return i.modelValue??""},set(S){r("update:modelValue",S)}}),u=()=>{i.clearable&&r("update:modelValue",i.clearable===!0?"":i.clearable())},d=$ue(a,i.rules||[]),h=A.computed(()=>i.clearable?i.clearable===!0?i.modelValue==="":i.modelValue===i.clearable():i.modelValue===""),p=A.computed(()=>!h.value),g=A.computed(()=>{const S=[];return i.error&&S.push(i.error),d.value.isValid||S.push(...d.value.errors),S}),C=A.computed(()=>g.value.length>0);return ET(o),(S,E)=>(A.openBlock(),A.createElementBlock("div",zue,[A.createElementVNode("div",{ref_key:"rootRef",ref:o,class:A.normalizeClass(["ui-text-field",{error:C.value,disabled:S.disabled,dashed:S.dashed,nonEmpty:p.value}])},[S.label?(A.openBlock(),A.createElementBlock("label",Que,[S.required?(A.openBlock(),A.createElementBlock("i",Uue)):A.createCommentVNode("",!0),E[1]||(E[1]=A.createTextVNode()),A.createElementVNode("span",null,A.toDisplayString(S.label),1),E[2]||(E[2]=A.createTextVNode()),A.unref(n).tooltip?(A.openBlock(),A.createBlock(A.unref(w2),{key:1,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(S.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)],512)):A.createCommentVNode("",!0),E[4]||(E[4]=A.createTextVNode()),S.prefix?(A.openBlock(),A.createElementBlock("div",Wue,A.toDisplayString(S.prefix),1)):A.createCommentVNode("",!0),E[5]||(E[5]=A.createTextVNode()),A.withDirectives(A.createElementVNode("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":E[0]||(E[0]=B=>a.value=B),disabled:S.disabled,placeholder:S.placeholder||"...",type:"text",spellcheck:"false"},null,8,jue),[[A.vModelText,a.value]]),E[6]||(E[6]=A.createTextVNode()),A.createElementVNode("div",Yue,[S.clearable&&p.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon icon--clear",onClick:u})):A.createCommentVNode("",!0),E[3]||(E[3]=A.createTextVNode()),A.renderSlot(S.$slots,"append")]),E[7]||(E[7]=A.createTextVNode()),A.createVNode(hO,{class:"ui-text-field__contour"})],2),E[8]||(E[8]=A.createTextVNode()),C.value?(A.openBlock(),A.createElementBlock("div",Kue,A.toDisplayString(g.value.join(" ")),1)):S.helper?(A.openBlock(),A.createElementBlock("div",Xue,A.toDisplayString(S.helper),1)):A.createCommentVNode("",!0)]))}});function Jue(e,t){const n=e.scrollTop,r=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<r+n&&i>n}function que(e,t){const n=e.scrollTop,r=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<r+n?"ceil":i>n?"floor":"visible"}function ece(e,t,n={}){const r=e.scrollTop,i=e.getBoundingClientRect().height,o=t.getBoundingClientRect().height,s=t.offsetTop,a=que(e,t);if(a==="visible")return;const u=d=>{const h=a==="floor"?s-(i-o):s;e.scrollTop=r+d*(h-r)};Jue(e,t)||iue({duration:n.duration||100,timing:rue(d=>d),draw:u})}function pO(e){return e!==null&&typeof e=="object"}function u5(e,t){return pO(e)&&pO(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>u5(e[n],t[n])):e===t}const tce=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
27
|
+
}`;var Yr=bR(function(){return ti(Re,Rn+"return "+Ht).apply(n,Ie)});if(Yr.source=Ht,jg(Yr))throw Yr;return Yr}function bM(y){return Eo(y).toLowerCase()}function _E(y){return Eo(y).toUpperCase()}function EM(y,x,_){if(y=Eo(y),y&&(_||x===n))return Lt(y);if(!y||!(x=ta(x)))return y;var q=ho(y),pe=ho(x),Re=xi(q,pe),Ie=Aa(q,pe)+1;return Fu(q,Re,Ie).join("")}function OE(y,x,_){if(y=Eo(y),y&&(_||x===n))return y.slice(0,Rp(y)+1);if(!y||!(x=ta(x)))return y;var q=ho(y),pe=Aa(q,ho(x))+1;return Fu(q,0,pe).join("")}function SR(y,x,_){if(y=Eo(y),y&&(_||x===n))return y.replace(ei,"");if(!y||!(x=ta(x)))return y;var q=ho(y),pe=xi(q,ho(x));return Fu(q,pe).join("")}function xM(y,x){var _=Z,q=ee;if(oa(x)){var pe="separator"in x?x.separator:pe;_="length"in x?Or(x.length):_,q="omission"in x?ta(x.omission):q}y=Eo(y);var Re=y.length;if(Wh(y)){var Ie=ho(y);Re=Ie.length}if(_>=Re)return y;var _e=_-sd(q);if(_e<1)return q;var Ze=Ie?Fu(Ie,0,_e).join(""):y.slice(0,_e);if(pe===n)return Ze+q;if(Ie&&(_e+=Ze.length-_e),m3(pe)){if(y.slice(_e).search(pe)){var Pt,Bt=Ze;for(pe.global||(pe=fl(pe.source,Eo($n.exec(pe))+"g")),pe.lastIndex=0;Pt=pe.exec(Bt);)var Ht=Pt.index;Ze=Ze.slice(0,Ht===n?_e:Ht)}}else if(y.indexOf(ta(pe),_e)!=_e){var Zt=Ze.lastIndexOf(pe);Zt>-1&&(Ze=Ze.slice(0,Zt))}return Ze+q}function RM(y){return y=Eo(y),y&&hs.test(y)?y.replace(Rr,xA):y}var BM=Q(function(y,x,_){return y+(_?" ":"")+x.toUpperCase()}),NE=H("toUpperCase");function VE(y,x,_){return y=Eo(y),x=_?n:x,x===n?Uv(y)?Mg(y):rd(y):y.match(x)||[]}var bR=Er(function(y,x){try{return Zn(y,n,x)}catch(_){return jg(_)?_:new Qn(_)}}),TM=rf(function(y,x){return mr(x,function(_){_=Lu(_),Ya(y,_,Nt(y[_],y))}),y});function PM(y){var x=y==null?0:y.length,_=Xn();return y=x?Gr(y,function(q){if(typeof q[1]!="function")throw new Nl(s);return[_(q[0]),q[1]]}):[],Er(function(q){for(var pe=-1;++pe<x;){var Re=y[pe];if(Zn(Re[0],this,q))return Zn(Re[1],this,q)}})}function DM(y){return kp(qs(y,p))}function GE(y){return function(){return y}}function FM(y,x){return y==null||y!==y?x:y}var kM=ke(),$E=ke(!0);function xd(y){return y}function zE(y){return hd(typeof y=="function"?y:qs(y,p))}function MM(y){return hu(qs(y,p))}function IM(y,x){return to(y,qs(x,p))}var HM=Er(function(y,x){return function(_){return ya(_,y,x)}}),LM=Er(function(y,x){return function(_){return ya(y,_,x)}});function QE(y,x,_){var q=Au(x),pe=ma(x,q);_==null&&!(oa(x)&&(pe.length||!q.length))&&(_=x,x=y,y=this,pe=ma(x,Au(x)));var Re=!(oa(_)&&"chain"in _)||!!_.chain,Ie=Qp(y);return mr(pe,function(_e){var Ze=x[_e];y[_e]=Ze,Ie&&(y.prototype[_e]=function(){var Pt=this.__chain__;if(Re||Pt){var Bt=y(this.__wrapped__),Ht=Bt.__actions__=bs(this.__actions__);return Ht.push({func:Ze,args:arguments,thisArg:y}),Bt.__chain__=Pt,Bt}return Ze.apply(y,pa([this.value()],arguments))})}),y}function _M(){return pi._===this&&(pi._=kf),this}function UE(){}function ER(y){return y=Or(y),Er(function(x){return fd(x,y)})}var WE=Xt(Gr),OM=Xt(Ll),NM=Xt(nd);function Uy(y){return un(y)?X(Lu(y)):bn(y)}function Wy(y){return function(x){return y==null?n:ys(y,x)}}var VM=Es(),GM=Es(!0);function jE(){return[]}function YE(){return!1}function $M(){return{}}function zM(){return""}function QM(){return!0}function xR(y,x){if(y=Or(y),y<1||y>de)return[];var _=fe,q=ts(y,fe);x=Xn(x),y-=fe;for(var pe=Je(q,x);++_<y;)x(_);return pe}function UM(y){return $r(y)?Gr(y,Lu):Di(y)?[y]:bs(F0(Eo(y)))}function WM(y){var x=++Rc;return Eo(y)+x}var jM=kt(function(y,x){return y+x},0),YM=Pi("ceil"),KM=kt(function(y,x){return y/x},1),XM=Pi("floor");function ZM(y){return y&&y.length?Gl(y,xd,su):n}function JM(y,x){return y&&y.length?Gl(y,Xn(x,2),su):n}function qM(y){return Pf(y,xd)}function eI(y,x){return Pf(y,Xn(x,2))}function tI(y){return y&&y.length?Gl(y,xd,Ha):n}function nI(y,x){return y&&y.length?Gl(y,Xn(x,2),Ha):n}var rI=kt(function(y,x){return y*x},1),iI=Pi("round"),oI=kt(function(y,x){return y-x},0);function sI(y){return y&&y.length?et(y,xd):0}function J0(y,x){return y&&y.length?et(y,Xn(x,2)):0}return we.after=Oe,we.ary=dt,we.assign=bd,we.assignIn=K0,we.assignInWith=dm,we.assignWith=Xg,we.at=dR,we.before=Ot,we.bind=Nt,we.bindAll=TM,we.bindKey=_t,we.castArray=rR,we.chain=V0,we.chunk=MA,we.compact=k0,we.concat=yd,we.cond=PM,we.conforms=DM,we.constant=GE,we.countBy=Dy,we.create=hm,we.curry=on,we.curryRight=wn,we.debounce=xn,we.defaults=fm,we.defaultsDeep=w3,we.defer=Sa,we.delay=tt,we.difference=li,we.differenceBy=ia,we.differenceWith=as,we.drop=qa,we.dropRight=hc,we.dropRightWhile=Gg,we.dropWhile=el,we.fill=qv,we.filter=Q0,we.flatMap=ky,we.flatMapDeep=yE,we.flatMapDepth=My,we.flatten=M0,we.flattenDeep=Np,we.flattenDepth=pu,we.flip=$e,we.flow=kM,we.flowRight=$E,we.fromPairs=I0,we.functions=pR,we.functionsIn=tM,we.groupBy=$p,we.initial=H0,we.intersection=Ey,we.intersectionBy=Cd,we.intersectionWith=$g,we.invert=AR,we.invertBy=nM,we.invokeMap=A3,we.iteratee=zE,we.keyBy=CE,we.keys=Au,we.keysIn=Ed,we.map=NA,we.mapKeys=rM,we.mapValues=iM,we.matches=MM,we.matchesProperty=IM,we.memoize=ot,we.merge=oM,we.mergeWith=gR,we.method=HM,we.methodOf=LM,we.mixin=QE,we.negate=Qt,we.nthArg=ER,we.omit=sM,we.omitBy=aM,we.once=kn,we.orderBy=wE,we.over=WE,we.overArgs=qn,we.overEvery=OM,we.overSome=NM,we.partial=An,we.partialRight=er,we.partition=am,we.pick=lM,we.pickBy=vR,we.property=Uy,we.propertyOf=Wy,we.pull=tm,we.pullAll=Vp,we.pullAllBy=xl,we.pullAllWith=Uf,we.pullAt=zs,we.range=VM,we.rangeRight=GM,we.rearg=nl,we.reject=f,we.remove=tl,we.rest=no,we.reverse=zg,we.sampleSize=R,we.set=kE,we.setWith=ME,we.shuffle=M,we.slice=LA,we.sortBy=ge,we.sortedUniq=_0,we.sortedUniqBy=_A,we.split=CM,we.spread=Wf,we.tail=o3,we.take=s3,we.takeRight=nm,we.takeRightWhile=O0,we.takeWhile=fE,we.tap=mE,we.throttle=SE,we.thru=gh,we.toArray=Y0,we.toPairs=R3,we.toPairsIn=mR,we.toPath=UM,we.toPlainObject=TE,we.transform=Ny,we.unary=Vk,we.union=pE,we.unionBy=a3,we.unionWith=l3,we.uniq=Gp,we.uniqBy=AE,we.uniqWith=Ug,we.unset=Vy,we.unzip=N0,we.unzipWith=Qs,we.update=uM,we.updateWith=yR,we.values=Z0,we.valuesIn=cM,we.without=gE,we.words=VE,we.wrap=Gk,we.xor=u3,we.xorBy=Ty,we.xorWith=vE,we.zip=c3,we.zipObject=d3,we.zipObjectDeep=h3,we.zipWith=Sd,we.entries=R3,we.entriesIn=mR,we.extend=K0,we.extendWith=dm,QE(we,we),we.add=jM,we.attempt=bR,we.camelCase=wR,we.capitalize=Gy,we.ceil=YM,we.clamp=CR,we.clone=iR,we.cloneDeep=zk,we.cloneDeepWith=oR,we.cloneWith=$k,we.conformsTo=bE,we.deburr=$y,we.defaultTo=FM,we.divide=KM,we.endsWith=B3,we.eq=jf,we.escape=zy,we.escapeRegExp=Qy,we.every=Fy,we.find=om,we.findIndex=Op,we.findKey=PE,we.findLast=p3,we.findLastIndex=IA,we.findLastKey=S3,we.floor=XM,we.forEach=sm,we.forEachRight=Wg,we.forIn=Oy,we.forInRight=hR,we.forOwn=b3,we.forOwnRight=fR,we.get=DE,we.gt=Qk,we.gte=Uk,we.has=E3,we.hasIn=X0,we.head=HA,we.identity=xd,we.includes=U0,we.indexOf=Qf,we.inRange=dM,we.invoke=x3,we.isArguments=lm,we.isArray=$r,we.isArrayBuffer=Wk,we.isArrayLike=Ql,we.isArrayLikeObject=ba,we.isBoolean=Iy,we.isBuffer=zp,we.isDate=jk,we.isElement=Yk,we.isEmpty=sR,we.isEqual=Kk,we.isEqualWith=v3,we.isError=jg,we.isFinite=EE,we.isFunction=Qp,we.isInteger=Hy,we.isLength=Ly,we.isMap=xE,we.isMatch=aR,we.isMatchWith=lR,we.isNaN=Yg,we.isNative=Xk,we.isNil=Jk,we.isNull=Zk,we.isNumber=j0,we.isObject=oa,we.isObjectLike=Ea,we.isPlainObject=um,we.isRegExp=m3,we.isSafeInteger=qk,we.isSet=RE,we.isString=y3,we.isSymbol=Di,we.isTypedArray=Kg,we.isUndefined=C3,we.isWeakMap=_y,we.isWeakSet=uR,we.join=wd,we.kebabCase=fM,we.last=_u,we.lastIndexOf=em,we.lowerCase=IE,we.lowerFirst=HE,we.lt=cR,we.lte=BE,we.max=ZM,we.maxBy=JM,we.mean=qM,we.meanBy=eI,we.min=tI,we.minBy=nI,we.stubArray=jE,we.stubFalse=YE,we.stubObject=$M,we.stubString=zM,we.stubTrue=QM,we.multiply=rI,we.nth=L0,we.noConflict=_M,we.noop=UE,we.now=Fe,we.pad=pM,we.padEnd=AM,we.padStart=pee,we.parseInt=gM,we.random=hM,we.reduce=g3,we.reduceRight=W0,we.repeat=vM,we.replace=mM,we.result=FE,we.round=iI,we.runInContext=Qe,we.sample=v,we.size=U,we.snakeCase=yM,we.some=J,we.sortedIndex=xy,we.sortedIndexBy=Ry,we.sortedIndexOf=lf,we.sortedLastIndex=Qg,we.sortedLastIndexBy=By,we.sortedLastIndexOf=uf,we.startCase=wM,we.startsWith=LE,we.subtract=oI,we.sum=sI,we.sumBy=J0,we.template=SM,we.times=xR,we.toFinite=VA,we.toInteger=Or,we.toLength=cm,we.toLower=bM,we.toNumber=cf,we.toSafeInteger=eM,we.toString=Eo,we.toUpper=_E,we.trim=EM,we.trimEnd=OE,we.trimStart=SR,we.truncate=xM,we.unescape=RM,we.uniqueId=WM,we.upperCase=BM,we.upperFirst=NE,we.each=sm,we.eachRight=Wg,we.first=HA,QE(we,function(){var y={};return Ti(we,function(x,_){oi.call(we.prototype,_)||(y[_]=x)}),y}(),{chain:!1}),we.VERSION=r,mr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(y){we[y].placeholder=we}),mr(["drop","take"],function(y,x){ar.prototype[y]=function(_){_=_===n?1:so(Or(_),0);var q=this.__filtered__&&!x?new ar(this):this.clone();return q.__filtered__?q.__takeCount__=ts(_,q.__takeCount__):q.__views__.push({size:ts(_,fe),type:y+(q.__dir__<0?"Right":"")}),q},ar.prototype[y+"Right"]=function(_){return this.reverse()[y](_).reverse()}}),mr(["filter","map","takeWhile"],function(y,x){var _=x+1,q=_==ie||_==ae;ar.prototype[y]=function(pe){var Re=this.clone();return Re.__iteratees__.push({iteratee:Xn(pe,3),type:_}),Re.__filtered__=Re.__filtered__||q,Re}}),mr(["head","last"],function(y,x){var _="take"+(x?"Right":"");ar.prototype[y]=function(){return this[_](1).value()[0]}}),mr(["initial","tail"],function(y,x){var _="drop"+(x?"":"Right");ar.prototype[y]=function(){return this.__filtered__?new ar(this):this[_](1)}}),ar.prototype.compact=function(){return this.filter(xd)},ar.prototype.find=function(y){return this.filter(y).head()},ar.prototype.findLast=function(y){return this.reverse().find(y)},ar.prototype.invokeMap=Er(function(y,x){return typeof y=="function"?new ar(this):this.map(function(_){return ya(_,y,x)})}),ar.prototype.reject=function(y){return this.filter(Qt(Xn(y)))},ar.prototype.slice=function(y,x){y=Or(y);var _=this;return _.__filtered__&&(y>0||x<0)?new ar(_):(y<0?_=_.takeRight(-y):y&&(_=_.drop(y)),x!==n&&(x=Or(x),_=x<0?_.dropRight(-x):_.take(x-y)),_)},ar.prototype.takeRightWhile=function(y){return this.reverse().takeWhile(y).reverse()},ar.prototype.toArray=function(){return this.take(fe)},Ti(ar.prototype,function(y,x){var _=/^(?:filter|find|map|reject)|While$/.test(x),q=/^(?:head|last)$/.test(x),pe=we[q?"take"+(x=="last"?"Right":""):x],Re=q||/^find/.test(x);pe&&(we.prototype[x]=function(){var Ie=this.__wrapped__,_e=q?[1]:arguments,Ze=Ie instanceof ar,Pt=_e[0],Bt=Ze||$r(Ie),Ht=function(vi){var $i=pe.apply(we,pa([vi],_e));return q&&Zt?$i[0]:$i};Bt&&_&&typeof Pt=="function"&&Pt.length!=1&&(Ze=Bt=!1);var Zt=this.__chain__,Rn=!!this.__actions__.length,rr=Re&&!Zt,Yr=Ze&&!Rn;if(!Re&&Bt){Ie=Yr?Ie:new ar(this);var dr=y.apply(Ie,_e);return dr.__actions__.push({func:gh,args:[Ht],thisArg:n}),new gs(dr,Zt)}return rr&&Yr?y.apply(this,_e):(dr=this.thru(Ht),rr?q?dr.value()[0]:dr.value():dr)})}),mr(["pop","push","shift","sort","splice","unshift"],function(y){var x=pl[y],_=/^(?:push|sort|unshift)$/.test(y)?"tap":"thru",q=/^(?:pop|shift)$/.test(y);we.prototype[y]=function(){var pe=arguments;if(q&&!this.__chain__){var Re=this.value();return x.apply($r(Re)?Re:[],pe)}return this[_](function(Ie){return x.apply($r(Ie)?Ie:[],pe)})}}),Ti(ar.prototype,function(y,x){var _=we[x];if(_){var q=_.name+"";oi.call(qd,q)||(qd[q]=[]),qd[q].push({name:x,func:_})}}),qd[Xe(n,P).name]=[{name:"wrapper",func:n}],ar.prototype.clone=Bn,ar.prototype.reverse=tu,ar.prototype.value=eo,we.prototype.at=G0,we.prototype.chain=OA,we.prototype.commit=$0,we.prototype.next=z0,we.prototype.plant=im,we.prototype.reverse=Py,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=f3,we.prototype.first=we.prototype.head,Qa&&(we.prototype[Qa]=rm),we},Ec=Bp();Me?((Me.exports=Ec)._=Ec,he._=Ec):pi._=Ec}).call(J3)}(L7,L7.exports);var Mre=L7.exports;const yr=xm(Mre);var Zf=class I7{constructor({type:t,name:n,domain:r}){this.kind="axis",this.type=t,this.name=n,this.domain={...r}}toCanonicalString(){return av(this)}static fromAxisSpec(t){return new I7({name:t.name,type:t.type,domain:t.domain})}static fromAxesSpec(t){return t.map(n=>I7.fromAxisSpec(n))}copy(){return new I7({type:this.type,name:this.name,domain:this.domain})}toPFrameId(){return{type:this.type,name:this.name,domain:this.domain}}static fromPojo(t){return new I7(t)}},cC=class yre{constructor({name:t,type:n}){this.kind="column",this.name=t,this.type=n}toCanonicalString(){return av(this)}static fromPojo(t){return new yre(t)}};function Ar(e){return e!==null&&e.kind==="column"}function OB(e){return e!==null&&e.kind==="axis"}function In(e){const t=JSON.parse(e);if(t.kind==="column")return cC.fromPojo(t);if(t.kind==="axis")return Zf.fromPojo(t);throw Error("wrong column or axis object")}var Ire="pl7.app/axisNature",Hre="pl7.app/label",Lre="pl7.app/isLabel",_re="pl7.app/columnAsAxis/name",Ore="pl7.app/columnAsAxis/domain";async function LL(e,t,n){let r;if(n){const i=await e.pFrameProvider.getTableOuterJoin([t,n],[]),o=i.columnsData[t.toCanonicalString()],s=i.columnsData[n.toCanonicalString()];r=o.reduce((a,u,d)=>(a[String(u)]=String(s[d]),a),{})}else r=(await e.pFrameProvider.getColumnUniqueValues(t)).reduce((o,s)=>{const a=String(s);return o[a]=a,o},{});return r}async function _L(e,t,n,r){let i;if(r){const{data:o,axesData:s}=await e.pFrameProvider.getSingleColumnData(r);i=s[t.toCanonicalString()].reduce((u,d,h)=>(u[String(d)]=String(o[h]),u),{})}else i=(await e.pFrameProvider.getAxisUniqueValues(t,[n])).reduce((s,a)=>{const u=String(a);return s[u]=u,s},{});return i}async function Nre(e,t,n){const r=In(t);if(Ar(r)){const i=await e.pFrameProvider.getColumnSpecById(r);if(!i)return;const o=await _a(e,t,[]),s={kind:"column",label:await aa(e,t,[]),valueLabels:await LL(e,r,o),uniqueValues:i.valueType!=="Double"?await e.pFrameProvider.getColumnUniqueValues(r):[],type:i.valueType};n.set(r.toCanonicalString(),s);for(const a of i.axesSpec){const u=Zf.fromAxisSpec(a),d=u.toCanonicalString(),h=await _a(e,d,[t]),p={kind:"axis",label:await aa(e,d,[t]),valueLabels:await _L(e,u,r,h),uniqueValues:a.type?await e.pFrameProvider.getAxisUniqueValues(u,[r]):[],type:a.type,mustBeConsumed:VL(a),dividable:!1,spec:a};n.set(d,p)}}}function OL(e){const t=In(e),{name:n,type:r}=t;return Ar(t)?{kind:"column",label:" ",uniqueValues:[],valueLabels:{},type:t.type}:{kind:"axis",label:" ",uniqueValues:[],valueLabels:{},type:r,spec:{type:r,name:n},mustBeConsumed:!1,dividable:!1}}function _7(e){return{type:e.type,components:{...e.components},dividedAxes:{...e.dividedAxes}}}function Jf(e){const{selectedSource:t,selectedFilterValue:n}=e,r=In(t);if(!r)throw Error("Empty source selected");return OB(r)?{type:"bySingleColumn",column:{type:"axis",id:r.toPFrameId()},predicate:{operator:"Equal",reference:r.type==="String"?String(n):Number(n)}}:{type:"bySingleColumn",column:{type:"column",id:r.name},predicate:{operator:"Equal",reference:r.type==="String"?String(n):Number(n)}}}function NB(e){var t,n,r,i;if("kind"in e&&e.kind==="PColumn"){const a=(n=e.name)!=null?n:(t=e.annotations)==null?void 0:t[_re],u=(i=e.domain)!=null?i:(r=e.annotations)==null?void 0:r[Ore];return av({name:a,domain:u})}const o=e.name,s=e.domain;return av({name:o,domain:s})}async function NL(e,t,n){for(const r of n){const i=In(r);if(Ar(i)){const o=await e.pFrameProvider.getColumnSpecById(i),s=o==null?void 0:o.axesSpec.find(a=>Zf.fromAxisSpec(a).toCanonicalString()===t.toCanonicalString());if(s)return s}}return null}async function _a(e,t,n){const r=In(t);async function i(d){const h=await NL(e,d,n);return h?NB(h):null}async function o(d){const h=await e.pFrameProvider.getColumnSpecById(d);return h?NB(h):null}const s=await e.pFrameProvider.getColumns([],["String"],{[Lre]:"true"},!1),a=Ar(r)?await o(r):await i(r),u=await Promise.all(s.map(async d=>{const h=await e.pFrameProvider.getColumnSpecById(d);return h&&h.axesSpec.length===1&&NB(h.axesSpec[0])===a})).then(d=>d.findIndex(h=>h===!0));if(u!==-1)return s[u]}async function aa(e,t,n){var r,i;const o=In(t),s=await _a(e,t,n);let a;if(Ar(o)?a=await e.pFrameProvider.getColumnSpecById(s??o):a=s?await e.pFrameProvider.getColumnSpecById(s):await NL(e,o,n),!a)return"";const u=(i=(r=a.annotations)==null?void 0:r[Hre])!=null?i:a.name;return e.labelsModifier(a.name,u)}function VL(e){var t,n;const r=(n=(t=e.annotations)==null?void 0:t[Ire])==null?void 0:n.toLowerCase();return!!r&&r!=="homogenous"&&r!=="homogeneous"}var q3=class{constructor(e,t){this.simpleComponentControllers=e,this.filterComponentControllers=t,this.ignoredOptionIdNames=[],this.dataInputs=[]}get requiredComponents(){const e=[];for(const t of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[t].isRequired&&e.push(t);return e}get dimensionsConsumerComponents(){const e=[];for(const t of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[t].isDimensionsConsumer&&e.push(t);for(const t of Object.keys(this.filterComponentControllers))this.filterComponentControllers[t].isDimensionsConsumer&&e.push(t);return e}addSelected(e,t,n,r){if(e in this.simpleComponentControllers)return this.simpleComponentControllers[e].addSelected(t,n);if(e in this.filterComponentControllers)return this.filterComponentControllers[e].addSelected(t,n,!0,r);throw Error(`Unknown input name: ${String(e)}`)}deleteSelected(e,t,n,r){if(e in this.simpleComponentControllers)return this.simpleComponentControllers[e].deleteSelected(n,r);if(e in this.filterComponentControllers)return this.filterComponentControllers[e].deleteSelected(n,r);throw Error(`Unknown input name: ${String(e)}`)}changeSelected(e,t,n,r,i){const o=n.components[e].selectorStates.map(h=>[h.selectedSource,"selectedFilterValue"in h?h.selectedFilterValue:void 0]),s=r.map((h,p)=>[h,i==null?void 0:i[p]]),a=o.filter(([h])=>!s.find(p=>p[0]===h)),u=s.filter(([h])=>!o.find(p=>p[0]===h));let d=_7(n);return a.forEach(([h])=>{d=this.deleteSelected(e,t,d,h)}),u.forEach(([h,p])=>{d=this.addSelected(e,d,h,p)}),d}switchDividableAxis(e,t){return _7(e)}createEmptyComponentsGuide(e){return Object.fromEntries(Object.entries(e.components).map(([t,n])=>n.type!=="filter"?[t,{options:[],optionsInfo:new Map,stateConsistency:{},required:!1,multipleSelectors:!1}]:[t,{options:[],optionsInfo:new Map,multipleSelectors:!1,required:!1,stateConsistency:{},filterValueOptions:{}}]))}async getSelectedSetAndInfo(e,t,n=[]){const r=new Set,i=new Set,o=new Map;for(const{selectorStates:s}of Object.values(t.components))for(const{selectedSource:a}of s){await Nre(e,a,o);const u=In(a);if(u instanceof cC){const d=await e.pFrameProvider.getColumnSpecById(u);d==null||d.axesSpec.forEach(h=>{const p=Zf.fromAxisSpec(h).toCanonicalString();r.add(p),i.add(a)})}}return{selectedAxesSet:r,selectedSourcesSet:i,selectedColumnsOrAxesInfo:o}}getEmptyInputGuide(e){return{components:this.createEmptyComponentsGuide(e),getSourceInfo:t=>OL(t),freeOptionsSet:new Set,readyData:!1,ready:!1}}async calculateOptions(e,t,n=[]){const r=this.createEmptyComponentsGuide(t),i=new Set;for(const h of this.dimensionsConsumerComponents)for(const{selectedSource:p}of t.components[h].selectorStates)i.add(p);const o=new Set(this.ignoredOptionIdNames),s=new Set(n),a=new Set,{selectedColumnsOrAxesInfo:u}=await this.getSelectedSetAndInfo(e,t,n),d=new Map;for(const h of Object.keys(this.simpleComponentControllers)){const p=await this.simpleComponentControllers[h].getOptions(e,t,i,o,s);p.options.forEach(g=>{a.add(g.value)});for(const[g,C]of p.optionsInfo)d.set(g,C);r[h]=p}for(const h of Object.keys(this.filterComponentControllers)){const p=await this.filterComponentControllers[h].getOptionsFilter(e,t,i,o,s);p.options.forEach(g=>{a.add(g.value)});for(const[g,C]of p.optionsInfo)d.set(g,C);r[h]=p}return{components:r,getSourceInfo:h=>{var p,g,C;const S=(p=In(h).toCanonicalString())!=null?p:h;return(C=(g=d.get(S))!=null?g:u.get(S))!=null?C:OL(h)},freeOptionsSet:a,readyData:this.readyDataInputs(t),ready:await this.readyForPlotBuilding(e,t,a,d)}}async checkStateConsistency(e,t){const n=new Map;for(const r of Object.keys(this.simpleComponentControllers))n.set(r,await this.simpleComponentControllers[r].checkStateConsistency(e,t));for(const r of Object.keys(this.filterComponentControllers))n.set(r,await this.filterComponentControllers[r].checkStateConsistency(e,t));return n}async isConsistent(e,t){const n=await this.checkStateConsistency(e,t);for(const r of n.values())if(Object.values(r).some(i=>!i))return!1;return!0}readyDataInputs(e){return this.dataInputs.every(t=>e.components[t].selectorStates.length>0)}async readyForPlotBuilding(e,t,n,r){if(!await this.isConsistent(e,t)||!this.readyDataInputs(t))return!1;const i=[];for(const o of n){const s=In(o),a=s?r.get(s.toCanonicalString()):null;a&&a.kind==="axis"&&a.mustBeConsumed&&i.push(o)}return this.requiredComponents.every(o=>t.components[o].selectorStates.length>0)&&i.length===0}async createDataForPlot(e,t){return{dataByColumns:await this.createDataByColumns(e,t),settings:await this.createChartSettings(e,t)}}},GL=class Cre{constructor({componentName:t,allowedTypes:n,settings:r,dependsOn:i=[],parentComponents:o=[],annotations:s={},strictlyDependsOnParents:a=!0}){this.componentName=t,this.allowedTypes=[...n],this.settings={...Cre.DefaultSettings,...r},this.dependsOn=[...i],this.parentComponents=[...o],this.strictlyDependsOnParents=a,this.annotations={...s}}get isRequired(){return this.settings.required}get isDimensionsConsumer(){return this.settings.dimensionConsumer}addSelected(t,n,r=!1,i){const o=_7(t),s={selectedSource:n};return r&&(s.selectedFilterValue=i),o.components[this.componentName].selectorStates.push(s),o}deleteSelected(t,n){const r=_7(t);return r.components[this.componentName].selectorStates=r.components[this.componentName].selectorStates.filter(i=>i.selectedSource!==n),r}async checkStateConsistency(t,n){const r=n.components[this.componentName],i=await this.getParentAxes(t,n);function o(a){const u=Zf.fromAxisSpec(a);return i.has(u.toCanonicalString())}const s=await Promise.all(r.selectorStates.map(async({selectedSource:a})=>{const u=In(a);if(Ar(u)){const d=await t.pFrameProvider.getColumnSpecById(u);return d?this.parentComponents.length===0?!0:this.strictlyDependsOnParents?d.axesSpec.every(p=>o(p)):i.size===0||d.axesSpec.some(p=>o(p)):!1}return i.has(a)}));return r.selectorStates.reduce((a,u,d)=>(a[u.selectedSource]=s[d],a),{})}getParentSelectedSources(t,n){return this.parentComponents.reduce((i,o)=>{const s=n.components[o].selectorStates.map(a=>In(a.selectedSource));return i.push(...s),i},[])}async getParentAxes(t,n){const r=this.getParentSelectedSources(t,n),i=new Set;for(const o of r)if(Ar(o)){const s=await t.pFrameProvider.getColumnSpecById(o);s==null||s.axesSpec.forEach(a=>{const u=Zf.fromAxisSpec(a);i.add(u.toCanonicalString())})}return i}async getAllowedAxes(t,n){var r;const i=this.getParentSelectedSources(t,n),o=new Set,s=new Map;for(const a of i)if(Ar(a)){const u=await t.pFrameProvider.getColumnSpecById(a);for(const d of(r=u==null?void 0:u.axesSpec)!=null?r:[]){const h=Zf.fromAxisSpec(d),p=this.allowedTypes.includes(d.type),g=Object.entries(this.annotations).every(([C,S])=>{var E;return((E=d.annotations)==null?void 0:E[C])===S});if(p&&g){o.add(h.toCanonicalString());const C=await _a(t,h.toCanonicalString(),[a.toCanonicalString()]),S=await t.pFrameProvider.getAxisUniqueValues(h,[a]);s.set(h.toCanonicalString(),{kind:"axis",label:await aa(t,h.toCanonicalString(),[a.toCanonicalString()]),valueLabels:await _L(t,h,a,C),uniqueValues:S,type:d.type,mustBeConsumed:VL(d),dividable:!1,spec:d})}}}return{axes:o,optionsInfo:s}}async getOptions(t,n,r,i=new Set,o=new Set){const s=this.settings.multipleSelectors,a=this.settings.required,u=await this.checkStateConsistency(t,n);if(this.strictlyDependsOnParents&&this.parentComponents.some(E=>n.components[E].selectorStates.length===0))return{multipleSelectors:s,required:a,stateConsistency:u,options:[],optionsInfo:new Map};const d=this.getParentSelectedSources(t,n),h=(await t.pFrameProvider.getColumns(d,this.allowedTypes,this.annotations,this.strictlyDependsOnParents)).filter(E=>!r.has(E.toCanonicalString())),{axes:p,optionsInfo:g}=await this.getAllowedAxes(t,n);if(this.dependsOn.length&&this.dependsOn.some(E=>n.components[E].selectorStates.length===0))return{multipleSelectors:s,required:a,stateConsistency:u,options:[],optionsInfo:new Map};const C=n.components[this.componentName],S=[];if(this.settings.axesAllowed)for(const E of p){const B=In(E),P=g.get(B.toCanonicalString()),F=!this.settings.homogeneous||!(P!=null&&P.mustBeConsumed),k=!r.has(E),$=i.has(B.name)||o.has(B.toCanonicalString()),V=C.selectorStates.some(O=>O.selectedSource===E);F&&k&&!$&&!V&&S.push({value:E})}if(this.settings.columnsAllowed)for(const E of h){const B=E.toCanonicalString(),P=In(B),F=await t.pFrameProvider.getColumnSpecById(P);if(F){const V=await _a(t,E.toCanonicalString(),[]),O=await t.pFrameProvider.getColumnUniqueValues(E),L=await aa(t,E.toCanonicalString(),[]),z=await LL(t,E,V),W={kind:"column",label:L,valueLabels:z,uniqueValues:O,type:F.valueType};g.set(P.toCanonicalString(),W)}const k=i.has(P.name)||o.has(P.toCanonicalString()),$=n.components[this.componentName].selectorStates.some(V=>V.selectedSource===B);!k&&!$&&S.push({value:B})}return{multipleSelectors:s,required:a,stateConsistency:u,options:S,optionsInfo:g}}async getOptionsFilter(t,n,r,i=new Set,o=new Set){const s=n.components[this.componentName];if(s.type!=="filter")throw Error("Trying to take filter options for simple component");const a=await this.getOptions(t,n,r,i,o),d=this.getParentSelectedSources(t,n).filter(Ar);function h(C){const S=In(C);return Ar(S)?t.pFrameProvider.getColumnUniqueValues(S):t.pFrameProvider.getAxisUniqueValues(S,d)}const p=await Promise.all(a.options.map(C=>h(C.value))),g=await Promise.all(s.selectorStates.map(C=>h(C.selectedSource)));return{...a,filterValueOptions:{...a.options.reduce((C,{value:S},E)=>(C[S]=p[E],C),{}),...s.selectorStates.reduce((C,S,E)=>(C[S.selectedSource]=g[E],C),{})}}}};GL.DefaultSettings={multipleSelectors:!1,required:!1,homogeneous:!1,axesAllowed:!1,columnsAllowed:!0,dimensionConsumer:!1};var Xr=GL,Vre={type:"discrete",components:{y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},primaryGrouping:{type:"simple",selectorStates:[]},secondaryGrouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},Gre=class extends q3{constructor(){super({y:new Xr({componentName:"y",allowedTypes:["Int","Double","Long","Float"],settings:{}}),primaryGrouping:new Xr({componentName:"primaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,homogeneous:!0}}),secondaryGrouping:new Xr({componentName:"secondaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["primaryGrouping"],settings:{axesAllowed:!0,homogeneous:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["y"]}async createDataByColumns(e,t){var n;const r=t.components.y.selectorStates[0].selectedSource,i=In(r);if(!r||!Ar(i))throw Error("Y column is not valid");const o={type:"columns",id:(n=av({data:r,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?n:"",values:{}},s=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],a=[...t.components.filters.selectorStates.map(g=>In(g.selectedSource)),...t.components.tabBy.selectorStates.map(g=>In(g.selectedSource))].filter(Ar),u=[r],d=[t.components.primaryGrouping,t.components.secondaryGrouping,t.components.facetBy],h=[];for(const g of d)for(const{selectedSource:C}of g.selectorStates){h.push(In(C));const S=await _a(e,C,u);S&&h.push(S)}const p=await e.pFrameProvider.getTableOuterJoin([i,...a],h,s);return h.forEach(g=>{const C=g.toCanonicalString();o.values[C]=Ar(g)?p.columnsData[C]:p.axesData[C]}),o.values[i.toCanonicalString()]=p.columnsData[i.toCanonicalString()],o}async createChartSettings(e,t){var n,r;const i=t.components.y.selectorStates[0].selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Y column is not valid");const s={type:"column",value:i,label:await aa(e,i,[])},a=[i];let u;if(t.components.primaryGrouping.selectorStates.length){const{selectedSource:p}=t.components.primaryGrouping.selectorStates[0];u={columnName:{type:"column",value:p,label:await aa(e,p,a),valueLabels:(n=await _a(e,p,a))==null?void 0:n.toCanonicalString()}}}let d;if(t.components.secondaryGrouping.selectorStates.length){const{selectedSource:p}=t.components.secondaryGrouping.selectorStates[0];d={columnName:{type:"column",value:p,label:await aa(e,p,a),valueLabels:(r=await _a(e,p,a))==null?void 0:r.toCanonicalString()}}}const h=await Promise.all(t.components.facetBy.selectorStates.map(async p=>{var g,C;return{type:"column",value:(C=(g=await _a(e,p.selectedSource,a))==null?void 0:g.toCanonicalString())!=null?C:p.selectedSource,label:await aa(e,p.selectedSource,a)}}));return{type:"discrete",y:s,primaryGrouping:u,secondaryGrouping:d,facetBy:h}}},$re={type:"heatmap",components:{value:{type:"simple",selectorStates:[]},x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},xGroupBy:{type:"simple",selectorStates:[]},yGroupBy:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},annotations:{type:"simple",selectorStates:[]}},dividedAxes:{}};function O7(e,t){if(!t.length)return[];const n=t.map(o=>In(o)),r=Object.values(e.columnsData)[0].length,i=[];for(let o=0;o<r;o++){const s=n.map(a=>{const u=a.toCanonicalString();return Ar(a)?e.columnsData[u][o]:e.axesData[u][o]}).join(", ");i.push(s)}return i}var zre=class extends q3{constructor(){super({value:new Xr({componentName:"value",allowedTypes:["Int","Long","Double","Float","String"],settings:{columnsAllowed:!0,axesAllowed:!1,required:!0}}),x:new Xr({componentName:"x",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),xGroupBy:new Xr({componentName:"xGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["x"]}),y:new Xr({componentName:"y",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),yGroupBy:new Xr({componentName:"yGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["y"]}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),annotations:new Xr({componentName:"annotations",allowedTypes:["String","Int"],parentComponents:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0},dependsOn:["x","y"]})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["value"]}async readyForPlotBuilding(e,t,n,r){const{axes:i}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),o=[...i],s=this.dimensionsConsumerComponents;return await super.readyForPlotBuilding(e,t,n,r)&&o.every(a=>s.some(u=>t.components[u].selectorStates.some(d=>d.selectedSource===a)))}async createDataByColumns(e,t){var n,r;const i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s={type:"columns",id:(r=av({data:i,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?r:"",values:{}},a=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],u=[...t.components.filters.selectorStates.map(L=>In(L.selectedSource)),...t.components.tabBy.selectorStates.map(L=>In(L.selectedSource))].filter(Ar),d=[i],h=[t.components.facetBy,t.components.annotations,t.components.x,t.components.y,t.components.xGroupBy,t.components.yGroupBy],p=[];for(const L of h)for(const{selectedSource:z}of L.selectorStates){p.push(In(z));const W=await _a(e,z,d);W&&p.push(W)}const g=await e.pFrameProvider.getTableOuterJoin([o,...u],p,a);p.forEach(L=>{const z=L.toCanonicalString();s.values[z]=Ar(L)?g.columnsData[z]:g.axesData[z]}),s.values[o.toCanonicalString()]=g.columnsData[o.toCanonicalString()];const C=t.components.x.selectorStates.concat(t.components.xGroupBy.selectorStates).map(L=>L.selectedSource),S=C.join(", ");s.values[S]=O7(g,C);const E=t.components.x.selectorStates.map(L=>L.selectedSource),B=await Promise.all(E.map(async L=>{var z,W;return(W=(z=await _a(e,L,d))==null?void 0:z.toCanonicalString())!=null?W:L})),P=E.join(", ");s.values[P]=O7(g,B);const F=t.components.y.selectorStates.concat(t.components.yGroupBy.selectorStates).map(L=>L.selectedSource),k=F.join(", ");s.values[k]=O7(g,F);const $=t.components.y.selectorStates.map(L=>L.selectedSource),V=$.join(", "),O=await Promise.all($.map(async L=>{var z,W;return(W=(z=await _a(e,L,d))==null?void 0:z.toCanonicalString())!=null?W:L}));return s.values[V]=O7(g,O),s}async createChartSettings(e,t){var n,r;const i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s=[i],a={type:"column",value:i,label:await aa(e,i,[])},u=t.components.x.selectorStates.concat(t.components.xGroupBy.selectorStates).map(({selectedSource:$})=>In($)).filter($=>OB($)).map($=>$.toCanonicalString()),d=u.join(", "),h=t.components.y.selectorStates.concat(t.components.yGroupBy.selectorStates).map(({selectedSource:$})=>In($)).filter($=>OB($)).map($=>$.toCanonicalString()),p=h.join(", "),g=await Promise.all(t.components.facetBy.selectorStates.map(async $=>{var V,O;return{type:"column",value:(O=(V=await _a(e,$.selectedSource,s))==null?void 0:V.toCanonicalString())!=null?O:$.selectedSource}})),C=await Promise.all(t.components.xGroupBy.selectorStates.map(async $=>({type:"column",label:await aa(e,$.selectedSource,s),value:$.selectedSource}))),S=await Promise.all(t.components.yGroupBy.selectorStates.map(async $=>({type:"column",label:await aa(e,$.selectedSource,s),value:$.selectedSource}))),E=await Promise.all(t.components.annotations.selectorStates.map(async $=>{var V,O;const L=$.selectedSource,z=In(L),W=Ar(z)?(V=(await e.pFrameProvider.getColumnAxesIds(z)).map(ee=>ee.toCanonicalString()))!=null?V:[]:[L];let Z="";if(W.every(ee=>u.findIndex(Y=>Y===ee)!==-1))Z="x";else if(W.every(ee=>h.findIndex(Y=>Y===ee)!==-1))Z="y";else throw Error("Invalid annotation axes");return{axis:Z,valueColumn:{type:"column",value:L,label:await aa(e,L,s)},type:Ar(z)&&((O=await e.pFrameProvider.getColumnSpecById(z))==null?void 0:O.valueType)==="Double"?"continuous":"discrete"}})),B=t.components.x.selectorStates.map(({selectedSource:$})=>$).join(", "),P=t.components.y.selectorStates.map(({selectedSource:$})=>$).join(", "),F=(await Promise.all(t.components.x.selectorStates.map($=>aa(e,$.selectedSource,s)))).join(", "),k=(await Promise.all(t.components.y.selectorStates.map($=>aa(e,$.selectedSource,s)))).join(", ");return{type:"heatmap",valueColumn:a,valueType:((r=await e.pFrameProvider.getColumnSpecById(o))==null?void 0:r.valueType)==="String"?"discrete":"continuous",xColumn:{type:"column",value:d,label:F,valueLabels:B},yColumn:{type:"column",value:p,label:k,valueLabels:P},facetBy:g,xGroupBy:C,yGroupBy:S,annotations:E}}},Qre={type:"scatterplot",components:{x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},grouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},Ure=class extends q3{constructor(){super({x:new Xr({componentName:"x",allowedTypes:["Int","Long","Double","Float"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Xr({componentName:"y",allowedTypes:["Int","Long","Double","Float"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Xr({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["x","y"]}async readyForPlotBuilding(e,t,n,r){var i,o;if(!super.readyForPlotBuilding(e,t,n,r))return!1;const s=(i=t.components.x.selectorStates[0])==null?void 0:i.selectedSource,a=(o=t.components.y.selectorStates[0])==null?void 0:o.selectedSource;if(!this.isConsistent(e,t)||!s||!a)return!1;const{axes:u}=await this.simpleComponentControllers.y.getAllowedAxes(e,t),{axes:d}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),h=In(s),p=In(a),g=Ar(h)?[...u]:[s],C=Ar(p)?[...d]:[a],S=g.filter(P=>!C.some(F=>F===P)),E=C.filter(P=>!g.some(F=>F===P));if(S.length===0&&E.length===0)return!0;const B=this.dimensionsConsumerComponents;return S.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))&&E.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))}async createDataByColumns(e,t){var n,r,i;const o=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,a=In(o),u=In(s);if(!o||!a||!s||!u)throw Error("X or Y column is not valid");const d={type:"columns",id:(i=av({data:[o,s],filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},h=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],p=[...t.components.filters.selectorStates.map(P=>In(P.selectedSource)),...t.components.tabBy.selectorStates.map(P=>In(P.selectedSource))].filter(Ar),g=[a,u].filter(Ar).map(P=>P.toCanonicalString());if(g.length===0)throw Error("One of X and Y should be a column");const C=[a,u,...p],S=[],E=[t.components.grouping,t.components.facetBy];for(const P of E)for(const{selectedSource:F}of P.selectorStates){S.push(In(F));const k=await _a(e,F,g);k&&S.push(k)}const B=await e.pFrameProvider.getTableOuterJoin(C,S,h);return[...C,...S].forEach(P=>{const F=P.toCanonicalString();d.values[F]=Ar(P)?B.columnsData[F]:B.axesData[F]}),d.values.key=d.values[Object.keys(d.values)[0]].map((P,F)=>F),d}async createChartSettings(e,t){var n,r;const i=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,o=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,s=i?In(i):null,a=o?In(o):null;if(!i||!o||!s||!a||!Ar(s)&&!Ar(a))throw Error("Empty or invalid required data");const u=[s,a].filter(Ar).map(S=>S.toCanonicalString()),d={type:"column",value:i,label:await aa(e,i,u)},h={type:"column",value:o,label:await aa(e,o,u)},p={type:"column",value:"key"},g=await Promise.all(t.components.facetBy.selectorStates.map(async S=>{var E,B;return{type:"column",value:(B=(E=await _a(e,S.selectedSource,u))==null?void 0:E.toCanonicalString())!=null?B:S.selectedSource}})),C=await Promise.all(t.components.grouping.selectorStates.map(async S=>{var E,B;const P=S.selectedSource;return{type:"column",label:await aa(e,P,u)||P,value:P,valueLabels:(B=(E=await _a(e,P,u))==null?void 0:E.toCanonicalString())!=null?B:P}}));return{type:"scatterplot",x:d,y:h,keyColumn:p,facetBy:g,grouping:C}}},Wre={type:"scatterplot-umap",components:{x:{type:"simple",selectorStates:[]},y:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},grouping:{type:"simple",selectorStates:[]}},dividedAxes:{}},jre=class extends q3{constructor(){super({x:new Xr({componentName:"x",allowedTypes:["Int","Long","Double","Float"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Xr({componentName:"y",allowedTypes:["Int","Long","Double","Float"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Xr({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["x","y"]}async readyForPlotBuilding(e,t,n,r){var i,o;if(!super.readyForPlotBuilding(e,t,n,r))return!1;const s=(i=t.components.x.selectorStates[0])==null?void 0:i.selectedSource,a=(o=t.components.y.selectorStates[0])==null?void 0:o.selectedSource;if(!this.isConsistent(e,t)||!s||!a)return!1;const{axes:u}=await this.simpleComponentControllers.y.getAllowedAxes(e,t),{axes:d}=await this.simpleComponentControllers.x.getAllowedAxes(e,t),h=In(s),p=In(a),g=Ar(h)?[...u]:[s],C=Ar(p)?[...d]:[a],S=g.filter(P=>!C.some(F=>F===P)),E=C.filter(P=>!g.some(F=>F===P));if(S.length===0&&E.length===0)return!0;const B=this.dimensionsConsumerComponents;return S.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))&&E.every(P=>B.some(F=>t.components[F].selectorStates.some(k=>k.selectedSource===P)))}async createDataByColumns(e,t){var n,r,i;const o=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,a=In(o),u=In(s);if(!o||!a||!s||!u)throw Error("X or Y column is not valid");const d={type:"columns",id:(i=av({data:[o,s],filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},h=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],p=[...t.components.filters.selectorStates.map(P=>In(P.selectedSource)),...t.components.tabBy.selectorStates.map(P=>In(P.selectedSource))].filter(Ar),g=[a,u].filter(Ar).map(P=>P.toCanonicalString());if(g.length===0)throw Error("One of X and Y should be a column");const C=[a,u,...p],S=[],E=[t.components.grouping,t.components.facetBy];for(const P of E)for(const{selectedSource:F}of P.selectorStates){S.push(In(F));const k=await _a(e,F,g);k&&S.push(k)}const B=await e.pFrameProvider.getTableOuterJoin(C,S,h);return[...C,...S].forEach(P=>{const F=P.toCanonicalString();d.values[F]=Ar(P)?B.columnsData[F]:B.axesData[F]}),d.values.key=d.values[Object.keys(d.values)[0]].map((P,F)=>F),d}async createChartSettings(e,t){var n,r;const i=(n=t.components.x.selectorStates[0])==null?void 0:n.selectedSource,o=(r=t.components.y.selectorStates[0])==null?void 0:r.selectedSource,s=i?In(i):null,a=o?In(o):null;if(!i||!o||!s||!a||!Ar(s)&&!Ar(a))throw Error("Empty or invalid required data");const u=[s,a].filter(Ar).map(S=>S.toCanonicalString()),d={type:"column",value:i,label:await aa(e,i,u)},h={type:"column",value:o,label:await aa(e,o,u)},p={type:"column",value:"key"},g=await Promise.all(t.components.facetBy.selectorStates.map(async S=>{var E,B;return{type:"column",value:(B=(E=await _a(e,S.selectedSource,u))==null?void 0:E.toCanonicalString())!=null?B:S.selectedSource}})),C=await Promise.all(t.components.grouping.selectorStates.map(async S=>{var E,B;const P=S.selectedSource;return{type:"column",label:await aa(e,P,u)||P,value:P,valueLabels:(B=(E=await _a(e,P,u))==null?void 0:E.toCanonicalString())!=null?B:P}}));return{type:"scatterplot-umap",x:d,y:h,keyColumn:p,facetBy:g,grouping:C}}},VB="pl7.app/dendrogram/nodeId",N7="sequenceOrder",V7="sequenceValue",dC="id",Yre={type:"dendro",components:{value:{type:"simple",selectorStates:[]},height:{type:"simple",selectorStates:[]},labels:{type:"simple",selectorStates:[]},tableContent:{type:"simple",selectorStates:[]},nodeColor:{type:"simple",selectorStates:[]},nodeShape:{type:"simple",selectorStates:[]},nodeSize:{type:"simple",selectorStates:[]},lineColor:{type:"simple",selectorStates:[]},heatmapAnnotation:{type:"simple",selectorStates:[]},heatmapForSequence:{type:"simple",selectorStates:[]},filters:{type:"filter",selectorStates:[]},tabBy:{type:"filter",selectorStates:[]},facetBy:{type:"simple",selectorStates:[]},heatmapAxis:{type:"simple",selectorStates:[]},heatmapGroup:{type:"simple",selectorStates:[]}},dividedAxes:{}},Kre=class extends q3{constructor(){super({value:new Xr({componentName:"value",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isTopology":"true"},settings:{columnsAllowed:!0,required:!0,dimensionConsumer:!0}}),height:new Xr({componentName:"height",allowedTypes:["Int","Long","Double","Float"],annotations:{"pl7.app/dendrogram/isDistance":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1,dimensionConsumer:!0}}),labels:new Xr({componentName:"labels",allowedTypes:["Int","String","Long"],annotations:{"pl7.app/dendrogram/isLabel":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),tableContent:new Xr({componentName:"tableContent",allowedTypes:["Int","String","Long","Double","Float"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0,multipleSelectors:!0}}),nodeShape:new Xr({componentName:"nodeShape",allowedTypes:["Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeSize:new Xr({componentName:"nodeSize",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeColor:new Xr({componentName:"nodeColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),lineColor:new Xr({componentName:"lineColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),heatmapForSequence:new Xr({componentName:"heatmapForSequence",allowedTypes:["String"],annotations:{"pl7.app/type":"sequence"},parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!0}}),heatmapAnnotation:new Xr({componentName:"heatmapAnnotation",allowedTypes:["Double","Int","Long","Float","String"],parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!1}}),facetBy:new Xr({componentName:"facetBy",allowedTypes:["String","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapAxis:new Xr({componentName:"heatmapAxis",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapGroup:new Xr({componentName:"heatmapGroup",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}})},{filters:new Xr({componentName:"filters",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),tabBy:new Xr({componentName:"tabBy",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}})}),this.ignoredOptionIdNames=[VB]}readyDataInputs(e){return e.components.value.selectorStates.length>0}async createTableData(e,t){var n;const r={},i=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=In(i);if(!i||!Ar(o))throw Error("Value column is not valid");const s=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],a=[...t.components.filters.selectorStates.map(B=>In(B.selectedSource)),...t.components.tabBy.selectorStates.map(B=>In(B.selectedSource))].filter(Ar),u=[i],d=[],h=[],p=[t.components.value],g=[t.components.tableContent,t.components.labels,t.components.nodeColor,t.components.nodeSize,t.components.nodeShape,t.components.lineColor],C={};for(const B of p)for(const{selectedSource:P}of B.selectorStates){const F=await _a(e,P,u),k=F??In(P);C[k.toCanonicalString()]=P,d.push(k)}for(const B of g)for(const{selectedSource:P}of B.selectorStates){const F=await _a(e,P,u),k=F??In(P);C[P]=k.toCanonicalString(),h.push(k)}const S=await e.pFrameProvider.getTableOuterJoin([...d,...a],h,s,!1);for(const B of[...d,...h]){const P=B.toCanonicalString(),F=C[B.toCanonicalString()];r[F]={data:Ar(B)?S.columnsData[P]:S.axesData[P],label:await aa(e,F,u)}}const E=Object.keys(S.axesData).find(B=>{var P;return((P=In(B))==null?void 0:P.name)===VB});return E?r[dC]={data:S.axesData[E],label:"Node id"}:console.warn("Missed node id axis in data column"),r}async createDataByColumns(e,t){var n,r,i,o,s;const a=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,u=(r=t.components.heatmapAnnotation.selectorStates[0])==null?void 0:r.selectedSource,d=In(a),h=u?In(u):null;if(!a||!Ar(d))throw Error("Value column is not valid");const p={type:"columns",id:(i=av({data:a,filters:[...t.components.filters.selectorStates,...t.components.tabBy.selectorStates]}))!=null?i:"",values:{}},g=[...t.components.filters.selectorStates.map(Jf),...t.components.tabBy.selectorStates.map(Jf)],C=[...t.components.filters.selectorStates.map(W=>In(W.selectedSource)),...t.components.tabBy.selectorStates.map(W=>In(W.selectedSource))].filter(Ar),S=[d,h].filter(Ar).map(W=>W.toCanonicalString()),E=[],B=[],P=[t.components.value,t.components.height,t.components.labels,t.components.nodeColor,t.components.nodeSize,t.components.nodeShape,t.components.lineColor,t.components.heatmapAnnotation,t.components.heatmapForSequence],F=[t.components.facetBy,t.components.heatmapAxis,t.components.heatmapGroup,t.components.tableContent];for(const W of P)for(const{selectedSource:Z}of W.selectorStates){E.push(In(Z));const ee=await _a(e,Z,S);ee&&E.push(ee)}for(const W of F)for(const{selectedSource:Z}of W.selectorStates){B.push(In(Z));const ee=await _a(e,Z,S);ee&&B.push(ee)}const k=await e.pFrameProvider.getTableOuterJoin([...E,...C],B,g,!1),$=t.components.heatmapForSequence.selectorStates.length>0?t.components.heatmapForSequence.selectorStates[0].selectedSource:null;let V=[],O=[];if($){O=Ar(In($))?k.columnsData[$]:k.axesData[$];const W=O.find(Z=>Z!==null);W&&(V=String(W).split("").map((Z,ee)=>ee),p.values[N7]=[],p.values[V7]=[])}const L=(s=(o=Object.values(k.columnsData)[0])==null?void 0:o.length)!=null?s:0;[...E,...B].forEach(W=>{const Z=W.toCanonicalString(),ee=Ar(W)?k.columnsData[Z]:k.axesData[Z];p.values[Z]=[],$?V.forEach(()=>{p.values[Z]=p.values[Z].concat(ee)}):p.values[Z]=ee}),$&&V.forEach(W=>{p.values[N7]=p.values[N7].concat(new Array(L).fill(W)),p.values[V7]=p.values[V7].concat(O.map(Z=>Z?String(Z)[W]:null))});const z=Object.keys(k.axesData).find(W=>{var Z;return((Z=In(W))==null?void 0:Z.name)===VB});return z?$?(p.values[dC]=[],V.forEach(()=>{p.values[dC]=p.values[dC].concat(k.axesData[z])})):p.values[dC]=k.axesData[z]:console.warn("Missed node id axis in data column"),p}async createChartSettings(e,t){var n;const r=(n=t.components.value.selectorStates[0])==null?void 0:n.selectedSource,i=In(r);if(!r||!Ar(i))throw Error("Data column is not valid");const o=[r],s={type:"column",value:dC},a={type:"column",value:r},u=t.components.height.selectorStates.length?{type:"column",value:t.components.height.selectorStates[0].selectedSource}:void 0,d=t.components.labels.selectorStates.length?{type:"column",value:t.components.labels.selectorStates[0].selectedSource}:void 0,h={};if(t.components.nodeColor.selectorStates.length){const S=t.components.nodeColor.selectorStates[0].selectedSource;h.nodeColor={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.nodeShape.selectorStates.length){const S=t.components.nodeShape.selectorStates[0].selectedSource;h.nodeShape={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.nodeSize.selectorStates.length){const S=t.components.nodeSize.selectorStates[0].selectedSource;h.nodeSize={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}if(t.components.lineColor.selectorStates.length){const S=t.components.lineColor.selectorStates[0].selectedSource;h.lineColor={columnName:{type:"column",value:S,label:await aa(e,S,o)}}}let p,g,C;return t.components.heatmapAnnotation.selectorStates.length&&t.components.heatmapAxis.selectorStates.length?(p={type:"column",value:t.components.heatmapAnnotation.selectorStates[0].selectedSource},g={type:"column",value:t.components.heatmapAxis.selectorStates[0].selectedSource},C=t.components.heatmapGroup.selectorStates.map(S=>({type:"column",value:S.selectedSource}))):t.components.heatmapForSequence.selectorStates.length&&(p={type:"column",value:V7},g={type:"column",value:N7}),{type:"dendro",id:s,parentId:a,height:u,labels:d,aes:h,heatmapAnnotation:p,heatmapAxis:g,heatmapGroup:C}}};function G7(e,t){return e==="String"?t.data:Array.from(t.data).map(n=>e==="Int"&&n===-2147483648||e==="Long"&&n===BigInt(-9007199254740991)||(e==="Double"||e==="Float")&&isNaN(n)?null:Number(n))}var Xre=class{constructor(e,t){this.pframeHandle=e,this.pframeDriver=t}async getSingleColumnData(e,t=[]){try{const n=await this.pframeDriver.calculateTableData(this.pframeHandle,{src:{type:"column",column:e.name},filters:t,sorting:[]}),r=n.filter(o=>o.spec.type==="axis"),i=n.filter(o=>o.spec.type==="column");return{axesData:r.reduce((o,s)=>{const a=Zf.fromAxisSpec(s.spec.spec);return o[a.toCanonicalString()]=G7(a.type,s.data),o},{}),data:i.length?G7(e.type,i[0].data):[]}}catch(n){throw console.error("PFrame: single column data error"),n}}async getColumnUniqueValues(e,t=[]){const n={columnId:e.name,filters:t,limit:10};try{const r=await this.pframeDriver.getUniqueValues(this.pframeHandle,n);return Array.from(r.values.data).map(String)}catch{return[]}}async getAxisUniqueValues(e,t,n=[]){try{const r=t.filter(Ar),i=await Promise.all(r.map(o=>this.pframeDriver.getUniqueValues(this.pframeHandle,{columnId:o.name,axis:e.toPFrameId(),filters:n,limit:1e3})));return yr.uniq(yr.flatten(i.map(o=>Array.from(o.values.data).map(String))))}catch{return[]}}async getTableOuterJoin(e,t,n=[],r=!0){const i=e.filter(Ar),o=t.filter(Ar),s={src:{type:"outer",primary:{type:r?"inner":"full",entries:i.map(a=>({type:"column",column:a.name}))},secondary:o.map(a=>({type:"column",column:a.name}))},filters:n,sorting:[]};try{const a=await this.pframeDriver.calculateTableData(this.pframeHandle,s),u=a.filter(h=>h.spec.type==="axis"),d=a.filter(h=>h.spec.type==="column");return{axesData:u.reduce((h,p)=>{const g=Zf.fromAxisSpec(p.spec.spec);return h[g.toCanonicalString()]=G7(g.type,p.data),h},{}),columnsData:d.reduce((h,p)=>{const g=p.spec.spec,C=new cC({name:p.spec.id,type:g.valueType});return h[C.toCanonicalString()]=G7(C.type,p.data),h},{})}}catch(a){throw console.error("PFrame: table outer join error"),console.info("error with request: ",s),a}}async getColumnSpecById(e){try{const t=await this.pframeDriver.getColumnSpec(this.pframeHandle,e.name);return t??null}catch{return console.error("PFrame: get single column error"),null}}async getColumnAxesIds(e){var t,n;return(n=(t=await this.getColumnSpecById(e))==null?void 0:t.axesSpec.map(r=>Zf.fromAxisSpec(r)))!=null?n:[]}async getRequestColumnsFromSelectedSources(e){var t,n;const r=[];for(const i of e)if(Ar(i)){const o=(n=(t=await this.getColumnSpecById(i))==null?void 0:t.axesSpec)!=null?n:[];r.push(...o.map(s=>Zf.fromAxisSpec(s).toPFrameId()))}return r}async getColumnsList(){return this.pframeDriver.listColumns(this.pframeHandle)}async getColumns(e,t,n,r){try{const i={columnFilter:{type:t,annotationValue:n},compatibleWith:await this.getRequestColumnsFromSelectedSources(e),strictlyCompatible:r},o=await this.pframeDriver.findColumns(this.pframeHandle,i),s=[];return o.hits.forEach(({columnId:a,spec:u})=>{s.push(new cC({name:a,type:u.valueType}))}),s}catch(i){throw console.error("PFrame: get columns error",i),i}}},Zre=class{constructor(e,t,n=(r,i)=>i??r){this.labelsModifier=n,this.pFrameProvider=new Xre(e,t)}},$L={controllers:{discrete:new Gre,scatterplot:new Ure,"scatterplot-umap":new jre,heatmap:new zre,dendro:new Kre},initialStates:{discrete:Vre,scatterplot:Qre,"scatterplot-umap":Wre,heatmap:$re,dendro:Yre}};function $7(e){return $L.controllers[e]}function Jre(e){return $L.initialStates[e]}const zr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},qre={},eie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tie(e,t){return A.openBlock(),A.createElementBlock("svg",eie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25V21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 1C17.5523 1 18 1.44772 18 2C18 2.55228 17.5523 3 17 3C16.4477 3 16 2.55228 16 2C16 1.44772 16.4477 1 17 1ZM15 6.75H16.25L16.25 9H14C13.4477 9 13 9.44771 13 10V12.125V13.25V14V14.75V16V18C13 18.5523 13.4477 19 14 19H16.25L16.25 21.25H15H14.25V22.75H15H19H19.75V21.25H19H17.75V19H20C20.5523 19 21 18.5523 21 18V16V14.75V14V13.25V12.125V10C21 9.44771 20.5523 9 20 9H17.75V6.75H19H19.75V5.25H19H15H14.25V6.75H15ZM16.25 10.5H14.5V12.125V13.25H19.5V12.125V10.5H17.75H16.25ZM14.5 16V14.75H19.5V16V17.5H14.5V16Z",fill:"#07AD3E"},null,-1)]))}const nie=zr(qre,[["render",tie]]),rie={},iie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function oie(e,t){return A.openBlock(),A.createElementBlock("svg",iie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25L6.25 21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.25 7C14.25 5.75736 15.2574 4.75 16.5 4.75C17.7426 4.75 18.75 5.75736 18.75 7C18.75 7.08866 18.7449 7.17613 18.7349 7.26211C19.8671 7.37957 20.75 8.33668 20.75 9.5C20.75 10.6633 19.8671 11.6204 18.7349 11.7379C18.7449 11.8239 18.75 11.9113 18.75 12C18.75 13.2426 17.7426 14.25 16.5 14.25C15.2574 14.25 14.25 13.2426 14.25 12C14.25 11.9113 14.2551 11.8239 14.2651 11.7379C13.1329 11.6204 12.25 10.6633 12.25 9.5C12.25 8.33668 13.1329 7.37957 14.2651 7.26211C14.2551 7.17613 14.25 7.08866 14.25 7ZM16.5 6.25C16.0858 6.25 15.75 6.58579 15.75 7C15.75 7.41421 16.0858 7.75 16.5 7.75C16.9142 7.75 17.25 7.41421 17.25 7C17.25 6.58579 16.9142 6.25 16.5 6.25ZM13.75 9.5C13.75 9.08579 14.0858 8.75 14.5 8.75C14.9142 8.75 15.25 9.08579 15.25 9.5C15.25 9.91421 14.9142 10.25 14.5 10.25C14.0858 10.25 13.75 9.91421 13.75 9.5ZM18.5 8.75C18.0858 8.75 17.75 9.08579 17.75 9.5C17.75 9.91421 18.0858 10.25 18.5 10.25C18.9142 10.25 19.25 9.91421 19.25 9.5C19.25 9.08579 18.9142 8.75 18.5 8.75ZM14.25 18.5C14.25 17.2574 15.2574 16.25 16.5 16.25C17.7426 16.25 18.75 17.2574 18.75 18.5C18.75 19.7426 17.7426 20.75 16.5 20.75C15.2574 20.75 14.25 19.7426 14.25 18.5ZM16.5 17.75C16.0858 17.75 15.75 18.0858 15.75 18.5C15.75 18.9142 16.0858 19.25 16.5 19.25C16.9142 19.25 17.25 18.9142 17.25 18.5C17.25 18.0858 16.9142 17.75 16.5 17.75ZM15.75 12C15.75 11.5858 16.0858 11.25 16.5 11.25C16.9142 11.25 17.25 11.5858 17.25 12C17.25 12.4142 16.9142 12.75 16.5 12.75C16.0858 12.75 15.75 12.4142 15.75 12Z",fill:"#07AD3E"},null,-1)]))}const sie=zr(rie,[["render",oie]]),aie={},lie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function uie(e,t){return A.openBlock(),A.createElementBlock("svg",lie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 1.25H4.25V2.75H5H6.25L6.25 5H4C3.44772 5 3 5.44772 3 6V8V9.25V10V10.75V12V16C3 16.5523 3.44772 17 4 17H6.25L6.25 21.25H5H4.25V22.75H5H9H9.75V21.25H9H7.75V17H10C10.5523 17 11 16.5523 11 16V12V10.75V10V9.25V8V6C11 5.44771 10.5523 5 10 5H7.75V2.75H9H9.75V1.25H9H5ZM4.5 10.75H9.5V12V15.5H4.5V12V10.75ZM9.5 9.25H4.5V8V6.5H9.5V8V9.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18 3C18 3.55228 17.5523 4 17 4C16.4477 4 16 3.55228 16 3C16 2.44772 16.4477 2 17 2C17.5523 2 18 2.44772 18 3ZM17 15C17 15.5523 16.5523 16 16 16C15.4477 16 15 15.5523 15 15C15 14.4477 15.4477 14 16 14C16.5523 14 17 14.4477 17 15ZM18 17.5C18.5523 17.5 19 17.0523 19 16.5C19 15.9477 18.5523 15.5 18 15.5C17.4477 15.5 17 15.9477 17 16.5C17 17.0523 17.4477 17.5 18 17.5ZM17 6.5C17 7.05228 16.5523 7.5 16 7.5C15.4477 7.5 15 7.05228 15 6.5C15 5.94772 15.4477 5.5 16 5.5C16.5523 5.5 17 5.94772 17 6.5ZM18 9.5C18.5523 9.5 19 9.05228 19 8.5C19 7.94772 18.5523 7.5 18 7.5C17.4477 7.5 17 7.94772 17 8.5C17 9.05228 17.4477 9.5 18 9.5ZM21 15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15C19 14.4477 19.4477 14 20 14C20.5523 14 21 14.4477 21 15ZM15 13.5C15.5523 13.5 16 13.0523 16 12.5C16 11.9477 15.5523 11.5 15 11.5C14.4477 11.5 14 11.9477 14 12.5C14 13.0523 14.4477 13.5 15 13.5ZM15 16.5C15 17.0523 14.5523 17.5 14 17.5C13.4477 17.5 13 17.0523 13 16.5C13 15.9477 13.4477 15.5 14 15.5C14.5523 15.5 15 15.9477 15 16.5ZM16 19C16.5523 19 17 18.5523 17 18C17 17.4477 16.5523 17 16 17C15.4477 17 15 17.4477 15 18C15 18.5523 15.4477 19 16 19ZM18 11C18 11.5523 17.5523 12 17 12C16.4477 12 16 11.5523 16 11C16 10.4477 16.4477 10 17 10C17.5523 10 18 10.4477 18 11ZM18 14.5C18.5523 14.5 19 14.0523 19 13.5C19 12.9477 18.5523 12.5 18 12.5C17.4477 12.5 17 12.9477 17 13.5C17 14.0523 17.4477 14.5 18 14.5ZM18 20.5C18 21.0523 17.5523 21.5 17 21.5C16.4477 21.5 16 21.0523 16 20.5C16 19.9477 16.4477 19.5 17 19.5C17.5523 19.5 18 19.9477 18 20.5Z",fill:"#07AD3E"},null,-1)]))}const cie=zr(aie,[["render",uie]]),die={},hie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function fie(e,t){return A.openBlock(),A.createElementBlock("svg",hie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25H21" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M14 11.5C14 12.3284 13.3284 13 12.5 13C11.6716 13 11 12.3284 11 11.5C11 10.6716 11.6716 10 12.5 10C13.3284 10 14 10.6716 14 11.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M14 14.5C14 15.3284 13.3284 16 12.5 16C11.6716 16 11 15.3284 11 14.5C11 13.6716 11.6716 13 12.5 13C13.3284 13 14 13.6716 14 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M14 17.5C14 18.3284 13.3284 19 12.5 19C11.6716 19 11 18.3284 11 17.5C11 16.6716 11.6716 16 12.5 16C13.3284 16 14 16.6716 14 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M9 17.5C9 18.3284 8.32843 19 7.5 19C6.67157 19 6 18.3284 6 17.5C6 16.6716 6.67157 16 7.5 16C8.32843 16 9 16.6716 9 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 8.5C17 9.32843 16.3284 10 15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 5.5C17 6.32843 16.3284 7 15.5 7C14.6716 7 14 6.32843 14 5.5C14 4.67157 14.6716 4 15.5 4C16.3284 4 17 4.67157 17 5.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 17.5C17 18.3284 16.3284 19 15.5 19C14.6716 19 14 18.3284 14 17.5C14 16.6716 14.6716 16 15.5 16C16.3284 16 17 16.6716 17 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M20 17.5C20 18.3284 19.3284 19 18.5 19C17.6716 19 17 18.3284 17 17.5C17 16.6716 17.6716 16 18.5 16C19.3284 16 20 16.6716 20 17.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M20 14.5C20 15.3284 19.3284 16 18.5 16C17.6716 16 17 15.3284 17 14.5C17 13.6716 17.6716 13 18.5 13C19.3284 13 20 13.6716 20 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 14.5C17 15.3284 16.3284 16 15.5 16C14.6716 16 14 15.3284 14 14.5C14 13.6716 14.6716 13 15.5 13C16.3284 13 17 13.6716 17 14.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 11.5C17 12.3284 16.3284 13 15.5 13C14.6716 13 14 12.3284 14 11.5C14 10.6716 14.6716 10 15.5 10C16.3284 10 17 10.6716 17 11.5Z" stroke="#07AD3E" stroke-width="1.5"></path>',18)]))}const pie=zr(die,[["render",fie]]),Aie={},gie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function vie(e,t){return A.openBlock(),A.createElementBlock("svg",gie,t[0]||(t[0]=[A.createStaticVNode('<path d="M18 3C18 3.55228 17.5523 4 17 4C16.4477 4 16 3.55228 16 3C16 2.44772 16.4477 2 17 2C17.5523 2 18 2.44772 18 3Z" fill="#07AD3E"></path><path d="M17 15C17 15.5523 16.5523 16 16 16C15.4477 16 15 15.5523 15 15C15 14.4477 15.4477 14 16 14C16.5523 14 17 14.4477 17 15Z" fill="#07AD3E"></path><path d="M18 17.5C18.5523 17.5 19 17.0523 19 16.5C19 15.9477 18.5523 15.5 18 15.5C17.4477 15.5 17 15.9477 17 16.5C17 17.0523 17.4477 17.5 18 17.5Z" fill="#07AD3E"></path><path d="M17 6.5C17 7.05228 16.5523 7.5 16 7.5C15.4477 7.5 15 7.05228 15 6.5C15 5.94772 15.4477 5.5 16 5.5C16.5523 5.5 17 5.94772 17 6.5Z" fill="#07AD3E"></path><path d="M18 9.5C18.5523 9.5 19 9.05228 19 8.5C19 7.94772 18.5523 7.5 18 7.5C17.4477 7.5 17 7.94772 17 8.5C17 9.05228 17.4477 9.5 18 9.5Z" fill="#07AD3E"></path><path d="M21 15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15C19 14.4477 19.4477 14 20 14C20.5523 14 21 14.4477 21 15Z" fill="#07AD3E"></path><path d="M15 13.5C15.5523 13.5 16 13.0523 16 12.5C16 11.9477 15.5523 11.5 15 11.5C14.4477 11.5 14 11.9477 14 12.5C14 13.0523 14.4477 13.5 15 13.5Z" fill="#07AD3E"></path><path d="M15 16.5C15 17.0523 14.5523 17.5 14 17.5C13.4477 17.5 13 17.0523 13 16.5C13 15.9477 13.4477 15.5 14 15.5C14.5523 15.5 15 15.9477 15 16.5Z" fill="#07AD3E"></path><path d="M16 19C16.5523 19 17 18.5523 17 18C17 17.4477 16.5523 17 16 17C15.4477 17 15 17.4477 15 18C15 18.5523 15.4477 19 16 19Z" fill="#07AD3E"></path><path d="M18 11C18 11.5523 17.5523 12 17 12C16.4477 12 16 11.5523 16 11C16 10.4477 16.4477 10 17 10C17.5523 10 18 10.4477 18 11Z" fill="#07AD3E"></path><path d="M18 14.5C18.5523 14.5 19 14.0523 19 13.5C19 12.9477 18.5523 12.5 18 12.5C17.4477 12.5 17 12.9477 17 13.5C17 14.0523 17.4477 14.5 18 14.5Z" fill="#07AD3E"></path><path d="M18 20.5C18 21.0523 17.5523 21.5 17 21.5C16.4477 21.5 16 21.0523 16 20.5C16 19.9477 16.4477 19.5 17 19.5C17.5523 19.5 18 19.9477 18 20.5Z" fill="#07AD3E"></path><path d="M8 3C8 2.44772 7.55228 2 7 2C6.44772 2 6 2.44772 6 3C6 3.55228 6.44772 4 7 4C7.55228 4 8 3.55228 8 3Z" fill="#110529"></path><path d="M6 4.5C6.55228 4.5 7 4.94772 7 5.5C7 6.05228 6.55228 6.5 6 6.5C5.44772 6.5 5 6.05228 5 5.5C5 4.94772 5.44772 4.5 6 4.5Z" fill="#110529"></path><path d="M5 7C5 6.44772 4.55228 6 4 6C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8C4.55228 8 5 7.55228 5 7Z" fill="#110529"></path><path d="M8 6C8.55228 6 9 6.44772 9 7C9 7.55228 8.55228 8 8 8C7.44772 8 7 7.55228 7 7C7 6.44772 7.44772 6 8 6Z" fill="#110529"></path><path d="M7 8.5C7 7.94772 6.55228 7.5 6 7.5C5.44772 7.5 5 7.94772 5 8.5C5 9.05228 5.44772 9.5 6 9.5C6.55228 9.5 7 9.05228 7 8.5Z" fill="#110529"></path><path d="M8 20.5C8 19.9477 7.55228 19.5 7 19.5C6.44772 19.5 6 19.9477 6 20.5C6 21.0523 6.44772 21.5 7 21.5C7.55228 21.5 8 21.0523 8 20.5Z" fill="#110529"></path><path d="M7 17C7 16.4477 6.55228 16 6 16C5.44772 16 5 16.4477 5 17C5 17.5523 5.44772 18 6 18C6.55228 18 7 17.5523 7 17Z" fill="#110529"></path><path d="M8 14C8.55228 14 9 14.4477 9 15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15C7 14.4477 7.44772 14 8 14Z" fill="#110529"></path><path d="M11 8.5C11 7.94772 10.5523 7.5 10 7.5C9.44772 7.5 9 7.94772 9 8.5C9 9.05228 9.44772 9.5 10 9.5C10.5523 9.5 11 9.05228 11 8.5Z" fill="#110529"></path><path d="M5 10C5.55228 10 6 10.4477 6 11C6 11.5523 5.55228 12 5 12C4.44772 12 4 11.5523 4 11C4 10.4477 4.44772 10 5 10Z" fill="#110529"></path><path d="M8 12.5C8 11.9477 7.55228 11.5 7 11.5C6.44772 11.5 6 11.9477 6 12.5C6 13.0523 6.44772 13.5 7 13.5C7.55228 13.5 8 13.0523 8 12.5Z" fill="#110529"></path><path d="M8 9C8.55228 9 9 9.44772 9 10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10C7 9.44772 7.44772 9 8 9Z" fill="#110529"></path>',24)]))}const mie=zr(Aie,[["render",vie]]),yie={},Cie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wie(e,t){return A.openBlock(),A.createElementBlock("svg",Cie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40827 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M16.1603 11.6035C16.5892 12.0178 17.0904 12.5021 17.5 13.1017C17.9096 12.5021 18.4108 12.0178 18.8397 11.6035C18.8575 11.5863 18.8751 11.5692 18.8927 11.5522C19.7742 10.6998 20.25 10.1824 20.25 9.5C20.25 8.81759 19.7742 8.30021 18.8927 7.4478C18.8751 7.43083 18.8575 7.41374 18.8397 7.39653C18.4108 6.98221 17.9096 6.49792 17.5 5.89827C17.0904 6.49792 16.5892 6.98221 16.1603 7.39653C16.1425 7.41374 16.1249 7.43083 16.1073 7.4478C15.2258 8.30021 14.75 8.81759 14.75 9.5C14.75 10.1824 15.2258 10.6998 16.1073 11.5522C16.1249 11.5692 16.1425 11.5863 16.1603 11.6035Z",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("circle",{cx:"17.5",cy:"18",r:"0.5",stroke:"#07AD3E"},null,-1)]))}const Sie=zr(yie,[["render",wie]]),bie={},Eie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xie(e,t){return A.openBlock(),A.createElementBlock("svg",Eie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40826 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.25 7C14.25 5.75736 15.2574 4.75 16.5 4.75C17.7426 4.75 18.75 5.75736 18.75 7C18.75 7.08866 18.7449 7.17613 18.7349 7.26211C19.8671 7.37957 20.75 8.33668 20.75 9.5C20.75 10.6633 19.8671 11.6204 18.7349 11.7379C18.7449 11.8239 18.75 11.9113 18.75 12C18.75 13.2426 17.7426 14.25 16.5 14.25C15.2574 14.25 14.25 13.2426 14.25 12C14.25 11.9113 14.2551 11.8239 14.2651 11.7379C13.1329 11.6204 12.25 10.6633 12.25 9.5C12.25 8.33668 13.1329 7.37957 14.2651 7.26211C14.2551 7.17613 14.25 7.08866 14.25 7ZM16.5 6.25C16.0858 6.25 15.75 6.58579 15.75 7C15.75 7.41421 16.0858 7.75 16.5 7.75C16.9142 7.75 17.25 7.41421 17.25 7C17.25 6.58579 16.9142 6.25 16.5 6.25ZM13.75 9.5C13.75 9.08579 14.0858 8.75 14.5 8.75C14.9142 8.75 15.25 9.08579 15.25 9.5C15.25 9.91421 14.9142 10.25 14.5 10.25C14.0858 10.25 13.75 9.91421 13.75 9.5ZM18.5 8.75C18.0858 8.75 17.75 9.08579 17.75 9.5C17.75 9.91421 18.0858 10.25 18.5 10.25C18.9142 10.25 19.25 9.91421 19.25 9.5C19.25 9.08579 18.9142 8.75 18.5 8.75ZM14.25 18.5C14.25 17.2574 15.2574 16.25 16.5 16.25C17.7426 16.25 18.75 17.2574 18.75 18.5C18.75 19.7426 17.7426 20.75 16.5 20.75C15.2574 20.75 14.25 19.7426 14.25 18.5ZM16.5 17.75C16.0858 17.75 15.75 18.0858 15.75 18.5C15.75 18.9142 16.0858 19.25 16.5 19.25C16.9142 19.25 17.25 18.9142 17.25 18.5C17.25 18.0858 16.9142 17.75 16.5 17.75ZM15.75 12C15.75 11.5858 16.0858 11.25 16.5 11.25C16.9142 11.25 17.25 11.5858 17.25 12C17.25 12.4142 16.9142 12.75 16.5 12.75C16.0858 12.75 15.75 12.4142 15.75 12Z",fill:"#07AD3E"},null,-1)]))}const Rie=zr(bie,[["render",xie]]),Bie={},Tie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Pie(e,t){return A.openBlock(),A.createElementBlock("svg",Tie,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5.25 6.225C5.25 5.2973 5.72673 4.83692 6.50349 4.27228C6.57903 4.21737 6.65984 4.16045 6.74435 4.10093C7.13565 3.82533 7.60622 3.49391 8 3.04693C8.39378 3.49391 8.86435 3.82533 9.25565 4.10093C9.34016 4.16045 9.42097 4.21737 9.49651 4.27228C10.2733 4.83692 10.75 5.2973 10.75 6.225C10.75 6.98245 10.4136 7.42894 9.96423 7.88766C9.91223 7.94075 9.85282 7.99937 9.78954 8.06181C9.60563 8.24327 9.38899 8.45703 9.22609 8.66134C8.98372 8.96531 8.75 9.37152 8.75 9.9C8.75 10.2529 8.89718 10.5561 9.04005 10.7795C9.1882 11.0112 9.38331 11.2356 9.5837 11.4445C9.81868 11.6895 10.1205 11.9716 10.424 12.2553C10.6132 12.4321 10.8031 12.6096 10.9779 12.779C11.4667 13.2531 11.9187 13.7374 12.2473 14.2398C12.5747 14.7403 12.75 15.214 12.75 15.675C12.75 16.8257 11.9675 17.5375 10.6808 18.4832C10.5917 18.5487 10.5001 18.6153 10.4066 18.6832C9.61093 19.2617 8.67831 19.9396 8 20.8746C7.32169 19.9396 6.38907 19.2617 5.59338 18.6832C5.49988 18.6153 5.40827 18.5487 5.31918 18.4832C4.03253 17.5375 3.25 16.8257 3.25 15.675C3.25 15.2151 3.42451 14.7479 3.75038 14.2556C4.07818 13.7604 4.52918 13.2845 5.01908 12.8148C5.17958 12.6609 5.35137 12.5014 5.52353 12.3416C5.84428 12.0438 6.16631 11.7448 6.419 11.4786C6.62115 11.2656 6.81744 11.0354 6.96613 10.7948C7.11184 10.559 7.25 10.2526 7.25 9.9C7.25 9.36255 7.02776 8.9483 6.77782 8.62937C6.60371 8.4072 6.37475 8.18497 6.18446 8.00027C6.12892 7.94636 6.07668 7.89566 6.03005 7.84908C5.58055 7.40004 5.25 6.97698 5.25 6.225Z",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M16.1603 11.6035C16.5892 12.0178 17.0904 12.5021 17.5 13.1017C17.9096 12.5021 18.4108 12.0178 18.8397 11.6035C18.8575 11.5863 18.8751 11.5692 18.8927 11.5522C19.7742 10.6998 20.25 10.1824 20.25 9.5C20.25 8.81759 19.7742 8.30021 18.8927 7.4478C18.8751 7.43083 18.8575 7.41374 18.8397 7.39653C18.4108 6.98221 17.9096 6.49792 17.5 5.89827C17.0904 6.49792 16.5892 6.98221 16.1603 7.39653C16.1425 7.41374 16.1249 7.43083 16.1073 7.4478C15.2258 8.30021 14.75 8.81759 14.75 9.5C14.75 10.1824 15.2258 10.6998 16.1073 11.5522C16.1249 11.5692 16.1425 11.5863 16.1603 11.6035Z",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("circle",{cx:"17.5",cy:"18",r:"0.5",stroke:"#07AD3E"},null,-1)]))}const Die=zr(Bie,[["render",Pie]]),Fie={},kie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mie(e,t){return A.openBlock(),A.createElementBlock("svg",kie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M7 19L7 10" stroke="#07AD3E" stroke-width="1.5"></path><path d="M11 19L11 14" stroke="#110529" stroke-width="1.5"></path><path d="M15 19L15 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M19 19L19 7" stroke="#110529" stroke-width="1.5"></path>',11)]))}const Iie=zr(Fie,[["render",Mie]]),Hie={},Lie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _ie(e,t){return A.openBlock(),A.createElementBlock("svg",Lie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M5.49982 10.5L10.5037 5.49615C10.7829 5.21695 11.2307 5.20204 11.5279 5.46205L14.4718 8.03795C14.7689 8.29796 15.2168 8.28305 15.496 8.00385L20.4998 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M7 14V19" stroke="#110529" stroke-width="1.5"></path><path d="M11 10L11 19" stroke="#110529" stroke-width="1.5"></path><path d="M15 12V19" stroke="#110529" stroke-width="1.5"></path><path d="M19 9L19 19" stroke="#110529" stroke-width="1.5"></path>',12)]))}const zL=zr(Hie,[["render",_ie]]),Oie={},Nie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vie(e,t){return A.openBlock(),A.createElementBlock("svg",Nie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M11.25 11V13V16V18C11.25 18.1381 11.1381 18.25 11 18.25H9H7C6.86193 18.25 6.75 18.1381 6.75 18V16V13V11C6.75 10.8619 6.86193 10.75 7 10.75H9H11C11.1381 10.75 11.25 10.8619 11.25 11Z" stroke="#07AD3E" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.75 8V7.25H8.25V8H9.75ZM9.75 14V8H8.25V14H9.75Z" fill="#07AD3E"></path><path d="M19.25 6V9.66667V14.3333V18C19.25 18.1381 19.1381 18.25 19 18.25H17H15C14.8619 18.25 14.75 18.1381 14.75 18V14.3333V9.66667V6C14.75 5.86193 14.8619 5.75 15 5.75H17H19C19.1381 5.75 19.25 5.86193 19.25 6Z" stroke="#110529" stroke-width="1.5" stroke-linecap="round"></path><path d="M17 9V3" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path>',11)]))}const Gie=zr(Oie,[["render",Vie]]),$ie={},zie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Qie(e,t){return A.openBlock(),A.createElementBlock("svg",zie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M11 19L11 14" stroke="#110529" stroke-width="1.5"></path><path d="M11 13L11 9" stroke="#07AD3E" stroke-width="1.5"></path><path d="M15 19L15 7" stroke="#110529" stroke-width="1.5"></path><path d="M7 19L7 11" stroke="#110529" stroke-width="1.5"></path><path d="M19 19L19 11" stroke="#110529" stroke-width="1.5"></path><path d="M15 6L15 3" stroke="#07AD3E" stroke-width="1.5"></path><path d="M7 10L7 7" stroke="#07AD3E" stroke-width="1.5"></path><path d="M19 10L19 6" stroke="#07AD3E" stroke-width="1.5"></path>',15)]))}const Uie=zr($ie,[["render",Qie]]),Wie={},jie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yie(e,t){return A.openBlock(),A.createElementBlock("svg",jie,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M6 17L10.3949 10.1634C10.4567 10.0673 10.5759 10.0253 10.6843 10.0614L16.3157 11.9386C16.4241 11.9747 16.5433 11.9327 16.6051 11.8366L21 5" stroke="#07AD3E" stroke-width="1.5"></path>',8)]))}const QL=zr(Wie,[["render",Yie]]),Kie={},Xie={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Zie(e,t){return A.openBlock(),A.createElementBlock("svg",Xie,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.87166 17.4862C6.72148 18.5589 5.21191 19.25 3 19.25H2.25V20.75H3C5.01 20.75 6.5821 20.2481 7.84779 19.4106C7.78374 19.1173 7.75 18.8126 7.75 18.5C7.75 18.1506 7.79216 17.8111 7.87166 17.4862ZM16.5833 6.12522C17.6721 5.27714 19.0682 4.75 21 4.75H21.75V3.25H21C18.7445 3.25 17.0404 3.882 15.702 4.91089C15.8578 5.18652 15.9838 5.48129 16.0755 5.79079C16.253 5.8903 16.4227 6.00217 16.5833 6.12522ZM3.75 5.5L3.75 4H2.25L2.25 5.5H3.75ZM3.75 8.5V7H2.25L2.25 8.5H3.75ZM3.75 10L3.75 11.5H2.25L2.25 10H3.75ZM3.75 14.5V13H2.25V14.5H3.75ZM3.75 16L3.75 17.5H2.25V16H3.75ZM20.25 6.5V8L21.75 8V6.5H20.25ZM20.25 11V9.5H21.75V11H20.25ZM20.25 12.5V14H21.75V12.5H20.25ZM20.25 17V15.5H21.75V17H20.25ZM20.25 20V18.5H21.75V20H20.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.75 7C9.75 5.75736 10.7574 4.75 12 4.75C13.2426 4.75 14.25 5.75736 14.25 7C14.25 7.08866 14.2449 7.17613 14.2349 7.26211C15.3671 7.37957 16.25 8.33668 16.25 9.5C16.25 10.6633 15.3671 11.6204 14.2349 11.7379C14.2449 11.8239 14.25 11.9113 14.25 12C14.25 13.2426 13.2426 14.25 12 14.25C10.7574 14.25 9.75 13.2426 9.75 12C9.75 11.9113 9.75513 11.8239 9.7651 11.7379C8.63285 11.6204 7.75 10.6633 7.75 9.5C7.75 8.33668 8.63285 7.37957 9.7651 7.26211C9.75513 7.17613 9.75 7.08866 9.75 7ZM12 6.25C11.5858 6.25 11.25 6.58579 11.25 7C11.25 7.41421 11.5858 7.75 12 7.75C12.4142 7.75 12.75 7.41421 12.75 7C12.75 6.58579 12.4142 6.25 12 6.25ZM9.25 9.5C9.25 9.08579 9.58579 8.75 10 8.75C10.4142 8.75 10.75 9.08579 10.75 9.5C10.75 9.91421 10.4142 10.25 10 10.25C9.58579 10.25 9.25 9.91421 9.25 9.5ZM14 8.75C13.5858 8.75 13.25 9.08579 13.25 9.5C13.25 9.91421 13.5858 10.25 14 10.25C14.4142 10.25 14.75 9.91421 14.75 9.5C14.75 9.08579 14.4142 8.75 14 8.75ZM9.75 18.5C9.75 17.2574 10.7574 16.25 12 16.25C13.2426 16.25 14.25 17.2574 14.25 18.5C14.25 19.7426 13.2426 20.75 12 20.75C10.7574 20.75 9.75 19.7426 9.75 18.5ZM12 17.75C11.5858 17.75 11.25 18.0858 11.25 18.5C11.25 18.9142 11.5858 19.25 12 19.25C12.4142 19.25 12.75 18.9142 12.75 18.5C12.75 18.0858 12.4142 17.75 12 17.75ZM11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12C12.75 12.4142 12.4142 12.75 12 12.75C11.5858 12.75 11.25 12.4142 11.25 12Z",fill:"#07AD3E"},null,-1)]))}const Jie=zr(Kie,[["render",Zie]]),qie={},eoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function toe(e,t){return A.openBlock(),A.createElementBlock("svg",eoe,t[0]||(t[0]=[A.createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66173 18.3797C5.69642 18.9269 4.51239 19.25 3 19.25H2.25V20.75H3C5.08009 20.75 6.69121 20.2125 7.97909 19.3218C7.45744 19.133 7.00308 18.8038 6.66173 18.3797ZM15.6198 7.03708C15.6306 7.02483 15.6415 7.01261 15.6524 7.00044C16.858 5.65468 18.4693 4.75 21 4.75H21.75V3.25H21C18.0608 3.25 16.0579 4.32325 14.5803 5.94949C15.0122 6.21765 15.3709 6.59244 15.6198 7.03708ZM3.75 5.5L3.75 4H2.25L2.25 5.5H3.75ZM3.75 8.5V7H2.25L2.25 8.5H3.75ZM3.75 10L3.75 11.5H2.25L2.25 10H3.75ZM3.75 14.5V13H2.25V14.5H3.75ZM3.75 16L3.75 17.5H2.25V16H3.75ZM20.25 6.5V8L21.75 8V6.5H20.25ZM20.25 11V9.5H21.75V11H20.25ZM20.25 12.5V14H21.75V12.5H20.25ZM20.25 17V15.5H21.75V17H20.25ZM20.25 20V18.5H21.75V20H20.25Z" fill="#110529"></path><path d="M13 3C13 3.55228 12.5523 4 12 4C11.4477 4 11 3.55228 11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3Z" fill="#07AD3E"></path><path d="M12 15C12 15.5523 11.5523 16 11 16C10.4477 16 10 15.5523 10 15C10 14.4477 10.4477 14 11 14C11.5523 14 12 14.4477 12 15Z" fill="#07AD3E"></path><path d="M13 17.5C13.5523 17.5 14 17.0523 14 16.5C14 15.9477 13.5523 15.5 13 15.5C12.4477 15.5 12 15.9477 12 16.5C12 17.0523 12.4477 17.5 13 17.5Z" fill="#07AD3E"></path><path d="M12 6.5C12 7.05228 11.5523 7.5 11 7.5C10.4477 7.5 10 7.05228 10 6.5C10 5.94772 10.4477 5.5 11 5.5C11.5523 5.5 12 5.94772 12 6.5Z" fill="#07AD3E"></path><path d="M13 9.5C13.5523 9.5 14 9.05228 14 8.5C14 7.94772 13.5523 7.5 13 7.5C12.4477 7.5 12 7.94772 12 8.5C12 9.05228 12.4477 9.5 13 9.5Z" fill="#07AD3E"></path><path d="M16 15C16 15.5523 15.5523 16 15 16C14.4477 16 14 15.5523 14 15C14 14.4477 14.4477 14 15 14C15.5523 14 16 14.4477 16 15Z" fill="#07AD3E"></path><path d="M10 13.5C10.5523 13.5 11 13.0523 11 12.5C11 11.9477 10.5523 11.5 10 11.5C9.44772 11.5 9 11.9477 9 12.5C9 13.0523 9.44772 13.5 10 13.5Z" fill="#07AD3E"></path><path d="M10 16.5C10 17.0523 9.55228 17.5 9 17.5C8.44772 17.5 8 17.0523 8 16.5C8 15.9477 8.44772 15.5 9 15.5C9.55228 15.5 10 15.9477 10 16.5Z" fill="#07AD3E"></path><path d="M11 19C11.5523 19 12 18.5523 12 18C12 17.4477 11.5523 17 11 17C10.4477 17 10 17.4477 10 18C10 18.5523 10.4477 19 11 19Z" fill="#07AD3E"></path><path d="M13 11C13 11.5523 12.5523 12 12 12C11.4477 12 11 11.5523 11 11C11 10.4477 11.4477 10 12 10C12.5523 10 13 10.4477 13 11Z" fill="#07AD3E"></path><path d="M13 14.5C13.5523 14.5 14 14.0523 14 13.5C14 12.9477 13.5523 12.5 13 12.5C12.4477 12.5 12 12.9477 12 13.5C12 14.0523 12.4477 14.5 13 14.5Z" fill="#07AD3E"></path><path d="M13 20.5C13 21.0523 12.5523 21.5 12 21.5C11.4477 21.5 11 21.0523 11 20.5C11 19.9477 11.4477 19.5 12 19.5C12.5523 19.5 13 19.9477 13 20.5Z" fill="#07AD3E"></path>',13)]))}const UL=zr(qie,[["render",toe]]),noe={},roe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ioe(e,t){return A.openBlock(),A.createElementBlock("svg",roe,t[0]||(t[0]=[A.createElementVNode("path",{d:"M5 16.5C13.5556 16.5 10.4444 7.5 19 7.5",stroke:"#07AD3E","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M5 21.25V16.5V11.75M5 21.25H8M5 21.25H2M5 11.75H8M5 11.75H2M5 9.5V8M5 6.5V5M5 3.5V2",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M5 21.25V16.5V11.75M5 21.25H8M5 21.25H2M5 11.75H8M5 11.75H2M5 9.5V8M5 6.5V5M5 3.5V2",stroke:"#110529","stroke-width":"1.5"},null,-1),A.createElementVNode("path",{d:"M19 2.75V7.5V12.25M19 2.75H16M19 2.75H22M19 12.25H16M19 12.25H22M19 14.5V16M19 17.5V19M19 20.5V22",stroke:"#110529","stroke-width":"1.5"},null,-1)]))}const ooe=zr(noe,[["render",ioe]]),soe={},aoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function loe(e,t){return A.openBlock(),A.createElementBlock("svg",aoe,t[0]||(t[0]=[A.createStaticVNode('<path d="M18 4.5C18 3.94772 17.5523 3.5 17 3.5C16.4477 3.5 16 3.94772 16 4.5C16 5.05228 16.4477 5.5 17 5.5C17.5523 5.5 18 5.05228 18 4.5Z" fill="#07AD3E"></path><path d="M17 18.5C17.5523 18.5 18 18.9477 18 19.5C18 20.0523 17.5523 20.5 17 20.5C16.4477 20.5 16 20.0523 16 19.5C16 18.9477 16.4477 18.5 17 18.5Z" fill="#07AD3E"></path><path d="M16 16.5C16.5523 16.5 17 16.9477 17 17.5C17 18.0523 16.5523 18.5 16 18.5C15.4477 18.5 15 18.0523 15 17.5C15 16.9477 15.4477 16.5 16 16.5Z" fill="#07AD3E"></path><path d="M17 17.5C17 16.9477 17.4477 16.5 18 16.5C18.5523 16.5 19 16.9477 19 17.5C19 18.0523 18.5523 18.5 18 18.5C17.4477 18.5 17 18.0523 17 17.5Z" fill="#07AD3E"></path><path d="M17 14.5C17.5523 14.5 18 14.9477 18 15.5C18 16.0523 17.5523 16.5 17 16.5C16.4477 16.5 16 16.0523 16 15.5C16 14.9477 16.4477 14.5 17 14.5Z" fill="#07AD3E"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M16 7C16.5523 7 17 7.44772 17 8C17 8.55228 16.5523 9 16 9C15.4477 9 15 8.55228 15 8C15 7.44772 15.4477 7 16 7ZM17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10C15 9.44772 14.5523 9 14 9C13.4477 9 13 9.44772 13 10C13 10.5523 13.4477 11 14 11C14.5523 11 15 10.5523 15 10C15 10.5523 15.4477 11 16 11C15.4477 11 15 11.4477 15 12C15 12.5523 15.4477 13 16 13C16.5523 13 17 12.5523 17 12C17 12.5523 17.4477 13 18 13C18.5523 13 19 12.5523 19 12C19 11.4477 18.5523 11 18 11C18.5523 11 19 10.5523 19 10C19 10.5523 19.4477 11 20 11C20.5523 11 21 10.5523 21 10C21 9.44772 20.5523 9 20 9C19.4477 9 19 9.44772 19 10C19 9.44772 18.5523 9 18 9C18.5523 9 19 8.55228 19 8C19 7.44772 18.5523 7 18 7C17.4477 7 17 7.44772 17 8C17 8.55228 17.4477 9 18 9C17.4477 9 17 9.44772 17 10ZM17 10C17 10.5523 17.4477 11 18 11C17.4477 11 17 11.4477 17 12C17 11.4477 16.5523 11 16 11C16.5523 11 17 10.5523 17 10Z" fill="#07AD3E"></path><path d="M7 5.5C7.55228 5.5 8 5.05228 8 4.5C8 3.94772 7.55228 3.5 7 3.5C6.44772 3.5 6 3.94772 6 4.5C6 5.05228 6.44772 5.5 7 5.5Z" fill="#110529"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 15C8.55228 15 9 14.5523 9 14C9 14.5523 9.44772 15 10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44772 13 9 13.4477 9 14C9 13.4477 8.55228 13 8 13C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11C7.44772 11 7 11.4477 7 12C7 11.4477 6.55228 11 6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13C5.44772 13 5 13.4477 5 14C5 13.4477 4.55228 13 4 13C3.44772 13 3 13.4477 3 14C3 14.5523 3.44772 15 4 15C4.55228 15 5 14.5523 5 14C5 14.5523 5.44772 15 6 15C5.44772 15 5 15.4477 5 16C5 16.5523 5.44772 17 6 17C6.55228 17 7 16.5523 7 16C7 16.5523 7.44772 17 8 17C8.55228 17 9 16.5523 9 16C9 15.4477 8.55228 15 8 15ZM8 15C7.44772 15 7 15.4477 7 16C7 15.4477 6.55228 15 6 15C6.55228 15 7 14.5523 7 14C7 14.5523 7.44772 15 8 15ZM7 14C7 13.4477 6.55228 13 6 13C6.55228 13 7 12.5523 7 12C7 12.5523 7.44772 13 8 13C7.44772 13 7 13.4477 7 14Z" fill="#110529"></path><path d="M6 7.5C6.55228 7.5 7 7.05228 7 6.5C7 7.05228 7.44772 7.5 8 7.5C8.55228 7.5 9 7.05228 9 6.5C9 5.94772 8.55228 5.5 8 5.5C7.44772 5.5 7 5.94772 7 6.5C7 5.94772 6.55228 5.5 6 5.5C5.44772 5.5 5 5.94772 5 6.5C5 7.05228 5.44772 7.5 6 7.5Z" fill="#110529"></path><path d="M7 9.5C7.55228 9.5 8 9.05228 8 8.5C8 7.94772 7.55228 7.5 7 7.5C6.44772 7.5 6 7.94772 6 8.5C6 9.05228 6.44772 9.5 7 9.5Z" fill="#110529"></path><path d="M8 19.5C8 20.0523 7.55228 20.5 7 20.5C6.44772 20.5 6 20.0523 6 19.5C6 18.9477 6.44772 18.5 7 18.5C7.55228 18.5 8 18.9477 8 19.5Z" fill="#110529"></path>',11)]))}const uoe=zr(soe,[["render",loe]]),coe={},doe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function hoe(e,t){return A.openBlock(),A.createElementBlock("svg",doe,t[0]||(t[0]=[A.createStaticVNode('<path d="M3 21.25L21 21.25" stroke="#110529" stroke-width="1.5" stroke-linecap="square"></path><path d="M3 4L3 2.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 7L3 5.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 10L3 8.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 13L3 11.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 16L3 14.5" stroke="#110529" stroke-width="1.5"></path><path d="M3 19L3 17.5" stroke="#110529" stroke-width="1.5"></path><path d="M20 5C20 5.55228 19.5523 6 19 6C18.4477 6 18 5.55228 18 5C18 4.44772 18.4477 4 19 4C19.5523 4 20 4.44772 20 5Z" fill="#07AD3E"></path><path d="M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z" fill="#07AD3E"></path><path d="M16 17C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15C15.4477 15 15 15.4477 15 16C15 16.5523 15.4477 17 16 17Z" fill="#07AD3E"></path><path d="M13 6C13.5523 6 14 5.55228 14 5C14 4.44772 13.5523 4 13 4C12.4477 4 12 4.44772 12 5C12 5.55228 12.4477 6 13 6Z" fill="#110529"></path><path d="M16 9C16.5523 9 17 8.55228 17 8C17 7.44772 16.5523 7 16 7C15.4477 7 15 7.44772 15 8C15 8.55228 15.4477 9 16 9Z" fill="#110529"></path><path d="M8 17C8.55228 17 9 16.5523 9 16C9 15.4477 8.55228 15 8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17Z" fill="#110529"></path><path d="M20 11C20 11.5523 19.5523 12 19 12C18.4477 12 18 11.5523 18 11C18 10.4477 18.4477 10 19 10C19.5523 10 20 10.4477 20 11Z" fill="#110529"></path><path d="M15 12C15.5523 12 16 11.5523 16 11C16 10.4477 15.5523 10 15 10C14.4477 10 14 10.4477 14 11C14 11.5523 14.4477 12 15 12Z" fill="#110529"></path><path d="M10 13C10 13.5523 9.55228 14 9 14C8.44772 14 8 13.5523 8 13C8 12.4477 8.44772 12 9 12C9.55228 12 10 12.4477 10 13Z" fill="#110529"></path><path d="M11 16C11.5523 16 12 15.5523 12 15C12 14.4477 11.5523 14 11 14C10.4477 14 10 14.4477 10 15C10 15.5523 10.4477 16 11 16Z" fill="#110529"></path><path d="M14 9C14 9.55228 13.5523 10 13 10C12.4477 10 12 9.55228 12 9C12 8.44772 12.4477 8 13 8C13.5523 8 14 8.44772 14 9Z" fill="#110529"></path><path d="M13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12Z" fill="#110529"></path>',19)]))}const foe=zr(coe,[["render",hoe]]),poe={},Aoe={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function goe(e,t){return A.openBlock(),A.createElementBlock("svg",Aoe,t[0]||(t[0]=[A.createStaticVNode('<path d="M10 20.5C10 20.7761 10.2239 21 10.5 21H13.5C13.7761 21 14 20.7761 14 20.5V19.3333V18.3333V18V17.5C14 17.2239 13.7761 17 13.5 17H10.5C10.2239 17 10 17.2239 10 17.5V18V18.3333V19.3333V20.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M10 13.5C10 13.7761 10.2239 14 10.5 14H13.5C13.7761 14 14 13.7761 14 13.5V12.3333V11.3333V11V10.5C14 10.2239 13.7761 10 13.5 10H10.5C10.2239 10 10 10.2239 10 10.5V11V11.3333V12.3333V13.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M17 13.5C17 13.7761 17.2239 14 17.5 14H20.5C20.7761 14 21 13.7761 21 13.5V12.3333V11.3333V11V10.5C21 10.2239 20.7761 10 20.5 10H17.5C17.2239 10 17 10.2239 17 10.5V11V11.3333V12.3333V13.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M17 20.5C17 20.7761 17.2239 21 17.5 21H20.5C20.7761 21 21 20.7761 21 20.5V19.3333V18.3333V18V17.5C21 17.2239 20.7761 17 20.5 17H17.5C17.2239 17 17 17.2239 17 17.5V18V18.3333V19.3333V20.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M10 6.5C10 6.77614 10.2239 7 10.5 7H13.5C13.7761 7 14 6.77614 14 6.5V5.33333V4.33333V4V3.5C14 3.22386 13.7761 3 13.5 3H10.5C10.2239 3 10 3.22386 10 3.5V4V4.33333V5.33333V6.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M3 20.5C3 20.7761 3.22386 21 3.5 21H6.5C6.77614 21 7 20.7761 7 20.5V19.3333V18.3333V18V17.5C7 17.2239 6.77614 17 6.5 17H3.5C3.22386 17 3 17.2239 3 17.5V18V18.3333V19.3333V20.5Z" stroke="#110529" stroke-width="1.5"></path><path d="M3 13.5C3 13.7761 3.22386 14 3.5 14H6.5C6.77614 14 7 13.7761 7 13.5V12.3333V11.3333V11V10.5C7 10.2239 6.77614 10 6.5 10H3.5C3.22386 10 3 10.2239 3 10.5V11V11.3333V12.3333V13.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M17 6.5C17 6.77614 17.2239 7 17.5 7H20.5C20.7761 7 21 6.77614 21 6.5V5.33333V4.33333V4V3.5C21 3.22386 20.7761 3 20.5 3H17.5C17.2239 3 17 3.22386 17 3.5V4V4.33333V5.33333V6.5Z" stroke="#07AD3E" stroke-width="1.5"></path><path d="M3 6.5C3 6.77614 3.22386 7 3.5 7H6.5C6.77614 7 7 6.77614 7 6.5V5.33333V4.33333V4V3.5C7 3.22386 6.77614 3 6.5 3H3.5C3.22386 3 3 3.22386 3 3.5V4V4.33333V5.33333V6.5Z" stroke="#110529" stroke-width="1.5"></path>',9)]))}const voe=zr(poe,[["render",goe]]),hC=[{name:"Light green",color:"#99E099"},{name:"Green",color:"#42B842"},{name:"Dark green",color:"#198020"},{name:"Light violet",color:"#C1ADFF"},{name:"Violet",color:"#845CFF"},{name:"Dark violet",color:"#5F31CC"},{name:"Light orange",color:"#FFCB8F"},{name:"Orange",color:"#FF9429"},{name:"Dark orange",color:"#C26A27"},{name:"Light teal",color:"#90E0E0"},{name:"Teal",color:"#27C2C2"},{name:"Dark teal",color:"#068A94"},{name:"Light rose",color:"#FAAAFA"},{name:"Rose",color:"#E553E5"},{name:"Dark rose",color:"#A324B2"},{name:"Light lime",color:"#CBEB67"},{name:"Lime",color:"#95C700"},{name:"Dark lime",color:"#659406"},{name:"Light blue",color:"#99CCFF"},{name:"Blue",color:"#2D93FA"},{name:"Dark blue",color:"#105BCC"},{name:"Light red",color:"#FFADBA"},{name:"Red",color:"#F05670"},{name:"Dark red",color:"#AD3757"},{name:"Light grey",color:"#D3D7E0"},{name:"Grey",color:"#929BAD"},{name:"Dark grey",color:"#5E5E70"},{name:"Black",color:"#110529"},{name:"White",color:"#FFFFFF"},{name:"None",color:"transparent"}],e2="#FFFFFF",Bl="#110529";hC.reduce((e,t)=>(e[t.color]=t,e),{});const t2=hC.slice(0,-3).map(e=>e.color),moe=t2.filter((e,t)=>t%3===0),yoe=t2.filter((e,t)=>t%3===1),Coe=t2.filter((e,t)=>t%3===2),woe=t2.filter((e,t)=>t%3!==2),Soe=t2,boe=["#FFF680","#53D788","#36739D","#4A005C"],Eoe=["#FFF680","#F77E5B","#902B83","#2B125C"],xoe=["#DFFADC","#74CFD1","#635AC1","#611347"],Roe=["#FAFAB4","#8DDA7F","#337E90","#1C0F5C"],Boe=["#FFEA80","#F07A76","#7535A4","#003752"],Toe=["#FFF780","#6CEA90","#6C90F0","#942AAE"],Poe=["#43317B","#7ACFAC","#F5F5B7","#F07B75","#5C1243"],Doe=["#122B5C","#41B5A8","#F0F0F0","#F07C80","#5C1243"],Foe=["#0E0E8F","#7E93FB","#F0F0F0","#ED7883","#5C1243"],koe=["#2E5C00","#9ED26A","#F0F0F0","#EB8BDB","#701260"],Moe=["#4A005C","#36749D","#56D688","#FFF680","#F77E5E","#902B82","#2B125C"],WL=["light","bright","dark","paired","triadic"],Ioe=["viridis","magma","density","salinity","sunset","perceptual_rainbow"],Hoe=["spectrum","teal_red","blue_red","lime_rose","viridis_magma"];function GB(e){return WL.includes(e)}const Ac={...{light:{title:"Light",colors:moe},bright:{title:"Bright",colors:yoe},dark:{title:"Dark",colors:Coe},paired:{title:"Paired",colors:woe},triadic:{title:"Triadic",colors:Soe}},...{viridis:{title:"Viridis",colors:boe},magma:{title:"Magma",colors:Eoe},density:{title:"Density",colors:xoe},salinity:{title:"Salinity",colors:Roe},sunset:{title:"Sunset",colors:Boe},perceptual_rainbow:{title:"Rainbow",colors:Toe}},...{spectrum:{title:"Spectrum",colors:Poe},teal_red:{title:"Teal-Red",colors:Doe},blue_red:{title:"Blue-Red",colors:Foe},lime_rose:{title:"Lime-Rose",colors:koe},viridis_magma:{title:"Vir-Mag",colors:Moe}}},Loe="salinity",n2=["0","5","1","2","6","7","9","3","4","8","12","10","13","14","11","22","23","21","24","25"],jL="#F0F0F0",lv="21",r2=["solid","dashed","dotted","dotdash","longdash","twodash"],z7="solid",_oe={solid:{title:"Solid"},dashed:{title:"Dashed"},dotted:{title:"Dotted"},dotdash:{title:"Dotdash"},longdash:{title:"Longdash"},twodash:{title:"Twodash"}};function fC(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ooe(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function $B(e){let t,n,r;e.length!==2?(t=fC,n=(a,u)=>fC(e(a),u),r=(a,u)=>e(a)-u):(t=e===fC||e===Ooe?e:Noe,n=e,r=e);function i(a,u,d=0,h=a.length){if(d<h){if(t(u,u)!==0)return h;do{const p=d+h>>>1;n(a[p],u)<0?d=p+1:h=p}while(d<h)}return d}function o(a,u,d=0,h=a.length){if(d<h){if(t(u,u)!==0)return h;do{const p=d+h>>>1;n(a[p],u)<=0?d=p+1:h=p}while(d<h)}return d}function s(a,u,d=0,h=a.length){const p=i(a,u,d,h-1);return p>d&&r(a[p-1],u)>-r(a[p],u)?p-1:p}return{left:i,center:s,right:o}}function Noe(){return 0}function YL(e){return e===null?NaN:+e}function*Voe(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Goe=$B(fC).right;$B(YL).center;function i2(e,t){let n,r;if(t===void 0)for(const i of e)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(n===void 0?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}class KL extends Map{constructor(t,n=Qoe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(XL(this,t))}has(t){return super.has(XL(this,t))}set(t,n){return super.set($oe(this,t),n)}delete(t){return super.delete(zoe(this,t))}}function XL({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function $oe({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function zoe({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Qoe(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Uoe(e=fC){if(e===fC)return ZL;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function ZL(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Woe=Math.sqrt(50),joe=Math.sqrt(10),Yoe=Math.sqrt(2);function Q7(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Woe?10:o>=joe?5:o>=Yoe?2:1;let a,u,d;return i<0?(d=Math.pow(10,-i)/s,a=Math.round(e*d),u=Math.round(t*d),a/d<e&&++a,u/d>t&&--u,d=-d):(d=Math.pow(10,i)*s,a=Math.round(e/d),u=Math.round(t/d),a*d<e&&++a,u*d>t&&--u),u<a&&.5<=n&&n<2?Q7(e,t,n*2):[a,u,d]}function zB(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,o,s]=r?Q7(t,e,n):Q7(e,t,n);if(!(o>=i))return[];const a=o-i+1,u=new Array(a);if(r)if(s<0)for(let d=0;d<a;++d)u[d]=(o-d)/-s;else for(let d=0;d<a;++d)u[d]=(o-d)*s;else if(s<0)for(let d=0;d<a;++d)u[d]=(i+d)/-s;else for(let d=0;d<a;++d)u[d]=(i+d)*s;return u}function QB(e,t,n){return t=+t,e=+e,n=+n,Q7(e,t,n)[2]}function UB(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?QB(t,e,n):QB(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function A1(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function U7(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function JL(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?ZL:Uoe(i);r>n;){if(r-n>600){const u=r-n+1,d=t-n+1,h=Math.log(u),p=.5*Math.exp(2*h/3),g=.5*Math.sqrt(h*p*(u-p)/u)*(d-u/2<0?-1:1),C=Math.max(n,Math.floor(t-d*p/u+g)),S=Math.min(r,Math.floor(t+(u-d)*p/u+g));JL(e,t,C,S,i)}const o=e[t];let s=n,a=r;for(o2(e,n,t),i(e[r],o)>0&&o2(e,n,r);s<a;){for(o2(e,s,a),++s,--a;i(e[s],o)<0;)++s;for(;i(e[a],o)>0;)--a}i(e[n],o)===0?o2(e,n,a):(++a,o2(e,a,r)),a<=t&&(n=a+1),t<=a&&(r=a-1)}return e}function o2(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function qL(e,t,n){if(e=Float64Array.from(Voe(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return U7(e);if(t>=1)return A1(e);var r,i=(r-1)*t,o=Math.floor(i),s=A1(JL(e,o).subarray(0,o+1)),a=U7(e.subarray(o+1));return s+(a-s)*(i-o)}}function ZA(e,t,n=YL){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),s=+n(e[o],o,e),a=+n(e[o+1],o+1,e);return s+(a-s)*(i-o)}}function Xc(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function Koe(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r<i;)o[r]=e+r*n;return o}function Zc(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}function pC(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const e_=Symbol("implicit");function ju(){var e=new KL,t=[],n=[],r=e_;function i(o){let s=e.get(o);if(s===void 0){if(r!==e_)return r;e.set(o,s=t.push(o)-1)}return n[s%n.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new KL;for(const s of o)e.has(s)||e.set(s,t.push(s)-1);return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return ju(t,n).unknown(r)},pC.apply(i,arguments),i}function s2(){var e=ju().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,o,s,a=!1,u=0,d=0,h=.5;delete e.unknown;function p(){var g=t().length,C=i<r,S=C?i:r,E=C?r:i;o=(E-S)/Math.max(1,g-u+d*2),a&&(o=Math.floor(o)),S+=(E-S-o*(g-u))*h,s=o*(1-u),a&&(S=Math.round(S),s=Math.round(s));var B=Koe(g).map(function(P){return S+o*P});return n(C?B.reverse():B)}return e.domain=function(g){return arguments.length?(t(g),p()):t()},e.range=function(g){return arguments.length?([r,i]=g,r=+r,i=+i,p()):[r,i]},e.rangeRound=function(g){return[r,i]=g,r=+r,i=+i,a=!0,p()},e.bandwidth=function(){return s},e.step=function(){return o},e.round=function(g){return arguments.length?(a=!!g,p()):a},e.padding=function(g){return arguments.length?(u=Math.min(1,d=+g),p()):u},e.paddingInner=function(g){return arguments.length?(u=Math.min(1,g),p()):u},e.paddingOuter=function(g){return arguments.length?(d=+g,p()):d},e.align=function(g){return arguments.length?(h=Math.max(0,Math.min(1,g)),p()):h},e.copy=function(){return s2(t(),[r,i]).round(a).paddingInner(u).paddingOuter(d).align(h)},pC.apply(p(),arguments)}function WB(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function t_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function a2(){}var l2=.7,W7=1/l2,AC="\\s*([+-]?\\d+)\\s*",u2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",JA="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xoe=/^#([0-9a-f]{3,8})$/,Zoe=new RegExp(`^rgb\\(${AC},${AC},${AC}\\)$`),Joe=new RegExp(`^rgb\\(${JA},${JA},${JA}\\)$`),qoe=new RegExp(`^rgba\\(${AC},${AC},${AC},${u2}\\)$`),ese=new RegExp(`^rgba\\(${JA},${JA},${JA},${u2}\\)$`),tse=new RegExp(`^hsl\\(${u2},${JA},${JA}\\)$`),nse=new RegExp(`^hsla\\(${u2},${JA},${JA},${u2}\\)$`),n_={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};WB(a2,g1,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:r_,formatHex:r_,formatHex8:rse,formatHsl:ise,formatRgb:i_,toString:i_});function r_(){return this.rgb().formatHex()}function rse(){return this.rgb().formatHex8()}function ise(){return u_(this).formatHsl()}function i_(){return this.rgb().formatRgb()}function g1(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Xoe.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?o_(t):n===3?new Sh(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?j7(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?j7(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Zoe.exec(e))?new Sh(t[1],t[2],t[3],1):(t=Joe.exec(e))?new Sh(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=qoe.exec(e))?j7(t[1],t[2],t[3],t[4]):(t=ese.exec(e))?j7(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=tse.exec(e))?l_(t[1],t[2]/100,t[3]/100,1):(t=nse.exec(e))?l_(t[1],t[2]/100,t[3]/100,t[4]):n_.hasOwnProperty(e)?o_(n_[e]):e==="transparent"?new Sh(NaN,NaN,NaN,0):null}function o_(e){return new Sh(e>>16&255,e>>8&255,e&255,1)}function j7(e,t,n,r){return r<=0&&(e=t=n=NaN),new Sh(e,t,n,r)}function ose(e){return e instanceof a2||(e=g1(e)),e?(e=e.rgb(),new Sh(e.r,e.g,e.b,e.opacity)):new Sh}function c2(e,t,n,r){return arguments.length===1?ose(e):new Sh(e,t,n,r??1)}function Sh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}WB(Sh,c2,t_(a2,{brighter(e){return e=e==null?W7:Math.pow(W7,e),new Sh(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?l2:Math.pow(l2,e),new Sh(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Sh(v1(this.r),v1(this.g),v1(this.b),Y7(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:s_,formatHex:s_,formatHex8:sse,formatRgb:a_,toString:a_}));function s_(){return`#${m1(this.r)}${m1(this.g)}${m1(this.b)}`}function sse(){return`#${m1(this.r)}${m1(this.g)}${m1(this.b)}${m1((isNaN(this.opacity)?1:this.opacity)*255)}`}function a_(){const e=Y7(this.opacity);return`${e===1?"rgb(":"rgba("}${v1(this.r)}, ${v1(this.g)}, ${v1(this.b)}${e===1?")":`, ${e})`}`}function Y7(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function v1(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function m1(e){return e=v1(e),(e<16?"0":"")+e.toString(16)}function l_(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new qp(e,t,n,r)}function u_(e){if(e instanceof qp)return new qp(e.h,e.s,e.l,e.opacity);if(e instanceof a2||(e=g1(e)),!e)return new qp;if(e instanceof qp)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,u=(o+i)/2;return a?(t===o?s=(n-r)/a+(n<r)*6:n===o?s=(r-t)/a+2:s=(t-n)/a+4,a/=u<.5?o+i:2-o-i,s*=60):a=u>0&&u<1?0:s,new qp(s,a,u,e.opacity)}function ase(e,t,n,r){return arguments.length===1?u_(e):new qp(e,t,n,r??1)}function qp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}WB(qp,ase,t_(a2,{brighter(e){return e=e==null?W7:Math.pow(W7,e),new qp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?l2:Math.pow(l2,e),new qp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Sh(jB(e>=240?e-240:e+120,i,r),jB(e,i,r),jB(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new qp(c_(this.h),K7(this.s),K7(this.l),Y7(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 e=Y7(this.opacity);return`${e===1?"hsl(":"hsla("}${c_(this.h)}, ${K7(this.s)*100}%, ${K7(this.l)*100}%${e===1?")":`, ${e})`}`}}));function c_(e){return e=(e||0)%360,e<0?e+360:e}function K7(e){return Math.max(0,Math.min(1,e||0))}function jB(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const YB=e=>()=>e;function lse(e,t){return function(n){return e+n*t}}function use(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function cse(e){return(e=+e)==1?d_:function(t,n){return n-t?use(t,n,e):YB(isNaN(t)?n:t)}}function d_(e,t){var n=t-e;return n?lse(e,n):YB(isNaN(e)?t:e)}const X7=function e(t){var n=cse(t);function r(i,o){var s=n((i=c2(i)).r,(o=c2(o)).r),a=n(i.g,o.g),u=n(i.b,o.b),d=d_(i.opacity,o.opacity);return function(h){return i.r=s(h),i.g=a(h),i.b=u(h),i.opacity=d(h),i+""}}return r.gamma=e,r}(1);function dse(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;i<n;++i)r[i]=e[i]*(1-o)+t[i]*o;return r}}function hse(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function fse(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),o=new Array(n),s;for(s=0;s<r;++s)i[s]=ZB(e[s],t[s]);for(;s<n;++s)o[s]=t[s];return function(a){for(s=0;s<r;++s)o[s]=i[s](a);return o}}function pse(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function eA(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ase(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=ZB(e[i],t[i]):r[i]=t[i];return function(o){for(i in n)r[i]=n[i](o);return r}}var KB=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,XB=new RegExp(KB.source,"g");function gse(e){return function(){return e}}function vse(e){return function(t){return e(t)+""}}function h_(e,t){var n=KB.lastIndex=XB.lastIndex=0,r,i,o,s=-1,a=[],u=[];for(e=e+"",t=t+"";(r=KB.exec(e))&&(i=XB.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),a[s]?a[s]+=o:a[++s]=o),(r=r[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,u.push({i:s,x:eA(r,i)})),n=XB.lastIndex;return n<t.length&&(o=t.slice(n),a[s]?a[s]+=o:a[++s]=o),a.length<2?u[0]?vse(u[0].x):gse(t):(t=u.length,function(d){for(var h=0,p;h<t;++h)a[(p=u[h]).i]=p.x(d);return a.join("")})}function ZB(e,t){var n=typeof t,r;return t==null||n==="boolean"?YB(t):(n==="number"?eA:n==="string"?(r=g1(t))?(t=r,X7):h_:t instanceof g1?X7:t instanceof Date?pse:hse(t)?dse:Array.isArray(t)?fse:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?Ase:eA)(e,t)}function mse(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var f_=180/Math.PI,JB={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function p_(e,t,n,r,i,o){var s,a,u;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(u=e*n+t*r)&&(n-=e*u,r-=t*u),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,u/=a),e*r<t*n&&(e=-e,t=-t,u=-u,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*f_,skewX:Math.atan(u)*f_,scaleX:s,scaleY:a}}var Z7;function yse(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?JB:p_(t.a,t.b,t.c,t.d,t.e,t.f)}function Cse(e){return e==null||(Z7||(Z7=document.createElementNS("http://www.w3.org/2000/svg","g")),Z7.setAttribute("transform",e),!(e=Z7.transform.baseVal.consolidate()))?JB:(e=e.matrix,p_(e.a,e.b,e.c,e.d,e.e,e.f))}function A_(e,t,n,r){function i(d){return d.length?d.pop()+" ":""}function o(d,h,p,g,C,S){if(d!==p||h!==g){var E=C.push("translate(",null,t,null,n);S.push({i:E-4,x:eA(d,p)},{i:E-2,x:eA(h,g)})}else(p||g)&&C.push("translate("+p+t+g+n)}function s(d,h,p,g){d!==h?(d-h>180?h+=360:h-d>180&&(d+=360),g.push({i:p.push(i(p)+"rotate(",null,r)-2,x:eA(d,h)})):h&&p.push(i(p)+"rotate("+h+r)}function a(d,h,p,g){d!==h?g.push({i:p.push(i(p)+"skewX(",null,r)-2,x:eA(d,h)}):h&&p.push(i(p)+"skewX("+h+r)}function u(d,h,p,g,C,S){if(d!==p||h!==g){var E=C.push(i(C)+"scale(",null,",",null,")");S.push({i:E-4,x:eA(d,p)},{i:E-2,x:eA(h,g)})}else(p!==1||g!==1)&&C.push(i(C)+"scale("+p+","+g+")")}return function(d,h){var p=[],g=[];return d=e(d),h=e(h),o(d.translateX,d.translateY,h.translateX,h.translateY,p,g),s(d.rotate,h.rotate,p,g),a(d.skewX,h.skewX,p,g),u(d.scaleX,d.scaleY,h.scaleX,h.scaleY,p,g),d=h=null,function(C){for(var S=-1,E=g.length,B;++S<E;)p[(B=g[S]).i]=B.x(C);return p.join("")}}}var wse=A_(yse,"px, ","px)","deg)"),Sse=A_(Cse,", ",")",")"),bse=1e-12;function g_(e){return((e=Math.exp(e))+1/e)/2}function Ese(e){return((e=Math.exp(e))-1/e)/2}function xse(e){return((e=Math.exp(2*e))-1)/(e+1)}const Rse=function e(t,n,r){function i(o,s){var a=o[0],u=o[1],d=o[2],h=s[0],p=s[1],g=s[2],C=h-a,S=p-u,E=C*C+S*S,B,P;if(E<bse)P=Math.log(g/d)/t,B=function(L){return[a+L*C,u+L*S,d*Math.exp(t*L*P)]};else{var F=Math.sqrt(E),k=(g*g-d*d+r*E)/(2*d*n*F),$=(g*g-d*d-r*E)/(2*g*n*F),V=Math.log(Math.sqrt(k*k+1)-k),O=Math.log(Math.sqrt($*$+1)-$);P=(O-V)/t,B=function(L){var z=L*P,W=g_(V),Z=d/(n*F)*(W*xse(t*z+V)-Ese(V));return[a+Z*C,u+Z*S,d*W/g_(t*z+V)]}}return B.duration=P*1e3*t/Math.SQRT2,B}return i.rho=function(o){var s=Math.max(.001,+o),a=s*s,u=a*a;return e(s,a,u)},i}(Math.SQRT2,2,4);function Bse(e){return function(){return e}}function qB(e){return+e}var v_=[0,1];function qA(e){return e}function eT(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Bse(isNaN(t)?NaN:.5)}function Tse(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Pse(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=eT(i,r),o=n(s,o)):(r=eT(r,i),o=n(o,s)),function(a){return o(r(a))}}function Dse(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=eT(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(a){var u=Goe(e,a,1,r)-1;return o[u](i[u](a))}}function J7(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function tT(){var e=v_,t=v_,n=ZB,r,i,o,s=qA,a,u,d;function h(){var g=Math.min(e.length,t.length);return s!==qA&&(s=Tse(e[0],e[g-1])),a=g>2?Dse:Pse,u=d=null,p}function p(g){return g==null||isNaN(g=+g)?o:(u||(u=a(e.map(r),t,n)))(r(s(g)))}return p.invert=function(g){return s(i((d||(d=a(t,e.map(r),eA)))(g)))},p.domain=function(g){return arguments.length?(e=Array.from(g,qB),h()):e.slice()},p.range=function(g){return arguments.length?(t=Array.from(g),h()):t.slice()},p.rangeRound=function(g){return t=Array.from(g),n=mse,h()},p.clamp=function(g){return arguments.length?(s=g?!0:qA,h()):s!==qA},p.interpolate=function(g){return arguments.length?(n=g,h()):n},p.unknown=function(g){return arguments.length?(o=g,p):o},function(g,C){return r=g,i=C,h()}}function m_(){return tT()(qA,qA)}function Fse(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function q7(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function gC(e){return e=q7(Math.abs(e)),e?e[1]:NaN}function kse(e,t){return function(n,r){for(var i=n.length,o=[],s=0,a=e[0],u=0;i>0&&a>0&&(u+a+1>r&&(a=Math.max(1,r-u)),o.push(n.substring(i-=a,i+a)),!((u+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(t)}}function Mse(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Ise=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function d2(e){if(!(t=Ise.exec(e)))throw new Error("invalid format: "+e);var t;return new nT({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}d2.prototype=nT.prototype;function nT(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}nT.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 Hse(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var y_;function Lse(e,t){var n=q7(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(y_=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+q7(e,Math.max(0,t+o-1))[0]}function C_(e,t){var n=q7(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const w_={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Fse,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>C_(e*100,t),r:C_,s:Lse,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function S_(e){return e}var b_=Array.prototype.map,E_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _se(e){var t=e.grouping===void 0||e.thousands===void 0?S_:kse(b_.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?S_:Mse(b_.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",a=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function d(p){p=d2(p);var g=p.fill,C=p.align,S=p.sign,E=p.symbol,B=p.zero,P=p.width,F=p.comma,k=p.precision,$=p.trim,V=p.type;V==="n"?(F=!0,V="g"):w_[V]||(k===void 0&&(k=12),$=!0,V="g"),(B||g==="0"&&C==="=")&&(B=!0,g="0",C="=");var O=E==="$"?n:E==="#"&&/[boxX]/.test(V)?"0"+V.toLowerCase():"",L=E==="$"?r:/[%p]/.test(V)?s:"",z=w_[V],W=/[defgprs%]/.test(V);k=k===void 0?6:/[gprs]/.test(V)?Math.max(1,Math.min(21,k)):Math.max(0,Math.min(20,k));function Z(ee){var Y=O,ne=L,ie,le,ae;if(V==="c")ne=z(ee)+ne,ee="";else{ee=+ee;var De=ee<0||1/ee<0;if(ee=isNaN(ee)?u:z(Math.abs(ee),k),$&&(ee=Hse(ee)),De&&+ee==0&&S!=="+"&&(De=!1),Y=(De?S==="("?S:a:S==="-"||S==="("?"":S)+Y,ne=(V==="s"?E_[8+y_/3]:"")+ne+(De&&S==="("?")":""),W){for(ie=-1,le=ee.length;++ie<le;)if(ae=ee.charCodeAt(ie),48>ae||ae>57){ne=(ae===46?i+ee.slice(ie+1):ee.slice(ie))+ne,ee=ee.slice(0,ie);break}}}F&&!B&&(ee=t(ee,1/0));var de=Y.length+ee.length+ne.length,be=de<P?new Array(P-de+1).join(g):"";switch(F&&B&&(ee=t(be+ee,be.length?P-ne.length:1/0),be=""),C){case"<":ee=Y+ee+ne+be;break;case"=":ee=Y+be+ee+ne;break;case"^":ee=be.slice(0,de=be.length>>1)+Y+ee+ne+be.slice(de);break;default:ee=be+Y+ee+ne;break}return o(ee)}return Z.toString=function(){return p+""},Z}function h(p,g){var C=d((p=d2(p),p.type="f",p)),S=Math.max(-8,Math.min(8,Math.floor(gC(g)/3)))*3,E=Math.pow(10,-S),B=E_[8+S/3];return function(P){return C(E*P)+B}}return{format:d,formatPrefix:h}}var e5,h2,x_;Ose({thousands:",",grouping:[3],currency:["$",""]});function Ose(e){return e5=_se(e),h2=e5.format,x_=e5.formatPrefix,e5}function Nse(e){return Math.max(0,-gC(Math.abs(e)))}function Vse(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(gC(t)/3)))*3-gC(Math.abs(e)))}function Gse(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,gC(t)-gC(e))+1}function $se(e,t,n,r){var i=UB(e,t,n),o;switch(r=d2(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Vse(i,s))&&(r.precision=o),x_(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Gse(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Nse(i))&&(r.precision=o-(r.type==="%")*2);break}}return h2(r)}function rT(e){var t=e.domain;return e.ticks=function(n){var r=t();return zB(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return $se(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],a=r[o],u,d,h=10;for(a<s&&(d=s,s=a,a=d,d=i,i=o,o=d);h-- >0;){if(d=QB(s,a,n),d===u)return r[i]=s,r[o]=a,t(r);if(d>0)s=Math.floor(s/d)*d,a=Math.ceil(a/d)*d;else if(d<0)s=Math.ceil(s*d)/d,a=Math.floor(a*d)/d;else break;u=d}return e},e}function Bo(){var e=m_();return e.copy=function(){return J7(e,Bo())},pC.apply(e,arguments),rT(e)}function Rm(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,qB),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return Rm(e).unknown(t)},e=arguments.length?Array.from(e,qB):[0,1],rT(n)}function R_(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o<i&&(s=n,n=r,r=s,s=i,i=o,o=s),e[n]=t.floor(i),e[r]=t.ceil(o),e}function B_(e){return Math.log(e)}function T_(e){return Math.exp(e)}function zse(e){return-Math.log(-e)}function Qse(e){return-Math.exp(-e)}function Use(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Wse(e){return e===10?Use:e===Math.E?Math.exp:t=>Math.pow(e,t)}function jse(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function P_(e){return(t,n)=>-e(-t,n)}function Yse(e){const t=e(B_,T_),n=t.domain;let r=10,i,o;function s(){return i=jse(r),o=Wse(r),n()[0]<0?(i=P_(i),o=P_(o),e(zse,Qse)):e(B_,T_),t}return t.base=function(a){return arguments.length?(r=+a,s()):r},t.domain=function(a){return arguments.length?(n(a),s()):n()},t.ticks=a=>{const u=n();let d=u[0],h=u[u.length-1];const p=h<d;p&&([d,h]=[h,d]);let g=i(d),C=i(h),S,E;const B=a==null?10:+a;let P=[];if(!(r%1)&&C-g<B){if(g=Math.floor(g),C=Math.ceil(C),d>0){for(;g<=C;++g)for(S=1;S<r;++S)if(E=g<0?S/o(-g):S*o(g),!(E<d)){if(E>h)break;P.push(E)}}else for(;g<=C;++g)for(S=r-1;S>=1;--S)if(E=g>0?S/o(-g):S*o(g),!(E<d)){if(E>h)break;P.push(E)}P.length*2<B&&(P=zB(d,h,B))}else P=zB(g,C,Math.min(C-g,B)).map(o);return p?P.reverse():P},t.tickFormat=(a,u)=>{if(a==null&&(a=10),u==null&&(u=r===10?"s":","),typeof u!="function"&&(!(r%1)&&(u=d2(u)).precision==null&&(u.trim=!0),u=h2(u)),a===1/0)return u;const d=Math.max(1,r*a/t.ticks().length);return h=>{let p=h/o(Math.round(i(h)));return p*r<r-.5&&(p*=r),p<=d?u(h):""}},t.nice=()=>n(R_(n(),{floor:a=>o(Math.floor(i(a))),ceil:a=>o(Math.ceil(i(a)))})),t}function y1(){const e=Yse(tT()).domain([1,10]);return e.copy=()=>J7(e,y1()).base(e.base()),pC.apply(e,arguments),e}function D_(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Kse(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Xse(e){return e<0?-e*e:e*e}function Zse(e){var t=e(qA,qA),n=1;function r(){return n===1?e(qA,qA):n===.5?e(Kse,Xse):e(D_(n),D_(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},rT(t)}function F_(){var e=Zse(tT());return e.copy=function(){return J7(e,F_()).exponent(e.exponent())},pC.apply(e,arguments),e}const iT=new Date,oT=new Date;function vu(e,t,n,r){function i(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),a=i.ceil(o);return o-s<a-o?s:a},i.offset=(o,s)=>(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,a)=>{const u=[];if(o=i.ceil(o),a=a==null?1:Math.floor(a),!(o<s)||!(a>0))return u;let d;do u.push(d=new Date(+o)),t(o,a),e(o);while(d<o&&o<s);return u},i.filter=o=>vu(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;t(s,-1),!o(s););else for(;--a>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(iT.setTime(+o),oT.setTime(+s),e(iT),e(oT),Math.floor(n(iT,oT))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const t5=vu(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);t5.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?vu(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):t5),t5.range;const uv=1e3,qf=uv*60,cv=qf*60,dv=cv*24,sT=dv*7,k_=dv*30,aT=dv*365,vC=vu(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*uv)},(e,t)=>(t-e)/uv,e=>e.getUTCSeconds());vC.range;const lT=vu(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*uv)},(e,t)=>{e.setTime(+e+t*qf)},(e,t)=>(t-e)/qf,e=>e.getMinutes());lT.range,vu(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*qf)},(e,t)=>(t-e)/qf,e=>e.getUTCMinutes()).range;const uT=vu(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*uv-e.getMinutes()*qf)},(e,t)=>{e.setTime(+e+t*cv)},(e,t)=>(t-e)/cv,e=>e.getHours());uT.range,vu(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*cv)},(e,t)=>(t-e)/cv,e=>e.getUTCHours()).range;const f2=vu(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*qf)/dv,e=>e.getDate()-1);f2.range;const cT=vu(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/dv,e=>e.getUTCDate()-1);cT.range,vu(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/dv,e=>Math.floor(e/dv)).range;function C1(e){return vu(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*qf)/sT)}const n5=C1(0),r5=C1(1),Jse=C1(2),qse=C1(3),mC=C1(4),eae=C1(5),tae=C1(6);n5.range,r5.range,Jse.range,qse.range,mC.range,eae.range,tae.range;function w1(e){return vu(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/sT)}const M_=w1(0),i5=w1(1),nae=w1(2),rae=w1(3),yC=w1(4),iae=w1(5),oae=w1(6);M_.range,i5.range,nae.range,rae.range,yC.range,iae.range,oae.range;const dT=vu(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());dT.range,vu(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()).range;const hv=vu(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());hv.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vu(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),hv.range;const S1=vu(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());S1.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:vu(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),S1.range;function sae(e,t,n,r,i,o){const s=[[vC,1,uv],[vC,5,5*uv],[vC,15,15*uv],[vC,30,30*uv],[o,1,qf],[o,5,5*qf],[o,15,15*qf],[o,30,30*qf],[i,1,cv],[i,3,3*cv],[i,6,6*cv],[i,12,12*cv],[r,1,dv],[r,2,2*dv],[n,1,sT],[t,1,k_],[t,3,3*k_],[e,1,aT]];function a(d,h,p){const g=h<d;g&&([d,h]=[h,d]);const C=p&&typeof p.range=="function"?p:u(d,h,p),S=C?C.range(d,+h+1):[];return g?S.reverse():S}function u(d,h,p){const g=Math.abs(h-d)/p,C=$B(([,,B])=>B).right(s,g);if(C===s.length)return e.every(UB(d/aT,h/aT,p));if(C===0)return t5.every(Math.max(UB(d,h,p),1));const[S,E]=s[g/s[C-1][2]<s[C][2]/g?C-1:C];return S.every(E)}return[a,u]}const[aae,lae]=sae(hv,dT,n5,f2,uT,lT);function hT(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function fT(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function p2(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function uae(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,u=e.shortMonths,d=A2(i),h=g2(i),p=A2(o),g=g2(o),C=A2(s),S=g2(s),E=A2(a),B=g2(a),P=A2(u),F=g2(u),k={a:De,A:de,b:be,B:me,c:null,d:N_,e:N_,f:kae,g:$ae,G:Qae,H:Pae,I:Dae,j:Fae,L:V_,m:Mae,M:Iae,p:fe,q:xe,Q:W_,s:j_,S:Hae,u:Lae,U:_ae,V:Oae,w:Nae,W:Vae,x:null,X:null,y:Gae,Y:zae,Z:Uae,"%":U_},$={a:We,A:Ve,b:Ne,B:je,c:null,d:$_,e:$_,f:Kae,g:ole,G:ale,H:Wae,I:jae,j:Yae,L:z_,m:Xae,M:Zae,p:Ye,q:pt,Q:W_,s:j_,S:Jae,u:qae,U:ele,V:tle,w:nle,W:rle,x:null,X:null,y:ile,Y:sle,Z:lle,"%":U_},V={a:Z,A:ee,b:Y,B:ne,c:ie,d:__,e:__,f:xae,g:L_,G:H_,H:O_,I:O_,j:wae,L:Eae,m:Cae,M:Sae,p:W,q:yae,Q:Bae,s:Tae,S:bae,u:pae,U:Aae,V:gae,w:fae,W:vae,x:le,X:ae,y:L_,Y:H_,Z:mae,"%":Rae};k.x=O(n,k),k.X=O(r,k),k.c=O(t,k),$.x=O(n,$),$.X=O(r,$),$.c=O(t,$);function O(Ge,nt){return function(ut){var rt=[],Ct=-1,wt=0,qt=Ge.length,gr,vr,Hi;for(ut instanceof Date||(ut=new Date(+ut));++Ct<qt;)Ge.charCodeAt(Ct)===37&&(rt.push(Ge.slice(wt,Ct)),(vr=I_[gr=Ge.charAt(++Ct)])!=null?gr=Ge.charAt(++Ct):vr=gr==="e"?" ":"0",(Hi=nt[gr])&&(gr=Hi(ut,vr)),rt.push(gr),wt=Ct+1);return rt.push(Ge.slice(wt,Ct)),rt.join("")}}function L(Ge,nt){return function(ut){var rt=p2(1900,void 0,1),Ct=z(rt,Ge,ut+="",0),wt,qt;if(Ct!=ut.length)return null;if("Q"in rt)return new Date(rt.Q);if("s"in rt)return new Date(rt.s*1e3+("L"in rt?rt.L:0));if(nt&&!("Z"in rt)&&(rt.Z=0),"p"in rt&&(rt.H=rt.H%12+rt.p*12),rt.m===void 0&&(rt.m="q"in rt?rt.q:0),"V"in rt){if(rt.V<1||rt.V>53)return null;"w"in rt||(rt.w=1),"Z"in rt?(wt=fT(p2(rt.y,0,1)),qt=wt.getUTCDay(),wt=qt>4||qt===0?i5.ceil(wt):i5(wt),wt=cT.offset(wt,(rt.V-1)*7),rt.y=wt.getUTCFullYear(),rt.m=wt.getUTCMonth(),rt.d=wt.getUTCDate()+(rt.w+6)%7):(wt=hT(p2(rt.y,0,1)),qt=wt.getDay(),wt=qt>4||qt===0?r5.ceil(wt):r5(wt),wt=f2.offset(wt,(rt.V-1)*7),rt.y=wt.getFullYear(),rt.m=wt.getMonth(),rt.d=wt.getDate()+(rt.w+6)%7)}else("W"in rt||"U"in rt)&&("w"in rt||(rt.w="u"in rt?rt.u%7:"W"in rt?1:0),qt="Z"in rt?fT(p2(rt.y,0,1)).getUTCDay():hT(p2(rt.y,0,1)).getDay(),rt.m=0,rt.d="W"in rt?(rt.w+6)%7+rt.W*7-(qt+5)%7:rt.w+rt.U*7-(qt+6)%7);return"Z"in rt?(rt.H+=rt.Z/100|0,rt.M+=rt.Z%100,fT(rt)):hT(rt)}}function z(Ge,nt,ut,rt){for(var Ct=0,wt=nt.length,qt=ut.length,gr,vr;Ct<wt;){if(rt>=qt)return-1;if(gr=nt.charCodeAt(Ct++),gr===37){if(gr=nt.charAt(Ct++),vr=V[gr in I_?nt.charAt(Ct++):gr],!vr||(rt=vr(Ge,ut,rt))<0)return-1}else if(gr!=ut.charCodeAt(rt++))return-1}return rt}function W(Ge,nt,ut){var rt=d.exec(nt.slice(ut));return rt?(Ge.p=h.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function Z(Ge,nt,ut){var rt=C.exec(nt.slice(ut));return rt?(Ge.w=S.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ee(Ge,nt,ut){var rt=p.exec(nt.slice(ut));return rt?(Ge.w=g.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function Y(Ge,nt,ut){var rt=P.exec(nt.slice(ut));return rt?(Ge.m=F.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ne(Ge,nt,ut){var rt=E.exec(nt.slice(ut));return rt?(Ge.m=B.get(rt[0].toLowerCase()),ut+rt[0].length):-1}function ie(Ge,nt,ut){return z(Ge,t,nt,ut)}function le(Ge,nt,ut){return z(Ge,n,nt,ut)}function ae(Ge,nt,ut){return z(Ge,r,nt,ut)}function De(Ge){return s[Ge.getDay()]}function de(Ge){return o[Ge.getDay()]}function be(Ge){return u[Ge.getMonth()]}function me(Ge){return a[Ge.getMonth()]}function fe(Ge){return i[+(Ge.getHours()>=12)]}function xe(Ge){return 1+~~(Ge.getMonth()/3)}function We(Ge){return s[Ge.getUTCDay()]}function Ve(Ge){return o[Ge.getUTCDay()]}function Ne(Ge){return u[Ge.getUTCMonth()]}function je(Ge){return a[Ge.getUTCMonth()]}function Ye(Ge){return i[+(Ge.getUTCHours()>=12)]}function pt(Ge){return 1+~~(Ge.getUTCMonth()/3)}return{format:function(Ge){var nt=O(Ge+="",k);return nt.toString=function(){return Ge},nt},parse:function(Ge){var nt=L(Ge+="",!1);return nt.toString=function(){return Ge},nt},utcFormat:function(Ge){var nt=O(Ge+="",$);return nt.toString=function(){return Ge},nt},utcParse:function(Ge){var nt=L(Ge+="",!0);return nt.toString=function(){return Ge},nt}}}var I_={"-":"",_:" ",0:"0"},Yu=/^\s*\d+/,cae=/^%/,dae=/[\\^$*+?|[\]().{}]/g;function yo(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function hae(e){return e.replace(dae,"\\$&")}function A2(e){return new RegExp("^(?:"+e.map(hae).join("|")+")","i")}function g2(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function fae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function pae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Aae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function vae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function H_(e,t,n){var r=Yu.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function L_(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function mae(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function yae(e,t,n){var r=Yu.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Cae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function __(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function wae(e,t,n){var r=Yu.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function O_(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Sae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function bae(e,t,n){var r=Yu.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Eae(e,t,n){var r=Yu.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function xae(e,t,n){var r=Yu.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Rae(e,t,n){var r=cae.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Bae(e,t,n){var r=Yu.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Tae(e,t,n){var r=Yu.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function N_(e,t){return yo(e.getDate(),t,2)}function Pae(e,t){return yo(e.getHours(),t,2)}function Dae(e,t){return yo(e.getHours()%12||12,t,2)}function Fae(e,t){return yo(1+f2.count(hv(e),e),t,3)}function V_(e,t){return yo(e.getMilliseconds(),t,3)}function kae(e,t){return V_(e,t)+"000"}function Mae(e,t){return yo(e.getMonth()+1,t,2)}function Iae(e,t){return yo(e.getMinutes(),t,2)}function Hae(e,t){return yo(e.getSeconds(),t,2)}function Lae(e){var t=e.getDay();return t===0?7:t}function _ae(e,t){return yo(n5.count(hv(e)-1,e),t,2)}function G_(e){var t=e.getDay();return t>=4||t===0?mC(e):mC.ceil(e)}function Oae(e,t){return e=G_(e),yo(mC.count(hv(e),e)+(hv(e).getDay()===4),t,2)}function Nae(e){return e.getDay()}function Vae(e,t){return yo(r5.count(hv(e)-1,e),t,2)}function Gae(e,t){return yo(e.getFullYear()%100,t,2)}function $ae(e,t){return e=G_(e),yo(e.getFullYear()%100,t,2)}function zae(e,t){return yo(e.getFullYear()%1e4,t,4)}function Qae(e,t){var n=e.getDay();return e=n>=4||n===0?mC(e):mC.ceil(e),yo(e.getFullYear()%1e4,t,4)}function Uae(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+yo(t/60|0,"0",2)+yo(t%60,"0",2)}function $_(e,t){return yo(e.getUTCDate(),t,2)}function Wae(e,t){return yo(e.getUTCHours(),t,2)}function jae(e,t){return yo(e.getUTCHours()%12||12,t,2)}function Yae(e,t){return yo(1+cT.count(S1(e),e),t,3)}function z_(e,t){return yo(e.getUTCMilliseconds(),t,3)}function Kae(e,t){return z_(e,t)+"000"}function Xae(e,t){return yo(e.getUTCMonth()+1,t,2)}function Zae(e,t){return yo(e.getUTCMinutes(),t,2)}function Jae(e,t){return yo(e.getUTCSeconds(),t,2)}function qae(e){var t=e.getUTCDay();return t===0?7:t}function ele(e,t){return yo(M_.count(S1(e)-1,e),t,2)}function Q_(e){var t=e.getUTCDay();return t>=4||t===0?yC(e):yC.ceil(e)}function tle(e,t){return e=Q_(e),yo(yC.count(S1(e),e)+(S1(e).getUTCDay()===4),t,2)}function nle(e){return e.getUTCDay()}function rle(e,t){return yo(i5.count(S1(e)-1,e),t,2)}function ile(e,t){return yo(e.getUTCFullYear()%100,t,2)}function ole(e,t){return e=Q_(e),yo(e.getUTCFullYear()%100,t,2)}function sle(e,t){return yo(e.getUTCFullYear()%1e4,t,4)}function ale(e,t){var n=e.getUTCDay();return e=n>=4||n===0?yC(e):yC.ceil(e),yo(e.getUTCFullYear()%1e4,t,4)}function lle(){return"+0000"}function U_(){return"%"}function W_(e){return+e}function j_(e){return Math.floor(+e/1e3)}var CC,Y_;ule({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function ule(e){return CC=uae(e),Y_=CC.format,CC.parse,CC.utcFormat,CC.utcParse,CC}function cle(e){return new Date(e)}function dle(e){return e instanceof Date?+e:+new Date(+e)}function K_(e,t,n,r,i,o,s,a,u,d){var h=m_(),p=h.invert,g=h.domain,C=d(".%L"),S=d(":%S"),E=d("%I:%M"),B=d("%I %p"),P=d("%a %d"),F=d("%b %d"),k=d("%B"),$=d("%Y");function V(O){return(u(O)<O?C:a(O)<O?S:s(O)<O?E:o(O)<O?B:r(O)<O?i(O)<O?P:F:n(O)<O?k:$)(O)}return h.invert=function(O){return new Date(p(O))},h.domain=function(O){return arguments.length?g(Array.from(O,dle)):g().map(cle)},h.ticks=function(O){var L=g();return e(L[0],L[L.length-1],O??10)},h.tickFormat=function(O,L){return L==null?V:d(L)},h.nice=function(O){var L=g();return(!O||typeof O.range!="function")&&(O=t(L[0],L[L.length-1],O??10)),O?g(R_(L,O)):h},h.copy=function(){return J7(h,K_(e,t,n,r,i,o,s,a,u,d))},h}function hle(){return pC.apply(K_(aae,lae,hv,dT,n5,f2,uT,lT,vC,Y_).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}const wC="#110529",fle="solid",ple=1,pT="21",Ale=3,gle={color:"#ccc",lineShape:fle,dotShape:pT},vle="light";function mle(e){const t=1/(e.length-1);return Bo().domain(e.map((n,r)=>r*t)).range(e)}function X_(e,t){const n=Ac[e].colors,r=t.length>1?1/(t.length-1):0,i=mle(n),o=GB(e),s=t.reduce((a,u,d)=>(a[u]={colorIdx:o?d:d*r,aes:{color:o?n[d%n.length]:i(d*r),lineShape:r2[d%r2.length],dotShape:n2[d%n2.length]}},a),{});return{type:"categorical",palette:e,naAes:gle,order:t,mapping:s}}function SC(e){return X_(vle,e)}function Z_(e,t,n,r){if((t==null?void 0:t.type)==="continuous")return{inheritedAes:{}};const i=t??SC(n?e.getSourceInfo(n).uniqueValues:[]);return{order:i.order,inheritedAes:i.order.reduce((o,s)=>{const a=i.mapping[s].aes;return o[s]={},r.fill&&(o[s].fillColor=a.color,o[s].dotFill=a.color),r.stroke&&(o[s].lineColor=a.color),r.dotShape&&(o[s].dotShape=a.dotShape),r.lineType&&(o[s].lineShape=a.lineShape),o},{})}}function yle(e,t,n){const r=n[e]??SC(t.getSourceInfo(e).uniqueValues);return r.order.reduce((i,o)=>{const s=r.mapping[o].aes;return i[o]={fillColor:s.color,lineColor:s.color,dotFill:s.color,dotShape:s.dotShape,dotSize:Ale,lineWidth:ple},i},{})}function AT(e,t,n,r){const i=n[e]??SC(t.getSourceInfo(e).uniqueValues);return i.order.reduce((o,s)=>{const a=i.mapping[s].aes;return o[s]=a[r],o},{})}const Cle={},wle={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Sle(e,t){return A.openBlock(),A.createElementBlock("svg",wle,t[0]||(t[0]=[A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.5 2.25H12V3.75H15.25V11.25H13.5C12.8096 11.25 12.25 11.8096 12.25 12.5V21H13.75V12.75H18.25V16.25H17.5C16.8096 16.25 16.25 16.8096 16.25 17.5V21H17.75V17.75H20.25V21H21.75V17.5C21.75 16.8096 21.1904 16.25 20.5 16.25H19.75V12.5C19.75 11.8096 19.1904 11.25 18.5 11.25H16.75V3.5C16.75 2.80964 16.1904 2.25 15.5 2.25Z",fill:"#110529"},null,-1),A.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5 3.75H7.25V7.25H8.5C9.19036 7.25 9.75 7.80964 9.75 8.5V21H8.25V8.75H4.75V21H3.25V8.5C3.25 7.80965 3.80964 7.25 4.5 7.25H5.75V3.5C5.75 2.80964 6.30964 2.25 7 2.25H10.5V3.75Z",fill:"#07AD3E"},null,-1)]))}const ble=zr(Cle,[["render",Sle]]);function Ele(e,t){return t==="discrete"?e&&v2[e]?e:"box":t==="scatterplot"||t==="scatterplot-umap"?e&&m2[e]?e:"dots":t==="dendro"?"dendro":"heatmap"}const v2={box:["box"],box_binnedDots:["box","binnedDots"],box_jitteredDots:["box","jitteredDots"],violin:["violin"],violin_binnedDots:["violin","binnedDots"],violin_jitteredDots:["violin","jitteredDots"],binnedDots:["binnedDots"],jitteredDots:["jitteredDots"],bar:["bar"],bar_line:["bar","line"],bar_errorbar:["bar","errorbar"],stackedBar:["stackedBar"],line:["line"],line_jitteredDots:["line","jitteredDots"],line_binnedDots:["line","binnedDots"],line_errorbar:["line","errorbar"],errorbar:["errorbar"],sina:["sina"]},m2={dots:["dots"],curve:["curve"],curve_dots:["curve","dots"]},bC={box:"Boxplot",binnedDots:"Binned Dots",jitteredDots:"Jittered Dots",violin:"Violins",bar:"Bar",stackedBar:"Stacked Bar",line:"Line",errorbar:"Error Bar",sina:"Sina",dots:"Scatter Plot",curve:"Curve",heatmap:"Heatmap",dendro:"Dendrogram"};function xle(e){return{overall:{data:{testMethod:(e==null?void 0:e.overall.data.testMethod)??null},validity:{testMethod:(e==null?void 0:e.overall.validity.testMethod)??!0}},referenceGroup:{data:{testMethod:(e==null?void 0:e.referenceGroup.data.testMethod)??null,referenceGroup:(e==null?void 0:e.referenceGroup.data.referenceGroup)??null,correctionMethod:(e==null?void 0:e.referenceGroup.data.correctionMethod)??"Bonferroni",format:(e==null?void 0:e.referenceGroup.data.format)??"significance",ns:(e==null?void 0:e.referenceGroup.data.ns)??!1},validity:{testMethod:(e==null?void 0:e.referenceGroup.validity.testMethod)??!0,referenceGroup:(e==null?void 0:e.referenceGroup.validity.referenceGroup)??!0}},pairwise:{data:{testMethod:(e==null?void 0:e.pairwise.data.testMethod)??null,correctionMethod:(e==null?void 0:e.pairwise.data.correctionMethod)??"Bonferroni",format:(e==null?void 0:e.pairwise.data.format)??"significance",ns:(e==null?void 0:e.pairwise.data.ns)??!1},validity:{testMethod:(e==null?void 0:e.pairwise.validity.testMethod)??!0}}}}function b1(e){return typeof e=="object"&&e!==null&&"type"in e}const Rle=()=>({dendro:{dotFill:Bl,dotShape:lv,lineColor:Bl,mode:"normal",leavesMode:"normal",showTable:!1},heatmap:{dendrogramX:!1,dendrogramY:!1},dots:{dotFill:null,dotShape:null},curve:{lineColor:Bl,smoothing:!0},box:{showOutliers:!0,fillColor:null,lineColor:wC,dotShape:lv,lineType:z7,gapWidth:.2,opacity:1,stat:{low:.25,middle:.5,upper:.75,k:1.5}},binnedDots:{fillColor:null,lineColor:wC,opacity:1,showOutliers:!0},jitteredDots:{dotFill:null,dotShape:lv,lineColor:wC,opacity:1,showOutliers:!0},violin:{fillColor:null,lineColor:wC,lineType:z7,opacity:1,trim:!1},bar:{fillColor:null,lineColor:wC,opacity:1,height:"max"},stackedBar:{fillColor:null,lineColor:wC,opacity:1},line:{pointsValues:"mean",lineColor:null,dotShape:lv,lineType:z7,dotFill:Bl,opacity:1},errorbar:{pointsValues:"mean",interval:"sd",lineColor:null,dotShape:lv,dotFill:Bl,opacity:1},sina:{dotFill:null,dotShape:lv,opacity:1,showOutliers:!0}});function Ble(e){const t=Rle();return Object.keys(t).reduce((r,i)=>(Object.assign(r[i],(e==null?void 0:e[i])??{}),r),t)}const Tle=()=>({title:{value:"Graph 1",position:"left",facetTitleFrame:"full"},axisX:{labelsPosition:"bottom",labelsRotation:"center",axisLabelsAngle:90,titleMode:"auto",customTitle:"",gridlines:!0,linesBetweenCategories:!0,ticks:!0,scale:"linear"},axisY:{titleMode:"auto",customTitle:"",axisLabelsAngle:90,gridlines:!0,ticks:!0,scale:"linear"},legend:{},other:{frame:"full",reverse:!1,facetSharedBy:"xy",facetColumns:3}});function J_(e){return e==="full"||e==="none"}function Ple(e,t){if(!t)return Tle();function n(r){return e==="heatmap"&&!J_(r)?"full":e!=="heatmap"&&J_(r)&&r==="none"?"empty":r}return{title:{...t.title},axisX:{...t.axisX},axisY:{...t.axisY},legend:{...t.legend},other:{...t.other,frame:n(t.other.frame)}}}const Bm={box:nie,box_binnedDots:sie,box_jitteredDots:cie,binnedDots:pie,jitteredDots:mie,violin:Sie,violin_binnedDots:Rie,violin_jitteredDots:Die,bar:Iie,bar_line:zL,bar_errorbar:Gie,stackedBar:Uie,line:QL,line_binnedDots:Jie,line_jitteredDots:UL,line_errorbar:ooe,errorbar:zL,sina:uoe,dots:foe,curve:QL,curve_dots:UL,heatmap:voe,dendro:ble},o5=[{value:"ttest",text:"TTest"},{value:"anova",text:"ANOVA"},{value:"wilcoxon",text:"Wilcoxon"},{value:"kruskalWallis",text:"Kruskal-Wallis"}],q_=[{value:"BenjaminiHochberg",text:"Benjamini-Hochberg"},{value:"BenjaminiYekutieli",text:"Benjamini-Yekutieli"},{value:"Bonferroni",text:"Bonferroni"},{value:"Hochberg",text:"Hochberg"},{value:"Holm",text:"Holm"},{value:"Hommel",text:"Hommel"},{value:"none",text:"None"}],eO=[{value:"pValue",text:"p-value"},{value:"significance",text:"significance"}];function tO(e,t,n){var i,o,s,a,u;if(((o=(i=e.components)==null?void 0:i.y)==null?void 0:o.selectorStates.length)===0)return[];if(!((a=(s=e.components)==null?void 0:s[n])!=null&&a.selectorStates.length))return["single common group"];const r=(u=e.components)==null?void 0:u[n].selectorStates[0].selectedSource;return t.getSourceInfo(r).uniqueValues}function Dle(e){const t=[];if(e.overall.data.testMethod&&e.overall.validity.testMethod&&t.push({type:"stat",statType:"overall",testMethod:e.overall.data.testMethod}),e.referenceGroup.data.testMethod&&e.referenceGroup.validity.testMethod&&e.referenceGroup.validity.referenceGroup){const n={type:"stat",statType:"referenceGroup",testMethod:e.referenceGroup.data.testMethod,referenceGroup:e.referenceGroup.data.referenceGroup,format:e.referenceGroup.data.format,ns:e.referenceGroup.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(n.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(n)}if(e.pairwise.data.testMethod&&e.pairwise.validity.testMethod){const n={type:"stat",statType:"pairwise",testMethod:e.pairwise.data.testMethod,format:e.pairwise.data.format,ns:e.pairwise.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(n.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(n)}return t}function Fle(e,t,n,r){const i=[],o=r.components.primaryGrouping.selectorStates.length>0,s=r.components.secondaryGrouping.selectorStates.length>0;function a(u,d=!1){return u===null?s?{type:"secondaryGrouping"}:o&&!d?{type:"primaryGrouping"}:{type:"secondaryGrouping"}:u}return e.forEach(u=>{if(u==="box"){const d=t[u];i.push({type:"box",aes:{showOutliers:d.showOutliers,dotShape:d.dotShape,fillColor:a(d.fillColor),lineColor:a(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(u==="binnedDots"){const d=t[u];i.push({type:"binnedDots",aes:{showOutliers:d.showOutliers,fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="jitteredDots"){const d=t[u];i.push({type:"dot",aes:{showOutliers:d.showOutliers,dotFill:a(d.dotFill),dotShape:d.dotShape,lineColor:d.lineColor,opacity:d.opacity}})}if(u==="violin"){const d=t[u];i.push({type:"violin",stat:{trim:d.trim},aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(u==="bar"){const d=t[u];i.push({type:"bar",height:d.height,aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="stackedBar"){const d=t[u];i.push({type:"stackedBar",aes:{fillColor:a(d.fillColor),lineColor:a(d.lineColor),opacity:d.opacity}})}if(u==="line"){const d=t[u];i.push({type:"line",pointsValues:d.pointsValues,aes:{lineColor:a(d.lineColor,!0),fillColor:d.dotFill,lineShape:d.lineType,dotShape:d.dotShape,opacity:d.opacity}})}if(u==="errorbar"){const d=t[u];i.push({type:"errorbar",pointsValues:d.pointsValues,interval:d.interval,aes:{lineColor:a(d.lineColor,!0),fillColor:d.dotFill,dotShape:d.dotShape,opacity:d.opacity}})}if(u==="sina"){const d=t[u];i.push({type:"sina",aes:{showOutliers:d.showOutliers,dotFill:a(d.dotFill),dotShape:d.dotShape}})}}),o&&!s&&i.push(...Dle(n)),i}function kle(e,t){const n=[];return e.forEach(r=>{if(r==="dots"){const i=t[r];n.push({type:"dots",aes:{dotFill:i.dotFill??Bl,dotShape:i.dotShape??lv}})}if(r==="curve"){const i=t[r];n.push({type:"curve",smoothing:i.smoothing,aes:{lineColor:i.lineColor??Bl}})}}),n}function gT(e,t,n,r,i){if(e==="discrete"){const o=v2[t];return Fle(o,n,r,i)}if(e==="scatterplot"||e==="scatterplot-umap"){const o=m2[t];return kle(o,n)}return[]}function y2(e,t,n){return e.some(r=>{var o;const i=(o=r==null?void 0:r.aes)==null?void 0:o[t];return b1(i)&&i.type===n})}function s5(e,t,n){return e.some(r=>{var o;const i=(o=r==null?void 0:r.aes)==null?void 0:o[t];return b1(i)&&i.value===n})}function nO(e,t,n,r,i){var u,d,h;const o=gT(e,t,n,r,i),s={};let a=[];return e==="discrete"&&(a=["primaryGrouping","secondaryGrouping"],a.forEach(p=>{var C,S;const g=(S=(C=i.components[p])==null?void 0:C.selectorStates[0])==null?void 0:S.selectedSource;g&&(s[g]={fill:y2(o,"fillColor",p)||y2(o,"dotFill",p),stroke:y2(o,"lineColor",p),dotShape:y2(o,"dotShape",p),lineType:y2(o,"lineShape",p),size:!1})})),e==="scatterplot"&&(a=i.components.grouping.selectorStates.map(p=>p.selectedSource),a.forEach(p=>{s[p]={fill:s5(o,"dotFill",p),stroke:s5(o,"lineColor",p),dotShape:s5(o,"dotShape",p),lineType:!1,size:!1}})),e==="scatterplot-umap"&&(a=i.components.grouping.selectorStates.map(p=>p.selectedSource),a.forEach(p=>{s[p]={fill:s5(o,"dotFill",p),stroke:!1,dotShape:!1,lineType:!1,size:!1}})),e==="dendro"&&(a=[((u=i.components.nodeColor.selectorStates[0])==null?void 0:u.selectedSource)??null,((d=i.components.nodeShape.selectorStates[0])==null?void 0:d.selectedSource)??null,((h=i.components.lineColor.selectorStates[0])==null?void 0:h.selectedSource)??null].filter(g=>g!==null),a.forEach(g=>{s[g]={fill:b1(n.dendro.dotFill)&&n.dendro.dotFill.value===g,stroke:b1(n.dendro.lineColor)&&n.dendro.lineColor.value===g,dotShape:b1(n.dendro.dotShape)&&n.dendro.dotShape.value===g,lineType:!1,size:!1}})),s}function vT(e,t){let n={},r={};t==="discrete"&&(n.labelsPosition=e.axisX.labelsRotation,n.linesBetweenCategories=e.axisX.linesBetweenCategories,r.scale=e.axisY.scale),(t==="discrete"||t==="scatterplot")&&(n.showGrid=e.axisX.gridlines,n.showTicks=e.axisX.ticks,r.showGrid=e.axisY.gridlines,r.showTicks=e.axisY.ticks),t==="scatterplot"&&(n.scale=e.axisX.scale,r.scale=e.axisY.scale),t==="heatmap"&&(n.axisLabelsAngle=e.axisX.axisLabelsAngle,r.axisLabelsAngle=e.axisY.axisLabelsAngle),e.axisY.titleMode!=="auto"&&(r.title=e.axisY.titleMode==="custom"?e.axisY.customTitle:""),e.axisX.titleMode!=="auto"&&(n.title=e.axisX.titleMode==="custom"?e.axisX.customTitle:"");const i={xAxis:n,yAxis:r,frame:{type:e.other.frame},facetSettings:{nCols:e.other.facetColumns}};return(t==="discrete"||t==="scatterplot"||t==="heatmap")&&(i.orientation=e.other.reverse?"horizontal":"vertical",i.facetSettings.sharedX=["x","xy"].includes(e.other.facetSharedBy),i.facetSettings.sharedY=["y","xy"].includes(e.other.facetSharedBy)),i}async function rO(e,t){if(t.type==="column"){const n=await e.pFrameProvider.getColumnSpecById(new cC({name:t.id,type:"String"}));return n?new cC({name:t.id,type:n.valueType}):null}return new Zf(t.id)}function fv(e){return JSON.parse(JSON.stringify(e))}async function iO(e,t,n){if(!n||n.length===0)return e;const r=await Promise.all(n.map(o=>rO(t,o.selectedSource))),i=fv(e);return n.forEach(({inputName:o,selectedFilterValue:s},a)=>{if(e.components[o]){const u=r[a];u&&i.components[o].selectorStates.push({selectedSource:u.toCanonicalString(),selectedFilterValue:s})}}),i}function Mle(e,t,n){const r=gT(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState),i=nO(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);e.layers=r;const o=t.optionsState.components;if(o.primaryGrouping.selectorStates.length&&e.primaryGrouping){const s=o.primaryGrouping.selectorStates[0].selectedSource,a=i[s];Object.assign(e.primaryGrouping,Z_(n,t.dataBindAes[s],s,a))}if(o.secondaryGrouping.selectorStates&&e.secondaryGrouping){const s=o.secondaryGrouping.selectorStates[0].selectedSource,a=i[s];Object.assign(e.secondaryGrouping,Z_(n,t.dataBindAes[s],s,a))}return Object.assign(e,vT(t.axesSettings,t.chartType)),e}function Ile(e,t,n){e.layers=gT(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);const r=t.optionsState.components;if(r.grouping.selectorStates.length){const i={};r.grouping.selectorStates.forEach(({selectedSource:o})=>{i[o]=yle(o,n,t.dataBindAes)}),Object.assign(e,{inheritedAes:i})}return Object.assign(e,vT(t.axesSettings,t.chartType)),e}function Hle(e,t){const n={};return(e==null?void 0:e.valueType)!=="discrete"?(t.layersSettings.heatmap.dendrogramX&&(e.dendrogramX={fillNA:0,showNodes:!1}),t.layersSettings.heatmap.dendrogramY&&(e.dendrogramY={fillNA:0,position:"right",showNodes:!1}),n.colorsList=Ac[Loe].colors):n.colorsList=Ac.bright.colors,e.aes=n,Object.assign(e,vT(t.axesSettings,t.chartType)),e}const Lle=280;function _le(e,t,n,r,i){var u,d,h;e.rootPosition="left";const o=n.optionsState.components,s=n.layersSettings.dendro,a=e==null?void 0:e.aes;if(a.nodeShape&&typeof a.nodeShape=="object"){const p=(u=o.nodeShape.selectorStates[0])==null?void 0:u.selectedSource,g=AT(p,r,n.dataBindAes,"dotShape");Object.keys(g).length?a.nodeShape.valuesMap=g:a.nodeShape=pT}else typeof s.dotShape=="string"&&(a.nodeShape=s.dotShape);if(a.nodeColor&&typeof a.nodeColor=="object"){const p=(d=o.nodeColor.selectorStates[0])==null?void 0:d.selectedSource,g=AT(p,r,n.dataBindAes,"color");Object.keys(g).length?a.nodeColor.valuesMap=g:a.nodeColor=Bl}else typeof s.dotFill=="string"&&(a.nodeColor=s.dotFill);if(a.lineColor&&typeof a.lineColor=="object"){const p=(h=o.lineColor.selectorStates[0])==null?void 0:h.selectedSource;a.lineColor.valuesMap=AT(p,r,n.dataBindAes,"color")}else typeof s.lineColor=="string"&&(a.lineColor=s.lineColor);if(o.heatmapForSequence.selectorStates.length>0){const p=t.values.sequenceValue,g=[...new Set(p)].filter(Boolean),C=Ac.bright.colors;e.heatmapSettings={valueType:"discrete",aes:{colorsMap:g.reduce((S,E,B)=>(S[E]=C[B%C.length],S),{})}}}return e.mode=s.mode,e.leavesMode=s.leavesMode,e.showNodesLabels=!1,e.showLeavesLabels=!1,(s.showTable||o.heatmapAnnotation.selectorStates.length>0||o.heatmapForSequence.selectorStates.length>0)&&(e.legend={show:!1}),s.showTable&&o.heatmapAnnotation.selectorStates.length===0&&o.heatmapForSequence.selectorStates.length===0&&(e.size={...e.size,width:Lle*(i/100)}),e}const Ole=600,Nle=350,Vle=400,Gle=250;function $le(e,t=0){return{width:(t>0?Vle:Ole)*(e/100),height:(t>0?Gle:Nle)*(e/100)}}async function zle(e,t,n,r){var i;if(!e.ready||n===null)return null;try{const o=$7(t.chartType),s=await iO(t.optionsState,n,r),a=await o.createDataForPlot(n,s);let u=a.settings;return u.title={name:"",show:!1},u.size=$le(t.chartScale,((i=t.optionsState.components)==null?void 0:i.facetBy.selectorStates.length)||0),t.chartType==="discrete"&&(u=Mle(u,t,e)),(t.chartType==="scatterplot"||t.chartType==="scatterplot-umap")&&(u=Ile(u,t,e)),t.chartType==="heatmap"&&(u=Hle(u,t)),t.chartType==="dendro"&&(u=_le(u,a.dataByColumns,t,e,t.chartScale)),{settings:u,dataByColumns:a.dataByColumns}}catch(o){return console.warn("Cant build chart data"),console.warn(o.message),null}}function oO(e){return e.length<2?[]:e.map(t=>({value:String(t),text:String(t)}))}function sO(e){return e.length<2?[]:e.length>2?o5.filter(t=>t.value!=="ttest"&&t.value!=="wilcoxon"):o5}function mT(e){return async()=>{const t=e.value.commonHelpersData.primaryGroups.value;function n(u,d){return d===null||!!u.find(h=>h.value===d)}const r=e.value.reactive.statisticsSettings,i=sO(t),o=oO(t),s=r.overall.data.testMethod,a=r.referenceGroup.data.referenceGroup;r.overall.validity.testMethod=n(i,s),r.referenceGroup.validity.referenceGroup=n(o,a)}}function Qle(e){e.dispatchEvent(new MouseEvent("click"))}function Ule(e,t){const n=window.URL||window.webkitURL,r=document.createElement("a");r.download=t,r.rel="noopener",r.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(r.href)},4e4),setTimeout(function(){Qle(r)},0)}function Wle(e){var t;return A.reactive({chartType:e.chartType,optionsState:((t=e.optionsState)==null?void 0:t.type)===e.chartType?fv(e.optionsState):fv(Jre(e.chartType)),template:Ele(e.template,e.chartType),statisticsSettings:xle(e.statisticsSettings),layersSettings:Ble(e.layersSettings),axesSettings:Ple(e.chartType,e.axesSettings),dataBindAes:fv(e.dataBindAes??{}),chartScale:100,dendroInfoByClick:null,dendroSelectedNodeId:null})}function jle(e,t,n,r,i){return{reactive:e,commonHelpersData:{primaryGroups:A.computed(()=>tO(e.optionsState,n.value,"primaryGrouping")),secondaryGroups:A.computed(()=>tO(e.optionsState,n.value,"secondaryGrouping")),usedAesInMapping:A.computed(()=>nO(e.chartType,e.template,e.layersSettings,e.statisticsSettings,e.optionsState)),dendroTableData:i},controller:$7(e.chartType),columnsDataStore:t,inputGuide:n,chartData:r}}function Yle(e,t,n){const r=Wle(e),i=$7(r.chartType),o=A.ref($7(r.chartType).getEmptyInputGuide(r.optionsState)),s=A.ref(null),a=A.ref(null),u=A.computed(()=>jle(r,A.toRaw(t.value),o,s,a));return A.watch([()=>r.optionsState,()=>t.value,()=>n.value],async([d,h,p])=>{const g=h?(await Promise.all((p??[]).map(C=>rO(h,C.selectedSource)))).filter(Boolean).map(C=>C==null?void 0:C.toCanonicalString()):[];o.value=h?await i.calculateOptions(A.toRaw(h),d,g):i.getEmptyInputGuide(d)},{immediate:!0,deep:!0}),A.watch([()=>o.value,()=>r],async([d,h])=>{s.value=await zle(d,h,A.toRaw(t.value),n.value)},{immediate:!0,deep:!0}),r.chartType==="dendro"&&A.watch([()=>r.optionsState,()=>t.value,()=>o.value.readyData],async([d,h,p])=>{if(p&&h){const g=await iO(d,h,n.value);a.value=await i.createTableData(h,g)}},{immediate:!0}),A.provide(p1,u),u}function Oo(){return Fre(A.inject(p1),"Empty store")}const Kle={class:"template-list"},Xle=["onClick"],Zle=["onClick"],Jle=A.defineComponent({__name:"TemplateForm",setup(e){const t=Oo(),n=Object.entries(v2).map(([a,u])=>({id:a,text:u.map(d=>bC[d]).join(" + "),icon:Bm[a]})),r=Object.entries(m2).map(([a,u])=>({id:a,text:u.map(d=>bC[d]).join(" + "),icon:Bm[a]})),i=[{id:"heatmap",text:"Heatmap",icon:Bm.heatmap}],o=[{id:"dendro",text:"Dendrogram",icon:Bm.dendro}];function s(a){t.value.reactive.template=a}return(a,u)=>(A.openBlock(),A.createElementBlock("div",{class:"template-form",onClick:u[0]||(u[0]=d=>d.stopPropagation())},[u[5]||(u[5]=A.createElementVNode("div",{class:"template-title"},[A.createElementVNode("h3",null," Template ")],-1)),A.createElementVNode("div",Kle,[A.unref(t).reactive.chartType==="discrete"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(n),({id:d,text:h,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:g=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(h)+" ",1),u[1]||(u[1]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,Xle))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="scatterplot"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(r),({id:d,text:h,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:g=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(h)+" ",1),u[2]||(u[2]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,Zle))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="heatmap"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:2},A.renderList(i,({text:d,icon:h})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(h))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),u[3]||(u[3]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="dendro"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:3},A.renderList(o,({text:d,icon:h})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(h))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),u[4]||(u[4]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0)])]))}});function pv(e,t,n,r=!1){A.onMounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.addEventListener(t,n,r)}),A.onUnmounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.removeEventListener(t,n,r)})}const yT=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function qle(e){return e()}function aO(e,t){if(e==null)throw Error(t);return e}function eue(e){let t=!1;return function(...n){t||(requestAnimationFrame(()=>{e(...n),t=!1}),t=!0)}}function tue(e){return new Promise(t=>setTimeout(t,e))}function nue(e,t){const n=setTimeout(e,t);return()=>{clearTimeout(n)}}function rue(e){return function(t){return 1-e(1-t)}}function iue(e){const{duration:t,draw:n,timing:r}=e,i=performance.now();let o=!1;return requestAnimationFrame(function s(a){let u=(a-i)/t;(u>1||o)&&(u=1);const d=r(u);n(d),u<1&&requestAnimationFrame(s)}),function(){o=!0}}function oue(e,t){let n=-1;return(...r)=>{n!==-1&&(clearTimeout(n),n=-1),n=window.setTimeout(()=>e(...r),t)}}function sue(e,t,n=!0){let r=0,i;return function(...o){i=()=>{e.apply(this,o),r=new Date().getTime()+t,i=null,n&&setTimeout(()=>{i&&i()},t)},new Date().getTime()>r&&i()}}function aue(e){return e.map(t=>({label:"label"in t?t.label:t.text,value:t.value,description:t.description}))}function lO(e,t){const n={el:void 0,x:0,y:0},r=i=>({x:i.x,y:i.y,dx:i.x-n.x,dy:i.y-n.y});pv(document,"mousedown",i=>{i.target===A.unref(e)&&(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),n.el=A.unref(e),n.x=i.x,n.y=i.y)}),pv(document,"mouseup",i=>{n.el&&(n.el=void 0,t({...r(i),stop:!0},n))}),pv(document,"mousemove",i=>{n.el&&t(r(i),n)})}function*lue(e,t){for(const n of e)yield t(n)}function uue(e){const t=[];for(const n of e)t.push(n);return t}const CT=new Map;function cue(e){return CT.has(e)||CT.set(e,A.ref(localStorage.getItem(e))),aO(CT.get(e),"...")}function due(e,t){t==null?localStorage.removeItem(e):localStorage.setItem(e,t)}function hue(e){const t=cue(e);return A.watch(t,n=>due(e,n)),t}const fue=new Set;window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{uue(lue(fue.values(),t=>t(e.matches?"dark":"light")))});const pue=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";A.ref(pue),hue("theme");const C2=A.defineComponent({__name:"MaskIcon16",props:{name:{},size:{}},setup(e){const t=e,n=A.computed(()=>t.size==="large"?"--mask-size: 24px":""),r=A.computed(()=>`mask-16 mask-${t.name}`);return(i,o)=>(A.openBlock(),A.createElementBlock("i",{style:A.normalizeStyle(n.value),class:A.normalizeClass(r.value)},null,6))}});function Aue(e){function t(n){const r=n.currentTarget,i=document.createElement("span"),o=Math.max(r.clientWidth,r.clientHeight),s=o/2;i.style.width=i.style.height=`${o}px`,i.style.left=`${n.clientX-r.offsetLeft-s}px`,i.style.top=`${n.clientY-r.offsetTop-s}px`,i.classList.add("ripple");const a=r.getElementsByClassName("ripple")[0];a&&a.remove(),r.appendChild(i)}A.onMounted(()=>{var n;(n=e.value)==null||n.addEventListener("click",t)})}const gue={key:0},vue={name:"PlBtnGhost"},uO=A.defineComponent({...vue,props:{loading:{type:Boolean},size:{default:void 0},round:{type:Boolean},icon:{default:void 0},reverse:{type:Boolean},justifyCenter:{type:Boolean,default:!1}},setup(e){const t=e,n=A.computed(()=>t.size==="small"),r=A.computed(()=>t.size==="large"),i=A.ref(),o=A.useSlots();return Aue(i),(s,a)=>(A.openBlock(),A.createElementBlock("button",A.mergeProps({ref_key:"btnRef",ref:i,tabindex:"0",class:["ui-btn-ghost",{loading:s.loading,small:n.value,large:r.value,round:s.round,reverse:s.reverse,justifyCenter:s.justifyCenter,[s.$attrs.class+""]:!0}]},{...s.$attrs,disabled:!!s.$attrs.disabled||s.loading}),[A.unref(o).default&&!s.round?(A.openBlock(),A.createElementBlock("span",gue,[A.renderSlot(s.$slots,"default")])):A.createCommentVNode("",!0),a[0]||(a[0]=A.createTextVNode()),s.loading?(A.openBlock(),A.createBlock(C2,{key:1,name:"loading",size:s.size},null,8,["size"])):s.icon?(A.openBlock(),A.createBlock(C2,{key:2,name:s.icon,size:s.size},null,8,["name","size"])):A.createCommentVNode("",!0)],16))}});function cO(e,t){const n=eue(()=>{if(e.value){const{scrollTop:r,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:a,clientWidth:u}=document.documentElement,d=e.value.getBoundingClientRect();t({scrollTop:r,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:a,clientWidth:u,offsetY:r+d.y,offsetX:i+d.x,top:d.top,right:d.right,bottom:d.bottom,left:d.left,width:d.width,height:d.height,x:d.x,y:d.y})}});A.onMounted(n),pv(window,"scroll",n,!0),pv(window,"resize",n,!0),pv(window,"adjust",n,!0)}function mue(e,t){const n=A.ref();return cO(e,r=>{n.value=r}),A.computed(()=>{const r=A.unref(n),i=A.unref(t),o=i.position??"top",s=i.gap??8;if(!r)return"";const a=r.offsetY+Math.floor(r.height/2),u=r.offsetX+Math.floor(r.width/2);return o==="top-left"?`left: ${r.offsetX}px; top: ${r.offsetY-s}px;`:o==="top"?`left: ${u}px; top: ${r.offsetY-s}px;`:o==="right"?`left: ${r.offsetX+r.width+s}px; top: ${a}px;`:o==="left"?`right: ${r.scrollWidth-r.x+s}px; top: ${a}px;`:""})}function dO(e,t){return t(e)}function a5(e,t){if(e!=null)return t(e)}function yue(e){return Array.isArray(e)?e:[e]}function l5(e,t){pv(document,"click",n=>{document.contains(n.target)&&(yue(e).map(r=>r.value).filter(r=>!!r).some(r=>r==null?void 0:r.contains(n.target))||t())})}const Cue={},wue={class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Sue(e,t){return A.openBlock(),A.createElementBlock("svg",wue,t[0]||(t[0]=[A.createElementVNode("path",{d:"M4.00222 8.00933L0 4.00711L4.00222 0.00488281L4.00222 8.00933Z",fill:"#24223D"},null,-1)]))}const bue=yT(Cue,[["render",Sue]]),wT=new Map,Eue={name:"PlTooltip"},w2=A.defineComponent({...Eue,props:{openDelay:{default:100},closeDelay:{default:1e3},position:{default:"top"},hide:{type:Boolean},gap:{default:8},element:{default:"div"}},emits:["tooltip:close"],setup(e,{emit:t}){const n=t,r=Symbol(),i=e,o=A.reactive({open:!1,over:!1,tooltipOpen:!1,key:Symbol()});wT.set(r,()=>d()),A.watch(()=>o.open,E=>{requestAnimationFrame(()=>{o.tooltipOpen=E})});let s=()=>{};const a=sue(()=>window.dispatchEvent(new CustomEvent("adjust")),1e3),u=()=>{o.open=!0;for(let[E,B]of wT.entries())E!==r&&B()},d=()=>{o.open=!1,n("tooltip:close")},h=async()=>{i.hide||(a(),o.over=!0,s(),await tue(100),o.over&&u())},p=()=>{o.over=!1,s=nue(()=>{o.over||d()},i.closeDelay)};A.watch(()=>i.hide,E=>{E&&d()});const g=A.ref(),C=A.ref(),S=mue(g,A.toRef(i));return l5([g,C],()=>d()),A.onUnmounted(()=>{wT.delete(r)}),(E,B)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(E.element),A.mergeProps(E.$attrs,{ref_key:"rootRef",ref:g,onClick:h,onMouseover:h,onMouseleave:p}),{default:A.withCtx(()=>[A.renderSlot(E.$slots,"default"),B[1]||(B[1]=A.createTextVNode()),E.$slots.tooltip&&o.open?(A.openBlock(),A.createBlock(A.Teleport,{key:0,to:"body"},[A.createVNode(A.Transition,{name:"tooltip-transition"},{default:A.withCtx(()=>[o.tooltipOpen?(A.openBlock(),A.createElementBlock("div",{key:0,class:"pl-tooltip__container",style:A.normalizeStyle(A.unref(S))},[A.createElementVNode("div",{ref_key:"tooltip",ref:C,class:A.normalizeClass(["pl-tooltip",E.position]),onMouseover:h,onMouseleave:p},[A.createElementVNode("div",null,[A.renderSlot(E.$slots,"tooltip")]),B[0]||(B[0]=A.createTextVNode()),A.createVNode(bue)],34)],4)):A.createCommentVNode("",!0)]),_:3})])):A.createCommentVNode("",!0)]),_:3},16))}}),xue={},Rue={class:"inner-border"};function Bue(e,t,n,r,i,o){return A.openBlock(),A.createElementBlock("div",Rue,[A.renderSlot(e.$slots,"default")])}const Tue=yT(xue,[["render",Bue]]),Pue={key:0},Due=["tabindex","onKeydown","onClick"],Fue={key:1,class:"ui-btn-group__helper"},kue={key:2,class:"ui-btn-group__error"},Mue={name:"PlBtnGroup"},bh=A.defineComponent({...Mue,props:{modelValue:{},label:{},options:{},disabled:{type:Boolean},helper:{},error:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=A.useSlots(),r=t,i=a=>r("update:modelValue",a),o=e,s=A.computed(()=>o.options.map(a=>({label:"label"in a?a.label:a.text,value:a.value})));return(a,u)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["ui-btn-group",{disabled:a.disabled}])},[a.label?(A.openBlock(),A.createElementBlock("label",Pue,[A.createElementVNode("span",null,A.toDisplayString(a.label),1),u[0]||(u[0]=A.createTextVNode()),A.unref(n).tooltip?(A.openBlock(),A.createBlock(A.unref(w2),{key:0,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(a.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0),u[1]||(u[1]=A.createTextVNode()),A.createVNode(Tue,{class:"ui-btn-group__container"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(s.value,(d,h)=>(A.openBlock(),A.createElementBlock("div",{key:h,class:A.normalizeClass(["ui-btn-group__option",{active:a.modelValue===d.value}]),tabindex:a.modelValue===d.value||a.disabled?void 0:0,onKeydown:A.withKeys(p=>i(d.value),["enter"]),onClick:p=>i(d.value)},A.toDisplayString(d.label),43,Due))),128))]),_:1}),u[2]||(u[2]=A.createTextVNode()),a.helper?(A.openBlock(),A.createElementBlock("div",Fue,A.toDisplayString(a.helper),1)):a.error?(A.openBlock(),A.createElementBlock("div",kue,A.toDisplayString(a.error),1)):A.createCommentVNode("",!0)],2))}}),Iue={inheritAttrs:!1},Hue={class:"double-contour"};function Lue(e,t,n,r,i,o){return A.openBlock(),A.createElementBlock("div",Hue,[A.createElementVNode("div",A.normalizeProps(A.guardReactiveProps(e.$attrs)),[A.renderSlot(e.$slots,"default")],16)])}const hO=yT(Iue,[["render",Lue]]);function _ue(e){A.onMounted(e),A.onUpdated(e)}const ST=new WeakMap,bT=new ResizeObserver(e=>{for(const t of e)a5(ST.get(t.target),n=>n(t))});function Oue(e,t){ST.set(e,t),bT.unobserve(e),bT.observe(e)}function Nue(e){bT.unobserve(e),ST.delete(e)}const Vue=8,fO=4;function ET(e,t="label"){const n=new Set;_ue(()=>{a5(e==null?void 0:e.value,r=>{const i=r.querySelector(t);i&&(n.add(i),Oue(i,()=>{const o=qle(()=>i.getBoundingClientRect().width+dO(Vue,s=>Number.isNaN(s)?fO:s+fO));r.style.getPropertyValue("--label-offset-right-x")!==`${o}px`&&r.style.setProperty("--label-offset-right-x",`${o}px`)}))})}),A.onBeforeUnmount(()=>{Array.from(n.values()).map(r=>Nue(r))})}function Gue(e,t){const n=[];return t&&t.length>0&&t.forEach(r=>{const i=r(e);typeof i=="string"&&n.push(i)}),{isValid:n.length===0,errors:n}}function $ue(e,t){return A.computed(()=>Gue(e.value,t))}const zue={class:"ui-text-field__envelope"},Que={key:0,ref:"label"},Uue={key:0,class:"required-icon"},Wue={key:1,class:"ui-text-field__prefix"},jue=["disabled","placeholder"],Yue={class:"ui-text-field__append"},Kue={key:0,class:"ui-text-field__error"},Xue={key:1,class:"ui-text-field__helper"},Zue={name:"PlTextField"},EC=A.defineComponent({...Zue,props:{modelValue:{},label:{},clearable:{type:[Boolean,Function]},required:{type:Boolean},error:{},helper:{},placeholder:{},disabled:{type:Boolean},dashed:{type:Boolean},prefix:{},rules:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=A.useSlots(),r=t,i=e,o=A.ref(void 0),s=A.ref(),a=A.computed({get(){return i.modelValue??""},set(S){r("update:modelValue",S)}}),u=()=>{i.clearable&&r("update:modelValue",i.clearable===!0?"":i.clearable())},d=$ue(a,i.rules||[]),h=A.computed(()=>i.clearable?i.clearable===!0?i.modelValue==="":i.modelValue===i.clearable():i.modelValue===""),p=A.computed(()=>!h.value),g=A.computed(()=>{const S=[];return i.error&&S.push(i.error),d.value.isValid||S.push(...d.value.errors),S}),C=A.computed(()=>g.value.length>0);return ET(o),(S,E)=>(A.openBlock(),A.createElementBlock("div",zue,[A.createElementVNode("div",{ref_key:"rootRef",ref:o,class:A.normalizeClass(["ui-text-field",{error:C.value,disabled:S.disabled,dashed:S.dashed,nonEmpty:p.value}])},[S.label?(A.openBlock(),A.createElementBlock("label",Que,[S.required?(A.openBlock(),A.createElementBlock("i",Uue)):A.createCommentVNode("",!0),E[1]||(E[1]=A.createTextVNode()),A.createElementVNode("span",null,A.toDisplayString(S.label),1),E[2]||(E[2]=A.createTextVNode()),A.unref(n).tooltip?(A.openBlock(),A.createBlock(A.unref(w2),{key:1,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(S.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)],512)):A.createCommentVNode("",!0),E[4]||(E[4]=A.createTextVNode()),S.prefix?(A.openBlock(),A.createElementBlock("div",Wue,A.toDisplayString(S.prefix),1)):A.createCommentVNode("",!0),E[5]||(E[5]=A.createTextVNode()),A.withDirectives(A.createElementVNode("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":E[0]||(E[0]=B=>a.value=B),disabled:S.disabled,placeholder:S.placeholder||"...",type:"text",spellcheck:"false"},null,8,jue),[[A.vModelText,a.value]]),E[6]||(E[6]=A.createTextVNode()),A.createElementVNode("div",Yue,[S.clearable&&p.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon icon--clear",onClick:u})):A.createCommentVNode("",!0),E[3]||(E[3]=A.createTextVNode()),A.renderSlot(S.$slots,"append")]),E[7]||(E[7]=A.createTextVNode()),A.createVNode(hO,{class:"ui-text-field__contour"})],2),E[8]||(E[8]=A.createTextVNode()),C.value?(A.openBlock(),A.createElementBlock("div",Kue,A.toDisplayString(g.value.join(" ")),1)):S.helper?(A.openBlock(),A.createElementBlock("div",Xue,A.toDisplayString(S.helper),1)):A.createCommentVNode("",!0)]))}});function Jue(e,t){const n=e.scrollTop,r=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<r+n&&i>n}function que(e,t){const n=e.scrollTop,r=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<r+n?"ceil":i>n?"floor":"visible"}function ece(e,t,n={}){const r=e.scrollTop,i=e.getBoundingClientRect().height,o=t.getBoundingClientRect().height,s=t.offsetTop,a=que(e,t);if(a==="visible")return;const u=d=>{const h=a==="floor"?s-(i-o):s;e.scrollTop=r+d*(h-r)};Jue(e,t)||iue({duration:n.duration||100,timing:rue(d=>d),draw:u})}function pO(e){return e!==null&&typeof e=="object"}function u5(e,t){return pO(e)&&pO(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(n=>u5(e[n],t[n])):e===t}const tce=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
28
28
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 4.5H4.5L4.5 19.5H19.5V4.5ZM4.5 3C3.67157 3 3 3.67157 3 4.5V19.5C3 20.3284 3.67157 21 4.5 21H19.5C20.3284 21 21 20.3284 21 19.5V4.5C21 3.67157 20.3284 3 19.5 3H4.5Z" fill="#110529"/>
|
|
29
29
|
</svg>
|
|
30
30
|
`,nce=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/graph-maker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/graph-maker.umd.cjs",
|
|
6
6
|
"module": "dist/graph-maker.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@milaboratories/helpers": "^1.6.6",
|
|
33
33
|
"@milaboratories/miplots4": "^1.0.46",
|
|
34
|
-
"@milaboratories/pf-plots": "^1.0.
|
|
34
|
+
"@milaboratories/pf-plots": "^1.0.50",
|
|
35
35
|
"@milaboratories/uikit": "^1.2.26",
|
|
36
36
|
"@platforma-sdk/model": "^1.7.20",
|
|
37
37
|
"@types/d3-hierarchy": "^3.1.7",
|