@milaboratories/graph-maker 1.0.10 → 1.0.11
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 +13 -13
- package/dist/graph-maker.umd.cjs +1 -1
- package/package.json +3 -3
package/dist/graph-maker.js
CHANGED
|
@@ -3812,19 +3812,19 @@ async function ej(e, t, r) {
|
|
|
3812
3812
|
}
|
|
3813
3813
|
async function Mu(e, t, r) {
|
|
3814
3814
|
let n = Cn(t);
|
|
3815
|
-
async function i(
|
|
3816
|
-
let
|
|
3817
|
-
return
|
|
3818
|
-
}
|
|
3819
|
-
async function o(
|
|
3820
|
-
let
|
|
3821
|
-
return
|
|
3822
|
-
}
|
|
3823
|
-
let s = await e.pFrameProvider.getColumns([], ["String"], { [gie]: "true" }, !1), l = li(n) ? await o(n) : await i(n)
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3815
|
+
async function i(d) {
|
|
3816
|
+
let f = await ej(e, d, r);
|
|
3817
|
+
return f ? y8(f) : null;
|
|
3818
|
+
}
|
|
3819
|
+
async function o(d) {
|
|
3820
|
+
let f = await e.pFrameProvider.getColumnSpecById(d);
|
|
3821
|
+
return f ? y8(f) : null;
|
|
3822
|
+
}
|
|
3823
|
+
let s = await e.pFrameProvider.getColumns([], ["String"], { [gie]: "true" }, !1), l = li(n) ? await o(n) : await i(n), c = await Promise.all(s.map(async (d) => {
|
|
3824
|
+
let f = await e.pFrameProvider.getColumnSpecById(d);
|
|
3825
|
+
return f && f.axesSpec.length === 1 && y8(f.axesSpec[0]) === l;
|
|
3826
|
+
})).then((d) => d.findIndex((f) => f === !0));
|
|
3827
|
+
if (c !== -1) return s[c];
|
|
3828
3828
|
}
|
|
3829
3829
|
async function Ol(e, t, r) {
|
|
3830
3830
|
var n, i;
|
package/dist/graph-maker.umd.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __p += '`),_i&&(Mt+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+Mt+`return __p
|
|
27
|
-
}`;var Un=Q4(function(){return Jn(be,Er+"return "+Mt).apply(r,Me)});if(Un.source=Mt,Pg(Un))throw Un;return Un}function JD(C){return bo(C).toLowerCase()}function Tb(C){return bo(C).toUpperCase()}function qD(C,b,O){if(C=bo(C),C&&(O||b===r))return It(C);if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=ho(b),be=Si(Z,ue),Me=ha(Z,ue)+1;return Tu(Z,be,Me).join("")}function Pb(C,b,O){if(C=bo(C),C&&(O||b===r))return C.slice(0,dp(C)+1);if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=ha(Z,ho(b))+1;return Tu(Z,0,ue).join("")}function $4(C,b,O){if(C=bo(C),C&&(O||b===r))return C.replace(Zn,"");if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=Si(Z,ho(b));return Tu(Z,ue).join("")}function eF(C,b){var O=ne,Z=re;if(na(b)){var ue="separator"in b?b.separator:ue;O="length"in b?Hn(b.length):O,Z="omission"in b?qs(b.omission):Z}C=bo(C);var be=C.length;if(Lh(C)){var Me=ho(C);be=Me.length}if(O>=be)return C;var He=O-rd(Z);if(He<1)return Z;var Ue=Me?Tu(Me,0,He).join(""):C.slice(0,He);if(ue===r)return Ue+Z;if(Me&&(He+=Ue.length-He),xw(ue)){if(C.slice(He).search(ue)){var Rt,Et=Ue;for(ue.global||(ue=cl(ue.source,bo(Vr.exec(ue))+"g")),ue.lastIndex=0;Rt=ue.exec(Et);)var Mt=Rt.index;Ue=Ue.slice(0,Mt===r?He:Mt)}}else if(C.indexOf(qs(ue),He)!=He){var Xt=Ue.lastIndexOf(ue);Xt>-1&&(Ue=Ue.slice(0,Xt))}return Ue+Z}function tF(C){return C=bo(C),C&&cs.test(C)?C.replace(Sn,aA):C}var rF=G(function(C,b,O){return C+(O?" ":"")+b.toUpperCase()}),Db=L("toUpperCase");function Fb(C,b,O){return C=bo(C),b=O?r:b,b===r?Cv(C)?Ag(C):qc(C):C.match(b)||[]}var Q4=yn(function(C,b){try{return Kr(C,r,b)}catch(O){return Pg(O)?O:new $r(O)}}),nF=jh(function(C,b){return An(b,function(O){O=Mu(O),za(C,O,Ot(C[O],C))}),C});function iF(C){var b=C==null?0:C.length,O=Yr();return C=b?Nn(C,function(Z){if(typeof Z[1]!="function")throw new Ll(s);return[O(Z[0]),Z[1]]}):[],yn(function(Z){for(var ue=-1;++ue<b;){var be=C[ue];if(Kr(be[0],this,Z))return Kr(be[1],this,Z)}})}function oF(C){return vp(Zs(C,p))}function kb(C){return function(){return C}}function sF(C,b){return C==null||C!==C?b:C}var aF=Fe(),Mb=Fe(!0);function wd(C){return C}function Ib(C){return ld(typeof C=="function"?C:Zs(C,p))}function lF(C){return du(Zs(C,p))}function uF(C,b){return eo(C,Zs(b,p))}var cF=yn(function(C,b){return function(O){return ga(O,C,b)}}),dF=yn(function(C,b){return function(O){return ga(C,O,b)}});function Hb(C,b,O){var Z=pu(b),ue=Aa(b,Z);O==null&&!(na(b)&&(ue.length||!Z.length))&&(O=b,b=C,C=this,ue=Aa(b,pu(b)));var be=!(na(O)&&"chain"in O)||!!O.chain,Me=Pp(C);return An(ue,function(He){var Ue=b[He];C[He]=Ue,Me&&(C.prototype[He]=function(){var Rt=this.__chain__;if(be||Rt){var Et=C(this.__wrapped__),Mt=Et.__actions__=ws(this.__actions__);return Mt.push({func:Ue,args:arguments,thisArg:C}),Et.__chain__=Rt,Et}return Ue.apply(C,da([this.value()],arguments))})}),C}function hF(){return di._===this&&(di._=yf),this}function Lb(){}function z4(C){return C=Hn(C),yn(function(b){return ud(b,C)})}var Ob=Kt(Nn),fF=Kt(Ml),pF=Kt(Jc);function lC(C){return ar(C)?Y(Mu(C)):yr(C)}function uC(C){return function(b){return C==null?r:vs(C,b)}}var AF=Ss(),gF=Ss(!0);function Nb(){return[]}function _b(){return!1}function vF(){return{}}function mF(){return""}function CF(){return!0}function U4(C,b){if(C=Hn(C),C<1||C>ye)return[];var O=he,Z=Jo(C,he);b=Yr(b),C-=he;for(var ue=je(Z,b);++O<C;)b(O);return ue}function yF(C){return _n(C)?Nn(C,Mu):Bi(C)?[C]:ws(r0(bo(C)))}function wF(C){var b=++wc;return bo(C)+b}var SF=Dt(function(C,b){return C+b},0),bF=Ri("ceil"),EF=Dt(function(C,b){return C/b},1),xF=Ri("floor");function RF(C){return C&&C.length?Nl(C,wd,ou):r}function BF(C,b){return C&&C.length?Nl(C,Yr(b,2),ou):r}function TF(C){return vf(C,wd)}function PF(C,b){return vf(C,Yr(b,2))}function DF(C){return C&&C.length?Nl(C,wd,Ma):r}function FF(C,b){return C&&C.length?Nl(C,Yr(b,2),Ma):r}var kF=Dt(function(C,b){return C*b},1),MF=Ri("round"),IF=Dt(function(C,b){return C-b},0);function HF(C){return C&&C.length?Ke(C,wd):0}function b0(C,b){return C&&C.length?Ke(C,Yr(b,2)):0}return me.after=Oe,me.ary=ot,me.assign=Cd,me.assignIn=y0,me.assignInWith=_v,me.assignWith=kg,me.at=F4,me.before=Lt,me.bind=Ot,me.bindAll=nF,me.bindKey=Ht,me.castArray=b4,me.chain=d0,me.chunk=AA,me.compact=n0,me.concat=Ad,me.cond=iF,me.conforms=oF,me.constant=kb,me.countBy=j1,me.create=Vv,me.curry=nr,me.curryRight=Cr,me.debounce=br,me.defaults=Gv,me.defaultsDeep=Tw,me.defer=Ca,me.delay=Xe,me.difference=oi,me.differenceBy=ra,me.differenceWith=is,me.drop=Ka,me.dropRight=ac,me.dropRightWhile=bg,me.dropWhile=Xa,me.fill=Bv,me.filter=A0,me.flatMap=K1,me.flatMapDeep=cb,me.flatMapDepth=X1,me.flatten=i0,me.flattenDeep=Ep,me.flattenDepth=fu,me.flip=_e,me.flow=aF,me.flowRight=Mb,me.fromPairs=o0,me.functions=I4,me.functionsIn=DD,me.groupBy=Bp,me.initial=s0,me.intersection=G1,me.intersectionBy=gd,me.intersectionWith=Eg,me.invert=H4,me.invertBy=FD,me.invokeMap=Sw,me.iteratee=Ib,me.keyBy=db,me.keys=pu,me.keysIn=yd,me.map=wA,me.mapKeys=kD,me.mapValues=MD,me.matches=lF,me.matchesProperty=uF,me.memoize=Je,me.merge=ID,me.mergeWith=L4,me.method=cF,me.methodOf=dF,me.mixin=Hb,me.negate=Qt,me.nthArg=z4,me.omit=HD,me.omitBy=LD,me.once=Fr,me.orderBy=hb,me.over=Ob,me.overArgs=Zr,me.overEvery=fF,me.overSome=pF,me.partial=fr,me.partialRight=Jr,me.partition=Hv,me.pick=OD,me.pickBy=O4,me.property=lC,me.propertyOf=uC,me.pull=Pv,me.pullAll=xp,me.pullAllBy=Sl,me.pullAllWith=Mf,me.pullAt=Gs,me.range=AF,me.rangeRight=gF,me.rearg=Ja,me.reject=h,me.remove=Za,me.rest=to,me.reverse=xg,me.sampleSize=R,me.set=bb,me.setWith=Eb,me.shuffle=M,me.slice=mA,me.sortBy=fe,me.sortedUniq=l0,me.sortedUniqBy=CA,me.split=KD,me.spread=If,me.tail=hw,me.take=fw,me.takeRight=Dv,me.takeRightWhile=u0,me.takeWhile=ib,me.tap=ub,me.throttle=fb,me.thru=uh,me.toArray=C0,me.toPairs=Mw,me.toPairsIn=N4,me.toPath=yF,me.toPlainObject=Cb,me.transform=rC,me.unary=AD,me.union=ob,me.unionBy=pw,me.unionWith=Aw,me.uniq=Rp,me.uniqBy=sb,me.uniqWith=Bg,me.unset=nC,me.unzip=c0,me.unzipWith=$s,me.update=ND,me.updateWith=_4,me.values=S0,me.valuesIn=_D,me.without=ab,me.words=Fb,me.wrap=gD,me.xor=gw,me.xorBy=U1,me.xorWith=lb,me.zip=vw,me.zipObject=mw,me.zipObjectDeep=Cw,me.zipWith=md,me.entries=Mw,me.entriesIn=N4,me.extend=y0,me.extendWith=_v,Hb(me,me),me.add=SF,me.attempt=Q4,me.camelCase=G4,me.capitalize=iC,me.ceil=bF,me.clamp=V4,me.clone=E4,me.cloneDeep=mD,me.cloneDeepWith=x4,me.cloneWith=vD,me.conformsTo=pb,me.deburr=oC,me.defaultTo=sF,me.divide=EF,me.endsWith=Iw,me.eq=Hf,me.escape=sC,me.escapeRegExp=aC,me.every=Y1,me.find=Mv,me.findIndex=bp,me.findKey=yb,me.findLast=ww,me.findLastIndex=gA,me.findLastKey=Pw,me.floor=xF,me.forEach=Iv,me.forEachRight=Tg,me.forIn=tC,me.forInRight=k4,me.forOwn=Dw,me.forOwnRight=M4,me.get=wb,me.gt=CD,me.gte=yD,me.has=Fw,me.hasIn=w0,me.head=vA,me.identity=wd,me.includes=g0,me.indexOf=kf,me.inRange=VD,me.invoke=kw,me.isArguments=Lv,me.isArray=_n,me.isArrayBuffer=wD,me.isArrayLike=Gl,me.isArrayLikeObject=ya,me.isBoolean=Z1,me.isBuffer=Tp,me.isDate=SD,me.isElement=bD,me.isEmpty=R4,me.isEqual=ED,me.isEqualWith=Ew,me.isError=Pg,me.isFinite=Ab,me.isFunction=Pp,me.isInteger=J1,me.isLength=q1,me.isMap=gb,me.isMatch=B4,me.isMatchWith=T4,me.isNaN=Dg,me.isNative=xD,me.isNil=BD,me.isNull=RD,me.isNumber=m0,me.isObject=na,me.isObjectLike=wa,me.isPlainObject=Ov,me.isRegExp=xw,me.isSafeInteger=TD,me.isSet=vb,me.isString=Rw,me.isSymbol=Bi,me.isTypedArray=Fg,me.isUndefined=Bw,me.isWeakMap=eC,me.isWeakSet=P4,me.join=vd,me.kebabCase=$D,me.last=Iu,me.lastIndexOf=Tv,me.lowerCase=xb,me.lowerFirst=Rb,me.lt=D4,me.lte=mb,me.max=RF,me.maxBy=BF,me.mean=TF,me.meanBy=PF,me.min=DF,me.minBy=FF,me.stubArray=Nb,me.stubFalse=_b,me.stubObject=vF,me.stubString=mF,me.stubTrue=CF,me.multiply=kF,me.nth=a0,me.noConflict=hF,me.noop=Lb,me.now=De,me.pad=QD,me.padEnd=zD,me.padStart=tX,me.parseInt=UD,me.random=GD,me.reduce=bw,me.reduceRight=v0,me.repeat=WD,me.replace=jD,me.result=Sb,me.round=MF,me.runInContext=Ge,me.sample=g,me.size=$,me.snakeCase=YD,me.some=X,me.sortedIndex=$1,me.sortedIndexBy=Q1,me.sortedIndexOf=Zh,me.sortedLastIndex=Rg,me.sortedLastIndexBy=z1,me.sortedLastIndexOf=Jh,me.startCase=XD,me.startsWith=Bb,me.subtract=IF,me.sum=HF,me.sumBy=b0,me.template=ZD,me.times=U4,me.toFinite=SA,me.toInteger=Hn,me.toLength=Nv,me.toLower=JD,me.toNumber=qh,me.toSafeInteger=PD,me.toString=bo,me.toUpper=Tb,me.trim=qD,me.trimEnd=Pb,me.trimStart=$4,me.truncate=eF,me.unescape=tF,me.uniqueId=wF,me.upperCase=rF,me.upperFirst=Db,me.each=Iv,me.eachRight=Tg,me.first=vA,Hb(me,function(){var C={};return xi(me,function(b,O){ri.call(me.prototype,O)||(C[O]=b)}),C}(),{chain:!1}),me.VERSION=n,An(["bind","bindKey","curry","curryRight","partial","partialRight"],function(C){me[C].placeholder=me}),An(["drop","take"],function(C,b){sn.prototype[C]=function(O){O=O===r?1:so(Hn(O),0);var Z=this.__filtered__&&!b?new sn(this):this.clone();return Z.__filtered__?Z.__takeCount__=Jo(O,Z.__takeCount__):Z.__views__.push({size:Jo(O,he),type:C+(Z.__dir__<0?"Right":"")}),Z},sn.prototype[C+"Right"]=function(O){return this.reverse()[C](O).reverse()}}),An(["filter","map","takeWhile"],function(C,b){var O=b+1,Z=O==ce||O==Se;sn.prototype[C]=function(ue){var be=this.clone();return be.__iteratees__.push({iteratee:Yr(ue,3),type:O}),be.__filtered__=be.__filtered__||Z,be}}),An(["head","last"],function(C,b){var O="take"+(b?"Right":"");sn.prototype[C]=function(){return this[O](1).value()[0]}}),An(["initial","tail"],function(C,b){var O="drop"+(b?"":"Right");sn.prototype[C]=function(){return this.__filtered__?new sn(this):this[O](1)}}),sn.prototype.compact=function(){return this.filter(wd)},sn.prototype.find=function(C){return this.filter(C).head()},sn.prototype.findLast=function(C){return this.reverse().find(C)},sn.prototype.invokeMap=yn(function(C,b){return typeof C=="function"?new sn(this):this.map(function(O){return ga(O,C,b)})}),sn.prototype.reject=function(C){return this.filter(Qt(Yr(C)))},sn.prototype.slice=function(C,b){C=Hn(C);var O=this;return O.__filtered__&&(C>0||b<0)?new sn(O):(C<0?O=O.takeRight(-C):C&&(O=O.drop(C)),b!==r&&(b=Hn(b),O=b<0?O.dropRight(-b):O.take(b-C)),O)},sn.prototype.takeRightWhile=function(C){return this.reverse().takeWhile(C).reverse()},sn.prototype.toArray=function(){return this.take(he)},xi(sn.prototype,function(C,b){var O=/^(?:filter|find|map|reject)|While$/.test(b),Z=/^(?:head|last)$/.test(b),ue=me[Z?"take"+(b=="last"?"Right":""):b],be=Z||/^find/.test(b);ue&&(me.prototype[b]=function(){var Me=this.__wrapped__,He=Z?[1]:arguments,Ue=Me instanceof sn,Rt=He[0],Et=Ue||_n(Me),Mt=function(pi){var _i=ue.apply(me,da([pi],He));return Z&&Xt?_i[0]:_i};Et&&O&&typeof Rt=="function"&&Rt.length!=1&&(Ue=Et=!1);var Xt=this.__chain__,Er=!!this.__actions__.length,tn=be&&!Xt,Un=Ue&&!Er;if(!be&&Et){Me=Un?Me:new sn(this);var dn=C.apply(Me,He);return dn.__actions__.push({func:uh,args:[Mt],thisArg:r}),new ps(dn,Xt)}return tn&&Un?C.apply(this,He):(dn=this.thru(Mt),tn?Z?dn.value()[0]:dn.value():dn)})}),An(["pop","push","shift","sort","splice","unshift"],function(C){var b=dl[C],O=/^(?:push|sort|unshift)$/.test(C)?"tap":"thru",Z=/^(?:pop|shift)$/.test(C);me.prototype[C]=function(){var ue=arguments;if(Z&&!this.__chain__){var be=this.value();return b.apply(_n(be)?be:[],ue)}return this[O](function(Me){return b.apply(_n(Me)?Me:[],ue)})}}),xi(sn.prototype,function(C,b){var O=me[b];if(O){var Z=O.name+"";ri.call(Wd,Z)||(Wd[Z]=[]),Wd[Z].push({name:b,func:O})}}),Wd[ze(r,D).name]=[{name:"wrapper",func:r}],sn.prototype.clone=xr,sn.prototype.reverse=eu,sn.prototype.value=qi,me.prototype.at=h0,me.prototype.chain=yA,me.prototype.commit=f0,me.prototype.next=p0,me.prototype.plant=kv,me.prototype.reverse=W1,me.prototype.toJSON=me.prototype.valueOf=me.prototype.value=yw,me.prototype.first=me.prototype.head,Va&&(me.prototype[Va]=Fv),me},Cc=hp();ke?((ke.exports=Cc)._=Cc,le._=Cc):di._=Cc}).call(o3)}(TE,TE.exports);var wq=TE.exports;const xn=qv(wq);var _f=class xE{constructor({type:t,name:r,domain:n}){this.kind="axis",this.type=t,this.name=r,this.domain={...n}}toCanonicalString(){return BE(this)}static fromAxisSpec(t){return new xE({name:t.name,type:t.type,domain:t.domain})}static fromAxesSpec(t){return t.map(r=>xE.fromAxisSpec(r))}copy(){return new xE({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 xE(t)}},BC=class sq{constructor({name:t,type:r}){this.kind="column",this.name=t,this.type=r}toCanonicalString(){return BE(this)}static fromPojo(t){return new sq(t)}};function Wn(e){return e!==null&&e.kind==="column"}function iR(e){return e!==null&&e.kind==="axis"}function an(e){let t=JSON.parse(e);if(t.kind==="column")return BC.fromPojo(t);if(t.kind==="axis")return _f.fromPojo(t);throw Error("wrong column or axis object")}var Sq="pl7.app/axisNature",bq="pl7.app/label",Eq="pl7.app/isLabel",xq="pl7.app/columnAsAxis/name",Rq="pl7.app/columnAsAxis/domain";async function uI(e,t,r){let n;if(r){let i=await e.pFrameProvider.getTableOuterJoin([t,r],[]),o=i.columnsData[t.toCanonicalString()],s=i.columnsData[r.toCanonicalString()];n=o.reduce((l,c,d)=>(l[String(c)]=String(s[d]),l),{})}else n=(await e.pFrameProvider.getColumnUniqueValues(t)).reduce((i,o)=>{let s=String(o);return i[s]=s,i},{});return n}async function cI(e,t,r,n){let i;if(n){let{data:o,axesData:s}=await e.pFrameProvider.getSingleColumnData(n);i=s[t.toCanonicalString()].reduce((l,c,d)=>(l[String(c)]=String(o[d]),l),{})}else i=(await e.pFrameProvider.getAxisUniqueValues(t,[r])).reduce((o,s)=>{let l=String(s);return o[l]=l,o},{});return i}async function Bq(e,t,r){let n=an(t);if(Wn(n)){let i=await e.pFrameProvider.getColumnSpecById(n);if(!i)return;let o=await zl(e,t,[]),s={kind:"column",label:await el(e,t,[]),valueLabels:await uI(e,n,o),uniqueValues:i.valueType!=="Double"?await e.pFrameProvider.getColumnUniqueValues(n):[],type:i.valueType};r.set(n.toCanonicalString(),s);for(let l of i.axesSpec){let c=_f.fromAxisSpec(l),d=c.toCanonicalString(),f=await zl(e,d,[t]),p={kind:"axis",label:await el(e,d,[t]),valueLabels:await cI(e,c,n,f),uniqueValues:l.type?await e.pFrameProvider.getAxisUniqueValues(c,[n]):[],type:l.type,mustBeConsumed:fI(l),dividable:!1,spec:l};r.set(d,p)}}}function dI(e){let t=an(e),{name:r,type:n}=t;return Wn(t)?{kind:"column",label:" ",uniqueValues:[],valueLabels:{},type:t.type}:{kind:"axis",label:" ",uniqueValues:[],valueLabels:{},type:n,spec:{type:n,name:r},mustBeConsumed:!1,dividable:!1}}function PE(e){return{type:e.type,components:{...e.components},dividedAxes:{...e.dividedAxes}}}function IA(e){let{selectedSource:t,selectedFilterValue:r}=e,n=an(t);if(!n)throw Error("Empty source selected");return iR(n)?{type:"bySingleColumn",column:{type:"axis",id:n.toPFrameId()},predicate:{operator:"Equal",reference:n.type==="String"?String(r):Number(r)}}:{type:"bySingleColumn",column:{type:"column",id:n.name},predicate:{operator:"Equal",reference:n.type==="String"?String(r):Number(r)}}}function oR(e){var t,r,n,i;if("kind"in e&&e.kind==="PColumn"){let l=(r=e.name)!=null?r:(t=e.annotations)==null?void 0:t[xq],c=(i=e.domain)!=null?i:(n=e.annotations)==null?void 0:n[Rq];return BE({name:l,domain:c})}let o=e.name,s=e.domain;return BE({name:o,domain:s})}async function hI(e,t,r){for(let n of r){let i=an(n);if(Wn(i)){let o=await e.pFrameProvider.getColumnSpecById(i),s=o==null?void 0:o.axesSpec.find(l=>_f.fromAxisSpec(l).toCanonicalString()===t.toCanonicalString());if(s)return s}}return null}async function zl(e,t,r){let n=an(t);async function i(c){let d=await hI(e,c,r);return d?oR(d):null}async function o(c){let d=await e.pFrameProvider.getColumnSpecById(c);return d?oR(d):null}let s=await e.pFrameProvider.getColumns([],["String"],{[Eq]:"true"},!1),l=Wn(n)?await o(n):await i(n);return s.find(async c=>{let d=await e.pFrameProvider.getColumnSpecById(c);return d&&d.axesSpec.length===1&&oR(d.axesSpec[0])===l})}async function el(e,t,r){var n,i;let o=an(t),s=await zl(e,t,r),l;if(Wn(o)?l=await e.pFrameProvider.getColumnSpecById(s??o):l=s?await e.pFrameProvider.getColumnSpecById(s):await hI(e,o,r),!l)return"";let c=(i=(n=l.annotations)==null?void 0:n[bq])!=null?i:l.name;return e.labelsModifier(l.name,c)}function fI(e){var t,r;let n=(r=(t=e.annotations)==null?void 0:t[Sq])==null?void 0:r.toLowerCase();return!!n&&n!=="homogenous"&&n!=="homogeneous"}var DE=class{constructor(t,r){this.simpleComponentControllers=t,this.filterComponentControllers=r,this.ignoredOptionIdNames=[],this.dataInputs=[]}get requiredComponents(){let t=[];for(let r of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[r].isRequired&&t.push(r);return t}get dimensionsConsumerComponents(){let t=[];for(let r of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[r].isDimensionsConsumer&&t.push(r);for(let r of Object.keys(this.filterComponentControllers))this.filterComponentControllers[r].isDimensionsConsumer&&t.push(r);return t}addSelected(t,r,n,i){if(t in this.simpleComponentControllers)return this.simpleComponentControllers[t].addSelected(r,n);if(t in this.filterComponentControllers)return this.filterComponentControllers[t].addSelected(r,n,!0,i);throw Error(`Unknown input name: ${String(t)}`)}deleteSelected(t,r,n,i){if(t in this.simpleComponentControllers)return this.simpleComponentControllers[t].deleteSelected(n,i);if(t in this.filterComponentControllers)return this.filterComponentControllers[t].deleteSelected(n,i);throw Error(`Unknown input name: ${String(t)}`)}changeSelected(t,r,n,i,o){let s=n.components[t].selectorStates.map(p=>[p.selectedSource,"selectedFilterValue"in p?p.selectedFilterValue:void 0]),l=i.map((p,m)=>[p,o==null?void 0:o[m]]),c=s.filter(([p])=>!l.find(m=>m[0]===p)),d=l.filter(([p])=>!s.find(m=>m[0]===p)),f=PE(n);return c.forEach(([p])=>{f=this.deleteSelected(t,r,f,p)}),d.forEach(([p,m])=>{f=this.addSelected(t,f,p,m)}),f}switchDividableAxis(t,r){return PE(t)}createEmptyComponentsGuide(t){return Object.fromEntries(Object.entries(t.components).map(([r,n])=>n.type!=="filter"?[r,{options:[],optionsInfo:new Map,stateConsistency:{},required:!1,multipleSelectors:!1}]:[r,{options:[],optionsInfo:new Map,multipleSelectors:!1,required:!1,stateConsistency:{},filterValueOptions:{}}]))}async getSelectedSetAndInfo(t,r,n=[]){let i=new Set,o=new Set,s=new Map;for(let{selectorStates:l}of Object.values(r.components))for(let{selectedSource:c}of l){await Bq(t,c,s);let d=an(c);if(d instanceof BC){let f=await t.pFrameProvider.getColumnSpecById(d);f==null||f.axesSpec.forEach(p=>{let m=_f.fromAxisSpec(p).toCanonicalString();i.add(m),o.add(c)})}}return{selectedAxesSet:i,selectedSourcesSet:o,selectedColumnsOrAxesInfo:s}}getEmptyInputGuide(t){return{components:this.createEmptyComponentsGuide(t),getSourceInfo:r=>dI(r),freeOptionsSet:new Set,readyData:!1,ready:!1}}async calculateOptions(t,r,n=[]){let i=this.createEmptyComponentsGuide(r),o=new Set;for(let p of this.dimensionsConsumerComponents)for(let{selectedSource:m}of r.components[p].selectorStates)o.add(m);let s=new Set(this.ignoredOptionIdNames),l=new Set(n),c=new Set,{selectedColumnsOrAxesInfo:d}=await this.getSelectedSetAndInfo(t,r,n),f=new Map;for(let p of Object.keys(this.simpleComponentControllers)){let m=await this.simpleComponentControllers[p].getOptions(t,r,o,s,l);m.options.forEach(w=>{c.add(w.value)});for(let[w,x]of m.optionsInfo)f.set(w,x);i[p]=m}for(let p of Object.keys(this.filterComponentControllers)){let m=await this.filterComponentControllers[p].getOptionsFilter(t,r,o,s,l);m.options.forEach(w=>{c.add(w.value)});for(let[w,x]of m.optionsInfo)f.set(w,x);i[p]=m}return{components:i,getSourceInfo:p=>{var m,w,x;let E=(m=an(p).toCanonicalString())!=null?m:p;return(x=(w=f.get(E))!=null?w:d.get(E))!=null?x:dI(p)},freeOptionsSet:c,readyData:this.readyDataInputs(r),ready:await this.readyForPlotBuilding(t,r,c,f)}}async checkStateConsistency(t,r){let n=new Map;for(let i of Object.keys(this.simpleComponentControllers))n.set(i,await this.simpleComponentControllers[i].checkStateConsistency(t,r));for(let i of Object.keys(this.filterComponentControllers))n.set(i,await this.filterComponentControllers[i].checkStateConsistency(t,r));return n}async isConsistent(t,r){let n=await this.checkStateConsistency(t,r);for(let i of n.values())if(Object.values(i).some(o=>!o))return!1;return!0}readyDataInputs(t){return this.dataInputs.every(r=>t.components[r].selectorStates.length>0)}async readyForPlotBuilding(t,r,n,i){if(!await this.isConsistent(t,r)||!this.readyDataInputs(r))return!1;let o=[];for(let s of n){let l=an(s),c=l?i.get(l.toCanonicalString()):null;c&&c.kind==="axis"&&c.mustBeConsumed&&o.push(s)}return this.requiredComponents.every(s=>r.components[s].selectorStates.length>0)&&o.length===0}async createDataForPlot(t,r){return{dataByColumns:await this.createDataByColumns(t,r),settings:await this.createChartSettings(t,r)}}},pI=class aq{constructor({componentName:t,allowedTypes:r,settings:n,dependsOn:i=[],parentComponents:o=[],annotations:s={},strictlyDependsOnParents:l=!0}){this.componentName=t,this.allowedTypes=[...r],this.settings={...aq.DefaultSettings,...n},this.dependsOn=[...i],this.parentComponents=[...o],this.strictlyDependsOnParents=l,this.annotations={...s}}get isRequired(){return this.settings.required}get isDimensionsConsumer(){return this.settings.dimensionConsumer}addSelected(t,r,n=!1,i){let o=PE(t),s={selectedSource:r};return n&&(s.selectedFilterValue=i),o.components[this.componentName].selectorStates.push(s),o}deleteSelected(t,r){let n=PE(t);return n.components[this.componentName].selectorStates=n.components[this.componentName].selectorStates.filter(i=>i.selectedSource!==r),n}async checkStateConsistency(t,r){let n=r.components[this.componentName],i=await this.getParentAxes(t,r);function o(l){let c=_f.fromAxisSpec(l);return i.has(c.toCanonicalString())}let s=await Promise.all(n.selectorStates.map(async({selectedSource:l})=>{let c=an(l);if(Wn(c)){let d=await t.pFrameProvider.getColumnSpecById(c);return d?this.parentComponents.length===0?!0:this.strictlyDependsOnParents?d.axesSpec.every(f=>o(f)):i.size===0||d.axesSpec.some(f=>o(f)):!1}return i.has(l)}));return n.selectorStates.reduce((l,c,d)=>(l[c.selectedSource]=s[d],l),{})}getParentSelectedSources(t,r){return this.parentComponents.reduce((n,i)=>{let o=r.components[i].selectorStates.map(s=>an(s.selectedSource));return n.push(...o),n},[])}async getParentAxes(t,r){let n=this.getParentSelectedSources(t,r),i=new Set;for(let o of n)if(Wn(o)){let s=await t.pFrameProvider.getColumnSpecById(o);s==null||s.axesSpec.forEach(l=>{let c=_f.fromAxisSpec(l);i.add(c.toCanonicalString())})}return i}async getAllowedAxes(t,r){var n;let i=this.getParentSelectedSources(t,r),o=new Set,s=new Map;for(let l of i)if(Wn(l)){let c=await t.pFrameProvider.getColumnSpecById(l);for(let d of(n=c==null?void 0:c.axesSpec)!=null?n:[]){let f=_f.fromAxisSpec(d),p=this.allowedTypes.includes(d.type),m=Object.entries(this.annotations).every(([w,x])=>{var E;return((E=d.annotations)==null?void 0:E[w])===x});if(p&&m){o.add(f.toCanonicalString());let w=await zl(t,f.toCanonicalString(),[l.toCanonicalString()]),x=await t.pFrameProvider.getAxisUniqueValues(f,[l]);s.set(f.toCanonicalString(),{kind:"axis",label:await el(t,f.toCanonicalString(),[l.toCanonicalString()]),valueLabels:await cI(t,f,l,w),uniqueValues:x,type:d.type,mustBeConsumed:fI(d),dividable:!1,spec:d})}}}return{axes:o,optionsInfo:s}}async getOptions(t,r,n,i=new Set,o=new Set){let s=this.settings.multipleSelectors,l=this.settings.required,c=await this.checkStateConsistency(t,r);if(this.strictlyDependsOnParents&&this.parentComponents.some(E=>r.components[E].selectorStates.length===0))return{multipleSelectors:s,required:l,stateConsistency:c,options:[],optionsInfo:new Map};let d=this.getParentSelectedSources(t,r),f=(await t.pFrameProvider.getColumns(d,this.allowedTypes,this.annotations,this.strictlyDependsOnParents)).filter(E=>!n.has(E.toCanonicalString())),{axes:p,optionsInfo:m}=await this.getAllowedAxes(t,r);if(this.dependsOn.length&&this.dependsOn.some(E=>r.components[E].selectorStates.length===0))return{multipleSelectors:s,required:l,stateConsistency:c,options:[],optionsInfo:new Map};let w=r.components[this.componentName],x=[];if(this.settings.axesAllowed)for(let E of p){let T=an(E),D=m.get(T.toCanonicalString()),F=!this.settings.homogeneous||!(D!=null&&D.mustBeConsumed),k=!n.has(E),z=i.has(T.name)||o.has(T.toCanonicalString()),V=w.selectorStates.some(_=>_.selectedSource===E);F&&k&&!z&&!V&&x.push({value:E})}if(this.settings.columnsAllowed)for(let E of f){let T=E.toCanonicalString(),D=an(T),F=await t.pFrameProvider.getColumnSpecById(D);if(F){let V=await zl(t,E.toCanonicalString(),[]),_=await t.pFrameProvider.getColumnUniqueValues(E),I=await el(t,E.toCanonicalString(),[]),U=await uI(t,E,V),J={kind:"column",label:I,valueLabels:U,uniqueValues:_,type:F.valueType};m.set(D.toCanonicalString(),J)}let k=i.has(D.name)||o.has(D.toCanonicalString()),z=r.components[this.componentName].selectorStates.some(V=>V.selectedSource===T);!k&&!z&&x.push({value:T})}return{multipleSelectors:s,required:l,stateConsistency:c,options:x,optionsInfo:m}}async getOptionsFilter(t,r,n,i=new Set,o=new Set){let s=r.components[this.componentName];if(s.type!=="filter")throw Error("Trying to take filter options for simple component");let l=await this.getOptions(t,r,n,i,o),c=this.getParentSelectedSources(t,r).filter(Wn);function d(m){let w=an(m);return Wn(w)?t.pFrameProvider.getColumnUniqueValues(w):t.pFrameProvider.getAxisUniqueValues(w,c)}let f=await Promise.all(l.options.map(m=>d(m.value))),p=await Promise.all(s.selectorStates.map(m=>d(m.selectedSource)));return{...l,filterValueOptions:{...l.options.reduce((m,{value:w},x)=>(m[w]=f[x],m),{}),...s.selectorStates.reduce((m,w,x)=>(m[w.selectedSource]=p[x],m),{})}}}};pI.DefaultSettings={multipleSelectors:!1,required:!1,homogeneous:!1,axesAllowed:!1,columnsAllowed:!0,dimensionConsumer:!1};var Ui=pI,Tq={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:{}},Pq=class extends DE{constructor(){super({y:new Ui({componentName:"y",allowedTypes:["Int","Double","Long"],settings:{}}),primaryGrouping:new Ui({componentName:"primaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,homogeneous:!0}}),secondaryGrouping:new Ui({componentName:"secondaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["primaryGrouping"],settings:{axesAllowed:!0,homogeneous:!0}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["y"]}async createDataByColumns(t,r){let n={type:"columns",values:{}},i=r.components.y.selectorStates[0].selectedSource,o=an(i);if(!i||!Wn(o))throw Error("Y column is not valid");let s=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],l=[...r.components.filters.selectorStates.map(m=>an(m.selectedSource)),...r.components.tabBy.selectorStates.map(m=>an(m.selectedSource))].filter(Wn),c=[i],d=[r.components.primaryGrouping,r.components.secondaryGrouping,r.components.facetBy],f=[];for(let m of d)for(let{selectedSource:w}of m.selectorStates){f.push(an(w));let x=await zl(t,w,c);x&&f.push(x)}let p=await t.pFrameProvider.getTableOuterJoin([o,...l],f,s);return f.forEach(m=>{let w=m.toCanonicalString();n.values[w]=Wn(m)?p.columnsData[w]:p.axesData[w]}),n.values[o.toCanonicalString()]=p.columnsData[o.toCanonicalString()],n}async createChartSettings(t,r){var n,i;let o=r.components.y.selectorStates[0].selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Y column is not valid");let l={type:"column",value:o,label:await el(t,o,[])},c=[o],d;if(r.components.primaryGrouping.selectorStates.length){let{selectedSource:m}=r.components.primaryGrouping.selectorStates[0];d={columnName:{type:"column",value:m,label:await el(t,m,c),valueLabels:(n=await zl(t,m,c))==null?void 0:n.toCanonicalString()}}}let f;if(r.components.secondaryGrouping.selectorStates.length){let{selectedSource:m}=r.components.secondaryGrouping.selectorStates[0];f={columnName:{type:"column",value:m,label:await el(t,m,c),valueLabels:(i=await zl(t,m,c))==null?void 0:i.toCanonicalString()}}}let p=await Promise.all(r.components.facetBy.selectorStates.map(async m=>{var w,x;return{type:"column",value:(x=(w=await zl(t,m.selectedSource,c))==null?void 0:w.toCanonicalString())!=null?x:m.selectedSource,label:await el(t,m.selectedSource,c)}}));return{type:"discrete",y:l,primaryGrouping:d,secondaryGrouping:f,facetBy:p}}},Dq={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 FE(e,t){if(!t.length)return[];let r=t.map(o=>an(o)),n=Object.values(e.columnsData)[0].length,i=[];for(let o=0;o<n;o++){let s=r.map(l=>{let c=l.toCanonicalString();return Wn(l)?e.columnsData[c][o]:e.axesData[c][o]}).join(", ");i.push(s)}return i}var Fq=class extends DE{constructor(){super({value:new Ui({componentName:"value",allowedTypes:["Int","Long","Double","String"],settings:{columnsAllowed:!0,axesAllowed:!1,required:!0}}),x:new Ui({componentName:"x",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),xGroupBy:new Ui({componentName:"xGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["x"]}),y:new Ui({componentName:"y",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),yGroupBy:new Ui({componentName:"yGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["y"]}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),annotations:new Ui({componentName:"annotations",allowedTypes:["String","Int"],parentComponents:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0},dependsOn:["x","y"]})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["value"]}async readyForPlotBuilding(t,r,n,i){let{axes:o}=await this.simpleComponentControllers.x.getAllowedAxes(t,r),s=[...o],l=this.dimensionsConsumerComponents;return await super.readyForPlotBuilding(t,r,n,i)&&s.every(c=>l.some(d=>r.components[d].selectorStates.some(f=>f.selectedSource===c)))}async createDataByColumns(t,r){var n;let i={type:"columns",values:{}},o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],c=[...r.components.filters.selectorStates.map(I=>an(I.selectedSource)),...r.components.tabBy.selectorStates.map(I=>an(I.selectedSource))].filter(Wn),d=[o],f=[r.components.facetBy,r.components.annotations,r.components.xGroupBy,r.components.yGroupBy],p=[];for(let I of f)for(let{selectedSource:U}of I.selectorStates){p.push(an(U));let J=await zl(t,U,d);J&&p.push(J)}let m=await t.pFrameProvider.getTableOuterJoin([s,...c],p,l);p.forEach(I=>{let U=I.toCanonicalString();i.values[U]=Wn(I)?m.columnsData[U]:m.axesData[U]}),i.values[s.toCanonicalString()]=m.columnsData[s.toCanonicalString()];let w=r.components.x.selectorStates.concat(r.components.xGroupBy.selectorStates).map(I=>I.selectedSource),x=w.join(", ");i.values[x]=FE(m,w);let E=r.components.x.selectorStates.map(I=>I.selectedSource),T=await Promise.all(E.map(async I=>{var U,J;return(J=(U=await zl(t,I,d))==null?void 0:U.toCanonicalString())!=null?J:I})),D=E.join(", ");i.values[D]=FE(m,T);let F=r.components.y.selectorStates.concat(r.components.yGroupBy.selectorStates).map(I=>I.selectedSource),k=F.join(", ");i.values[k]=FE(m,F);let z=r.components.y.selectorStates.map(I=>I.selectedSource),V=z.join(", "),_=await Promise.all(z.map(async I=>{var U,J;return(J=(U=await zl(t,I,d))==null?void 0:U.toCanonicalString())!=null?J:I}));return i.values[V]=FE(m,_),i}async createChartSettings(t,r){var n,i;let o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[o],c={type:"column",value:o,label:await el(t,o,[])},d=r.components.x.selectorStates.concat(r.components.xGroupBy.selectorStates).map(({selectedSource:V})=>an(V)).filter(V=>iR(V)).map(V=>V.toCanonicalString()),f=d.join(", "),p=r.components.y.selectorStates.concat(r.components.yGroupBy.selectorStates).map(({selectedSource:V})=>an(V)).filter(V=>iR(V)).map(V=>V.toCanonicalString()),m=p.join(", "),w=await Promise.all(r.components.facetBy.selectorStates.map(async V=>{var _;return{type:"column",value:(_=await zl(t,V.selectedSource,l))!=null?_:V.selectedSource}})),x=await Promise.all(r.components.xGroupBy.selectorStates.map(async V=>({type:"column",label:await el(t,V.selectedSource,l),value:V.selectedSource}))),E=await Promise.all(r.components.yGroupBy.selectorStates.map(async V=>({type:"column",label:await el(t,V.selectedSource,l),value:V.selectedSource}))),T=await Promise.all(r.components.annotations.selectorStates.map(async V=>{var _,I;let U=V.selectedSource,J=an(U),ne=Wn(J)?(_=(await t.pFrameProvider.getColumnAxesIds(J)).map(K=>K.toCanonicalString()))!=null?_:[]:[U],re="";if(ne.every(K=>d.findIndex(ee=>ee===K)!==-1))re="x";else if(ne.every(K=>p.findIndex(ee=>ee===K)!==-1))re="y";else throw Error("Invalid annotation axes");return{axis:re,valueColumn:{type:"column",value:U,label:await el(t,U,l)},type:Wn(J)&&((I=await t.pFrameProvider.getColumnSpecById(J))==null?void 0:I.valueType)==="Double"?"continuous":"discrete"}})),D=r.components.x.selectorStates.map(({selectedSource:V})=>V).join(", "),F=r.components.y.selectorStates.map(({selectedSource:V})=>V).join(", "),k=(await Promise.all(r.components.x.selectorStates.map(V=>el(t,V.selectedSource,l)))).join(", "),z=(await Promise.all(r.components.y.selectorStates.map(V=>el(t,V.selectedSource,l)))).join(", ");return{type:"heatmap",valueColumn:c,valueType:((i=await t.pFrameProvider.getColumnSpecById(s))==null?void 0:i.valueType)==="String"?"discrete":"continuous",xColumn:{type:"column",value:f,label:k,valueLabels:D},yColumn:{type:"column",value:m,label:z,valueLabels:F},facetBy:w,xGroupBy:x,yGroupBy:E,annotations:T}}},kq={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:{}},Mq=class extends DE{constructor(){super({x:new Ui({componentName:"x",allowedTypes:["Int","Long","Double"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Ui({componentName:"y",allowedTypes:["Int","Long","Double"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Ui({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({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(t,r,n,i){var o,s;if(!super.readyForPlotBuilding(t,r,n,i))return!1;let l=(o=r.components.x.selectorStates[0])==null?void 0:o.selectedSource,c=(s=r.components.y.selectorStates[0])==null?void 0:s.selectedSource;if(!this.isConsistent(t,r)||!l||!c)return!1;let{axes:d}=await this.simpleComponentControllers.y.getAllowedAxes(t,r),{axes:f}=await this.simpleComponentControllers.x.getAllowedAxes(t,r),p=an(l),m=an(c),w=Wn(p)?[...d]:[l],x=Wn(m)?[...f]:[c],E=w.filter(F=>!x.some(k=>k===F)),T=x.filter(F=>!w.some(k=>k===F));if(E.length===0&&T.length===0)return!0;let D=this.dimensionsConsumerComponents;return E.every(F=>D.some(k=>r.components[k].selectorStates.some(z=>z.selectedSource===F)))&&T.every(F=>D.some(k=>r.components[k].selectorStates.some(z=>z.selectedSource===F)))}async createDataByColumns(t,r){var n,i;let o={type:"columns",values:{}},s=(n=r.components.x.selectorStates[0])==null?void 0:n.selectedSource,l=(i=r.components.y.selectorStates[0])==null?void 0:i.selectedSource,c=an(s),d=an(l);if(!s||!c||!l||!d)throw Error("X or Y column is not valid");let f=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],p=[...r.components.filters.selectorStates.map(D=>an(D.selectedSource)),...r.components.tabBy.selectorStates.map(D=>an(D.selectedSource))].filter(Wn),m=[c,d].filter(Wn).map(D=>D.toCanonicalString());if(m.length===0)throw Error("One of X and Y should be a column");let w=[c,d,...p],x=[],E=[r.components.grouping,r.components.facetBy];for(let D of E)for(let{selectedSource:F}of D.selectorStates){x.push(an(F));let k=await zl(t,F,m);k&&x.push(k)}let T=await t.pFrameProvider.getTableOuterJoin(w,x,f);return[...w,...x].forEach(D=>{let F=D.toCanonicalString();o.values[F]=Wn(D)?T.columnsData[F]:T.axesData[F]}),o.values.key=o.values[Object.keys(o.values)[0]].map((D,F)=>F),o}async createChartSettings(t,r){var n,i;let o=(n=r.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(i=r.components.y.selectorStates[0])==null?void 0:i.selectedSource,l=o?an(o):null,c=s?an(s):null;if(!o||!s||!l||!c||!Wn(l)&&!Wn(c))throw Error("Empty or invalid required data");let d=[l,c].filter(Wn).map(E=>E.toCanonicalString()),f={type:"column",value:o,label:await el(t,o,d)},p={type:"column",value:s,label:await el(t,s,d)},m={type:"column",value:"key"},w=await Promise.all(r.components.facetBy.selectorStates.map(async E=>{var T;return{type:"column",value:(T=await zl(t,E.selectedSource,d))!=null?T:E.selectedSource}})),x=await Promise.all(r.components.grouping.selectorStates.map(async E=>{var T;let D=E.selectedSource;return{type:"column",label:await el(t,D,d)||D,value:D,valueLabels:(T=await zl(t,D,d))!=null?T:D}}));return{type:"scatterplot",x:f,y:p,keyColumn:m,facetBy:w,grouping:x}}},sR="pl7.app/dendrogram/nodeId",kE="sequenceOrder",ME="sequenceValue",TC="id",Iq={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:{}},Hq=class extends DE{constructor(){super({value:new Ui({componentName:"value",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isTopology":"true"},settings:{columnsAllowed:!0,required:!0,dimensionConsumer:!0}}),height:new Ui({componentName:"height",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isDistance":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1,dimensionConsumer:!0}}),labels:new Ui({componentName:"labels",allowedTypes:["Int","String","Long"],annotations:{"pl7.app/dendrogram/isLabel":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),tableContent:new Ui({componentName:"tableContent",allowedTypes:["Int","String","Long","Double","Float"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0,multipleSelectors:!0}}),nodeShape:new Ui({componentName:"nodeShape",allowedTypes:["Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeSize:new Ui({componentName:"nodeSize",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeColor:new Ui({componentName:"nodeColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),lineColor:new Ui({componentName:"lineColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),heatmapForSequence:new Ui({componentName:"heatmapForSequence",allowedTypes:["String"],annotations:{"pl7.app/type":"sequence"},parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!0}}),heatmapAnnotation:new Ui({componentName:"heatmapAnnotation",allowedTypes:["Double","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!1}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapAxis:new Ui({componentName:"heatmapAxis",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapGroup:new Ui({componentName:"heatmapGroup",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}})}),this.ignoredOptionIdNames=[sR]}readyDataInputs(t){return t.components.value.selectorStates.length>0}async createTableData(t,r){var n;let i={},o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],c=[...r.components.filters.selectorStates.map(D=>an(D.selectedSource)),...r.components.tabBy.selectorStates.map(D=>an(D.selectedSource))].filter(Wn),d=[o],f=[],p=[],m=[r.components.value],w=[r.components.tableContent,r.components.labels,r.components.nodeColor,r.components.nodeSize,r.components.nodeShape,r.components.lineColor],x={};for(let D of m)for(let{selectedSource:F}of D.selectorStates){let k=await zl(t,F,d),z=k??an(F);x[z.toCanonicalString()]=F,f.push(z)}for(let D of w)for(let{selectedSource:F}of D.selectorStates){let k=await zl(t,F,d),z=k??an(F);x[F]=z.toCanonicalString(),p.push(z)}let E=await t.pFrameProvider.getTableOuterJoin([...f,...c],p,l,!1);for(let D of[...f,...p]){let F=D.toCanonicalString(),k=x[D.toCanonicalString()];i[k]={data:Wn(D)?E.columnsData[F]:E.axesData[F],label:await el(t,k,d)}}let T=Object.keys(E.axesData).find(D=>{var F;return((F=an(D))==null?void 0:F.name)===sR});return T?i[TC]={data:E.axesData[T],label:"Node id"}:console.warn("Missed node id axis in data column"),i}async createDataByColumns(t,r){var n,i,o,s;let l={type:"columns",values:{}},c=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,d=(i=r.components.heatmapAnnotation.selectorStates[0])==null?void 0:i.selectedSource,f=an(c),p=d?an(d):null;if(!c||!Wn(f))throw Error("Value column is not valid");let m=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],w=[...r.components.filters.selectorStates.map(J=>an(J.selectedSource)),...r.components.tabBy.selectorStates.map(J=>an(J.selectedSource))].filter(Wn),x=[f,p].filter(Wn).map(J=>J.toCanonicalString()),E=[],T=[],D=[r.components.value,r.components.height,r.components.labels,r.components.nodeColor,r.components.nodeSize,r.components.nodeShape,r.components.lineColor,r.components.heatmapAnnotation,r.components.heatmapForSequence],F=[r.components.facetBy,r.components.heatmapAxis,r.components.heatmapGroup,r.components.tableContent];for(let J of D)for(let{selectedSource:ne}of J.selectorStates){E.push(an(ne));let re=await zl(t,ne,x);re&&E.push(re)}for(let J of F)for(let{selectedSource:ne}of J.selectorStates){T.push(an(ne));let re=await zl(t,ne,x);re&&T.push(re)}let k=await t.pFrameProvider.getTableOuterJoin([...E,...w],T,m,!1),z=r.components.heatmapForSequence.selectorStates.length>0?r.components.heatmapForSequence.selectorStates[0].selectedSource:null,V=[],_=[];if(z){_=Wn(an(z))?k.columnsData[z]:k.axesData[z];let J=_.find(ne=>ne!==null);J&&(V=String(J).split("").map((ne,re)=>re),l.values[kE]=[],l.values[ME]=[])}let I=(s=(o=Object.values(k.columnsData)[0])==null?void 0:o.length)!=null?s:0;[...E,...T].forEach(J=>{let ne=J.toCanonicalString(),re=Wn(J)?k.columnsData[ne]:k.axesData[ne];l.values[ne]=[],z?V.forEach(()=>{l.values[ne]=l.values[ne].concat(re)}):l.values[ne]=re}),z&&V.forEach(J=>{l.values[kE]=l.values[kE].concat(new Array(I).fill(J)),l.values[ME]=l.values[ME].concat(_.map(ne=>ne?String(ne)[J]:null))});let U=Object.keys(k.axesData).find(J=>{var ne;return((ne=an(J))==null?void 0:ne.name)===sR});return U?z?(l.values[TC]=[],V.forEach(()=>{l.values[TC]=l.values[TC].concat(k.axesData[U])})):l.values[TC]=k.axesData[U]:console.warn("Missed node id axis in data column"),l}async createChartSettings(t,r){var n;let i=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=an(i);if(!i||!Wn(o))throw Error("Data column is not valid");let s=[i],l={type:"column",value:TC},c={type:"column",value:i},d=r.components.height.selectorStates.length?{type:"column",value:r.components.height.selectorStates[0].selectedSource}:void 0,f=r.components.labels.selectorStates.length?{type:"column",value:r.components.labels.selectorStates[0].selectedSource}:void 0,p={};if(r.components.nodeColor.selectorStates.length){let E=r.components.nodeColor.selectorStates[0].selectedSource;p.nodeColor={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.nodeShape.selectorStates.length){let E=r.components.nodeShape.selectorStates[0].selectedSource;p.nodeShape={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.nodeSize.selectorStates.length){let E=r.components.nodeSize.selectorStates[0].selectedSource;p.nodeSize={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.lineColor.selectorStates.length){let E=r.components.lineColor.selectorStates[0].selectedSource;p.lineColor={columnName:{type:"column",value:E,label:await el(t,E,s)}}}let m,w,x;return r.components.heatmapAnnotation.selectorStates.length&&r.components.heatmapAxis.selectorStates.length?(m={type:"column",value:r.components.heatmapAnnotation.selectorStates[0].selectedSource},w={type:"column",value:r.components.heatmapAxis.selectorStates[0].selectedSource},x=r.components.heatmapGroup.selectorStates.map(E=>({type:"column",value:E.selectedSource}))):r.components.heatmapForSequence.selectorStates.length&&(m={type:"column",value:ME},w={type:"column",value:kE}),{type:"dendro",id:l,parentId:c,height:d,labels:f,aes:p,heatmapAnnotation:m,heatmapAxis:w,heatmapGroup:x}}};function IE(e,t){return e==="String"?t.data:new Array(...t.data).map(r=>e==="Int"&&r===-2147483648||e==="Long"&&r===BigInt(-9007199254740991)||(e==="Double"||e==="Float")&&isNaN(r)?null:Number(r))}var Lq=class{constructor(t,r){this.pframeHandle=t,this.pframeDriver=r}async getSingleColumnData(t,r=[]){try{let n=await this.pframeDriver.calculateTableData(this.pframeHandle,{src:{type:"column",column:t.name},filters:r,sorting:[]}),i=n.filter(s=>s.spec.type==="axis"),o=n.filter(s=>s.spec.type==="column");return{axesData:i.reduce((s,l)=>{let c=_f.fromAxisSpec(l.spec.spec);return s[c.toCanonicalString()]=IE(c.type,l.data),s},{}),data:o.length?IE(t.type,o[0].data):[]}}catch(n){throw console.error("PFrame: single column data error"),n}}async getColumnUniqueValues(t,r=[]){let n={columnId:t.name,filters:r,limit:10};try{let i=await this.pframeDriver.getUniqueValues(this.pframeHandle,n);return new Array(...i.values.data).map(String)}catch{return[]}}async getAxisUniqueValues(t,r,n=[]){try{let i=r.filter(Wn),o=await Promise.all(i.map(s=>this.pframeDriver.getUniqueValues(this.pframeHandle,{columnId:s.name,axis:t.toPFrameId(),filters:n,limit:1e3})));return xn.uniq(xn.flatten(o.map(s=>new Array(...s.values.data).map(String))))}catch{return[]}}async getTableOuterJoin(t,r,n=[],i=!0){let o=t.filter(Wn),s=r.filter(Wn),l={src:{type:"outer",primary:{type:i?"inner":"full",entries:o.map(c=>({type:"column",column:c.name}))},secondary:s.map(c=>({type:"column",column:c.name}))},filters:n,sorting:[]};try{let c=await this.pframeDriver.calculateTableData(this.pframeHandle,l),d=c.filter(p=>p.spec.type==="axis"),f=c.filter(p=>p.spec.type==="column");return{axesData:d.reduce((p,m)=>{let w=_f.fromAxisSpec(m.spec.spec);return p[w.toCanonicalString()]=IE(w.type,m.data),p},{}),columnsData:f.reduce((p,m)=>{let w=m.spec.spec,x=new BC({name:m.spec.id,type:w.valueType});return p[x.toCanonicalString()]=IE(x.type,m.data),p},{})}}catch(c){throw console.error("PFrame: table outer join error"),console.info("error with request: ",l),c}}async getColumnSpecById(t){try{let r=await this.pframeDriver.getColumnSpec(this.pframeHandle,t.name);return r??null}catch{return console.error("PFrame: get single column error"),null}}async getColumnAxesIds(t){var r,n;return(n=(r=await this.getColumnSpecById(t))==null?void 0:r.axesSpec.map(i=>_f.fromAxisSpec(i)))!=null?n:[]}async getRequestColumnsFromSelectedSources(t){var r,n;let i=[];for(let o of t)if(Wn(o)){let s=(n=(r=await this.getColumnSpecById(o))==null?void 0:r.axesSpec)!=null?n:[];i.push(...s.map(l=>_f.fromAxisSpec(l).toPFrameId()))}return i}async getColumnsList(){return this.pframeDriver.listColumns(this.pframeHandle)}async getColumns(t,r,n,i){try{let o={columnFilter:{type:r,annotationValue:n},compatibleWith:await this.getRequestColumnsFromSelectedSources(t),strictlyCompatible:i},s=await this.pframeDriver.findColumns(this.pframeHandle,o),l=[];return s.hits.forEach(({columnId:c,spec:d})=>{l.push(new BC({name:c,type:d.valueType}))}),l}catch(o){throw console.error("PFrame: get columns error",o),o}}},AI=class{constructor(t,r,n=(i,o)=>o??i){this.labelsModifier=n,this.pFrameProvider=new Lq(t,r)}},gI={controllers:{discrete:new Pq,scatterplot:new Mq,heatmap:new Fq,dendro:new Hq},initialStates:{discrete:Tq,scatterplot:kq,heatmap:Dq,dendro:Iq}};function HE(e){return gI.controllers[e]}function Oq(e){return gI.initialStates[e]}const Vn=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},Nq={},_q={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vq(e,t){return A.openBlock(),A.createElementBlock("svg",_q,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 Gq=Vn(Nq,[["render",Vq]]),$q={},Qq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function zq(e,t){return A.openBlock(),A.createElementBlock("svg",Qq,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 Uq=Vn($q,[["render",zq]]),Wq={},jq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yq(e,t){return A.openBlock(),A.createElementBlock("svg",jq,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 Kq=Vn(Wq,[["render",Yq]]),Xq={},Zq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Jq(e,t){return A.openBlock(),A.createElementBlock("svg",Zq,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 qq=Vn(Xq,[["render",Jq]]),eee={},tee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ree(e,t){return A.openBlock(),A.createElementBlock("svg",tee,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 nee=Vn(eee,[["render",ree]]),iee={},oee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function see(e,t){return A.openBlock(),A.createElementBlock("svg",oee,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 aee=Vn(iee,[["render",see]]),lee={},uee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function cee(e,t){return A.openBlock(),A.createElementBlock("svg",uee,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 dee=Vn(lee,[["render",cee]]),hee={},fee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function pee(e,t){return A.openBlock(),A.createElementBlock("svg",fee,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 Aee=Vn(hee,[["render",pee]]),gee={},vee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function mee(e,t){return A.openBlock(),A.createElementBlock("svg",vee,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 Cee=Vn(gee,[["render",mee]]),yee={},wee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function See(e,t){return A.openBlock(),A.createElementBlock("svg",wee,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 vI=Vn(yee,[["render",See]]),bee={},Eee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xee(e,t){return A.openBlock(),A.createElementBlock("svg",Eee,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 Ree=Vn(bee,[["render",xee]]),Bee={},Tee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Pee(e,t){return A.openBlock(),A.createElementBlock("svg",Tee,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 Dee=Vn(Bee,[["render",Pee]]),Fee={},kee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mee(e,t){return A.openBlock(),A.createElementBlock("svg",kee,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 mI=Vn(Fee,[["render",Mee]]),Iee={},Hee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Lee(e,t){return A.openBlock(),A.createElementBlock("svg",Hee,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 Oee=Vn(Iee,[["render",Lee]]),Nee={},_ee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vee(e,t){return A.openBlock(),A.createElementBlock("svg",_ee,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 CI=Vn(Nee,[["render",Vee]]),Gee={},$ee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Qee(e,t){return A.openBlock(),A.createElementBlock("svg",$ee,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 zee=Vn(Gee,[["render",Qee]]),Uee={},Wee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function jee(e,t){return A.openBlock(),A.createElementBlock("svg",Wee,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 Yee=Vn(Uee,[["render",jee]]),Kee={},Xee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Zee(e,t){return A.openBlock(),A.createElementBlock("svg",Xee,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 Jee=Vn(Kee,[["render",Zee]]),qee={},ete={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tte(e,t){return A.openBlock(),A.createElementBlock("svg",ete,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 rte=Vn(qee,[["render",tte]]),PC=[{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"}],s3="#FFFFFF",El="#110529";PC.reduce((e,t)=>(e[t.color]=t,e),{});const a3=PC.slice(0,-3).map(e=>e.color),nte=a3.filter((e,t)=>t%3===0),ite=a3.filter((e,t)=>t%3===1),ote=a3.filter((e,t)=>t%3===2),ste=a3.filter((e,t)=>t%3!==2),ate=a3,lte=["#FFF680","#53D788","#36739D","#4A005C"],ute=["#FFF680","#F77E5B","#902B83","#2B125C"],cte=["#DFFADC","#74CFD1","#635AC1","#611347"],dte=["#FAFAB4","#8DDA7F","#337E90","#1C0F5C"],hte=["#FFEA80","#F07A76","#7535A4","#003752"],fte=["#FFF780","#6CEA90","#6C90F0","#942AAE"],pte=["#43317B","#7ACFAC","#F5F5B7","#F07B75","#5C1243"],Ate=["#122B5C","#41B5A8","#F0F0F0","#F07C80","#5C1243"],gte=["#0E0E8F","#7E93FB","#F0F0F0","#ED7883","#5C1243"],vte=["#2E5C00","#9ED26A","#F0F0F0","#EB8BDB","#701260"],mte=["#4A005C","#36749D","#56D688","#FFF680","#F77E5E","#902B82","#2B125C"],yI=["light","bright","dark","paired","triadic"],Cte=["viridis","magma","density","salinity","sunset","perceptual_rainbow"],yte=["spectrum","teal_red","blue_red","lime_rose","viridis_magma"];function aR(e){return yI.includes(e)}const Uc={...{light:{title:"Light",colors:nte},bright:{title:"Bright",colors:ite},dark:{title:"Dark",colors:ote},paired:{title:"Paired",colors:ste},triadic:{title:"Triadic",colors:ate}},...{viridis:{title:"Viridis",colors:lte},magma:{title:"Magma",colors:ute},density:{title:"Density",colors:cte},salinity:{title:"Salinity",colors:dte},sunset:{title:"Sunset",colors:hte},perceptual_rainbow:{title:"Rainbow",colors:fte}},...{spectrum:{title:"Spectrum",colors:pte},teal_red:{title:"Teal-Red",colors:Ate},blue_red:{title:"Blue-Red",colors:gte},lime_rose:{title:"Lime-Rose",colors:vte},viridis_magma:{title:"Vir-Mag",colors:mte}}},wte="salinity",l3=["0","5","1","2","6","7","9","3","4","8","12","10","13","14","11","22","23","21","24","25"],wI="#F0F0F0",Qg="21",u3=["solid","dashed","dotted","dotdash","longdash","twodash"],LE="solid",Ste={solid:{title:"Solid"},dashed:{title:"Dashed"},dotted:{title:"Dotted"},dotdash:{title:"Dotdash"},longdash:{title:"Longdash"},twodash:{title:"Twodash"}};function DC(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function bte(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function SI(e){let t,r,n;e.length!==2?(t=DC,r=(l,c)=>DC(e(l),c),n=(l,c)=>e(l)-c):(t=e===DC||e===bte?e:Ete,r=e,n=e);function i(l,c,d=0,f=l.length){if(d<f){if(t(c,c)!==0)return f;do{const p=d+f>>>1;r(l[p],c)<0?d=p+1:f=p}while(d<f)}return d}function o(l,c,d=0,f=l.length){if(d<f){if(t(c,c)!==0)return f;do{const p=d+f>>>1;r(l[p],c)<=0?d=p+1:f=p}while(d<f)}return d}function s(l,c,d=0,f=l.length){const p=i(l,c,d,f-1);return p>d&&n(l[p-1],c)>-n(l[p],c)?p-1:p}return{left:i,center:s,right:o}}function Ete(){return 0}function bI(e){return e===null?NaN:+e}function*xte(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const Rte=SI(DC).right;SI(bI).center;function c3(e,t){let r,n;if(t===void 0)for(const i of e)i!=null&&(r===void 0?i>=i&&(r=n=i):(r>i&&(r=i),n<i&&(n=i)));else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(r===void 0?o>=o&&(r=n=o):(r>o&&(r=o),n<o&&(n=o)))}return[r,n]}class EI extends Map{constructor(t,r=Pte){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(xI(this,t))}has(t){return super.has(xI(this,t))}set(t,r){return super.set(Bte(this,t),r)}delete(t){return super.delete(Tte(this,t))}}function xI({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function Bte({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function Tte({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function Pte(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Dte(e=DC){if(e===DC)return RI;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function RI(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Fte=Math.sqrt(50),kte=Math.sqrt(10),Mte=Math.sqrt(2);function OE(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),s=o>=Fte?10:o>=kte?5:o>=Mte?2:1;let l,c,d;return i<0?(d=Math.pow(10,-i)/s,l=Math.round(e*d),c=Math.round(t*d),l/d<e&&++l,c/d>t&&--c,d=-d):(d=Math.pow(10,i)*s,l=Math.round(e/d),c=Math.round(t/d),l*d<e&&++l,c*d>t&&--c),c<l&&.5<=r&&r<2?OE(e,t,r*2):[l,c,d]}function lR(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,o,s]=n?OE(t,e,r):OE(e,t,r);if(!(o>=i))return[];const l=o-i+1,c=new Array(l);if(n)if(s<0)for(let d=0;d<l;++d)c[d]=(o-d)/-s;else for(let d=0;d<l;++d)c[d]=(o-d)*s;else if(s<0)for(let d=0;d<l;++d)c[d]=(i+d)/-s;else for(let d=0;d<l;++d)c[d]=(i+d)*s;return c}function uR(e,t,r){return t=+t,e=+e,r=+r,OE(e,t,r)[2]}function Ite(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?uR(t,e,r):uR(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function V0(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of e)(i=t(i,++n,e))!=null&&(r<i||r===void 0&&i>=i)&&(r=i)}return r}function NE(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of e)(i=t(i,++n,e))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}function BI(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?RI:Dte(i);n>r;){if(n-r>600){const c=n-r+1,d=t-r+1,f=Math.log(c),p=.5*Math.exp(2*f/3),m=.5*Math.sqrt(f*p*(c-p)/c)*(d-c/2<0?-1:1),w=Math.max(r,Math.floor(t-d*p/c+m)),x=Math.min(n,Math.floor(t+(c-d)*p/c+m));BI(e,t,w,x,i)}const o=e[t];let s=r,l=n;for(d3(e,r,t),i(e[n],o)>0&&d3(e,r,n);s<l;){for(d3(e,s,l),++s,--l;i(e[s],o)<0;)++s;for(;i(e[l],o)>0;)--l}i(e[r],o)===0?d3(e,r,l):(++l,d3(e,l,n)),l<=t&&(r=l+1),t<=l&&(n=l-1)}return e}function d3(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function TI(e,t,r){if(e=Float64Array.from(xte(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return NE(e);if(t>=1)return V0(e);var n,i=(n-1)*t,o=Math.floor(i),s=V0(BI(e,o).subarray(0,o+1)),l=NE(e.subarray(o+1));return s+(l-s)*(i-o)}}function HA(e,t,r=bI){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),s=+r(e[o],o,e),l=+r(e[o+1],o+1,e);return s+(l-s)*(i-o)}}function Wc(e,t){let r=0,n=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++r,n+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++r,n+=o)}if(r)return n/r}function Hte(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,o=new Array(i);++n<i;)o[n]=e+n*r;return o}function jc(e,t){let r=0;if(t===void 0)for(let n of e)(n=+n)&&(r+=n);else{let n=-1;for(let i of e)(i=+t(i,++n,e))&&(r+=i)}return r}function _E(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const PI=Symbol("implicit");function cc(){var e=new EI,t=[],r=[],n=PI;function i(o){let s=e.get(o);if(s===void 0){if(n!==PI)return n;e.set(o,s=t.push(o)-1)}return r[s%r.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new EI;for(const s of o)e.has(s)||e.set(s,t.push(s)-1);return i},i.range=function(o){return arguments.length?(r=Array.from(o),i):r.slice()},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return cc(t,r).unknown(n)},_E.apply(i,arguments),i}function h3(){var e=cc().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,o,s,l=!1,c=0,d=0,f=.5;delete e.unknown;function p(){var m=t().length,w=i<n,x=w?i:n,E=w?n:i;o=(E-x)/Math.max(1,m-c+d*2),l&&(o=Math.floor(o)),x+=(E-x-o*(m-c))*f,s=o*(1-c),l&&(x=Math.round(x),s=Math.round(s));var T=Hte(m).map(function(D){return x+o*D});return r(w?T.reverse():T)}return e.domain=function(m){return arguments.length?(t(m),p()):t()},e.range=function(m){return arguments.length?([n,i]=m,n=+n,i=+i,p()):[n,i]},e.rangeRound=function(m){return[n,i]=m,n=+n,i=+i,l=!0,p()},e.bandwidth=function(){return s},e.step=function(){return o},e.round=function(m){return arguments.length?(l=!!m,p()):l},e.padding=function(m){return arguments.length?(c=Math.min(1,d=+m),p()):c},e.paddingInner=function(m){return arguments.length?(c=Math.min(1,m),p()):c},e.paddingOuter=function(m){return arguments.length?(d=+m,p()):d},e.align=function(m){return arguments.length?(f=Math.max(0,Math.min(1,m)),p()):f},e.copy=function(){return h3(t(),[n,i]).round(l).paddingInner(c).paddingOuter(d).align(f)},_E.apply(p(),arguments)}function cR(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function DI(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function f3(){}var p3=.7,VE=1/p3,FC="\\s*([+-]?\\d+)\\s*",A3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",LA="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Lte=/^#([0-9a-f]{3,8})$/,Ote=new RegExp(`^rgb\\(${FC},${FC},${FC}\\)$`),Nte=new RegExp(`^rgb\\(${LA},${LA},${LA}\\)$`),_te=new RegExp(`^rgba\\(${FC},${FC},${FC},${A3}\\)$`),Vte=new RegExp(`^rgba\\(${LA},${LA},${LA},${A3}\\)$`),Gte=new RegExp(`^hsl\\(${A3},${LA},${LA}\\)$`),$te=new RegExp(`^hsla\\(${A3},${LA},${LA},${A3}\\)$`),FI={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};cR(f3,g3,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:kI,formatHex:kI,formatHex8:Qte,formatHsl:zte,formatRgb:MI,toString:MI});function kI(){return this.rgb().formatHex()}function Qte(){return this.rgb().formatHex8()}function zte(){return NI(this).formatHsl()}function MI(){return this.rgb().formatRgb()}function g3(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Lte.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?II(t):r===3?new gh(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?GE(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?GE(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=Ote.exec(e))?new gh(t[1],t[2],t[3],1):(t=Nte.exec(e))?new gh(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=_te.exec(e))?GE(t[1],t[2],t[3],t[4]):(t=Vte.exec(e))?GE(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Gte.exec(e))?OI(t[1],t[2]/100,t[3]/100,1):(t=$te.exec(e))?OI(t[1],t[2]/100,t[3]/100,t[4]):FI.hasOwnProperty(e)?II(FI[e]):e==="transparent"?new gh(NaN,NaN,NaN,0):null}function II(e){return new gh(e>>16&255,e>>8&255,e&255,1)}function GE(e,t,r,n){return n<=0&&(e=t=r=NaN),new gh(e,t,r,n)}function Ute(e){return e instanceof f3||(e=g3(e)),e?(e=e.rgb(),new gh(e.r,e.g,e.b,e.opacity)):new gh}function dR(e,t,r,n){return arguments.length===1?Ute(e):new gh(e,t,r,n??1)}function gh(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}cR(gh,dR,DI(f3,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new gh(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?p3:Math.pow(p3,e),new gh(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new gh(G0(this.r),G0(this.g),G0(this.b),$E(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:HI,formatHex:HI,formatHex8:Wte,formatRgb:LI,toString:LI}));function HI(){return`#${$0(this.r)}${$0(this.g)}${$0(this.b)}`}function Wte(){return`#${$0(this.r)}${$0(this.g)}${$0(this.b)}${$0((isNaN(this.opacity)?1:this.opacity)*255)}`}function LI(){const e=$E(this.opacity);return`${e===1?"rgb(":"rgba("}${G0(this.r)}, ${G0(this.g)}, ${G0(this.b)}${e===1?")":`, ${e})`}`}function $E(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function G0(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function $0(e){return e=G0(e),(e<16?"0":"")+e.toString(16)}function OI(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Np(e,t,r,n)}function NI(e){if(e instanceof Np)return new Np(e.h,e.s,e.l,e.opacity);if(e instanceof f3||(e=g3(e)),!e)return new Np;if(e instanceof Np)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),s=NaN,l=o-i,c=(o+i)/2;return l?(t===o?s=(r-n)/l+(r<n)*6:r===o?s=(n-t)/l+2:s=(t-r)/l+4,l/=c<.5?o+i:2-o-i,s*=60):l=c>0&&c<1?0:s,new Np(s,l,c,e.opacity)}function jte(e,t,r,n){return arguments.length===1?NI(e):new Np(e,t,r,n??1)}function Np(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}cR(Np,jte,DI(f3,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new Np(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?p3:Math.pow(p3,e),new Np(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,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new gh(hR(e>=240?e-240:e+120,i,n),hR(e,i,n),hR(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Np(_I(this.h),QE(this.s),QE(this.l),$E(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=$E(this.opacity);return`${e===1?"hsl(":"hsla("}${_I(this.h)}, ${QE(this.s)*100}%, ${QE(this.l)*100}%${e===1?")":`, ${e})`}`}}));function _I(e){return e=(e||0)%360,e<0?e+360:e}function QE(e){return Math.max(0,Math.min(1,e||0))}function hR(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const fR=e=>()=>e;function Yte(e,t){return function(r){return e+r*t}}function Kte(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function Xte(e){return(e=+e)==1?VI:function(t,r){return r-t?Kte(t,r,e):fR(isNaN(t)?r:t)}}function VI(e,t){var r=t-e;return r?Yte(e,r):fR(isNaN(e)?t:e)}const GI=function e(t){var r=Xte(t);function n(i,o){var s=r((i=dR(i)).r,(o=dR(o)).r),l=r(i.g,o.g),c=r(i.b,o.b),d=VI(i.opacity,o.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=c(f),i.opacity=d(f),i+""}}return n.gamma=e,n}(1);function Zte(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(o){for(i=0;i<r;++i)n[i]=e[i]*(1-o)+t[i]*o;return n}}function Jte(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function qte(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),o=new Array(r),s;for(s=0;s<n;++s)i[s]=gR(e[s],t[s]);for(;s<r;++s)o[s]=t[s];return function(l){for(s=0;s<n;++s)o[s]=i[s](l);return o}}function ere(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function zE(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function tre(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=gR(e[i],t[i]):n[i]=t[i];return function(o){for(i in r)n[i]=r[i](o);return n}}var pR=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,AR=new RegExp(pR.source,"g");function rre(e){return function(){return e}}function nre(e){return function(t){return e(t)+""}}function ire(e,t){var r=pR.lastIndex=AR.lastIndex=0,n,i,o,s=-1,l=[],c=[];for(e=e+"",t=t+"";(n=pR.exec(e))&&(i=AR.exec(t));)(o=i.index)>r&&(o=t.slice(r,o),l[s]?l[s]+=o:l[++s]=o),(n=n[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,c.push({i:s,x:zE(n,i)})),r=AR.lastIndex;return r<t.length&&(o=t.slice(r),l[s]?l[s]+=o:l[++s]=o),l.length<2?c[0]?nre(c[0].x):rre(t):(t=c.length,function(d){for(var f=0,p;f<t;++f)l[(p=c[f]).i]=p.x(d);return l.join("")})}function gR(e,t){var r=typeof t,n;return t==null||r==="boolean"?fR(t):(r==="number"?zE:r==="string"?(n=g3(t))?(t=n,GI):ire:t instanceof g3?GI:t instanceof Date?ere:Jte(t)?Zte:Array.isArray(t)?qte:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?tre:zE)(e,t)}function ore(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function sre(e){return function(){return e}}function are(e){return+e}var $I=[0,1];function kC(e){return e}function vR(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:sre(isNaN(t)?NaN:.5)}function lre(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function ure(e,t,r){var n=e[0],i=e[1],o=t[0],s=t[1];return i<n?(n=vR(i,n),o=r(s,o)):(n=vR(n,i),o=r(o,s)),function(l){return o(n(l))}}function cre(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),s=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<n;)i[s]=vR(e[s],e[s+1]),o[s]=r(t[s],t[s+1]);return function(l){var c=Rte(e,l,1,n)-1;return o[c](i[c](l))}}function QI(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function zI(){var e=$I,t=$I,r=gR,n,i,o,s=kC,l,c,d;function f(){var m=Math.min(e.length,t.length);return s!==kC&&(s=lre(e[0],e[m-1])),l=m>2?cre:ure,c=d=null,p}function p(m){return m==null||isNaN(m=+m)?o:(c||(c=l(e.map(n),t,r)))(n(s(m)))}return p.invert=function(m){return s(i((d||(d=l(t,e.map(n),zE)))(m)))},p.domain=function(m){return arguments.length?(e=Array.from(m,are),f()):e.slice()},p.range=function(m){return arguments.length?(t=Array.from(m),f()):t.slice()},p.rangeRound=function(m){return t=Array.from(m),r=ore,f()},p.clamp=function(m){return arguments.length?(s=m?!0:kC,f()):s!==kC},p.interpolate=function(m){return arguments.length?(r=m,f()):r},p.unknown=function(m){return arguments.length?(o=m,p):o},function(m,w){return n=m,i=w,f()}}function dre(){return zI()(kC,kC)}function hre(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function UE(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function MC(e){return e=UE(Math.abs(e)),e?e[1]:NaN}function fre(e,t){return function(r,n){for(var i=r.length,o=[],s=0,l=e[0],c=0;i>0&&l>0&&(c+l+1>n&&(l=Math.max(1,n-c)),o.push(r.substring(i-=l,i+l)),!((c+=l+1)>n));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function pre(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Are=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function v3(e){if(!(t=Are.exec(e)))throw new Error("invalid format: "+e);var t;return new mR({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]})}v3.prototype=mR.prototype;function mR(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+""}mR.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 gre(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var UI;function vre(e,t){var r=UE(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(UI=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=n.length;return o===s?n:o>s?n+new Array(o-s+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+UE(e,Math.max(0,t+o-1))[0]}function WI(e,t){var r=UE(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const jI={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:hre,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)=>WI(e*100,t),r:WI,s:vre,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function YI(e){return e}var KI=Array.prototype.map,XI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function mre(e){var t=e.grouping===void 0||e.thousands===void 0?YI:fre(KI.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?YI:pre(KI.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function d(p){p=v3(p);var m=p.fill,w=p.align,x=p.sign,E=p.symbol,T=p.zero,D=p.width,F=p.comma,k=p.precision,z=p.trim,V=p.type;V==="n"?(F=!0,V="g"):jI[V]||(k===void 0&&(k=12),z=!0,V="g"),(T||m==="0"&&w==="=")&&(T=!0,m="0",w="=");var _=E==="$"?r:E==="#"&&/[boxX]/.test(V)?"0"+V.toLowerCase():"",I=E==="$"?n:/[%p]/.test(V)?s:"",U=jI[V],J=/[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 ne(re){var K=_,ee=I,ce,pe,Se;if(V==="c")ee=U(re)+ee,re="";else{re=+re;var Le=re<0||1/re<0;if(re=isNaN(re)?c:U(Math.abs(re),k),z&&(re=gre(re)),Le&&+re==0&&x!=="+"&&(Le=!1),K=(Le?x==="("?x:l:x==="-"||x==="("?"":x)+K,ee=(V==="s"?XI[8+UI/3]:"")+ee+(Le&&x==="("?")":""),J){for(ce=-1,pe=re.length;++ce<pe;)if(Se=re.charCodeAt(ce),48>Se||Se>57){ee=(Se===46?i+re.slice(ce+1):re.slice(ce))+ee,re=re.slice(0,ce);break}}}F&&!T&&(re=t(re,1/0));var ye=K.length+re.length+ee.length,Be=ye<D?new Array(D-ye+1).join(m):"";switch(F&&T&&(re=t(Be+re,Be.length?D-ee.length:1/0),Be=""),w){case"<":re=K+re+ee+Be;break;case"=":re=K+Be+re+ee;break;case"^":re=Be.slice(0,ye=Be.length>>1)+K+re+ee+Be.slice(ye);break;default:re=Be+K+re+ee;break}return o(re)}return ne.toString=function(){return p+""},ne}function f(p,m){var w=d((p=v3(p),p.type="f",p)),x=Math.max(-8,Math.min(8,Math.floor(MC(m)/3)))*3,E=Math.pow(10,-x),T=XI[8+x/3];return function(D){return w(E*D)+T}}return{format:d,formatPrefix:f}}var WE,m3,ZI;Cre({thousands:",",grouping:[3],currency:["$",""]});function Cre(e){return WE=mre(e),m3=WE.format,ZI=WE.formatPrefix,WE}function yre(e){return Math.max(0,-MC(Math.abs(e)))}function wre(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(MC(t)/3)))*3-MC(Math.abs(e)))}function Sre(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,MC(t)-MC(e))+1}function bre(e,t,r,n){var i=Ite(e,t,r),o;switch(n=v3(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(o=wre(i,s))&&(n.precision=o),ZI(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(o=Sre(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=o-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(o=yre(i))&&(n.precision=o-(n.type==="%")*2);break}}return m3(n)}function Ere(e){var t=e.domain;return e.ticks=function(r){var n=t();return lR(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return bre(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,o=n.length-1,s=n[i],l=n[o],c,d,f=10;for(l<s&&(d=s,s=l,l=d,d=i,i=o,o=d);f-- >0;){if(d=uR(s,l,r),d===c)return n[i]=s,n[o]=l,t(n);if(d>0)s=Math.floor(s/d)*d,l=Math.ceil(l/d)*d;else if(d<0)s=Math.ceil(s*d)/d,l=Math.floor(l*d)/d;else break;c=d}return e},e}function Sa(){var e=dre();return e.copy=function(){return QI(e,Sa())},_E.apply(e,arguments),Ere(e)}function xre(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],o=e[n],s;return o<i&&(s=r,r=n,n=s,s=i,i=o,o=s),e[r]=t.floor(i),e[n]=t.ceil(o),e}function JI(e){return Math.log(e)}function qI(e){return Math.exp(e)}function Rre(e){return-Math.log(-e)}function Bre(e){return-Math.exp(-e)}function Tre(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Pre(e){return e===10?Tre:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Dre(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 eH(e){return(t,r)=>-e(-t,r)}function Fre(e){const t=e(JI,qI),r=t.domain;let n=10,i,o;function s(){return i=Dre(n),o=Pre(n),r()[0]<0?(i=eH(i),o=eH(o),e(Rre,Bre)):e(JI,qI),t}return t.base=function(l){return arguments.length?(n=+l,s()):n},t.domain=function(l){return arguments.length?(r(l),s()):r()},t.ticks=l=>{const c=r();let d=c[0],f=c[c.length-1];const p=f<d;p&&([d,f]=[f,d]);let m=i(d),w=i(f),x,E;const T=l==null?10:+l;let D=[];if(!(n%1)&&w-m<T){if(m=Math.floor(m),w=Math.ceil(w),d>0){for(;m<=w;++m)for(x=1;x<n;++x)if(E=m<0?x/o(-m):x*o(m),!(E<d)){if(E>f)break;D.push(E)}}else for(;m<=w;++m)for(x=n-1;x>=1;--x)if(E=m>0?x/o(-m):x*o(m),!(E<d)){if(E>f)break;D.push(E)}D.length*2<T&&(D=lR(d,f,T))}else D=lR(m,w,Math.min(w-m,T)).map(o);return p?D.reverse():D},t.tickFormat=(l,c)=>{if(l==null&&(l=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=v3(c)).precision==null&&(c.trim=!0),c=m3(c)),l===1/0)return c;const d=Math.max(1,n*l/t.ticks().length);return f=>{let p=f/o(Math.round(i(f)));return p*n<n-.5&&(p*=n),p<=d?c(f):""}},t.nice=()=>r(xre(r(),{floor:l=>o(Math.floor(i(l))),ceil:l=>o(Math.ceil(i(l)))})),t}function jE(){const e=Fre(zI()).domain([1,10]);return e.copy=()=>QI(e,jE()).base(e.base()),_E.apply(e,arguments),e}const IC="#110529",kre="solid",Mre=1,CR="21",Ire=3,Hre={color:"#ccc",lineShape:kre,dotShape:CR},Lre="light";function Ore(e){const t=1/(e.length-1);return Sa().domain(e.map((r,n)=>n*t)).range(e)}function tH(e,t){const r=Uc[e].colors,n=t.length>1?1/(t.length-1):0,i=Ore(r),o=aR(e),s=t.reduce((l,c,d)=>(l[c]={colorIdx:o?d:d*n,aes:{color:o?r[d%r.length]:i(d*n),lineShape:u3[d%u3.length],dotShape:l3[d%l3.length]}},l),{});return{type:"categorical",palette:e,naAes:Hre,order:t,mapping:s}}function HC(e){return tH(Lre,e)}function rH(e,t,r,n){if((t==null?void 0:t.type)==="continuous")return{inheritedAes:{}};const i=t??HC(r?e.getSourceInfo(r).uniqueValues:[]);return{order:i.order,inheritedAes:i.order.reduce((o,s)=>{const l=i.mapping[s].aes;return o[s]={},n.fill&&(o[s].fillColor=l.color,o[s].dotFill=l.color),n.stroke&&(o[s].lineColor=l.color),n.dotShape&&(o[s].dotShape=l.dotShape),n.lineType&&(o[s].lineShape=l.lineShape),o},{})}}function Nre(e,t,r){const n=r[e]??HC(t.getSourceInfo(e).uniqueValues);return n.order.reduce((i,o)=>{const s=n.mapping[o].aes;return i[o]={fillColor:s.color,lineColor:s.color,dotFill:s.color,dotShape:s.dotShape,dotSize:Ire,lineWidth:Mre},i},{})}function yR(e,t,r,n){const i=r[e]??HC(t.getSourceInfo(e).uniqueValues);return i.order.reduce((o,s)=>{const l=i.mapping[s].aes;return o[s]=l[n],o},{})}const _re={},Vre={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Gre(e,t){return A.openBlock(),A.createElementBlock("svg",Vre,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 $re=Vn(_re,[["render",Gre]]);function Qre(e,t){return t==="discrete"?e&&C3[e]?e:"box":t==="scatterplot"?e&&y3[e]?e:"dots":t==="dendro"?"dendro":"heatmap"}const C3={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"]},y3={dots:["dots"],curve:["curve"],curve_dots:["curve","dots"]},LC={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 zre(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 Q0(e){return typeof e=="object"&&e!==null&&"type"in e}const Ure=()=>({dendro:{dotFill:El,dotShape:Qg,lineColor:El,mode:"normal",leavesMode:"normal",showTable:!1},heatmap:{dendrogramX:!1,dendrogramY:!1},dots:{dotFill:null,dotShape:null},curve:{lineColor:El,smoothing:!0},box:{showOutliers:!0,fillColor:null,lineColor:IC,dotShape:Qg,lineType:LE,gapWidth:.2,opacity:1,stat:{low:.25,middle:.5,upper:.75,k:1.5}},binnedDots:{fillColor:null,lineColor:IC,opacity:1,showOutliers:!0},jitteredDots:{dotFill:null,dotShape:Qg,lineColor:IC,opacity:1,showOutliers:!0},violin:{fillColor:null,lineColor:IC,lineType:LE,opacity:1,trim:!1},bar:{fillColor:null,lineColor:IC,opacity:1,height:"max"},stackedBar:{fillColor:null,lineColor:IC,opacity:1},line:{pointsValues:"mean",lineColor:null,dotShape:Qg,lineType:LE,dotFill:El,opacity:1},errorbar:{pointsValues:"mean",interval:"sd",lineColor:null,dotShape:Qg,dotFill:El,opacity:1},sina:{dotFill:null,dotShape:Qg,opacity:1,showOutliers:!0}});function Wre(e){const t=Ure();return Object.keys(t).reduce((n,i)=>(Object.assign(n[i],(e==null?void 0:e[i])??{}),n),t)}const jre=()=>({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 nH(e){return e==="full"||e==="none"}function Yre(e,t){if(!t)return jre();function r(n){return e==="heatmap"&&!nH(n)?"full":e!=="heatmap"&&nH(n)&&n==="none"?"empty":n}return{title:{...t.title},axisX:{...t.axisX},axisY:{...t.axisY},legend:{...t.legend},other:{...t.other,frame:r(t.other.frame)}}}const em={box:Gq,box_binnedDots:Uq,box_jitteredDots:Kq,binnedDots:qq,jitteredDots:nee,violin:aee,violin_binnedDots:dee,violin_jitteredDots:Aee,bar:Cee,bar_line:vI,bar_errorbar:Ree,stackedBar:Dee,line:mI,line_binnedDots:Oee,line_jitteredDots:CI,line_errorbar:zee,errorbar:vI,sina:Yee,dots:Jee,curve:mI,curve_dots:CI,heatmap:rte,dendro:$re},YE=[{value:"ttest",text:"TTest"},{value:"anova",text:"ANOVA"},{value:"wilcoxon",text:"Wilcoxon"},{value:"kruskalWallis",text:"Kruskal-Wallis"}],iH=[{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"}],oH=[{value:"pValue",text:"p-value"},{value:"significance",text:"significance"}];function sH(e,t,r){var i,o,s,l,c;if(((o=(i=e.components)==null?void 0:i.y)==null?void 0:o.selectorStates.length)===0)return[];if(!((l=(s=e.components)==null?void 0:s[r])!=null&&l.selectorStates.length))return["single common group"];const n=(c=e.components)==null?void 0:c[r].selectorStates[0].selectedSource;return t.getSourceInfo(n).uniqueValues}function Kre(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 r={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"&&(r.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(r)}if(e.pairwise.data.testMethod&&e.pairwise.validity.testMethod){const r={type:"stat",statType:"pairwise",testMethod:e.pairwise.data.testMethod,format:e.pairwise.data.format,ns:e.pairwise.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(r.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(r)}return t}function Xre(e,t,r,n){const i=[],o=n.components.primaryGrouping.selectorStates.length>0,s=n.components.secondaryGrouping.selectorStates.length>0;function l(c,d=!1){return c===null?s?{type:"secondaryGrouping"}:o&&!d?{type:"primaryGrouping"}:{type:"secondaryGrouping"}:c}return e.forEach(c=>{if(c==="box"){const d=t[c];i.push({type:"box",aes:{showOutliers:d.showOutliers,dotShape:d.dotShape,fillColor:l(d.fillColor),lineColor:l(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(c==="binnedDots"){const d=t[c];i.push({type:"binnedDots",aes:{showOutliers:d.showOutliers,fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="jitteredDots"){const d=t[c];i.push({type:"dot",aes:{showOutliers:d.showOutliers,dotFill:l(d.dotFill),dotShape:d.dotShape,lineColor:d.lineColor,opacity:d.opacity}})}if(c==="violin"){const d=t[c];i.push({type:"violin",stat:{trim:d.trim},aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(c==="bar"){const d=t[c];i.push({type:"bar",height:d.height,aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="stackedBar"){const d=t[c];i.push({type:"stackedBar",aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="line"){const d=t[c];i.push({type:"line",pointsValues:d.pointsValues,aes:{lineColor:l(d.lineColor,!0),fillColor:d.dotFill,lineShape:d.lineType,dotShape:d.dotShape,opacity:d.opacity}})}if(c==="errorbar"){const d=t[c];i.push({type:"errorbar",pointsValues:d.pointsValues,interval:d.interval,aes:{lineColor:l(d.lineColor,!0),fillColor:d.dotFill,dotShape:d.dotShape,opacity:d.opacity}})}if(c==="sina"){const d=t[c];i.push({type:"sina",aes:{showOutliers:d.showOutliers,dotFill:l(d.dotFill),dotShape:d.dotShape}})}}),o&&!s&&i.push(...Kre(r)),i}function Zre(e,t){const r=[];return e.forEach(n=>{if(n==="dots"){const i=t[n];r.push({type:"dots",aes:{dotFill:i.dotFill??El,dotShape:i.dotShape??Qg}})}if(n==="curve"){const i=t[n];r.push({type:"curve",smoothing:i.smoothing,aes:{lineColor:i.lineColor??El}})}}),r}function wR(e,t,r,n,i){if(e==="discrete"){const o=C3[t];return Xre(o,r,n,i)}if(e==="scatterplot"){const o=y3[t];return Zre(o,r)}return[]}function w3(e,t,r){return e.some(n=>{var o;const i=(o=n==null?void 0:n.aes)==null?void 0:o[t];return Q0(i)&&i.type===r})}function SR(e,t,r){return e.some(n=>{var o;const i=(o=n==null?void 0:n.aes)==null?void 0:o[t];return Q0(i)&&i.value===r})}function aH(e,t,r,n,i){var c,d,f;const o=wR(e,t,r,n,i),s={};let l=[];return e==="discrete"&&(l=["primaryGrouping","secondaryGrouping"],l.forEach(p=>{var w,x;const m=(x=(w=i.components[p])==null?void 0:w.selectorStates[0])==null?void 0:x.selectedSource;m&&(s[m]={fill:w3(o,"fillColor",p)||w3(o,"dotFill",p),stroke:w3(o,"lineColor",p),dotShape:w3(o,"dotShape",p),lineType:w3(o,"lineShape",p),size:!1})})),e==="scatterplot"&&(l=i.components.grouping.selectorStates.map(p=>p.selectedSource),l.forEach(p=>{s[p]={fill:SR(o,"dotFill",p),stroke:SR(o,"lineColor",p),dotShape:SR(o,"dotShape",p),lineType:!1,size:!1}})),e==="dendro"&&(l=[((c=i.components.nodeColor.selectorStates[0])==null?void 0:c.selectedSource)??null,((d=i.components.nodeShape.selectorStates[0])==null?void 0:d.selectedSource)??null,((f=i.components.lineColor.selectorStates[0])==null?void 0:f.selectedSource)??null].filter(m=>m!==null),l.forEach(m=>{s[m]={fill:Q0(r.dendro.dotFill)&&r.dendro.dotFill.value===m,stroke:Q0(r.dendro.lineColor)&&r.dendro.lineColor.value===m,dotShape:Q0(r.dendro.dotShape)&&r.dendro.dotShape.value===m,lineType:!1,size:!1}})),s}function bR(e,t){let r={},n={};t==="discrete"&&(r.labelsPosition=e.axisX.labelsRotation,r.linesBetweenCategories=e.axisX.linesBetweenCategories,n.scale=e.axisY.scale),(t==="discrete"||t==="scatterplot")&&(r.showGrid=e.axisX.gridlines,r.showTicks=e.axisX.ticks,n.showGrid=e.axisY.gridlines,n.showTicks=e.axisY.ticks),t==="scatterplot"&&(r.scale=e.axisX.scale,n.scale=e.axisY.scale),t==="heatmap"&&(r.axisLabelsAngle=e.axisX.axisLabelsAngle,n.axisLabelsAngle=e.axisY.axisLabelsAngle),e.axisY.titleMode!=="auto"&&(n.title=e.axisY.titleMode==="custom"?e.axisY.customTitle:""),e.axisX.titleMode!=="auto"&&(r.title=e.axisX.titleMode==="custom"?e.axisX.customTitle:"");const i={xAxis:r,yAxis:n,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}function zg(e){return JSON.parse(JSON.stringify(e))}async function lH(e,t){if(t.type==="column"){const r=await e.pFrameProvider.getColumnSpecById(new BC({name:t.id,type:"String"}));return r?new BC({name:t.id,type:r.valueType}):null}return new _f(t.id)}function Jre(e,t,r){const n=wR(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState),i=aH(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);e.layers=n;const o=t.optionsState.components;if(o.primaryGrouping.selectorStates.length&&e.primaryGrouping){const s=o.primaryGrouping.selectorStates[0].selectedSource,l=i[s];Object.assign(e.primaryGrouping,rH(r,t.dataBindAes[s],s,l))}if(o.secondaryGrouping.selectorStates&&e.secondaryGrouping){const s=o.secondaryGrouping.selectorStates[0].selectedSource,l=i[s];Object.assign(e.secondaryGrouping,rH(r,t.dataBindAes[s],s,l))}return Object.assign(e,bR(t.axesSettings,t.chartType)),e}function qre(e,t,r){e.layers=wR(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);const n=t.optionsState.components;if(n.grouping.selectorStates.length){const i={};n.grouping.selectorStates.forEach(({selectedSource:o})=>{i[o]=Nre(o,r,t.dataBindAes)}),Object.assign(e,{inheritedAes:i})}return Object.assign(e,bR(t.axesSettings,t.chartType)),e}function ene(e,t){const r={};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}),r.colorsList=Uc[wte].colors),e.aes=r,Object.assign(e,bR(t.axesSettings,t.chartType)),e}const tne=280;function rne(e,t,r,n,i){var c,d,f;e.rootPosition="left";const o=r.optionsState.components,s=r.layersSettings.dendro,l=e==null?void 0:e.aes;if(l.nodeShape&&typeof l.nodeShape=="object"){const p=(c=o.nodeShape.selectorStates[0])==null?void 0:c.selectedSource,m=yR(p,n,r.dataBindAes,"dotShape");Object.keys(m).length?l.nodeShape.valuesMap=m:l.nodeShape=CR}else typeof s.dotShape=="string"&&(l.nodeShape=s.dotShape);if(l.nodeColor&&typeof l.nodeColor=="object"){const p=(d=o.nodeColor.selectorStates[0])==null?void 0:d.selectedSource,m=yR(p,n,r.dataBindAes,"color");Object.keys(m).length?l.nodeColor.valuesMap=m:l.nodeColor=El}else typeof s.dotFill=="string"&&(l.nodeColor=s.dotFill);if(l.lineColor&&typeof l.lineColor=="object"){const p=(f=o.lineColor.selectorStates[0])==null?void 0:f.selectedSource;l.lineColor.valuesMap=yR(p,n,r.dataBindAes,"color")}else typeof s.lineColor=="string"&&(l.lineColor=s.lineColor);if(o.heatmapForSequence.selectorStates.length>0){const p=t.values.sequenceValue,m=[...new Set(p)].filter(Boolean),w=Uc.bright.colors;e.heatmapSettings={valueType:"discrete",aes:{colorsMap:m.reduce((x,E,T)=>(x[E]=w[T%w.length],x),{})}}}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:tne*(i/100)}),e}async function nne(e,t,r){if(!r||r.length===0)return e;const n=await Promise.all(r.map(o=>lH(t,o.selectedSource))),i=zg(e);return r.forEach(({inputName:o,selectedFilterValue:s},l)=>{if(e.components[o]){const c=n[l];c&&i.components[o].selectorStates.push({selectedSource:c.toCanonicalString(),selectedFilterValue:s})}}),i}const ine=600,one=350,sne=400,ane=250;function lne(e,t=0){return{width:(t>0?sne:ine)*(e/100),height:(t>0?ane:one)*(e/100)}}async function une(e,t,r,n){var i;if(!e.ready)return null;try{const o=HE(t.chartType),s=await nne(t.optionsState,r,n),l=await o.createDataForPlot(r,s);let c=l.settings;return c.title={name:"",show:!1},c.size=lne(t.chartScale,((i=t.optionsState.components)==null?void 0:i.facetBy.selectorStates.length)||0),t.chartType==="discrete"&&(c=Jre(c,t,e)),t.chartType==="scatterplot"&&(c=qre(c,t,e)),t.chartType==="heatmap"&&(c=ene(c,t)),t.chartType==="dendro"&&(c=rne(c,l.dataByColumns,t,e,t.chartScale)),{settings:c,dataByColumns:l.dataByColumns}}catch(o){return console.warn("Cant build chart data"),console.warn(o.message),null}}function uH(e){return e.length<2?[]:e.map(t=>({value:String(t),text:String(t)}))}function cH(e){return e.length<2?[]:e.length>2?YE.filter(t=>t.value!=="ttest"&&t.value!=="wilcoxon"):YE}function ER(e){return async()=>{const t=e.value.commonHelpersData.primaryGroups.value;function r(c,d){return d===null||!!c.find(f=>f.value===d)}const n=e.value.reactive.statisticsSettings,i=cH(t),o=uH(t),s=n.overall.data.testMethod,l=n.referenceGroup.data.referenceGroup;n.overall.validity.testMethod=r(i,s),n.referenceGroup.validity.referenceGroup=r(o,l)}}function cne(e){e.dispatchEvent(new MouseEvent("click"))}function dne(e,t){const r=window.URL||window.webkitURL,n=document.createElement("a");n.download=t,n.rel="noopener",n.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){cne(n)},0)}function hne(e){var t;return A.reactive({chartType:e.chartType,optionsState:((t=e.optionsState)==null?void 0:t.type)===e.chartType?zg(e.optionsState):zg(Oq(e.chartType)),template:Qre(e.template,e.chartType),statisticsSettings:zre(e.statisticsSettings),layersSettings:Wre(e.layersSettings),axesSettings:Yre(e.chartType,e.axesSettings),dataBindAes:zg(e.dataBindAes??{}),chartScale:100,dendroInfoByClick:null,dendroSelectedNodeId:null})}function fne(e,t,r,n,i){return{reactive:e,commonHelpersData:{primaryGroups:A.computed(()=>sH(e.optionsState,r.value,"primaryGrouping")),secondaryGroups:A.computed(()=>sH(e.optionsState,r.value,"secondaryGrouping")),usedAesInMapping:A.computed(()=>aH(e.chartType,e.template,e.layersSettings,e.statisticsSettings,e.optionsState)),dendroTableData:i},controller:HE(e.chartType),columnsDataStore:t,inputGuide:r,chartData:n}}function pne(e,t,r){const n=hne(e),i=HE(n.chartType),o=A.ref(HE(n.chartType).getEmptyInputGuide(n.optionsState)),s=A.ref(null),l=A.ref(null),c=A.computed(()=>fne(n,A.toRaw(t.value),o,s,l));return A.watch([()=>n.optionsState,()=>t.value,()=>r.value],async([d,f,p])=>{const m=(await Promise.all((p??[]).map(w=>lH(f,w.selectedSource)))).filter(Boolean).map(w=>w==null?void 0:w.toCanonicalString());o.value=await i.calculateOptions(A.toRaw(f),d,m)},{immediate:!0,deep:!0}),A.watch([()=>o.value,()=>n],async([d,f])=>{s.value=await une(d,f,A.toRaw(t.value),r.value)},{immediate:!0,deep:!0}),n.chartType==="dendro"&&A.watch([()=>n.optionsState,()=>t.value,()=>o.value.readyData],async([d,f,p])=>{p&&(l.value=await i.createTableData(f,d))},{immediate:!0}),A.provide(_0,c),c}function Lo(){return Cq(A.inject(_0),"Empty store")}const Ane={class:"template-list"},gne=["onClick"],vne=["onClick"],mne=A.defineComponent({__name:"TemplateForm",setup(e){const t=Lo(),r=Object.entries(C3).map(([l,c])=>({id:l,text:c.map(d=>LC[d]).join(" + "),icon:em[l]})),n=Object.entries(y3).map(([l,c])=>({id:l,text:c.map(d=>LC[d]).join(" + "),icon:em[l]})),i=[{id:"heatmap",text:"Heatmap",icon:em.heatmap}],o=[{id:"dendro",text:"Dendrogram",icon:em.dendro}];function s(l){t.value.reactive.template=l}return(l,c)=>(A.openBlock(),A.createElementBlock("div",{class:"template-form",onClick:c[0]||(c[0]=d=>d.stopPropagation())},[c[5]||(c[5]=A.createElementVNode("div",{class:"template-title"},[A.createElementVNode("h3",null," Template ")],-1)),A.createElementVNode("div",Ane,[A.unref(t).reactive.chartType==="discrete"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(r),({id:d,text:f,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:m=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(f)+" ",1),c[1]||(c[1]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,gne))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="scatterplot"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(n),({id:d,text:f,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:m=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(f)+" ",1),c[2]||(c[2]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,vne))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="heatmap"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:2},A.renderList(i,({text:d,icon:f})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(f))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),c[3]||(c[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:f})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(f))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),c[4]||(c[4]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0)])]))}});function Ug(e,t,r,n=!1){A.onMounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.addEventListener(t,r,n)}),A.onUnmounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.removeEventListener(t,r,n)})}const xR=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r};function Cne(e){return e()}function dH(e,t){if(e==null)throw Error(t);return e}function yne(e){let t=!1;return function(...r){t||(requestAnimationFrame(()=>{e(...r),t=!1}),t=!0)}}function wne(e){return new Promise(t=>setTimeout(t,e))}function Sne(e,t){const r=setTimeout(e,t);return()=>{clearTimeout(r)}}function bne(e){return function(t){return 1-e(1-t)}}function Ene(e){const{duration:t,draw:r,timing:n}=e,i=performance.now();let o=!1;return requestAnimationFrame(function s(l){let c=(l-i)/t;(c>1||o)&&(c=1);const d=n(c);r(d),c<1&&requestAnimationFrame(s)}),function(){o=!0}}function xne(e,t){let r=-1;return(...n)=>{r!==-1&&(clearTimeout(r),r=-1),r=window.setTimeout(()=>e(...n),t)}}function Rne(e,t,r=!0){let n=0,i;return function(...o){i=()=>{e.apply(this,o),n=new Date().getTime()+t,i=null,r&&setTimeout(()=>{i&&i()},t)},new Date().getTime()>n&&i()}}function Bne(e){return e.map(t=>({label:"label"in t?t.label:t.text,value:t.value}))}function hH(e,t){const r={el:void 0,x:0,y:0},n=i=>({x:i.x,y:i.y,dx:i.x-r.x,dy:i.y-r.y});Ug(document,"mousedown",i=>{i.target===A.unref(e)&&(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),r.el=A.unref(e),r.x=i.x,r.y=i.y)}),Ug(document,"mouseup",i=>{r.el&&(r.el=void 0,t({...n(i),stop:!0},r))}),Ug(document,"mousemove",i=>{r.el&&t(n(i),r)})}function*Tne(e,t){for(const r of e)yield t(r)}function Pne(e){const t=[];for(const r of e)t.push(r);return t}const RR=new Map;function Dne(e){return RR.has(e)||RR.set(e,A.ref(localStorage.getItem(e))),dH(RR.get(e),"...")}function Fne(e,t){t==null?localStorage.removeItem(e):localStorage.setItem(e,t)}function kne(e){const t=Dne(e);return A.watch(t,r=>Fne(e,r)),t}const Mne=new Set;window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{Pne(Tne(Mne.values(),t=>t(e.matches?"dark":"light")))});const Ine=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";A.ref(Ine),kne("theme");const S3=A.defineComponent({__name:"MaskIcon16",props:{name:{},size:{}},setup(e){const t=e,r=A.computed(()=>t.size==="large"?"--mask-size: 24px":""),n=A.computed(()=>`mask-16 mask-${t.name}`);return(i,o)=>(A.openBlock(),A.createElementBlock("i",{style:A.normalizeStyle(r.value),class:A.normalizeClass(n.value)},null,6))}});function Hne(e){function t(r){const n=r.currentTarget,i=document.createElement("span"),o=Math.max(n.clientWidth,n.clientHeight),s=o/2;i.style.width=i.style.height=`${o}px`,i.style.left=`${r.clientX-n.offsetLeft-s}px`,i.style.top=`${r.clientY-n.offsetTop-s}px`,i.classList.add("ripple");const l=n.getElementsByClassName("ripple")[0];l&&l.remove(),n.appendChild(i)}A.onMounted(()=>{var r;(r=e.value)==null||r.addEventListener("click",t)})}const Lne={key:0},One={name:"PlBtnGhost"},fH=A.defineComponent({...One,props:{loading:{type:Boolean},size:{default:void 0},round:{type:Boolean},icon:{default:void 0},reverse:{type:Boolean},justifyCenter:{type:Boolean,default:!0}},setup(e){const t=e,r=A.computed(()=>t.size==="small"),n=A.computed(()=>t.size==="large"),i=A.ref(),o=A.useSlots();return Hne(i),(s,l)=>(A.openBlock(),A.createElementBlock("button",A.mergeProps({ref_key:"btnRef",ref:i,tabindex:"0",class:["ui-btn-ghost",{loading:s.loading,small:r.value,large:n.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",Lne,[A.renderSlot(s.$slots,"default")])):A.createCommentVNode("",!0),l[0]||(l[0]=A.createTextVNode()),s.loading?(A.openBlock(),A.createBlock(S3,{key:1,name:"loading",size:s.size},null,8,["size"])):s.icon?(A.openBlock(),A.createBlock(S3,{key:2,name:s.icon,size:s.size},null,8,["name","size"])):A.createCommentVNode("",!0)],16))}});function pH(e,t){const r=yne(()=>{if(e.value){const{scrollTop:n,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:l,clientWidth:c}=document.documentElement,d=e.value.getBoundingClientRect();t({scrollTop:n,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:l,clientWidth:c,offsetY:n+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(r),Ug(window,"scroll",r,!0),Ug(window,"resize",r,!0),Ug(window,"adjust",r,!0)}function Nne(e,t){const r=A.ref();return pH(e,n=>{r.value=n}),A.computed(()=>{const n=A.unref(r),i=A.unref(t),o=i.position??"top",s=i.gap??8;if(!n)return"";const l=n.offsetY+Math.floor(n.height/2),c=n.offsetX+Math.floor(n.width/2);return o==="top-left"?`left: ${n.offsetX}px; top: ${n.offsetY-s}px;`:o==="top"?`left: ${c}px; top: ${n.offsetY-s}px;`:o==="right"?`left: ${n.offsetX+n.width+s}px; top: ${l}px;`:o==="left"?`right: ${n.scrollWidth-n.x+s}px; top: ${l}px;`:""})}function AH(e,t){return t(e)}function KE(e,t){if(e!=null)return t(e)}function _ne(e){return Array.isArray(e)?e:[e]}function XE(e,t){Ug(document,"click",r=>{document.contains(r.target)&&(_ne(e).map(n=>n.value).filter(n=>!!n).some(n=>n==null?void 0:n.contains(r.target))||t())})}const Vne={},Gne={class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $ne(e,t){return A.openBlock(),A.createElementBlock("svg",Gne,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 Qne=xR(Vne,[["render",$ne]]),BR=new Map,zne={name:"PlTooltip"},b3=A.defineComponent({...zne,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 r=t,n=Symbol(),i=e,o=A.reactive({open:!1,over:!1,tooltipOpen:!1,key:Symbol()});BR.set(n,()=>d()),A.watch(()=>o.open,E=>{requestAnimationFrame(()=>{o.tooltipOpen=E})});let s=()=>{};const l=Rne(()=>window.dispatchEvent(new CustomEvent("adjust")),1e3),c=()=>{o.open=!0;for(let[E,T]of BR.entries())E!==n&&T()},d=()=>{o.open=!1,r("tooltip:close")},f=async()=>{i.hide||(l(),o.over=!0,s(),await wne(100),o.over&&c())},p=()=>{o.over=!1,s=Sne(()=>{o.over||d()},i.closeDelay)};A.watch(()=>i.hide,E=>{E&&d()});const m=A.ref(),w=A.ref(),x=Nne(m,A.toRef(i));return XE([m,w],()=>d()),A.onUnmounted(()=>{BR.delete(n)}),(E,T)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(E.element),A.mergeProps(E.$attrs,{ref_key:"rootRef",ref:m,onClick:f,onMouseover:f,onMouseleave:p}),{default:A.withCtx(()=>[A.renderSlot(E.$slots,"default"),T[1]||(T[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(x))},[A.createElementVNode("div",{ref_key:"tooltip",ref:w,class:A.normalizeClass(["pl-tooltip",E.position]),onMouseover:f,onMouseleave:p},[A.createElementVNode("div",null,[A.renderSlot(E.$slots,"tooltip")]),T[0]||(T[0]=A.createTextVNode()),A.createVNode(Qne)],34)],4)):A.createCommentVNode("",!0)]),_:3})])):A.createCommentVNode("",!0)]),_:3},16))}}),Une={},Wne={class:"inner-border"};function jne(e,t,r,n,i,o){return A.openBlock(),A.createElementBlock("div",Wne,[A.renderSlot(e.$slots,"default")])}const Yne=xR(Une,[["render",jne]]),Kne={key:0},Xne=["tabindex","onKeydown","onClick"],Zne={key:1,class:"ui-btn-group__helper"},Jne={key:2,class:"ui-btn-group__error"},qne={name:"PlBtnGroup"},vh=A.defineComponent({...qne,props:{modelValue:{},label:{},options:{},disabled:{type:Boolean},helper:{},error:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=A.useSlots(),n=t,i=o=>n("update:modelValue",o);return(o,s)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["ui-btn-group",{disabled:o.disabled}])},[o.label?(A.openBlock(),A.createElementBlock("label",Kne,[A.createElementVNode("span",null,A.toDisplayString(o.label),1),s[0]||(s[0]=A.createTextVNode()),A.unref(r).tooltip?(A.openBlock(),A.createBlock(A.unref(b3),{key:0,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(o.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0),s[1]||(s[1]=A.createTextVNode()),A.createVNode(Yne,{class:"ui-btn-group__container"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.options,(l,c)=>(A.openBlock(),A.createElementBlock("div",{key:c,class:A.normalizeClass(["ui-btn-group__option",{active:o.modelValue===l.value}]),tabindex:o.modelValue===l.value||o.disabled?void 0:0,onKeydown:A.withKeys(d=>i(l.value),["enter"]),onClick:d=>i(l.value)},A.toDisplayString(l.text),43,Xne))),128))]),_:1}),s[2]||(s[2]=A.createTextVNode()),o.helper?(A.openBlock(),A.createElementBlock("div",Zne,A.toDisplayString(o.helper),1)):o.error?(A.openBlock(),A.createElementBlock("div",Jne,A.toDisplayString(o.error),1)):A.createCommentVNode("",!0)],2))}}),eie={inheritAttrs:!1},tie={class:"double-contour"};function rie(e,t,r,n,i,o){return A.openBlock(),A.createElementBlock("div",tie,[A.createElementVNode("div",A.normalizeProps(A.guardReactiveProps(e.$attrs)),[A.renderSlot(e.$slots,"default")],16)])}const gH=xR(eie,[["render",rie]]);function nie(e){A.onMounted(e),A.onUpdated(e)}const TR=new WeakMap,PR=new ResizeObserver(e=>{for(const t of e)KE(TR.get(t.target),r=>r(t))});function iie(e,t){TR.set(e,t),PR.unobserve(e),PR.observe(e)}function oie(e){PR.unobserve(e),TR.delete(e)}const sie=8,vH=4;function DR(e,t="label"){const r=new Set;nie(()=>{KE(e==null?void 0:e.value,n=>{const i=n.querySelector(t);i&&(r.add(i),iie(i,()=>{const o=Cne(()=>i.getBoundingClientRect().width+AH(sie,s=>Number.isNaN(s)?vH:s+vH));n.style.getPropertyValue("--label-offset-right-x")!==`${o}px`&&n.style.setProperty("--label-offset-right-x",`${o}px`)}))})}),A.onBeforeUnmount(()=>{Array.from(r.values()).map(n=>oie(n))})}function aie(e,t){const r=[];return t&&t.length>0&&t.forEach(n=>{const i=n(e);typeof i=="string"&&r.push(i)}),{isValid:r.length===0,errors:r}}function lie(e,t){return A.computed(()=>aie(e.value,t))}const uie={class:"ui-text-field__envelope"},cie={key:0,ref:"label"},die={key:0,class:"required-icon"},hie={key:1,class:"ui-text-field__prefix"},fie=["disabled","placeholder"],pie={class:"ui-text-field__append"},Aie={key:0,class:"ui-text-field__error"},gie={key:1,class:"ui-text-field__helper"},vie={name:"PlTextField"},OC=A.defineComponent({...vie,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 r=A.useSlots(),n=t,i=e,o=A.ref(void 0),s=A.ref(),l=A.computed({get(){return i.modelValue??""},set(x){n("update:modelValue",x)}}),c=()=>{i.clearable&&n("update:modelValue",i.clearable===!0?"":i.clearable())},d=lie(l,i.rules||[]),f=A.computed(()=>i.clearable?i.clearable===!0?i.modelValue==="":i.modelValue===i.clearable():i.modelValue===""),p=A.computed(()=>!f.value),m=A.computed(()=>{const x=[];return i.error&&x.push(i.error),d.value.isValid||x.push(...d.value.errors),x}),w=A.computed(()=>m.value.length>0);return DR(o),(x,E)=>(A.openBlock(),A.createElementBlock("div",uie,[A.createElementVNode("div",{ref_key:"rootRef",ref:o,class:A.normalizeClass(["ui-text-field",{error:w.value,disabled:x.disabled,dashed:x.dashed,nonEmpty:p.value}])},[x.label?(A.openBlock(),A.createElementBlock("label",cie,[x.required?(A.openBlock(),A.createElementBlock("i",die)):A.createCommentVNode("",!0),E[1]||(E[1]=A.createTextVNode()),A.createElementVNode("span",null,A.toDisplayString(x.label),1),E[2]||(E[2]=A.createTextVNode()),A.unref(r).tooltip?(A.openBlock(),A.createBlock(A.unref(b3),{key:1,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(x.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)],512)):A.createCommentVNode("",!0),E[4]||(E[4]=A.createTextVNode()),x.prefix?(A.openBlock(),A.createElementBlock("div",hie,A.toDisplayString(x.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]=T=>l.value=T),disabled:x.disabled,placeholder:x.placeholder||"...",type:"text",spellcheck:"false"},null,8,fie),[[A.vModelText,l.value]]),E[6]||(E[6]=A.createTextVNode()),A.createElementVNode("div",pie,[x.clearable&&p.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon icon--clear",onClick:c})):A.createCommentVNode("",!0),E[3]||(E[3]=A.createTextVNode()),A.renderSlot(x.$slots,"append")]),E[7]||(E[7]=A.createTextVNode()),A.createVNode(gH,{class:"ui-text-field__contour"})],2),E[8]||(E[8]=A.createTextVNode()),w.value?(A.openBlock(),A.createElementBlock("div",Aie,A.toDisplayString(m.value.join(" ")),1)):x.helper?(A.openBlock(),A.createElementBlock("div",gie,A.toDisplayString(x.helper),1)):A.createCommentVNode("",!0)]))}});function mie(e,t){const r=e.scrollTop,n=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<n+r&&i>r}function Cie(e,t){const r=e.scrollTop,n=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<n+r?"ceil":i>r?"floor":"visible"}function yie(e,t,r={}){const n=e.scrollTop,i=e.getBoundingClientRect().height,o=t.getBoundingClientRect().height,s=t.offsetTop,l=Cie(e,t);if(l==="visible")return;const c=d=>{const f=l==="floor"?s-(i-o):s;e.scrollTop=n+d*(f-n)};mie(e,t)||Ene({duration:r.duration||100,timing:bne(d=>d),draw:c})}function mH(e){return e!==null&&typeof e=="object"}function ZE(e,t){return mH(e)&&mH(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(r=>ZE(e[r],t[r])):e===t}const wie=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
27
|
+
}`;var Un=Q4(function(){return Jn(be,Er+"return "+Mt).apply(r,Me)});if(Un.source=Mt,Pg(Un))throw Un;return Un}function JD(C){return bo(C).toLowerCase()}function Tb(C){return bo(C).toUpperCase()}function qD(C,b,O){if(C=bo(C),C&&(O||b===r))return It(C);if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=ho(b),be=Si(Z,ue),Me=ha(Z,ue)+1;return Tu(Z,be,Me).join("")}function Pb(C,b,O){if(C=bo(C),C&&(O||b===r))return C.slice(0,dp(C)+1);if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=ha(Z,ho(b))+1;return Tu(Z,0,ue).join("")}function $4(C,b,O){if(C=bo(C),C&&(O||b===r))return C.replace(Zn,"");if(!C||!(b=qs(b)))return C;var Z=ho(C),ue=Si(Z,ho(b));return Tu(Z,ue).join("")}function eF(C,b){var O=ne,Z=re;if(na(b)){var ue="separator"in b?b.separator:ue;O="length"in b?Hn(b.length):O,Z="omission"in b?qs(b.omission):Z}C=bo(C);var be=C.length;if(Lh(C)){var Me=ho(C);be=Me.length}if(O>=be)return C;var He=O-rd(Z);if(He<1)return Z;var Ue=Me?Tu(Me,0,He).join(""):C.slice(0,He);if(ue===r)return Ue+Z;if(Me&&(He+=Ue.length-He),xw(ue)){if(C.slice(He).search(ue)){var Rt,Et=Ue;for(ue.global||(ue=cl(ue.source,bo(Vr.exec(ue))+"g")),ue.lastIndex=0;Rt=ue.exec(Et);)var Mt=Rt.index;Ue=Ue.slice(0,Mt===r?He:Mt)}}else if(C.indexOf(qs(ue),He)!=He){var Xt=Ue.lastIndexOf(ue);Xt>-1&&(Ue=Ue.slice(0,Xt))}return Ue+Z}function tF(C){return C=bo(C),C&&cs.test(C)?C.replace(Sn,aA):C}var rF=G(function(C,b,O){return C+(O?" ":"")+b.toUpperCase()}),Db=L("toUpperCase");function Fb(C,b,O){return C=bo(C),b=O?r:b,b===r?Cv(C)?Ag(C):qc(C):C.match(b)||[]}var Q4=yn(function(C,b){try{return Kr(C,r,b)}catch(O){return Pg(O)?O:new $r(O)}}),nF=jh(function(C,b){return An(b,function(O){O=Mu(O),za(C,O,Ot(C[O],C))}),C});function iF(C){var b=C==null?0:C.length,O=Yr();return C=b?Nn(C,function(Z){if(typeof Z[1]!="function")throw new Ll(s);return[O(Z[0]),Z[1]]}):[],yn(function(Z){for(var ue=-1;++ue<b;){var be=C[ue];if(Kr(be[0],this,Z))return Kr(be[1],this,Z)}})}function oF(C){return vp(Zs(C,p))}function kb(C){return function(){return C}}function sF(C,b){return C==null||C!==C?b:C}var aF=Fe(),Mb=Fe(!0);function wd(C){return C}function Ib(C){return ld(typeof C=="function"?C:Zs(C,p))}function lF(C){return du(Zs(C,p))}function uF(C,b){return eo(C,Zs(b,p))}var cF=yn(function(C,b){return function(O){return ga(O,C,b)}}),dF=yn(function(C,b){return function(O){return ga(C,O,b)}});function Hb(C,b,O){var Z=pu(b),ue=Aa(b,Z);O==null&&!(na(b)&&(ue.length||!Z.length))&&(O=b,b=C,C=this,ue=Aa(b,pu(b)));var be=!(na(O)&&"chain"in O)||!!O.chain,Me=Pp(C);return An(ue,function(He){var Ue=b[He];C[He]=Ue,Me&&(C.prototype[He]=function(){var Rt=this.__chain__;if(be||Rt){var Et=C(this.__wrapped__),Mt=Et.__actions__=ws(this.__actions__);return Mt.push({func:Ue,args:arguments,thisArg:C}),Et.__chain__=Rt,Et}return Ue.apply(C,da([this.value()],arguments))})}),C}function hF(){return di._===this&&(di._=yf),this}function Lb(){}function z4(C){return C=Hn(C),yn(function(b){return ud(b,C)})}var Ob=Kt(Nn),fF=Kt(Ml),pF=Kt(Jc);function lC(C){return ar(C)?Y(Mu(C)):yr(C)}function uC(C){return function(b){return C==null?r:vs(C,b)}}var AF=Ss(),gF=Ss(!0);function Nb(){return[]}function _b(){return!1}function vF(){return{}}function mF(){return""}function CF(){return!0}function U4(C,b){if(C=Hn(C),C<1||C>ye)return[];var O=he,Z=Jo(C,he);b=Yr(b),C-=he;for(var ue=je(Z,b);++O<C;)b(O);return ue}function yF(C){return _n(C)?Nn(C,Mu):Bi(C)?[C]:ws(r0(bo(C)))}function wF(C){var b=++wc;return bo(C)+b}var SF=Dt(function(C,b){return C+b},0),bF=Ri("ceil"),EF=Dt(function(C,b){return C/b},1),xF=Ri("floor");function RF(C){return C&&C.length?Nl(C,wd,ou):r}function BF(C,b){return C&&C.length?Nl(C,Yr(b,2),ou):r}function TF(C){return vf(C,wd)}function PF(C,b){return vf(C,Yr(b,2))}function DF(C){return C&&C.length?Nl(C,wd,Ma):r}function FF(C,b){return C&&C.length?Nl(C,Yr(b,2),Ma):r}var kF=Dt(function(C,b){return C*b},1),MF=Ri("round"),IF=Dt(function(C,b){return C-b},0);function HF(C){return C&&C.length?Ke(C,wd):0}function b0(C,b){return C&&C.length?Ke(C,Yr(b,2)):0}return me.after=Oe,me.ary=ot,me.assign=Cd,me.assignIn=y0,me.assignInWith=_v,me.assignWith=kg,me.at=F4,me.before=Lt,me.bind=Ot,me.bindAll=nF,me.bindKey=Ht,me.castArray=b4,me.chain=d0,me.chunk=AA,me.compact=n0,me.concat=Ad,me.cond=iF,me.conforms=oF,me.constant=kb,me.countBy=j1,me.create=Vv,me.curry=nr,me.curryRight=Cr,me.debounce=br,me.defaults=Gv,me.defaultsDeep=Tw,me.defer=Ca,me.delay=Xe,me.difference=oi,me.differenceBy=ra,me.differenceWith=is,me.drop=Ka,me.dropRight=ac,me.dropRightWhile=bg,me.dropWhile=Xa,me.fill=Bv,me.filter=A0,me.flatMap=K1,me.flatMapDeep=cb,me.flatMapDepth=X1,me.flatten=i0,me.flattenDeep=Ep,me.flattenDepth=fu,me.flip=_e,me.flow=aF,me.flowRight=Mb,me.fromPairs=o0,me.functions=I4,me.functionsIn=DD,me.groupBy=Bp,me.initial=s0,me.intersection=G1,me.intersectionBy=gd,me.intersectionWith=Eg,me.invert=H4,me.invertBy=FD,me.invokeMap=Sw,me.iteratee=Ib,me.keyBy=db,me.keys=pu,me.keysIn=yd,me.map=wA,me.mapKeys=kD,me.mapValues=MD,me.matches=lF,me.matchesProperty=uF,me.memoize=Je,me.merge=ID,me.mergeWith=L4,me.method=cF,me.methodOf=dF,me.mixin=Hb,me.negate=Qt,me.nthArg=z4,me.omit=HD,me.omitBy=LD,me.once=Fr,me.orderBy=hb,me.over=Ob,me.overArgs=Zr,me.overEvery=fF,me.overSome=pF,me.partial=fr,me.partialRight=Jr,me.partition=Hv,me.pick=OD,me.pickBy=O4,me.property=lC,me.propertyOf=uC,me.pull=Pv,me.pullAll=xp,me.pullAllBy=Sl,me.pullAllWith=Mf,me.pullAt=Gs,me.range=AF,me.rangeRight=gF,me.rearg=Ja,me.reject=h,me.remove=Za,me.rest=to,me.reverse=xg,me.sampleSize=R,me.set=bb,me.setWith=Eb,me.shuffle=M,me.slice=mA,me.sortBy=fe,me.sortedUniq=l0,me.sortedUniqBy=CA,me.split=KD,me.spread=If,me.tail=hw,me.take=fw,me.takeRight=Dv,me.takeRightWhile=u0,me.takeWhile=ib,me.tap=ub,me.throttle=fb,me.thru=uh,me.toArray=C0,me.toPairs=Mw,me.toPairsIn=N4,me.toPath=yF,me.toPlainObject=Cb,me.transform=rC,me.unary=AD,me.union=ob,me.unionBy=pw,me.unionWith=Aw,me.uniq=Rp,me.uniqBy=sb,me.uniqWith=Bg,me.unset=nC,me.unzip=c0,me.unzipWith=$s,me.update=ND,me.updateWith=_4,me.values=S0,me.valuesIn=_D,me.without=ab,me.words=Fb,me.wrap=gD,me.xor=gw,me.xorBy=U1,me.xorWith=lb,me.zip=vw,me.zipObject=mw,me.zipObjectDeep=Cw,me.zipWith=md,me.entries=Mw,me.entriesIn=N4,me.extend=y0,me.extendWith=_v,Hb(me,me),me.add=SF,me.attempt=Q4,me.camelCase=G4,me.capitalize=iC,me.ceil=bF,me.clamp=V4,me.clone=E4,me.cloneDeep=mD,me.cloneDeepWith=x4,me.cloneWith=vD,me.conformsTo=pb,me.deburr=oC,me.defaultTo=sF,me.divide=EF,me.endsWith=Iw,me.eq=Hf,me.escape=sC,me.escapeRegExp=aC,me.every=Y1,me.find=Mv,me.findIndex=bp,me.findKey=yb,me.findLast=ww,me.findLastIndex=gA,me.findLastKey=Pw,me.floor=xF,me.forEach=Iv,me.forEachRight=Tg,me.forIn=tC,me.forInRight=k4,me.forOwn=Dw,me.forOwnRight=M4,me.get=wb,me.gt=CD,me.gte=yD,me.has=Fw,me.hasIn=w0,me.head=vA,me.identity=wd,me.includes=g0,me.indexOf=kf,me.inRange=VD,me.invoke=kw,me.isArguments=Lv,me.isArray=_n,me.isArrayBuffer=wD,me.isArrayLike=Gl,me.isArrayLikeObject=ya,me.isBoolean=Z1,me.isBuffer=Tp,me.isDate=SD,me.isElement=bD,me.isEmpty=R4,me.isEqual=ED,me.isEqualWith=Ew,me.isError=Pg,me.isFinite=Ab,me.isFunction=Pp,me.isInteger=J1,me.isLength=q1,me.isMap=gb,me.isMatch=B4,me.isMatchWith=T4,me.isNaN=Dg,me.isNative=xD,me.isNil=BD,me.isNull=RD,me.isNumber=m0,me.isObject=na,me.isObjectLike=wa,me.isPlainObject=Ov,me.isRegExp=xw,me.isSafeInteger=TD,me.isSet=vb,me.isString=Rw,me.isSymbol=Bi,me.isTypedArray=Fg,me.isUndefined=Bw,me.isWeakMap=eC,me.isWeakSet=P4,me.join=vd,me.kebabCase=$D,me.last=Iu,me.lastIndexOf=Tv,me.lowerCase=xb,me.lowerFirst=Rb,me.lt=D4,me.lte=mb,me.max=RF,me.maxBy=BF,me.mean=TF,me.meanBy=PF,me.min=DF,me.minBy=FF,me.stubArray=Nb,me.stubFalse=_b,me.stubObject=vF,me.stubString=mF,me.stubTrue=CF,me.multiply=kF,me.nth=a0,me.noConflict=hF,me.noop=Lb,me.now=De,me.pad=QD,me.padEnd=zD,me.padStart=tX,me.parseInt=UD,me.random=GD,me.reduce=bw,me.reduceRight=v0,me.repeat=WD,me.replace=jD,me.result=Sb,me.round=MF,me.runInContext=Ge,me.sample=g,me.size=$,me.snakeCase=YD,me.some=X,me.sortedIndex=$1,me.sortedIndexBy=Q1,me.sortedIndexOf=Zh,me.sortedLastIndex=Rg,me.sortedLastIndexBy=z1,me.sortedLastIndexOf=Jh,me.startCase=XD,me.startsWith=Bb,me.subtract=IF,me.sum=HF,me.sumBy=b0,me.template=ZD,me.times=U4,me.toFinite=SA,me.toInteger=Hn,me.toLength=Nv,me.toLower=JD,me.toNumber=qh,me.toSafeInteger=PD,me.toString=bo,me.toUpper=Tb,me.trim=qD,me.trimEnd=Pb,me.trimStart=$4,me.truncate=eF,me.unescape=tF,me.uniqueId=wF,me.upperCase=rF,me.upperFirst=Db,me.each=Iv,me.eachRight=Tg,me.first=vA,Hb(me,function(){var C={};return xi(me,function(b,O){ri.call(me.prototype,O)||(C[O]=b)}),C}(),{chain:!1}),me.VERSION=n,An(["bind","bindKey","curry","curryRight","partial","partialRight"],function(C){me[C].placeholder=me}),An(["drop","take"],function(C,b){sn.prototype[C]=function(O){O=O===r?1:so(Hn(O),0);var Z=this.__filtered__&&!b?new sn(this):this.clone();return Z.__filtered__?Z.__takeCount__=Jo(O,Z.__takeCount__):Z.__views__.push({size:Jo(O,he),type:C+(Z.__dir__<0?"Right":"")}),Z},sn.prototype[C+"Right"]=function(O){return this.reverse()[C](O).reverse()}}),An(["filter","map","takeWhile"],function(C,b){var O=b+1,Z=O==ce||O==Se;sn.prototype[C]=function(ue){var be=this.clone();return be.__iteratees__.push({iteratee:Yr(ue,3),type:O}),be.__filtered__=be.__filtered__||Z,be}}),An(["head","last"],function(C,b){var O="take"+(b?"Right":"");sn.prototype[C]=function(){return this[O](1).value()[0]}}),An(["initial","tail"],function(C,b){var O="drop"+(b?"":"Right");sn.prototype[C]=function(){return this.__filtered__?new sn(this):this[O](1)}}),sn.prototype.compact=function(){return this.filter(wd)},sn.prototype.find=function(C){return this.filter(C).head()},sn.prototype.findLast=function(C){return this.reverse().find(C)},sn.prototype.invokeMap=yn(function(C,b){return typeof C=="function"?new sn(this):this.map(function(O){return ga(O,C,b)})}),sn.prototype.reject=function(C){return this.filter(Qt(Yr(C)))},sn.prototype.slice=function(C,b){C=Hn(C);var O=this;return O.__filtered__&&(C>0||b<0)?new sn(O):(C<0?O=O.takeRight(-C):C&&(O=O.drop(C)),b!==r&&(b=Hn(b),O=b<0?O.dropRight(-b):O.take(b-C)),O)},sn.prototype.takeRightWhile=function(C){return this.reverse().takeWhile(C).reverse()},sn.prototype.toArray=function(){return this.take(he)},xi(sn.prototype,function(C,b){var O=/^(?:filter|find|map|reject)|While$/.test(b),Z=/^(?:head|last)$/.test(b),ue=me[Z?"take"+(b=="last"?"Right":""):b],be=Z||/^find/.test(b);ue&&(me.prototype[b]=function(){var Me=this.__wrapped__,He=Z?[1]:arguments,Ue=Me instanceof sn,Rt=He[0],Et=Ue||_n(Me),Mt=function(pi){var _i=ue.apply(me,da([pi],He));return Z&&Xt?_i[0]:_i};Et&&O&&typeof Rt=="function"&&Rt.length!=1&&(Ue=Et=!1);var Xt=this.__chain__,Er=!!this.__actions__.length,tn=be&&!Xt,Un=Ue&&!Er;if(!be&&Et){Me=Un?Me:new sn(this);var dn=C.apply(Me,He);return dn.__actions__.push({func:uh,args:[Mt],thisArg:r}),new ps(dn,Xt)}return tn&&Un?C.apply(this,He):(dn=this.thru(Mt),tn?Z?dn.value()[0]:dn.value():dn)})}),An(["pop","push","shift","sort","splice","unshift"],function(C){var b=dl[C],O=/^(?:push|sort|unshift)$/.test(C)?"tap":"thru",Z=/^(?:pop|shift)$/.test(C);me.prototype[C]=function(){var ue=arguments;if(Z&&!this.__chain__){var be=this.value();return b.apply(_n(be)?be:[],ue)}return this[O](function(Me){return b.apply(_n(Me)?Me:[],ue)})}}),xi(sn.prototype,function(C,b){var O=me[b];if(O){var Z=O.name+"";ri.call(Wd,Z)||(Wd[Z]=[]),Wd[Z].push({name:b,func:O})}}),Wd[ze(r,D).name]=[{name:"wrapper",func:r}],sn.prototype.clone=xr,sn.prototype.reverse=eu,sn.prototype.value=qi,me.prototype.at=h0,me.prototype.chain=yA,me.prototype.commit=f0,me.prototype.next=p0,me.prototype.plant=kv,me.prototype.reverse=W1,me.prototype.toJSON=me.prototype.valueOf=me.prototype.value=yw,me.prototype.first=me.prototype.head,Va&&(me.prototype[Va]=Fv),me},Cc=hp();ke?((ke.exports=Cc)._=Cc,le._=Cc):di._=Cc}).call(o3)}(TE,TE.exports);var wq=TE.exports;const xn=qv(wq);var _f=class xE{constructor({type:t,name:r,domain:n}){this.kind="axis",this.type=t,this.name=r,this.domain={...n}}toCanonicalString(){return BE(this)}static fromAxisSpec(t){return new xE({name:t.name,type:t.type,domain:t.domain})}static fromAxesSpec(t){return t.map(r=>xE.fromAxisSpec(r))}copy(){return new xE({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 xE(t)}},BC=class sq{constructor({name:t,type:r}){this.kind="column",this.name=t,this.type=r}toCanonicalString(){return BE(this)}static fromPojo(t){return new sq(t)}};function Wn(e){return e!==null&&e.kind==="column"}function iR(e){return e!==null&&e.kind==="axis"}function an(e){let t=JSON.parse(e);if(t.kind==="column")return BC.fromPojo(t);if(t.kind==="axis")return _f.fromPojo(t);throw Error("wrong column or axis object")}var Sq="pl7.app/axisNature",bq="pl7.app/label",Eq="pl7.app/isLabel",xq="pl7.app/columnAsAxis/name",Rq="pl7.app/columnAsAxis/domain";async function uI(e,t,r){let n;if(r){let i=await e.pFrameProvider.getTableOuterJoin([t,r],[]),o=i.columnsData[t.toCanonicalString()],s=i.columnsData[r.toCanonicalString()];n=o.reduce((l,c,d)=>(l[String(c)]=String(s[d]),l),{})}else n=(await e.pFrameProvider.getColumnUniqueValues(t)).reduce((i,o)=>{let s=String(o);return i[s]=s,i},{});return n}async function cI(e,t,r,n){let i;if(n){let{data:o,axesData:s}=await e.pFrameProvider.getSingleColumnData(n);i=s[t.toCanonicalString()].reduce((l,c,d)=>(l[String(c)]=String(o[d]),l),{})}else i=(await e.pFrameProvider.getAxisUniqueValues(t,[r])).reduce((o,s)=>{let l=String(s);return o[l]=l,o},{});return i}async function Bq(e,t,r){let n=an(t);if(Wn(n)){let i=await e.pFrameProvider.getColumnSpecById(n);if(!i)return;let o=await zl(e,t,[]),s={kind:"column",label:await el(e,t,[]),valueLabels:await uI(e,n,o),uniqueValues:i.valueType!=="Double"?await e.pFrameProvider.getColumnUniqueValues(n):[],type:i.valueType};r.set(n.toCanonicalString(),s);for(let l of i.axesSpec){let c=_f.fromAxisSpec(l),d=c.toCanonicalString(),f=await zl(e,d,[t]),p={kind:"axis",label:await el(e,d,[t]),valueLabels:await cI(e,c,n,f),uniqueValues:l.type?await e.pFrameProvider.getAxisUniqueValues(c,[n]):[],type:l.type,mustBeConsumed:fI(l),dividable:!1,spec:l};r.set(d,p)}}}function dI(e){let t=an(e),{name:r,type:n}=t;return Wn(t)?{kind:"column",label:" ",uniqueValues:[],valueLabels:{},type:t.type}:{kind:"axis",label:" ",uniqueValues:[],valueLabels:{},type:n,spec:{type:n,name:r},mustBeConsumed:!1,dividable:!1}}function PE(e){return{type:e.type,components:{...e.components},dividedAxes:{...e.dividedAxes}}}function IA(e){let{selectedSource:t,selectedFilterValue:r}=e,n=an(t);if(!n)throw Error("Empty source selected");return iR(n)?{type:"bySingleColumn",column:{type:"axis",id:n.toPFrameId()},predicate:{operator:"Equal",reference:n.type==="String"?String(r):Number(r)}}:{type:"bySingleColumn",column:{type:"column",id:n.name},predicate:{operator:"Equal",reference:n.type==="String"?String(r):Number(r)}}}function oR(e){var t,r,n,i;if("kind"in e&&e.kind==="PColumn"){let l=(r=e.name)!=null?r:(t=e.annotations)==null?void 0:t[xq],c=(i=e.domain)!=null?i:(n=e.annotations)==null?void 0:n[Rq];return BE({name:l,domain:c})}let o=e.name,s=e.domain;return BE({name:o,domain:s})}async function hI(e,t,r){for(let n of r){let i=an(n);if(Wn(i)){let o=await e.pFrameProvider.getColumnSpecById(i),s=o==null?void 0:o.axesSpec.find(l=>_f.fromAxisSpec(l).toCanonicalString()===t.toCanonicalString());if(s)return s}}return null}async function zl(e,t,r){let n=an(t);async function i(d){let f=await hI(e,d,r);return f?oR(f):null}async function o(d){let f=await e.pFrameProvider.getColumnSpecById(d);return f?oR(f):null}let s=await e.pFrameProvider.getColumns([],["String"],{[Eq]:"true"},!1),l=Wn(n)?await o(n):await i(n),c=await Promise.all(s.map(async d=>{let f=await e.pFrameProvider.getColumnSpecById(d);return f&&f.axesSpec.length===1&&oR(f.axesSpec[0])===l})).then(d=>d.findIndex(f=>f===!0));if(c!==-1)return s[c]}async function el(e,t,r){var n,i;let o=an(t),s=await zl(e,t,r),l;if(Wn(o)?l=await e.pFrameProvider.getColumnSpecById(s??o):l=s?await e.pFrameProvider.getColumnSpecById(s):await hI(e,o,r),!l)return"";let c=(i=(n=l.annotations)==null?void 0:n[bq])!=null?i:l.name;return e.labelsModifier(l.name,c)}function fI(e){var t,r;let n=(r=(t=e.annotations)==null?void 0:t[Sq])==null?void 0:r.toLowerCase();return!!n&&n!=="homogenous"&&n!=="homogeneous"}var DE=class{constructor(t,r){this.simpleComponentControllers=t,this.filterComponentControllers=r,this.ignoredOptionIdNames=[],this.dataInputs=[]}get requiredComponents(){let t=[];for(let r of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[r].isRequired&&t.push(r);return t}get dimensionsConsumerComponents(){let t=[];for(let r of Object.keys(this.simpleComponentControllers))this.simpleComponentControllers[r].isDimensionsConsumer&&t.push(r);for(let r of Object.keys(this.filterComponentControllers))this.filterComponentControllers[r].isDimensionsConsumer&&t.push(r);return t}addSelected(t,r,n,i){if(t in this.simpleComponentControllers)return this.simpleComponentControllers[t].addSelected(r,n);if(t in this.filterComponentControllers)return this.filterComponentControllers[t].addSelected(r,n,!0,i);throw Error(`Unknown input name: ${String(t)}`)}deleteSelected(t,r,n,i){if(t in this.simpleComponentControllers)return this.simpleComponentControllers[t].deleteSelected(n,i);if(t in this.filterComponentControllers)return this.filterComponentControllers[t].deleteSelected(n,i);throw Error(`Unknown input name: ${String(t)}`)}changeSelected(t,r,n,i,o){let s=n.components[t].selectorStates.map(p=>[p.selectedSource,"selectedFilterValue"in p?p.selectedFilterValue:void 0]),l=i.map((p,m)=>[p,o==null?void 0:o[m]]),c=s.filter(([p])=>!l.find(m=>m[0]===p)),d=l.filter(([p])=>!s.find(m=>m[0]===p)),f=PE(n);return c.forEach(([p])=>{f=this.deleteSelected(t,r,f,p)}),d.forEach(([p,m])=>{f=this.addSelected(t,f,p,m)}),f}switchDividableAxis(t,r){return PE(t)}createEmptyComponentsGuide(t){return Object.fromEntries(Object.entries(t.components).map(([r,n])=>n.type!=="filter"?[r,{options:[],optionsInfo:new Map,stateConsistency:{},required:!1,multipleSelectors:!1}]:[r,{options:[],optionsInfo:new Map,multipleSelectors:!1,required:!1,stateConsistency:{},filterValueOptions:{}}]))}async getSelectedSetAndInfo(t,r,n=[]){let i=new Set,o=new Set,s=new Map;for(let{selectorStates:l}of Object.values(r.components))for(let{selectedSource:c}of l){await Bq(t,c,s);let d=an(c);if(d instanceof BC){let f=await t.pFrameProvider.getColumnSpecById(d);f==null||f.axesSpec.forEach(p=>{let m=_f.fromAxisSpec(p).toCanonicalString();i.add(m),o.add(c)})}}return{selectedAxesSet:i,selectedSourcesSet:o,selectedColumnsOrAxesInfo:s}}getEmptyInputGuide(t){return{components:this.createEmptyComponentsGuide(t),getSourceInfo:r=>dI(r),freeOptionsSet:new Set,readyData:!1,ready:!1}}async calculateOptions(t,r,n=[]){let i=this.createEmptyComponentsGuide(r),o=new Set;for(let p of this.dimensionsConsumerComponents)for(let{selectedSource:m}of r.components[p].selectorStates)o.add(m);let s=new Set(this.ignoredOptionIdNames),l=new Set(n),c=new Set,{selectedColumnsOrAxesInfo:d}=await this.getSelectedSetAndInfo(t,r,n),f=new Map;for(let p of Object.keys(this.simpleComponentControllers)){let m=await this.simpleComponentControllers[p].getOptions(t,r,o,s,l);m.options.forEach(w=>{c.add(w.value)});for(let[w,x]of m.optionsInfo)f.set(w,x);i[p]=m}for(let p of Object.keys(this.filterComponentControllers)){let m=await this.filterComponentControllers[p].getOptionsFilter(t,r,o,s,l);m.options.forEach(w=>{c.add(w.value)});for(let[w,x]of m.optionsInfo)f.set(w,x);i[p]=m}return{components:i,getSourceInfo:p=>{var m,w,x;let E=(m=an(p).toCanonicalString())!=null?m:p;return(x=(w=f.get(E))!=null?w:d.get(E))!=null?x:dI(p)},freeOptionsSet:c,readyData:this.readyDataInputs(r),ready:await this.readyForPlotBuilding(t,r,c,f)}}async checkStateConsistency(t,r){let n=new Map;for(let i of Object.keys(this.simpleComponentControllers))n.set(i,await this.simpleComponentControllers[i].checkStateConsistency(t,r));for(let i of Object.keys(this.filterComponentControllers))n.set(i,await this.filterComponentControllers[i].checkStateConsistency(t,r));return n}async isConsistent(t,r){let n=await this.checkStateConsistency(t,r);for(let i of n.values())if(Object.values(i).some(o=>!o))return!1;return!0}readyDataInputs(t){return this.dataInputs.every(r=>t.components[r].selectorStates.length>0)}async readyForPlotBuilding(t,r,n,i){if(!await this.isConsistent(t,r)||!this.readyDataInputs(r))return!1;let o=[];for(let s of n){let l=an(s),c=l?i.get(l.toCanonicalString()):null;c&&c.kind==="axis"&&c.mustBeConsumed&&o.push(s)}return this.requiredComponents.every(s=>r.components[s].selectorStates.length>0)&&o.length===0}async createDataForPlot(t,r){return{dataByColumns:await this.createDataByColumns(t,r),settings:await this.createChartSettings(t,r)}}},pI=class aq{constructor({componentName:t,allowedTypes:r,settings:n,dependsOn:i=[],parentComponents:o=[],annotations:s={},strictlyDependsOnParents:l=!0}){this.componentName=t,this.allowedTypes=[...r],this.settings={...aq.DefaultSettings,...n},this.dependsOn=[...i],this.parentComponents=[...o],this.strictlyDependsOnParents=l,this.annotations={...s}}get isRequired(){return this.settings.required}get isDimensionsConsumer(){return this.settings.dimensionConsumer}addSelected(t,r,n=!1,i){let o=PE(t),s={selectedSource:r};return n&&(s.selectedFilterValue=i),o.components[this.componentName].selectorStates.push(s),o}deleteSelected(t,r){let n=PE(t);return n.components[this.componentName].selectorStates=n.components[this.componentName].selectorStates.filter(i=>i.selectedSource!==r),n}async checkStateConsistency(t,r){let n=r.components[this.componentName],i=await this.getParentAxes(t,r);function o(l){let c=_f.fromAxisSpec(l);return i.has(c.toCanonicalString())}let s=await Promise.all(n.selectorStates.map(async({selectedSource:l})=>{let c=an(l);if(Wn(c)){let d=await t.pFrameProvider.getColumnSpecById(c);return d?this.parentComponents.length===0?!0:this.strictlyDependsOnParents?d.axesSpec.every(f=>o(f)):i.size===0||d.axesSpec.some(f=>o(f)):!1}return i.has(l)}));return n.selectorStates.reduce((l,c,d)=>(l[c.selectedSource]=s[d],l),{})}getParentSelectedSources(t,r){return this.parentComponents.reduce((n,i)=>{let o=r.components[i].selectorStates.map(s=>an(s.selectedSource));return n.push(...o),n},[])}async getParentAxes(t,r){let n=this.getParentSelectedSources(t,r),i=new Set;for(let o of n)if(Wn(o)){let s=await t.pFrameProvider.getColumnSpecById(o);s==null||s.axesSpec.forEach(l=>{let c=_f.fromAxisSpec(l);i.add(c.toCanonicalString())})}return i}async getAllowedAxes(t,r){var n;let i=this.getParentSelectedSources(t,r),o=new Set,s=new Map;for(let l of i)if(Wn(l)){let c=await t.pFrameProvider.getColumnSpecById(l);for(let d of(n=c==null?void 0:c.axesSpec)!=null?n:[]){let f=_f.fromAxisSpec(d),p=this.allowedTypes.includes(d.type),m=Object.entries(this.annotations).every(([w,x])=>{var E;return((E=d.annotations)==null?void 0:E[w])===x});if(p&&m){o.add(f.toCanonicalString());let w=await zl(t,f.toCanonicalString(),[l.toCanonicalString()]),x=await t.pFrameProvider.getAxisUniqueValues(f,[l]);s.set(f.toCanonicalString(),{kind:"axis",label:await el(t,f.toCanonicalString(),[l.toCanonicalString()]),valueLabels:await cI(t,f,l,w),uniqueValues:x,type:d.type,mustBeConsumed:fI(d),dividable:!1,spec:d})}}}return{axes:o,optionsInfo:s}}async getOptions(t,r,n,i=new Set,o=new Set){let s=this.settings.multipleSelectors,l=this.settings.required,c=await this.checkStateConsistency(t,r);if(this.strictlyDependsOnParents&&this.parentComponents.some(E=>r.components[E].selectorStates.length===0))return{multipleSelectors:s,required:l,stateConsistency:c,options:[],optionsInfo:new Map};let d=this.getParentSelectedSources(t,r),f=(await t.pFrameProvider.getColumns(d,this.allowedTypes,this.annotations,this.strictlyDependsOnParents)).filter(E=>!n.has(E.toCanonicalString())),{axes:p,optionsInfo:m}=await this.getAllowedAxes(t,r);if(this.dependsOn.length&&this.dependsOn.some(E=>r.components[E].selectorStates.length===0))return{multipleSelectors:s,required:l,stateConsistency:c,options:[],optionsInfo:new Map};let w=r.components[this.componentName],x=[];if(this.settings.axesAllowed)for(let E of p){let T=an(E),D=m.get(T.toCanonicalString()),F=!this.settings.homogeneous||!(D!=null&&D.mustBeConsumed),k=!n.has(E),z=i.has(T.name)||o.has(T.toCanonicalString()),V=w.selectorStates.some(_=>_.selectedSource===E);F&&k&&!z&&!V&&x.push({value:E})}if(this.settings.columnsAllowed)for(let E of f){let T=E.toCanonicalString(),D=an(T),F=await t.pFrameProvider.getColumnSpecById(D);if(F){let V=await zl(t,E.toCanonicalString(),[]),_=await t.pFrameProvider.getColumnUniqueValues(E),I=await el(t,E.toCanonicalString(),[]),U=await uI(t,E,V),J={kind:"column",label:I,valueLabels:U,uniqueValues:_,type:F.valueType};m.set(D.toCanonicalString(),J)}let k=i.has(D.name)||o.has(D.toCanonicalString()),z=r.components[this.componentName].selectorStates.some(V=>V.selectedSource===T);!k&&!z&&x.push({value:T})}return{multipleSelectors:s,required:l,stateConsistency:c,options:x,optionsInfo:m}}async getOptionsFilter(t,r,n,i=new Set,o=new Set){let s=r.components[this.componentName];if(s.type!=="filter")throw Error("Trying to take filter options for simple component");let l=await this.getOptions(t,r,n,i,o),c=this.getParentSelectedSources(t,r).filter(Wn);function d(m){let w=an(m);return Wn(w)?t.pFrameProvider.getColumnUniqueValues(w):t.pFrameProvider.getAxisUniqueValues(w,c)}let f=await Promise.all(l.options.map(m=>d(m.value))),p=await Promise.all(s.selectorStates.map(m=>d(m.selectedSource)));return{...l,filterValueOptions:{...l.options.reduce((m,{value:w},x)=>(m[w]=f[x],m),{}),...s.selectorStates.reduce((m,w,x)=>(m[w.selectedSource]=p[x],m),{})}}}};pI.DefaultSettings={multipleSelectors:!1,required:!1,homogeneous:!1,axesAllowed:!1,columnsAllowed:!0,dimensionConsumer:!1};var Ui=pI,Tq={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:{}},Pq=class extends DE{constructor(){super({y:new Ui({componentName:"y",allowedTypes:["Int","Double","Long"],settings:{}}),primaryGrouping:new Ui({componentName:"primaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,homogeneous:!0}}),secondaryGrouping:new Ui({componentName:"secondaryGrouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["primaryGrouping"],settings:{axesAllowed:!0,homogeneous:!0}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["y"],dependsOn:["y"],settings:{axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["y"]}async createDataByColumns(t,r){let n={type:"columns",values:{}},i=r.components.y.selectorStates[0].selectedSource,o=an(i);if(!i||!Wn(o))throw Error("Y column is not valid");let s=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],l=[...r.components.filters.selectorStates.map(m=>an(m.selectedSource)),...r.components.tabBy.selectorStates.map(m=>an(m.selectedSource))].filter(Wn),c=[i],d=[r.components.primaryGrouping,r.components.secondaryGrouping,r.components.facetBy],f=[];for(let m of d)for(let{selectedSource:w}of m.selectorStates){f.push(an(w));let x=await zl(t,w,c);x&&f.push(x)}let p=await t.pFrameProvider.getTableOuterJoin([o,...l],f,s);return f.forEach(m=>{let w=m.toCanonicalString();n.values[w]=Wn(m)?p.columnsData[w]:p.axesData[w]}),n.values[o.toCanonicalString()]=p.columnsData[o.toCanonicalString()],n}async createChartSettings(t,r){var n,i;let o=r.components.y.selectorStates[0].selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Y column is not valid");let l={type:"column",value:o,label:await el(t,o,[])},c=[o],d;if(r.components.primaryGrouping.selectorStates.length){let{selectedSource:m}=r.components.primaryGrouping.selectorStates[0];d={columnName:{type:"column",value:m,label:await el(t,m,c),valueLabels:(n=await zl(t,m,c))==null?void 0:n.toCanonicalString()}}}let f;if(r.components.secondaryGrouping.selectorStates.length){let{selectedSource:m}=r.components.secondaryGrouping.selectorStates[0];f={columnName:{type:"column",value:m,label:await el(t,m,c),valueLabels:(i=await zl(t,m,c))==null?void 0:i.toCanonicalString()}}}let p=await Promise.all(r.components.facetBy.selectorStates.map(async m=>{var w,x;return{type:"column",value:(x=(w=await zl(t,m.selectedSource,c))==null?void 0:w.toCanonicalString())!=null?x:m.selectedSource,label:await el(t,m.selectedSource,c)}}));return{type:"discrete",y:l,primaryGrouping:d,secondaryGrouping:f,facetBy:p}}},Dq={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 FE(e,t){if(!t.length)return[];let r=t.map(o=>an(o)),n=Object.values(e.columnsData)[0].length,i=[];for(let o=0;o<n;o++){let s=r.map(l=>{let c=l.toCanonicalString();return Wn(l)?e.columnsData[c][o]:e.axesData[c][o]}).join(", ");i.push(s)}return i}var Fq=class extends DE{constructor(){super({value:new Ui({componentName:"value",allowedTypes:["Int","Long","Double","String"],settings:{columnsAllowed:!0,axesAllowed:!1,required:!0}}),x:new Ui({componentName:"x",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),xGroupBy:new Ui({componentName:"xGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["x"]}),y:new Ui({componentName:"y",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{required:!0,dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),yGroupBy:new Ui({componentName:"yGroupBy",allowedTypes:["Int","String","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1},dependsOn:["y"]}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),annotations:new Ui({componentName:"annotations",allowedTypes:["String","Int"],parentComponents:["value"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0},dependsOn:["x","y"]})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["value"],dependsOn:["value"],settings:{columnsAllowed:!0,axesAllowed:!0,dimensionConsumer:!0}})}),this.dataInputs=["value"]}async readyForPlotBuilding(t,r,n,i){let{axes:o}=await this.simpleComponentControllers.x.getAllowedAxes(t,r),s=[...o],l=this.dimensionsConsumerComponents;return await super.readyForPlotBuilding(t,r,n,i)&&s.every(c=>l.some(d=>r.components[d].selectorStates.some(f=>f.selectedSource===c)))}async createDataByColumns(t,r){var n;let i={type:"columns",values:{}},o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],c=[...r.components.filters.selectorStates.map(I=>an(I.selectedSource)),...r.components.tabBy.selectorStates.map(I=>an(I.selectedSource))].filter(Wn),d=[o],f=[r.components.facetBy,r.components.annotations,r.components.xGroupBy,r.components.yGroupBy],p=[];for(let I of f)for(let{selectedSource:U}of I.selectorStates){p.push(an(U));let J=await zl(t,U,d);J&&p.push(J)}let m=await t.pFrameProvider.getTableOuterJoin([s,...c],p,l);p.forEach(I=>{let U=I.toCanonicalString();i.values[U]=Wn(I)?m.columnsData[U]:m.axesData[U]}),i.values[s.toCanonicalString()]=m.columnsData[s.toCanonicalString()];let w=r.components.x.selectorStates.concat(r.components.xGroupBy.selectorStates).map(I=>I.selectedSource),x=w.join(", ");i.values[x]=FE(m,w);let E=r.components.x.selectorStates.map(I=>I.selectedSource),T=await Promise.all(E.map(async I=>{var U,J;return(J=(U=await zl(t,I,d))==null?void 0:U.toCanonicalString())!=null?J:I})),D=E.join(", ");i.values[D]=FE(m,T);let F=r.components.y.selectorStates.concat(r.components.yGroupBy.selectorStates).map(I=>I.selectedSource),k=F.join(", ");i.values[k]=FE(m,F);let z=r.components.y.selectorStates.map(I=>I.selectedSource),V=z.join(", "),_=await Promise.all(z.map(async I=>{var U,J;return(J=(U=await zl(t,I,d))==null?void 0:U.toCanonicalString())!=null?J:I}));return i.values[V]=FE(m,_),i}async createChartSettings(t,r){var n,i;let o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[o],c={type:"column",value:o,label:await el(t,o,[])},d=r.components.x.selectorStates.concat(r.components.xGroupBy.selectorStates).map(({selectedSource:V})=>an(V)).filter(V=>iR(V)).map(V=>V.toCanonicalString()),f=d.join(", "),p=r.components.y.selectorStates.concat(r.components.yGroupBy.selectorStates).map(({selectedSource:V})=>an(V)).filter(V=>iR(V)).map(V=>V.toCanonicalString()),m=p.join(", "),w=await Promise.all(r.components.facetBy.selectorStates.map(async V=>{var _;return{type:"column",value:(_=await zl(t,V.selectedSource,l))!=null?_:V.selectedSource}})),x=await Promise.all(r.components.xGroupBy.selectorStates.map(async V=>({type:"column",label:await el(t,V.selectedSource,l),value:V.selectedSource}))),E=await Promise.all(r.components.yGroupBy.selectorStates.map(async V=>({type:"column",label:await el(t,V.selectedSource,l),value:V.selectedSource}))),T=await Promise.all(r.components.annotations.selectorStates.map(async V=>{var _,I;let U=V.selectedSource,J=an(U),ne=Wn(J)?(_=(await t.pFrameProvider.getColumnAxesIds(J)).map(K=>K.toCanonicalString()))!=null?_:[]:[U],re="";if(ne.every(K=>d.findIndex(ee=>ee===K)!==-1))re="x";else if(ne.every(K=>p.findIndex(ee=>ee===K)!==-1))re="y";else throw Error("Invalid annotation axes");return{axis:re,valueColumn:{type:"column",value:U,label:await el(t,U,l)},type:Wn(J)&&((I=await t.pFrameProvider.getColumnSpecById(J))==null?void 0:I.valueType)==="Double"?"continuous":"discrete"}})),D=r.components.x.selectorStates.map(({selectedSource:V})=>V).join(", "),F=r.components.y.selectorStates.map(({selectedSource:V})=>V).join(", "),k=(await Promise.all(r.components.x.selectorStates.map(V=>el(t,V.selectedSource,l)))).join(", "),z=(await Promise.all(r.components.y.selectorStates.map(V=>el(t,V.selectedSource,l)))).join(", ");return{type:"heatmap",valueColumn:c,valueType:((i=await t.pFrameProvider.getColumnSpecById(s))==null?void 0:i.valueType)==="String"?"discrete":"continuous",xColumn:{type:"column",value:f,label:k,valueLabels:D},yColumn:{type:"column",value:m,label:z,valueLabels:F},facetBy:w,xGroupBy:x,yGroupBy:E,annotations:T}}},kq={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:{}},Mq=class extends DE{constructor(){super({x:new Ui({componentName:"x",allowedTypes:["Int","Long","Double"],parentComponents:["y"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),y:new Ui({componentName:"y",allowedTypes:["Int","Long","Double"],parentComponents:["x"],strictlyDependsOnParents:!1,settings:{required:!0,axesAllowed:!0,columnsAllowed:!0}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),grouping:new Ui({componentName:"grouping",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,multipleSelectors:!0}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],strictlyDependsOnParents:!0,parentComponents:["x","y"],dependsOn:["x","y"],settings:{axesAllowed:!0,dimensionConsumer:!0,multipleSelectors:!0}}),tabBy:new Ui({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(t,r,n,i){var o,s;if(!super.readyForPlotBuilding(t,r,n,i))return!1;let l=(o=r.components.x.selectorStates[0])==null?void 0:o.selectedSource,c=(s=r.components.y.selectorStates[0])==null?void 0:s.selectedSource;if(!this.isConsistent(t,r)||!l||!c)return!1;let{axes:d}=await this.simpleComponentControllers.y.getAllowedAxes(t,r),{axes:f}=await this.simpleComponentControllers.x.getAllowedAxes(t,r),p=an(l),m=an(c),w=Wn(p)?[...d]:[l],x=Wn(m)?[...f]:[c],E=w.filter(F=>!x.some(k=>k===F)),T=x.filter(F=>!w.some(k=>k===F));if(E.length===0&&T.length===0)return!0;let D=this.dimensionsConsumerComponents;return E.every(F=>D.some(k=>r.components[k].selectorStates.some(z=>z.selectedSource===F)))&&T.every(F=>D.some(k=>r.components[k].selectorStates.some(z=>z.selectedSource===F)))}async createDataByColumns(t,r){var n,i;let o={type:"columns",values:{}},s=(n=r.components.x.selectorStates[0])==null?void 0:n.selectedSource,l=(i=r.components.y.selectorStates[0])==null?void 0:i.selectedSource,c=an(s),d=an(l);if(!s||!c||!l||!d)throw Error("X or Y column is not valid");let f=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],p=[...r.components.filters.selectorStates.map(D=>an(D.selectedSource)),...r.components.tabBy.selectorStates.map(D=>an(D.selectedSource))].filter(Wn),m=[c,d].filter(Wn).map(D=>D.toCanonicalString());if(m.length===0)throw Error("One of X and Y should be a column");let w=[c,d,...p],x=[],E=[r.components.grouping,r.components.facetBy];for(let D of E)for(let{selectedSource:F}of D.selectorStates){x.push(an(F));let k=await zl(t,F,m);k&&x.push(k)}let T=await t.pFrameProvider.getTableOuterJoin(w,x,f);return[...w,...x].forEach(D=>{let F=D.toCanonicalString();o.values[F]=Wn(D)?T.columnsData[F]:T.axesData[F]}),o.values.key=o.values[Object.keys(o.values)[0]].map((D,F)=>F),o}async createChartSettings(t,r){var n,i;let o=(n=r.components.x.selectorStates[0])==null?void 0:n.selectedSource,s=(i=r.components.y.selectorStates[0])==null?void 0:i.selectedSource,l=o?an(o):null,c=s?an(s):null;if(!o||!s||!l||!c||!Wn(l)&&!Wn(c))throw Error("Empty or invalid required data");let d=[l,c].filter(Wn).map(E=>E.toCanonicalString()),f={type:"column",value:o,label:await el(t,o,d)},p={type:"column",value:s,label:await el(t,s,d)},m={type:"column",value:"key"},w=await Promise.all(r.components.facetBy.selectorStates.map(async E=>{var T;return{type:"column",value:(T=await zl(t,E.selectedSource,d))!=null?T:E.selectedSource}})),x=await Promise.all(r.components.grouping.selectorStates.map(async E=>{var T;let D=E.selectedSource;return{type:"column",label:await el(t,D,d)||D,value:D,valueLabels:(T=await zl(t,D,d))!=null?T:D}}));return{type:"scatterplot",x:f,y:p,keyColumn:m,facetBy:w,grouping:x}}},sR="pl7.app/dendrogram/nodeId",kE="sequenceOrder",ME="sequenceValue",TC="id",Iq={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:{}},Hq=class extends DE{constructor(){super({value:new Ui({componentName:"value",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isTopology":"true"},settings:{columnsAllowed:!0,required:!0,dimensionConsumer:!0}}),height:new Ui({componentName:"height",allowedTypes:["Int","Long"],annotations:{"pl7.app/dendrogram/isDistance":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1,dimensionConsumer:!0}}),labels:new Ui({componentName:"labels",allowedTypes:["Int","String","Long"],annotations:{"pl7.app/dendrogram/isLabel":"true"},parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),tableContent:new Ui({componentName:"tableContent",allowedTypes:["Int","String","Long","Double","Float"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0,multipleSelectors:!0}}),nodeShape:new Ui({componentName:"nodeShape",allowedTypes:["Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeSize:new Ui({componentName:"nodeSize",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),nodeColor:new Ui({componentName:"nodeColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!0}}),lineColor:new Ui({componentName:"lineColor",allowedTypes:["Double","Int","String","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{columnsAllowed:!0,axesAllowed:!1}}),heatmapForSequence:new Ui({componentName:"heatmapForSequence",allowedTypes:["String"],annotations:{"pl7.app/type":"sequence"},parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!0}}),heatmapAnnotation:new Ui({componentName:"heatmapAnnotation",allowedTypes:["Double","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!1,settings:{columnsAllowed:!0,axesAllowed:!1}}),facetBy:new Ui({componentName:"facetBy",allowedTypes:["String","Int","Long"],parentComponents:["value"],strictlyDependsOnParents:!0,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapAxis:new Ui({componentName:"heatmapAxis",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}}),heatmapGroup:new Ui({componentName:"heatmapGroup",allowedTypes:["String","Int","Long"],parentComponents:["heatmapAnnotation"],settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}})},{filters:new Ui({componentName:"filters",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,multipleSelectors:!0,axesAllowed:!0,columnsAllowed:!1}}),tabBy:new Ui({componentName:"tabBy",allowedTypes:["String","Int","Long"],parentComponents:["value","heatmapAnnotation"],strictlyDependsOnParents:!1,settings:{dimensionConsumer:!0,axesAllowed:!0,columnsAllowed:!1}})}),this.ignoredOptionIdNames=[sR]}readyDataInputs(t){return t.components.value.selectorStates.length>0}async createTableData(t,r){var n;let i={},o=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,s=an(o);if(!o||!Wn(s))throw Error("Value column is not valid");let l=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],c=[...r.components.filters.selectorStates.map(D=>an(D.selectedSource)),...r.components.tabBy.selectorStates.map(D=>an(D.selectedSource))].filter(Wn),d=[o],f=[],p=[],m=[r.components.value],w=[r.components.tableContent,r.components.labels,r.components.nodeColor,r.components.nodeSize,r.components.nodeShape,r.components.lineColor],x={};for(let D of m)for(let{selectedSource:F}of D.selectorStates){let k=await zl(t,F,d),z=k??an(F);x[z.toCanonicalString()]=F,f.push(z)}for(let D of w)for(let{selectedSource:F}of D.selectorStates){let k=await zl(t,F,d),z=k??an(F);x[F]=z.toCanonicalString(),p.push(z)}let E=await t.pFrameProvider.getTableOuterJoin([...f,...c],p,l,!1);for(let D of[...f,...p]){let F=D.toCanonicalString(),k=x[D.toCanonicalString()];i[k]={data:Wn(D)?E.columnsData[F]:E.axesData[F],label:await el(t,k,d)}}let T=Object.keys(E.axesData).find(D=>{var F;return((F=an(D))==null?void 0:F.name)===sR});return T?i[TC]={data:E.axesData[T],label:"Node id"}:console.warn("Missed node id axis in data column"),i}async createDataByColumns(t,r){var n,i,o,s;let l={type:"columns",values:{}},c=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,d=(i=r.components.heatmapAnnotation.selectorStates[0])==null?void 0:i.selectedSource,f=an(c),p=d?an(d):null;if(!c||!Wn(f))throw Error("Value column is not valid");let m=[...r.components.filters.selectorStates.map(IA),...r.components.tabBy.selectorStates.map(IA)],w=[...r.components.filters.selectorStates.map(J=>an(J.selectedSource)),...r.components.tabBy.selectorStates.map(J=>an(J.selectedSource))].filter(Wn),x=[f,p].filter(Wn).map(J=>J.toCanonicalString()),E=[],T=[],D=[r.components.value,r.components.height,r.components.labels,r.components.nodeColor,r.components.nodeSize,r.components.nodeShape,r.components.lineColor,r.components.heatmapAnnotation,r.components.heatmapForSequence],F=[r.components.facetBy,r.components.heatmapAxis,r.components.heatmapGroup,r.components.tableContent];for(let J of D)for(let{selectedSource:ne}of J.selectorStates){E.push(an(ne));let re=await zl(t,ne,x);re&&E.push(re)}for(let J of F)for(let{selectedSource:ne}of J.selectorStates){T.push(an(ne));let re=await zl(t,ne,x);re&&T.push(re)}let k=await t.pFrameProvider.getTableOuterJoin([...E,...w],T,m,!1),z=r.components.heatmapForSequence.selectorStates.length>0?r.components.heatmapForSequence.selectorStates[0].selectedSource:null,V=[],_=[];if(z){_=Wn(an(z))?k.columnsData[z]:k.axesData[z];let J=_.find(ne=>ne!==null);J&&(V=String(J).split("").map((ne,re)=>re),l.values[kE]=[],l.values[ME]=[])}let I=(s=(o=Object.values(k.columnsData)[0])==null?void 0:o.length)!=null?s:0;[...E,...T].forEach(J=>{let ne=J.toCanonicalString(),re=Wn(J)?k.columnsData[ne]:k.axesData[ne];l.values[ne]=[],z?V.forEach(()=>{l.values[ne]=l.values[ne].concat(re)}):l.values[ne]=re}),z&&V.forEach(J=>{l.values[kE]=l.values[kE].concat(new Array(I).fill(J)),l.values[ME]=l.values[ME].concat(_.map(ne=>ne?String(ne)[J]:null))});let U=Object.keys(k.axesData).find(J=>{var ne;return((ne=an(J))==null?void 0:ne.name)===sR});return U?z?(l.values[TC]=[],V.forEach(()=>{l.values[TC]=l.values[TC].concat(k.axesData[U])})):l.values[TC]=k.axesData[U]:console.warn("Missed node id axis in data column"),l}async createChartSettings(t,r){var n;let i=(n=r.components.value.selectorStates[0])==null?void 0:n.selectedSource,o=an(i);if(!i||!Wn(o))throw Error("Data column is not valid");let s=[i],l={type:"column",value:TC},c={type:"column",value:i},d=r.components.height.selectorStates.length?{type:"column",value:r.components.height.selectorStates[0].selectedSource}:void 0,f=r.components.labels.selectorStates.length?{type:"column",value:r.components.labels.selectorStates[0].selectedSource}:void 0,p={};if(r.components.nodeColor.selectorStates.length){let E=r.components.nodeColor.selectorStates[0].selectedSource;p.nodeColor={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.nodeShape.selectorStates.length){let E=r.components.nodeShape.selectorStates[0].selectedSource;p.nodeShape={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.nodeSize.selectorStates.length){let E=r.components.nodeSize.selectorStates[0].selectedSource;p.nodeSize={columnName:{type:"column",value:E,label:await el(t,E,s)}}}if(r.components.lineColor.selectorStates.length){let E=r.components.lineColor.selectorStates[0].selectedSource;p.lineColor={columnName:{type:"column",value:E,label:await el(t,E,s)}}}let m,w,x;return r.components.heatmapAnnotation.selectorStates.length&&r.components.heatmapAxis.selectorStates.length?(m={type:"column",value:r.components.heatmapAnnotation.selectorStates[0].selectedSource},w={type:"column",value:r.components.heatmapAxis.selectorStates[0].selectedSource},x=r.components.heatmapGroup.selectorStates.map(E=>({type:"column",value:E.selectedSource}))):r.components.heatmapForSequence.selectorStates.length&&(m={type:"column",value:ME},w={type:"column",value:kE}),{type:"dendro",id:l,parentId:c,height:d,labels:f,aes:p,heatmapAnnotation:m,heatmapAxis:w,heatmapGroup:x}}};function IE(e,t){return e==="String"?t.data:new Array(...t.data).map(r=>e==="Int"&&r===-2147483648||e==="Long"&&r===BigInt(-9007199254740991)||(e==="Double"||e==="Float")&&isNaN(r)?null:Number(r))}var Lq=class{constructor(t,r){this.pframeHandle=t,this.pframeDriver=r}async getSingleColumnData(t,r=[]){try{let n=await this.pframeDriver.calculateTableData(this.pframeHandle,{src:{type:"column",column:t.name},filters:r,sorting:[]}),i=n.filter(s=>s.spec.type==="axis"),o=n.filter(s=>s.spec.type==="column");return{axesData:i.reduce((s,l)=>{let c=_f.fromAxisSpec(l.spec.spec);return s[c.toCanonicalString()]=IE(c.type,l.data),s},{}),data:o.length?IE(t.type,o[0].data):[]}}catch(n){throw console.error("PFrame: single column data error"),n}}async getColumnUniqueValues(t,r=[]){let n={columnId:t.name,filters:r,limit:10};try{let i=await this.pframeDriver.getUniqueValues(this.pframeHandle,n);return new Array(...i.values.data).map(String)}catch{return[]}}async getAxisUniqueValues(t,r,n=[]){try{let i=r.filter(Wn),o=await Promise.all(i.map(s=>this.pframeDriver.getUniqueValues(this.pframeHandle,{columnId:s.name,axis:t.toPFrameId(),filters:n,limit:1e3})));return xn.uniq(xn.flatten(o.map(s=>new Array(...s.values.data).map(String))))}catch{return[]}}async getTableOuterJoin(t,r,n=[],i=!0){let o=t.filter(Wn),s=r.filter(Wn),l={src:{type:"outer",primary:{type:i?"inner":"full",entries:o.map(c=>({type:"column",column:c.name}))},secondary:s.map(c=>({type:"column",column:c.name}))},filters:n,sorting:[]};try{let c=await this.pframeDriver.calculateTableData(this.pframeHandle,l),d=c.filter(p=>p.spec.type==="axis"),f=c.filter(p=>p.spec.type==="column");return{axesData:d.reduce((p,m)=>{let w=_f.fromAxisSpec(m.spec.spec);return p[w.toCanonicalString()]=IE(w.type,m.data),p},{}),columnsData:f.reduce((p,m)=>{let w=m.spec.spec,x=new BC({name:m.spec.id,type:w.valueType});return p[x.toCanonicalString()]=IE(x.type,m.data),p},{})}}catch(c){throw console.error("PFrame: table outer join error"),console.info("error with request: ",l),c}}async getColumnSpecById(t){try{let r=await this.pframeDriver.getColumnSpec(this.pframeHandle,t.name);return r??null}catch{return console.error("PFrame: get single column error"),null}}async getColumnAxesIds(t){var r,n;return(n=(r=await this.getColumnSpecById(t))==null?void 0:r.axesSpec.map(i=>_f.fromAxisSpec(i)))!=null?n:[]}async getRequestColumnsFromSelectedSources(t){var r,n;let i=[];for(let o of t)if(Wn(o)){let s=(n=(r=await this.getColumnSpecById(o))==null?void 0:r.axesSpec)!=null?n:[];i.push(...s.map(l=>_f.fromAxisSpec(l).toPFrameId()))}return i}async getColumnsList(){return this.pframeDriver.listColumns(this.pframeHandle)}async getColumns(t,r,n,i){try{let o={columnFilter:{type:r,annotationValue:n},compatibleWith:await this.getRequestColumnsFromSelectedSources(t),strictlyCompatible:i},s=await this.pframeDriver.findColumns(this.pframeHandle,o),l=[];return s.hits.forEach(({columnId:c,spec:d})=>{l.push(new BC({name:c,type:d.valueType}))}),l}catch(o){throw console.error("PFrame: get columns error",o),o}}},AI=class{constructor(t,r,n=(i,o)=>o??i){this.labelsModifier=n,this.pFrameProvider=new Lq(t,r)}},gI={controllers:{discrete:new Pq,scatterplot:new Mq,heatmap:new Fq,dendro:new Hq},initialStates:{discrete:Tq,scatterplot:kq,heatmap:Dq,dendro:Iq}};function HE(e){return gI.controllers[e]}function Oq(e){return gI.initialStates[e]}const Vn=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},Nq={},_q={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vq(e,t){return A.openBlock(),A.createElementBlock("svg",_q,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 Gq=Vn(Nq,[["render",Vq]]),$q={},Qq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function zq(e,t){return A.openBlock(),A.createElementBlock("svg",Qq,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 Uq=Vn($q,[["render",zq]]),Wq={},jq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yq(e,t){return A.openBlock(),A.createElementBlock("svg",jq,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 Kq=Vn(Wq,[["render",Yq]]),Xq={},Zq={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Jq(e,t){return A.openBlock(),A.createElementBlock("svg",Zq,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 qq=Vn(Xq,[["render",Jq]]),eee={},tee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ree(e,t){return A.openBlock(),A.createElementBlock("svg",tee,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 nee=Vn(eee,[["render",ree]]),iee={},oee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function see(e,t){return A.openBlock(),A.createElementBlock("svg",oee,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 aee=Vn(iee,[["render",see]]),lee={},uee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function cee(e,t){return A.openBlock(),A.createElementBlock("svg",uee,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 dee=Vn(lee,[["render",cee]]),hee={},fee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function pee(e,t){return A.openBlock(),A.createElementBlock("svg",fee,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 Aee=Vn(hee,[["render",pee]]),gee={},vee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function mee(e,t){return A.openBlock(),A.createElementBlock("svg",vee,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 Cee=Vn(gee,[["render",mee]]),yee={},wee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function See(e,t){return A.openBlock(),A.createElementBlock("svg",wee,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 vI=Vn(yee,[["render",See]]),bee={},Eee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xee(e,t){return A.openBlock(),A.createElementBlock("svg",Eee,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 Ree=Vn(bee,[["render",xee]]),Bee={},Tee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Pee(e,t){return A.openBlock(),A.createElementBlock("svg",Tee,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 Dee=Vn(Bee,[["render",Pee]]),Fee={},kee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mee(e,t){return A.openBlock(),A.createElementBlock("svg",kee,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 mI=Vn(Fee,[["render",Mee]]),Iee={},Hee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Lee(e,t){return A.openBlock(),A.createElementBlock("svg",Hee,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 Oee=Vn(Iee,[["render",Lee]]),Nee={},_ee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vee(e,t){return A.openBlock(),A.createElementBlock("svg",_ee,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 CI=Vn(Nee,[["render",Vee]]),Gee={},$ee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Qee(e,t){return A.openBlock(),A.createElementBlock("svg",$ee,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 zee=Vn(Gee,[["render",Qee]]),Uee={},Wee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function jee(e,t){return A.openBlock(),A.createElementBlock("svg",Wee,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 Yee=Vn(Uee,[["render",jee]]),Kee={},Xee={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Zee(e,t){return A.openBlock(),A.createElementBlock("svg",Xee,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 Jee=Vn(Kee,[["render",Zee]]),qee={},ete={class:"inline-icon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tte(e,t){return A.openBlock(),A.createElementBlock("svg",ete,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 rte=Vn(qee,[["render",tte]]),PC=[{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"}],s3="#FFFFFF",El="#110529";PC.reduce((e,t)=>(e[t.color]=t,e),{});const a3=PC.slice(0,-3).map(e=>e.color),nte=a3.filter((e,t)=>t%3===0),ite=a3.filter((e,t)=>t%3===1),ote=a3.filter((e,t)=>t%3===2),ste=a3.filter((e,t)=>t%3!==2),ate=a3,lte=["#FFF680","#53D788","#36739D","#4A005C"],ute=["#FFF680","#F77E5B","#902B83","#2B125C"],cte=["#DFFADC","#74CFD1","#635AC1","#611347"],dte=["#FAFAB4","#8DDA7F","#337E90","#1C0F5C"],hte=["#FFEA80","#F07A76","#7535A4","#003752"],fte=["#FFF780","#6CEA90","#6C90F0","#942AAE"],pte=["#43317B","#7ACFAC","#F5F5B7","#F07B75","#5C1243"],Ate=["#122B5C","#41B5A8","#F0F0F0","#F07C80","#5C1243"],gte=["#0E0E8F","#7E93FB","#F0F0F0","#ED7883","#5C1243"],vte=["#2E5C00","#9ED26A","#F0F0F0","#EB8BDB","#701260"],mte=["#4A005C","#36749D","#56D688","#FFF680","#F77E5E","#902B82","#2B125C"],yI=["light","bright","dark","paired","triadic"],Cte=["viridis","magma","density","salinity","sunset","perceptual_rainbow"],yte=["spectrum","teal_red","blue_red","lime_rose","viridis_magma"];function aR(e){return yI.includes(e)}const Uc={...{light:{title:"Light",colors:nte},bright:{title:"Bright",colors:ite},dark:{title:"Dark",colors:ote},paired:{title:"Paired",colors:ste},triadic:{title:"Triadic",colors:ate}},...{viridis:{title:"Viridis",colors:lte},magma:{title:"Magma",colors:ute},density:{title:"Density",colors:cte},salinity:{title:"Salinity",colors:dte},sunset:{title:"Sunset",colors:hte},perceptual_rainbow:{title:"Rainbow",colors:fte}},...{spectrum:{title:"Spectrum",colors:pte},teal_red:{title:"Teal-Red",colors:Ate},blue_red:{title:"Blue-Red",colors:gte},lime_rose:{title:"Lime-Rose",colors:vte},viridis_magma:{title:"Vir-Mag",colors:mte}}},wte="salinity",l3=["0","5","1","2","6","7","9","3","4","8","12","10","13","14","11","22","23","21","24","25"],wI="#F0F0F0",Qg="21",u3=["solid","dashed","dotted","dotdash","longdash","twodash"],LE="solid",Ste={solid:{title:"Solid"},dashed:{title:"Dashed"},dotted:{title:"Dotted"},dotdash:{title:"Dotdash"},longdash:{title:"Longdash"},twodash:{title:"Twodash"}};function DC(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function bte(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function SI(e){let t,r,n;e.length!==2?(t=DC,r=(l,c)=>DC(e(l),c),n=(l,c)=>e(l)-c):(t=e===DC||e===bte?e:Ete,r=e,n=e);function i(l,c,d=0,f=l.length){if(d<f){if(t(c,c)!==0)return f;do{const p=d+f>>>1;r(l[p],c)<0?d=p+1:f=p}while(d<f)}return d}function o(l,c,d=0,f=l.length){if(d<f){if(t(c,c)!==0)return f;do{const p=d+f>>>1;r(l[p],c)<=0?d=p+1:f=p}while(d<f)}return d}function s(l,c,d=0,f=l.length){const p=i(l,c,d,f-1);return p>d&&n(l[p-1],c)>-n(l[p],c)?p-1:p}return{left:i,center:s,right:o}}function Ete(){return 0}function bI(e){return e===null?NaN:+e}function*xte(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const Rte=SI(DC).right;SI(bI).center;function c3(e,t){let r,n;if(t===void 0)for(const i of e)i!=null&&(r===void 0?i>=i&&(r=n=i):(r>i&&(r=i),n<i&&(n=i)));else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(r===void 0?o>=o&&(r=n=o):(r>o&&(r=o),n<o&&(n=o)))}return[r,n]}class EI extends Map{constructor(t,r=Pte){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(xI(this,t))}has(t){return super.has(xI(this,t))}set(t,r){return super.set(Bte(this,t),r)}delete(t){return super.delete(Tte(this,t))}}function xI({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function Bte({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function Tte({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function Pte(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Dte(e=DC){if(e===DC)return RI;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function RI(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Fte=Math.sqrt(50),kte=Math.sqrt(10),Mte=Math.sqrt(2);function OE(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),s=o>=Fte?10:o>=kte?5:o>=Mte?2:1;let l,c,d;return i<0?(d=Math.pow(10,-i)/s,l=Math.round(e*d),c=Math.round(t*d),l/d<e&&++l,c/d>t&&--c,d=-d):(d=Math.pow(10,i)*s,l=Math.round(e/d),c=Math.round(t/d),l*d<e&&++l,c*d>t&&--c),c<l&&.5<=r&&r<2?OE(e,t,r*2):[l,c,d]}function lR(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,o,s]=n?OE(t,e,r):OE(e,t,r);if(!(o>=i))return[];const l=o-i+1,c=new Array(l);if(n)if(s<0)for(let d=0;d<l;++d)c[d]=(o-d)/-s;else for(let d=0;d<l;++d)c[d]=(o-d)*s;else if(s<0)for(let d=0;d<l;++d)c[d]=(i+d)/-s;else for(let d=0;d<l;++d)c[d]=(i+d)*s;return c}function uR(e,t,r){return t=+t,e=+e,r=+r,OE(e,t,r)[2]}function Ite(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?uR(t,e,r):uR(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function V0(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of e)(i=t(i,++n,e))!=null&&(r<i||r===void 0&&i>=i)&&(r=i)}return r}function NE(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of e)(i=t(i,++n,e))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}function BI(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?RI:Dte(i);n>r;){if(n-r>600){const c=n-r+1,d=t-r+1,f=Math.log(c),p=.5*Math.exp(2*f/3),m=.5*Math.sqrt(f*p*(c-p)/c)*(d-c/2<0?-1:1),w=Math.max(r,Math.floor(t-d*p/c+m)),x=Math.min(n,Math.floor(t+(c-d)*p/c+m));BI(e,t,w,x,i)}const o=e[t];let s=r,l=n;for(d3(e,r,t),i(e[n],o)>0&&d3(e,r,n);s<l;){for(d3(e,s,l),++s,--l;i(e[s],o)<0;)++s;for(;i(e[l],o)>0;)--l}i(e[r],o)===0?d3(e,r,l):(++l,d3(e,l,n)),l<=t&&(r=l+1),t<=l&&(n=l-1)}return e}function d3(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function TI(e,t,r){if(e=Float64Array.from(xte(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return NE(e);if(t>=1)return V0(e);var n,i=(n-1)*t,o=Math.floor(i),s=V0(BI(e,o).subarray(0,o+1)),l=NE(e.subarray(o+1));return s+(l-s)*(i-o)}}function HA(e,t,r=bI){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),s=+r(e[o],o,e),l=+r(e[o+1],o+1,e);return s+(l-s)*(i-o)}}function Wc(e,t){let r=0,n=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++r,n+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++r,n+=o)}if(r)return n/r}function Hte(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,o=new Array(i);++n<i;)o[n]=e+n*r;return o}function jc(e,t){let r=0;if(t===void 0)for(let n of e)(n=+n)&&(r+=n);else{let n=-1;for(let i of e)(i=+t(i,++n,e))&&(r+=i)}return r}function _E(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const PI=Symbol("implicit");function cc(){var e=new EI,t=[],r=[],n=PI;function i(o){let s=e.get(o);if(s===void 0){if(n!==PI)return n;e.set(o,s=t.push(o)-1)}return r[s%r.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new EI;for(const s of o)e.has(s)||e.set(s,t.push(s)-1);return i},i.range=function(o){return arguments.length?(r=Array.from(o),i):r.slice()},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return cc(t,r).unknown(n)},_E.apply(i,arguments),i}function h3(){var e=cc().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,o,s,l=!1,c=0,d=0,f=.5;delete e.unknown;function p(){var m=t().length,w=i<n,x=w?i:n,E=w?n:i;o=(E-x)/Math.max(1,m-c+d*2),l&&(o=Math.floor(o)),x+=(E-x-o*(m-c))*f,s=o*(1-c),l&&(x=Math.round(x),s=Math.round(s));var T=Hte(m).map(function(D){return x+o*D});return r(w?T.reverse():T)}return e.domain=function(m){return arguments.length?(t(m),p()):t()},e.range=function(m){return arguments.length?([n,i]=m,n=+n,i=+i,p()):[n,i]},e.rangeRound=function(m){return[n,i]=m,n=+n,i=+i,l=!0,p()},e.bandwidth=function(){return s},e.step=function(){return o},e.round=function(m){return arguments.length?(l=!!m,p()):l},e.padding=function(m){return arguments.length?(c=Math.min(1,d=+m),p()):c},e.paddingInner=function(m){return arguments.length?(c=Math.min(1,m),p()):c},e.paddingOuter=function(m){return arguments.length?(d=+m,p()):d},e.align=function(m){return arguments.length?(f=Math.max(0,Math.min(1,m)),p()):f},e.copy=function(){return h3(t(),[n,i]).round(l).paddingInner(c).paddingOuter(d).align(f)},_E.apply(p(),arguments)}function cR(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function DI(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function f3(){}var p3=.7,VE=1/p3,FC="\\s*([+-]?\\d+)\\s*",A3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",LA="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Lte=/^#([0-9a-f]{3,8})$/,Ote=new RegExp(`^rgb\\(${FC},${FC},${FC}\\)$`),Nte=new RegExp(`^rgb\\(${LA},${LA},${LA}\\)$`),_te=new RegExp(`^rgba\\(${FC},${FC},${FC},${A3}\\)$`),Vte=new RegExp(`^rgba\\(${LA},${LA},${LA},${A3}\\)$`),Gte=new RegExp(`^hsl\\(${A3},${LA},${LA}\\)$`),$te=new RegExp(`^hsla\\(${A3},${LA},${LA},${A3}\\)$`),FI={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};cR(f3,g3,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:kI,formatHex:kI,formatHex8:Qte,formatHsl:zte,formatRgb:MI,toString:MI});function kI(){return this.rgb().formatHex()}function Qte(){return this.rgb().formatHex8()}function zte(){return NI(this).formatHsl()}function MI(){return this.rgb().formatRgb()}function g3(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Lte.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?II(t):r===3?new gh(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?GE(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?GE(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=Ote.exec(e))?new gh(t[1],t[2],t[3],1):(t=Nte.exec(e))?new gh(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=_te.exec(e))?GE(t[1],t[2],t[3],t[4]):(t=Vte.exec(e))?GE(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Gte.exec(e))?OI(t[1],t[2]/100,t[3]/100,1):(t=$te.exec(e))?OI(t[1],t[2]/100,t[3]/100,t[4]):FI.hasOwnProperty(e)?II(FI[e]):e==="transparent"?new gh(NaN,NaN,NaN,0):null}function II(e){return new gh(e>>16&255,e>>8&255,e&255,1)}function GE(e,t,r,n){return n<=0&&(e=t=r=NaN),new gh(e,t,r,n)}function Ute(e){return e instanceof f3||(e=g3(e)),e?(e=e.rgb(),new gh(e.r,e.g,e.b,e.opacity)):new gh}function dR(e,t,r,n){return arguments.length===1?Ute(e):new gh(e,t,r,n??1)}function gh(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}cR(gh,dR,DI(f3,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new gh(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?p3:Math.pow(p3,e),new gh(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new gh(G0(this.r),G0(this.g),G0(this.b),$E(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:HI,formatHex:HI,formatHex8:Wte,formatRgb:LI,toString:LI}));function HI(){return`#${$0(this.r)}${$0(this.g)}${$0(this.b)}`}function Wte(){return`#${$0(this.r)}${$0(this.g)}${$0(this.b)}${$0((isNaN(this.opacity)?1:this.opacity)*255)}`}function LI(){const e=$E(this.opacity);return`${e===1?"rgb(":"rgba("}${G0(this.r)}, ${G0(this.g)}, ${G0(this.b)}${e===1?")":`, ${e})`}`}function $E(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function G0(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function $0(e){return e=G0(e),(e<16?"0":"")+e.toString(16)}function OI(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Np(e,t,r,n)}function NI(e){if(e instanceof Np)return new Np(e.h,e.s,e.l,e.opacity);if(e instanceof f3||(e=g3(e)),!e)return new Np;if(e instanceof Np)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),s=NaN,l=o-i,c=(o+i)/2;return l?(t===o?s=(r-n)/l+(r<n)*6:r===o?s=(n-t)/l+2:s=(t-r)/l+4,l/=c<.5?o+i:2-o-i,s*=60):l=c>0&&c<1?0:s,new Np(s,l,c,e.opacity)}function jte(e,t,r,n){return arguments.length===1?NI(e):new Np(e,t,r,n??1)}function Np(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}cR(Np,jte,DI(f3,{brighter(e){return e=e==null?VE:Math.pow(VE,e),new Np(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?p3:Math.pow(p3,e),new Np(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,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new gh(hR(e>=240?e-240:e+120,i,n),hR(e,i,n),hR(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Np(_I(this.h),QE(this.s),QE(this.l),$E(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=$E(this.opacity);return`${e===1?"hsl(":"hsla("}${_I(this.h)}, ${QE(this.s)*100}%, ${QE(this.l)*100}%${e===1?")":`, ${e})`}`}}));function _I(e){return e=(e||0)%360,e<0?e+360:e}function QE(e){return Math.max(0,Math.min(1,e||0))}function hR(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const fR=e=>()=>e;function Yte(e,t){return function(r){return e+r*t}}function Kte(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function Xte(e){return(e=+e)==1?VI:function(t,r){return r-t?Kte(t,r,e):fR(isNaN(t)?r:t)}}function VI(e,t){var r=t-e;return r?Yte(e,r):fR(isNaN(e)?t:e)}const GI=function e(t){var r=Xte(t);function n(i,o){var s=r((i=dR(i)).r,(o=dR(o)).r),l=r(i.g,o.g),c=r(i.b,o.b),d=VI(i.opacity,o.opacity);return function(f){return i.r=s(f),i.g=l(f),i.b=c(f),i.opacity=d(f),i+""}}return n.gamma=e,n}(1);function Zte(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(o){for(i=0;i<r;++i)n[i]=e[i]*(1-o)+t[i]*o;return n}}function Jte(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function qte(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),o=new Array(r),s;for(s=0;s<n;++s)i[s]=gR(e[s],t[s]);for(;s<r;++s)o[s]=t[s];return function(l){for(s=0;s<n;++s)o[s]=i[s](l);return o}}function ere(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function zE(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function tre(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=gR(e[i],t[i]):n[i]=t[i];return function(o){for(i in r)n[i]=r[i](o);return n}}var pR=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,AR=new RegExp(pR.source,"g");function rre(e){return function(){return e}}function nre(e){return function(t){return e(t)+""}}function ire(e,t){var r=pR.lastIndex=AR.lastIndex=0,n,i,o,s=-1,l=[],c=[];for(e=e+"",t=t+"";(n=pR.exec(e))&&(i=AR.exec(t));)(o=i.index)>r&&(o=t.slice(r,o),l[s]?l[s]+=o:l[++s]=o),(n=n[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,c.push({i:s,x:zE(n,i)})),r=AR.lastIndex;return r<t.length&&(o=t.slice(r),l[s]?l[s]+=o:l[++s]=o),l.length<2?c[0]?nre(c[0].x):rre(t):(t=c.length,function(d){for(var f=0,p;f<t;++f)l[(p=c[f]).i]=p.x(d);return l.join("")})}function gR(e,t){var r=typeof t,n;return t==null||r==="boolean"?fR(t):(r==="number"?zE:r==="string"?(n=g3(t))?(t=n,GI):ire:t instanceof g3?GI:t instanceof Date?ere:Jte(t)?Zte:Array.isArray(t)?qte:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?tre:zE)(e,t)}function ore(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function sre(e){return function(){return e}}function are(e){return+e}var $I=[0,1];function kC(e){return e}function vR(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:sre(isNaN(t)?NaN:.5)}function lre(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function ure(e,t,r){var n=e[0],i=e[1],o=t[0],s=t[1];return i<n?(n=vR(i,n),o=r(s,o)):(n=vR(n,i),o=r(o,s)),function(l){return o(n(l))}}function cre(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),s=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<n;)i[s]=vR(e[s],e[s+1]),o[s]=r(t[s],t[s+1]);return function(l){var c=Rte(e,l,1,n)-1;return o[c](i[c](l))}}function QI(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function zI(){var e=$I,t=$I,r=gR,n,i,o,s=kC,l,c,d;function f(){var m=Math.min(e.length,t.length);return s!==kC&&(s=lre(e[0],e[m-1])),l=m>2?cre:ure,c=d=null,p}function p(m){return m==null||isNaN(m=+m)?o:(c||(c=l(e.map(n),t,r)))(n(s(m)))}return p.invert=function(m){return s(i((d||(d=l(t,e.map(n),zE)))(m)))},p.domain=function(m){return arguments.length?(e=Array.from(m,are),f()):e.slice()},p.range=function(m){return arguments.length?(t=Array.from(m),f()):t.slice()},p.rangeRound=function(m){return t=Array.from(m),r=ore,f()},p.clamp=function(m){return arguments.length?(s=m?!0:kC,f()):s!==kC},p.interpolate=function(m){return arguments.length?(r=m,f()):r},p.unknown=function(m){return arguments.length?(o=m,p):o},function(m,w){return n=m,i=w,f()}}function dre(){return zI()(kC,kC)}function hre(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function UE(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function MC(e){return e=UE(Math.abs(e)),e?e[1]:NaN}function fre(e,t){return function(r,n){for(var i=r.length,o=[],s=0,l=e[0],c=0;i>0&&l>0&&(c+l+1>n&&(l=Math.max(1,n-c)),o.push(r.substring(i-=l,i+l)),!((c+=l+1)>n));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function pre(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Are=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function v3(e){if(!(t=Are.exec(e)))throw new Error("invalid format: "+e);var t;return new mR({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]})}v3.prototype=mR.prototype;function mR(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+""}mR.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 gre(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var UI;function vre(e,t){var r=UE(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(UI=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=n.length;return o===s?n:o>s?n+new Array(o-s+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+UE(e,Math.max(0,t+o-1))[0]}function WI(e,t){var r=UE(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const jI={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:hre,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)=>WI(e*100,t),r:WI,s:vre,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function YI(e){return e}var KI=Array.prototype.map,XI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function mre(e){var t=e.grouping===void 0||e.thousands===void 0?YI:fre(KI.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?YI:pre(KI.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function d(p){p=v3(p);var m=p.fill,w=p.align,x=p.sign,E=p.symbol,T=p.zero,D=p.width,F=p.comma,k=p.precision,z=p.trim,V=p.type;V==="n"?(F=!0,V="g"):jI[V]||(k===void 0&&(k=12),z=!0,V="g"),(T||m==="0"&&w==="=")&&(T=!0,m="0",w="=");var _=E==="$"?r:E==="#"&&/[boxX]/.test(V)?"0"+V.toLowerCase():"",I=E==="$"?n:/[%p]/.test(V)?s:"",U=jI[V],J=/[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 ne(re){var K=_,ee=I,ce,pe,Se;if(V==="c")ee=U(re)+ee,re="";else{re=+re;var Le=re<0||1/re<0;if(re=isNaN(re)?c:U(Math.abs(re),k),z&&(re=gre(re)),Le&&+re==0&&x!=="+"&&(Le=!1),K=(Le?x==="("?x:l:x==="-"||x==="("?"":x)+K,ee=(V==="s"?XI[8+UI/3]:"")+ee+(Le&&x==="("?")":""),J){for(ce=-1,pe=re.length;++ce<pe;)if(Se=re.charCodeAt(ce),48>Se||Se>57){ee=(Se===46?i+re.slice(ce+1):re.slice(ce))+ee,re=re.slice(0,ce);break}}}F&&!T&&(re=t(re,1/0));var ye=K.length+re.length+ee.length,Be=ye<D?new Array(D-ye+1).join(m):"";switch(F&&T&&(re=t(Be+re,Be.length?D-ee.length:1/0),Be=""),w){case"<":re=K+re+ee+Be;break;case"=":re=K+Be+re+ee;break;case"^":re=Be.slice(0,ye=Be.length>>1)+K+re+ee+Be.slice(ye);break;default:re=Be+K+re+ee;break}return o(re)}return ne.toString=function(){return p+""},ne}function f(p,m){var w=d((p=v3(p),p.type="f",p)),x=Math.max(-8,Math.min(8,Math.floor(MC(m)/3)))*3,E=Math.pow(10,-x),T=XI[8+x/3];return function(D){return w(E*D)+T}}return{format:d,formatPrefix:f}}var WE,m3,ZI;Cre({thousands:",",grouping:[3],currency:["$",""]});function Cre(e){return WE=mre(e),m3=WE.format,ZI=WE.formatPrefix,WE}function yre(e){return Math.max(0,-MC(Math.abs(e)))}function wre(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(MC(t)/3)))*3-MC(Math.abs(e)))}function Sre(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,MC(t)-MC(e))+1}function bre(e,t,r,n){var i=Ite(e,t,r),o;switch(n=v3(n??",f"),n.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(o=wre(i,s))&&(n.precision=o),ZI(n,s)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(o=Sre(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=o-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(o=yre(i))&&(n.precision=o-(n.type==="%")*2);break}}return m3(n)}function Ere(e){var t=e.domain;return e.ticks=function(r){var n=t();return lR(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return bre(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,o=n.length-1,s=n[i],l=n[o],c,d,f=10;for(l<s&&(d=s,s=l,l=d,d=i,i=o,o=d);f-- >0;){if(d=uR(s,l,r),d===c)return n[i]=s,n[o]=l,t(n);if(d>0)s=Math.floor(s/d)*d,l=Math.ceil(l/d)*d;else if(d<0)s=Math.ceil(s*d)/d,l=Math.floor(l*d)/d;else break;c=d}return e},e}function Sa(){var e=dre();return e.copy=function(){return QI(e,Sa())},_E.apply(e,arguments),Ere(e)}function xre(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],o=e[n],s;return o<i&&(s=r,r=n,n=s,s=i,i=o,o=s),e[r]=t.floor(i),e[n]=t.ceil(o),e}function JI(e){return Math.log(e)}function qI(e){return Math.exp(e)}function Rre(e){return-Math.log(-e)}function Bre(e){return-Math.exp(-e)}function Tre(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Pre(e){return e===10?Tre:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Dre(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 eH(e){return(t,r)=>-e(-t,r)}function Fre(e){const t=e(JI,qI),r=t.domain;let n=10,i,o;function s(){return i=Dre(n),o=Pre(n),r()[0]<0?(i=eH(i),o=eH(o),e(Rre,Bre)):e(JI,qI),t}return t.base=function(l){return arguments.length?(n=+l,s()):n},t.domain=function(l){return arguments.length?(r(l),s()):r()},t.ticks=l=>{const c=r();let d=c[0],f=c[c.length-1];const p=f<d;p&&([d,f]=[f,d]);let m=i(d),w=i(f),x,E;const T=l==null?10:+l;let D=[];if(!(n%1)&&w-m<T){if(m=Math.floor(m),w=Math.ceil(w),d>0){for(;m<=w;++m)for(x=1;x<n;++x)if(E=m<0?x/o(-m):x*o(m),!(E<d)){if(E>f)break;D.push(E)}}else for(;m<=w;++m)for(x=n-1;x>=1;--x)if(E=m>0?x/o(-m):x*o(m),!(E<d)){if(E>f)break;D.push(E)}D.length*2<T&&(D=lR(d,f,T))}else D=lR(m,w,Math.min(w-m,T)).map(o);return p?D.reverse():D},t.tickFormat=(l,c)=>{if(l==null&&(l=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=v3(c)).precision==null&&(c.trim=!0),c=m3(c)),l===1/0)return c;const d=Math.max(1,n*l/t.ticks().length);return f=>{let p=f/o(Math.round(i(f)));return p*n<n-.5&&(p*=n),p<=d?c(f):""}},t.nice=()=>r(xre(r(),{floor:l=>o(Math.floor(i(l))),ceil:l=>o(Math.ceil(i(l)))})),t}function jE(){const e=Fre(zI()).domain([1,10]);return e.copy=()=>QI(e,jE()).base(e.base()),_E.apply(e,arguments),e}const IC="#110529",kre="solid",Mre=1,CR="21",Ire=3,Hre={color:"#ccc",lineShape:kre,dotShape:CR},Lre="light";function Ore(e){const t=1/(e.length-1);return Sa().domain(e.map((r,n)=>n*t)).range(e)}function tH(e,t){const r=Uc[e].colors,n=t.length>1?1/(t.length-1):0,i=Ore(r),o=aR(e),s=t.reduce((l,c,d)=>(l[c]={colorIdx:o?d:d*n,aes:{color:o?r[d%r.length]:i(d*n),lineShape:u3[d%u3.length],dotShape:l3[d%l3.length]}},l),{});return{type:"categorical",palette:e,naAes:Hre,order:t,mapping:s}}function HC(e){return tH(Lre,e)}function rH(e,t,r,n){if((t==null?void 0:t.type)==="continuous")return{inheritedAes:{}};const i=t??HC(r?e.getSourceInfo(r).uniqueValues:[]);return{order:i.order,inheritedAes:i.order.reduce((o,s)=>{const l=i.mapping[s].aes;return o[s]={},n.fill&&(o[s].fillColor=l.color,o[s].dotFill=l.color),n.stroke&&(o[s].lineColor=l.color),n.dotShape&&(o[s].dotShape=l.dotShape),n.lineType&&(o[s].lineShape=l.lineShape),o},{})}}function Nre(e,t,r){const n=r[e]??HC(t.getSourceInfo(e).uniqueValues);return n.order.reduce((i,o)=>{const s=n.mapping[o].aes;return i[o]={fillColor:s.color,lineColor:s.color,dotFill:s.color,dotShape:s.dotShape,dotSize:Ire,lineWidth:Mre},i},{})}function yR(e,t,r,n){const i=r[e]??HC(t.getSourceInfo(e).uniqueValues);return i.order.reduce((o,s)=>{const l=i.mapping[s].aes;return o[s]=l[n],o},{})}const _re={},Vre={class:"inline-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Gre(e,t){return A.openBlock(),A.createElementBlock("svg",Vre,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 $re=Vn(_re,[["render",Gre]]);function Qre(e,t){return t==="discrete"?e&&C3[e]?e:"box":t==="scatterplot"?e&&y3[e]?e:"dots":t==="dendro"?"dendro":"heatmap"}const C3={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"]},y3={dots:["dots"],curve:["curve"],curve_dots:["curve","dots"]},LC={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 zre(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 Q0(e){return typeof e=="object"&&e!==null&&"type"in e}const Ure=()=>({dendro:{dotFill:El,dotShape:Qg,lineColor:El,mode:"normal",leavesMode:"normal",showTable:!1},heatmap:{dendrogramX:!1,dendrogramY:!1},dots:{dotFill:null,dotShape:null},curve:{lineColor:El,smoothing:!0},box:{showOutliers:!0,fillColor:null,lineColor:IC,dotShape:Qg,lineType:LE,gapWidth:.2,opacity:1,stat:{low:.25,middle:.5,upper:.75,k:1.5}},binnedDots:{fillColor:null,lineColor:IC,opacity:1,showOutliers:!0},jitteredDots:{dotFill:null,dotShape:Qg,lineColor:IC,opacity:1,showOutliers:!0},violin:{fillColor:null,lineColor:IC,lineType:LE,opacity:1,trim:!1},bar:{fillColor:null,lineColor:IC,opacity:1,height:"max"},stackedBar:{fillColor:null,lineColor:IC,opacity:1},line:{pointsValues:"mean",lineColor:null,dotShape:Qg,lineType:LE,dotFill:El,opacity:1},errorbar:{pointsValues:"mean",interval:"sd",lineColor:null,dotShape:Qg,dotFill:El,opacity:1},sina:{dotFill:null,dotShape:Qg,opacity:1,showOutliers:!0}});function Wre(e){const t=Ure();return Object.keys(t).reduce((n,i)=>(Object.assign(n[i],(e==null?void 0:e[i])??{}),n),t)}const jre=()=>({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 nH(e){return e==="full"||e==="none"}function Yre(e,t){if(!t)return jre();function r(n){return e==="heatmap"&&!nH(n)?"full":e!=="heatmap"&&nH(n)&&n==="none"?"empty":n}return{title:{...t.title},axisX:{...t.axisX},axisY:{...t.axisY},legend:{...t.legend},other:{...t.other,frame:r(t.other.frame)}}}const em={box:Gq,box_binnedDots:Uq,box_jitteredDots:Kq,binnedDots:qq,jitteredDots:nee,violin:aee,violin_binnedDots:dee,violin_jitteredDots:Aee,bar:Cee,bar_line:vI,bar_errorbar:Ree,stackedBar:Dee,line:mI,line_binnedDots:Oee,line_jitteredDots:CI,line_errorbar:zee,errorbar:vI,sina:Yee,dots:Jee,curve:mI,curve_dots:CI,heatmap:rte,dendro:$re},YE=[{value:"ttest",text:"TTest"},{value:"anova",text:"ANOVA"},{value:"wilcoxon",text:"Wilcoxon"},{value:"kruskalWallis",text:"Kruskal-Wallis"}],iH=[{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"}],oH=[{value:"pValue",text:"p-value"},{value:"significance",text:"significance"}];function sH(e,t,r){var i,o,s,l,c;if(((o=(i=e.components)==null?void 0:i.y)==null?void 0:o.selectorStates.length)===0)return[];if(!((l=(s=e.components)==null?void 0:s[r])!=null&&l.selectorStates.length))return["single common group"];const n=(c=e.components)==null?void 0:c[r].selectorStates[0].selectedSource;return t.getSourceInfo(n).uniqueValues}function Kre(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 r={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"&&(r.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(r)}if(e.pairwise.data.testMethod&&e.pairwise.validity.testMethod){const r={type:"stat",statType:"pairwise",testMethod:e.pairwise.data.testMethod,format:e.pairwise.data.format,ns:e.pairwise.data.ns};e.referenceGroup.data.correctionMethod!=="none"&&(r.correctionMethod=e.referenceGroup.data.correctionMethod),t.push(r)}return t}function Xre(e,t,r,n){const i=[],o=n.components.primaryGrouping.selectorStates.length>0,s=n.components.secondaryGrouping.selectorStates.length>0;function l(c,d=!1){return c===null?s?{type:"secondaryGrouping"}:o&&!d?{type:"primaryGrouping"}:{type:"secondaryGrouping"}:c}return e.forEach(c=>{if(c==="box"){const d=t[c];i.push({type:"box",aes:{showOutliers:d.showOutliers,dotShape:d.dotShape,fillColor:l(d.fillColor),lineColor:l(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(c==="binnedDots"){const d=t[c];i.push({type:"binnedDots",aes:{showOutliers:d.showOutliers,fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="jitteredDots"){const d=t[c];i.push({type:"dot",aes:{showOutliers:d.showOutliers,dotFill:l(d.dotFill),dotShape:d.dotShape,lineColor:d.lineColor,opacity:d.opacity}})}if(c==="violin"){const d=t[c];i.push({type:"violin",stat:{trim:d.trim},aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),lineShape:d.lineType,opacity:d.opacity}})}if(c==="bar"){const d=t[c];i.push({type:"bar",height:d.height,aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="stackedBar"){const d=t[c];i.push({type:"stackedBar",aes:{fillColor:l(d.fillColor),lineColor:l(d.lineColor),opacity:d.opacity}})}if(c==="line"){const d=t[c];i.push({type:"line",pointsValues:d.pointsValues,aes:{lineColor:l(d.lineColor,!0),fillColor:d.dotFill,lineShape:d.lineType,dotShape:d.dotShape,opacity:d.opacity}})}if(c==="errorbar"){const d=t[c];i.push({type:"errorbar",pointsValues:d.pointsValues,interval:d.interval,aes:{lineColor:l(d.lineColor,!0),fillColor:d.dotFill,dotShape:d.dotShape,opacity:d.opacity}})}if(c==="sina"){const d=t[c];i.push({type:"sina",aes:{showOutliers:d.showOutliers,dotFill:l(d.dotFill),dotShape:d.dotShape}})}}),o&&!s&&i.push(...Kre(r)),i}function Zre(e,t){const r=[];return e.forEach(n=>{if(n==="dots"){const i=t[n];r.push({type:"dots",aes:{dotFill:i.dotFill??El,dotShape:i.dotShape??Qg}})}if(n==="curve"){const i=t[n];r.push({type:"curve",smoothing:i.smoothing,aes:{lineColor:i.lineColor??El}})}}),r}function wR(e,t,r,n,i){if(e==="discrete"){const o=C3[t];return Xre(o,r,n,i)}if(e==="scatterplot"){const o=y3[t];return Zre(o,r)}return[]}function w3(e,t,r){return e.some(n=>{var o;const i=(o=n==null?void 0:n.aes)==null?void 0:o[t];return Q0(i)&&i.type===r})}function SR(e,t,r){return e.some(n=>{var o;const i=(o=n==null?void 0:n.aes)==null?void 0:o[t];return Q0(i)&&i.value===r})}function aH(e,t,r,n,i){var c,d,f;const o=wR(e,t,r,n,i),s={};let l=[];return e==="discrete"&&(l=["primaryGrouping","secondaryGrouping"],l.forEach(p=>{var w,x;const m=(x=(w=i.components[p])==null?void 0:w.selectorStates[0])==null?void 0:x.selectedSource;m&&(s[m]={fill:w3(o,"fillColor",p)||w3(o,"dotFill",p),stroke:w3(o,"lineColor",p),dotShape:w3(o,"dotShape",p),lineType:w3(o,"lineShape",p),size:!1})})),e==="scatterplot"&&(l=i.components.grouping.selectorStates.map(p=>p.selectedSource),l.forEach(p=>{s[p]={fill:SR(o,"dotFill",p),stroke:SR(o,"lineColor",p),dotShape:SR(o,"dotShape",p),lineType:!1,size:!1}})),e==="dendro"&&(l=[((c=i.components.nodeColor.selectorStates[0])==null?void 0:c.selectedSource)??null,((d=i.components.nodeShape.selectorStates[0])==null?void 0:d.selectedSource)??null,((f=i.components.lineColor.selectorStates[0])==null?void 0:f.selectedSource)??null].filter(m=>m!==null),l.forEach(m=>{s[m]={fill:Q0(r.dendro.dotFill)&&r.dendro.dotFill.value===m,stroke:Q0(r.dendro.lineColor)&&r.dendro.lineColor.value===m,dotShape:Q0(r.dendro.dotShape)&&r.dendro.dotShape.value===m,lineType:!1,size:!1}})),s}function bR(e,t){let r={},n={};t==="discrete"&&(r.labelsPosition=e.axisX.labelsRotation,r.linesBetweenCategories=e.axisX.linesBetweenCategories,n.scale=e.axisY.scale),(t==="discrete"||t==="scatterplot")&&(r.showGrid=e.axisX.gridlines,r.showTicks=e.axisX.ticks,n.showGrid=e.axisY.gridlines,n.showTicks=e.axisY.ticks),t==="scatterplot"&&(r.scale=e.axisX.scale,n.scale=e.axisY.scale),t==="heatmap"&&(r.axisLabelsAngle=e.axisX.axisLabelsAngle,n.axisLabelsAngle=e.axisY.axisLabelsAngle),e.axisY.titleMode!=="auto"&&(n.title=e.axisY.titleMode==="custom"?e.axisY.customTitle:""),e.axisX.titleMode!=="auto"&&(r.title=e.axisX.titleMode==="custom"?e.axisX.customTitle:"");const i={xAxis:r,yAxis:n,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}function zg(e){return JSON.parse(JSON.stringify(e))}async function lH(e,t){if(t.type==="column"){const r=await e.pFrameProvider.getColumnSpecById(new BC({name:t.id,type:"String"}));return r?new BC({name:t.id,type:r.valueType}):null}return new _f(t.id)}function Jre(e,t,r){const n=wR(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState),i=aH(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);e.layers=n;const o=t.optionsState.components;if(o.primaryGrouping.selectorStates.length&&e.primaryGrouping){const s=o.primaryGrouping.selectorStates[0].selectedSource,l=i[s];Object.assign(e.primaryGrouping,rH(r,t.dataBindAes[s],s,l))}if(o.secondaryGrouping.selectorStates&&e.secondaryGrouping){const s=o.secondaryGrouping.selectorStates[0].selectedSource,l=i[s];Object.assign(e.secondaryGrouping,rH(r,t.dataBindAes[s],s,l))}return Object.assign(e,bR(t.axesSettings,t.chartType)),e}function qre(e,t,r){e.layers=wR(t.chartType,t.template,t.layersSettings,t.statisticsSettings,t.optionsState);const n=t.optionsState.components;if(n.grouping.selectorStates.length){const i={};n.grouping.selectorStates.forEach(({selectedSource:o})=>{i[o]=Nre(o,r,t.dataBindAes)}),Object.assign(e,{inheritedAes:i})}return Object.assign(e,bR(t.axesSettings,t.chartType)),e}function ene(e,t){const r={};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}),r.colorsList=Uc[wte].colors),e.aes=r,Object.assign(e,bR(t.axesSettings,t.chartType)),e}const tne=280;function rne(e,t,r,n,i){var c,d,f;e.rootPosition="left";const o=r.optionsState.components,s=r.layersSettings.dendro,l=e==null?void 0:e.aes;if(l.nodeShape&&typeof l.nodeShape=="object"){const p=(c=o.nodeShape.selectorStates[0])==null?void 0:c.selectedSource,m=yR(p,n,r.dataBindAes,"dotShape");Object.keys(m).length?l.nodeShape.valuesMap=m:l.nodeShape=CR}else typeof s.dotShape=="string"&&(l.nodeShape=s.dotShape);if(l.nodeColor&&typeof l.nodeColor=="object"){const p=(d=o.nodeColor.selectorStates[0])==null?void 0:d.selectedSource,m=yR(p,n,r.dataBindAes,"color");Object.keys(m).length?l.nodeColor.valuesMap=m:l.nodeColor=El}else typeof s.dotFill=="string"&&(l.nodeColor=s.dotFill);if(l.lineColor&&typeof l.lineColor=="object"){const p=(f=o.lineColor.selectorStates[0])==null?void 0:f.selectedSource;l.lineColor.valuesMap=yR(p,n,r.dataBindAes,"color")}else typeof s.lineColor=="string"&&(l.lineColor=s.lineColor);if(o.heatmapForSequence.selectorStates.length>0){const p=t.values.sequenceValue,m=[...new Set(p)].filter(Boolean),w=Uc.bright.colors;e.heatmapSettings={valueType:"discrete",aes:{colorsMap:m.reduce((x,E,T)=>(x[E]=w[T%w.length],x),{})}}}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:tne*(i/100)}),e}async function nne(e,t,r){if(!r||r.length===0)return e;const n=await Promise.all(r.map(o=>lH(t,o.selectedSource))),i=zg(e);return r.forEach(({inputName:o,selectedFilterValue:s},l)=>{if(e.components[o]){const c=n[l];c&&i.components[o].selectorStates.push({selectedSource:c.toCanonicalString(),selectedFilterValue:s})}}),i}const ine=600,one=350,sne=400,ane=250;function lne(e,t=0){return{width:(t>0?sne:ine)*(e/100),height:(t>0?ane:one)*(e/100)}}async function une(e,t,r,n){var i;if(!e.ready)return null;try{const o=HE(t.chartType),s=await nne(t.optionsState,r,n),l=await o.createDataForPlot(r,s);let c=l.settings;return c.title={name:"",show:!1},c.size=lne(t.chartScale,((i=t.optionsState.components)==null?void 0:i.facetBy.selectorStates.length)||0),t.chartType==="discrete"&&(c=Jre(c,t,e)),t.chartType==="scatterplot"&&(c=qre(c,t,e)),t.chartType==="heatmap"&&(c=ene(c,t)),t.chartType==="dendro"&&(c=rne(c,l.dataByColumns,t,e,t.chartScale)),{settings:c,dataByColumns:l.dataByColumns}}catch(o){return console.warn("Cant build chart data"),console.warn(o.message),null}}function uH(e){return e.length<2?[]:e.map(t=>({value:String(t),text:String(t)}))}function cH(e){return e.length<2?[]:e.length>2?YE.filter(t=>t.value!=="ttest"&&t.value!=="wilcoxon"):YE}function ER(e){return async()=>{const t=e.value.commonHelpersData.primaryGroups.value;function r(c,d){return d===null||!!c.find(f=>f.value===d)}const n=e.value.reactive.statisticsSettings,i=cH(t),o=uH(t),s=n.overall.data.testMethod,l=n.referenceGroup.data.referenceGroup;n.overall.validity.testMethod=r(i,s),n.referenceGroup.validity.referenceGroup=r(o,l)}}function cne(e){e.dispatchEvent(new MouseEvent("click"))}function dne(e,t){const r=window.URL||window.webkitURL,n=document.createElement("a");n.download=t,n.rel="noopener",n.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(n.href)},4e4),setTimeout(function(){cne(n)},0)}function hne(e){var t;return A.reactive({chartType:e.chartType,optionsState:((t=e.optionsState)==null?void 0:t.type)===e.chartType?zg(e.optionsState):zg(Oq(e.chartType)),template:Qre(e.template,e.chartType),statisticsSettings:zre(e.statisticsSettings),layersSettings:Wre(e.layersSettings),axesSettings:Yre(e.chartType,e.axesSettings),dataBindAes:zg(e.dataBindAes??{}),chartScale:100,dendroInfoByClick:null,dendroSelectedNodeId:null})}function fne(e,t,r,n,i){return{reactive:e,commonHelpersData:{primaryGroups:A.computed(()=>sH(e.optionsState,r.value,"primaryGrouping")),secondaryGroups:A.computed(()=>sH(e.optionsState,r.value,"secondaryGrouping")),usedAesInMapping:A.computed(()=>aH(e.chartType,e.template,e.layersSettings,e.statisticsSettings,e.optionsState)),dendroTableData:i},controller:HE(e.chartType),columnsDataStore:t,inputGuide:r,chartData:n}}function pne(e,t,r){const n=hne(e),i=HE(n.chartType),o=A.ref(HE(n.chartType).getEmptyInputGuide(n.optionsState)),s=A.ref(null),l=A.ref(null),c=A.computed(()=>fne(n,A.toRaw(t.value),o,s,l));return A.watch([()=>n.optionsState,()=>t.value,()=>r.value],async([d,f,p])=>{const m=(await Promise.all((p??[]).map(w=>lH(f,w.selectedSource)))).filter(Boolean).map(w=>w==null?void 0:w.toCanonicalString());o.value=await i.calculateOptions(A.toRaw(f),d,m)},{immediate:!0,deep:!0}),A.watch([()=>o.value,()=>n],async([d,f])=>{s.value=await une(d,f,A.toRaw(t.value),r.value)},{immediate:!0,deep:!0}),n.chartType==="dendro"&&A.watch([()=>n.optionsState,()=>t.value,()=>o.value.readyData],async([d,f,p])=>{p&&(l.value=await i.createTableData(f,d))},{immediate:!0}),A.provide(_0,c),c}function Lo(){return Cq(A.inject(_0),"Empty store")}const Ane={class:"template-list"},gne=["onClick"],vne=["onClick"],mne=A.defineComponent({__name:"TemplateForm",setup(e){const t=Lo(),r=Object.entries(C3).map(([l,c])=>({id:l,text:c.map(d=>LC[d]).join(" + "),icon:em[l]})),n=Object.entries(y3).map(([l,c])=>({id:l,text:c.map(d=>LC[d]).join(" + "),icon:em[l]})),i=[{id:"heatmap",text:"Heatmap",icon:em.heatmap}],o=[{id:"dendro",text:"Dendrogram",icon:em.dendro}];function s(l){t.value.reactive.template=l}return(l,c)=>(A.openBlock(),A.createElementBlock("div",{class:"template-form",onClick:c[0]||(c[0]=d=>d.stopPropagation())},[c[5]||(c[5]=A.createElementVNode("div",{class:"template-title"},[A.createElementVNode("h3",null," Template ")],-1)),A.createElementVNode("div",Ane,[A.unref(t).reactive.chartType==="discrete"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(r),({id:d,text:f,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:m=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(f)+" ",1),c[1]||(c[1]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,gne))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="scatterplot"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(n),({id:d,text:f,icon:p})=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["template-item",{selected:A.unref(t).reactive.template===d}]),onClick:m=>s(d)},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(p))),A.createTextVNode(" "+A.toDisplayString(f)+" ",1),c[2]||(c[2]=A.createElementVNode("div",{class:"checkmark"},null,-1))],10,vne))),256)):A.createCommentVNode("",!0),A.unref(t).reactive.chartType==="heatmap"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:2},A.renderList(i,({text:d,icon:f})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(f))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),c[3]||(c[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:f})=>A.createElementVNode("div",{class:A.normalizeClass(["template-item",{selected:!0}])},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(f))),A.createTextVNode(" "+A.toDisplayString(d)+" ",1),c[4]||(c[4]=A.createElementVNode("div",{class:"checkmark"},null,-1))])),64)):A.createCommentVNode("",!0)])]))}});function Ug(e,t,r,n=!1){A.onMounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.addEventListener(t,r,n)}),A.onUnmounted(()=>{var i;return(i=A.unref(e))==null?void 0:i.removeEventListener(t,r,n)})}const xR=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r};function Cne(e){return e()}function dH(e,t){if(e==null)throw Error(t);return e}function yne(e){let t=!1;return function(...r){t||(requestAnimationFrame(()=>{e(...r),t=!1}),t=!0)}}function wne(e){return new Promise(t=>setTimeout(t,e))}function Sne(e,t){const r=setTimeout(e,t);return()=>{clearTimeout(r)}}function bne(e){return function(t){return 1-e(1-t)}}function Ene(e){const{duration:t,draw:r,timing:n}=e,i=performance.now();let o=!1;return requestAnimationFrame(function s(l){let c=(l-i)/t;(c>1||o)&&(c=1);const d=n(c);r(d),c<1&&requestAnimationFrame(s)}),function(){o=!0}}function xne(e,t){let r=-1;return(...n)=>{r!==-1&&(clearTimeout(r),r=-1),r=window.setTimeout(()=>e(...n),t)}}function Rne(e,t,r=!0){let n=0,i;return function(...o){i=()=>{e.apply(this,o),n=new Date().getTime()+t,i=null,r&&setTimeout(()=>{i&&i()},t)},new Date().getTime()>n&&i()}}function Bne(e){return e.map(t=>({label:"label"in t?t.label:t.text,value:t.value}))}function hH(e,t){const r={el:void 0,x:0,y:0},n=i=>({x:i.x,y:i.y,dx:i.x-r.x,dy:i.y-r.y});Ug(document,"mousedown",i=>{i.target===A.unref(e)&&(i.stopPropagation&&i.stopPropagation(),i.preventDefault&&i.preventDefault(),r.el=A.unref(e),r.x=i.x,r.y=i.y)}),Ug(document,"mouseup",i=>{r.el&&(r.el=void 0,t({...n(i),stop:!0},r))}),Ug(document,"mousemove",i=>{r.el&&t(n(i),r)})}function*Tne(e,t){for(const r of e)yield t(r)}function Pne(e){const t=[];for(const r of e)t.push(r);return t}const RR=new Map;function Dne(e){return RR.has(e)||RR.set(e,A.ref(localStorage.getItem(e))),dH(RR.get(e),"...")}function Fne(e,t){t==null?localStorage.removeItem(e):localStorage.setItem(e,t)}function kne(e){const t=Dne(e);return A.watch(t,r=>Fne(e,r)),t}const Mne=new Set;window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{Pne(Tne(Mne.values(),t=>t(e.matches?"dark":"light")))});const Ine=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";A.ref(Ine),kne("theme");const S3=A.defineComponent({__name:"MaskIcon16",props:{name:{},size:{}},setup(e){const t=e,r=A.computed(()=>t.size==="large"?"--mask-size: 24px":""),n=A.computed(()=>`mask-16 mask-${t.name}`);return(i,o)=>(A.openBlock(),A.createElementBlock("i",{style:A.normalizeStyle(r.value),class:A.normalizeClass(n.value)},null,6))}});function Hne(e){function t(r){const n=r.currentTarget,i=document.createElement("span"),o=Math.max(n.clientWidth,n.clientHeight),s=o/2;i.style.width=i.style.height=`${o}px`,i.style.left=`${r.clientX-n.offsetLeft-s}px`,i.style.top=`${r.clientY-n.offsetTop-s}px`,i.classList.add("ripple");const l=n.getElementsByClassName("ripple")[0];l&&l.remove(),n.appendChild(i)}A.onMounted(()=>{var r;(r=e.value)==null||r.addEventListener("click",t)})}const Lne={key:0},One={name:"PlBtnGhost"},fH=A.defineComponent({...One,props:{loading:{type:Boolean},size:{default:void 0},round:{type:Boolean},icon:{default:void 0},reverse:{type:Boolean},justifyCenter:{type:Boolean,default:!0}},setup(e){const t=e,r=A.computed(()=>t.size==="small"),n=A.computed(()=>t.size==="large"),i=A.ref(),o=A.useSlots();return Hne(i),(s,l)=>(A.openBlock(),A.createElementBlock("button",A.mergeProps({ref_key:"btnRef",ref:i,tabindex:"0",class:["ui-btn-ghost",{loading:s.loading,small:r.value,large:n.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",Lne,[A.renderSlot(s.$slots,"default")])):A.createCommentVNode("",!0),l[0]||(l[0]=A.createTextVNode()),s.loading?(A.openBlock(),A.createBlock(S3,{key:1,name:"loading",size:s.size},null,8,["size"])):s.icon?(A.openBlock(),A.createBlock(S3,{key:2,name:s.icon,size:s.size},null,8,["name","size"])):A.createCommentVNode("",!0)],16))}});function pH(e,t){const r=yne(()=>{if(e.value){const{scrollTop:n,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:l,clientWidth:c}=document.documentElement,d=e.value.getBoundingClientRect();t({scrollTop:n,scrollLeft:i,scrollHeight:o,scrollWidth:s,clientHeight:l,clientWidth:c,offsetY:n+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(r),Ug(window,"scroll",r,!0),Ug(window,"resize",r,!0),Ug(window,"adjust",r,!0)}function Nne(e,t){const r=A.ref();return pH(e,n=>{r.value=n}),A.computed(()=>{const n=A.unref(r),i=A.unref(t),o=i.position??"top",s=i.gap??8;if(!n)return"";const l=n.offsetY+Math.floor(n.height/2),c=n.offsetX+Math.floor(n.width/2);return o==="top-left"?`left: ${n.offsetX}px; top: ${n.offsetY-s}px;`:o==="top"?`left: ${c}px; top: ${n.offsetY-s}px;`:o==="right"?`left: ${n.offsetX+n.width+s}px; top: ${l}px;`:o==="left"?`right: ${n.scrollWidth-n.x+s}px; top: ${l}px;`:""})}function AH(e,t){return t(e)}function KE(e,t){if(e!=null)return t(e)}function _ne(e){return Array.isArray(e)?e:[e]}function XE(e,t){Ug(document,"click",r=>{document.contains(r.target)&&(_ne(e).map(n=>n.value).filter(n=>!!n).some(n=>n==null?void 0:n.contains(r.target))||t())})}const Vne={},Gne={class:"beak",width:"5",height:"9",viewBox:"0 0 3 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $ne(e,t){return A.openBlock(),A.createElementBlock("svg",Gne,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 Qne=xR(Vne,[["render",$ne]]),BR=new Map,zne={name:"PlTooltip"},b3=A.defineComponent({...zne,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 r=t,n=Symbol(),i=e,o=A.reactive({open:!1,over:!1,tooltipOpen:!1,key:Symbol()});BR.set(n,()=>d()),A.watch(()=>o.open,E=>{requestAnimationFrame(()=>{o.tooltipOpen=E})});let s=()=>{};const l=Rne(()=>window.dispatchEvent(new CustomEvent("adjust")),1e3),c=()=>{o.open=!0;for(let[E,T]of BR.entries())E!==n&&T()},d=()=>{o.open=!1,r("tooltip:close")},f=async()=>{i.hide||(l(),o.over=!0,s(),await wne(100),o.over&&c())},p=()=>{o.over=!1,s=Sne(()=>{o.over||d()},i.closeDelay)};A.watch(()=>i.hide,E=>{E&&d()});const m=A.ref(),w=A.ref(),x=Nne(m,A.toRef(i));return XE([m,w],()=>d()),A.onUnmounted(()=>{BR.delete(n)}),(E,T)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(E.element),A.mergeProps(E.$attrs,{ref_key:"rootRef",ref:m,onClick:f,onMouseover:f,onMouseleave:p}),{default:A.withCtx(()=>[A.renderSlot(E.$slots,"default"),T[1]||(T[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(x))},[A.createElementVNode("div",{ref_key:"tooltip",ref:w,class:A.normalizeClass(["pl-tooltip",E.position]),onMouseover:f,onMouseleave:p},[A.createElementVNode("div",null,[A.renderSlot(E.$slots,"tooltip")]),T[0]||(T[0]=A.createTextVNode()),A.createVNode(Qne)],34)],4)):A.createCommentVNode("",!0)]),_:3})])):A.createCommentVNode("",!0)]),_:3},16))}}),Une={},Wne={class:"inner-border"};function jne(e,t,r,n,i,o){return A.openBlock(),A.createElementBlock("div",Wne,[A.renderSlot(e.$slots,"default")])}const Yne=xR(Une,[["render",jne]]),Kne={key:0},Xne=["tabindex","onKeydown","onClick"],Zne={key:1,class:"ui-btn-group__helper"},Jne={key:2,class:"ui-btn-group__error"},qne={name:"PlBtnGroup"},vh=A.defineComponent({...qne,props:{modelValue:{},label:{},options:{},disabled:{type:Boolean},helper:{},error:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=A.useSlots(),n=t,i=o=>n("update:modelValue",o);return(o,s)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["ui-btn-group",{disabled:o.disabled}])},[o.label?(A.openBlock(),A.createElementBlock("label",Kne,[A.createElementVNode("span",null,A.toDisplayString(o.label),1),s[0]||(s[0]=A.createTextVNode()),A.unref(r).tooltip?(A.openBlock(),A.createBlock(A.unref(b3),{key:0,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(o.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0),s[1]||(s[1]=A.createTextVNode()),A.createVNode(Yne,{class:"ui-btn-group__container"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.options,(l,c)=>(A.openBlock(),A.createElementBlock("div",{key:c,class:A.normalizeClass(["ui-btn-group__option",{active:o.modelValue===l.value}]),tabindex:o.modelValue===l.value||o.disabled?void 0:0,onKeydown:A.withKeys(d=>i(l.value),["enter"]),onClick:d=>i(l.value)},A.toDisplayString(l.text),43,Xne))),128))]),_:1}),s[2]||(s[2]=A.createTextVNode()),o.helper?(A.openBlock(),A.createElementBlock("div",Zne,A.toDisplayString(o.helper),1)):o.error?(A.openBlock(),A.createElementBlock("div",Jne,A.toDisplayString(o.error),1)):A.createCommentVNode("",!0)],2))}}),eie={inheritAttrs:!1},tie={class:"double-contour"};function rie(e,t,r,n,i,o){return A.openBlock(),A.createElementBlock("div",tie,[A.createElementVNode("div",A.normalizeProps(A.guardReactiveProps(e.$attrs)),[A.renderSlot(e.$slots,"default")],16)])}const gH=xR(eie,[["render",rie]]);function nie(e){A.onMounted(e),A.onUpdated(e)}const TR=new WeakMap,PR=new ResizeObserver(e=>{for(const t of e)KE(TR.get(t.target),r=>r(t))});function iie(e,t){TR.set(e,t),PR.unobserve(e),PR.observe(e)}function oie(e){PR.unobserve(e),TR.delete(e)}const sie=8,vH=4;function DR(e,t="label"){const r=new Set;nie(()=>{KE(e==null?void 0:e.value,n=>{const i=n.querySelector(t);i&&(r.add(i),iie(i,()=>{const o=Cne(()=>i.getBoundingClientRect().width+AH(sie,s=>Number.isNaN(s)?vH:s+vH));n.style.getPropertyValue("--label-offset-right-x")!==`${o}px`&&n.style.setProperty("--label-offset-right-x",`${o}px`)}))})}),A.onBeforeUnmount(()=>{Array.from(r.values()).map(n=>oie(n))})}function aie(e,t){const r=[];return t&&t.length>0&&t.forEach(n=>{const i=n(e);typeof i=="string"&&r.push(i)}),{isValid:r.length===0,errors:r}}function lie(e,t){return A.computed(()=>aie(e.value,t))}const uie={class:"ui-text-field__envelope"},cie={key:0,ref:"label"},die={key:0,class:"required-icon"},hie={key:1,class:"ui-text-field__prefix"},fie=["disabled","placeholder"],pie={class:"ui-text-field__append"},Aie={key:0,class:"ui-text-field__error"},gie={key:1,class:"ui-text-field__helper"},vie={name:"PlTextField"},OC=A.defineComponent({...vie,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 r=A.useSlots(),n=t,i=e,o=A.ref(void 0),s=A.ref(),l=A.computed({get(){return i.modelValue??""},set(x){n("update:modelValue",x)}}),c=()=>{i.clearable&&n("update:modelValue",i.clearable===!0?"":i.clearable())},d=lie(l,i.rules||[]),f=A.computed(()=>i.clearable?i.clearable===!0?i.modelValue==="":i.modelValue===i.clearable():i.modelValue===""),p=A.computed(()=>!f.value),m=A.computed(()=>{const x=[];return i.error&&x.push(i.error),d.value.isValid||x.push(...d.value.errors),x}),w=A.computed(()=>m.value.length>0);return DR(o),(x,E)=>(A.openBlock(),A.createElementBlock("div",uie,[A.createElementVNode("div",{ref_key:"rootRef",ref:o,class:A.normalizeClass(["ui-text-field",{error:w.value,disabled:x.disabled,dashed:x.dashed,nonEmpty:p.value}])},[x.label?(A.openBlock(),A.createElementBlock("label",cie,[x.required?(A.openBlock(),A.createElementBlock("i",die)):A.createCommentVNode("",!0),E[1]||(E[1]=A.createTextVNode()),A.createElementVNode("span",null,A.toDisplayString(x.label),1),E[2]||(E[2]=A.createTextVNode()),A.unref(r).tooltip?(A.openBlock(),A.createBlock(A.unref(b3),{key:1,class:"info",position:"top"},{tooltip:A.withCtx(()=>[A.renderSlot(x.$slots,"tooltip")]),_:3})):A.createCommentVNode("",!0)],512)):A.createCommentVNode("",!0),E[4]||(E[4]=A.createTextVNode()),x.prefix?(A.openBlock(),A.createElementBlock("div",hie,A.toDisplayString(x.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]=T=>l.value=T),disabled:x.disabled,placeholder:x.placeholder||"...",type:"text",spellcheck:"false"},null,8,fie),[[A.vModelText,l.value]]),E[6]||(E[6]=A.createTextVNode()),A.createElementVNode("div",pie,[x.clearable&&p.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon icon--clear",onClick:c})):A.createCommentVNode("",!0),E[3]||(E[3]=A.createTextVNode()),A.renderSlot(x.$slots,"append")]),E[7]||(E[7]=A.createTextVNode()),A.createVNode(gH,{class:"ui-text-field__contour"})],2),E[8]||(E[8]=A.createTextVNode()),w.value?(A.openBlock(),A.createElementBlock("div",Aie,A.toDisplayString(m.value.join(" ")),1)):x.helper?(A.openBlock(),A.createElementBlock("div",gie,A.toDisplayString(x.helper),1)):A.createCommentVNode("",!0)]))}});function mie(e,t){const r=e.scrollTop,n=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<n+r&&i>r}function Cie(e,t){const r=e.scrollTop,n=e.getBoundingClientRect().height,i=t.offsetTop,o=t.getBoundingClientRect().height;return i+o<n+r?"ceil":i>r?"floor":"visible"}function yie(e,t,r={}){const n=e.scrollTop,i=e.getBoundingClientRect().height,o=t.getBoundingClientRect().height,s=t.offsetTop,l=Cie(e,t);if(l==="visible")return;const c=d=>{const f=l==="floor"?s-(i-o):s;e.scrollTop=n+d*(f-n)};mie(e,t)||Ene({duration:r.duration||100,timing:bne(d=>d),draw:c})}function mH(e){return e!==null&&typeof e=="object"}function ZE(e,t){return mH(e)&&mH(t)?Object.keys(e).length!==Object.keys(t).length?!1:Object.keys(e).every(r=>ZE(e[r],t[r])):e===t}const wie=`<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
|
`,Sie=`<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.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/graph-maker.umd.cjs",
|
|
6
6
|
"module": "dist/graph-maker.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@milaboratories/helpers": "^1.6.5",
|
|
18
18
|
"@milaboratories/uikit": "^1.2.18",
|
|
19
19
|
"@milaboratories/miplots4": "^1.0.43",
|
|
20
|
-
"@milaboratories/pf-plots": "^1.0.
|
|
20
|
+
"@milaboratories/pf-plots": "^1.0.44",
|
|
21
21
|
"@platforma-sdk/model": "^1.5.40",
|
|
22
22
|
"@types/d3-hierarchy": "^3.1.7",
|
|
23
|
-
"ag-grid-vue3": "^32.
|
|
23
|
+
"ag-grid-vue3": "^32.2.2",
|
|
24
24
|
"d3-hierarchy": "^3.1.2",
|
|
25
25
|
"d3-scale": "^4.0.2",
|
|
26
26
|
"vue": "^3.5.11"
|