@arcgis/charts-components 5.1.3 → 5.1.4
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/cdn/{6PE747G2.js → 2KMZGANY.js} +1 -1
- package/dist/cdn/{MWFT5XT2.js → 2TFATOOA.js} +1 -1
- package/dist/cdn/{SSPQBR27.js → 33DVUHLW.js} +1 -1
- package/dist/cdn/{HVFQPGMN.js → 3KPPKAKV.js} +1 -1
- package/dist/cdn/{6LWK26JA.js → 3XQOOVQD.js} +1 -1
- package/dist/cdn/{D7MKFOZN.js → 4D6MJQGE.js} +1 -1
- package/dist/cdn/{NXC7YT6Y.js → 4TT2P5OY.js} +1 -1
- package/dist/cdn/{GPBRXXVW.js → 5DFOI7PP.js} +1 -1
- package/dist/cdn/{6SYRXDBU.js → 5FGV55H7.js} +1 -1
- package/dist/cdn/{AGUX5S6D.js → 5LJPDYNW.js} +1 -1
- package/dist/cdn/{SWVQ5R5T.js → 5NEOQ33I.js} +1 -1
- package/dist/cdn/{PAUMSI2Y.js → 5TMK4CEI.js} +1 -1
- package/dist/cdn/{QVDBUYN3.js → 5XDQYOWX.js} +1 -1
- package/dist/cdn/{CGFQNAHX.js → 6WUIHNJV.js} +1 -1
- package/dist/cdn/{HMYTEW5B.js → 6XGEGAU4.js} +1 -1
- package/dist/cdn/{XFDEOFVM.js → 72EIE6AJ.js} +1 -1
- package/dist/cdn/{YONHYC4U.js → 7U6BD7RE.js} +1 -1
- package/dist/cdn/{YWG3JNZV.js → ABV6UCMN.js} +1 -1
- package/dist/cdn/{POFKF33T.js → ASP76QRT.js} +1 -1
- package/dist/cdn/{3OI3AZ2X.js → B5HQ43EN.js} +1 -1
- package/dist/cdn/{BU67W3KJ.js → BIHDQSPP.js} +1 -1
- package/dist/cdn/{CXABUNU5.js → BO62D625.js} +1 -1
- package/dist/cdn/{A5OI4GRG.js → BODOPAEX.js} +1 -1
- package/dist/cdn/{3G6DJQ4I.js → BYMBCT2F.js} +1 -1
- package/dist/cdn/{L2WSLIMW.js → DBIVR3L2.js} +1 -1
- package/dist/cdn/{QJ4OVDBD.js → DNADQCK3.js} +1 -1
- package/dist/cdn/{S7OB4ILP.js → DWKUQWMM.js} +1 -1
- package/dist/cdn/{O5OI7ZFM.js → E6GB46ZD.js} +1 -1
- package/dist/cdn/{2I5SK53X.js → EG6IUTUM.js} +1 -1
- package/dist/cdn/{FPUV2RAW.js → EHGLI22W.js} +1 -1
- package/dist/cdn/{VVYGCHEV.js → FFA2RBY6.js} +1 -1
- package/dist/cdn/{ENCDG6FM.js → G37SKFUL.js} +1 -1
- package/dist/cdn/{GJAJ4U5M.js → G4INLVFS.js} +1 -1
- package/dist/cdn/{JWEXM2O6.js → GYLV7XO5.js} +1 -1
- package/dist/cdn/{XA4DLCWT.js → GZHDYNRE.js} +1 -1
- package/dist/cdn/{BKMDQJY6.js → HPQR3MBB.js} +1 -1
- package/dist/cdn/{UZW64U7F.js → HTIKYSUG.js} +1 -1
- package/dist/cdn/{DMONWSPY.js → HUUQ5D7I.js} +1 -1
- package/dist/cdn/{J2PKUF5F.js → J4JRQR6I.js} +1 -1
- package/dist/cdn/{H34IOPWZ.js → J5GJ5GMV.js} +1 -1
- package/dist/cdn/{VXSKPIG5.js → JQ625GCM.js} +1 -1
- package/dist/cdn/{ZMCI6OFQ.js → JW72VEXT.js} +1 -1
- package/dist/cdn/{EEUWGAPS.js → JYZJN3VW.js} +1 -1
- package/dist/cdn/{D2EH6ONT.js → L4UNCX3L.js} +1 -1
- package/dist/cdn/{X3FPNPJ3.js → MKTZLNQS.js} +1 -1
- package/dist/cdn/{6BXL3DWS.js → N2EQ4VQJ.js} +1 -1
- package/dist/cdn/{4T7HXRHF.js → N4F66JKS.js} +1 -1
- package/dist/cdn/{PDD74AKL.js → NAH7RHCB.js} +1 -1
- package/dist/cdn/{55HY3O3G.js → NBKUOIWE.js} +1 -1
- package/dist/cdn/{FWEWN4I2.js → NJH2AUUA.js} +1 -1
- package/dist/cdn/{62BJOWS5.js → NT7UYJVV.js} +1 -1
- package/dist/cdn/{2Y22PMRJ.js → NYHISIOD.js} +1 -1
- package/dist/cdn/{BHMPG4IV.js → OFCKFTDX.js} +1 -1
- package/dist/cdn/{T5JVQAZD.js → OIYGFIO4.js} +1 -1
- package/dist/cdn/{CQR77GPW.js → P7BXFL27.js} +1 -1
- package/dist/cdn/{3WD3F7XJ.js → PSKB6EW7.js} +1 -1
- package/dist/cdn/{KFY6SEZU.js → PYT35JFQ.js} +1 -1
- package/dist/cdn/{3EFZRLIC.js → PZNWCTHF.js} +1 -1
- package/dist/cdn/{PG6IHFMC.js → QWCA3FTZ.js} +1 -1
- package/dist/cdn/{7HGJIAXH.js → RAVTKVYZ.js} +1 -1
- package/dist/cdn/{7IYKY4HO.js → RBDGIDAU.js} +1 -1
- package/dist/cdn/{IO53Q5WD.js → RDZKQ3UB.js} +1 -1
- package/dist/cdn/{QU5AAXED.js → S6T5M6GS.js} +1 -1
- package/dist/cdn/{WF5TH5FA.js → SIFAYWHC.js} +1 -1
- package/dist/cdn/{AWFHVQ4C.js → SKIB625Y.js} +1 -1
- package/dist/cdn/{UHM22GXZ.js → SWYI6DEZ.js} +1 -1
- package/dist/cdn/{YULNJRDC.js → SZMGKYVB.js} +1 -1
- package/dist/cdn/{7MOCVCHZ.js → TFIXQT72.js} +1 -1
- package/dist/cdn/{COW63QH2.js → TLJ4H37R.js} +1 -1
- package/dist/cdn/{2VORKMJP.js → TW3SD7C7.js} +1 -1
- package/dist/cdn/{GMPDEHNU.js → U4JZDPSL.js} +2 -2
- package/dist/cdn/{5D5W37TE.js → UMEPK4WF.js} +1 -1
- package/dist/cdn/{PFFBGTMZ.js → UZ3QNDHV.js} +1 -1
- package/dist/cdn/{QI6SNQEH.js → VCYPJ7PB.js} +1 -1
- package/dist/cdn/{HV2WZZ2R.js → VEZL4O6Q.js} +1 -1
- package/dist/cdn/{K54AVNQV.js → VKI3EJVB.js} +1 -1
- package/dist/cdn/{5PFSNEUO.js → VLBGCHXS.js} +1 -1
- package/dist/cdn/{MURHBYGC.js → VMF3NPNR.js} +1 -1
- package/dist/cdn/{ZSDTIVLB.js → VNGGZBV3.js} +1 -1
- package/dist/cdn/{4J7NXFBO.js → VVI7T6DN.js} +1 -1
- package/dist/cdn/{FY3AFT4C.js → VZIW4UJA.js} +1 -1
- package/dist/cdn/{C3ELQOWG.js → W5BMIVSG.js} +1 -1
- package/dist/cdn/{T7POIQNM.js → WS34OEFD.js} +1 -1
- package/dist/cdn/{INTVGG6M.js → WSYF2WB3.js} +1 -1
- package/dist/cdn/{YFJD7WZK.js → WVKAKDT2.js} +1 -1
- package/dist/cdn/{KDNFHAVZ.js → X2TTMLTD.js} +1 -1
- package/dist/cdn/{37JRO33Y.js → Y5GWG5U5.js} +1 -1
- package/dist/cdn/{GVR7ARJY.js → YTYNOFR6.js} +1 -1
- package/dist/cdn/{FDTTRHRP.js → Z2RV6WZ3.js} +1 -1
- package/dist/cdn/{YRCCTEPG.js → ZBLIN4DV.js} +1 -1
- package/dist/cdn/{HAEAPXPK.js → ZG3MLOD3.js} +1 -1
- package/dist/cdn/{TSTVAPLA.js → ZLJEUWW4.js} +1 -1
- package/dist/cdn/{6G5SQMIG.js → ZO2YW5LI.js} +1 -1
- package/dist/cdn/{GAO6N5DQ.js → ZQBIFM6I.js} +1 -1
- package/dist/cdn/{AA7A24A4.js → ZQNOUNTB.js} +1 -1
- package/dist/cdn/{XSCGCWY2.js → ZZB2HIWS.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as sn}from"./QVD6LHQ2.js";import{b as zx}from"./2JUO3GP2.js";import o from"./SWVQ5R5T.js";import n from"./4J7NXFBO.js";import{c as $x,e as hp,f as Ox,g as Ex,h as Mx,i as Rx,j as yd}from"./PDWS67CW.js";import{a as RT,g as UT}from"./7BDNLABD.js";import m from"./VVYGCHEV.js";import{a as Hx}from"./O5OI7ZFM.js";import{a as bT}from"./MZ2UZAFW.js";import l from"./6G5SQMIG.js";import k from"./K54AVNQV.js";import j from"./BU67W3KJ.js";import i from"./HAEAPXPK.js";import h from"./55HY3O3G.js";import g from"./UHM22GXZ.js";import{a as Ro,b as kT,c as $T,d as OT,e as jx,k as Wx,q as ET}from"./7MKAC33Z.js";import f from"./IO53Q5WD.js";import e from"./L2WSLIMW.js";import"./NQAPPISU.js";import d from"./COW63QH2.js";import c from"./A5OI4GRG.js";import b from"./3OI3AZ2X.js";import{c as gd,d as Dx,e as op,o as fg,q as Lx,r as yT,s as mg,t as vT,u as lp}from"./KGNYAMFB.js";import a from"./S7OB4ILP.js";import{e as xs,g as io}from"./777EBGS5.js";import{D as JA,E as ep,a as Ut,b as Km,c as pt,d as ke,e as Tr,f as vr,g as Fl,h as cs,i as qA,j as $s,l as tx,n as Or,p as ix,r as zi,v as rx,w as sx,x as Er}from"./P5XJTTU3.js";import{F as ZA,I as Xm,J as Yb,K as zm,N as mF,P as Gm,Q as Kb,R as Zb,S as qb,T as gF,Y as yF,Z as vF,aa as Jb,ea as Ym,f as Eu,h as cd,i as Hm,j as Gb,k as dF,l as jm,o as an,p as Wm,q as xr,ra as bF,s as AF,v as pF,va as xF,w as fF,y as vh,ya as ex,z as Mu}from"./6JI4NDJ6.js";import{a as YA,b as us,c as KA,d as bs,e as Qm,f as Rt}from"./75Y43JLP.js";import{g as _r,h as ks,k as ku,l as rn}from"./FIMXZMTB.js";import{a as hF,b as Qb,c as Vm,g as Iu}from"./DMONWSPY.js";import{A as nF,B as Um,G as oF,H as lF,g as iF,h as rF,i as ud,l as sF,n as zs,y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sb:iT,sc:mT,ta:XF,tb:rT,u:Z,uc:pg,v:lx,va:ip,vb:sT,vc:gT,w:Vu,wa:no,x:Nu,xa:oo,y:hx,ya:fx,z:nn,za:rp,zb:ng},,{g:xT,i:_T},,,{a:Ix,b:wh},,,,,,{m:CT,n:wT,o:BT,p:ST,q:kx,r:FT,s:TT,t:PT},{q:Xx},{b:VT,c:NT,e:vd},{a:DT,b:LT,c:IT,d:Ux,g:Vx,h:Nx,i:Qx}])=>{var WT=Rm((VY,jT)=>{"use strict";function bU(a){var t=new a,e=t;function i(){var s=t;return s.next?t=s.next:(t=new a,e=t),s.next=null,s}function r(s){e.next=s,e=s}return{get:i,release:r}}jT.exports=bU});var zT=Rm((NY,Yx)=>{"use strict";var xU=WT();function XT(a,t,e){if(typeof a=="function"&&(e=t,t=a,a=null),e<1)throw new Error("fastqueue concurrency must be greater than 1");var i=xU(_U),r=null,s=null,n=0,o=null,l={push:f,drain:kn,saturated:kn,pause:u,paused:!1,concurrency:e,running:h,resume:A,idle:p,length:c,getQueue:d,unshift:m,empty:kn,kill:y,killAndDrain:x,error:w};return l;function h(){return n}function u(){l.paused=!0}function c(){for(var S=r,T=0;S;)S=S.next,T++;return T}function d(){for(var S=r,T=[];S;)T.push(S.value),S=S.next;return T}function A(){if(l.paused){l.paused=!1;for(var S=0;S<l.concurrency;S++)n++,g()}}function p(){return n===0&&l.length()===0}function f(S,T){var F=i.get();F.context=a,F.release=g,F.value=S,F.callback=T||kn,F.errorHandler=o,n===l.concurrency||l.paused?s?(s.next=F,s=F):(r=F,s=F,l.saturated()):(n++,t.call(a,F.value,F.worked))}function m(S,T){var F=i.get();F.context=a,F.release=g,F.value=S,F.callback=T||kn,n===l.concurrency||l.paused?r?(F.next=r,r=F):(r=F,s=F,l.saturated()):(n++,t.call(a,F.value,F.worked))}function g(S){S&&i.release(S);var T=r;T?l.paused?n--:(s===r&&(s=null),r=T.next,T.next=null,t.call(a,T.value,T.worked),s===null&&l.empty()):--n===0&&l.drain()}function y(){r=null,s=null,l.drain=kn}function x(){r=null,s=null,l.drain(),l.drain=kn}function w(S){o=S}}function kn(){}function _U(){this.value=null,this.callback=kn,this.next=null,this.release=kn,this.context=null,this.errorHandler=null;var a=this;this.worked=function(e,i){var r=a.callback,s=a.errorHandler,n=a.value;a.value=null,a.callback=kn,a.errorHandler&&s(e,n),r.call(a.context,e,i),a.release(a)}}function CU(a,t,e){typeof a=="function"&&(e=t,t=a,a=null);function i(u,c){t.call(this,u).then(function(d){c(null,d)},c)}var r=XT(a,i,e),s=r.push,n=r.unshift;return r.push=o,r.unshift=l,r.drained=h,r;function o(u){var c=new Promise(function(d,A){s(u,function(p,f){if(p){A(p);return}d(f)})});return c.catch(kn),c}function l(u){var c=new Promise(function(d,A){n(u,function(p,f){if(p){A(p);return}d(f)})});return c.catch(kn),c}function h(){var u=r.drain,c=new Promise(function(d){r.drain=function(){u(),d()}});return c}}Yx.exports=XT;Yx.exports.promise=CU});var GT=Rm((Kx,Zx)=>{(function(a,t){typeof Kx=="object"&&typeof Zx<"u"?Zx.exports=t():typeof define=="function"&&define.amd?define(t):(a=typeof globalThis<"u"?globalThis:a||self,a.html2canvas=t())})(Kx,(function(){"use strict";var a=function(b,v){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var D in _)Object.prototype.hasOwnProperty.call(_,D)&&(C[D]=_[D])},a(b,v)};function t(b,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");a(b,v);function C(){this.constructor=b}b.prototype=v===null?Object.create(v):(C.prototype=v.prototype,new C)}var e=function(){return e=Object.assign||function(v){for(var C,_=1,D=arguments.length;_<D;_++){C=arguments[_];for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&(v[O]=C[O])}return v},e.apply(this,arguments)};function i(b,v,C,_){function D(O){return O instanceof C?O:new C(function(H){H(O)})}return new(C||(C=Promise))(function(O,H){function W(ne){try{ae(_.next(ne))}catch(Ae){H(Ae)}}function j(ne){try{ae(_.throw(ne))}catch(Ae){H(Ae)}}function ae(ne){ne.done?O(ne.value):D(ne.value).then(W,j)}ae((_=_.apply(b,v||[])).next())})}function r(b,v){var C={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]},_,D,O,H;return H={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(H[Symbol.iterator]=function(){return this}),H;function W(ae){return function(ne){return j([ae,ne])}}function j(ae){if(_)throw new TypeError("Generator is already executing.");for(;C;)try{if(_=1,D&&(O=ae[0]&2?D.return:ae[0]?D.throw||((O=D.return)&&O.call(D),0):D.next)&&!(O=O.call(D,ae[1])).done)return O;switch(D=0,O&&(ae=[ae[0]&2,O.value]),ae[0]){case 0:case 1:O=ae;break;case 4:return C.label++,{value:ae[1],done:!1};case 5:C.label++,D=ae[1],ae=[0];continue;case 7:ae=C.ops.pop(),C.trys.pop();continue;default:if(O=C.trys,!(O=O.length>0&&O[O.length-1])&&(ae[0]===6||ae[0]===2)){C=0;continue}if(ae[0]===3&&(!O||ae[1]>O[0]&&ae[1]<O[3])){C.label=ae[1];break}if(ae[0]===6&&C.label<O[1]){C.label=O[1],O=ae;break}if(O&&C.label<O[2]){C.label=O[2],C.ops.push(ae);break}O[2]&&C.ops.pop(),C.trys.pop();continue}ae=v.call(b,C)}catch(ne){ae=[6,ne],D=0}finally{_=O=0}if(ae[0]&5)throw ae[1];return{value:ae[0]?ae[1]:void 0,done:!0}}}function s(b,v,C){if(C||arguments.length===2)for(var _=0,D=v.length,O;_<D;_++)(O||!(_ in v))&&(O||(O=Array.prototype.slice.call(v,0,_)),O[_]=v[_]);return b.concat(O||v)}for(var n=(function(){function b(v,C,_,D){this.left=v,this.top=C,this.width=_,this.height=D}return b.prototype.add=function(v,C,_,D){return new b(this.left+v,this.top+C,this.width+_,this.height+D)},b.fromClientRect=function(v,C){return new b(C.left+v.windowBounds.left,C.top+v.windowBounds.top,C.width,C.height)},b.fromDOMRectList=function(v,C){var _=Array.from(C).find(function(D){return D.width!==0});return _?new b(_.left+v.windowBounds.left,_.top+v.windowBounds.top,_.width,_.height):b.EMPTY},b.EMPTY=new b(0,0,0,0),b})(),o=function(b,v){return n.fromClientRect(b,v.getBoundingClientRect())},l=function(b){var v=b.body,C=b.documentElement;if(!v||!C)throw new Error("Unable to get document size");var _=Math.max(Math.max(v.scrollWidth,C.scrollWidth),Math.max(v.offsetWidth,C.offsetWidth),Math.max(v.clientWidth,C.clientWidth)),D=Math.max(Math.max(v.scrollHeight,C.scrollHeight),Math.max(v.offsetHeight,C.offsetHeight),Math.max(v.clientHeight,C.clientHeight));return new n(0,0,_,D)},h=function(b){for(var v=[],C=0,_=b.length;C<_;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<_){var O=b.charCodeAt(C++);(O&64512)===56320?v.push(((D&1023)<<10)+(O&1023)+65536):(v.push(D),C--)}else v.push(D)}return v},u=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];if(String.fromCodePoint)return String.fromCodePoint.apply(String,b);var C=b.length;if(!C)return"";for(var _=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?_.push(H):(H-=65536,_.push((H>>10)+55296,H%1024+56320)),(D+1===C||_.length>16384)&&(O+=String.fromCharCode.apply(String,_),_.length=0)}return O},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array>"u"?[]:new Uint8Array(256),A=0;A<c.length;A++)d[c.charCodeAt(A)]=A;for(var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=typeof Uint8Array>"u"?[]:new Uint8Array(256),m=0;m<p.length;m++)f[p.charCodeAt(m)]=m;for(var g=function(b){var v=b.length*.75,C=b.length,_,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var ae=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),ne=Array.isArray(ae)?ae:new Uint8Array(ae);for(_=0;_<C;_+=4)O=f[b.charCodeAt(_)],H=f[b.charCodeAt(_+1)],W=f[b.charCodeAt(_+2)],j=f[b.charCodeAt(_+3)],ne[D++]=O<<2|H>>4,ne[D++]=(H&15)<<4|W>>2,ne[D++]=(W&3)<<6|j&63;return ae},y=function(b){for(var v=b.length,C=[],_=0;_<v;_+=2)C.push(b[_+1]<<8|b[_]);return C},x=function(b){for(var v=b.length,C=[],_=0;_<v;_+=4)C.push(b[_+3]<<24|b[_+2]<<16|b[_+1]<<8|b[_]);return C},w=5,S=11,T=2,F=S-w,L=65536>>w,$=1<<w,I=$-1,U=1024>>w,P=L+U,Q=P,Y=32,G=Q+Y,ee=65536>>S,te=1<<F,le=te-1,z=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},K=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},we=function(b,v){var C=g(b),_=Array.isArray(C)?x(C):new Uint32Array(C),D=Array.isArray(C)?y(C):new Uint16Array(C),O=24,H=z(D,O/2,_[4]/2),W=_[5]===2?z(D,(O+_[4])/2):K(_,Math.ceil((O+_[4])/4));return new se(_[0],_[1],_[2],_[3],H,W)},se=(function(){function b(v,C,_,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=_,this.highValueIndex=D,this.index=O,this.data=H}return b.prototype.get=function(v){var C;if(v>=0){if(v<55296||v>56319&&v<=65535)return C=this.index[v>>w],C=(C<<T)+(v&I),this.data[C];if(v<=65535)return C=this.index[L+(v-55296>>w)],C=(C<<T)+(v&I),this.data[C];if(v<this.highStart)return C=G-ee+(v>>S),C=this.index[C],C+=v>>w&le,C=this.index[C],C=(C<<T)+(v&I),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv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QSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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CYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCB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UABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAF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AA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAF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AQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAF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AAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHg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sAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIA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HgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",qe=50,Tt=1,At=2,_i=3,Bi=4,R=5,Be=7,ye=8,q=9,X=10,oe=11,De=12,Le=13,pe=14,Oe=15,Je=16,Me=17,_t=18,Yi=19,di=20,ys=21,Si=22,Zr=23,yr=24,Fi=25,Po=26,vl=27,aa=28,Jf=29,bl=30,eb=31,qc=32,wu=33,xl=34,lh=35,tb=36,LA=37,ib=38,em=39,tm=40,rb=41,dB=42,_$=43,C$=[9001,65288],AB="!",Ci="\xD7",im="\xF7",sb=we(We),_l=[bl,tb],ab=[Tt,At,_i,R],pB=[X,ye],fB=[vl,Po],w$=ab.concat(pB),mB=[ib,em,tm,xl,lh],B$=[Oe,Le],S$=function(b,v){v===void 0&&(v="strict");var C=[],_=[],D=[];return b.forEach(function(O,H){var W=sb.get(O);if(W>qe?(D.push(!0),W-=qe):D.push(!1),["normal","auto","loose"].indexOf(v)!==-1&&[8208,8211,12316,12448].indexOf(O)!==-1)return _.push(H),C.push(Je);if(W===Bi||W===oe){if(H===0)return _.push(H),C.push(bl);var j=C[H-1];return w$.indexOf(j)===-1?(_.push(_[H-1]),C.push(j)):(_.push(H),C.push(bl))}if(_.push(H),W===eb)return C.push(v==="strict"?ys:LA);if(W===dB||W===Jf)return C.push(bl);if(W===_$)return O>=131072&&O<=196605||O>=196608&&O<=262141?C.push(LA):C.push(bl);C.push(W)}),[_,C,D]},nb=function(b,v,C,_){var D=_[C];if(Array.isArray(b)?b.indexOf(D)!==-1:b===D)for(var O=C;O<=_.length;){O++;var H=_[O];if(H===v)return!0;if(H!==X)break}if(D===X)for(var O=C;O>0;){O--;var W=_[O];if(Array.isArray(b)?b.indexOf(W)!==-1:b===W)for(var j=C;j<=_.length;){j++;var H=_[j];if(H===v)return!0;if(H!==X)break}if(W!==X)break}return!1},gB=function(b,v){for(var C=b;C>=0;){var _=v[C];if(_===X)C--;else return _}return 0},F$=function(b,v,C,_,D){if(C[_]===0)return Ci;var O=_-1;if(Array.isArray(D)&&D[O]===!0)return Ci;var H=O-1,W=O+1,j=v[O],ae=H>=0?v[H]:0,ne=v[W];if(j===At&&ne===_i)return Ci;if(ab.indexOf(j)!==-1)return AB;if(ab.indexOf(ne)!==-1||pB.indexOf(ne)!==-1)return Ci;if(gB(O,v)===ye)return im;if(sb.get(b[O])===oe||(j===qc||j===wu)&&sb.get(b[W])===oe||j===Be||ne===Be||j===q||[X,Le,Oe].indexOf(j)===-1&&ne===q||[Me,_t,Yi,yr,aa].indexOf(ne)!==-1||gB(O,v)===Si||nb(Zr,Si,O,v)||nb([Me,_t],ys,O,v)||nb(De,De,O,v))return Ci;if(j===X)return im;if(j===Zr||ne===Zr)return Ci;if(ne===Je||j===Je)return im;if([Le,Oe,ys].indexOf(ne)!==-1||j===pe||ae===tb&&B$.indexOf(j)!==-1||j===aa&&ne===tb||ne===di||_l.indexOf(ne)!==-1&&j===Fi||_l.indexOf(j)!==-1&&ne===Fi||j===vl&&[LA,qc,wu].indexOf(ne)!==-1||[LA,qc,wu].indexOf(j)!==-1&&ne===Po||_l.indexOf(j)!==-1&&fB.indexOf(ne)!==-1||fB.indexOf(j)!==-1&&_l.indexOf(ne)!==-1||[vl,Po].indexOf(j)!==-1&&(ne===Fi||[Si,Oe].indexOf(ne)!==-1&&v[W+1]===Fi)||[Si,Oe].indexOf(j)!==-1&&ne===Fi||j===Fi&&[Fi,aa,yr].indexOf(ne)!==-1)return Ci;if([Fi,aa,yr,Me,_t].indexOf(ne)!==-1)for(var Ae=O;Ae>=0;){var _e=v[Ae];if(_e===Fi)return Ci;if([aa,yr].indexOf(_e)!==-1)Ae--;else break}if([vl,Po].indexOf(ne)!==-1)for(var Ae=[Me,_t].indexOf(j)!==-1?H:O;Ae>=0;){var _e=v[Ae];if(_e===Fi)return Ci;if([aa,yr].indexOf(_e)!==-1)Ae--;else break}if(ib===j&&[ib,em,xl,lh].indexOf(ne)!==-1||[em,xl].indexOf(j)!==-1&&[em,tm].indexOf(ne)!==-1||[tm,lh].indexOf(j)!==-1&&ne===tm||mB.indexOf(j)!==-1&&[di,Po].indexOf(ne)!==-1||mB.indexOf(ne)!==-1&&j===vl||_l.indexOf(j)!==-1&&_l.indexOf(ne)!==-1||j===yr&&_l.indexOf(ne)!==-1||_l.concat(Fi).indexOf(j)!==-1&&ne===Si&&C$.indexOf(b[W])===-1||_l.concat(Fi).indexOf(ne)!==-1&&j===_t)return Ci;if(j===rb&&ne===rb){for(var lt=C[O],Ue=1;lt>0&&(lt--,v[lt]===rb);)Ue++;if(Ue%2!==0)return Ci}return j===qc&&ne===wu?Ci:im},T$=function(b,v){v||(v={lineBreak:"normal",wordBreak:"normal"});var C=S$(b,v.lineBreak),_=C[0],D=C[1],O=C[2];(v.wordBreak==="break-all"||v.wordBreak==="break-word")&&(D=D.map(function(W){return[Fi,bl,dB].indexOf(W)!==-1?LA:W}));var H=v.wordBreak==="keep-all"?O.map(function(W,j){return W&&b[j]>=19968&&b[j]<=40959}):void 0;return[_,D,H]},P$=(function(){function b(v,C,_,D){this.codePoints=v,this.required=C===AB,this.start=_,this.end=D}return b.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},b})(),D$=function(b,v){var C=h(b),_=T$(C,v),D=_[0],O=_[1],H=_[2],W=C.length,j=0,ae=0;return{next:function(){if(ae>=W)return{done:!0,value:null};for(var ne=Ci;ae<W&&(ne=F$(C,O,D,++ae,H))===Ci;);if(ne!==Ci||ae===W){var Ae=new P$(C,ne,j,ae);return j=ae,{value:Ae,done:!1}}return{done:!0,value:null}}}},L$=1,I$=2,IA=4,yB=8,rm=10,vB=47,kA=92,k$=9,$$=32,sm=34,$A=61,O$=35,E$=36,M$=37,am=39,nm=40,OA=41,R$=95,$a=45,U$=33,V$=60,N$=62,Q$=64,H$=91,j$=93,W$=61,X$=123,om=63,z$=125,bB=124,G$=126,Y$=128,xB=65533,ob=42,Bu=43,K$=44,Z$=58,q$=59,EA=46,J$=0,eO=8,tO=11,iO=14,rO=31,sO=127,Do=-1,_B=48,CB=97,wB=101,aO=102,nO=117,oO=122,BB=65,SB=69,FB=70,lO=85,hO=90,na=function(b){return b>=_B&&b<=57},uO=function(b){return b>=55296&&b<=57343},Jc=function(b){return na(b)||b>=BB&&b<=FB||b>=CB&&b<=aO},cO=function(b){return b>=CB&&b<=oO},dO=function(b){return b>=BB&&b<=hO},AO=function(b){return cO(b)||dO(b)},pO=function(b){return b>=Y$},lm=function(b){return b===rm||b===k$||b===$$},hm=function(b){return AO(b)||pO(b)||b===R$},TB=function(b){return hm(b)||na(b)||b===$a},fO=function(b){return b>=J$&&b<=eO||b===tO||b>=iO&&b<=rO||b===sO},hh=function(b,v){return b!==kA?!1:v!==rm},um=function(b,v,C){return b===$a?hm(v)||hh(v,C):hm(b)?!0:!!(b===kA&&hh(b,v))},lb=function(b,v,C){return b===Bu||b===$a?na(v)?!0:v===EA&&na(C):na(b===EA?v:b)},mO=function(b){var v=0,C=1;(b[v]===Bu||b[v]===$a)&&(b[v]===$a&&(C=-1),v++);for(var _=[];na(b[v]);)_.push(b[v++]);var D=_.length?parseInt(u.apply(void 0,_),10):0;b[v]===EA&&v++;for(var O=[];na(b[v]);)O.push(b[v++]);var H=O.length,W=H?parseInt(u.apply(void 0,O),10):0;(b[v]===SB||b[v]===wB)&&v++;var j=1;(b[v]===Bu||b[v]===$a)&&(b[v]===$a&&(j=-1),v++);for(var ae=[];na(b[v]);)ae.push(b[v++]);var ne=ae.length?parseInt(u.apply(void 0,ae),10):0;return C*(D+W*Math.pow(10,-H))*Math.pow(10,j*ne)},gO={type:2},yO={type:3},vO={type:4},bO={type:13},xO={type:8},_O={type:21},CO={type:9},wO={type:10},BO={type:11},SO={type:12},FO={type:14},cm={type:23},TO={type:1},PO={type:25},DO={type:24},LO={type:26},IO={type:27},kO={type:28},$O={type:29},OO={type:31},hb={type:32},PB=(function(){function b(){this._value=[]}return b.prototype.write=function(v){this._value=this._value.concat(h(v))},b.prototype.read=function(){for(var v=[],C=this.consumeToken();C!==hb;)v.push(C),C=this.consumeToken();return v},b.prototype.consumeToken=function(){var v=this.consumeCodePoint();switch(v){case sm:return this.consumeStringToken(sm);case O$:var C=this.peekCodePoint(0),_=this.peekCodePoint(1),D=this.peekCodePoint(2);if(TB(C)||hh(_,D)){var O=um(C,_,D)?I$:L$,H=this.consumeName();return{type:5,value:H,flags:O}}break;case E$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),bO;break;case am:return this.consumeStringToken(am);case nm:return gO;case OA:return yO;case ob:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),FO;break;case Bu:if(lb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case K$:return vO;case $a:var W=v,j=this.peekCodePoint(0),ae=this.peekCodePoint(1);if(lb(W,j,ae))return this.reconsumeCodePoint(v),this.consumeNumericToken();if(um(W,j,ae))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();if(j===$a&&ae===N$)return this.consumeCodePoint(),this.consumeCodePoint(),DO;break;case EA:if(lb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case vB:if(this.peekCodePoint(0)===ob)for(this.consumeCodePoint();;){var ne=this.consumeCodePoint();if(ne===ob&&(ne=this.consumeCodePoint(),ne===vB))return this.consumeToken();if(ne===Do)return this.consumeToken()}break;case Z$:return LO;case q$:return IO;case V$:if(this.peekCodePoint(0)===U$&&this.peekCodePoint(1)===$a&&this.peekCodePoint(2)===$a)return this.consumeCodePoint(),this.consumeCodePoint(),PO;break;case Q$:var Ae=this.peekCodePoint(0),_e=this.peekCodePoint(1),lt=this.peekCodePoint(2);if(um(Ae,_e,lt)){var H=this.consumeName();return{type:7,value:H}}break;case H$:return kO;case kA:if(hh(v,this.peekCodePoint(0)))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();break;case j$:return $O;case W$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),xO;break;case X$:return BO;case z$:return SO;case nO:case lO:var Ue=this.peekCodePoint(0),Ze=this.peekCodePoint(1);return Ue===Bu&&(Jc(Ze)||Ze===om)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(v),this.consumeIdentLikeToken();case bB:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),CO;if(this.peekCodePoint(0)===bB)return this.consumeCodePoint(),_O;break;case G$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),wO;break;case Do:return hb}return lm(v)?(this.consumeWhiteSpace(),OO):na(v)?(this.reconsumeCodePoint(v),this.consumeNumericToken()):hm(v)?(this.reconsumeCodePoint(v),this.consumeIdentLikeToken()):{type:6,value:u(v)}},b.prototype.consumeCodePoint=function(){var v=this._value.shift();return typeof v>"u"?-1:v},b.prototype.reconsumeCodePoint=function(v){this._value.unshift(v)},b.prototype.peekCodePoint=function(v){return v>=this._value.length?-1:this._value[v]},b.prototype.consumeUnicodeRangeToken=function(){for(var v=[],C=this.consumeCodePoint();Jc(C)&&v.length<6;)v.push(C),C=this.consumeCodePoint();for(var _=!1;C===om&&v.length<6;)v.push(C),C=this.consumeCodePoint(),_=!0;if(_){var D=parseInt(u.apply(void 0,v.map(function(j){return j===om?_B:j})),16),O=parseInt(u.apply(void 0,v.map(function(j){return j===om?FB:j})),16);return{type:30,start:D,end:O}}var H=parseInt(u.apply(void 0,v),16);if(this.peekCodePoint(0)===$a&&Jc(this.peekCodePoint(1))){this.consumeCodePoint(),C=this.consumeCodePoint();for(var W=[];Jc(C)&&W.length<6;)W.push(C),C=this.consumeCodePoint();var O=parseInt(u.apply(void 0,W),16);return{type:30,start:H,end:O}}else return{type:30,start:H,end:H}},b.prototype.consumeIdentLikeToken=function(){var v=this.consumeName();return v.toLowerCase()==="url"&&this.peekCodePoint(0)===nm?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===nm?(this.consumeCodePoint(),{type:19,value:v}):{type:20,value:v}},b.prototype.consumeUrlToken=function(){var v=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Do)return{type:22,value:""};var C=this.peekCodePoint(0);if(C===am||C===sm){var _=this.consumeStringToken(this.consumeCodePoint());return _.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Do||this.peekCodePoint(0)===OA)?(this.consumeCodePoint(),{type:22,value:_.value}):(this.consumeBadUrlRemnants(),cm)}for(;;){var D=this.consumeCodePoint();if(D===Do||D===OA)return{type:22,value:u.apply(void 0,v)};if(lm(D))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Do||this.peekCodePoint(0)===OA?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,v)}):(this.consumeBadUrlRemnants(),cm);if(D===sm||D===am||D===nm||fO(D))return this.consumeBadUrlRemnants(),cm;if(D===kA)if(hh(D,this.peekCodePoint(0)))v.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),cm;else v.push(D)}},b.prototype.consumeWhiteSpace=function(){for(;lm(this.peekCodePoint(0));)this.consumeCodePoint()},b.prototype.consumeBadUrlRemnants=function(){for(;;){var v=this.consumeCodePoint();if(v===OA||v===Do)return;hh(v,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},b.prototype.consumeStringSlice=function(v){for(var C=5e4,_="";v>0;){var D=Math.min(C,v);_+=u.apply(void 0,this._value.splice(0,D)),v-=D}return this._value.shift(),_},b.prototype.consumeStringToken=function(v){var C="",_=0;do{var D=this._value[_];if(D===Do||D===void 0||D===v)return C+=this.consumeStringSlice(_),{type:0,value:C};if(D===rm)return this._value.splice(0,_),TO;if(D===kA){var O=this._value[_+1];O!==Do&&O!==void 0&&(O===rm?(C+=this.consumeStringSlice(_),_=-1,this._value.shift()):hh(D,O)&&(C+=this.consumeStringSlice(_),C+=u(this.consumeEscapedCodePoint()),_=-1))}_++}while(!0)},b.prototype.consumeNumber=function(){var v=[],C=IA,_=this.peekCodePoint(0);for((_===Bu||_===$a)&&v.push(this.consumeCodePoint());na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());_=this.peekCodePoint(0);var D=this.peekCodePoint(1);if(_===EA&&na(D))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=yB;na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());_=this.peekCodePoint(0),D=this.peekCodePoint(1);var O=this.peekCodePoint(2);if((_===SB||_===wB)&&((D===Bu||D===$a)&&na(O)||na(D)))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=yB;na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());return[mO(v),C]},b.prototype.consumeNumericToken=function(){var v=this.consumeNumber(),C=v[0],_=v[1],D=this.peekCodePoint(0),O=this.peekCodePoint(1),H=this.peekCodePoint(2);if(um(D,O,H)){var W=this.consumeName();return{type:15,number:C,flags:_,unit:W}}return D===M$?(this.consumeCodePoint(),{type:16,number:C,flags:_}):{type:17,number:C,flags:_}},b.prototype.consumeEscapedCodePoint=function(){var v=this.consumeCodePoint();if(Jc(v)){for(var C=u(v);Jc(this.peekCodePoint(0))&&C.length<6;)C+=u(this.consumeCodePoint());lm(this.peekCodePoint(0))&&this.consumeCodePoint();var _=parseInt(C,16);return _===0||uO(_)||_>1114111?xB:_}return v===Do?xB:v},b.prototype.consumeName=function(){for(var v="";;){var C=this.consumeCodePoint();if(TB(C))v+=u(C);else if(hh(C,this.peekCodePoint(0)))v+=u(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(C),v}},b})(),DB=(function(){function b(v){this._tokens=v}return b.create=function(v){var C=new PB;return C.write(v),new b(C.read())},b.parseValue=function(v){return b.create(v).parseComponentValue()},b.parseValues=function(v){return b.create(v).parseComponentValues()},b.prototype.parseComponentValue=function(){for(var v=this.consumeToken();v.type===31;)v=this.consumeToken();if(v.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(v);var C=this.consumeComponentValue();do v=this.consumeToken();while(v.type===31);if(v.type===32)return C;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},b.prototype.parseComponentValues=function(){for(var v=[];;){var C=this.consumeComponentValue();if(C.type===32)return v;v.push(C),v.push()}},b.prototype.consumeComponentValue=function(){var v=this.consumeToken();switch(v.type){case 11:case 28:case 2:return this.consumeSimpleBlock(v.type);case 19:return this.consumeFunction(v)}return v},b.prototype.consumeSimpleBlock=function(v){for(var C={type:v,values:[]},_=this.consumeToken();;){if(_.type===32||MO(_,v))return C;this.reconsumeToken(_),C.values.push(this.consumeComponentValue()),_=this.consumeToken()}},b.prototype.consumeFunction=function(v){for(var C={name:v.value,values:[],type:18};;){var _=this.consumeToken();if(_.type===32||_.type===3)return C;this.reconsumeToken(_),C.values.push(this.consumeComponentValue())}},b.prototype.consumeToken=function(){var v=this._tokens.shift();return typeof v>"u"?hb:v},b.prototype.reconsumeToken=function(v){this._tokens.unshift(v)},b})(),MA=function(b){return b.type===15},ed=function(b){return b.type===17},hr=function(b){return b.type===20},EO=function(b){return b.type===0},ub=function(b,v){return hr(b)&&b.value===v},LB=function(b){return b.type!==31},td=function(b){return b.type!==31&&b.type!==4},Lo=function(b){var v=[],C=[];return b.forEach(function(_){if(_.type===4){if(C.length===0)throw new Error("Error parsing function args, zero tokens for arg");v.push(C),C=[];return}_.type!==31&&C.push(_)}),C.length&&v.push(C),v},MO=function(b,v){return v===11&&b.type===12||v===28&&b.type===29?!0:v===2&&b.type===3},uh=function(b){return b.type===17||b.type===15},ls=function(b){return b.type===16||uh(b)},IB=function(b){return b.length>1?[b[0],b[1]]:[b[0]]},js={type:17,number:0,flags:IA},cb={type:16,number:50,flags:IA},ch={type:16,number:100,flags:IA},RA=function(b,v,C){var _=b[0],D=b[1];return[br(_,v),br(typeof D<"u"?D:_,C)]},br=function(b,v){if(b.type===16)return b.number/100*v;if(MA(b))switch(b.unit){case"rem":case"em":return 16*b.number;default:return b.number}return b.number},kB="deg",$B="grad",OB="rad",EB="turn",dm={name:"angle",parse:function(b,v){if(v.type===15)switch(v.unit){case kB:return Math.PI*v.number/180;case $B:return Math.PI/200*v.number;case OB:return v.number;case EB:return Math.PI*2*v.number}throw new Error("Unsupported angle type")}},MB=function(b){return b.type===15&&(b.unit===kB||b.unit===$B||b.unit===OB||b.unit===EB)},RB=function(b){var v=b.filter(hr).map(function(C){return C.value}).join(" ");switch(v){case"to bottom right":case"to right bottom":case"left top":case"top left":return[js,js];case"to top":case"bottom":return Bn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[js,ch];case"to right":case"left":return Bn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ch,ch];case"to bottom":case"top":return Bn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ch,js];case"to left":case"right":return Bn(270)}return 0},Bn=function(b){return Math.PI*b/180},dh={name:"color",parse:function(b,v){if(v.type===18){var C=RO[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported color function "'+v.name+'"');return C(b,v.values)}if(v.type===5){if(v.value.length===3){var _=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3);return ph(parseInt(_+_,16),parseInt(D+D,16),parseInt(O+O,16),1)}if(v.value.length===4){var _=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3),H=v.value.substring(3,4);return ph(parseInt(_+_,16),parseInt(D+D,16),parseInt(O+O,16),parseInt(H+H,16)/255)}if(v.value.length===6){var _=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6);return ph(parseInt(_,16),parseInt(D,16),parseInt(O,16),1)}if(v.value.length===8){var _=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6),H=v.value.substring(6,8);return ph(parseInt(_,16),parseInt(D,16),parseInt(O,16),parseInt(H,16)/255)}}if(v.type===20){var W=Cl[v.value.toUpperCase()];if(typeof W<"u")return W}return Cl.TRANSPARENT}},Ah=function(b){return(255&b)===0},Is=function(b){var v=255&b,C=255&b>>8,_=255&b>>16,D=255&b>>24;return v<255?"rgba("+D+","+_+","+C+","+v/255+")":"rgb("+D+","+_+","+C+")"},ph=function(b,v,C,_){return(b<<24|v<<16|C<<8|Math.round(_*255)<<0)>>>0},UB=function(b,v){if(b.type===17)return b.number;if(b.type===16){var C=v===3?1:255;return v===3?b.number/100*C:Math.round(b.number/100*C)}return 0},VB=function(b,v){var C=v.filter(td);if(C.length===3){var _=C.map(UB),D=_[0],O=_[1],H=_[2];return ph(D,O,H,1)}if(C.length===4){var W=C.map(UB),D=W[0],O=W[1],H=W[2],j=W[3];return ph(D,O,H,j)}return 0};function db(b,v,C){return C<0&&(C+=1),C>=1&&(C-=1),C<1/6?(v-b)*C*6+b:C<1/2?v:C<2/3?(v-b)*6*(2/3-C)+b:b}var NB=function(b,v){var C=v.filter(td),_=C[0],D=C[1],O=C[2],H=C[3],W=(_.type===17?Bn(_.number):dm.parse(b,_))/(Math.PI*2),j=ls(D)?D.number/100:0,ae=ls(O)?O.number/100:0,ne=typeof H<"u"&&ls(H)?br(H,1):1;if(j===0)return ph(ae*255,ae*255,ae*255,1);var Ae=ae<=.5?ae*(j+1):ae+j-ae*j,_e=ae*2-Ae,lt=db(_e,Ae,W+1/3),Ue=db(_e,Ae,W),Ze=db(_e,Ae,W-1/3);return ph(lt*255,Ue*255,Ze*255,ne)},RO={hsl:NB,hsla:NB,rgb:VB,rgba:VB},UA=function(b,v){return dh.parse(b,DB.create(v).parseComponentValue())},Cl={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},UO={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(hr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},VO={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Am=function(b,v){var C=dh.parse(b,v[0]),_=v[1];return _&&ls(_)?{color:C,stop:_}:{color:C,stop:null}},QB=function(b,v){var C=b[0],_=b[b.length-1];C.stop===null&&(C.stop=js),_.stop===null&&(_.stop=ch);for(var D=[],O=0,H=0;H<b.length;H++){var W=b[H].stop;if(W!==null){var j=br(W,v);j>O?D.push(j):D.push(O),O=j}else D.push(null)}for(var ae=null,H=0;H<D.length;H++){var ne=D[H];if(ne===null)ae===null&&(ae=H);else if(ae!==null){for(var Ae=H-ae,_e=D[ae-1],lt=(ne-_e)/(Ae+1),Ue=1;Ue<=Ae;Ue++)D[ae+Ue-1]=lt*Ue;ae=null}}return b.map(function(Ze,ii){var bt=Ze.color;return{color:bt,stop:Math.max(Math.min(1,D[ii]/v),0)}})},NO=function(b,v,C){var _=v/2,D=C/2,O=br(b[0],v)-_,H=D-br(b[1],C);return(Math.atan2(H,O)+Math.PI*2)%(Math.PI*2)},QO=function(b,v,C){var _=typeof b=="number"?b:NO(b,v,C),D=Math.abs(v*Math.sin(_))+Math.abs(C*Math.cos(_)),O=v/2,H=C/2,W=D/2,j=Math.sin(_-Math.PI/2)*W,ae=Math.cos(_-Math.PI/2)*W;return[D,O-ae,O+ae,H-j,H+j]},to=function(b,v){return Math.sqrt(b*b+v*v)},HB=function(b,v,C,_,D){var O=[[0,0],[0,v],[b,0],[b,v]];return O.reduce(function(H,W){var j=W[0],ae=W[1],ne=to(C-j,_-ae);return(D?ne<H.optimumDistance:ne>H.optimumDistance)?{optimumCorner:W,optimumDistance:ne}:H},{optimumDistance:D?1/0:-1/0,optimumCorner:null}).optimumCorner},HO=function(b,v,C,_,D){var O=0,H=0;switch(b.size){case 0:b.shape===0?O=H=Math.min(Math.abs(v),Math.abs(v-_),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.min(Math.abs(v),Math.abs(v-_)),H=Math.min(Math.abs(C),Math.abs(C-D)));break;case 2:if(b.shape===0)O=H=Math.min(to(v,C),to(v,C-D),to(v-_,C),to(v-_,C-D));else if(b.shape===1){var W=Math.min(Math.abs(C),Math.abs(C-D))/Math.min(Math.abs(v),Math.abs(v-_)),j=HB(_,D,v,C,!0),ae=j[0],ne=j[1];O=to(ae-v,(ne-C)/W),H=W*O}break;case 1:b.shape===0?O=H=Math.max(Math.abs(v),Math.abs(v-_),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.max(Math.abs(v),Math.abs(v-_)),H=Math.max(Math.abs(C),Math.abs(C-D)));break;case 3:if(b.shape===0)O=H=Math.max(to(v,C),to(v,C-D),to(v-_,C),to(v-_,C-D));else if(b.shape===1){var W=Math.max(Math.abs(C),Math.abs(C-D))/Math.max(Math.abs(v),Math.abs(v-_)),Ae=HB(_,D,v,C,!1),ae=Ae[0],ne=Ae[1];O=to(ae-v,(ne-C)/W),H=W*O}break}return Array.isArray(b.size)&&(O=br(b.size[0],_),H=b.size.length===2?br(b.size[1],D):O),[O,H]},jO=function(b,v){var C=Bn(180),_=[];return Lo(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&H.value==="to"){C=RB(D);return}else if(MB(H)){C=dm.parse(b,H);return}}var W=Am(b,D);_.push(W)}),{angle:C,stops:_,type:1}},pm=function(b,v){var C=Bn(180),_=[];return Lo(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&["top","left","right","bottom"].indexOf(H.value)!==-1){C=RB(D);return}else if(MB(H)){C=(dm.parse(b,H)+Bn(270))%Bn(360);return}}var W=Am(b,D);_.push(W)}),{angle:C,stops:_,type:1}},WO=function(b,v){var C=Bn(180),_=[],D=1,O=0,H=3,W=[];return Lo(v).forEach(function(j,ae){var ne=j[0];if(ae===0){if(hr(ne)&&ne.value==="linear"){D=1;return}else if(hr(ne)&&ne.value==="radial"){D=2;return}}if(ne.type===18){if(ne.name==="from"){var Ae=dh.parse(b,ne.values[0]);_.push({stop:js,color:Ae})}else if(ne.name==="to"){var Ae=dh.parse(b,ne.values[0]);_.push({stop:ch,color:Ae})}else if(ne.name==="color-stop"){var _e=ne.values.filter(td);if(_e.length===2){var Ae=dh.parse(b,_e[1]),lt=_e[0];ed(lt)&&_.push({stop:{type:16,number:lt.number*100,flags:lt.flags},color:Ae})}}}}),D===1?{angle:(C+Bn(180))%Bn(360),stops:_,type:D}:{size:H,shape:O,stops:_,position:W,type:D}},jB="closest-side",WB="farthest-side",XB="closest-corner",zB="farthest-corner",GB="circle",YB="ellipse",KB="cover",ZB="contain",XO=function(b,v){var C=0,_=3,D=[],O=[];return Lo(v).forEach(function(H,W){var j=!0;if(W===0){var ae=!1;j=H.reduce(function(Ae,_e){if(ae)if(hr(_e))switch(_e.value){case"center":return O.push(cb),Ae;case"top":case"left":return O.push(js),Ae;case"right":case"bottom":return O.push(ch),Ae}else(ls(_e)||uh(_e))&&O.push(_e);else if(hr(_e))switch(_e.value){case GB:return C=0,!1;case YB:return C=1,!1;case"at":return ae=!0,!1;case jB:return _=0,!1;case KB:case WB:return _=1,!1;case ZB:case XB:return _=2,!1;case zB:return _=3,!1}else if(uh(_e)||ls(_e))return Array.isArray(_)||(_=[]),_.push(_e),!1;return Ae},j)}if(j){var ne=Am(b,H);D.push(ne)}}),{size:_,shape:C,stops:D,position:O,type:2}},fm=function(b,v){var C=0,_=3,D=[],O=[];return Lo(v).forEach(function(H,W){var j=!0;if(W===0?j=H.reduce(function(ne,Ae){if(hr(Ae))switch(Ae.value){case"center":return O.push(cb),!1;case"top":case"left":return O.push(js),!1;case"right":case"bottom":return O.push(ch),!1}else if(ls(Ae)||uh(Ae))return O.push(Ae),!1;return ne},j):W===1&&(j=H.reduce(function(ne,Ae){if(hr(Ae))switch(Ae.value){case GB:return C=0,!1;case YB:return C=1,!1;case ZB:case jB:return _=0,!1;case WB:return _=1,!1;case XB:return _=2,!1;case KB:case zB:return _=3,!1}else if(uh(Ae)||ls(Ae))return Array.isArray(_)||(_=[]),_.push(Ae),!1;return ne},j)),j){var ae=Am(b,H);D.push(ae)}}),{size:_,shape:C,stops:D,position:O,type:2}},zO=function(b){return b.type===1},GO=function(b){return b.type===2},Ab={name:"image",parse:function(b,v){if(v.type===22){var C={url:v.value,type:0};return b.cache.addImage(v.value),C}if(v.type===18){var _=qB[v.name];if(typeof _>"u")throw new Error('Attempting to parse an unsupported image function "'+v.name+'"');return _(b,v.values)}throw new Error("Unsupported image type "+v.type)}};function YO(b){return!(b.type===20&&b.value==="none")&&(b.type!==18||!!qB[b.name])}var qB={"linear-gradient":jO,"-moz-linear-gradient":pm,"-ms-linear-gradient":pm,"-o-linear-gradient":pm,"-webkit-linear-gradient":pm,"radial-gradient":XO,"-moz-radial-gradient":fm,"-ms-radial-gradient":fm,"-o-radial-gradient":fm,"-webkit-radial-gradient":fm,"-webkit-gradient":WO},KO={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(b,v){if(v.length===0)return[];var C=v[0];return C.type===20&&C.value==="none"?[]:v.filter(function(_){return td(_)&&YO(_)}).map(function(_){return Ab.parse(b,_)})}},ZO={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(hr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qO={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(ls)}).map(IB)}},JO={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(hr).map(function(_){return _.value}).join(" ")}).map(eE)}},eE=function(b){switch(b){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},id;(function(b){b.AUTO="auto",b.CONTAIN="contain",b.COVER="cover"})(id||(id={}));var tE={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(iE)})}},iE=function(b){return hr(b)||ls(b)},mm=function(b){return{name:"border-"+b+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rE=mm("top"),sE=mm("right"),aE=mm("bottom"),nE=mm("left"),gm=function(b){return{name:"border-radius-"+b,initialValue:"0 0",prefix:!1,type:1,parse:function(v,C){return IB(C.filter(ls))}}},oE=gm("top-left"),lE=gm("top-right"),hE=gm("bottom-right"),uE=gm("bottom-left"),ym=function(b){return{name:"border-"+b+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(v,C){switch(C){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cE=ym("top"),dE=ym("right"),AE=ym("bottom"),pE=ym("left"),vm=function(b){return{name:"border-"+b+"-width",initialValue:"0",type:0,prefix:!1,parse:function(v,C){return MA(C)?C.number:0}}},fE=vm("top"),mE=vm("right"),gE=vm("bottom"),yE=vm("left"),vE={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bE={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(b,v){return v==="rtl"?1:0}},xE={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).reduce(function(C,_){return C|_E(_.value)},0)}},_E=function(b){switch(b){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},CE={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wE={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(b,v){return v.type===20&&v.value==="normal"?0:v.type===17||v.type===15?v.number:0}},bm;(function(b){b.NORMAL="normal",b.STRICT="strict"})(bm||(bm={}));var BE={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="strict"?bm.STRICT:bm.NORMAL}},SE={name:"line-height",initialValue:"normal",prefix:!1,type:4},JB=function(b,v){return hr(b)&&b.value==="normal"?1.2*v:b.type===17?v*b.number:ls(b)?br(b,v):v},FE={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(b,v){return v.type===20&&v.value==="none"?null:Ab.parse(b,v)}},TE={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(b,v){return v==="inside"?0:1}},pb={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xm=function(b){return{name:"margin-"+b,initialValue:"0",prefix:!1,type:4}},PE=xm("top"),DE=xm("right"),LE=xm("bottom"),IE=xm("left"),kE={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).map(function(C){switch(C.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},$E={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="break-word"?"break-word":"normal"}},_m=function(b){return{name:"padding-"+b,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},OE=_m("top"),EE=_m("right"),ME=_m("bottom"),RE=_m("left"),UE={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(b,v){switch(v){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},VE={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(b,v){switch(v){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},NE={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&ub(v[0],"none")?[]:Lo(v).map(function(C){for(var _={color:Cl.TRANSPARENT,offsetX:js,offsetY:js,blur:js},D=0,O=0;O<C.length;O++){var H=C[O];uh(H)?(D===0?_.offsetX=H:D===1?_.offsetY=H:_.blur=H,D++):_.color=dh.parse(b,H)}return _})}},QE={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},HE={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(b,v){if(v.type===20&&v.value==="none")return null;if(v.type===18){var C=XE[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported transform function "'+v.name+'"');return C(v.values)}return null}},jE=function(b){var v=b.filter(function(C){return C.type===17}).map(function(C){return C.number});return v.length===6?v:null},WE=function(b){var v=b.filter(function(j){return j.type===17}).map(function(j){return j.number}),C=v[0],_=v[1];v[2],v[3];var D=v[4],O=v[5];v[6],v[7],v[8],v[9],v[10],v[11];var H=v[12],W=v[13];return v[14],v[15],v.length===16?[C,_,D,O,H,W]:null},XE={matrix:jE,matrix3d:WE},eS={type:16,number:50,flags:IA},zE=[eS,eS],GE={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(b,v){var C=v.filter(ls);return C.length!==2?zE:[C[0],C[1]]}},YE={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"hidden":return 1;case"collapse":return 2;default:return 0}}},VA;(function(b){b.NORMAL="normal",b.BREAK_ALL="break-all",b.KEEP_ALL="keep-all"})(VA||(VA={}));for(var KE={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"break-all":return VA.BREAK_ALL;case"keep-all":return VA.KEEP_ALL;default:return VA.NORMAL}}},ZE={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(b,v){if(v.type===20)return{auto:!0,order:0};if(ed(v))return{auto:!1,order:v.number};throw new Error("Invalid z-index number parsed")}},tS={name:"time",parse:function(b,v){if(v.type===15)switch(v.unit.toLowerCase()){case"s":return 1e3*v.number;case"ms":return v.number}throw new Error("Unsupported time type")}},qE={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(b,v){return ed(v)?v.number:1}},JE={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eM={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).map(function(C){switch(C.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(C){return C!==0})}},tM={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(b,v){var C=[],_=[];return v.forEach(function(D){switch(D.type){case 20:case 0:C.push(D.value);break;case 17:C.push(D.number.toString());break;case 4:_.push(C.join(" ")),C.length=0;break}}),C.length&&_.push(C.join(" ")),_.map(function(D){return D.indexOf(" ")===-1?D:"'"+D+"'"})}},iM={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},rM={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(b,v){return ed(v)?v.number:hr(v)&&v.value==="bold"?700:400}},sM={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.filter(hr).map(function(C){return C.value})}},aM={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},vs=function(b,v){return(b&v)!==0},nM={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(b,v){if(v.length===0)return[];var C=v[0];return C.type===20&&C.value==="none"?[]:v}},oM={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return null;var C=v[0];if(C.type===20&&C.value==="none")return null;for(var _=[],D=v.filter(LB),O=0;O<D.length;O++){var H=D[O],W=D[O+1];if(H.type===20){var j=W&&ed(W)?W.number:1;_.push({counter:H.value,increment:j})}}return _}},lM={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return[];for(var C=[],_=v.filter(LB),D=0;D<_.length;D++){var O=_[D],H=_[D+1];if(hr(O)&&O.value!=="none"){var W=H&&ed(H)?H.number:0;C.push({counter:O.value,reset:W})}}return C}},hM={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(b,v){return v.filter(MA).map(function(C){return tS.parse(b,C)})}},uM={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return null;var C=v[0];if(C.type===20&&C.value==="none")return null;var _=[],D=v.filter(EO);if(D.length%2!==0)return null;for(var O=0;O<D.length;O+=2){var H=D[O].value,W=D[O+1].value;_.push({open:H,close:W})}return _}},iS=function(b,v,C){if(!b)return"";var _=b[Math.min(v,b.length-1)];return _?C?_.open:_.close:""},cM={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&ub(v[0],"none")?[]:Lo(v).map(function(C){for(var _={color:255,offsetX:js,offsetY:js,blur:js,spread:js,inset:!1},D=0,O=0;O<C.length;O++){var H=C[O];ub(H,"inset")?_.inset=!0:uh(H)?(D===0?_.offsetX=H:D===1?_.offsetY=H:D===2?_.blur=H:_.spread=H,D++):_.color=dh.parse(b,H)}return _})}},dM={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(b,v){var C=[0,1,2],_=[];return v.filter(hr).forEach(function(D){switch(D.value){case"stroke":_.push(1);break;case"fill":_.push(0);break;case"markers":_.push(2);break}}),C.forEach(function(D){_.indexOf(D)===-1&&_.push(D)}),_}},AM={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pM={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(b,v){return MA(v)?v.number:0}},fM=(function(){function b(v,C){var _,D;this.animationDuration=dt(v,hM,C.animationDuration),this.backgroundClip=dt(v,UO,C.backgroundClip),this.backgroundColor=dt(v,VO,C.backgroundColor),this.backgroundImage=dt(v,KO,C.backgroundImage),this.backgroundOrigin=dt(v,ZO,C.backgroundOrigin),this.backgroundPosition=dt(v,qO,C.backgroundPosition),this.backgroundRepeat=dt(v,JO,C.backgroundRepeat),this.backgroundSize=dt(v,tE,C.backgroundSize),this.borderTopColor=dt(v,rE,C.borderTopColor),this.borderRightColor=dt(v,sE,C.borderRightColor),this.borderBottomColor=dt(v,aE,C.borderBottomColor),this.borderLeftColor=dt(v,nE,C.borderLeftColor),this.borderTopLeftRadius=dt(v,oE,C.borderTopLeftRadius),this.borderTopRightRadius=dt(v,lE,C.borderTopRightRadius),this.borderBottomRightRadius=dt(v,hE,C.borderBottomRightRadius),this.borderBottomLeftRadius=dt(v,uE,C.borderBottomLeftRadius),this.borderTopStyle=dt(v,cE,C.borderTopStyle),this.borderRightStyle=dt(v,dE,C.borderRightStyle),this.borderBottomStyle=dt(v,AE,C.borderBottomStyle),this.borderLeftStyle=dt(v,pE,C.borderLeftStyle),this.borderTopWidth=dt(v,fE,C.borderTopWidth),this.borderRightWidth=dt(v,mE,C.borderRightWidth),this.borderBottomWidth=dt(v,gE,C.borderBottomWidth),this.borderLeftWidth=dt(v,yE,C.borderLeftWidth),this.boxShadow=dt(v,cM,C.boxShadow),this.color=dt(v,vE,C.color),this.direction=dt(v,bE,C.direction),this.display=dt(v,xE,C.display),this.float=dt(v,CE,C.cssFloat),this.fontFamily=dt(v,tM,C.fontFamily),this.fontSize=dt(v,iM,C.fontSize),this.fontStyle=dt(v,aM,C.fontStyle),this.fontVariant=dt(v,sM,C.fontVariant),this.fontWeight=dt(v,rM,C.fontWeight),this.letterSpacing=dt(v,wE,C.letterSpacing),this.lineBreak=dt(v,BE,C.lineBreak),this.lineHeight=dt(v,SE,C.lineHeight),this.listStyleImage=dt(v,FE,C.listStyleImage),this.listStylePosition=dt(v,TE,C.listStylePosition),this.listStyleType=dt(v,pb,C.listStyleType),this.marginTop=dt(v,PE,C.marginTop),this.marginRight=dt(v,DE,C.marginRight),this.marginBottom=dt(v,LE,C.marginBottom),this.marginLeft=dt(v,IE,C.marginLeft),this.opacity=dt(v,qE,C.opacity);var O=dt(v,kE,C.overflow);this.overflowX=O[0],this.overflowY=O[O.length>1?1:0],this.overflowWrap=dt(v,$E,C.overflowWrap),this.paddingTop=dt(v,OE,C.paddingTop),this.paddingRight=dt(v,EE,C.paddingRight),this.paddingBottom=dt(v,ME,C.paddingBottom),this.paddingLeft=dt(v,RE,C.paddingLeft),this.paintOrder=dt(v,dM,C.paintOrder),this.position=dt(v,VE,C.position),this.textAlign=dt(v,UE,C.textAlign),this.textDecorationColor=dt(v,JE,(_=C.textDecorationColor)!==null&&_!==void 0?_:C.color),this.textDecorationLine=dt(v,eM,(D=C.textDecorationLine)!==null&&D!==void 0?D:C.textDecoration),this.textShadow=dt(v,NE,C.textShadow),this.textTransform=dt(v,QE,C.textTransform),this.transform=dt(v,HE,C.transform),this.transformOrigin=dt(v,GE,C.transformOrigin),this.visibility=dt(v,YE,C.visibility),this.webkitTextStrokeColor=dt(v,AM,C.webkitTextStrokeColor),this.webkitTextStrokeWidth=dt(v,pM,C.webkitTextStrokeWidth),this.wordBreak=dt(v,KE,C.wordBreak),this.zIndex=dt(v,ZE,C.zIndex)}return b.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},b.prototype.isTransparent=function(){return Ah(this.backgroundColor)},b.prototype.isTransformed=function(){return this.transform!==null},b.prototype.isPositioned=function(){return this.position!==0},b.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},b.prototype.isFloating=function(){return this.float!==0},b.prototype.isInlineLevel=function(){return vs(this.display,4)||vs(this.display,33554432)||vs(this.display,268435456)||vs(this.display,536870912)||vs(this.display,67108864)||vs(this.display,134217728)},b})(),mM=(function(){function b(v,C){this.content=dt(v,nM,C.content),this.quotes=dt(v,uM,C.quotes)}return b})(),rS=(function(){function b(v,C){this.counterIncrement=dt(v,oM,C.counterIncrement),this.counterReset=dt(v,lM,C.counterReset)}return b})(),dt=function(b,v,C){var _=new PB,D=C!==null&&typeof C<"u"?C.toString():v.initialValue;_.write(D);var O=new DB(_.read());switch(v.type){case 2:var H=O.parseComponentValue();return v.parse(b,hr(H)?H.value:v.initialValue);case 0:return v.parse(b,O.parseComponentValue());case 1:return v.parse(b,O.parseComponentValues());case 4:return O.parseComponentValue();case 3:switch(v.format){case"angle":return dm.parse(b,O.parseComponentValue());case"color":return dh.parse(b,O.parseComponentValue());case"image":return Ab.parse(b,O.parseComponentValue());case"length":var W=O.parseComponentValue();return uh(W)?W:js;case"length-percentage":var j=O.parseComponentValue();return ls(j)?j:js;case"time":return tS.parse(b,O.parseComponentValue())}break}},gM="data-html2canvas-debug",yM=function(b){var v=b.getAttribute(gM);switch(v){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},fb=function(b,v){var C=yM(b);return C===1||v===C},Io=(function(){function b(v,C){if(this.context=v,this.textNodes=[],this.elements=[],this.flags=0,fb(C,3))debugger;this.styles=new fM(v,window.getComputedStyle(C,null)),Pb(C)&&(this.styles.animationDuration.some(function(_){return _>0})&&(C.style.animationDuration="0s"),this.styles.transform!==null&&(C.style.transform="none")),this.bounds=o(this.context,C),fb(C,4)&&(this.flags|=16)}return b})(),vM="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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U2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UB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lQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwA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AOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",sS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",NA=typeof Uint8Array>"u"?[]:new Uint8Array(256),Cm=0;Cm<sS.length;Cm++)NA[sS.charCodeAt(Cm)]=Cm;for(var bM=function(b){var v=b.length*.75,C=b.length,_,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var ae=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),ne=Array.isArray(ae)?ae:new Uint8Array(ae);for(_=0;_<C;_+=4)O=NA[b.charCodeAt(_)],H=NA[b.charCodeAt(_+1)],W=NA[b.charCodeAt(_+2)],j=NA[b.charCodeAt(_+3)],ne[D++]=O<<2|H>>4,ne[D++]=(H&15)<<4|W>>2,ne[D++]=(W&3)<<6|j&63;return ae},xM=function(b){for(var v=b.length,C=[],_=0;_<v;_+=2)C.push(b[_+1]<<8|b[_]);return C},_M=function(b){for(var v=b.length,C=[],_=0;_<v;_+=4)C.push(b[_+3]<<24|b[_+2]<<16|b[_+1]<<8|b[_]);return C},Su=5,mb=11,gb=2,CM=mb-Su,aS=65536>>Su,wM=1<<Su,yb=wM-1,BM=1024>>Su,SM=aS+BM,FM=SM,TM=32,PM=FM+TM,DM=65536>>mb,LM=1<<CM,IM=LM-1,nS=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},kM=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},$M=function(b,v){var C=bM(b),_=Array.isArray(C)?_M(C):new Uint32Array(C),D=Array.isArray(C)?xM(C):new Uint16Array(C),O=24,H=nS(D,O/2,_[4]/2),W=_[5]===2?nS(D,(O+_[4])/2):kM(_,Math.ceil((O+_[4])/4));return new OM(_[0],_[1],_[2],_[3],H,W)},OM=(function(){function b(v,C,_,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=_,this.highValueIndex=D,this.index=O,this.data=H}return b.prototype.get=function(v){var C;if(v>=0){if(v<55296||v>56319&&v<=65535)return C=this.index[v>>Su],C=(C<<gb)+(v&yb),this.data[C];if(v<=65535)return C=this.index[aS+(v-55296>>Su)],C=(C<<gb)+(v&yb),this.data[C];if(v<this.highStart)return C=PM-DM+(v>>mb),C=this.index[C],C+=v>>Su&IM,C=this.index[C],C=(C<<gb)+(v&yb),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),oS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",EM=typeof Uint8Array>"u"?[]:new Uint8Array(256),wm=0;wm<oS.length;wm++)EM[oS.charCodeAt(wm)]=wm;var MM=1,vb=2,bb=3,lS=4,hS=5,RM=7,uS=8,xb=9,_b=10,cS=11,dS=12,AS=13,pS=14,Cb=15,UM=function(b){for(var v=[],C=0,_=b.length;C<_;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<_){var O=b.charCodeAt(C++);(O&64512)===56320?v.push(((D&1023)<<10)+(O&1023)+65536):(v.push(D),C--)}else v.push(D)}return v},VM=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];if(String.fromCodePoint)return String.fromCodePoint.apply(String,b);var C=b.length;if(!C)return"";for(var _=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?_.push(H):(H-=65536,_.push((H>>10)+55296,H%1024+56320)),(D+1===C||_.length>16384)&&(O+=String.fromCharCode.apply(String,_),_.length=0)}return O},NM=$M(vM),Sn="\xD7",wb="\xF7",QM=function(b){return NM.get(b)},HM=function(b,v,C){var _=C-2,D=v[_],O=v[C-1],H=v[C];if(O===vb&&H===bb)return Sn;if(O===vb||O===bb||O===lS||H===vb||H===bb||H===lS)return wb;if(O===uS&&[uS,xb,cS,dS].indexOf(H)!==-1||(O===cS||O===xb)&&(H===xb||H===_b)||(O===dS||O===_b)&&H===_b||H===AS||H===hS||H===RM||O===MM)return Sn;if(O===AS&&H===pS){for(;D===hS;)D=v[--_];if(D===pS)return Sn}if(O===Cb&&H===Cb){for(var W=0;D===Cb;)W++,D=v[--_];if(W%2===0)return Sn}return wb},jM=function(b){var v=UM(b),C=v.length,_=0,D=0,O=v.map(QM);return{next:function(){if(_>=C)return{done:!0,value:null};for(var H=Sn;_<C&&(H=HM(v,O,++_))===Sn;);if(H!==Sn||_===C){var W=VM.apply(null,v.slice(D,_));return D=_,{value:W,done:!1}}return{done:!0,value:null}}}},WM=function(b){for(var v=jM(b),C=[],_;!(_=v.next()).done;)_.value&&C.push(_.value.slice());return C},XM=function(b){var v=123;if(b.createRange){var C=b.createRange();if(C.getBoundingClientRect){var _=b.createElement("boundtest");_.style.height=v+"px",_.style.display="block",b.body.appendChild(_),C.selectNode(_);var D=C.getBoundingClientRect(),O=Math.round(D.height);if(b.body.removeChild(_),O===v)return!0}}return!1},zM=function(b){var v=b.createElement("boundtest");v.style.width="50px",v.style.display="block",v.style.fontSize="12px",v.style.letterSpacing="0px",v.style.wordSpacing="0px",b.body.appendChild(v);var C=b.createRange();v.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var _=v.firstChild,D=h(_.data).map(function(j){return u(j)}),O=0,H={},W=D.every(function(j,ae){C.setStart(_,O),C.setEnd(_,O+j.length);var ne=C.getBoundingClientRect();O+=j.length;var Ae=ne.x>H.x||ne.y>H.y;return H=ne,ae===0?!0:Ae});return b.body.removeChild(v),W},GM=function(){return typeof new Image().crossOrigin<"u"},YM=function(){return typeof new XMLHttpRequest().responseType=="string"},KM=function(b){var v=new Image,C=b.createElement("canvas"),_=C.getContext("2d");if(!_)return!1;v.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{_.drawImage(v,0,0),C.toDataURL()}catch{return!1}return!0},fS=function(b){return b[0]===0&&b[1]===255&&b[2]===0&&b[3]===255},ZM=function(b){var v=b.createElement("canvas"),C=100;v.width=C,v.height=C;var _=v.getContext("2d");if(!_)return Promise.reject(!1);_.fillStyle="rgb(0, 255, 0)",_.fillRect(0,0,C,C);var D=new Image,O=v.toDataURL();D.src=O;var H=Bb(C,C,0,0,D);return _.fillStyle="red",_.fillRect(0,0,C,C),mS(H).then(function(W){_.drawImage(W,0,0);var j=_.getImageData(0,0,C,C).data;_.fillStyle="red",_.fillRect(0,0,C,C);var ae=b.createElement("div");return ae.style.backgroundImage="url("+O+")",ae.style.height=C+"px",fS(j)?mS(Bb(C,C,0,0,ae)):Promise.reject(!1)}).then(function(W){return _.drawImage(W,0,0),fS(_.getImageData(0,0,C,C).data)}).catch(function(){return!1})},Bb=function(b,v,C,_,D){var O="http://www.w3.org/2000/svg",H=document.createElementNS(O,"svg"),W=document.createElementNS(O,"foreignObject");return H.setAttributeNS(null,"width",b.toString()),H.setAttributeNS(null,"height",v.toString()),W.setAttributeNS(null,"width","100%"),W.setAttributeNS(null,"height","100%"),W.setAttributeNS(null,"x",C.toString()),W.setAttributeNS(null,"y",_.toString()),W.setAttributeNS(null,"externalResourcesRequired","true"),H.appendChild(W),W.appendChild(D),H},mS=function(b){return new Promise(function(v,C){var _=new Image;_.onload=function(){return v(_)},_.onerror=C,_.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(b))})},Ws={get SUPPORT_RANGE_BOUNDS(){var b=XM(document);return Object.defineProperty(Ws,"SUPPORT_RANGE_BOUNDS",{value:b}),b},get SUPPORT_WORD_BREAKING(){var b=Ws.SUPPORT_RANGE_BOUNDS&&zM(document);return Object.defineProperty(Ws,"SUPPORT_WORD_BREAKING",{value:b}),b},get SUPPORT_SVG_DRAWING(){var b=KM(document);return Object.defineProperty(Ws,"SUPPORT_SVG_DRAWING",{value:b}),b},get SUPPORT_FOREIGNOBJECT_DRAWING(){var b=typeof Array.from=="function"&&typeof window.fetch=="function"?ZM(document):Promise.resolve(!1);return Object.defineProperty(Ws,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:b}),b},get SUPPORT_CORS_IMAGES(){var b=GM();return Object.defineProperty(Ws,"SUPPORT_CORS_IMAGES",{value:b}),b},get SUPPORT_RESPONSE_TYPE(){var b=YM();return Object.defineProperty(Ws,"SUPPORT_RESPONSE_TYPE",{value:b}),b},get SUPPORT_CORS_XHR(){var b="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ws,"SUPPORT_CORS_XHR",{value:b}),b},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var b=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ws,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:b}),b}},QA=(function(){function b(v,C){this.text=v,this.bounds=C}return b})(),qM=function(b,v,C,_){var D=tR(v,C),O=[],H=0;return D.forEach(function(W){if(C.textDecorationLine.length||W.trim().length>0)if(Ws.SUPPORT_RANGE_BOUNDS){var j=gS(_,H,W.length).getClientRects();if(j.length>1){var ae=Sb(W),ne=0;ae.forEach(function(_e){O.push(new QA(_e,n.fromDOMRectList(b,gS(_,ne+H,_e.length).getClientRects()))),ne+=_e.length})}else O.push(new QA(W,n.fromDOMRectList(b,j)))}else{var Ae=_.splitText(W.length);O.push(new QA(W,JM(b,_))),_=Ae}else Ws.SUPPORT_RANGE_BOUNDS||(_=_.splitText(W.length));H+=W.length}),O},JM=function(b,v){var C=v.ownerDocument;if(C){var _=C.createElement("html2canvaswrapper");_.appendChild(v.cloneNode(!0));var D=v.parentNode;if(D){D.replaceChild(_,v);var O=o(b,_);return _.firstChild&&D.replaceChild(_.firstChild,_),O}}return n.EMPTY},gS=function(b,v,C){var _=b.ownerDocument;if(!_)throw new Error("Node has no owner document");var D=_.createRange();return D.setStart(b,v),D.setEnd(b,v+C),D},Sb=function(b){if(Ws.SUPPORT_NATIVE_TEXT_SEGMENTATION){var v=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(v.segment(b)).map(function(C){return C.segment})}return WM(b)},eR=function(b,v){if(Ws.SUPPORT_NATIVE_TEXT_SEGMENTATION){var C=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(C.segment(b)).map(function(_){return _.segment})}return rR(b,v)},tR=function(b,v){return v.letterSpacing!==0?Sb(b):eR(b,v)},iR=[32,160,4961,65792,65793,4153,4241],rR=function(b,v){for(var C=D$(b,{lineBreak:v.lineBreak,wordBreak:v.overflowWrap==="break-word"?"break-word":v.wordBreak}),_=[],D,O=function(){if(D.value){var H=D.value.slice(),W=h(H),j="";W.forEach(function(ae){iR.indexOf(ae)===-1?j+=u(ae):(j.length&&_.push(j),_.push(u(ae)),j="")}),j.length&&_.push(j)}};!(D=C.next()).done;)O();return _},sR=(function(){function b(v,C,_){this.text=aR(C.data,_.textTransform),this.textBounds=qM(v,this.text,_,C)}return b})(),aR=function(b,v){switch(v){case 1:return b.toLowerCase();case 3:return b.replace(nR,oR);case 2:return b.toUpperCase();default:return b}},nR=/(^|\s|:|-|\(|\))([a-z])/g,oR=function(b,v,C){return b.length>0?v+C.toUpperCase():b},yS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.src=_.currentSrc||_.src,D.intrinsicWidth=_.naturalWidth,D.intrinsicHeight=_.naturalHeight,D.context.cache.addImage(D.src),D}return v})(Io),vS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.canvas=_,D.intrinsicWidth=_.width,D.intrinsicHeight=_.height,D}return v})(Io),bS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this,O=new XMLSerializer,H=o(C,_);return _.setAttribute("width",H.width+"px"),_.setAttribute("height",H.height+"px"),D.svg="data:image/svg+xml,"+encodeURIComponent(O.serializeToString(_)),D.intrinsicWidth=_.width.baseVal.value,D.intrinsicHeight=_.height.baseVal.value,D.context.cache.addImage(D.svg),D}return v})(Io),xS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.value=_.value,D}return v})(Io),Fb=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.start=_.start,D.reversed=typeof _.reversed=="boolean"&&_.reversed===!0,D}return v})(Io),lR=[{type:15,flags:0,unit:"px",number:3}],hR=[{type:16,flags:0,number:50}],uR=function(b){return b.width>b.height?new n(b.left+(b.width-b.height)/2,b.top,b.height,b.height):b.width<b.height?new n(b.left,b.top+(b.height-b.width)/2,b.width,b.width):b},cR=function(b){var v=b.type===dR?new Array(b.value.length+1).join("\u2022"):b.value;return v.length===0?b.placeholder||"":v},Bm="checkbox",Sm="radio",dR="password",_S=707406591,Tb=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;switch(D.type=_.type.toLowerCase(),D.checked=_.checked,D.value=cR(_),(D.type===Bm||D.type===Sm)&&(D.styles.backgroundColor=3739148031,D.styles.borderTopColor=D.styles.borderRightColor=D.styles.borderBottomColor=D.styles.borderLeftColor=2779096575,D.styles.borderTopWidth=D.styles.borderRightWidth=D.styles.borderBottomWidth=D.styles.borderLeftWidth=1,D.styles.borderTopStyle=D.styles.borderRightStyle=D.styles.borderBottomStyle=D.styles.borderLeftStyle=1,D.styles.backgroundClip=[0],D.styles.backgroundOrigin=[0],D.bounds=uR(D.bounds)),D.type){case Bm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=lR;break;case Sm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=hR;break}return D}return v})(Io),CS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this,O=_.options[_.selectedIndex||0];return D.value=O&&O.text||"",D}return v})(Io),wS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.value=_.value,D}return v})(Io),BS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;D.src=_.src,D.width=parseInt(_.width,10)||0,D.height=parseInt(_.height,10)||0,D.backgroundColor=D.styles.backgroundColor;try{if(_.contentWindow&&_.contentWindow.document&&_.contentWindow.document.documentElement){D.tree=FS(C,_.contentWindow.document.documentElement);var O=_.contentWindow.document.documentElement?UA(C,getComputedStyle(_.contentWindow.document.documentElement).backgroundColor):Cl.TRANSPARENT,H=_.contentWindow.document.body?UA(C,getComputedStyle(_.contentWindow.document.body).backgroundColor):Cl.TRANSPARENT;D.backgroundColor=Ah(O)?Ah(H)?D.styles.backgroundColor:H:O}}catch{}return D}return v})(Io),AR=["OL","UL","MENU"],Fm=function(b,v,C,_){for(var D=v.firstChild,O=void 0;D;D=O)if(O=D.nextSibling,TS(D)&&D.data.trim().length>0)C.textNodes.push(new sR(b,D,C.styles));else if(rd(D))if($S(D)&&D.assignedNodes)D.assignedNodes().forEach(function(W){return Fm(b,W,C,_)});else{var H=SS(b,D);H.styles.isVisible()&&(pR(D,H,_)?H.flags|=4:fR(H.styles)&&(H.flags|=2),AR.indexOf(D.tagName)!==-1&&(H.flags|=8),C.elements.push(H),D.slot,D.shadowRoot?Fm(b,D.shadowRoot,H,_):!Pm(D)&&!PS(D)&&!Dm(D)&&Fm(b,D,H,_))}},SS=function(b,v){return Lb(v)?new yS(b,v):DS(v)?new vS(b,v):PS(v)?new bS(b,v):mR(v)?new xS(b,v):gR(v)?new Fb(b,v):yR(v)?new Tb(b,v):Dm(v)?new CS(b,v):Pm(v)?new wS(b,v):IS(v)?new BS(b,v):new Io(b,v)},FS=function(b,v){var C=SS(b,v);return C.flags|=4,Fm(b,v,C,C),C},pR=function(b,v,C){return v.styles.isPositionedWithZIndex()||v.styles.opacity<1||v.styles.isTransformed()||Db(b)&&C.styles.isTransparent()},fR=function(b){return b.isPositioned()||b.isFloating()},TS=function(b){return b.nodeType===Node.TEXT_NODE},rd=function(b){return b.nodeType===Node.ELEMENT_NODE},Pb=function(b){return rd(b)&&typeof b.style<"u"&&!Tm(b)},Tm=function(b){return typeof b.className=="object"},mR=function(b){return b.tagName==="LI"},gR=function(b){return b.tagName==="OL"},yR=function(b){return b.tagName==="INPUT"},vR=function(b){return b.tagName==="HTML"},PS=function(b){return b.tagName==="svg"},Db=function(b){return b.tagName==="BODY"},DS=function(b){return b.tagName==="CANVAS"},LS=function(b){return b.tagName==="VIDEO"},Lb=function(b){return b.tagName==="IMG"},IS=function(b){return b.tagName==="IFRAME"},kS=function(b){return b.tagName==="STYLE"},bR=function(b){return b.tagName==="SCRIPT"},Pm=function(b){return b.tagName==="TEXTAREA"},Dm=function(b){return b.tagName==="SELECT"},$S=function(b){return b.tagName==="SLOT"},OS=function(b){return b.tagName.indexOf("-")>0},xR=(function(){function b(){this.counters={}}return b.prototype.getCounterValue=function(v){var C=this.counters[v];return C&&C.length?C[C.length-1]:1},b.prototype.getCounterValues=function(v){var C=this.counters[v];return C||[]},b.prototype.pop=function(v){var C=this;v.forEach(function(_){return C.counters[_].pop()})},b.prototype.parse=function(v){var C=this,_=v.counterIncrement,D=v.counterReset,O=!0;_!==null&&_.forEach(function(W){var j=C.counters[W.counter];j&&W.increment!==0&&(O=!1,j.length||j.push(1),j[Math.max(0,j.length-1)]+=W.increment)});var H=[];return O&&D.forEach(function(W){var j=C.counters[W.counter];H.push(W.counter),j||(j=C.counters[W.counter]=[]),j.push(W.reset)}),H},b})(),ES={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},MS={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},_R={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},CR={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},sd=function(b,v,C,_,D,O){return b<v||b>C?jA(b,D,O.length>0):_.integers.reduce(function(H,W,j){for(;b>=W;)b-=W,H+=_.values[j];return H},"")+O},RS=function(b,v,C,_){var D="";do C||b--,D=_(b)+D,b/=v;while(b*v>=v);return D},qr=function(b,v,C,_,D){var O=C-v+1;return(b<0?"-":"")+(RS(Math.abs(b),O,_,function(H){return u(Math.floor(H%O)+v)})+D)},Fu=function(b,v,C){C===void 0&&(C=". ");var _=v.length;return RS(Math.abs(b),_,!1,function(D){return v[Math.floor(D%_)]})+C},ad=1,fh=2,mh=4,HA=8,wl=function(b,v,C,_,D,O){if(b<-9999||b>9999)return jA(b,4,D.length>0);var H=Math.abs(b),W=D;if(H===0)return v[0]+W;for(var j=0;H>0&&j<=4;j++){var ae=H%10;ae===0&&vs(O,ad)&&W!==""?W=v[ae]+W:ae>1||ae===1&&j===0||ae===1&&j===1&&vs(O,fh)||ae===1&&j===1&&vs(O,mh)&&b>100||ae===1&&j>1&&vs(O,HA)?W=v[ae]+(j>0?C[j-1]:"")+W:ae===1&&j>0&&(W=C[j-1]+W),H=Math.floor(H/10)}return(b<0?_:"")+W},US="\u5341\u767E\u5343\u842C",VS="\u62FE\u4F70\u4EDF\u842C",NS="\u30DE\u30A4\u30CA\u30B9",Ib="\uB9C8\uC774\uB108\uC2A4",jA=function(b,v,C){var _=C?". ":"",D=C?"\u3001":"",O=C?", ":"",H=C?" ":"";switch(v){case 0:return"\u2022"+H;case 1:return"\u25E6"+H;case 2:return"\u25FE"+H;case 5:var W=qr(b,48,57,!0,_);return W.length<4?"0"+W:W;case 4:return Fu(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",D);case 6:return sd(b,1,3999,ES,3,_).toLowerCase();case 7:return sd(b,1,3999,ES,3,_);case 8:return qr(b,945,969,!1,_);case 9:return qr(b,97,122,!1,_);case 10:return qr(b,65,90,!1,_);case 11:return qr(b,1632,1641,!0,_);case 12:case 49:return sd(b,1,9999,MS,3,_);case 35:return sd(b,1,9999,MS,3,_).toLowerCase();case 13:return qr(b,2534,2543,!0,_);case 14:case 30:return qr(b,6112,6121,!0,_);case 15:return Fu(b,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",D);case 16:return Fu(b,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",D);case 17:case 48:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",US,"\u8CA0",D,fh|mh|HA);case 47:return wl(b,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",VS,"\u8CA0",D,ad|fh|mh|HA);case 42:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",US,"\u8D1F",D,fh|mh|HA);case 41:return wl(b,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",VS,"\u8D1F",D,ad|fh|mh|HA);case 26:return wl(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",NS,D,0);case 25:return wl(b,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",NS,D,ad|fh|mh);case 31:return wl(b,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ib,O,ad|fh|mh);case 33:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ib,O,0);case 32:return wl(b,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ib,O,ad|fh|mh);case 18:return qr(b,2406,2415,!0,_);case 20:return sd(b,1,19999,CR,3,_);case 21:return qr(b,2790,2799,!0,_);case 22:return qr(b,2662,2671,!0,_);case 22:return sd(b,1,10999,_R,3,_);case 23:return Fu(b,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Fu(b,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return qr(b,3302,3311,!0,_);case 28:return Fu(b,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",D);case 29:return Fu(b,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",D);case 34:return qr(b,3792,3801,!0,_);case 37:return qr(b,6160,6169,!0,_);case 38:return qr(b,4160,4169,!0,_);case 39:return qr(b,2918,2927,!0,_);case 40:return qr(b,1776,1785,!0,_);case 43:return qr(b,3046,3055,!0,_);case 44:return qr(b,3174,3183,!0,_);case 45:return qr(b,3664,3673,!0,_);case 46:return qr(b,3872,3881,!0,_);default:return qr(b,48,57,!0,_)}},QS="data-html2canvas-ignore",HS=(function(){function b(v,C,_){if(this.context=v,this.options=_,this.scrolledElements=[],this.referenceElement=C,this.counters=new xR,this.quoteDepth=0,!C.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(C.ownerDocument.documentElement,!1)}return b.prototype.toIFrame=function(v,C){var _=this,D=wR(v,C);if(!D.contentWindow)return Promise.reject("Unable to find iframe window");var O=v.defaultView.pageXOffset,H=v.defaultView.pageYOffset,W=D.contentWindow,j=W.document,ae=FR(D).then(function(){return i(_,void 0,void 0,function(){var ne,Ae;return r(this,function(_e){switch(_e.label){case 0:return this.scrolledElements.forEach(LR),W&&(W.scrollTo(C.left,C.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(W.scrollY!==C.top||W.scrollX!==C.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(W.scrollX-C.left,W.scrollY-C.top,0,0))),ne=this.options.onclone,Ae=this.clonedReferenceElement,typeof Ae>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:j.fonts&&j.fonts.ready?[4,j.fonts.ready]:[3,2];case 1:_e.sent(),_e.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,SR(j)]:[3,4];case 3:_e.sent(),_e.label=4;case 4:return typeof ne=="function"?[2,Promise.resolve().then(function(){return ne(j,Ae)}).then(function(){return D})]:[2,D]}})})});return j.open(),j.write(PR(document.doctype)+"<html></html>"),DR(this.referenceElement.ownerDocument,O,H),j.replaceChild(j.adoptNode(this.documentElement),j.documentElement),j.close(),ae},b.prototype.createElementClone=function(v){if(fb(v,2))debugger;if(DS(v))return this.createCanvasClone(v);if(LS(v))return this.createVideoClone(v);if(kS(v))return this.createStyleClone(v);var C=v.cloneNode(!1);return Lb(C)&&(Lb(v)&&v.currentSrc&&v.currentSrc!==v.src&&(C.src=v.currentSrc,C.srcset=""),C.loading==="lazy"&&(C.loading="eager")),OS(C)?this.createCustomElementClone(C):C},b.prototype.createCustomElementClone=function(v){var C=document.createElement("html2canvascustomelement");return kb(v.style,C),C},b.prototype.createStyleClone=function(v){try{var C=v.sheet;if(C&&C.cssRules){var _=[].slice.call(C.cssRules,0).reduce(function(O,H){return H&&typeof H.cssText=="string"?O+H.cssText:O},""),D=v.cloneNode(!1);return D.textContent=_,D}}catch(O){if(this.context.logger.error("Unable to access cssRules property",O),O.name!=="SecurityError")throw O}return v.cloneNode(!1)},b.prototype.createCanvasClone=function(v){var C;if(this.options.inlineImages&&v.ownerDocument){var _=v.ownerDocument.createElement("img");try{return _.src=v.toDataURL(),_}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",v)}}var D=v.cloneNode(!1);try{D.width=v.width,D.height=v.height;var O=v.getContext("2d"),H=D.getContext("2d");if(H)if(!this.options.allowTaint&&O)H.putImageData(O.getImageData(0,0,v.width,v.height),0,0);else{var W=(C=v.getContext("webgl2"))!==null&&C!==void 0?C:v.getContext("webgl");if(W){var j=W.getContextAttributes();j?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",v)}H.drawImage(v,0,0)}return D}catch{this.context.logger.info("Unable to clone canvas as it is tainted",v)}return D},b.prototype.createVideoClone=function(v){var C=v.ownerDocument.createElement("canvas");C.width=v.offsetWidth,C.height=v.offsetHeight;var _=C.getContext("2d");try{return _&&(_.drawImage(v,0,0,C.width,C.height),this.options.allowTaint||_.getImageData(0,0,C.width,C.height)),C}catch{this.context.logger.info("Unable to clone video as it is tainted",v)}var D=v.ownerDocument.createElement("canvas");return D.width=v.offsetWidth,D.height=v.offsetHeight,D},b.prototype.appendChildNode=function(v,C,_){(!rd(C)||!bR(C)&&!C.hasAttribute(QS)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(C)))&&(!this.options.copyStyles||!rd(C)||!kS(C))&&v.appendChild(this.cloneNode(C,_))},b.prototype.cloneChildNodes=function(v,C,_){for(var D=this,O=v.shadowRoot?v.shadowRoot.firstChild:v.firstChild;O;O=O.nextSibling)if(rd(O)&&$S(O)&&typeof O.assignedNodes=="function"){var H=O.assignedNodes();H.length&&H.forEach(function(W){return D.appendChildNode(C,W,_)})}else this.appendChildNode(C,O,_)},b.prototype.cloneNode=function(v,C){if(TS(v))return document.createTextNode(v.data);if(!v.ownerDocument)return v.cloneNode(!1);var _=v.ownerDocument.defaultView;if(_&&rd(v)&&(Pb(v)||Tm(v))){var D=this.createElementClone(v);D.style.transitionProperty="none";var O=_.getComputedStyle(v),H=_.getComputedStyle(v,":before"),W=_.getComputedStyle(v,":after");this.referenceElement===v&&Pb(D)&&(this.clonedReferenceElement=D),Db(D)&&$R(D);var j=this.counters.parse(new rS(this.context,O)),ae=this.resolvePseudoContent(v,D,H,WA.BEFORE);OS(v)&&(C=!0),LS(v)||this.cloneChildNodes(v,D,C),ae&&D.insertBefore(ae,D.firstChild);var ne=this.resolvePseudoContent(v,D,W,WA.AFTER);return ne&&D.appendChild(ne),this.counters.pop(j),(O&&(this.options.copyStyles||Tm(v))&&!IS(v)||C)&&kb(O,D),(v.scrollTop!==0||v.scrollLeft!==0)&&this.scrolledElements.push([D,v.scrollLeft,v.scrollTop]),(Pm(v)||Dm(v))&&(Pm(D)||Dm(D))&&(D.value=v.value),D}return v.cloneNode(!1)},b.prototype.resolvePseudoContent=function(v,C,_,D){var O=this;if(_){var H=_.content,W=C.ownerDocument;if(!(!W||!H||H==="none"||H==="-moz-alt-content"||_.display==="none")){this.counters.parse(new rS(this.context,_));var j=new mM(this.context,_),ae=W.createElement("html2canvaspseudoelement");kb(_,ae),j.content.forEach(function(Ae){if(Ae.type===0)ae.appendChild(W.createTextNode(Ae.value));else if(Ae.type===22){var _e=W.createElement("img");_e.src=Ae.value,_e.style.opacity="1",ae.appendChild(_e)}else if(Ae.type===18){if(Ae.name==="attr"){var lt=Ae.values.filter(hr);lt.length&&ae.appendChild(W.createTextNode(v.getAttribute(lt[0].value)||""))}else if(Ae.name==="counter"){var Ue=Ae.values.filter(td),Ze=Ue[0],ii=Ue[1];if(Ze&&hr(Ze)){var bt=O.counters.getCounterValue(Ze.value),gt=ii&&hr(ii)?pb.parse(O.context,ii.value):3;ae.appendChild(W.createTextNode(jA(bt,gt,!1)))}}else if(Ae.name==="counters"){var Wi=Ae.values.filter(td),Ze=Wi[0],ni=Wi[1],ii=Wi[2];if(Ze&&hr(Ze)){var Mt=O.counters.getCounterValues(Ze.value),rt=ii&&hr(ii)?pb.parse(O.context,ii.value):3,ki=ni&&ni.type===0?ni.value:"",$i=Mt.map(function(Oa){return jA(Oa,rt,!1)}).join(ki);ae.appendChild(W.createTextNode($i))}}}else if(Ae.type===20)switch(Ae.value){case"open-quote":ae.appendChild(W.createTextNode(iS(j.quotes,O.quoteDepth++,!0)));break;case"close-quote":ae.appendChild(W.createTextNode(iS(j.quotes,--O.quoteDepth,!1)));break;default:ae.appendChild(W.createTextNode(Ae.value))}}),ae.className=$b+" "+Ob;var ne=D===WA.BEFORE?" "+$b:" "+Ob;return Tm(C)?C.className.baseValue+=ne:C.className+=ne,ae}}},b.destroy=function(v){return v.parentNode?(v.parentNode.removeChild(v),!0):!1},b})(),WA;(function(b){b[b.BEFORE=0]="BEFORE",b[b.AFTER=1]="AFTER"})(WA||(WA={}));var wR=function(b,v){var C=b.createElement("iframe");return C.className="html2canvas-container",C.style.visibility="hidden",C.style.position="fixed",C.style.left="-10000px",C.style.top="0px",C.style.border="0",C.width=v.width.toString(),C.height=v.height.toString(),C.scrolling="no",C.setAttribute(QS,"true"),b.body.appendChild(C),C},BR=function(b){return new Promise(function(v){if(b.complete){v();return}if(!b.src){v();return}b.onload=v,b.onerror=v})},SR=function(b){return Promise.all([].slice.call(b.images,0).map(BR))},FR=function(b){return new Promise(function(v,C){var _=b.contentWindow;if(!_)return C("No window assigned for iframe");var D=_.document;_.onload=b.onload=function(){_.onload=b.onload=null;var O=setInterval(function(){D.body.childNodes.length>0&&D.readyState==="complete"&&(clearInterval(O),v(b))},50)}})},TR=["all","d","content"],kb=function(b,v){for(var C=b.length-1;C>=0;C--){var _=b.item(C);TR.indexOf(_)===-1&&v.style.setProperty(_,b.getPropertyValue(_))}return v},PR=function(b){var v="";return b&&(v+="<!DOCTYPE ",b.name&&(v+=b.name),b.internalSubset&&(v+=b.internalSubset),b.publicId&&(v+='"'+b.publicId+'"'),b.systemId&&(v+='"'+b.systemId+'"'),v+=">"),v},DR=function(b,v,C){b&&b.defaultView&&(v!==b.defaultView.pageXOffset||C!==b.defaultView.pageYOffset)&&b.defaultView.scrollTo(v,C)},LR=function(b){var v=b[0],C=b[1],_=b[2];v.scrollLeft=C,v.scrollTop=_},IR=":before",kR=":after",$b="___html2canvas___pseudoelement_before",Ob="___html2canvas___pseudoelement_after",jS=`{
|
|
2
|
+
import{a as sn}from"./QVD6LHQ2.js";import{b as zx}from"./2JUO3GP2.js";import o from"./5NEOQ33I.js";import n from"./VVI7T6DN.js";import{c as $x,e as hp,f as Ox,g as Ex,h as Mx,i as Rx,j as yd}from"./PDWS67CW.js";import{a as RT,g as UT}from"./7BDNLABD.js";import m from"./FFA2RBY6.js";import{a as Hx}from"./E6GB46ZD.js";import{a as bT}from"./MZ2UZAFW.js";import l from"./ZO2YW5LI.js";import k from"./VKI3EJVB.js";import j from"./BIHDQSPP.js";import i from"./ZG3MLOD3.js";import h from"./NBKUOIWE.js";import g from"./SWYI6DEZ.js";import{a as Ro,b as kT,c as $T,d as OT,e as jx,k as Wx,q as ET}from"./7MKAC33Z.js";import f from"./RDZKQ3UB.js";import e from"./DBIVR3L2.js";import"./NQAPPISU.js";import d from"./TLJ4H37R.js";import c from"./BODOPAEX.js";import b from"./B5HQ43EN.js";import{c as gd,d as Dx,e as op,o as fg,q as Lx,r as yT,s as mg,t as vT,u as lp}from"./KGNYAMFB.js";import a from"./DWKUQWMM.js";import{e as xs,g as io}from"./777EBGS5.js";import{D as JA,E as ep,a as Ut,b as Km,c as pt,d as ke,e as Tr,f as vr,g as Fl,h as cs,i as qA,j as $s,l as tx,n as Or,p as ix,r as zi,v as rx,w as sx,x as Er}from"./P5XJTTU3.js";import{F as ZA,I as Xm,J as Yb,K as zm,N as mF,P as Gm,Q as Kb,R as Zb,S as qb,T as gF,Y as yF,Z as vF,aa as Jb,ea as Ym,f as Eu,h as cd,i as Hm,j as Gb,k as dF,l as jm,o as an,p as Wm,q as xr,ra as bF,s as AF,v as pF,va as xF,w as fF,y as vh,ya as ex,z as Mu}from"./6JI4NDJ6.js";import{a as YA,b as us,c as KA,d as bs,e as Qm,f as Rt}from"./75Y43JLP.js";import{g as _r,h as ks,k as ku,l as rn}from"./FIMXZMTB.js";import{a as hF,b as Qb,c as Vm,g as Iu}from"./HUUQ5D7I.js";import{A as nF,B as Um,G as oF,H as lF,g as iF,h as rF,i as ud,l as sF,n as zs,y as aF,z as Nb}from"./ZQNOUNTB.js";import{a as MT}from"./J4JRQR6I.js";import"./TOO3T62Y.js";import"./EZM4ZDQI.js";import{a as ze,b as cF}from"./43P4WOC4.js";import{a as V,b as Pn,e as st,f as Oi,h as GA,i as Hb,j as jb,k as er,l as Nm,m as $u,n as Wb,p as tr,q as uF,r as Ou,t as Xb,u as zb}from"./XOB365BI.js";import{a as zA,b as Rm,c as tF,d as Vb}from"./QPIMTXPL.js";export default $arcgis.t(([Ia,{substitute:Vc},HL,wN,BN,{$:cx,$a:Ll,$b:uT,A:ux,Aa:mx,Ab:aT,B:Zt,Ba:zF,C:Oo,Ca:Ra,D:bh,Da:ig,E:CF,Ea:rg,F:Jm,Fa:xa,Fb:_x,G:tp,Gb:og,Ha:GF,Hb:lg,I:Qu,Ia:YF,Ib:pd,J:Os,Ja:gx,Jb:hg,Ka:sg,Kb:nT,Lb:Cx,Ma:on,Mb:ug,N:wF,Na:yx,Oa:Hu,Ob:wx,Pa:KF,Q:Dn,Qa:vx,R:xh,Ra:ZF,S:BF,Sa:sp,Sb:Bx,T:It,Ta:oa,Tb:fd,U:SF,Ua:Eo,Ub:oT,V:FF,Va:ap,Vb:cg,W:eg,Wb:lT,X:_h,Xa:Ad,Xb:Sx,Y:TF,Ya:qF,Yb:hT,Z:PF,Za:JF,Zb:Fx,_:DF,_b:Tx,aa:LF,ab:eT,b:Tl,ba:IF,bc:np,c:Zm,ca:kF,cb:tT,d:_F,da:$F,db:bx,dc:ju,e:$o,ea:OF,ec:Ln,f:ba,fa:dx,fc:md,g:Ru,ga:EF,gc:Zi,h:dd,ha:MF,i:ro,ia:Ax,ic:Mo,j:ax,ja:RF,k:Pl,ka:UF,kc:cT,l:qm,la:VF,lb:ag,lc:dT,m:so,ma:px,mc:AT,n:Dl,na:NF,nc:Px,o:nx,oa:QF,ob:xx,oc:dg,p:ox,pa:tg,pb:_a,pc:Ag,q:ao,qa:HF,qc:pT,r:Uu,ra:jF,rb:Ch,rc:fT,sa:WF,sb:iT,sc:mT,ta:XF,tb:rT,u:Z,uc:pg,v:lx,va:ip,vb:sT,vc:gT,w:Vu,wa:no,x:Nu,xa:oo,y:hx,ya:fx,z:nn,za:rp,zb:ng},,{g:xT,i:_T},,,{a:Ix,b:wh},,,,,,{m:CT,n:wT,o:BT,p:ST,q:kx,r:FT,s:TT,t:PT},{q:Xx},{b:VT,c:NT,e:vd},{a:DT,b:LT,c:IT,d:Ux,g:Vx,h:Nx,i:Qx}])=>{var WT=Rm((VY,jT)=>{"use strict";function bU(a){var t=new a,e=t;function i(){var s=t;return s.next?t=s.next:(t=new a,e=t),s.next=null,s}function r(s){e.next=s,e=s}return{get:i,release:r}}jT.exports=bU});var zT=Rm((NY,Yx)=>{"use strict";var xU=WT();function XT(a,t,e){if(typeof a=="function"&&(e=t,t=a,a=null),e<1)throw new Error("fastqueue concurrency must be greater than 1");var i=xU(_U),r=null,s=null,n=0,o=null,l={push:f,drain:kn,saturated:kn,pause:u,paused:!1,concurrency:e,running:h,resume:A,idle:p,length:c,getQueue:d,unshift:m,empty:kn,kill:y,killAndDrain:x,error:w};return l;function h(){return n}function u(){l.paused=!0}function c(){for(var S=r,T=0;S;)S=S.next,T++;return T}function d(){for(var S=r,T=[];S;)T.push(S.value),S=S.next;return T}function A(){if(l.paused){l.paused=!1;for(var S=0;S<l.concurrency;S++)n++,g()}}function p(){return n===0&&l.length()===0}function f(S,T){var F=i.get();F.context=a,F.release=g,F.value=S,F.callback=T||kn,F.errorHandler=o,n===l.concurrency||l.paused?s?(s.next=F,s=F):(r=F,s=F,l.saturated()):(n++,t.call(a,F.value,F.worked))}function m(S,T){var F=i.get();F.context=a,F.release=g,F.value=S,F.callback=T||kn,n===l.concurrency||l.paused?r?(F.next=r,r=F):(r=F,s=F,l.saturated()):(n++,t.call(a,F.value,F.worked))}function g(S){S&&i.release(S);var T=r;T?l.paused?n--:(s===r&&(s=null),r=T.next,T.next=null,t.call(a,T.value,T.worked),s===null&&l.empty()):--n===0&&l.drain()}function y(){r=null,s=null,l.drain=kn}function x(){r=null,s=null,l.drain(),l.drain=kn}function w(S){o=S}}function kn(){}function _U(){this.value=null,this.callback=kn,this.next=null,this.release=kn,this.context=null,this.errorHandler=null;var a=this;this.worked=function(e,i){var r=a.callback,s=a.errorHandler,n=a.value;a.value=null,a.callback=kn,a.errorHandler&&s(e,n),r.call(a.context,e,i),a.release(a)}}function CU(a,t,e){typeof a=="function"&&(e=t,t=a,a=null);function i(u,c){t.call(this,u).then(function(d){c(null,d)},c)}var r=XT(a,i,e),s=r.push,n=r.unshift;return r.push=o,r.unshift=l,r.drained=h,r;function o(u){var c=new Promise(function(d,A){s(u,function(p,f){if(p){A(p);return}d(f)})});return c.catch(kn),c}function l(u){var c=new Promise(function(d,A){n(u,function(p,f){if(p){A(p);return}d(f)})});return c.catch(kn),c}function h(){var u=r.drain,c=new Promise(function(d){r.drain=function(){u(),d()}});return c}}Yx.exports=XT;Yx.exports.promise=CU});var GT=Rm((Kx,Zx)=>{(function(a,t){typeof Kx=="object"&&typeof Zx<"u"?Zx.exports=t():typeof define=="function"&&define.amd?define(t):(a=typeof globalThis<"u"?globalThis:a||self,a.html2canvas=t())})(Kx,(function(){"use strict";var a=function(b,v){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var D in _)Object.prototype.hasOwnProperty.call(_,D)&&(C[D]=_[D])},a(b,v)};function t(b,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");a(b,v);function C(){this.constructor=b}b.prototype=v===null?Object.create(v):(C.prototype=v.prototype,new C)}var e=function(){return e=Object.assign||function(v){for(var C,_=1,D=arguments.length;_<D;_++){C=arguments[_];for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&(v[O]=C[O])}return v},e.apply(this,arguments)};function i(b,v,C,_){function D(O){return O instanceof C?O:new C(function(H){H(O)})}return new(C||(C=Promise))(function(O,H){function W(ne){try{ae(_.next(ne))}catch(Ae){H(Ae)}}function j(ne){try{ae(_.throw(ne))}catch(Ae){H(Ae)}}function ae(ne){ne.done?O(ne.value):D(ne.value).then(W,j)}ae((_=_.apply(b,v||[])).next())})}function r(b,v){var C={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]},_,D,O,H;return H={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(H[Symbol.iterator]=function(){return this}),H;function W(ae){return function(ne){return j([ae,ne])}}function j(ae){if(_)throw new TypeError("Generator is already executing.");for(;C;)try{if(_=1,D&&(O=ae[0]&2?D.return:ae[0]?D.throw||((O=D.return)&&O.call(D),0):D.next)&&!(O=O.call(D,ae[1])).done)return O;switch(D=0,O&&(ae=[ae[0]&2,O.value]),ae[0]){case 0:case 1:O=ae;break;case 4:return C.label++,{value:ae[1],done:!1};case 5:C.label++,D=ae[1],ae=[0];continue;case 7:ae=C.ops.pop(),C.trys.pop();continue;default:if(O=C.trys,!(O=O.length>0&&O[O.length-1])&&(ae[0]===6||ae[0]===2)){C=0;continue}if(ae[0]===3&&(!O||ae[1]>O[0]&&ae[1]<O[3])){C.label=ae[1];break}if(ae[0]===6&&C.label<O[1]){C.label=O[1],O=ae;break}if(O&&C.label<O[2]){C.label=O[2],C.ops.push(ae);break}O[2]&&C.ops.pop(),C.trys.pop();continue}ae=v.call(b,C)}catch(ne){ae=[6,ne],D=0}finally{_=O=0}if(ae[0]&5)throw ae[1];return{value:ae[0]?ae[1]:void 0,done:!0}}}function s(b,v,C){if(C||arguments.length===2)for(var _=0,D=v.length,O;_<D;_++)(O||!(_ in v))&&(O||(O=Array.prototype.slice.call(v,0,_)),O[_]=v[_]);return b.concat(O||v)}for(var n=(function(){function b(v,C,_,D){this.left=v,this.top=C,this.width=_,this.height=D}return b.prototype.add=function(v,C,_,D){return new b(this.left+v,this.top+C,this.width+_,this.height+D)},b.fromClientRect=function(v,C){return new b(C.left+v.windowBounds.left,C.top+v.windowBounds.top,C.width,C.height)},b.fromDOMRectList=function(v,C){var _=Array.from(C).find(function(D){return D.width!==0});return _?new b(_.left+v.windowBounds.left,_.top+v.windowBounds.top,_.width,_.height):b.EMPTY},b.EMPTY=new b(0,0,0,0),b})(),o=function(b,v){return n.fromClientRect(b,v.getBoundingClientRect())},l=function(b){var v=b.body,C=b.documentElement;if(!v||!C)throw new Error("Unable to get document size");var _=Math.max(Math.max(v.scrollWidth,C.scrollWidth),Math.max(v.offsetWidth,C.offsetWidth),Math.max(v.clientWidth,C.clientWidth)),D=Math.max(Math.max(v.scrollHeight,C.scrollHeight),Math.max(v.offsetHeight,C.offsetHeight),Math.max(v.clientHeight,C.clientHeight));return new n(0,0,_,D)},h=function(b){for(var v=[],C=0,_=b.length;C<_;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<_){var O=b.charCodeAt(C++);(O&64512)===56320?v.push(((D&1023)<<10)+(O&1023)+65536):(v.push(D),C--)}else v.push(D)}return v},u=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];if(String.fromCodePoint)return String.fromCodePoint.apply(String,b);var C=b.length;if(!C)return"";for(var _=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?_.push(H):(H-=65536,_.push((H>>10)+55296,H%1024+56320)),(D+1===C||_.length>16384)&&(O+=String.fromCharCode.apply(String,_),_.length=0)}return O},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array>"u"?[]:new Uint8Array(256),A=0;A<c.length;A++)d[c.charCodeAt(A)]=A;for(var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=typeof Uint8Array>"u"?[]:new Uint8Array(256),m=0;m<p.length;m++)f[p.charCodeAt(m)]=m;for(var g=function(b){var v=b.length*.75,C=b.length,_,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var ae=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),ne=Array.isArray(ae)?ae:new Uint8Array(ae);for(_=0;_<C;_+=4)O=f[b.charCodeAt(_)],H=f[b.charCodeAt(_+1)],W=f[b.charCodeAt(_+2)],j=f[b.charCodeAt(_+3)],ne[D++]=O<<2|H>>4,ne[D++]=(H&15)<<4|W>>2,ne[D++]=(W&3)<<6|j&63;return ae},y=function(b){for(var v=b.length,C=[],_=0;_<v;_+=2)C.push(b[_+1]<<8|b[_]);return C},x=function(b){for(var v=b.length,C=[],_=0;_<v;_+=4)C.push(b[_+3]<<24|b[_+2]<<16|b[_+1]<<8|b[_]);return C},w=5,S=11,T=2,F=S-w,L=65536>>w,$=1<<w,I=$-1,U=1024>>w,P=L+U,Q=P,Y=32,G=Q+Y,ee=65536>>S,te=1<<F,le=te-1,z=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},K=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},we=function(b,v){var C=g(b),_=Array.isArray(C)?x(C):new Uint32Array(C),D=Array.isArray(C)?y(C):new Uint16Array(C),O=24,H=z(D,O/2,_[4]/2),W=_[5]===2?z(D,(O+_[4])/2):K(_,Math.ceil((O+_[4])/4));return new se(_[0],_[1],_[2],_[3],H,W)},se=(function(){function b(v,C,_,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=_,this.highValueIndex=D,this.index=O,this.data=H}return b.prototype.get=function(v){var C;if(v>=0){if(v<55296||v>56319&&v<=65535)return C=this.index[v>>w],C=(C<<T)+(v&I),this.data[C];if(v<=65535)return C=this.index[L+(v-55296>>w)],C=(C<<T)+(v&I),this.data[C];if(v<this.highStart)return C=G-ee+(v>>S),C=this.index[C],C+=v>>w&le,C=this.index[C],C=(C<<T)+(v&I),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$e=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ye=0;Ye<de.length;Ye++)$e[de.charCodeAt(Ye)]=Ye;var We="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsByw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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMA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IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB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gAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0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AAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXA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XAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwB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ABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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gAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJ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wBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",qe=50,Tt=1,At=2,_i=3,Bi=4,R=5,Be=7,ye=8,q=9,X=10,oe=11,De=12,Le=13,pe=14,Oe=15,Je=16,Me=17,_t=18,Yi=19,di=20,ys=21,Si=22,Zr=23,yr=24,Fi=25,Po=26,vl=27,aa=28,Jf=29,bl=30,eb=31,qc=32,wu=33,xl=34,lh=35,tb=36,LA=37,ib=38,em=39,tm=40,rb=41,dB=42,_$=43,C$=[9001,65288],AB="!",Ci="\xD7",im="\xF7",sb=we(We),_l=[bl,tb],ab=[Tt,At,_i,R],pB=[X,ye],fB=[vl,Po],w$=ab.concat(pB),mB=[ib,em,tm,xl,lh],B$=[Oe,Le],S$=function(b,v){v===void 0&&(v="strict");var C=[],_=[],D=[];return b.forEach(function(O,H){var W=sb.get(O);if(W>qe?(D.push(!0),W-=qe):D.push(!1),["normal","auto","loose"].indexOf(v)!==-1&&[8208,8211,12316,12448].indexOf(O)!==-1)return _.push(H),C.push(Je);if(W===Bi||W===oe){if(H===0)return _.push(H),C.push(bl);var j=C[H-1];return w$.indexOf(j)===-1?(_.push(_[H-1]),C.push(j)):(_.push(H),C.push(bl))}if(_.push(H),W===eb)return C.push(v==="strict"?ys:LA);if(W===dB||W===Jf)return C.push(bl);if(W===_$)return O>=131072&&O<=196605||O>=196608&&O<=262141?C.push(LA):C.push(bl);C.push(W)}),[_,C,D]},nb=function(b,v,C,_){var D=_[C];if(Array.isArray(b)?b.indexOf(D)!==-1:b===D)for(var O=C;O<=_.length;){O++;var H=_[O];if(H===v)return!0;if(H!==X)break}if(D===X)for(var O=C;O>0;){O--;var W=_[O];if(Array.isArray(b)?b.indexOf(W)!==-1:b===W)for(var j=C;j<=_.length;){j++;var H=_[j];if(H===v)return!0;if(H!==X)break}if(W!==X)break}return!1},gB=function(b,v){for(var C=b;C>=0;){var _=v[C];if(_===X)C--;else return _}return 0},F$=function(b,v,C,_,D){if(C[_]===0)return Ci;var O=_-1;if(Array.isArray(D)&&D[O]===!0)return Ci;var H=O-1,W=O+1,j=v[O],ae=H>=0?v[H]:0,ne=v[W];if(j===At&&ne===_i)return Ci;if(ab.indexOf(j)!==-1)return AB;if(ab.indexOf(ne)!==-1||pB.indexOf(ne)!==-1)return Ci;if(gB(O,v)===ye)return im;if(sb.get(b[O])===oe||(j===qc||j===wu)&&sb.get(b[W])===oe||j===Be||ne===Be||j===q||[X,Le,Oe].indexOf(j)===-1&&ne===q||[Me,_t,Yi,yr,aa].indexOf(ne)!==-1||gB(O,v)===Si||nb(Zr,Si,O,v)||nb([Me,_t],ys,O,v)||nb(De,De,O,v))return Ci;if(j===X)return im;if(j===Zr||ne===Zr)return Ci;if(ne===Je||j===Je)return im;if([Le,Oe,ys].indexOf(ne)!==-1||j===pe||ae===tb&&B$.indexOf(j)!==-1||j===aa&&ne===tb||ne===di||_l.indexOf(ne)!==-1&&j===Fi||_l.indexOf(j)!==-1&&ne===Fi||j===vl&&[LA,qc,wu].indexOf(ne)!==-1||[LA,qc,wu].indexOf(j)!==-1&&ne===Po||_l.indexOf(j)!==-1&&fB.indexOf(ne)!==-1||fB.indexOf(j)!==-1&&_l.indexOf(ne)!==-1||[vl,Po].indexOf(j)!==-1&&(ne===Fi||[Si,Oe].indexOf(ne)!==-1&&v[W+1]===Fi)||[Si,Oe].indexOf(j)!==-1&&ne===Fi||j===Fi&&[Fi,aa,yr].indexOf(ne)!==-1)return Ci;if([Fi,aa,yr,Me,_t].indexOf(ne)!==-1)for(var Ae=O;Ae>=0;){var _e=v[Ae];if(_e===Fi)return Ci;if([aa,yr].indexOf(_e)!==-1)Ae--;else break}if([vl,Po].indexOf(ne)!==-1)for(var Ae=[Me,_t].indexOf(j)!==-1?H:O;Ae>=0;){var _e=v[Ae];if(_e===Fi)return Ci;if([aa,yr].indexOf(_e)!==-1)Ae--;else break}if(ib===j&&[ib,em,xl,lh].indexOf(ne)!==-1||[em,xl].indexOf(j)!==-1&&[em,tm].indexOf(ne)!==-1||[tm,lh].indexOf(j)!==-1&&ne===tm||mB.indexOf(j)!==-1&&[di,Po].indexOf(ne)!==-1||mB.indexOf(ne)!==-1&&j===vl||_l.indexOf(j)!==-1&&_l.indexOf(ne)!==-1||j===yr&&_l.indexOf(ne)!==-1||_l.concat(Fi).indexOf(j)!==-1&&ne===Si&&C$.indexOf(b[W])===-1||_l.concat(Fi).indexOf(ne)!==-1&&j===_t)return Ci;if(j===rb&&ne===rb){for(var lt=C[O],Ue=1;lt>0&&(lt--,v[lt]===rb);)Ue++;if(Ue%2!==0)return Ci}return j===qc&&ne===wu?Ci:im},T$=function(b,v){v||(v={lineBreak:"normal",wordBreak:"normal"});var C=S$(b,v.lineBreak),_=C[0],D=C[1],O=C[2];(v.wordBreak==="break-all"||v.wordBreak==="break-word")&&(D=D.map(function(W){return[Fi,bl,dB].indexOf(W)!==-1?LA:W}));var H=v.wordBreak==="keep-all"?O.map(function(W,j){return W&&b[j]>=19968&&b[j]<=40959}):void 0;return[_,D,H]},P$=(function(){function b(v,C,_,D){this.codePoints=v,this.required=C===AB,this.start=_,this.end=D}return b.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},b})(),D$=function(b,v){var C=h(b),_=T$(C,v),D=_[0],O=_[1],H=_[2],W=C.length,j=0,ae=0;return{next:function(){if(ae>=W)return{done:!0,value:null};for(var ne=Ci;ae<W&&(ne=F$(C,O,D,++ae,H))===Ci;);if(ne!==Ci||ae===W){var Ae=new P$(C,ne,j,ae);return j=ae,{value:Ae,done:!1}}return{done:!0,value:null}}}},L$=1,I$=2,IA=4,yB=8,rm=10,vB=47,kA=92,k$=9,$$=32,sm=34,$A=61,O$=35,E$=36,M$=37,am=39,nm=40,OA=41,R$=95,$a=45,U$=33,V$=60,N$=62,Q$=64,H$=91,j$=93,W$=61,X$=123,om=63,z$=125,bB=124,G$=126,Y$=128,xB=65533,ob=42,Bu=43,K$=44,Z$=58,q$=59,EA=46,J$=0,eO=8,tO=11,iO=14,rO=31,sO=127,Do=-1,_B=48,CB=97,wB=101,aO=102,nO=117,oO=122,BB=65,SB=69,FB=70,lO=85,hO=90,na=function(b){return b>=_B&&b<=57},uO=function(b){return b>=55296&&b<=57343},Jc=function(b){return na(b)||b>=BB&&b<=FB||b>=CB&&b<=aO},cO=function(b){return b>=CB&&b<=oO},dO=function(b){return b>=BB&&b<=hO},AO=function(b){return cO(b)||dO(b)},pO=function(b){return b>=Y$},lm=function(b){return b===rm||b===k$||b===$$},hm=function(b){return AO(b)||pO(b)||b===R$},TB=function(b){return hm(b)||na(b)||b===$a},fO=function(b){return b>=J$&&b<=eO||b===tO||b>=iO&&b<=rO||b===sO},hh=function(b,v){return b!==kA?!1:v!==rm},um=function(b,v,C){return b===$a?hm(v)||hh(v,C):hm(b)?!0:!!(b===kA&&hh(b,v))},lb=function(b,v,C){return b===Bu||b===$a?na(v)?!0:v===EA&&na(C):na(b===EA?v:b)},mO=function(b){var v=0,C=1;(b[v]===Bu||b[v]===$a)&&(b[v]===$a&&(C=-1),v++);for(var _=[];na(b[v]);)_.push(b[v++]);var D=_.length?parseInt(u.apply(void 0,_),10):0;b[v]===EA&&v++;for(var O=[];na(b[v]);)O.push(b[v++]);var H=O.length,W=H?parseInt(u.apply(void 0,O),10):0;(b[v]===SB||b[v]===wB)&&v++;var j=1;(b[v]===Bu||b[v]===$a)&&(b[v]===$a&&(j=-1),v++);for(var ae=[];na(b[v]);)ae.push(b[v++]);var ne=ae.length?parseInt(u.apply(void 0,ae),10):0;return C*(D+W*Math.pow(10,-H))*Math.pow(10,j*ne)},gO={type:2},yO={type:3},vO={type:4},bO={type:13},xO={type:8},_O={type:21},CO={type:9},wO={type:10},BO={type:11},SO={type:12},FO={type:14},cm={type:23},TO={type:1},PO={type:25},DO={type:24},LO={type:26},IO={type:27},kO={type:28},$O={type:29},OO={type:31},hb={type:32},PB=(function(){function b(){this._value=[]}return b.prototype.write=function(v){this._value=this._value.concat(h(v))},b.prototype.read=function(){for(var v=[],C=this.consumeToken();C!==hb;)v.push(C),C=this.consumeToken();return v},b.prototype.consumeToken=function(){var v=this.consumeCodePoint();switch(v){case sm:return this.consumeStringToken(sm);case O$:var C=this.peekCodePoint(0),_=this.peekCodePoint(1),D=this.peekCodePoint(2);if(TB(C)||hh(_,D)){var O=um(C,_,D)?I$:L$,H=this.consumeName();return{type:5,value:H,flags:O}}break;case E$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),bO;break;case am:return this.consumeStringToken(am);case nm:return gO;case OA:return yO;case ob:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),FO;break;case Bu:if(lb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case K$:return vO;case $a:var W=v,j=this.peekCodePoint(0),ae=this.peekCodePoint(1);if(lb(W,j,ae))return this.reconsumeCodePoint(v),this.consumeNumericToken();if(um(W,j,ae))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();if(j===$a&&ae===N$)return this.consumeCodePoint(),this.consumeCodePoint(),DO;break;case EA:if(lb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case vB:if(this.peekCodePoint(0)===ob)for(this.consumeCodePoint();;){var ne=this.consumeCodePoint();if(ne===ob&&(ne=this.consumeCodePoint(),ne===vB))return this.consumeToken();if(ne===Do)return this.consumeToken()}break;case Z$:return LO;case q$:return IO;case V$:if(this.peekCodePoint(0)===U$&&this.peekCodePoint(1)===$a&&this.peekCodePoint(2)===$a)return this.consumeCodePoint(),this.consumeCodePoint(),PO;break;case Q$:var Ae=this.peekCodePoint(0),_e=this.peekCodePoint(1),lt=this.peekCodePoint(2);if(um(Ae,_e,lt)){var H=this.consumeName();return{type:7,value:H}}break;case H$:return kO;case kA:if(hh(v,this.peekCodePoint(0)))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();break;case j$:return $O;case W$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),xO;break;case X$:return BO;case z$:return SO;case nO:case lO:var Ue=this.peekCodePoint(0),Ze=this.peekCodePoint(1);return Ue===Bu&&(Jc(Ze)||Ze===om)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(v),this.consumeIdentLikeToken();case bB:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),CO;if(this.peekCodePoint(0)===bB)return this.consumeCodePoint(),_O;break;case G$:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),wO;break;case Do:return hb}return lm(v)?(this.consumeWhiteSpace(),OO):na(v)?(this.reconsumeCodePoint(v),this.consumeNumericToken()):hm(v)?(this.reconsumeCodePoint(v),this.consumeIdentLikeToken()):{type:6,value:u(v)}},b.prototype.consumeCodePoint=function(){var v=this._value.shift();return typeof v>"u"?-1:v},b.prototype.reconsumeCodePoint=function(v){this._value.unshift(v)},b.prototype.peekCodePoint=function(v){return v>=this._value.length?-1:this._value[v]},b.prototype.consumeUnicodeRangeToken=function(){for(var v=[],C=this.consumeCodePoint();Jc(C)&&v.length<6;)v.push(C),C=this.consumeCodePoint();for(var _=!1;C===om&&v.length<6;)v.push(C),C=this.consumeCodePoint(),_=!0;if(_){var D=parseInt(u.apply(void 0,v.map(function(j){return j===om?_B:j})),16),O=parseInt(u.apply(void 0,v.map(function(j){return j===om?FB:j})),16);return{type:30,start:D,end:O}}var H=parseInt(u.apply(void 0,v),16);if(this.peekCodePoint(0)===$a&&Jc(this.peekCodePoint(1))){this.consumeCodePoint(),C=this.consumeCodePoint();for(var W=[];Jc(C)&&W.length<6;)W.push(C),C=this.consumeCodePoint();var O=parseInt(u.apply(void 0,W),16);return{type:30,start:H,end:O}}else return{type:30,start:H,end:H}},b.prototype.consumeIdentLikeToken=function(){var v=this.consumeName();return v.toLowerCase()==="url"&&this.peekCodePoint(0)===nm?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===nm?(this.consumeCodePoint(),{type:19,value:v}):{type:20,value:v}},b.prototype.consumeUrlToken=function(){var v=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Do)return{type:22,value:""};var C=this.peekCodePoint(0);if(C===am||C===sm){var _=this.consumeStringToken(this.consumeCodePoint());return _.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Do||this.peekCodePoint(0)===OA)?(this.consumeCodePoint(),{type:22,value:_.value}):(this.consumeBadUrlRemnants(),cm)}for(;;){var D=this.consumeCodePoint();if(D===Do||D===OA)return{type:22,value:u.apply(void 0,v)};if(lm(D))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Do||this.peekCodePoint(0)===OA?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,v)}):(this.consumeBadUrlRemnants(),cm);if(D===sm||D===am||D===nm||fO(D))return this.consumeBadUrlRemnants(),cm;if(D===kA)if(hh(D,this.peekCodePoint(0)))v.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),cm;else v.push(D)}},b.prototype.consumeWhiteSpace=function(){for(;lm(this.peekCodePoint(0));)this.consumeCodePoint()},b.prototype.consumeBadUrlRemnants=function(){for(;;){var v=this.consumeCodePoint();if(v===OA||v===Do)return;hh(v,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},b.prototype.consumeStringSlice=function(v){for(var C=5e4,_="";v>0;){var D=Math.min(C,v);_+=u.apply(void 0,this._value.splice(0,D)),v-=D}return this._value.shift(),_},b.prototype.consumeStringToken=function(v){var C="",_=0;do{var D=this._value[_];if(D===Do||D===void 0||D===v)return C+=this.consumeStringSlice(_),{type:0,value:C};if(D===rm)return this._value.splice(0,_),TO;if(D===kA){var O=this._value[_+1];O!==Do&&O!==void 0&&(O===rm?(C+=this.consumeStringSlice(_),_=-1,this._value.shift()):hh(D,O)&&(C+=this.consumeStringSlice(_),C+=u(this.consumeEscapedCodePoint()),_=-1))}_++}while(!0)},b.prototype.consumeNumber=function(){var v=[],C=IA,_=this.peekCodePoint(0);for((_===Bu||_===$a)&&v.push(this.consumeCodePoint());na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());_=this.peekCodePoint(0);var D=this.peekCodePoint(1);if(_===EA&&na(D))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=yB;na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());_=this.peekCodePoint(0),D=this.peekCodePoint(1);var O=this.peekCodePoint(2);if((_===SB||_===wB)&&((D===Bu||D===$a)&&na(O)||na(D)))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=yB;na(this.peekCodePoint(0));)v.push(this.consumeCodePoint());return[mO(v),C]},b.prototype.consumeNumericToken=function(){var v=this.consumeNumber(),C=v[0],_=v[1],D=this.peekCodePoint(0),O=this.peekCodePoint(1),H=this.peekCodePoint(2);if(um(D,O,H)){var W=this.consumeName();return{type:15,number:C,flags:_,unit:W}}return D===M$?(this.consumeCodePoint(),{type:16,number:C,flags:_}):{type:17,number:C,flags:_}},b.prototype.consumeEscapedCodePoint=function(){var v=this.consumeCodePoint();if(Jc(v)){for(var C=u(v);Jc(this.peekCodePoint(0))&&C.length<6;)C+=u(this.consumeCodePoint());lm(this.peekCodePoint(0))&&this.consumeCodePoint();var _=parseInt(C,16);return _===0||uO(_)||_>1114111?xB:_}return v===Do?xB:v},b.prototype.consumeName=function(){for(var v="";;){var C=this.consumeCodePoint();if(TB(C))v+=u(C);else if(hh(C,this.peekCodePoint(0)))v+=u(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(C),v}},b})(),DB=(function(){function b(v){this._tokens=v}return b.create=function(v){var C=new PB;return C.write(v),new b(C.read())},b.parseValue=function(v){return b.create(v).parseComponentValue()},b.parseValues=function(v){return b.create(v).parseComponentValues()},b.prototype.parseComponentValue=function(){for(var v=this.consumeToken();v.type===31;)v=this.consumeToken();if(v.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(v);var C=this.consumeComponentValue();do v=this.consumeToken();while(v.type===31);if(v.type===32)return C;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},b.prototype.parseComponentValues=function(){for(var v=[];;){var C=this.consumeComponentValue();if(C.type===32)return v;v.push(C),v.push()}},b.prototype.consumeComponentValue=function(){var v=this.consumeToken();switch(v.type){case 11:case 28:case 2:return this.consumeSimpleBlock(v.type);case 19:return this.consumeFunction(v)}return v},b.prototype.consumeSimpleBlock=function(v){for(var C={type:v,values:[]},_=this.consumeToken();;){if(_.type===32||MO(_,v))return C;this.reconsumeToken(_),C.values.push(this.consumeComponentValue()),_=this.consumeToken()}},b.prototype.consumeFunction=function(v){for(var C={name:v.value,values:[],type:18};;){var _=this.consumeToken();if(_.type===32||_.type===3)return C;this.reconsumeToken(_),C.values.push(this.consumeComponentValue())}},b.prototype.consumeToken=function(){var v=this._tokens.shift();return typeof v>"u"?hb:v},b.prototype.reconsumeToken=function(v){this._tokens.unshift(v)},b})(),MA=function(b){return b.type===15},ed=function(b){return b.type===17},hr=function(b){return b.type===20},EO=function(b){return b.type===0},ub=function(b,v){return hr(b)&&b.value===v},LB=function(b){return b.type!==31},td=function(b){return b.type!==31&&b.type!==4},Lo=function(b){var v=[],C=[];return b.forEach(function(_){if(_.type===4){if(C.length===0)throw new Error("Error parsing function args, zero tokens for arg");v.push(C),C=[];return}_.type!==31&&C.push(_)}),C.length&&v.push(C),v},MO=function(b,v){return v===11&&b.type===12||v===28&&b.type===29?!0:v===2&&b.type===3},uh=function(b){return b.type===17||b.type===15},ls=function(b){return b.type===16||uh(b)},IB=function(b){return b.length>1?[b[0],b[1]]:[b[0]]},js={type:17,number:0,flags:IA},cb={type:16,number:50,flags:IA},ch={type:16,number:100,flags:IA},RA=function(b,v,C){var _=b[0],D=b[1];return[br(_,v),br(typeof D<"u"?D:_,C)]},br=function(b,v){if(b.type===16)return b.number/100*v;if(MA(b))switch(b.unit){case"rem":case"em":return 16*b.number;default:return b.number}return b.number},kB="deg",$B="grad",OB="rad",EB="turn",dm={name:"angle",parse:function(b,v){if(v.type===15)switch(v.unit){case kB:return Math.PI*v.number/180;case $B:return Math.PI/200*v.number;case OB:return v.number;case EB:return Math.PI*2*v.number}throw new Error("Unsupported angle type")}},MB=function(b){return b.type===15&&(b.unit===kB||b.unit===$B||b.unit===OB||b.unit===EB)},RB=function(b){var v=b.filter(hr).map(function(C){return C.value}).join(" ");switch(v){case"to bottom right":case"to right bottom":case"left top":case"top left":return[js,js];case"to top":case"bottom":return Bn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[js,ch];case"to right":case"left":return Bn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ch,ch];case"to bottom":case"top":return Bn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ch,js];case"to left":case"right":return Bn(270)}return 0},Bn=function(b){return Math.PI*b/180},dh={name:"color",parse:function(b,v){if(v.type===18){var C=RO[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported color function "'+v.name+'"');return C(b,v.values)}if(v.type===5){if(v.value.length===3){var _=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3);return ph(parseInt(_+_,16),parseInt(D+D,16),parseInt(O+O,16),1)}if(v.value.length===4){var _=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3),H=v.value.substring(3,4);return ph(parseInt(_+_,16),parseInt(D+D,16),parseInt(O+O,16),parseInt(H+H,16)/255)}if(v.value.length===6){var _=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6);return ph(parseInt(_,16),parseInt(D,16),parseInt(O,16),1)}if(v.value.length===8){var _=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6),H=v.value.substring(6,8);return ph(parseInt(_,16),parseInt(D,16),parseInt(O,16),parseInt(H,16)/255)}}if(v.type===20){var W=Cl[v.value.toUpperCase()];if(typeof W<"u")return W}return Cl.TRANSPARENT}},Ah=function(b){return(255&b)===0},Is=function(b){var v=255&b,C=255&b>>8,_=255&b>>16,D=255&b>>24;return v<255?"rgba("+D+","+_+","+C+","+v/255+")":"rgb("+D+","+_+","+C+")"},ph=function(b,v,C,_){return(b<<24|v<<16|C<<8|Math.round(_*255)<<0)>>>0},UB=function(b,v){if(b.type===17)return b.number;if(b.type===16){var C=v===3?1:255;return v===3?b.number/100*C:Math.round(b.number/100*C)}return 0},VB=function(b,v){var C=v.filter(td);if(C.length===3){var _=C.map(UB),D=_[0],O=_[1],H=_[2];return ph(D,O,H,1)}if(C.length===4){var W=C.map(UB),D=W[0],O=W[1],H=W[2],j=W[3];return ph(D,O,H,j)}return 0};function db(b,v,C){return C<0&&(C+=1),C>=1&&(C-=1),C<1/6?(v-b)*C*6+b:C<1/2?v:C<2/3?(v-b)*6*(2/3-C)+b:b}var NB=function(b,v){var C=v.filter(td),_=C[0],D=C[1],O=C[2],H=C[3],W=(_.type===17?Bn(_.number):dm.parse(b,_))/(Math.PI*2),j=ls(D)?D.number/100:0,ae=ls(O)?O.number/100:0,ne=typeof H<"u"&&ls(H)?br(H,1):1;if(j===0)return ph(ae*255,ae*255,ae*255,1);var Ae=ae<=.5?ae*(j+1):ae+j-ae*j,_e=ae*2-Ae,lt=db(_e,Ae,W+1/3),Ue=db(_e,Ae,W),Ze=db(_e,Ae,W-1/3);return ph(lt*255,Ue*255,Ze*255,ne)},RO={hsl:NB,hsla:NB,rgb:VB,rgba:VB},UA=function(b,v){return dh.parse(b,DB.create(v).parseComponentValue())},Cl={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},UO={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(hr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},VO={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Am=function(b,v){var C=dh.parse(b,v[0]),_=v[1];return _&&ls(_)?{color:C,stop:_}:{color:C,stop:null}},QB=function(b,v){var C=b[0],_=b[b.length-1];C.stop===null&&(C.stop=js),_.stop===null&&(_.stop=ch);for(var D=[],O=0,H=0;H<b.length;H++){var W=b[H].stop;if(W!==null){var j=br(W,v);j>O?D.push(j):D.push(O),O=j}else D.push(null)}for(var ae=null,H=0;H<D.length;H++){var ne=D[H];if(ne===null)ae===null&&(ae=H);else if(ae!==null){for(var Ae=H-ae,_e=D[ae-1],lt=(ne-_e)/(Ae+1),Ue=1;Ue<=Ae;Ue++)D[ae+Ue-1]=lt*Ue;ae=null}}return b.map(function(Ze,ii){var bt=Ze.color;return{color:bt,stop:Math.max(Math.min(1,D[ii]/v),0)}})},NO=function(b,v,C){var _=v/2,D=C/2,O=br(b[0],v)-_,H=D-br(b[1],C);return(Math.atan2(H,O)+Math.PI*2)%(Math.PI*2)},QO=function(b,v,C){var _=typeof b=="number"?b:NO(b,v,C),D=Math.abs(v*Math.sin(_))+Math.abs(C*Math.cos(_)),O=v/2,H=C/2,W=D/2,j=Math.sin(_-Math.PI/2)*W,ae=Math.cos(_-Math.PI/2)*W;return[D,O-ae,O+ae,H-j,H+j]},to=function(b,v){return Math.sqrt(b*b+v*v)},HB=function(b,v,C,_,D){var O=[[0,0],[0,v],[b,0],[b,v]];return O.reduce(function(H,W){var j=W[0],ae=W[1],ne=to(C-j,_-ae);return(D?ne<H.optimumDistance:ne>H.optimumDistance)?{optimumCorner:W,optimumDistance:ne}:H},{optimumDistance:D?1/0:-1/0,optimumCorner:null}).optimumCorner},HO=function(b,v,C,_,D){var O=0,H=0;switch(b.size){case 0:b.shape===0?O=H=Math.min(Math.abs(v),Math.abs(v-_),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.min(Math.abs(v),Math.abs(v-_)),H=Math.min(Math.abs(C),Math.abs(C-D)));break;case 2:if(b.shape===0)O=H=Math.min(to(v,C),to(v,C-D),to(v-_,C),to(v-_,C-D));else if(b.shape===1){var W=Math.min(Math.abs(C),Math.abs(C-D))/Math.min(Math.abs(v),Math.abs(v-_)),j=HB(_,D,v,C,!0),ae=j[0],ne=j[1];O=to(ae-v,(ne-C)/W),H=W*O}break;case 1:b.shape===0?O=H=Math.max(Math.abs(v),Math.abs(v-_),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.max(Math.abs(v),Math.abs(v-_)),H=Math.max(Math.abs(C),Math.abs(C-D)));break;case 3:if(b.shape===0)O=H=Math.max(to(v,C),to(v,C-D),to(v-_,C),to(v-_,C-D));else if(b.shape===1){var W=Math.max(Math.abs(C),Math.abs(C-D))/Math.max(Math.abs(v),Math.abs(v-_)),Ae=HB(_,D,v,C,!1),ae=Ae[0],ne=Ae[1];O=to(ae-v,(ne-C)/W),H=W*O}break}return Array.isArray(b.size)&&(O=br(b.size[0],_),H=b.size.length===2?br(b.size[1],D):O),[O,H]},jO=function(b,v){var C=Bn(180),_=[];return Lo(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&H.value==="to"){C=RB(D);return}else if(MB(H)){C=dm.parse(b,H);return}}var W=Am(b,D);_.push(W)}),{angle:C,stops:_,type:1}},pm=function(b,v){var C=Bn(180),_=[];return Lo(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&["top","left","right","bottom"].indexOf(H.value)!==-1){C=RB(D);return}else if(MB(H)){C=(dm.parse(b,H)+Bn(270))%Bn(360);return}}var W=Am(b,D);_.push(W)}),{angle:C,stops:_,type:1}},WO=function(b,v){var C=Bn(180),_=[],D=1,O=0,H=3,W=[];return Lo(v).forEach(function(j,ae){var ne=j[0];if(ae===0){if(hr(ne)&&ne.value==="linear"){D=1;return}else if(hr(ne)&&ne.value==="radial"){D=2;return}}if(ne.type===18){if(ne.name==="from"){var Ae=dh.parse(b,ne.values[0]);_.push({stop:js,color:Ae})}else if(ne.name==="to"){var Ae=dh.parse(b,ne.values[0]);_.push({stop:ch,color:Ae})}else if(ne.name==="color-stop"){var _e=ne.values.filter(td);if(_e.length===2){var Ae=dh.parse(b,_e[1]),lt=_e[0];ed(lt)&&_.push({stop:{type:16,number:lt.number*100,flags:lt.flags},color:Ae})}}}}),D===1?{angle:(C+Bn(180))%Bn(360),stops:_,type:D}:{size:H,shape:O,stops:_,position:W,type:D}},jB="closest-side",WB="farthest-side",XB="closest-corner",zB="farthest-corner",GB="circle",YB="ellipse",KB="cover",ZB="contain",XO=function(b,v){var C=0,_=3,D=[],O=[];return Lo(v).forEach(function(H,W){var j=!0;if(W===0){var ae=!1;j=H.reduce(function(Ae,_e){if(ae)if(hr(_e))switch(_e.value){case"center":return O.push(cb),Ae;case"top":case"left":return O.push(js),Ae;case"right":case"bottom":return O.push(ch),Ae}else(ls(_e)||uh(_e))&&O.push(_e);else if(hr(_e))switch(_e.value){case GB:return C=0,!1;case YB:return C=1,!1;case"at":return ae=!0,!1;case jB:return _=0,!1;case KB:case WB:return _=1,!1;case ZB:case XB:return _=2,!1;case zB:return _=3,!1}else if(uh(_e)||ls(_e))return Array.isArray(_)||(_=[]),_.push(_e),!1;return Ae},j)}if(j){var ne=Am(b,H);D.push(ne)}}),{size:_,shape:C,stops:D,position:O,type:2}},fm=function(b,v){var C=0,_=3,D=[],O=[];return Lo(v).forEach(function(H,W){var j=!0;if(W===0?j=H.reduce(function(ne,Ae){if(hr(Ae))switch(Ae.value){case"center":return O.push(cb),!1;case"top":case"left":return O.push(js),!1;case"right":case"bottom":return O.push(ch),!1}else if(ls(Ae)||uh(Ae))return O.push(Ae),!1;return ne},j):W===1&&(j=H.reduce(function(ne,Ae){if(hr(Ae))switch(Ae.value){case GB:return C=0,!1;case YB:return C=1,!1;case ZB:case jB:return _=0,!1;case WB:return _=1,!1;case XB:return _=2,!1;case KB:case zB:return _=3,!1}else if(uh(Ae)||ls(Ae))return Array.isArray(_)||(_=[]),_.push(Ae),!1;return ne},j)),j){var ae=Am(b,H);D.push(ae)}}),{size:_,shape:C,stops:D,position:O,type:2}},zO=function(b){return b.type===1},GO=function(b){return b.type===2},Ab={name:"image",parse:function(b,v){if(v.type===22){var C={url:v.value,type:0};return b.cache.addImage(v.value),C}if(v.type===18){var _=qB[v.name];if(typeof _>"u")throw new Error('Attempting to parse an unsupported image function "'+v.name+'"');return _(b,v.values)}throw new Error("Unsupported image type "+v.type)}};function YO(b){return!(b.type===20&&b.value==="none")&&(b.type!==18||!!qB[b.name])}var qB={"linear-gradient":jO,"-moz-linear-gradient":pm,"-ms-linear-gradient":pm,"-o-linear-gradient":pm,"-webkit-linear-gradient":pm,"radial-gradient":XO,"-moz-radial-gradient":fm,"-ms-radial-gradient":fm,"-o-radial-gradient":fm,"-webkit-radial-gradient":fm,"-webkit-gradient":WO},KO={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(b,v){if(v.length===0)return[];var C=v[0];return C.type===20&&C.value==="none"?[]:v.filter(function(_){return td(_)&&YO(_)}).map(function(_){return Ab.parse(b,_)})}},ZO={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(hr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qO={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(ls)}).map(IB)}},JO={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(hr).map(function(_){return _.value}).join(" ")}).map(eE)}},eE=function(b){switch(b){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},id;(function(b){b.AUTO="auto",b.CONTAIN="contain",b.COVER="cover"})(id||(id={}));var tE={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(b,v){return Lo(v).map(function(C){return C.filter(iE)})}},iE=function(b){return hr(b)||ls(b)},mm=function(b){return{name:"border-"+b+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rE=mm("top"),sE=mm("right"),aE=mm("bottom"),nE=mm("left"),gm=function(b){return{name:"border-radius-"+b,initialValue:"0 0",prefix:!1,type:1,parse:function(v,C){return IB(C.filter(ls))}}},oE=gm("top-left"),lE=gm("top-right"),hE=gm("bottom-right"),uE=gm("bottom-left"),ym=function(b){return{name:"border-"+b+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(v,C){switch(C){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cE=ym("top"),dE=ym("right"),AE=ym("bottom"),pE=ym("left"),vm=function(b){return{name:"border-"+b+"-width",initialValue:"0",type:0,prefix:!1,parse:function(v,C){return MA(C)?C.number:0}}},fE=vm("top"),mE=vm("right"),gE=vm("bottom"),yE=vm("left"),vE={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bE={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(b,v){return v==="rtl"?1:0}},xE={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).reduce(function(C,_){return C|_E(_.value)},0)}},_E=function(b){switch(b){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},CE={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wE={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(b,v){return v.type===20&&v.value==="normal"?0:v.type===17||v.type===15?v.number:0}},bm;(function(b){b.NORMAL="normal",b.STRICT="strict"})(bm||(bm={}));var BE={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="strict"?bm.STRICT:bm.NORMAL}},SE={name:"line-height",initialValue:"normal",prefix:!1,type:4},JB=function(b,v){return hr(b)&&b.value==="normal"?1.2*v:b.type===17?v*b.number:ls(b)?br(b,v):v},FE={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(b,v){return v.type===20&&v.value==="none"?null:Ab.parse(b,v)}},TE={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(b,v){return v==="inside"?0:1}},pb={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xm=function(b){return{name:"margin-"+b,initialValue:"0",prefix:!1,type:4}},PE=xm("top"),DE=xm("right"),LE=xm("bottom"),IE=xm("left"),kE={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).map(function(C){switch(C.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},$E={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="break-word"?"break-word":"normal"}},_m=function(b){return{name:"padding-"+b,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},OE=_m("top"),EE=_m("right"),ME=_m("bottom"),RE=_m("left"),UE={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(b,v){switch(v){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},VE={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(b,v){switch(v){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},NE={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&ub(v[0],"none")?[]:Lo(v).map(function(C){for(var _={color:Cl.TRANSPARENT,offsetX:js,offsetY:js,blur:js},D=0,O=0;O<C.length;O++){var H=C[O];uh(H)?(D===0?_.offsetX=H:D===1?_.offsetY=H:_.blur=H,D++):_.color=dh.parse(b,H)}return _})}},QE={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},HE={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(b,v){if(v.type===20&&v.value==="none")return null;if(v.type===18){var C=XE[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported transform function "'+v.name+'"');return C(v.values)}return null}},jE=function(b){var v=b.filter(function(C){return C.type===17}).map(function(C){return C.number});return v.length===6?v:null},WE=function(b){var v=b.filter(function(j){return j.type===17}).map(function(j){return j.number}),C=v[0],_=v[1];v[2],v[3];var D=v[4],O=v[5];v[6],v[7],v[8],v[9],v[10],v[11];var H=v[12],W=v[13];return v[14],v[15],v.length===16?[C,_,D,O,H,W]:null},XE={matrix:jE,matrix3d:WE},eS={type:16,number:50,flags:IA},zE=[eS,eS],GE={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(b,v){var C=v.filter(ls);return C.length!==2?zE:[C[0],C[1]]}},YE={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(b,v){switch(v){case"hidden":return 1;case"collapse":return 2;default:return 0}}},VA;(function(b){b.NORMAL="normal",b.BREAK_ALL="break-all",b.KEEP_ALL="keep-all"})(VA||(VA={}));for(var KE={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"break-all":return VA.BREAK_ALL;case"keep-all":return VA.KEEP_ALL;default:return VA.NORMAL}}},ZE={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(b,v){if(v.type===20)return{auto:!0,order:0};if(ed(v))return{auto:!1,order:v.number};throw new Error("Invalid z-index number parsed")}},tS={name:"time",parse:function(b,v){if(v.type===15)switch(v.unit.toLowerCase()){case"s":return 1e3*v.number;case"ms":return v.number}throw new Error("Unsupported time type")}},qE={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(b,v){return ed(v)?v.number:1}},JE={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eM={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(b,v){return v.filter(hr).map(function(C){switch(C.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(C){return C!==0})}},tM={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(b,v){var C=[],_=[];return v.forEach(function(D){switch(D.type){case 20:case 0:C.push(D.value);break;case 17:C.push(D.number.toString());break;case 4:_.push(C.join(" ")),C.length=0;break}}),C.length&&_.push(C.join(" ")),_.map(function(D){return D.indexOf(" ")===-1?D:"'"+D+"'"})}},iM={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},rM={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(b,v){return ed(v)?v.number:hr(v)&&v.value==="bold"?700:400}},sM={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.filter(hr).map(function(C){return C.value})}},aM={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},vs=function(b,v){return(b&v)!==0},nM={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(b,v){if(v.length===0)return[];var C=v[0];return C.type===20&&C.value==="none"?[]:v}},oM={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return null;var C=v[0];if(C.type===20&&C.value==="none")return null;for(var _=[],D=v.filter(LB),O=0;O<D.length;O++){var H=D[O],W=D[O+1];if(H.type===20){var j=W&&ed(W)?W.number:1;_.push({counter:H.value,increment:j})}}return _}},lM={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return[];for(var C=[],_=v.filter(LB),D=0;D<_.length;D++){var O=_[D],H=_[D+1];if(hr(O)&&O.value!=="none"){var W=H&&ed(H)?H.number:0;C.push({counter:O.value,reset:W})}}return C}},hM={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(b,v){return v.filter(MA).map(function(C){return tS.parse(b,C)})}},uM={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return null;var C=v[0];if(C.type===20&&C.value==="none")return null;var _=[],D=v.filter(EO);if(D.length%2!==0)return null;for(var O=0;O<D.length;O+=2){var H=D[O].value,W=D[O+1].value;_.push({open:H,close:W})}return _}},iS=function(b,v,C){if(!b)return"";var _=b[Math.min(v,b.length-1)];return _?C?_.open:_.close:""},cM={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&ub(v[0],"none")?[]:Lo(v).map(function(C){for(var _={color:255,offsetX:js,offsetY:js,blur:js,spread:js,inset:!1},D=0,O=0;O<C.length;O++){var H=C[O];ub(H,"inset")?_.inset=!0:uh(H)?(D===0?_.offsetX=H:D===1?_.offsetY=H:D===2?_.blur=H:_.spread=H,D++):_.color=dh.parse(b,H)}return _})}},dM={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(b,v){var C=[0,1,2],_=[];return v.filter(hr).forEach(function(D){switch(D.value){case"stroke":_.push(1);break;case"fill":_.push(0);break;case"markers":_.push(2);break}}),C.forEach(function(D){_.indexOf(D)===-1&&_.push(D)}),_}},AM={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pM={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(b,v){return MA(v)?v.number:0}},fM=(function(){function b(v,C){var _,D;this.animationDuration=dt(v,hM,C.animationDuration),this.backgroundClip=dt(v,UO,C.backgroundClip),this.backgroundColor=dt(v,VO,C.backgroundColor),this.backgroundImage=dt(v,KO,C.backgroundImage),this.backgroundOrigin=dt(v,ZO,C.backgroundOrigin),this.backgroundPosition=dt(v,qO,C.backgroundPosition),this.backgroundRepeat=dt(v,JO,C.backgroundRepeat),this.backgroundSize=dt(v,tE,C.backgroundSize),this.borderTopColor=dt(v,rE,C.borderTopColor),this.borderRightColor=dt(v,sE,C.borderRightColor),this.borderBottomColor=dt(v,aE,C.borderBottomColor),this.borderLeftColor=dt(v,nE,C.borderLeftColor),this.borderTopLeftRadius=dt(v,oE,C.borderTopLeftRadius),this.borderTopRightRadius=dt(v,lE,C.borderTopRightRadius),this.borderBottomRightRadius=dt(v,hE,C.borderBottomRightRadius),this.borderBottomLeftRadius=dt(v,uE,C.borderBottomLeftRadius),this.borderTopStyle=dt(v,cE,C.borderTopStyle),this.borderRightStyle=dt(v,dE,C.borderRightStyle),this.borderBottomStyle=dt(v,AE,C.borderBottomStyle),this.borderLeftStyle=dt(v,pE,C.borderLeftStyle),this.borderTopWidth=dt(v,fE,C.borderTopWidth),this.borderRightWidth=dt(v,mE,C.borderRightWidth),this.borderBottomWidth=dt(v,gE,C.borderBottomWidth),this.borderLeftWidth=dt(v,yE,C.borderLeftWidth),this.boxShadow=dt(v,cM,C.boxShadow),this.color=dt(v,vE,C.color),this.direction=dt(v,bE,C.direction),this.display=dt(v,xE,C.display),this.float=dt(v,CE,C.cssFloat),this.fontFamily=dt(v,tM,C.fontFamily),this.fontSize=dt(v,iM,C.fontSize),this.fontStyle=dt(v,aM,C.fontStyle),this.fontVariant=dt(v,sM,C.fontVariant),this.fontWeight=dt(v,rM,C.fontWeight),this.letterSpacing=dt(v,wE,C.letterSpacing),this.lineBreak=dt(v,BE,C.lineBreak),this.lineHeight=dt(v,SE,C.lineHeight),this.listStyleImage=dt(v,FE,C.listStyleImage),this.listStylePosition=dt(v,TE,C.listStylePosition),this.listStyleType=dt(v,pb,C.listStyleType),this.marginTop=dt(v,PE,C.marginTop),this.marginRight=dt(v,DE,C.marginRight),this.marginBottom=dt(v,LE,C.marginBottom),this.marginLeft=dt(v,IE,C.marginLeft),this.opacity=dt(v,qE,C.opacity);var O=dt(v,kE,C.overflow);this.overflowX=O[0],this.overflowY=O[O.length>1?1:0],this.overflowWrap=dt(v,$E,C.overflowWrap),this.paddingTop=dt(v,OE,C.paddingTop),this.paddingRight=dt(v,EE,C.paddingRight),this.paddingBottom=dt(v,ME,C.paddingBottom),this.paddingLeft=dt(v,RE,C.paddingLeft),this.paintOrder=dt(v,dM,C.paintOrder),this.position=dt(v,VE,C.position),this.textAlign=dt(v,UE,C.textAlign),this.textDecorationColor=dt(v,JE,(_=C.textDecorationColor)!==null&&_!==void 0?_:C.color),this.textDecorationLine=dt(v,eM,(D=C.textDecorationLine)!==null&&D!==void 0?D:C.textDecoration),this.textShadow=dt(v,NE,C.textShadow),this.textTransform=dt(v,QE,C.textTransform),this.transform=dt(v,HE,C.transform),this.transformOrigin=dt(v,GE,C.transformOrigin),this.visibility=dt(v,YE,C.visibility),this.webkitTextStrokeColor=dt(v,AM,C.webkitTextStrokeColor),this.webkitTextStrokeWidth=dt(v,pM,C.webkitTextStrokeWidth),this.wordBreak=dt(v,KE,C.wordBreak),this.zIndex=dt(v,ZE,C.zIndex)}return b.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},b.prototype.isTransparent=function(){return Ah(this.backgroundColor)},b.prototype.isTransformed=function(){return this.transform!==null},b.prototype.isPositioned=function(){return this.position!==0},b.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},b.prototype.isFloating=function(){return this.float!==0},b.prototype.isInlineLevel=function(){return vs(this.display,4)||vs(this.display,33554432)||vs(this.display,268435456)||vs(this.display,536870912)||vs(this.display,67108864)||vs(this.display,134217728)},b})(),mM=(function(){function b(v,C){this.content=dt(v,nM,C.content),this.quotes=dt(v,uM,C.quotes)}return b})(),rS=(function(){function b(v,C){this.counterIncrement=dt(v,oM,C.counterIncrement),this.counterReset=dt(v,lM,C.counterReset)}return b})(),dt=function(b,v,C){var _=new PB,D=C!==null&&typeof C<"u"?C.toString():v.initialValue;_.write(D);var O=new DB(_.read());switch(v.type){case 2:var H=O.parseComponentValue();return v.parse(b,hr(H)?H.value:v.initialValue);case 0:return v.parse(b,O.parseComponentValue());case 1:return v.parse(b,O.parseComponentValues());case 4:return O.parseComponentValue();case 3:switch(v.format){case"angle":return dm.parse(b,O.parseComponentValue());case"color":return dh.parse(b,O.parseComponentValue());case"image":return Ab.parse(b,O.parseComponentValue());case"length":var W=O.parseComponentValue();return uh(W)?W:js;case"length-percentage":var j=O.parseComponentValue();return ls(j)?j:js;case"time":return tS.parse(b,O.parseComponentValue())}break}},gM="data-html2canvas-debug",yM=function(b){var v=b.getAttribute(gM);switch(v){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},fb=function(b,v){var C=yM(b);return C===1||v===C},Io=(function(){function b(v,C){if(this.context=v,this.textNodes=[],this.elements=[],this.flags=0,fb(C,3))debugger;this.styles=new fM(v,window.getComputedStyle(C,null)),Pb(C)&&(this.styles.animationDuration.some(function(_){return _>0})&&(C.style.animationDuration="0s"),this.styles.transform!==null&&(C.style.transform="none")),this.bounds=o(this.context,C),fb(C,4)&&(this.flags|=16)}return b})(),vM="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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AAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKB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AAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",sS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",NA=typeof Uint8Array>"u"?[]:new Uint8Array(256),Cm=0;Cm<sS.length;Cm++)NA[sS.charCodeAt(Cm)]=Cm;for(var bM=function(b){var v=b.length*.75,C=b.length,_,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var ae=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),ne=Array.isArray(ae)?ae:new Uint8Array(ae);for(_=0;_<C;_+=4)O=NA[b.charCodeAt(_)],H=NA[b.charCodeAt(_+1)],W=NA[b.charCodeAt(_+2)],j=NA[b.charCodeAt(_+3)],ne[D++]=O<<2|H>>4,ne[D++]=(H&15)<<4|W>>2,ne[D++]=(W&3)<<6|j&63;return ae},xM=function(b){for(var v=b.length,C=[],_=0;_<v;_+=2)C.push(b[_+1]<<8|b[_]);return C},_M=function(b){for(var v=b.length,C=[],_=0;_<v;_+=4)C.push(b[_+3]<<24|b[_+2]<<16|b[_+1]<<8|b[_]);return C},Su=5,mb=11,gb=2,CM=mb-Su,aS=65536>>Su,wM=1<<Su,yb=wM-1,BM=1024>>Su,SM=aS+BM,FM=SM,TM=32,PM=FM+TM,DM=65536>>mb,LM=1<<CM,IM=LM-1,nS=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},kM=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},$M=function(b,v){var C=bM(b),_=Array.isArray(C)?_M(C):new Uint32Array(C),D=Array.isArray(C)?xM(C):new Uint16Array(C),O=24,H=nS(D,O/2,_[4]/2),W=_[5]===2?nS(D,(O+_[4])/2):kM(_,Math.ceil((O+_[4])/4));return new OM(_[0],_[1],_[2],_[3],H,W)},OM=(function(){function b(v,C,_,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=_,this.highValueIndex=D,this.index=O,this.data=H}return b.prototype.get=function(v){var C;if(v>=0){if(v<55296||v>56319&&v<=65535)return C=this.index[v>>Su],C=(C<<gb)+(v&yb),this.data[C];if(v<=65535)return C=this.index[aS+(v-55296>>Su)],C=(C<<gb)+(v&yb),this.data[C];if(v<this.highStart)return C=PM-DM+(v>>mb),C=this.index[C],C+=v>>Su&IM,C=this.index[C],C=(C<<gb)+(v&yb),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),oS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",EM=typeof Uint8Array>"u"?[]:new Uint8Array(256),wm=0;wm<oS.length;wm++)EM[oS.charCodeAt(wm)]=wm;var MM=1,vb=2,bb=3,lS=4,hS=5,RM=7,uS=8,xb=9,_b=10,cS=11,dS=12,AS=13,pS=14,Cb=15,UM=function(b){for(var v=[],C=0,_=b.length;C<_;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<_){var O=b.charCodeAt(C++);(O&64512)===56320?v.push(((D&1023)<<10)+(O&1023)+65536):(v.push(D),C--)}else v.push(D)}return v},VM=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];if(String.fromCodePoint)return String.fromCodePoint.apply(String,b);var C=b.length;if(!C)return"";for(var _=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?_.push(H):(H-=65536,_.push((H>>10)+55296,H%1024+56320)),(D+1===C||_.length>16384)&&(O+=String.fromCharCode.apply(String,_),_.length=0)}return O},NM=$M(vM),Sn="\xD7",wb="\xF7",QM=function(b){return NM.get(b)},HM=function(b,v,C){var _=C-2,D=v[_],O=v[C-1],H=v[C];if(O===vb&&H===bb)return Sn;if(O===vb||O===bb||O===lS||H===vb||H===bb||H===lS)return wb;if(O===uS&&[uS,xb,cS,dS].indexOf(H)!==-1||(O===cS||O===xb)&&(H===xb||H===_b)||(O===dS||O===_b)&&H===_b||H===AS||H===hS||H===RM||O===MM)return Sn;if(O===AS&&H===pS){for(;D===hS;)D=v[--_];if(D===pS)return Sn}if(O===Cb&&H===Cb){for(var W=0;D===Cb;)W++,D=v[--_];if(W%2===0)return Sn}return wb},jM=function(b){var v=UM(b),C=v.length,_=0,D=0,O=v.map(QM);return{next:function(){if(_>=C)return{done:!0,value:null};for(var H=Sn;_<C&&(H=HM(v,O,++_))===Sn;);if(H!==Sn||_===C){var W=VM.apply(null,v.slice(D,_));return D=_,{value:W,done:!1}}return{done:!0,value:null}}}},WM=function(b){for(var v=jM(b),C=[],_;!(_=v.next()).done;)_.value&&C.push(_.value.slice());return C},XM=function(b){var v=123;if(b.createRange){var C=b.createRange();if(C.getBoundingClientRect){var _=b.createElement("boundtest");_.style.height=v+"px",_.style.display="block",b.body.appendChild(_),C.selectNode(_);var D=C.getBoundingClientRect(),O=Math.round(D.height);if(b.body.removeChild(_),O===v)return!0}}return!1},zM=function(b){var v=b.createElement("boundtest");v.style.width="50px",v.style.display="block",v.style.fontSize="12px",v.style.letterSpacing="0px",v.style.wordSpacing="0px",b.body.appendChild(v);var C=b.createRange();v.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var _=v.firstChild,D=h(_.data).map(function(j){return u(j)}),O=0,H={},W=D.every(function(j,ae){C.setStart(_,O),C.setEnd(_,O+j.length);var ne=C.getBoundingClientRect();O+=j.length;var Ae=ne.x>H.x||ne.y>H.y;return H=ne,ae===0?!0:Ae});return b.body.removeChild(v),W},GM=function(){return typeof new Image().crossOrigin<"u"},YM=function(){return typeof new XMLHttpRequest().responseType=="string"},KM=function(b){var v=new Image,C=b.createElement("canvas"),_=C.getContext("2d");if(!_)return!1;v.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{_.drawImage(v,0,0),C.toDataURL()}catch{return!1}return!0},fS=function(b){return b[0]===0&&b[1]===255&&b[2]===0&&b[3]===255},ZM=function(b){var v=b.createElement("canvas"),C=100;v.width=C,v.height=C;var _=v.getContext("2d");if(!_)return Promise.reject(!1);_.fillStyle="rgb(0, 255, 0)",_.fillRect(0,0,C,C);var D=new Image,O=v.toDataURL();D.src=O;var H=Bb(C,C,0,0,D);return _.fillStyle="red",_.fillRect(0,0,C,C),mS(H).then(function(W){_.drawImage(W,0,0);var j=_.getImageData(0,0,C,C).data;_.fillStyle="red",_.fillRect(0,0,C,C);var ae=b.createElement("div");return ae.style.backgroundImage="url("+O+")",ae.style.height=C+"px",fS(j)?mS(Bb(C,C,0,0,ae)):Promise.reject(!1)}).then(function(W){return _.drawImage(W,0,0),fS(_.getImageData(0,0,C,C).data)}).catch(function(){return!1})},Bb=function(b,v,C,_,D){var O="http://www.w3.org/2000/svg",H=document.createElementNS(O,"svg"),W=document.createElementNS(O,"foreignObject");return H.setAttributeNS(null,"width",b.toString()),H.setAttributeNS(null,"height",v.toString()),W.setAttributeNS(null,"width","100%"),W.setAttributeNS(null,"height","100%"),W.setAttributeNS(null,"x",C.toString()),W.setAttributeNS(null,"y",_.toString()),W.setAttributeNS(null,"externalResourcesRequired","true"),H.appendChild(W),W.appendChild(D),H},mS=function(b){return new Promise(function(v,C){var _=new Image;_.onload=function(){return v(_)},_.onerror=C,_.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(b))})},Ws={get SUPPORT_RANGE_BOUNDS(){var b=XM(document);return Object.defineProperty(Ws,"SUPPORT_RANGE_BOUNDS",{value:b}),b},get SUPPORT_WORD_BREAKING(){var b=Ws.SUPPORT_RANGE_BOUNDS&&zM(document);return Object.defineProperty(Ws,"SUPPORT_WORD_BREAKING",{value:b}),b},get SUPPORT_SVG_DRAWING(){var b=KM(document);return Object.defineProperty(Ws,"SUPPORT_SVG_DRAWING",{value:b}),b},get SUPPORT_FOREIGNOBJECT_DRAWING(){var b=typeof Array.from=="function"&&typeof window.fetch=="function"?ZM(document):Promise.resolve(!1);return Object.defineProperty(Ws,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:b}),b},get SUPPORT_CORS_IMAGES(){var b=GM();return Object.defineProperty(Ws,"SUPPORT_CORS_IMAGES",{value:b}),b},get SUPPORT_RESPONSE_TYPE(){var b=YM();return Object.defineProperty(Ws,"SUPPORT_RESPONSE_TYPE",{value:b}),b},get SUPPORT_CORS_XHR(){var b="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ws,"SUPPORT_CORS_XHR",{value:b}),b},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var b=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ws,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:b}),b}},QA=(function(){function b(v,C){this.text=v,this.bounds=C}return b})(),qM=function(b,v,C,_){var D=tR(v,C),O=[],H=0;return D.forEach(function(W){if(C.textDecorationLine.length||W.trim().length>0)if(Ws.SUPPORT_RANGE_BOUNDS){var j=gS(_,H,W.length).getClientRects();if(j.length>1){var ae=Sb(W),ne=0;ae.forEach(function(_e){O.push(new QA(_e,n.fromDOMRectList(b,gS(_,ne+H,_e.length).getClientRects()))),ne+=_e.length})}else O.push(new QA(W,n.fromDOMRectList(b,j)))}else{var Ae=_.splitText(W.length);O.push(new QA(W,JM(b,_))),_=Ae}else Ws.SUPPORT_RANGE_BOUNDS||(_=_.splitText(W.length));H+=W.length}),O},JM=function(b,v){var C=v.ownerDocument;if(C){var _=C.createElement("html2canvaswrapper");_.appendChild(v.cloneNode(!0));var D=v.parentNode;if(D){D.replaceChild(_,v);var O=o(b,_);return _.firstChild&&D.replaceChild(_.firstChild,_),O}}return n.EMPTY},gS=function(b,v,C){var _=b.ownerDocument;if(!_)throw new Error("Node has no owner document");var D=_.createRange();return D.setStart(b,v),D.setEnd(b,v+C),D},Sb=function(b){if(Ws.SUPPORT_NATIVE_TEXT_SEGMENTATION){var v=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(v.segment(b)).map(function(C){return C.segment})}return WM(b)},eR=function(b,v){if(Ws.SUPPORT_NATIVE_TEXT_SEGMENTATION){var C=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(C.segment(b)).map(function(_){return _.segment})}return rR(b,v)},tR=function(b,v){return v.letterSpacing!==0?Sb(b):eR(b,v)},iR=[32,160,4961,65792,65793,4153,4241],rR=function(b,v){for(var C=D$(b,{lineBreak:v.lineBreak,wordBreak:v.overflowWrap==="break-word"?"break-word":v.wordBreak}),_=[],D,O=function(){if(D.value){var H=D.value.slice(),W=h(H),j="";W.forEach(function(ae){iR.indexOf(ae)===-1?j+=u(ae):(j.length&&_.push(j),_.push(u(ae)),j="")}),j.length&&_.push(j)}};!(D=C.next()).done;)O();return _},sR=(function(){function b(v,C,_){this.text=aR(C.data,_.textTransform),this.textBounds=qM(v,this.text,_,C)}return b})(),aR=function(b,v){switch(v){case 1:return b.toLowerCase();case 3:return b.replace(nR,oR);case 2:return b.toUpperCase();default:return b}},nR=/(^|\s|:|-|\(|\))([a-z])/g,oR=function(b,v,C){return b.length>0?v+C.toUpperCase():b},yS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.src=_.currentSrc||_.src,D.intrinsicWidth=_.naturalWidth,D.intrinsicHeight=_.naturalHeight,D.context.cache.addImage(D.src),D}return v})(Io),vS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.canvas=_,D.intrinsicWidth=_.width,D.intrinsicHeight=_.height,D}return v})(Io),bS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this,O=new XMLSerializer,H=o(C,_);return _.setAttribute("width",H.width+"px"),_.setAttribute("height",H.height+"px"),D.svg="data:image/svg+xml,"+encodeURIComponent(O.serializeToString(_)),D.intrinsicWidth=_.width.baseVal.value,D.intrinsicHeight=_.height.baseVal.value,D.context.cache.addImage(D.svg),D}return v})(Io),xS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.value=_.value,D}return v})(Io),Fb=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.start=_.start,D.reversed=typeof _.reversed=="boolean"&&_.reversed===!0,D}return v})(Io),lR=[{type:15,flags:0,unit:"px",number:3}],hR=[{type:16,flags:0,number:50}],uR=function(b){return b.width>b.height?new n(b.left+(b.width-b.height)/2,b.top,b.height,b.height):b.width<b.height?new n(b.left,b.top+(b.height-b.width)/2,b.width,b.width):b},cR=function(b){var v=b.type===dR?new Array(b.value.length+1).join("\u2022"):b.value;return v.length===0?b.placeholder||"":v},Bm="checkbox",Sm="radio",dR="password",_S=707406591,Tb=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;switch(D.type=_.type.toLowerCase(),D.checked=_.checked,D.value=cR(_),(D.type===Bm||D.type===Sm)&&(D.styles.backgroundColor=3739148031,D.styles.borderTopColor=D.styles.borderRightColor=D.styles.borderBottomColor=D.styles.borderLeftColor=2779096575,D.styles.borderTopWidth=D.styles.borderRightWidth=D.styles.borderBottomWidth=D.styles.borderLeftWidth=1,D.styles.borderTopStyle=D.styles.borderRightStyle=D.styles.borderBottomStyle=D.styles.borderLeftStyle=1,D.styles.backgroundClip=[0],D.styles.backgroundOrigin=[0],D.bounds=uR(D.bounds)),D.type){case Bm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=lR;break;case Sm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=hR;break}return D}return v})(Io),CS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this,O=_.options[_.selectedIndex||0];return D.value=O&&O.text||"",D}return v})(Io),wS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;return D.value=_.value,D}return v})(Io),BS=(function(b){t(v,b);function v(C,_){var D=b.call(this,C,_)||this;D.src=_.src,D.width=parseInt(_.width,10)||0,D.height=parseInt(_.height,10)||0,D.backgroundColor=D.styles.backgroundColor;try{if(_.contentWindow&&_.contentWindow.document&&_.contentWindow.document.documentElement){D.tree=FS(C,_.contentWindow.document.documentElement);var O=_.contentWindow.document.documentElement?UA(C,getComputedStyle(_.contentWindow.document.documentElement).backgroundColor):Cl.TRANSPARENT,H=_.contentWindow.document.body?UA(C,getComputedStyle(_.contentWindow.document.body).backgroundColor):Cl.TRANSPARENT;D.backgroundColor=Ah(O)?Ah(H)?D.styles.backgroundColor:H:O}}catch{}return D}return v})(Io),AR=["OL","UL","MENU"],Fm=function(b,v,C,_){for(var D=v.firstChild,O=void 0;D;D=O)if(O=D.nextSibling,TS(D)&&D.data.trim().length>0)C.textNodes.push(new sR(b,D,C.styles));else if(rd(D))if($S(D)&&D.assignedNodes)D.assignedNodes().forEach(function(W){return Fm(b,W,C,_)});else{var H=SS(b,D);H.styles.isVisible()&&(pR(D,H,_)?H.flags|=4:fR(H.styles)&&(H.flags|=2),AR.indexOf(D.tagName)!==-1&&(H.flags|=8),C.elements.push(H),D.slot,D.shadowRoot?Fm(b,D.shadowRoot,H,_):!Pm(D)&&!PS(D)&&!Dm(D)&&Fm(b,D,H,_))}},SS=function(b,v){return Lb(v)?new yS(b,v):DS(v)?new vS(b,v):PS(v)?new bS(b,v):mR(v)?new xS(b,v):gR(v)?new Fb(b,v):yR(v)?new Tb(b,v):Dm(v)?new CS(b,v):Pm(v)?new wS(b,v):IS(v)?new BS(b,v):new Io(b,v)},FS=function(b,v){var C=SS(b,v);return C.flags|=4,Fm(b,v,C,C),C},pR=function(b,v,C){return v.styles.isPositionedWithZIndex()||v.styles.opacity<1||v.styles.isTransformed()||Db(b)&&C.styles.isTransparent()},fR=function(b){return b.isPositioned()||b.isFloating()},TS=function(b){return b.nodeType===Node.TEXT_NODE},rd=function(b){return b.nodeType===Node.ELEMENT_NODE},Pb=function(b){return rd(b)&&typeof b.style<"u"&&!Tm(b)},Tm=function(b){return typeof b.className=="object"},mR=function(b){return b.tagName==="LI"},gR=function(b){return b.tagName==="OL"},yR=function(b){return b.tagName==="INPUT"},vR=function(b){return b.tagName==="HTML"},PS=function(b){return b.tagName==="svg"},Db=function(b){return b.tagName==="BODY"},DS=function(b){return b.tagName==="CANVAS"},LS=function(b){return b.tagName==="VIDEO"},Lb=function(b){return b.tagName==="IMG"},IS=function(b){return b.tagName==="IFRAME"},kS=function(b){return b.tagName==="STYLE"},bR=function(b){return b.tagName==="SCRIPT"},Pm=function(b){return b.tagName==="TEXTAREA"},Dm=function(b){return b.tagName==="SELECT"},$S=function(b){return b.tagName==="SLOT"},OS=function(b){return b.tagName.indexOf("-")>0},xR=(function(){function b(){this.counters={}}return b.prototype.getCounterValue=function(v){var C=this.counters[v];return C&&C.length?C[C.length-1]:1},b.prototype.getCounterValues=function(v){var C=this.counters[v];return C||[]},b.prototype.pop=function(v){var C=this;v.forEach(function(_){return C.counters[_].pop()})},b.prototype.parse=function(v){var C=this,_=v.counterIncrement,D=v.counterReset,O=!0;_!==null&&_.forEach(function(W){var j=C.counters[W.counter];j&&W.increment!==0&&(O=!1,j.length||j.push(1),j[Math.max(0,j.length-1)]+=W.increment)});var H=[];return O&&D.forEach(function(W){var j=C.counters[W.counter];H.push(W.counter),j||(j=C.counters[W.counter]=[]),j.push(W.reset)}),H},b})(),ES={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},MS={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},_R={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},CR={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},sd=function(b,v,C,_,D,O){return b<v||b>C?jA(b,D,O.length>0):_.integers.reduce(function(H,W,j){for(;b>=W;)b-=W,H+=_.values[j];return H},"")+O},RS=function(b,v,C,_){var D="";do C||b--,D=_(b)+D,b/=v;while(b*v>=v);return D},qr=function(b,v,C,_,D){var O=C-v+1;return(b<0?"-":"")+(RS(Math.abs(b),O,_,function(H){return u(Math.floor(H%O)+v)})+D)},Fu=function(b,v,C){C===void 0&&(C=". ");var _=v.length;return RS(Math.abs(b),_,!1,function(D){return v[Math.floor(D%_)]})+C},ad=1,fh=2,mh=4,HA=8,wl=function(b,v,C,_,D,O){if(b<-9999||b>9999)return jA(b,4,D.length>0);var H=Math.abs(b),W=D;if(H===0)return v[0]+W;for(var j=0;H>0&&j<=4;j++){var ae=H%10;ae===0&&vs(O,ad)&&W!==""?W=v[ae]+W:ae>1||ae===1&&j===0||ae===1&&j===1&&vs(O,fh)||ae===1&&j===1&&vs(O,mh)&&b>100||ae===1&&j>1&&vs(O,HA)?W=v[ae]+(j>0?C[j-1]:"")+W:ae===1&&j>0&&(W=C[j-1]+W),H=Math.floor(H/10)}return(b<0?_:"")+W},US="\u5341\u767E\u5343\u842C",VS="\u62FE\u4F70\u4EDF\u842C",NS="\u30DE\u30A4\u30CA\u30B9",Ib="\uB9C8\uC774\uB108\uC2A4",jA=function(b,v,C){var _=C?". ":"",D=C?"\u3001":"",O=C?", ":"",H=C?" ":"";switch(v){case 0:return"\u2022"+H;case 1:return"\u25E6"+H;case 2:return"\u25FE"+H;case 5:var W=qr(b,48,57,!0,_);return W.length<4?"0"+W:W;case 4:return Fu(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",D);case 6:return sd(b,1,3999,ES,3,_).toLowerCase();case 7:return sd(b,1,3999,ES,3,_);case 8:return qr(b,945,969,!1,_);case 9:return qr(b,97,122,!1,_);case 10:return qr(b,65,90,!1,_);case 11:return qr(b,1632,1641,!0,_);case 12:case 49:return sd(b,1,9999,MS,3,_);case 35:return sd(b,1,9999,MS,3,_).toLowerCase();case 13:return qr(b,2534,2543,!0,_);case 14:case 30:return qr(b,6112,6121,!0,_);case 15:return Fu(b,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",D);case 16:return Fu(b,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",D);case 17:case 48:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",US,"\u8CA0",D,fh|mh|HA);case 47:return wl(b,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",VS,"\u8CA0",D,ad|fh|mh|HA);case 42:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",US,"\u8D1F",D,fh|mh|HA);case 41:return wl(b,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",VS,"\u8D1F",D,ad|fh|mh|HA);case 26:return wl(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",NS,D,0);case 25:return wl(b,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",NS,D,ad|fh|mh);case 31:return wl(b,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ib,O,ad|fh|mh);case 33:return wl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ib,O,0);case 32:return wl(b,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ib,O,ad|fh|mh);case 18:return qr(b,2406,2415,!0,_);case 20:return sd(b,1,19999,CR,3,_);case 21:return qr(b,2790,2799,!0,_);case 22:return qr(b,2662,2671,!0,_);case 22:return sd(b,1,10999,_R,3,_);case 23:return Fu(b,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Fu(b,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return qr(b,3302,3311,!0,_);case 28:return Fu(b,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",D);case 29:return Fu(b,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",D);case 34:return qr(b,3792,3801,!0,_);case 37:return qr(b,6160,6169,!0,_);case 38:return qr(b,4160,4169,!0,_);case 39:return qr(b,2918,2927,!0,_);case 40:return qr(b,1776,1785,!0,_);case 43:return qr(b,3046,3055,!0,_);case 44:return qr(b,3174,3183,!0,_);case 45:return qr(b,3664,3673,!0,_);case 46:return qr(b,3872,3881,!0,_);default:return qr(b,48,57,!0,_)}},QS="data-html2canvas-ignore",HS=(function(){function b(v,C,_){if(this.context=v,this.options=_,this.scrolledElements=[],this.referenceElement=C,this.counters=new xR,this.quoteDepth=0,!C.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(C.ownerDocument.documentElement,!1)}return b.prototype.toIFrame=function(v,C){var _=this,D=wR(v,C);if(!D.contentWindow)return Promise.reject("Unable to find iframe window");var O=v.defaultView.pageXOffset,H=v.defaultView.pageYOffset,W=D.contentWindow,j=W.document,ae=FR(D).then(function(){return i(_,void 0,void 0,function(){var ne,Ae;return r(this,function(_e){switch(_e.label){case 0:return this.scrolledElements.forEach(LR),W&&(W.scrollTo(C.left,C.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(W.scrollY!==C.top||W.scrollX!==C.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(W.scrollX-C.left,W.scrollY-C.top,0,0))),ne=this.options.onclone,Ae=this.clonedReferenceElement,typeof Ae>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:j.fonts&&j.fonts.ready?[4,j.fonts.ready]:[3,2];case 1:_e.sent(),_e.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,SR(j)]:[3,4];case 3:_e.sent(),_e.label=4;case 4:return typeof ne=="function"?[2,Promise.resolve().then(function(){return ne(j,Ae)}).then(function(){return D})]:[2,D]}})})});return j.open(),j.write(PR(document.doctype)+"<html></html>"),DR(this.referenceElement.ownerDocument,O,H),j.replaceChild(j.adoptNode(this.documentElement),j.documentElement),j.close(),ae},b.prototype.createElementClone=function(v){if(fb(v,2))debugger;if(DS(v))return this.createCanvasClone(v);if(LS(v))return this.createVideoClone(v);if(kS(v))return this.createStyleClone(v);var C=v.cloneNode(!1);return Lb(C)&&(Lb(v)&&v.currentSrc&&v.currentSrc!==v.src&&(C.src=v.currentSrc,C.srcset=""),C.loading==="lazy"&&(C.loading="eager")),OS(C)?this.createCustomElementClone(C):C},b.prototype.createCustomElementClone=function(v){var C=document.createElement("html2canvascustomelement");return kb(v.style,C),C},b.prototype.createStyleClone=function(v){try{var C=v.sheet;if(C&&C.cssRules){var _=[].slice.call(C.cssRules,0).reduce(function(O,H){return H&&typeof H.cssText=="string"?O+H.cssText:O},""),D=v.cloneNode(!1);return D.textContent=_,D}}catch(O){if(this.context.logger.error("Unable to access cssRules property",O),O.name!=="SecurityError")throw O}return v.cloneNode(!1)},b.prototype.createCanvasClone=function(v){var C;if(this.options.inlineImages&&v.ownerDocument){var _=v.ownerDocument.createElement("img");try{return _.src=v.toDataURL(),_}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",v)}}var D=v.cloneNode(!1);try{D.width=v.width,D.height=v.height;var O=v.getContext("2d"),H=D.getContext("2d");if(H)if(!this.options.allowTaint&&O)H.putImageData(O.getImageData(0,0,v.width,v.height),0,0);else{var W=(C=v.getContext("webgl2"))!==null&&C!==void 0?C:v.getContext("webgl");if(W){var j=W.getContextAttributes();j?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",v)}H.drawImage(v,0,0)}return D}catch{this.context.logger.info("Unable to clone canvas as it is tainted",v)}return D},b.prototype.createVideoClone=function(v){var C=v.ownerDocument.createElement("canvas");C.width=v.offsetWidth,C.height=v.offsetHeight;var _=C.getContext("2d");try{return _&&(_.drawImage(v,0,0,C.width,C.height),this.options.allowTaint||_.getImageData(0,0,C.width,C.height)),C}catch{this.context.logger.info("Unable to clone video as it is tainted",v)}var D=v.ownerDocument.createElement("canvas");return D.width=v.offsetWidth,D.height=v.offsetHeight,D},b.prototype.appendChildNode=function(v,C,_){(!rd(C)||!bR(C)&&!C.hasAttribute(QS)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(C)))&&(!this.options.copyStyles||!rd(C)||!kS(C))&&v.appendChild(this.cloneNode(C,_))},b.prototype.cloneChildNodes=function(v,C,_){for(var D=this,O=v.shadowRoot?v.shadowRoot.firstChild:v.firstChild;O;O=O.nextSibling)if(rd(O)&&$S(O)&&typeof O.assignedNodes=="function"){var H=O.assignedNodes();H.length&&H.forEach(function(W){return D.appendChildNode(C,W,_)})}else this.appendChildNode(C,O,_)},b.prototype.cloneNode=function(v,C){if(TS(v))return document.createTextNode(v.data);if(!v.ownerDocument)return v.cloneNode(!1);var _=v.ownerDocument.defaultView;if(_&&rd(v)&&(Pb(v)||Tm(v))){var D=this.createElementClone(v);D.style.transitionProperty="none";var O=_.getComputedStyle(v),H=_.getComputedStyle(v,":before"),W=_.getComputedStyle(v,":after");this.referenceElement===v&&Pb(D)&&(this.clonedReferenceElement=D),Db(D)&&$R(D);var j=this.counters.parse(new rS(this.context,O)),ae=this.resolvePseudoContent(v,D,H,WA.BEFORE);OS(v)&&(C=!0),LS(v)||this.cloneChildNodes(v,D,C),ae&&D.insertBefore(ae,D.firstChild);var ne=this.resolvePseudoContent(v,D,W,WA.AFTER);return ne&&D.appendChild(ne),this.counters.pop(j),(O&&(this.options.copyStyles||Tm(v))&&!IS(v)||C)&&kb(O,D),(v.scrollTop!==0||v.scrollLeft!==0)&&this.scrolledElements.push([D,v.scrollLeft,v.scrollTop]),(Pm(v)||Dm(v))&&(Pm(D)||Dm(D))&&(D.value=v.value),D}return v.cloneNode(!1)},b.prototype.resolvePseudoContent=function(v,C,_,D){var O=this;if(_){var H=_.content,W=C.ownerDocument;if(!(!W||!H||H==="none"||H==="-moz-alt-content"||_.display==="none")){this.counters.parse(new rS(this.context,_));var j=new mM(this.context,_),ae=W.createElement("html2canvaspseudoelement");kb(_,ae),j.content.forEach(function(Ae){if(Ae.type===0)ae.appendChild(W.createTextNode(Ae.value));else if(Ae.type===22){var _e=W.createElement("img");_e.src=Ae.value,_e.style.opacity="1",ae.appendChild(_e)}else if(Ae.type===18){if(Ae.name==="attr"){var lt=Ae.values.filter(hr);lt.length&&ae.appendChild(W.createTextNode(v.getAttribute(lt[0].value)||""))}else if(Ae.name==="counter"){var Ue=Ae.values.filter(td),Ze=Ue[0],ii=Ue[1];if(Ze&&hr(Ze)){var bt=O.counters.getCounterValue(Ze.value),gt=ii&&hr(ii)?pb.parse(O.context,ii.value):3;ae.appendChild(W.createTextNode(jA(bt,gt,!1)))}}else if(Ae.name==="counters"){var Wi=Ae.values.filter(td),Ze=Wi[0],ni=Wi[1],ii=Wi[2];if(Ze&&hr(Ze)){var Mt=O.counters.getCounterValues(Ze.value),rt=ii&&hr(ii)?pb.parse(O.context,ii.value):3,ki=ni&&ni.type===0?ni.value:"",$i=Mt.map(function(Oa){return jA(Oa,rt,!1)}).join(ki);ae.appendChild(W.createTextNode($i))}}}else if(Ae.type===20)switch(Ae.value){case"open-quote":ae.appendChild(W.createTextNode(iS(j.quotes,O.quoteDepth++,!0)));break;case"close-quote":ae.appendChild(W.createTextNode(iS(j.quotes,--O.quoteDepth,!1)));break;default:ae.appendChild(W.createTextNode(Ae.value))}}),ae.className=$b+" "+Ob;var ne=D===WA.BEFORE?" "+$b:" "+Ob;return Tm(C)?C.className.baseValue+=ne:C.className+=ne,ae}}},b.destroy=function(v){return v.parentNode?(v.parentNode.removeChild(v),!0):!1},b})(),WA;(function(b){b[b.BEFORE=0]="BEFORE",b[b.AFTER=1]="AFTER"})(WA||(WA={}));var wR=function(b,v){var C=b.createElement("iframe");return C.className="html2canvas-container",C.style.visibility="hidden",C.style.position="fixed",C.style.left="-10000px",C.style.top="0px",C.style.border="0",C.width=v.width.toString(),C.height=v.height.toString(),C.scrolling="no",C.setAttribute(QS,"true"),b.body.appendChild(C),C},BR=function(b){return new Promise(function(v){if(b.complete){v();return}if(!b.src){v();return}b.onload=v,b.onerror=v})},SR=function(b){return Promise.all([].slice.call(b.images,0).map(BR))},FR=function(b){return new Promise(function(v,C){var _=b.contentWindow;if(!_)return C("No window assigned for iframe");var D=_.document;_.onload=b.onload=function(){_.onload=b.onload=null;var O=setInterval(function(){D.body.childNodes.length>0&&D.readyState==="complete"&&(clearInterval(O),v(b))},50)}})},TR=["all","d","content"],kb=function(b,v){for(var C=b.length-1;C>=0;C--){var _=b.item(C);TR.indexOf(_)===-1&&v.style.setProperty(_,b.getPropertyValue(_))}return v},PR=function(b){var v="";return b&&(v+="<!DOCTYPE ",b.name&&(v+=b.name),b.internalSubset&&(v+=b.internalSubset),b.publicId&&(v+='"'+b.publicId+'"'),b.systemId&&(v+='"'+b.systemId+'"'),v+=">"),v},DR=function(b,v,C){b&&b.defaultView&&(v!==b.defaultView.pageXOffset||C!==b.defaultView.pageYOffset)&&b.defaultView.scrollTo(v,C)},LR=function(b){var v=b[0],C=b[1],_=b[2];v.scrollLeft=C,v.scrollTop=_},IR=":before",kR=":after",$b="___html2canvas___pseudoelement_before",Ob="___html2canvas___pseudoelement_after",jS=`{
|
|
3
3
|
content: "" !important;
|
|
4
4
|
display: none !important;
|
|
5
5
|
}`,$R=function(b){OR(b,"."+$b+IR+jS+`
|
|
@@ -43,7 +43,7 @@ import{a as sn}from"./QVD6LHQ2.js";import{b as zx}from"./2JUO3GP2.js";import o f
|
|
|
43
43
|
</table>`,i})}getHTMLRow(t,e,i,r=!1,s=!1){let n=" <tr>";e.rowClass&&(n=' <tr class="'+e.rowClass+'">'),i||(i=t);let o=this.get("dataFieldsOrder",[]),l=s?"th":"td",h=!0;return Wl(i,(u,c)=>{let d=this.convertEmptyValue(u,t[u],e),A=r?d:this.convertToSpecialFormat(u,d,e);A=""+A,A=A.replace(/[\u00A0-\u9999<>\&]/gim,function(f){return"&#"+f.charCodeAt(0)+";"});let p=l;e.pivot&&h&&(p="th"),e.cellClass?n+=`
|
|
44
44
|
<`+p+' class="'+e.cellClass+'">'+A+"</"+p+">":n+=`
|
|
45
45
|
<`+p+">"+A+"</"+p+">",h=!1},(u,c)=>{let d=o.indexOf(u),A=o.indexOf(c);return d>A?1:d<A?-1:0}),n+=`
|
|
46
|
-
</tr>`,n}exportXLSX(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("xlsx")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getXLSX(t))})}getXLSX(t){return Xe(this,void 0,void 0,function*(){let e=this._getFormatOptions("xlsx",t),i=yield this.getXLSXLib(),r={bookType:"xlsx",bookSST:!1,type:"base64"},s=this._normalizeExcelSheetName(this.get("title",this._t("Data"))),n={SheetNames:[s],Sheets:{}},o=[],l=this.getData("html",e),h=this.getDataFields(l);if(e.pivot){let u=this.get("dataFieldsOrder",[]);Wl(h,(c,d)=>{let A=[];e.addColumnNames&&A.push(d);for(let p=l.length,f=0;f<p;f++){let m=l[f][c];A.push(this.convertToSpecialFormat(c,m,e,!0))}o.push(this.getXLSXRow(A,e,void 0,!0))},(c,d)=>{let A=u.indexOf(c),p=u.indexOf(d);return A>p?1:A<p?-1:0})}else{e.addColumnNames&&o.push(this.getXLSXRow(h,e,void 0,!0));for(let u=l.length,c=0;c<u;c++)o.push(this.getXLSXRow(l[c],e,h))}return n.Sheets[s]=i.utils.aoa_to_sheet(o),this.events.dispatch("workbookready",{type:"workbookready",format:"xlsx",options:e,workbook:n,workbookOptions:r,xlsx:i,target:this}),i.write(n,r)})}_normalizeExcelSheetName(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),t.length>30?t.substr(0,30)+"...":t}getXLSXRow(t,e,i,r=!1){let s=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Wl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),u=r?h:this.convertToSpecialFormat(o,h,e,!0);s.push(u)},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0}),s}_xlsx(){return Xe(this,void 0,void 0,function*(){return yield import("./TWPDFIMS.js")})}getXLSXLib(){return this._xlsx()}exportPDF(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("pdf")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getPDF(t,!0))})}exportPDFData(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("pdf")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getPDF(t,!1,!0))})}getPDF(t,e=!0,i=!1){return Xe(this,void 0,void 0,function*(){let r=this._getFormatOptions("pdf",t),s=this._getFormatOptions("pdfdata",t),n=r.pageOrientation||"portrait",o,l={width:0,height:0};if(e){let g=r.imageFormat||"png",y=this._getFormatOptions(g,r),x=yield this.getCanvas(y);l.width=x.clientWidth,l.height=x.clientHeight,o=x.toDataURL(this.getContentType(g),r.quality||1),this.disposeCanvas(x)}let h=yield this.getPdfmake(),u=[30,30,30,30],c={pageSize:r.pageSize||"A4",pageOrientation:n,pageMargins:r.pageMargins||u,defaultStyle:{font:r.font?r.font.name:void 0},content:[]},d=this.get("title"),A=0;if(d&&(c.content.push({text:d,fontSize:r.fontSize||14,bold:!0,margin:[0,0,0,15]}),A+=50),r.addURL&&(c.content.push({text:this._t("Saved from")+": "+document.location.href,fontSize:r.fontSize,margin:[0,0,0,15]}),A+=50),e&&o){let g=this.getPageSizeFit(c.pageSize,c.pageMargins,A,n);l.width>g[0]||l.height>g[1]?c.content.push({image:o,alignment:r.align||"left",fit:g}):c.content.push({image:o,alignment:r.align||"left"})}(i||r.includeData)&&this.hasData()&&c.content.push({table:yield this.getPDFData(s),fontSize:r.fontSize||14});let p=null,f=null;function m(g){let y={};y.normal=g.normal.path,f[g.normal.path]=g.normal.bytes,g.bold?(y.bold=g.bold.path,f[g.bold.path]=g.bold.bytes):y.bold=g.normal.path,g.italics?(y.italics=g.italics.path,f[g.italics.path]=g.italics.bytes):y.italics=g.normal.path,g.bolditalics?(y.bolditalics=g.bolditalics.path,f[g.bolditalics.path]=g.bolditalics.bytes):y.bolditalics=g.normal.path,p[g.name]=y}return r.font&&(p={},f={},m(r.font),r.extraFonts&&J(r.extraFonts,m),h.addFonts(p),h.addVirtualFileSystem(f)),this.events.dispatch("pdfdocready",{type:"pdfdocready",format:"pdf",options:r,doc:c,target:this}),yield h.createPdf(c,{}).getBase64()})}getPDFData(t){return Xe(this,void 0,void 0,function*(){let e=this._getFormatOptions("pdfdata",t),i={body:[]},r=this.getData("html",e),s=this.getDataFields(r);if(e.pivot){let n=this.get("dataFieldsOrder",[]);Wl(s,(o,l)=>{let h=[];e.addColumnNames&&h.push(l);for(let u=r.length,c=0;c<u;c++){let d=r[c][o];h.push(this.convertToSpecialFormat(o,d,e,!0))}i.body.push(this.getPDFDataRow(h,e,void 0,!0))},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0})}else{e.addColumnNames&&(i.body.push(this.getPDFDataRow(s,e,void 0,!0)),i.headerRows=1);for(let n=r.length,o=0;o<n;o++)i.body.push(this.getPDFDataRow(r[o],e,s))}return i})}getPDFDataRow(t,e,i,r=!1){let s=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Wl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),u=r?h:this.convertToSpecialFormat(o,h,e);u=""+u,s.push(u)},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0}),s}getPdfmake(){return GC===void 0&&(GC=CN()),GC}getPageSizeFit(t,e,i=0,r="portrait"){let s=[0,0,0,0];ie(e)?s=[e,e,e,e]:e.length==2?s=[e[0],e[1],e[0],e[1]]:e.length==4&&(s=e);let o={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}[t];return r=="landscape"&&o.reverse(),o[0]-=s[0]+s[2],o[1]-=s[1]+s[3]+i,o}hasData(){let t=this.get("dataSource");return!!(Py(t)&&t.length)}getData(t,e,i=!1){let r=this._getFormatOptions(t,e),s=this.get("dataSource",[]),n=s,o=this.get("dataFields");o&&Py(s)&&(n=[],J(s,h=>{if(Nn(h)){let u={};Ot(o,(c,d)=>{o[c]!=null&&(u[i?d:c]=this.convertToSpecialFormat(c,h[c],r))}),n.push(u)}}));let l={type:"dataprocessed",format:t,options:r,data:n,target:this};return this.events.dispatch("dataprocessed",l),l.data}getDataFields(t){let e=this.get("dataFields");return e||(e={},Py(t)&&t.length&&J(t,i=>{Ot(i,(r,s)=>{e[r]==null&&(e[r]=r)})})),e}convertEmptyValue(t,e,i){return e??i.emptyAs}convertToSpecialFormat(t,e,i,r){if(typeof e=="number")if(this.isDateField(t))e=new Date(e);else{if(this.isNumericField(t)&&this.get("numberFormat"))return this._root.numberFormatter.format(e,this.get("numberFormat"));if(this.isDurationField(t))return this._root.durationFormatter.format(e,this.get("durationFormat"),this.get("durationUnit"))}return e instanceof Date&&(i.useTimestamps?e=e.getTime():i.useLocale?r||(e=e.toLocaleString()):e=this._root.dateFormatter.format(e,this.get("dateFormat"))),e}isDateField(t){return this.get("dateFields").indexOf(t)!==-1}isNumericField(t){return this.get("numericFields").indexOf(t)!==-1}isDurationField(t){return this.get("durationFields").indexOf(t)!==-1}getContentType(t){let e="";switch(t){case"png":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"html":e="text/html";break;case"pdf":case"pdfdata":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";break;default:e="application/octet-stream"}return e}getDisposableCanvas(){let t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",this._root.dom.appendChild(t),t}disposeCanvas(t){this._root.dom.removeChild(t)}findBackgroundColor(t){let e=1,i=getComputedStyle(t,"background-color").getPropertyValue("background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||i=="transparent")&&(e=0),e==0){let r=t.parentElement;return r?this.findBackgroundColor(r):ot.fromHex(16777215)}else return ot.fromCSS(i)}streamFile(t,e,i=!1){if(this.blobDownloadSupport()){let r=document.createElement("a");r.download=e,document.body.appendChild(r);let s=t.split(";"),n=s.shift().replace(/data:/,"");if(t=decodeURIComponent(s.join(";").replace(/^[^,]*,/,"")),["image/svg+xml","application/json","text/csv","text/html"].indexOf(n)==-1)try{t=atob(t)}catch{return!1}else{i&&(t="\uFEFF"+t);let u=new Blob([t],{type:n}),c=window.URL.createObjectURL(u);return r.href=c,r.download=e,r.click(),setTimeout(()=>{document.body.removeChild(r),window.URL.revokeObjectURL(c)},100),!0}let o=new Array(t.length);for(let u=0;u<t.length;++u){let c=t.charCodeAt(u);o[u]=c}i&&(o=[239,187,191].concat(o));let l=new Blob([new Uint8Array(o)],{type:n}),h=window.URL.createObjectURL(l);r.href=h,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>{window.URL.revokeObjectURL(h)},100)}else if(this.linkDownloadSupport()){let r=document.createElement("a");r.download=e,r.href=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}else window.location.href=t;return!0}downloadSupport(){return this.linkDownloadSupport()}linkDownloadSupport(){return typeof document.createElement("a").download<"u"}blobDownloadSupport(){return window.Blob!=null}initiatePrint(t,e,i){let r=this._getFormatOptions("print",e);r.printMethod=="css"?this._printViaCSS(t,r,i):this._printViaIframe(t,r,i)}_printViaCSS(t,e,i){let s=this._getFormatOptions("print",e).delay||500,n=document.documentElement.scrollTop||document.body.scrollTop,o=new ff(O_(this._root.dom),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"},this._root.nonce),l=new ff(O_(this._root.dom),"body",{padding:"0",margin:"0"},this._root.nonce),h;i&&document&&document.title&&(h=document.title,document.title=i);let u=new Image;u.src=t,u.style.maxWidth="100%",u.style.display="block",u.style.position="relative",u.style.visibility="visible",u.style.opacity="1",u.style.clipPath="none",document.body.appendChild(u),this.setTimeout(()=>{window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&s<1e3?s=1e3:s<100&&(s=100),this.setTimeout(()=>{document.body.removeChild(u),o.dispose(),l.dispose(),h&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},s||500)}_printViaIframe(t,e,i){let s=this._getFormatOptions("print",e).delay||500,n=document.createElement("iframe");n.style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close();let o=new Image;o.src=t,o.style.maxWidth="100%",o.style.height="auto",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(o),n.load=function(){n.contentWindow.document.body.appendChild(o)},this.setTimeout(()=>{try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch{n.contentWindow.print()}},s||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&s<1e3?s=1e3:s<100&&(s=100),this.setTimeout(()=>{document.body.removeChild(n)},s+50||100)}supportedFormats(){let t=[],e=this.hasData(),i=this.downloadSupport();return J(["png","jpg","canvas","pdf","xlsx","csv","json","html","pdfdata","print"],r=>{this._getFormatOptions(r).disabled!==!0&&(["xlsx","csv","json","html","pdfdata"].indexOf(r)==-1||e&&i)&&t.push(r)}),t}supportedExportTypes(){let t=["image","print"];return this.downloadSupport()&&this.hasData()&&t.push("data"),t}};cu.className="Exporting";cu.classNames=fi.classNames.concat([cu.className]);var _v=new Map;function Kn(a){a!==void 0&&_v.delete(a)}function Wc(a,t){let e=_v.get(a)??{};_v.set(a,{...e,...t})}function Xc(a,t){return _v.get(a)?.[t]}function SN(a,t){return Xc(a,t)}function FN(a,t){Wc(a,t)}function TN(a,t){return Xc(a,t)}function PN(a,t){Wc(a,t)}function ve(a,t){return Xc(a,t)}function ai(a,t){Wc(a,t)}function sa(a,t){return Xc(a,t)}function Jn(a,t){Wc(a,t)}function Qs(a,t){return Xc(a,t)}function Ls(a,t){Wc(a,t)}function DN(a,t){return Xc(a,t)}function LN(a,t){Wc(a,t)}function gs(a,t){return Xc(a,t)}function gu(a,t){Wc(a,t)}function Ui(a,t){t===!1&&!a.isHiding?(a.visible=!1,a.hide()):a.isShowing||(a.visible=!0,a.show())}function IN(a,t){for(let e=0;e<t.length;e+=1){let i=t[e][0],r=t[e][1],s=a.length;i>=0&&i<s&&r>=0&&r<s&&a.swap(t[e][0],t[e][1])}}function UI(a,t){let e;if(a!==void 0&&"rgb"in a&&a.rgb!==void 0){let i=a.rgb;if(i!==void 0){let{r,g:s,b:n}=i;e=[r,s,n,255]}}return e}function Qc(a){let t=a??[0,0,0,255];return new xt({a:t[3]/255,b:t[2],g:t[1],r:t[0]})}function Yr(a){return a.bullets.values.find(t=>DN(t.uid,"isBulletMarker"))}function wn(a){return a!=null&&!a.isDisposed()}function Ef(a){return(a.isShowing||a.visible)&&!a.isHidden&&!a.isHiding&&!a.disabled&&!a.__disabled}function VI(a,t){return a.pixelX<0||a.pixelX>t?.plotContainer?.measuredWidth||a.pixelY<0||a.pixelY>t?.plotContainer?.measuredHeight}function kN(a){let t;return a.baseSprite instanceof Vt||a.baseSprite instanceof qi?t=a.baseSprite:(a instanceof Rh||a instanceof qd)&&(t=a.axis.chart),t}function $N(a){return UI(a.background.fill)}var re={...pt};function ON(a){let{fill:t,rotation:e,isLinePattern:i,chartBackgroundColor:r}=a,s;return i!==!1?(s=new bc,s.width=re.patternLineProperties.width??Number.NaN,s.height=re.patternLineProperties.height??Number.NaN,s.strokeWidth=re.patternLineProperties.strokeWidth??Number.NaN,s.stroke=t,s.rotation=e??Number.NaN):(s=new xc,s.rectWidth=re.patternRectProperties.rectWidth??Number.NaN,s.rectHeight=re.patternRectProperties.rectHeight??Number.NaN,s.width=re.patternRectProperties.width??Number.NaN,s.height=re.patternRectProperties.height??Number.NaN,s.fillOpacity=re.patternRectProperties.fillOpacity??Number.NaN,s.strokeWidth=re.patternRectProperties.strokeWidth??Number.NaN,s.fill=Qc(r),s.stroke=t,s.rotation=e??Number.NaN),s}function jL(a){let t=Number.NaN;if(typeof a=="number")t=a;else if(a.includes("%")){let e=Number.parseFloat(a.trim().replace("%","").trim());Number.isFinite(e)&&(t=he(e))}return t}function EN(a){let{fill:t,style:e,chartBackgroundColor:i}=a,r,s,n=!0;switch(e){case bs.Horizontal:{s=0;break}case bs.Vertical:{s=90;break}case bs.ForwardDiagonal:{s=45;break}case bs.BackwardDiagonal:{s=135;break}case bs.Cross:{s=0,n=!1;break}case bs.DiagonalCross:{s=135,n=!1;break}case bs.Solid:}return s!==void 0&&(r=ON({fill:t,rotation:s,isLinePattern:n,chartBackgroundColor:i})),r}function bn(a,t){let e;t!==void 0&&(e=Qc(t));let i=e??new xt({r:0,g:0,b:0,a:0});if(a!=null){let[r,s,n,o]=a;i=new xt({r,g:s,b:n,a:o/255})}return i}function NI(a,t=0){return(a??t)%360}function MN(a,t){return t!==!0||a?.includes("Dot")===!0?"round":"square"}function QI(a,t){let e="none";switch(a??t){case"justify":case"center":e="center";break;case"left":e="left";break;case"right":e="right";break}return e}function xw(a,t){let e="middle";switch(a??t){case"right":e="left";break;case"left":e="right";break}return e}function RN(a,t){let e="none";switch(a??t){case"baseline":case"middle":e="middle";break;case"top":e="top";break;case"bottom":e="bottom";break}return e}function HI(a,t){let e="middle";switch(a??t){case"top":e="bottom";break;case"bottom":e="top";break;default:e="middle";break}return e}function UN(a,t){let e=a??us.Solid,i=t??re.lineWidth,r={[us.Solid]:"none",[us.Dot]:[1,i],[us.DashDotDot]:[4*i,i,1,i,1,i],[us.Dash]:[4*i,3*i],[us.DashDot]:[4*i,3*i,1,3*i],[us.Null]:"none"};return(r[e]??r[us.Null]).toString()}function jI(a,t){let e={stroke:bn(),strokeWidth:re.lineWidth,strokeDasharray:"",strokeLinecap:t!==!0?"round":"square",strokeOpacity:cd};return a!=null&&(e.stroke=bn(a.color),e.strokeOpacity=1,a.width!==void 0&&(e.strokeWidth=a.width),a.style!==void 0&&a.style!==us.Null&&(e.strokeDasharray=UN(a.style,e.strokeWidth),e.strokeLinecap=MN(a.style,t))),e}function WI(a,t){let e=a,[i,r,s,n]=a?.color??t??re.color,o=[i,r,s,n];return e==null?e={type:Rt.SLS,color:o}:e.color===void 0&&(e.color=o),jI(e,!1)}function VN(a,t){let{color:e,outline:i,style:r}=a,s=bn(e);return{pattern:EN({fill:s,style:r,chartBackgroundColor:t}),fill:s,outline:WI(i,e)}}function NN(a){let{color:t,outline:e,xoffset:i,yoffset:r,style:s,size:n,angle:o}=a,l=s!==void 0?ox(s,n):"",h=NI(o);return{path:l,fill:bn(t),outline:WI(e,t),xOffset:i??0,yOffset:r??0,angle:h}}function _w(a){let{symbol:t,defaultToColorFromRamp:e,colorRampIndex:i,isChartFillSymbol:r=!1,chartBackgroundColor:s}=a,n;if(e===!0){let o=r?Hm:cd;if(t.color=t.color??vh({colorIndex:i,opacity:o}),gd(t)||op(t)){let{outline:l}=t;l!==void 0&&(l.color=l?.color??vh({colorIndex:i}),t.outline={...l})}}return Dx(t)?n=jI(t,!0):op(t)?(t.style??=re.lineSeries.marker.markerStyle,t.size??=re.lineSeries.marker.markerBigSize,n=NN(t)):gd(t)&&(n=VN(t,s)),n}function Cv(a,t,e){let i=xw(a.horizontalAlignment,e?.horizontalCenter),r=QI(a.horizontalAlignment,e?.align),s=HI(a.verticalAlignment,e?.verticalCenter),n=RN(a.verticalAlignment,e?.valign);return{fill:bn(a.color,re.color),fontFamily:a.font?.family??"Arial, Helvetica, sans-serif",fontSize:a.font?.size??re.generalFontSize,fontWeight:a.font?.weight??"400",textDecoration:a.font?.decoration??"none",align:r,valign:n,verticalCenter:s,horizontalCenter:i,text:xa({textSymbol:a,format:"amChartsV4"}),angle:NI(a.angle,e?.rotation),xOffset:a.xoffset??e?.dx??0,yOffset:a.yoffset??e?.dy??0,backgroundFill:bn(a.backgroundColor),borderFill:bn(a.borderLineColor),borderWidth:a.borderLineSize??1,haloSize:a.haloSize??-1,haloColor:bn(a.haloColor),rtl:a.rightToLeft??t,wrap:e?.wrap??!1,maxWidth:e?.maxWidth??Number.NaN}}function XI(a,t,e){e!==void 0&&a.tooltip!==void 0&&(a.tooltip.getFillFromObject=!1,a.tooltip.background.fill=t),a.fill=e??t,a.fillOpacity=Ne(a.fill.toString()).alpha===0?0:1}function mA(a,t){a.stroke=t.stroke,a.strokeOpacity=t.stroke.alpha===0?0:1,a.strokeDasharray=t.strokeDasharray,a.strokeLinecap=t.strokeLinecap,a.strokeWidth=t.strokeWidth}function wv(a){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return e!==void 0?(n=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(t.path=n.path,t.rotation=n.angle,t.dx=n.xOffset,t.dy=n.yOffset,XI(t,n.fill),mA(t,n.outline)),Ui(t,i),t.disabled=i===!1):t.disabled=!0,n}function Nc(a){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return e!==void 0?(n=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&mA(t,n),Ui(t,i)):Ui(t,!1),n}function Mf(a){let{element:t,fillSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s,isChartFillSymbol:n}=a,o,l;if(e!==void 0){if(e.style===bs.Cross||e.style===bs.DiagonalCross){let h=kN(t);h!==void 0&&(l=$N(h))}o=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s,isChartFillSymbol:n,chartBackgroundColor:l}),o!==void 0&&(XI(t,o.fill,o.pattern),mA(t,o.outline)),t.disabled=i===!1}else t.disabled=!0;return o}function pu(a){let{element:t,seriesIndex:e,colorMatch:i,seriesSymbol:r,isChartFillSymbol:s,rendererSymbol:n,seriesConfig:o}=a,l,h;i===!0&&n&&(l=yx({rendererSymbol:n,seriesSymbol:r,colorIndex:e}));let u={element:t,defaultToColorFromRamp:!0,colorRampIndex:e,seriesConfig:o},c=l??{...r};switch(r.type){case Rt.SLS:h=Nc({...u,lineSymbol:c});break;case Rt.SFS:h=Mf({...u,fillSymbol:c,isChartFillSymbol:s});break;case Rt.SMS:h=wv({...u,markerSymbol:c});break}return{symbolWithColorInfo:c,stylingInfo:h}}function WL(a,t){if(t!==void 0){let e=a.properties,{elementColor:i,elementOutlineColor:r,elementOutlineWidth:s,rotation:n,transformation:o}=t,{opacity:l,scale:h}=o??{};i!==void 0&&(e.fill=Qc(i),e.fillOpacity=Ne(e.fill.toString()).alpha===0?0:1),r!==void 0&&(e.stroke=Qc(r)),s!==void 0&&(e.strokeWidth=s),n!==void 0&&(e.rotation=n),h!==void 0&&(e.scale=h),l!==void 0&&(e.fillOpacity=(e.fillOpacity??1)*l,e.strokeOpacity=(e.strokeOpacity??1)*l)}}function QN(a,t,e){let i=new Set(Array.from(t)),r=a.findIndex(s=>!i.has(tw(s)));return r!==-1?r:e}function tw(a){return`${a[0]},${a[1]},${a[2]}`}function HN(a){let{chartConfig:t,queryObject:e,popupTemplateFieldInfosEnabled:i,labelUpdateNeeded:r,utilsStrings:s}=a,{series:n}=t,o=n[0],{x:l}=o,h=!FF({chartConfig:t}),u=It([o]),c=u===ke.PieFromFields,d=Os(e),A=Ch(d).idField,p=_a(e,i);return{x:l,isNonAggregatedChart:h,objectIdField:A,isPieFromFields:c,seriesConfig:o,fieldList:p,labelUpdateNeeded:r,chartSubType:u,colorMatch:Fl(t),utilsStrings:s}}function jN(a){let{dataContext:t,seriesConfig:e,existingSlicesColors:i,isGroupOfSlices:r,sliceFromConfig:s,dataIndex:n,colorMatch:o,chartSubType:l}=a,h=r?{...pt.pieChart.sliceGrouping.fillSymbol,...e.sliceGrouping?.fillSymbol}:_r(s?.fillSymbol??e.fillSymbol),u=on({dataItem:t,seriesConfig:e,chartSubType:l,colorMatch:o}),c=n;h?.color||(c=QN(AF,i,n));let d={dataItem:{dataContext:t}},{symbolWithColorInfo:A}=pu({element:d,seriesConfig:e,y:e.y,seriesSymbol:h??Ym(),seriesIndex:c,rendererSymbol:u,colorMatch:o,isChartFillSymbol:!0});return A}function XL(a,t){let{x:e,isNonAggregatedChart:i,objectIdField:r,isPieFromFields:s,seriesConfig:n,fieldList:o,labelUpdateNeeded:l,colorMatch:h,chartSubType:u,utilsStrings:c}=a,d=[],A,p,f=new Set;return t?.forEach((m,g)=>{let y=GN({dataContext:m,x:e,isNonAggregatedChart:i,dataIndex:g,objectIdField:r,isPieFromFields:s});m[pt.pieChart.technicalFieldSliceId]=y;let x=iw(n.slices,y);x?.fillSymbol?.color!==void 0&&f.add(tw(x.fillSymbol.color))}),t?.forEach((m,g)=>{let y=m[pt.pieChart.technicalFieldSliceId],x=iw(n.slices,y),w=sh(m),S=jN({dataContext:m,seriesConfig:n,existingSlicesColors:f,isGroupOfSlices:w,sliceFromConfig:x,dataIndex:g,colorMatch:h,chartSubType:u});S.color&&f.add(tw(S.color));let T=YN({dataContext:m,sliceFromConfig:x,isGroupOfSlices:w,seriesConfig:n,fieldList:o,isPieFromFields:s,labelUpdateNeeded:l,colorMatch:h,utilsStrings:c}),F={sliceId:y,label:T,fillSymbol:S};F.originalLabel=x?.originalLabel??(m?.[pt.originalCategoryValue]!==void 0?m?.[pt.originalCategoryValue]:F.label),w?(p=m[pt.pieChart.technicalFieldGroupedSlices],n.sliceGrouping!==void 0&&(A={sliceId:n.sliceGrouping.sliceId,percentageThreshold:n.sliceGrouping.percentageThreshold,label:T,originalLabel:n.sliceGrouping.originalLabel??T,fillSymbol:S})):d.push(F)}),{slices:d,groupOfSlicesSymbols:A,groupOfSlices:p}}function zI(a){let{creation:t,dataInfo:e,pieChartDataActuallyChanged:i,chartConfig:r,previousConfig:s,queryObject:n,popupTemplateFieldInfosEnabled:o,utilsStrings:l}=a,h;if(r.series[0].type===V.PieSeries){let u=Ln(e.data),c=dx({oldConfig:s,newConfig:r}),d=cx(s,r),A=tg(s,r),p=HN({chartConfig:r,queryObject:n,popupTemplateFieldInfosEnabled:o,labelUpdateNeeded:t||i||c||A||d,utilsStrings:l}),{slices:f,groupOfSlicesSymbols:m,groupOfSlices:g}=XL(p,u),{slices:y}=XL(p,g??[]);h={slices:f,groupedSlices:y,groupOfSlices:m}}return h}async function WN(a){let{creation:t,dataInfo:e,dataInfo:{data:i},pieChartDataActuallyChanged:r,chartConfig:s,previousConfig:n,pieSlicesSymbols:o,queryObject:l,options:h,utilsStrings:u}=a,{slices:c}=o??{},{chartWillRender:d}=h??{},A=ze(s.series),p=!1,f=s,m=_r(o),g,y;if(d&&(A===V.PieSeries||A===V.GaugeSeries)){p=!0,f=_r(s);let x=pg({data:i,seriesConfig:s.series});f=await d({chartConfig:f,data:x,slices:c}),!xs(l)&&A===V.PieSeries&&i&&"dataItems"in i&&({colorMatchApplied:g,rendererFieldNames:y}=await Sx({data:i.dataItems,queryObject:l,chartConfig:f,allowColorMatch:gx({chartConfig:f,queryObject:l})}),m=zI({creation:t,dataInfo:e,chartConfig:f,previousConfig:n,queryObject:l,pieChartDataActuallyChanged:r,popupTemplateFieldInfosEnabled:h?.popupTemplateFieldInfosEnabled,utilsStrings:u}))}return{changesApplied:p,alteredConfig:f,alteredPieSlicesSymbols:m,colorMatchApplied:g,rendererFieldNames:y}}function sh(a){return a?.[an.defaultGroupOfSlicesId]===!0}function XN(a){let{dataContext:t,dataIndex:e,objectIdField:i}=a;return`${an.sliceIdPrefix}-${t[i??""]?.toString()??e}`}function zN(a){let{chartConfig:t,chartData:e,fieldList:i}=a,r=It(t.series)===ke.PieFromFields;if(t.orderOptions?.data!==void 0||r){cg({arrayToSort:e,chartConfig:t,fieldList:i});let{slices:s}=t.series[0];s!==void 0&&s.sort((n,o)=>{let l=e.findIndex(u=>u[pt.pieChart.technicalFieldSliceId]===n.sliceId),h=e.findIndex(u=>u[pt.pieChart.technicalFieldSliceId]===o.sliceId);return l-h})}}function iw(a,t){let e;return a!==void 0&&t!==void 0&&(e=a.find(i=>i.sliceId===t)),e}function GN(a){let{dataContext:t,isNonAggregatedChart:e,x:i,dataIndex:r,objectIdField:s,isPieFromFields:n}=a,o="";return n===!0?o=t[pt.originalCategoryValue]??t[ao]:e?o=XN({dataContext:t,dataIndex:r,objectIdField:s}):(o=t[pt.originalCategoryValue],o===void 0||o===""?o=an.emptySliceId:o===null&&(o=an.nullSliceId),o=o??t[i]),o===void 0&&(o=an.undefinedSliceId),o.toString()}function YN(a){let{dataContext:t,sliceFromConfig:e,isGroupOfSlices:i,seriesConfig:r,fieldList:s,isPieFromFields:n,labelUpdateNeeded:o,colorMatch:l,utilsStrings:h}=a,{sliceGrouping:u}=r,{x:c}=r;n&&(c=ao);let d=t[c]??t[pt.originalCategoryValue],A=t[pt.originalCategoryValue]??d,p=d;return o&&(i?p=u?.label??u?.originalLabel?.toString()??h.pieChart.defaultSliceGroupingLabel:l&&t[pt.rendererSymbolField]?.label!==void 0?p=t[pt.rendererSymbolField].label:e!==void 0||s!==void 0?(e?.label&&e.label!==e?.sliceId&&(p=e?.label),p===A&&A!==void 0&&A!==null&&(p=Or(s,A))):e===void 0&&(p=A),p===pt.nullValue?p="null":p!=null&&(p=p.toString())),p}function Cw(a,t){return a?.[0]?.sliceGrouping?.percentageThreshold!==t?.[0]?.sliceGrouping?.percentageThreshold}function Hf(a){let{groupOfSlicesDataContext:t,chartData:e}=a;return(t??e?.find(i=>i[an.defaultGroupOfSlicesId]===!0))?.[pt.pieChart.technicalFieldGroupedSlices]}function ww(a){let{dataContext:t,pieSlicesSymbols:e,seriesConfig:i}=a,r=i.fillSymbol?{...i.fillSymbol}:Ym();if(sh(t))r={...pt.pieChart.sliceGrouping.fillSymbol,...e?.groupOfSlices?.fillSymbol};else{let s=t[pt.pieChart.technicalFieldSliceId],n=e?.slices?.find(o=>o.sliceId===s);r=_r(n?.fillSymbol??i.fillSymbol??Ym())}return r}function KN(a){let{data:t,seriesConfig:e,utilsStrings:i}=a,r=e[0],s=t?.reduce((d,A)=>{let p=A[Uu]??A[r.y];return Number.isFinite(p)||(p=0),p+d},0),n=r?.sliceGrouping?.percentageThreshold??0,o=[],l,h=0,u=t?.find(d=>d[an.defaultGroupOfSlicesId]===!0)?.[pt.pieChart.technicalFieldGroupedSlices]??[],c=[...t,...u].filter(d=>{let A=!0,p=d[Uu]??d[r.y];if(Number.isFinite(p)){let f=p/s*100;d[pt.pieChart.technicalFieldSlicePercent]=f,f<=n&&d[an.defaultGroupOfSlicesId]!==!0&&(h+=p,o.push(d),A=!1)}else d[an.defaultGroupOfSlicesId]!==!0&&(o.push(d),A=n===0||n===void 0);return d[an.defaultGroupOfSlicesId]===!0&&(l=d,A=!1),A});if(n>0&&o.length>0){let d=h/s*100,A=It(e)===ke.PieFromFields,p={...l,[an.defaultGroupOfSlicesId]:!0,[A?ao:r.x]:r.sliceGrouping?.label??i?.pieChart.defaultSliceGroupingLabel,[A?Uu:r.y]:h,[pt.pieChart.technicalFieldSlicePercent]:d,[pt.pieChart.technicalFieldGroupedSlices]:o};c.push(p)}return c}function zL(a){let{creation:t,previousConfig:e,newConfig:i,dataInfo:r,dataUpdateNeeded:s,utilsStrings:n}=a,o=!1;if(r.data&&"dataItems"in r.data&&(t||e&&fg(e.series))&&i&&fg(i.series)){let l=t||e&&fg(e.series)&&Cw(e.series,i.series);(s||l)&&(r.data.dataItems=KN({data:r.data.dataItems,seriesConfig:i.series,utilsStrings:n}),cg({arrayToSort:r.data.dataItems,chartConfig:i}),o=!0)}return o}function ZN(a,t){let e=a.reduce((i,r)=>{if(r[an.defaultGroupOfSlicesId]===!0){let s=r[pt.pieChart.technicalFieldGroupedSlices];s!==void 0&&s.forEach(n=>{i.push(n)})}else i.push(r);return i},[]);return cg({arrayToSort:e,chartConfig:t}),e=pg({data:{dataItems:e},seriesConfig:t.series})?.dataItems??[],e}function GI(a,t){let e=a?.filter(i=>!sh(i));return!rn(e,t)}function qN(a){let{dataContext:t,newLabel:e,x:i}=a;e===void 0?t[pt.originalCategoryValue]!==void 0&&(t[i]=t[pt.originalCategoryValue]):t[i]!==e&&(t[pt.originalCategoryValue]===void 0&&(t[pt.originalCategoryValue]=t[i]),t[i]=e)}function JN(a){let{data:t,newChartConfig:e,pieSlicesSymbols:i,fieldList:r}=a,s=e.series[0],n=It(e.series)===ke.PieFromFields?ao:s.x;t.forEach(o=>{let l=sh(o),h=o[pt.pieChart.technicalFieldSliceId],u=l?s.sliceGrouping?.label:iw(i?.slices,h)?.label;qN({dataContext:o,x:n,newLabel:u})}),zN({chartConfig:e,chartData:t,fieldList:r})}var Hi={SelectXY:"selectXY",SelectX:"selectX",SelectY:"selectY",ZoomXY:"zoomXY",ZoomX:"zoomX",ZoomY:"zoomY",None:"none"},ji={Top:"top",Bottom:"bottom",Median:"median",Outliers:"outliers"};function fl(a){let{type:t,iLocale:e,formatLocale:i=fd(document.documentElement)}=a,r;switch(t){case V.NumberAxisFormat:{r=new Rl,r.language.locale=e,r.intlLocales=i;break}case V.DateAxisFormat:{r=new un,r.language!==void 0&&(r.language.locale=e),r.intlLocales=i;break}}return r}function rw(a){let{axis:t,valueFormat:e,chartType:i}=a,r=qm({isXAxis:!0,chartType:i,valueFormat:e}),s=ro(e)&&t instanceof Ct,n=ba(e)&&t instanceof Qe&&!(t instanceof Ct),o=r&&t instanceof $t;return!s&&!n&&!o}function YI(a,t){let e=typeof t=="number"?`${t}`:t,i=Qs(a.uid,"numberFormatter");return i!==void 0&&(e=i(t)),zi(e)&&(e=re.htmlEmptyContent),Er(e)}function eQ(a){a.renderer.labels.template.html=re.htmlEmptyContent,a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>YI(a,e?.dataItem?.value??t),0)}function KI(a){let{axis:t,defaultOutput:e,dataItem:i}=a,r=e,s=Qs(t.uid,"categoryFormatter"),n=Qs(t.uid,"numberFormatter");if((n!==void 0||s!==void 0)&&i instanceof Jo){let o=ve(t.chart.uid,"config"),l=It(o?.series),h=ve(t.chart.uid,"rendererFieldNames"),u=no({value:JA(l,o?.series?.[0]),dataContext:i.dataContext,useRendererLabel:Hu(o,h),config:o});if(typeof u=="number"&&n!==void 0)r=n(u);else if(s!==void 0){if([ke.BoxPlotMonoField,ke.BoxPlotMultiFields,ke.BoxPlotMonoFieldAndSplitBy,ke.BoxPlotMultiFieldsAndSplitBy,ke.BarAndLineFromFields].includes(l)&&typeof u=="string"){let d=ve(t.chart.uid,"fieldList");u=Or(d,u)}let c=oo(i.dataContext);c===void 0&&(c=u),r=s(u,c)}}return zi(r)&&(r=re.htmlEmptyContent),Er(r)}function tQ(a){a.renderer.labels.template.html=re.htmlEmptyContent,a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>KI({axis:a,defaultOutput:t,dataItem:e?.dataItem}),0)}function iQ(a){let{axis:t,defaultOutput:e,dataItem:i}=a,r=e,s=Qs(t.uid,"dateFormatter");return s!==void 0&&i instanceof Nh&&(r=s(i.value??e)),zi(r)&&(r=re.htmlEmptyContent),Er(r)}function rQ(a){a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>iQ({axis:a,dataItem:e?.dataItem,defaultOutput:t}),0),a.renderer.labels.template.adapter.disableKey("htmlOutput")}function sQ(a){a.renderer.labels.template.adapter.add("htmlOutput",t=>{let e=t,i=Qs(a.uid,"fontStyleCallback");return i!==void 0&&(e=i(e)),Er(e)},1)}function aQ(a){a instanceof Qe&&!(a instanceof Ct)?eQ(a):a instanceof $t?tQ(a):a instanceof Ct&&rQ(a),sQ(a)}function nQ(a){let{axis:t,formatOptions:e,dateAxisFormatter:i,isTimeOnlyField:r,setTimeZone:s,outTimeZone:n}=a;if(Ls(t.uid,{dateFormatter:i}),i===void 0){t.renderer.labels.template.adapter.isEnabled("htmlOutput")&&(t.renderer.labels.template.adapter.disableKey("htmlOutput"),t.renderer.labels.each(u=>{u.element instanceof $p&&u.element.removeChildren()}));let o={...$o(e)};r&&(o={hour:r?"numeric":void 0,minute:r?"numeric":void 0,...o});let l=["year","month","day","hour","minute","second"],h=o.timeZone??n;s&&t.timezone!==h&&(t.setPropertyValue("timezone",h),t.chart.validateData()),delete o.timeZone;for(let u=0;u<l.length;u+=1){let c=l[u],d=u===0?c:l[u-1],A=e?.formatPerDateTimeUnit?.[c]??o,p=e?.formatPerDateTimeUnit?.[d];ku(A)||(t.dateFormats.setKey(c,A),t.periodChangeDateFormats.setKey(c,p??A))}t.dateFormats.getKey("day")||t.dateFormats.setKey("day",re.dayDefaultFormat),t.periodChangeDateFormats.getKey("day")||t.periodChangeDateFormats.setKey("day",re.dayDefaultFormat),t.dateFormats.getKey("week")||t.dateFormats.setKey("week",t.dateFormats.getKey("day")??re.weekDefaultFormat),t.periodChangeDateFormats.getKey("week")||t.periodChangeDateFormats.setKey("week",t.periodChangeDateFormats.getKey("day")??re.weekDefaultFormat),t.invalidateLabels()}else t.renderer.labels.template.html=re.htmlEmptyContent,t.renderer.labels.template.adapter.enableKey("htmlOutput")}function oQ(a,t,e,i){let r=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:e});return r.numberFormat=a,s=>{let n=0;return s instanceof Date?s.toLocaleString(void 0,a):(n=typeof s!="string"?s??0:Bx(s,r.intlLocales),i===!0&&a.style==="percent"&&(n/=100),r.format(n))}}function GL(a){let{axis:t,formatOptions:e,overridePercentMultiplication:i,valueAxisFormatter:r}=a,s=$o(e),n=ve(t.chart.uid,"formatLocale");Ls(t.uid,{numberFormatter:r??oQ(s,t.chart.language.locale,n,i)})}function lQ(a){let{axis:t,formatOptions:e,categoryAxisFormatter:i}=a,r=i!==void 0?i:ig(e.characterLimit);Ls(t.uid,{categoryFormatter:r})}function hQ(a){let{axis:t,labelsTextSymbol:e,axisValueFormatter:i}=a,r=ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior;if(Ls(t.uid,{axisLabelsBehavior:r}),i!==void 0)Ls(t.uid,{fontStyleCallback:void 0});else if(Qs(t.uid,"fontStyleCallback")===void 0){let s=n=>{let o=Qs(t.uid,"axisLabelsBehavior");return xa({textSymbol:e,placeholderString:n,format:"html",axisLabelsBehavior:o,defaults:{maxWidth:t.renderer.labels.template.maxWidth}})};Ls(t.uid,{fontStyleCallback:s})}}function uQ(a){let{axis:t,isXAxis:e,formatOptions:i,labelsTextSymbol:r,overridePercentMultiplication:s,chartType:n,axisValueFormatter:o,isTimeOnlyField:l,setTimeZone:h,outTimeZone:u,errorStrings:c}=a,d=qm({isXAxis:e,chartType:n,valueFormat:i}),A=!1;!(t instanceof Ct)&&ba(i)?GL({axis:t,formatOptions:i,overridePercentMultiplication:s,valueAxisFormatter:o}):t instanceof Ct&&ro(i)?nQ({axis:t,formatOptions:i,dateAxisFormatter:o,isTimeOnlyField:l,setTimeZone:h,outTimeZone:u}):t instanceof $t?dd(i)||d?(lQ({axis:t,formatOptions:i,categoryAxisFormatter:o}),Ls(t.uid,{numberFormatter:void 0})):ba(i)?(GL({axis:t,formatOptions:i,overridePercentMultiplication:s,valueAxisFormatter:o}),Ls(t.uid,{categoryFormatter:void 0})):A=!0:A=!0,A&&Zm("mismatchAxisAndValueFormat",c),hQ({axis:t,labelsTextSymbol:r,axisValueFormatter:o}),t.invalidateLabels()}function cQ(a){let t=a;return a>=1?t=10**(a.toFixed(0).length-1):a<1&&a>0&&(t=10**-Math.abs(Math.floor(Math.log10(a)))),t}function ZI(a){let{minimumFromConfig:t,maximumFromConfig:e,isLogarithmic:i}=a,r=i===!0&&t!==null&&t!==void 0&&t<=0,s=!Number.isFinite(t)||!Number.isFinite(e);return r||s}var Xt={XAxisTitle:"XAxisTitle",YAxisTitle:"YAxisTitle",ChartTitle:"ChartTitle",ChartSubTitle:"ChartSubTitle",ChartFooter:"ChartFooter",GuideLabel:"GuideLabel",LegendTitle:"LegendTitle"},Ie={Ready:"ready",Hidden:"hidden",Shown:"shown",Hit:"hit",DoubleHit:"doublehit",Up:"up",SelectEnded:"selectended",Over:"over",Out:"out",SizeChanged:"sizechanged",VisibilityChanged:"visibilitychanged",PositionChanged:"positionchanged",Validated:"validated",DataItemsValidated:"dataitemsvalidated",Inited:"inited",ChildAdded:"childadded",DataRangeChanged:"datarangechanged",LayoutValidated:"layoutvalidated"};function qI(a){let{actionMode:t,cursorRange:e,isRotated:i}=a,r=Hi.None;switch(e){case Km.MultiAxes:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=Hi.SelectXY:t===Ut.Zoom&&(r=Hi.ZoomXY);break;case Km.XAxis:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=i===!0?Hi.SelectY:Hi.SelectX:t===Ut.Zoom&&(r=i===!0?Hi.ZoomY:Hi.ZoomX);break;case Km.YAxis:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=i===!0?Hi.SelectX:Hi.SelectY:t===Ut.Zoom&&(r=i===!0?Hi.ZoomX:Hi.ZoomY);break}return r}function dQ(a,t){let e=re.cursorCrosshair.style,i={type:Rt.SLS,style:t.style??e.style,color:t.color??e.color,width:t.width??e.width};Nc({element:a.cursor.lineX,lineSymbol:i}),Nc({element:a.cursor.lineY,lineSymbol:i})}function JI(a){if(!(a instanceof Ks)&&!(a instanceof qi)){a.cursor=new vc;let t="userAgentData"in navigator&&navigator.userAgentData&&typeof navigator.userAgentData=="object"&&"mobile"in navigator.userAgentData&&navigator.userAgentData.mobile===!0||/Mobi|Android/iu.test(navigator.userAgent);a.cursor.hideSeriesTooltipsOnSelection=!t}}function e1(a,t){if(!(a instanceof Ks)&&!(a instanceof qi)){let e=a,i=e.cursor??new vc;t?.style!==void 0&&dQ(e,t.style);let r=re.cursorCrosshair;i.lineX.disabled=r.verticalLineVisible?t?.verticalLineVisible===!1:t?.verticalLineVisible!==!0,i.lineY.disabled=r.horizontalLineVisible?t?.horizontalLineVisible===!1:t?.horizontalLineVisible!==!0,e.cursor=i}}function AQ(a){return!(a instanceof Ks)&&a.cursor===void 0&&JI(a),a.cursor}function sw(a,t){let e=a.renderer.labels.template;e.events.hasListenersByType(Ie.Hit)&&(e.cursorOverStyle=t),a.renderer.labels.each(i=>{i.cursorOverStyle=t})}function pQ(a){let{chart:t,chartType:e,showMean:i,enabled:r}=a,s=r?si.pointer:si.default;switch(e){case V.ComboLineAndBarSeries:case V.BarSeries:case V.PieSeries:t.series.each(n=>{(n instanceof Xi||n instanceof Bs)&&(n.cursorOverStyle=s)});break;case V.BoxPlotSeries:t.series.each(n=>{let o=s;if(n instanceof Pi){let l=Yr(n);l!==void 0&&(i&&sa(n.uid,"isBoxPlotOutliersSeries")&&(o=si.default),l.cursorOverStyle=o,l.clones.each(h=>{h.cursorOverStyle=o}))}else n.cursorOverStyle=i?si.default:s});break;case V.LineSeries:t.series.each(n=>{if(n instanceof Pi){let o=Yr(n);o!==void 0&&(o.cursorOverStyle=s,o.clones.each(l=>{l.cursorOverStyle=s}))}});break}}function fQ(a){let{chart:t,actionMode:e,cursorRange:i}=a,r=ve(t.uid,"isRotated"),s=ve(t.uid,"config"),n=oa(s),o=ze(s?.series),l=o===V.LineSeries&&ba(s?.axes?.[0]?.valueFormat),h=o===V.LineSeries&&dd(s?.axes?.[0]?.valueFormat),u=o===V.LineSeries&&ro(s?.axes?.[0]?.valueFormat),c,d=!1,A=e??ve(t.uid,"actionMode")??re.actionMode;if(ve(t.uid,"filterBySelection")===!0)c=Hi.None,d=!1;else if(i!==void 0)c=qI({actionMode:A,cursorRange:i,isRotated:r});else switch(A){case Ut.Zoom:l||u?c=Hi.ZoomXY:c=r===!0?Hi.ZoomY:Hi.ZoomX,d=!1;break;case Ut.MultiSelection:case Ut.MultiSelectionWithCtrlKey:h?c=r===!0?Hi.SelectY:Hi.SelectX:c=Hi.SelectXY,d=!0;break;case Ut.MonoSelection:c=Hi.None,d=!0;break;case Ut.None:c=Hi.None,d=!1;break}t instanceof Vt&&t.cursor!==void 0&&c!==void 0&&(t.cursor.behavior=c),pQ({chart:t,chartType:o,enabled:d,showMean:n})}function t1(a){let t="";return a instanceof Hr?t=a.dataFields?.categoryX??a.dataFields?.dateX??a.dataFields?.valueX??"":a instanceof Bs&&(t=a.dataFields?.category??""),t}function i1(a){let t="";return a instanceof Hr?t=a.dataFields?.categoryY??a.dataFields?.dateY??a.dataFields?.valueY??"":a instanceof Bs&&(t=a.dataFields?.value??""),t}function r1(a){return ve(a.chart.uid,"isRotated")===!0?i1(a):t1(a)}function _u(a){return ve(a.chart.uid,"isRotated")===!0?t1(a):i1(a)}function kv(a,t=0){let e=ve(a.chart.uid,"config");return ze(e?.series,t)}function*mQ(a){let{filterList:t,queryObject:e,queryConfig:i,errorStrings:r}=a;for(let s=0;s<t.length;s+=1){let n={...i};n.where=lg([n.where,t[s]]),yield tT({queryObject:e,queryConfig:n,uniqueFeature:!0,errorStrings:r})}}async function s1(a){let{whereList:t,queryObject:e,queryFilter:i,queryConfig:r,errorStrings:s}=a,n=[];if(t.length>0){let o=xF().maxElementsPerSelectionQuery,l=[],h=Math.ceil(t.length/o);for(let c=0;c<h;c+=1){let d=c*o,A=(c+1)*o,p=t.slice(d===0?0:d-1,A),f=lg(p,"OR");f=lg([i,f]),l.push(f)}let u=mQ({filterList:l,queryObject:e,queryConfig:r,errorStrings:s});n=(await Promise.all(u)).flat(),n=Array.from(new Set(n))}return n}var Au={Outlier:"outlier",Box:"box",OutlierToOutlier:"outlier-outlier",OutlierToBox:"outlier-box",BoxToOutlier:"box-outlier",BoxToBox:"box-box"};function gQ(a,t){let e=a[pt.boxPlot.boxPlotOutlierId]===!0?Au.Outlier:Au.Box,i=typeof t=="number"?Au.Outlier:Au.Box;return`${e}-${i}`}function yQ(a){let{oneSelectedItem:t,dataContext:e,selectedOutlierKey:i}=a;return t[i]===e[i]}function vQ(a){let{elementMin:t,elementMax:e,selectedOutlierValue:i}=a,r;return typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(r=i>=t&&i<=e),r}function bQ(a){let{selectedMin:t,selectedMax:e,elementOutlierValue:i,oneSelectedItem:r,iqrField:s}=a,n;typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(n=i>=t&&i<=e);let o=s in r;return n!==!1&&o}function xQ(a){let{selectedMin:t,selectedMax:e,elementMin:i,oneSelectedItem:r,elementMax:s,iqrField:n}=a,o;typeof i=="number"&&typeof s=="number"&&typeof t=="number"&&typeof e=="number"&&(o=!(i>=e||s<=t));let l=n in r;return o!==!1&&l}function _Q(a){let{oneSelectedItem:t,dataContext:e,xAxisField:i}=a,r=e[pt.originalCategoryValue]??e[pt.boxPlot.boxPlotCategory]??e[i],s=t[pt.originalCategoryValue]??t[pt.boxPlot.boxPlotCategory]??t[i];return r===s}function CQ(a){let{chartSubType:t,yAxisField:e,splitBy:i,showOutliers:r}=a,s=t===ke.BoxPlotMultiFieldsAndCategory?e:void 0,n={y:s,splitBy:i},o=Zi({...n,key:Zt.Outlier}),l=Zi({...n,key:Zt.Max,showOutliers:r}),h=Zi({...n,key:Zt.Min,showOutliers:r}),u=Zi({...n,key:Zt.Max,showOutliers:!1}),c=Zi({...n,key:Zt.Min,showOutliers:!1}),d=Zi({...n,key:Zt.Max,showOutliers:!0}),A=Zi({...n,key:Zt.Min,showOutliers:!0}),p=Zi({splitBy:i,y:s,key:Zt.IQR});return{selectedOutlierKey:o,maxField:l,minField:h,selectedMaxFieldWoOutliers:u,selectedMinFieldWoOutliers:c,selectedMaxFieldWithOutliers:d,selectedMinFieldWithOutliers:A,iqrField:p}}function wQ(a){let{elementDataContext:t,layerOidField:e,xAxisField:i,splitBy:r,yAxisField:s,chartSubType:n,showOutliers:o}=a,l=t,h;if(l?.[pt.boxPlot.boxPlotMeanLineMarkerId]===!0){let u=Zi({splitBy:r,key:Zt.Average});h=c=>{let d=!i||!(i in c&&i in l)||c[i]===l[i],A=u in c&&u in l;return d&&A}}else i!==void 0&&s!==void 0&&(h=u=>{let c;if(e!==void 0&&e in u&&e in l)c=u[e]===l[e];else{let{selectedOutlierKey:d,maxField:A,minField:p,selectedMaxFieldWoOutliers:f,selectedMinFieldWoOutliers:m,selectedMaxFieldWithOutliers:g,selectedMinFieldWithOutliers:y,iqrField:x}=CQ({chartSubType:n,yAxisField:s,splitBy:r,showOutliers:o}),w=l[d],S=u[d],T=l[p],F=l[A],L=u[m]??u[y],$=u[f]??u[g],I=_Q({oneSelectedItem:u,dataContext:l,xAxisField:i});if(I)switch(gQ(u,w)){case Au.OutlierToOutlier:I=yQ({oneSelectedItem:u,dataContext:l,selectedOutlierKey:d});break;case Au.OutlierToBox:I=vQ({elementMin:T,elementMax:F,selectedOutlierValue:S});break;case Au.BoxToOutlier:I=bQ({selectedMin:L,selectedMax:$,elementOutlierValue:w,oneSelectedItem:u,iqrField:x});break;case Au.BoxToBox:I=xQ({selectedMin:L,selectedMax:$,elementMin:T,oneSelectedItem:u,elementMax:F,iqrField:x});break}c=I===!0}return c});return h}function Bw(a){let{layerOidField:t,sliceDataContext:e,selectionDataContext:i,xAxisField:r}=a,s=!1;if(t!==void 0&&t in e&&t in i)s=i[t]?.toString()===e[t]?.toString();else{let n=e[pt.originalCategoryValue];n===void 0&&(n=e[r]),n===void 0&&(n=e[ao]);let o=i[pt.originalCategoryValue];o===void 0&&(o=i[r]),o===void 0&&(o=i[ao]),s=n!==void 0&&o!==void 0&&n===o}return s}function mv(a){let{dataContext:t,specificField:e,xOrY:i}=a,r=t[i==="x"?pt.originalCategoryValue:pt.originalYCategoryValue];return r===void 0&&e&&(r=t[e]),r===void 0&&(r=t[i==="x"?xr.xField:xr.yField]),r}function $v(a){let{options:t,elementDataContext:e,selectionDataItems:i,layerOidField:r,xAxisField:s,yAxisField:n,chartType:o,splitBy:l,chartSubType:h}=a,u=!1,c;if(e!==void 0&&i!==void 0)switch(o){case V.HeatSeries:let d=e,A=mv({dataContext:d,specificField:s,xOrY:"x"}),p=mv({dataContext:d,specificField:n,xOrY:"y"});c=f=>{let m=mv({dataContext:f,specificField:s,xOrY:"x"}),g=mv({dataContext:f,specificField:n,xOrY:"y"});return A===m&&p===g};break;case V.RadarSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:if(s!==void 0&&n!==void 0){let f=e;c=m=>{let g,y=r;if(h===ke.BarAndLineSplitByNoAggregation){let x=xh({where:l,keepSurroundingQuotes:!1,escape:!1});y=`${r}_${x}`}if(r!==void 0&&r in m&&r in f)g=m[r]===f[r];else if(y!==void 0&&y in m&&y in f)g=m[y]===f[y];else if(pt.dateBinningRange in f&&typeof m[s]=="number"){let x=m[s],w=m[pt.dateBinningRange],S=Array.isArray(w)&&Number.isFinite(w[0])&&Number.isFinite(w[1]),[T,F]=S?w:[0,0],[L,$]=f[pt.dateBinningRange],I=f[pt.lastTemporalBin]===!0?x<=$:x<$;g=(S?T<$&&L<F:x>=L&&I)&&n in m&&Number.isFinite(m[n])}else{let x=S=>{let T=S[pt.originalCategoryValue];return T===void 0&&(T=S[s]),T=T===null?pt.nullValue:T,T},w=x(f);g=x(m)===w&&n in m}return g}}break;case V.BoxPlotSeries:c=wQ(a);break;case V.ScatterSeries:if(s!==void 0&&n!==void 0){let f=e;if(!SF({dataContext:f,chartLimits:t?.chartLimits}))c=m=>{let g;return r!==void 0&&r in f&&r in m?g=m[r]===f[r]:g=m[s]===f[s]&&m[n]===f[n],g};else{let{dataContextXMinField:m,dataContextXMaxField:g,dataContextYMinField:y,dataContextYMaxField:x}=pt.scatterplotAggregationFields,{[m]:w,[g]:S}=f,T=s!==n?f[y]:w,F=s!==n?f[x]:S,L=I=>{let U=I[s]??Number.NaN,P=w??Number.NaN,Q=S??Number.NaN;return w===S?U===P:(U??Number.NaN)>=P&&(U??Number.NaN)<Q},$=I=>{let U=I[n]??Number.NaN,P=T??Number.NaN,Q=F??Number.NaN;return T===F?U===P:U>=P&&U<Q};c=I=>L(I)&&$(I)}}break;case V.HistogramSeries:c=f=>{let m=!1,{minValue:g,maxValue:y}=e,{isLastBin:x}=e;if(s!==void 0&&s in f){let w=f[s];m=typeof w=="number"&&w>=g&&(x&&w<=y||!x&&w<y)}else if("minValue"in f&&"maxValue"in f){let{minValue:w,maxValue:S}=f;m=!(g>=S||y<=w)}return m};break;case V.PieSeries:s!==void 0&&(c=f=>{let m=e,g=sh(m),y=[m];return g&&y.push(...Hf({groupOfSlicesDataContext:m})??[]),y.some(x=>Bw({sliceDataContext:x,selectionDataContext:f,layerOidField:r,xAxisField:s}))});break}return c!==void 0&&(u=i.some(c)),u}function th(a){let{isFeatureCollectionLayer:t,dataContext:e,yAxisField:i,yList:r,xAxisField:s,splitBy:n,chartType:o,chartSubType:l,showOutliers:h}=a,u={...e};if(e!==void 0){if(o===V.RadarSeries||o===V.BarSeries||o===V.LineSeries||o===V.ComboLineAndBarSeries||o===V.PieSeries){o!==V.PieSeries&&(t||l!==ke.BarAndLineNoAggregation&&l!==ke.BarAndLineSplitByNoAggregation)&&r.forEach(d=>{d!==i&&delete u[d]});let c=no({value:e[s],dataContext:e,keepNullValues:!0});u[s]=c,!zi(n)&&!BF(n)&&(u[Dn(n)]=xh({where:n,escape:!1}))}else if(o===V.BoxPlotSeries){u={[s]:e[s]},[Eu.uniqueIdsName,pt.boxPlot.boxPlotMeanLineMarkerId,pt.boxPlot.boxPlotOutlierId,pt.originalCategoryValue,pt.originalYCategoryValue].forEach(d=>{e[d]&&(u[d]=e[d])});let c=l===ke.BoxPlotMultiFieldsAndCategory?i:void 0;Object.values(Zt).forEach(d=>{let A=Zi({key:d,y:c,splitBy:n,showOutliers:h});e[A]!==void 0&&(u[A]=e[A])})}}return u}function a1(a){let{data:t,colorMatch:e,chartSubType:i,rendererType:r}=a;return t!==void 0&&e&&r!==void 0&&(i===ke.BoxPlotMultiFields&&(r===Qm.UniqueValue||r===Qm.PieChart)||i===ke.BoxPlotMonoFieldAndCategory&&r===Qm.UniqueValue)&&t.some(s=>Object.keys(s).some(n=>n.includes(pt.rendererSymbolField)))}function BQ(a){return!!/^data:[a-z]+\/[a-z+.-]+;base64/u.test(a)}function n1(a,t=512){if(!BQ(a))throw new Error("Cannot convert a string that is not a data uri to a blob");let e=a.split(",")[0].split(":")[1].split(";")[0],i=atob(a.split(",")[1]),r=[];for(let s=0;s<i.length;s+=t){let n=i.slice(s,s+t),o=new Array(n.length);for(let h=0;h<n.length;h++)o[h]=n.charCodeAt(h);let l=new Uint8Array(o);r.push(l)}return new Blob(r,{type:e})}function Rf(a){let{value:t,valueFormat:e,iLocale:i,formatLocale:r}=a,s=t?.toString(),n=fl({type:e.type,iLocale:i,formatLocale:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?s=n.format(t,$o(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(s=n.format(t,$o(e))),s}function xn(a){let{chart:t,config:e}=a,i=e;return e===void 0&&t!==void 0&&(i=ve(t.uid,"config")),cs(i)}function SQ(a){a instanceof Vl&&a.series.each(t=>{Kn(t.uid),t instanceof Pi&&Kn(Yr(t)?.uid),t.bullets.each(e=>{Kn(e.uid)}),t instanceof Xi&&t.columns.template.children.each(e=>{Kn(e.uid)})}),a instanceof Vt&&[a.xAxes.getIndex(0),a.xAxes.getIndex(1),a.yAxes.getIndex(0),a.yAxes.getIndex(1)].forEach(t=>{t!==void 0&&(Kn(t.uid??""),t.axisRanges.each(e=>{Kn(e.label?.uid)}))}),a instanceof Ks&&a.radarContainer.children.each(t=>{Kn(t.uid)}),a instanceof qi&&a.series.getIndex(0)?.slices.each(t=>{Kn(t.uid)}),"cursor"in a&&a.cursor instanceof nA&&Kn(a.cursor?.uid),"legend"in a&&a.legend!==void 0&&(Kn(a.legend.uid),Kn(a.legend.valueLabels?.template?.uid)),Kn(a.uid)}function gv(a){return typeof a=="number"?a:a.value}async function FQ(a){let{chart:t,exportOptions:e}=a,{format:i,quality:r=1,...s}=e,n=r<0||r>1?1:r,o=await t.exporting.getImage(i,{quality:n,...s}),l=n1(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function Ov(a,t){t!==void 0&&(t.marginBottom!==void 0&&(a.marginBottom=t.marginBottom),t.marginTop!==void 0&&(a.marginTop=t.marginTop),t.marginRight!==void 0&&(a.marginRight=t.marginRight),t.marginLeft!==void 0&&(a.marginLeft=t.marginLeft),t.verticalCenter!==void 0&&(a.verticalCenter=HI(t.verticalCenter)),t.horizontalCenter!==void 0&&(a.horizontalCenter=xw(t.horizontalCenter)),t.strokeWidth!==void 0&&(a.strokeWidth=t.strokeWidth),t.wrap!==void 0&&(a.wrap=t.wrap),t.truncate!==void 0&&(a.truncate=t.truncate),t.maxWidth!==void 0&&(a.maxWidth=t.maxWidth),t.applyOnClones!==void 0&&(a.applyOnClones=t.applyOnClones,a.background.applyOnClones=t.applyOnClones))}function ml(a,t){let e=t?.createChild(Ri)??new Ri;return Ov(e,a),e}function TQ(a){let t=a.push(new Yd);t.dx=1,t.dy=1,t.opacity=1}function PQ(a,t,e){if(e.alpha>0&&t>=0){a.length===0&&TQ(a);let i=a.getIndex(0);i.blur=t,i.color=e}else a.clear()}function DQ(a,t){let e=gs(a.uid,"isGuide"),i=t.visible===!1;return!i&&(e===!0||!(a instanceof Ko))&&t.content.text===""&&(i=!0),i}function YL(a){let{label:t,offset:e,offsetProperty:i}=a,r=99;if(t.adapter.remove(i,r),typeof e=="string"&&!Number.isFinite(Number(e))){let s=rp(e);s!==void 0&&(s/=100,t.adapter.add(i,()=>(t.parent?.[i==="dx"?"measuredWidth":"measuredHeight"]??0)*s,r))}else t[i]=e}function _n(a){let{label:t,labelConfig:e,defaults:i,skipSettingText:r}=a;if(e!==void 0){let s=Cv(e.content,t.rtl,i);t.fill=s.fill,t.fontFamily=s.fontFamily,t.fontWeight=s.fontWeight,t.fontSize=s.fontSize,t.textDecoration=s.textDecoration,t.align=s.align,t.valign=s.valign,t.verticalCenter=s.verticalCenter,t.horizontalCenter=s.horizontalCenter,t.background.fill=s.backgroundFill,t.background.stroke=s.borderFill,t.background.strokeWidth=s.borderWidth,t.rotation=s.angle,YL({label:t,offset:s.xOffset,offsetProperty:"dx"}),YL({label:t,offset:s.yOffset,offsetProperty:"dy"}),t.rtl=s.rtl,t.wrap=s.wrap,t instanceof Ko||(t.maxWidth=s.maxWidth),r||(t.text=s.text),PQ(t.filters,s.haloSize,s.haloColor);let n=DQ(t,e);t.disabled=n,Ui(t,e.visible!==!1&&!n)}else t.disabled=!0}function o1(a,t){t!==void 0&&(a===V.BarSeries||a===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=i.dataItem,{chart:s}=r?.component??{};return s instanceof Vt&&(i.visible=!VI(i,s)),e??0})}function l1(a,t){t!==void 0&&(a===V.BarSeries&&t.adapter.add("dx",(e,i)=>{let r=e??0,s=i.dataItem,{chart:n}=s?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)===!0&&(s.valueX??s.valueY)<0&&(r-=i.measuredWidth+re.dataLabelNegative.paddingRight),r}),(a===V.BarSeries||a===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=e??0,s=i.dataItem,{chart:n}=s?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)!==!0&&(s.valueX??s.valueY)<0&&(r+=i.measuredHeight+re.dataLabelNegative.paddingTop),r}))}function aw(a){a.bulletsContainer.invalidateLabels(),a instanceof Xi&&a.columns?.template.invalidateLabels()}function LQ(a){let{dataValue:t,series:e,seriesType:i,stackedType:r,axisMin:s}=a,n=t===void 0;return t!==void 0&&(s!==void 0&&t<s?n=!0:e instanceof Xi&&(i===V.BarSeries||i===V.ComboLineAndBarSeries)&&(n=t===0&&r!==void 0&&r!==Oi.Side)),n}function nw(a,t){let e,i=r=>gs(r.uid,"isDataLabel")??!1;return t==="bullets"?e=a.bullets.values.find(i):a instanceof Xi&&(e=a.columns.template.children.values.find(i)),e}function ow(a,t){a.adapter.add("htmlOutput",(e,i)=>{let r=e,{dataItem:s}=i;if(Ef(a)&&(t instanceof Xi&&s instanceof Ss||t instanceof Pi&&s instanceof Wa)){let n=sa(t.uid,t instanceof Xi?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(n!==void 0){let o=ve(t.chart.uid,"isRotated"),l=ve(t.chart.uid,"config"),h=$s(l),u=o===!0?s.valueX:s.valueY,c=o===!0?s.values?.valueX?.totalPercent:s.values?.valueY?.totalPercent,d=o===!0?(s.component?.xAxis).min:(s.component?.yAxis).min;r=LQ({dataValue:u,series:t,seriesType:t instanceof Xi?V.BarSeries:V.LineSeries,stackedType:h,axisMin:d})?"":n(u,c)}}return Er(r)},0)}function h1(a){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i}=a;return(r,s)=>{let n=i===Oi.Stacked100&&s!==void 0?s:r;return t.numberFormat.style==="percent"&&(n/=100),xa({textSymbol:{...e,text:t.format(n)},format:"html"})}}function u1(a){a.tabindex=-1}function c1(a){let{series:t,seriesType:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:s,yAxisValueFormat:n,stackedType:o,isRotated:l,defaultDataLabelFormatter:h,customDataLabelFormatter:u}=a;if(i!==void 0){let c=u,d=s?.content??{type:Rt.TS};if(u===void 0&&h!==void 0&&n?.type===V.NumberAxisFormat){let p=ve(t.chart.uid,"formatLocale"),f=fl({type:n.type,iLocale:t.chart.language.locale,formatLocale:p});f.numberFormat=n.intlOptions,c=h({numberFormatter:f,dataLabelsConfigContent:d,stackedType:o})}let A;switch(e){case V.BarSeries:A="barSeriesDataLabelFormatter";break;case V.LineSeries:A="lineSeriesDataLabelFormatter";break}A!==void 0&&Jn(t.uid,{[A]:c}),s!==void 0&&(s.content.text=l===!0?"{valueX}":"{valueY}",s.visible=s.visible!==!1),_n({label:i,labelConfig:s,defaults:r??re.dataLabel}),aw(t)}}function Ev(a,t){let e=t;e===void 0&&(e=ve(a.uid,"config"));let i=ve(a.uid,"colorMatchApplied")??!1;return(e?.colorMatch??!1)&&i}function d1(a,t){let e;return a instanceof Ct?e=t===!0?"dateY":"dateX":a instanceof $t?e=t===!0?"categoryY":"categoryX":e=t===!0?"valueY":"valueX",e}function CA(a,t){a.name=t}function Sw(a){let{chart:t,lineSeries:e,applyPropertiesToClones:i}=a,r=e.bullets.push(new Ee);return LN(r.uid,{isBulletMarker:!0}),i!==!1&&(r.applyOnClones=!0),e.bulletsContainer.parent=t.seriesContainer,r}function Fw(a){let{series:t,seriesConfig:e,rotationChanged:i,stackedType:r,isRotated:s}=a;switch(r){case Oi.Stacked:{t.stacked=!0,t instanceof Pi&&(t.stackToNegative=e.stackNegativeValuesToBaseline??re.lineSeries.stackNegativeValuesToBaseline),i===s?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0,t.updateStacking();break}case Oi.Stacked100:{t.stacked=!0,s?t.dataFields.valueXShow="totalPercent":t.dataFields.valueYShow="totalPercent",t.updateStacking();break}case Oi.Side:default:{t.stacked=!1,i===s?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0;break}}}function IQ(a){return()=>{let{chart:t,marker:e}=a;e.clones.each(i=>{Ui(i,!VI(i,t))})}}function kQ(a){let{chart:t,series:e,seriesType:i,marker:r,numberOfChartSeries:s,ignoreSmoothRenderingLimit:n}=a,o=IQ({marker:r,chart:t}),l=s??1,h=t.data.length*l+l;n!==!0&&h>re.elementLimitForSmoothRendering&&(o=ks(o,re.debounceTime)),t.xAxes.getIndex(0)?.events.on(Ie.Validated,o),t.yAxes.getIndex(0)?.events.on(Ie.Validated,o),i===V.LineSeries&&(t.xAxes.getIndex(0)?.events.on(Ie.Validated,()=>{aw(e)}),t.yAxes.getIndex(0)?.events.on(Ie.Validated,()=>{aw(e)}))}function A1(a,t){a.series.each(e=>{let i=sa(e.uid,t);i!==void 0&&!i.isDisposed()&&i.dispose()})}function $Q(a){let t;return a!==void 0&&a.series.length>0&&(t=a.series.values.map(e=>e.visible?e.id:"").filter(e=>e!=="")),t}function YC(a){let{dataItem:t,y:e,splitBy:i,showOutliers:r}=a,s=Zi({key:Zt.Min,y:e,splitBy:i,showOutliers:r}),n=Zi({key:Zt.Max,y:e,splitBy:i,showOutliers:r}),o=Zi({key:Zt.FirstQuartile,y:e,splitBy:i,showOutliers:r}),l=Zi({key:Zt.ThirdQuartile,y:e,splitBy:i,showOutliers:r});return Number.isFinite(t[s])&&Number.isFinite(t[n])&&Number.isFinite(t[o])&&Number.isFinite(t[l])}function OQ(a,t){let e=0;if(a!==void 0&&t!==void 0){let i=Mo(t.series),r=It(t.series),s=Eo(t);a.data.forEach(n=>{switch(r){case ke.BoxPlotMonoField:case ke.BoxPlotMultiFields:case ke.BoxPlotMonoFieldAndCategory:YC({dataItem:n,showOutliers:s})&&(e+=1);break;case ke.BoxPlotMultiFieldsAndCategory:i.forEach(o=>{YC({dataItem:n,y:o,showOutliers:s})&&(e+=1)});break;case ke.BoxPlotMonoFieldAndSplitBy:case ke.BoxPlotMultiFieldsAndSplitBy:case ke.BoxPlotMonoFieldAndCategoryAndSplitBy:t.series.forEach(o=>{YC({dataItem:n,splitBy:o.query?.where,showOutliers:s})&&(e+=1)});break}})}return e}function KL(){return a=>{let t=ve(a.chart.uid,"config"),e=!1;if(t!==void 0&&a instanceof Hr){let i=OQ(a.chart,t),r=0,s=0,n=0,o=0,l=0;a.chart.series.values.forEach(c=>{if(c instanceof wr)r+=c.columns.length;else if(c instanceof Pi&&!(c instanceof Aa)){let d=Yr(c);if(d!==void 0&&!d.disabled){let A=d.clones.values.filter(p=>!(p.dataItem instanceof Go))?.length??0;if(sa(c.uid,"isBoxPlotMeanLineSeries")===!0){o+=A;let p=c.data.filter(f=>Number.isFinite(f[c.dataFields.valueX??c.dataFields.valueY??""])).length;l+=p}else{let p=c.data.filter(f=>Number.isFinite(f[c.dataFields.valueX??c.dataFields.valueY??""])).length;n+=p,s+=A}}}});let h=n===0||s>=n,u=l===0||o>=l;e=r>=i&&h&&u&&a.chart.appeared&&a.isReady()&&a.chart.isReady()}return e}}function EQ(a,t){let e;switch(a){case V.BarSeries:e=(i,r)=>{let s=!1;if(i instanceof Xi){let n=xn({chart:i.chart}),o=0;if(r.type===V.BarSeries){let l=(n?i.dataFields.valueX:i.dataFields.valueY)??r.y;o=i.chart?.data?.filter(h=>Number.isFinite(h[l])).length}s=i.chart.isReady()&&i.columns.length===o}return s};break;case V.LineSeries:t===!0?e=KL():e=(i,r)=>{let s=!1;if(i instanceof Pi){let n=xn({chart:i.chart}),o=Yr(i),l=0;if(r.type===V.LineSeries){let{y:h}=r,u=(n?i.dataFields.valueX:i.dataFields.valueY)??[h].flat()[0];l=i.chart?.data?.filter(c=>Number.isFinite(c[u])).length}s=i.chart.appeared&&i.chart.isReady()&&o!==void 0&&o.clones.values.length>=l}return s};break;case V.PieSeries:e=i=>i instanceof Bs&&i.slices.length>0;break;case V.BoxPlotSeries:e=KL();break}return e}function p1(a){let{series:t,callbackInfo:e,seriesConfig:i}=a,{type:r}=e,s=ze([i]),n=sa(t.uid,"isBoxPlotMeanLineSeries"),o=r==="style"?"updateStyleCallbackDisposer":"updateSelectionCallbackDisposer",l=async c=>{let{type:d,callbackProps:A}=c;d==="selection"?f2(A):c.styleCallback!==void 0&&(Ui(t,i.visible),await c.styleCallback(A))};t.chart.events.once(Ie.Ready,async()=>await l(e)),t.events.once(Ie.Ready,async()=>await l(e));let h=sa(t.uid,o);h!==void 0&&h.dispose();let u=EQ(s,n);h=(s===V.PieSeries?t.chart:t).events.on(Ie.Validated,async()=>{u!==void 0&&u(t,i)&&(h!==void 0&&h.dispose(),await l(e))}),t.dispatchImmediately(Ie.Validated),Jn(t.uid,{[o]:h})}function Mv(a){let{series:t,styleCallback:e,callbackProps:i,seriesConfig:r}=a;p1({callbackInfo:{styleCallback:e,callbackProps:i,type:"style"},series:t,seriesConfig:r})}function MQ(a){let{series:t,callbackProps:e,seriesConfig:i}=a;p1({callbackInfo:{callbackProps:e,type:"selection"},series:t,seriesConfig:i})}function zc(a){let{defaultChartItemRole:t}=re.aria;a instanceof wr||a instanceof Xi?(a.columns.template.properties.role=t,a.columns.template.focusable=!0,a.columns.template.hoverOnFocus=!0,a.itemReaderText=ap()):a instanceof Aa?a.segments.template.properties.role=t:a instanceof Pi?a.bullets.values.forEach(e=>{e.focusable=!0,e.properties.role=t,e.readerTitle=ap(),e.hoverOnFocus=!0}):a instanceof Bs&&(a.slices.template.properties.role=t,a.slices.template.hoverOnFocus=!0,a.itemReaderText="{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%")}function RQ(a){let t=ve(a.uid,"config");a.series.each(e=>{let i=t?.series?.find(r=>r.id===e.id);i!==void 0&&i.visible!==!1&&!e.visible&&Ui(e)})}function Uf(a,t){let e=ze(t?.series);return t?.series.find(i=>{let r=!1;return e!==V.BoxPlotSeries||a instanceof wr?r=a.id===i.id:a instanceof Aa?r=a.id.replace(`_${ji.Top}`,"")===i.id||a.id.replace(`_${ji.Median}`,"")===i.id||a.id.replace(`_${ji.Bottom}`,"")===i.id:a instanceof Pi&&(r=a.id.replace(`_${ji.Outliers}`,"")===i.id),r})}var ia={CustomActive:"custom-active",CustomInactive:"custom-inactive",Default:"default",Active:"active"};function UQ(a,t){let e=!1;if(t!==void 0&&Ef(a)){let i=Pt.spriteRectToSvg(a.bbox,a),r=t.x,s=t.y,n=t.x+t.width,o=t.y+t.height,l=i.x,h=i.y,u=i.x+i.width,c=i.y+i.height;e=!(l>n||u<r||h>o||c<s)}return e}function Gc(a){let{element:t,customSelectionTheme:e,useNativeState:i}=a,r=i===!0?ia.Active:ia.CustomActive,s=t.states.getKey(r)??t.states.create(r),n=t.states.getKey(ia.CustomInactive)??t.states.create(ia.CustomInactive),{selectedElementsTheme:o,nonSelectedElementsTheme:l}=e??re.selectionTheme??{};WL(s,o),WL(n,l)}function Zn(a){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,useNativeState:s,backToDefaultState:n}=a;if(t!==void 0){let o=t.isActive;i!==!0?r===!0?o=t.isActive?!1:t.isActive!==e:o=e:o=t.isActive!==e,o!==t.isActive&&(t.isActive=o);let l=s===!0?ia.Active:ia.CustomActive,h=n===!0?ia.Default:ia.CustomInactive;t.setState(t.isActive?l:h,0),t.isActive&&(t.toFront(),t.dataItem?.component instanceof go&&t.dataItem.component.toFront())}return t?.isActive??!1}function Rv(a,t){let e=!1;if(t instanceof Vt||t instanceof qi){let i=ve(t.uid,"actionMode");i!==void 0&&(e=i===Ut.MultiSelection||i===Ut.MultiSelectionWithCtrlKey&&(a?.event?.ctrlKey||a?.event?.metaKey))}return e}function f1(a){let t=a instanceof Vt&&a.zoomOutButton.isHover,e=a.legend.isHover,i=!1,r=!1,s=!1,n=!1;if(a instanceof Vt){i=a.xAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),r=a.yAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),s=i||r;let o=ve(a.uid,"config");oa(o)&&(n=a.series.values.find(l=>l instanceof wr)?.isHover??!1)}return!t&&!e&&!s&&!n}function Tw(a,t){return a.values.filter(e=>{let i=!1,r=!e.isActive;if(!(e.dataItem instanceof Go)){e.isActive=!e.isActive;let s=ve(t.uid,"filterBySelection")!==!0&&r;Zn({element:e,selected:s}),i=r}return i})}function ZL(a,t){let e=[],{columns:i,chart:r}=a,s=ve(r.uid,"config");if(s&&i!==void 0&&a.visible){let n=s?.series[0].x,o=a?.dataFields?.customValue??"",l=kv(a,t),h=Uf(a,s),u=l===V.BoxPlotSeries?h?.y:_u(a),c={element:{},yAxisField:u,xAxisField:n,splitBy:o,seriesIndex:t,chartConfig:s};e=Tw(i,r).map(d=>({...c,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:d.dataItem?.index}))}return e}function qL(a,t){let e=[];if(a.visible){let i=Yr(a)?.clones;if(i!==void 0){let{chart:r}=a,s=ve(r.uid,"config");if(s){let n=s.series[0].x??"",o=_u(a),l=a?.dataFields?.customValue??"",h={element:{},xAxisField:n,yAxisField:o,splitBy:l,seriesIndex:t,chartConfig:s};e=Tw(i,r).map(u=>({...h,element:u,elementDataContext:u.dataItem?.dataContext,elementIndex:u.dataItem?.index}))}}}return e}function VQ(a){let t=[];if(a.visible){let{chart:e}=a,i=ve(e.uid,"config");if(i){let r=r1(a),s=_u(a),n={element:{},xAxisField:r,yAxisField:s,seriesIndex:0,chartConfig:i},o;t=Tw(a.slices,e).map(l=>{let h=l.dataItem?.dataContext??{};return sh(h)&&(o=Hf({groupOfSlicesDataContext:h})),{...n,element:l,elementIndex:l.dataItem?.index,elementDataContext:h}}),o!==void 0&&o.forEach((l,h)=>{t.push({...n,elementIndex:h,elementDataContext:l})})}}return t}function NQ(a){let{chart:t,selectionSource:e,chartConfig:i}=a,r=!1,s=[];if(Dl(i)){if(r=oa(i),s=t.series.values.filter(n=>!(n instanceof Aa)),e===Tr.SelectionByClick){let n=new Set,o=s.find(l=>l instanceof wr&&l.isHover);o===void 0?s.forEach(l=>{l instanceof Pi&&(l.id.includes(ji.Outliers)&&l.tooltip?.visible===!0||sa(l.uid,"isBoxPlotMeanLineSeries"))&&n.add(l)}):n.add(o),s=Array.from(n)}}else s=t.series.values;return s=s.filter(n=>n.visible&&(!r||!(n instanceof wr||sa(n.uid,"isBoxPlotOutliersSeries")))),s}async function m1(a){let{chart:t,cursorSelectionRectangle:e,multiSelect:i,selectionSource:r,hitElement:s,queryObject:n,errorStrings:o}=a,l=ve(t.uid,"config"),h=l?.series[0]?.x??"",u=[];ai(t.uid,{pendingSelectionQueries:!0});let c=[],d=!0;NQ({chart:t,selectionSource:r,chartConfig:l}).forEach((A,p)=>{let f=Uf(A,l);if(l&&A.visible&&A instanceof Hr){let m=kv(A,p)===V.BoxPlotSeries?f?.y:_u(A),g=A.dataFields?.customValue??"",y={element:{},yAxisField:m,xAxisField:h,splitBy:g,seriesIndex:p,chartConfig:l},x;A instanceof Xi||A instanceof wr?x=A.columns?.values:A instanceof Aa?x=A.segments.values:A instanceof Pi&&(x=Yr(A)?.clones?.values,y.uniqueFeature=!0),x!==void 0&&(c=[...c,...x],x.forEach((w,S)=>{if(!(w.dataItem instanceof Go)){let T=w.isActive,F=w===s||UQ(w,e);F&&(d=!1);let L=!1;T?F?L=r!==Tr.SelectionByClick:L=i===!0:L=F,L&&u.push({...y,element:w,elementDataContext:w.dataItem?.dataContext,elementIndex:S}),Zn({element:w,selected:L})}}))}}),d&&(u=[]),await Xf({chart:t,listSelectedElements:u,selectionSource:r,queryObject:n,errorStrings:o})}function QQ(a){let{chart:t,queryObject:e,errorStrings:i}=a,r=async s=>{let n=s.target.cursor;if(n.xRange!==void 0){n.selection.isMeasured=!0,n.validate(),n.selection.validate();let o=Pt.spriteRectToSvg(n.selection.bbox,n.selection);if(n.selection.hide(),o.width>0||o.height>0){let l=Rv(s,t);await m1({chart:t,cursorSelectionRectangle:o,multiSelect:l,selectionSource:Tr.SelectionByRange,queryObject:e,errorStrings:i})}}n.selection.hide()};wn(t)&&t.events.on(Ie.Up,async s=>{let n=s.target.cursor,o=SN(t.uid,"selectEndedCallbackDisposer");if(o!==void 0&&o.dispose(),n.xRange!==void 0&&s.event instanceof TouchEvent)await r(s);else{let l=n.events.once(Ie.SelectEnded,async()=>{await r(s)});FN(t.uid,{selectEndedCallbackDisposer:l})}})}async function Bv(a){let{hitEvent:t,chart:e,queryObject:i,errorStrings:r}=a,{target:s}=t,n=ve(e.uid,"actionMode");if(e!==void 0&&f1(e)&&n!==Ut.None&&n!==Ut.Zoom&&(s instanceof Vt||t.point===void 0)){let o=t.svgPoint?{x:t.svgPoint.x,y:t.svgPoint.y,width:0,height:0}:void 0,l=Rv(t,e);await m1({chart:e,cursorSelectionRectangle:o,multiSelect:l,selectionSource:Tr.SelectionByClick,hitElement:s,queryObject:i,errorStrings:r})}}function HQ(a){let{chart:t,queryObject:e,errorStrings:i}=a;wn(t)&&(t.zoomOutButton.hoverable=!0,t.events.on(Ie.Hit,async r=>await Bv({hitEvent:r,chart:t,queryObject:e,errorStrings:i})),t.events.on(Ie.DoubleHit,async r=>await Bv({hitEvent:r,chart:t,queryObject:e,errorStrings:i})))}function jf(a){let{chart:t,element:e,queryObject:i,errorStrings:r}=a;e.events.on(Ie.Hit,async s=>await Bv({hitEvent:s,chart:t,queryObject:i,errorStrings:r})),e.events.on(Ie.DoubleHit,async s=>await Bv({hitEvent:s,chart:t,queryObject:i,errorStrings:r}))}async function jQ(a){let{chart:t,queryObject:e,errorStrings:i}=a,{series:r}=t;if(r.length>0){ai(t.uid,{pendingSelectionQueries:!0});let s=ve(t.uid,"config"),n=r.values.map((o,l)=>{let h=[];if(o.visible){let u=ze(s?.series,l);u===V.BarSeries?h=ZL(o,l):u===V.LineSeries?h=qL(o,l):u===V.PieSeries?h=VQ(o):u===V.BoxPlotSeries&&(o instanceof wr?h=ZL(o,l):o instanceof Pi&&!(o instanceof Aa)&&(h=qL(o,l)))}return h}).flat();await Xf({chart:t,listSelectedElements:n,selectionSource:Tr.ProgrammaticSelection,queryObject:e,errorStrings:i}),t instanceof qi&&t.feedLegend()}}function KC(a){if(wn(a))if(a.events.disableType(Ie.Hit),a.events.disableType(Ie.DoubleHit),a instanceof qi){let t=a.series.getIndex(0);t!==void 0&&(t.slices.template.clickable=!1,t.slices.template.togglable=!1,t.slices.template.events.disableType(Ie.Hit),t.slices.template.events.disableType(Ie.DoubleHit),t.labels.template.clickable=!1,t.labels.template.togglable=!1,t.labels.template.events.disableType(Ie.Hit),t.labels.template.events.disableType(Ie.DoubleHit))}else a instanceof Vt&&(a.xAxes.each(t=>Sv(t,!0)),a.yAxes.each(t=>Sv(t,!0)),a.events.disableType(Ie.Up))}function WQ(a){if(wn(a))if(a.events.enableType(Ie.Hit),a.events.enableType(Ie.DoubleHit),a instanceof qi){let t=a.series.getIndex(0);t!==void 0&&(t.slices.template.clickable=!0,t.slices.template.togglable=!0,t.slices.template.events.enableType(Ie.Hit),t.slices.template.events.enableType(Ie.DoubleHit),t.labels.template.clickable=!0,t.labels.template.togglable=!0,t.labels.template.events.enableType(Ie.Hit),t.labels.template.events.enableType(Ie.DoubleHit))}else a instanceof Vt&&(a.xAxes.each(t=>Sv(t,!1)),a.yAxes.each(t=>Sv(t,!1)),a.events.enableType(Ie.Up))}function yA(a){let{element:t,stylingInfo:e,stateKey:i="default"}=a;if(t!==void 0&&e!==void 0){let r=t.states.getKey(i)?.properties??t.defaultState.properties;if(r.fill=e.pattern??e.fill,r.fillOpacity=Ne(r.fill.toString()).alpha===0?0:1,e.outline!==void 0){let{outline:s}=e;r.stroke=s.stroke,r.strokeOpacity=s.stroke.alpha===0?0:1,r.strokeDasharray=s.strokeDasharray,r.strokeLinecap=s.strokeLinecap,r.strokeWidth=s.strokeWidth}}}function vA(a,t){return t!=null&&t!==""?t:a}function g1(a,t){let e;switch(a){case Pn.Average:{e=t.statistics.mean;break}case Pn.ContinuousPercentile:{e=t.statistics.median;break}case Pn.Sum:{e=t.statistics.sum;break}case Pn.Minimum:{e=t.statistics.minimum;break}case Pn.Maximum:{e=t.statistics.maximum;break}case Pn.Variance:{e=t.statistics.variance;break}case Pn.DiscretePercentile:{e=t.statistics.discretePercentile;break}case Pn.NoAggregation:{e=t.statistics.noAggregation;break}case Pn.Count:default:{e=t.statistics.count;break}}return e}function Pw(a){let{config:t,fieldName:e="",utilsStrings:i}=a,r=t.series[0].query?.outStatistics?.[0].statisticType??Hb.statisticType,s=g1(r,i);return Vc(i.statistics.aggregation,{statistics:s,fieldName:e})}function y1(a){let{config:t,fieldList:e,objectIdField:i,seriesIndex:r,isStacked100:s,utilsStrings:n}=a,o="",l=t.series[r].name,h=t.series[r],u=[h.y].flat()[0],c=t.axes,d=It(t.series),A=i??Eu.outStatistics.onStatisticField,p=h.query?.outStatistics?.[0].onStatisticField??A,f=Or(e,p),m=h.query?.outStatistics?.[0].statisticType??Hb.statisticType,g=g1(m,n);return d===ke.BarAndLineNoAggregation?o=l??Or(e,u):d===ke.BarAndLineSplitByNoAggregation?o=Or(e,u):(o=m===Pn.Count&&p===A?n.statistics.count:Vc(n.statistics.aggregation,{statistics:g,fieldName:f??l}),d===ke.BarAndLineMonoField&&!s&&(o=vA(o,c[1].title?.content?.text))),o}function v1(a,t){let{dataTooltipStyle:e,dataTooltipStyleReversed:i}=re;if(t===!0){let r=a.background.fill;if(r!==void 0){a.background.stroke=r,a.background.strokeWidth=i?.outline?.width??Number.NaN,a.background.fill=bn(i?.color);let s=a.background.fill.rgb;if(s!==void 0){let n=a.label.fill;a.label.fill=Ig(s)?n?.darkColor:n?.lightColor}}}else a.getStrokeFromObject=!0,a.getFillFromObject=!0,a.background.strokeWidth=e?.outline?.width??Number.NaN,a.background.stroke=bn(e?.outline?.color)}function Uv(a,t){if(a.tooltip){let e=t.dataTooltipFontSize??re.tooltipFontSize,i=sa(a.uid,"tooltipFontSize")!==e;a.tooltip.label.fontSize=e,i&&!a.tooltip.visible&&(a.tooltip.label.html=""),a.tooltip.label.invalidate(),Jn(a.uid,{tooltipFontSize:e})}}function XQ(a){let t=a.tooltip??new fo;t.pointerOrientation="vertical",a instanceof wr||a instanceof Aa?t.label.maxWidth=re.boxPlot.boxPlotTooltipLabelWidth:t.label.maxWidth=re.tooltipWidth,t.label.wrap=!0;let e=ve(a.chart?.uid,"config"),i=e?Uf(a,e):void 0;i!==void 0&&Uv(a,i),t.events.on(Ie.Shown,r=>{let s=ve(a.chart.uid,"config");if(s!==void 0){let n=Uf(a,s),{dataTooltipReverseColor:o}=n??{};v1(r.target,o)}})}function zQ(a){a instanceof Ks||a.series.each(t=>{XQ(t)})}function b1(a,t){a.tooltipHTML=re.htmlEmptyContent,a.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:s}=t;if(s!==void 0){let n=ve(s.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)r="";else{let l=sa(t.uid,"barAndLineTooltipFormatter");if(l!==void 0&&t.isReady()){let{dataItem:h}=i;if(h instanceof Ss||h instanceof Wa){let u=n?.series.find(c=>c.id===t.id);if(u!==void 0){let c=xn({config:n}),d=c?h.valueX:h.valueY,A=(c?h.values.valueX.totalPercent:h.values.valueY.totalPercent)/100,p=h.dataContext??{};if(p!==void 0){let f=ve(s.uid,"rendererFieldNames"),m=no({value:JA(It([u]),u),dataContext:p,useRendererLabel:Hu(n,f),config:n}),g=oo(p);g===void 0&&(g=m);let y=p[re.dateBinningRange];r=l({seriesName:t.name,xValue:m,originalXValue:g,dateBinningRange:y,statValue:d,percentValue:A})}}}}}}return Er(r)}),a.tooltipPosition=t instanceof Pi?re.markerTooltipPosition:re.columnTooltipPosition,t.cursorTooltipEnabled=!1}function GQ(a){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:s,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=a,l=n;l===void 0&&(ba(s)&&s?(l=s,t&&(l.intlOptions.style="decimal")):l=Xm());let h=ve(e.chart.uid,"formatLocale"),u=i!==void 0?Rf({value:i,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:h}):"",c="";if(t&&r!==void 0){let d=o;d===void 0&&(d=zm(),d.intlOptions.minimumFractionDigits=2,d.intlOptions.maximumFractionDigits=2),c=Rf({value:r,valueFormat:d,iLocale:e.chart.language.locale,formatLocale:h})}return{formattedStatValue:u,formattedPercentValue:c}}function YQ(a){let{series:t,dateRange:e,xAxisValueFormat:i}=a,r;if(e!==void 0&&e.length>0){let s=t.chart?.uid,n=ve(s,"timeIntervalInfo"),o=ve(s,"config"),l=ve(s,"options"),h=ve(s,"queryObject"),u=o&&_h(o.series[0])?o.series[0].temporalBinning?.outTimeZone:void 0,c={};switch(n?.unit){case er.Second:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case er.Minute:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case er.Hour:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case er.Day:case er.Week:case er.Month:case er.Year:c={month:"numeric",day:"numeric",year:"numeric"};break}tp({chartConfig:o,queryObject:h,options:l})&&(c.timeZone=u??i.intlOptions.timeZone);let d=new Date(e[0]),A=new Date(e[1]);if(!Number.isNaN(d.valueOf())){let p=ve(t.chart.uid,"formatLocale"),f=fl({type:V.DateAxisFormat,iLocale:t.chart.language.locale,formatLocale:p}),m=f.format(d,c);if(r=m,!Number.isNaN(A.valueOf())){let g=f.format(A,c);g!==m&&(r=`${r} - ${g}`)}}}return r?.toString()??""}function x1(a){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:s,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:u}=a,c,d=ve(n.chart.uid,"formatLocale");return eg({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:u})&&l!==void 0&&e?.type===V.DateAxisFormat?c=YQ({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?c=new Date(o).toLocaleTimeString(d):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(c=Rf({value:o,valueFormat:s??e,iLocale:n.chart.language.locale,formatLocale:d})):typeof o=="number"&&ba(e)?c=Rf({value:o,valueFormat:r??e,iLocale:n.chart.language.locale,formatLocale:d}):c=o,c?.toString()??""}function KQ(a){let{series:t,fieldList:e,queryObject:i,setTimeBinningInfoWhenNotProvided:r,seriesIndex:s,seriesConfig:n,utilsStrings:o}=a,{dataTooltipValueFormat:l,dataTooltipPercentFormat:h,dataTooltipDateFormat:u}=n,c=()=>"",{chart:d}=t;if(d!==void 0){let A=ve(d.uid,"config");if(A!==void 0){let{dataTooltipVisible:p}=n,f=t instanceof Pi?n.markerVisible:void 0;if(p===!1||f===!1)c=()=>"";else{let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,x=It(A.series),w=e?.find(U=>U.name===n.x)?.type===YA.TimeOnly,S=$s(A)===Oi.Stacked100,T=Ch(Os(i)).idField,F=Or(e,n.x),L=vA(F,m[0].title?.content.text),$=y1({config:A,fieldList:e,objectIdField:T,seriesIndex:s,utilsStrings:o,isStacked100:S}),I=Ra(d.rtl);c=U=>{let{statValue:P,percentValue:Q,xValue:Y,dateBinningRange:G}=U,ee=x1({seriesConfig:n,xAxisValueFormat:g,dataTooltipValueFormat:l,dataTooltipDateFormat:u,setTimeBinningInfoWhenNotProvided:r,series:t,xValue:Y,dateBinningRange:G,isTimeOnlyField:w,queryObject:i}),{formattedStatValue:te,formattedPercentValue:le}=GQ({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:l,dataTooltipPercentFormat:h,series:t,statValue:P,percentValue:Q}),z=[`<b>${L}${I} </b>${ee}`];switch(x){case ke.BarAndLineFromFields:{z.pop();let K=Pw({config:A,fieldName:Or(e,ee??""),utilsStrings:o});z.push(`<b>${K}${I} </b>${te}`);break}case ke.BarAndLineMonoField:case ke.BarAndLineNoAggregation:case ke.BarAndLineMultiFields:z.push(`<b>${$}${I} </b>${te}`);break;case ke.BarAndLineSplitByNoAggregation:case ke.BarAndLineSplitBy:{let K=Dn(n.query?.where,!1),we=tx({value:Or(e,K),escape:!0});z.push(`<b>${we}${I} </b>${t.name}<br /><b>${$}${I} </b>${te}`)}break}return S&&z.push(`<b>${o.statistics.percent}${I} </b>${le}`),z.join("<br />")}}}}return c}function _1(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{barAndLineTooltipFormatter:i??KQ(a)}),Uv(t,e)}function Dw(a){let{target:t,defaultTooltipHTML:e,candleStickSeries:i,meanLineSeries:r,outliersSeries:s,tooltipCallback:n}=a,o=e,l=i??r;if(l!==void 0){let{chart:h}=l;if(h!==void 0){let u=ve(h.uid,"config"),{dataTooltipVisible:c}=u?.series[0]??{};if(c===!1)o="";else{let d=sa(l.uid,"boxPlotTooltipFormatter");d!==void 0&&l.isReady()&&u&&(o=n({target:t,defaultTooltipHTML:e,config:u,candleStickSeries:i,meanLineSeries:r,outliersSeries:s,boxPlotTooltipFormatter:d}))}}}return Er(o)}function ZQ(a){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,outliersSeries:s,boxPlotTooltipFormatter:n}=a,o=e;if(r!==void 0&&s!==void 0){let l=r.dataItems.values.find(u=>(u.categories.categoryX??u.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY)),h=i.series.find(u=>u.id===r.id);if(h!==void 0){let u=l?.dataContext??{};if(u!==void 0){let c=no({value:u[h.x],dataContext:u,useRendererLabel:Fl(i),specificField:pt.xAxisField}),d=oo(u);d===void 0&&(d=c),o=n({seriesName:s.name,xValue:c,originalXValue:d,dataContext:u})}}}return o}function qQ(a){let{target:t,defaultTooltipHTML:e,config:i,meanLineSeries:r,boxPlotTooltipFormatter:s}=a,n=e;if(r!==void 0){let o=r.dataItems.values.find(l=>(l.categories.categoryX??l.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY));if(o instanceof Wa){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let u=no({value:h[l.x],dataContext:h,useRendererLabel:Fl(i),specificField:pt.xAxisField}),c=oo(h);c===void 0&&(c=u),n=s({seriesName:r.name,xValue:u,originalXValue:c,dataContext:h})}}}}return n}function JQ(a){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,boxPlotTooltipFormatter:s}=a,n=e;if(r!==void 0){let o=t.dataItem;if(o instanceof yc){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let u=no({value:h[l.x],dataContext:h,useRendererLabel:Fl(i),specificField:pt.xAxisField}),c=oo(h);c===void 0&&(c=u),n=s({seriesName:r.name,xValue:u,originalXValue:c,dataContext:h})}}}}return n}function eH(a){a.cursorTooltipEnabled=!1,a.tooltipPosition=re.columnTooltipPosition,a.columns.template.tooltipHTML=re.htmlEmptyContent,a.columns.template.adapter.add("tooltipHTML",(t,e)=>Dw({target:e,defaultTooltipHTML:t??"",candleStickSeries:a,tooltipCallback:JQ}))}function tH(a,t){let e=Yr(a);e!==void 0&&(e.tooltipPosition=re.markerTooltipPosition,e.tooltipHTML=re.htmlEmptyContent,a.cursorTooltipEnabled=!1,e.adapter.add("tooltipHTML",(i,r)=>Dw({target:r,defaultTooltipHTML:i??"",candleStickSeries:t,outliersSeries:a,tooltipCallback:ZQ})))}function iH(a){let t=Yr(a);t!==void 0&&(a.cursorTooltipEnabled=!1,t.tooltipPosition=re.markerTooltipPosition,t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>Dw({target:i,defaultTooltipHTML:e??"",meanLineSeries:a,tooltipCallback:qQ})))}function du(a){let{label:t,value:e,strongColon:i,useTable:r}=a,s=`<b>${t}${i}</b> ${e}`;return r!==!1?`<tr><td>${s}</td></tr>`:s}function rH(a){let{dataContext:t,series:e,dataTooltipValueFormat:i,y:r,splitBy:s,utilsStrings:n,useTable:o}=a,l=i??Xm(),h=Object.values(Zt),u=Ra(e.rtl),c=o!==!1?['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>']:[""];return h.forEach(d=>{let A=Zi({key:d,y:r,splitBy:s}),p=t[A];if(p!=null&&typeof p=="number"){let f=ve(e.chart.uid,"formatLocale"),m=Rf({value:p,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:f}),g="";switch(d){case Zt.Min:g=n.statistics.minimum;break;case Zt.FirstQuartile:g=n.statistics.firstQuartile;break;case Zt.Median:g=n.statistics.median;break;case Zt.ThirdQuartile:g=n.statistics.thirdQuartile;break;case Zt.Max:g=n.statistics.maximum;break;case Zt.IQR:g=n.statistics.iqr;break;case Zt.Average:g=n.statistics.mean;break;case Zt.StandardDeviation:}ku(g)||c.push(du({label:g,value:m,strongColon:u,useTable:o}))}}),c}function sH(a){let{series:t,fieldList:e,seriesConfig:i,utilsStrings:r,queryObject:s}=a,{dataTooltipValueFormat:n}=i,o=()=>"",{chart:l}=t;if(l!==void 0){let h=ve(l.uid,"config");if(h!==void 0){let u=h.axes,c=u?.[0].valueFormat,{showMean:d}=h,A=It(h.series),p=Dn(i.query?.where),f=Or(e,p),m=xh({where:i.query?.where,escape:!1}),g=Or(e,i.x),y;i.x!==Wm&&(y=vA(g,u?.[0].title?.content.text));let x=Ra(l.rtl);o=w=>{let{dataContext:S,xValue:T}=w,F=x1({seriesConfig:i,xAxisValueFormat:c,series:t,xValue:T,queryObject:s}),L=[],$=F!==void 0&&!ku(F)?Or(e,F):"",I=d===!0?[h.series[0].y].flat()[0]:[i.y].flat()[0],U=Or(e,I);switch(A){case ke.BoxPlotMonoField:case ke.BoxPlotMultiFields:case ke.BoxPlotMonoFieldAndSplitBy:case ke.BoxPlotMultiFieldsAndSplitBy:{if(F!==void 0&&!ku(F)){let ee=A===ke.BoxPlotMonoField?i.name??$:$;L.push(du({label:r.field,strongColon:x,value:ee}))}zi(f)||L.push(du({label:f,strongColon:x,value:i.name??m?.toString()}));break}case ke.BoxPlotMonoFieldAndCategory:case ke.BoxPlotMultiFieldsAndCategory:{L.push(du({label:r.field,strongColon:x,value:i.name??U})),F!==void 0&&!ku(F)&&L.push(du({label:y,strongColon:x,value:$}));break}case ke.BoxPlotMonoFieldAndCategoryAndSplitBy:L.push(du({label:r.field,strongColon:x,value:U})),F!==void 0&&!ku(F)&&L.push(du({label:y,strongColon:x,value:$})),zi(f)||L.push(du({label:f,strongColon:x,value:i.name??m?.toString()}));break}let P=[ke.BoxPlotMultiFieldsAndCategory],Q=S[re.boxPlot.boxPlotMeanLineMarkerId]!==void 0,Y=L.length>0&&!Q,G=rH({dataContext:S,series:t,dataTooltipValueFormat:n,splitBy:i.query?.where,y:P.includes(A)?[i.y].flat()[0]:void 0,utilsStrings:r,useTable:Y});return Y?`${L.join("<br>")}<table>${G.join("")}</table>`:`${L.join("<br>")}${G.join("<br>")}`}}}return o}function aH(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{boxPlotTooltipFormatter:i??sH(a)}),Uv(t,e)}function nH(a){let t=ml(re.dataLabelInitialize);return gu(t.uid,{isDataLabel:!0}),a.bullets.push(t),u1(t),o1(V.LineSeries,t),l1(V.LineSeries,t),ow(t,a),t.html="{valueX}",t}function oH(a){let{series:t}=a,e=nw(t,"bullets");c1({...a,dataLabel:e,defaultDataLabelFormatter:h1})}var B={Rotated:0,NonRotated:1,RTL:2,LTR:3,Stacked:4,Stacked100:5,SideBySide:6,LegendTop:7,LegendBottom:8,LegendLeft:9,LegendRight:10,DateAxis:11,ValueAxis:12,CategoryAxis:13,OrderByFieldsASC:14,OrderByFieldsDESC:15},C1=new Set([`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`]);function lH(a,t){t!==void 0&&(t.layout!==void 0&&(a.layout=t.layout),t.width!==void 0&&(a.width=jL(t.width)),t.height!==void 0&&(a.height=jL(t.height)),t.paddingTop!==void 0&&(a.paddingTop=t.paddingTop),t.paddingBottom!==void 0&&(a.paddingBottom=t.paddingBottom))}function hH(a){let t=!1,e=a.legend?.visible,i=a.legend?.title?.content.text,r=a.legend?.title?.visible;return t=e!==!1&&r!==!1&&i!==void 0&&i.length>0,t}function w1(a,t){let e=new Pe;return lH(e,a),e.parent=t,e}function B1(a,t){a.disabled=t}function uH(a,t){a.toBack()}function cH(a){if(a instanceof Ks){let{paddingTop:t,paddingRight:e,paddingBottom:i,paddingLeft:r}=re.gauge;a.padding(t,e,i,r)}else{let{paddingMinSize:t,marginMinSize:e,chartPaddingMinSize:i,chartContainer:r}=re;a.padding(i,i,i,i),a.chartAndLegendContainer.margin(e,e,e,e),a.chartAndLegendContainer.padding(t,t,t,t),a.chartContainer.margin(e,e,e,e),a.chartContainer.padding(r.paddingTop,t,t,t)}}function dH(a,t){let e=(i,r)=>{let{chartContainer:s,chartAndLegendContainer:n}=re,o=ve(i.uid,"config");if(o!==void 0){let l=hH(o),h=o.legend?.position;if(l)switch(h){case st.Top:i.chartAndLegendContainer.paddingTop=r.bbox.height??0,i.chartContainer.paddingBottom=s.paddingBottom??0;break;case st.Bottom:i.chartContainer.paddingBottom=r.bbox.height??0,i.chartAndLegendContainer.paddingTop=n.paddingTop??0;break;default:i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=s.paddingBottom??0;break}else i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=s.paddingBottom??0}};t.events.on(Ie.PositionChanged,()=>{e(a,t)})}function Lw(a){let{iLocale:t,pieChart:e,valueIntlOptions:i,percentageIntlOptions:r,displayNumericValue:s,displayPercentage:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u}=a,c=ve(e.uid,"formatLocale"),d=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:c}),A=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:c});d.numberFormat={...i},A.numberFormat={...r,style:"percent"};let p=Ra(e.rtl," ");return(f,m,g)=>{let y="";if(m!==void 0&&g!==void 0){let x=`${o??""}${d.format(m)}${l??""}`,w=`${h??""}${A.format(Math.abs(g/100))}${u??""}`;Number.isFinite(m)?s===!0&&n===!0?y=`${w}${p}(${x})`:s===!0?y=x:n===!0&&(y=w):y=""}return y}}function S1(a){let t=!1;if(a.position===st.Right||a.position===st.Left)t=!0;else{let e=a.labels.getIndex(0)?.parent?.x;e!==void 0&&(t=!a.labels.values.some(i=>i.parent?.x!==e))}return t}function AH(a){let t=!1,e=a.labels.getIndex(0)?.parent?.y;return e!==void 0&&(t=!a.labels.values.some(i=>i.parent?.y!==e)),t}function pH(a){a.events.on(Ie.LayoutValidated,()=>{let t=S1(a),e=AH(a),i=t||!e?"right":"center";a.valueLabels.template.horizontalCenter=xw(i),a.valueLabels.template.align=QI(i)})}function fH(a){gu(a.valueLabels.template.uid,{isLegendValueLabel:!0}),a.valueLabels.template.adapter.add("htmlOutput",(t,e)=>{let i=t,r=TN(a.uid,"pieChartLegendValueLabelsFormatter");if(r!==void 0&&(i=r(e.dataItem?.values?.value?.value??0,e.dataItem?.values?.value?.percent??0)),zi(i)&&(i=re.htmlEmptyContent),a.baseSprite instanceof Vl){let s=ve(a.baseSprite.uid,"config");s?.legend?.body!==void 0&&(i=xa({textSymbol:{...s.legend.body,text:i},format:"html"}))}return Er(i)}),a.valueLabels.template.html=re.htmlEmptyContent,pH(a)}function mH(a){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i,pieChartLegendValueLabelFormatter:r}=a,{visible:s,body:n,displayNumericValue:o,displayPercentage:l,displayCategory:h}=i??{};if(ze(e)===V.PieSeries){let{numericValueFormat:u,percentValueFormat:c,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f}=e[0],m=h??re.pieChart.displayCategoryOnLegend,g=o??re.pieChart.displayNumericValueOnLegend,y=l??re.pieChart.displayPercentageOnLegend,x=r;if(r===void 0){let T=Lw({iLocale:t.language.locale,pieChart:t.baseSprite,valueIntlOptions:u?.intlOptions,percentageIntlOptions:c?.intlOptions,displayNumericValue:g,displayPercentage:y,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f});x=(F,L)=>T("",F,L)}PN(t.uid,{pieChartLegendValueLabelsFormatter:x});let w=S1(t),S={type:V.Text,visible:s,content:{...n,type:Rt.TS,text:".",verticalAlignment:"middle",horizontalAlignment:w?"right":"center"}};_n({label:t.valueLabels.template,labelConfig:S,defaults:re.legendProperties.valueLabels}),t.labels.template.disabled=m===!1,t.valueLabels.template.disabled=g===!1&&y===!1}}function gH(a){let{dataContext:t}=a.target.dataItem??{};if(t instanceof Fa){let{component:e}=t;e instanceof Bs&&e.showTooltip()}}function yH(a){let t=()=>{let e=a.children.values.find(i=>i.className==="Container");if(e?.children.length===3){let i=e.children.values.findIndex(r=>r.className==="Container");if(i!==-1){let r=i!==0?0:2,s=e.children.getIndex(r)?.clonedFrom;s!==void 0&&gs(s.uid,"isLegendValueLabel")!==!0&&a.children.each(n=>{n.className==="Container"&&n.children.swap(1,r)})}}};a.events.on(Ie.Validated,t),t()}function JL(a,t){let{legendLabelReducedOpacity:e}=re.legendProperties;a!==void 0&&(a.fillOpacity=t===!1?e:1)}function kf(a){let{labels:t,seriesId:e,sliceCategory:i}=a;t.each(r=>{i!==void 0?i===r.dataItem.category&&JL(r,r.dataItem.slice.visible??!0):e===r.dataItem?.component?.id&&JL(r,r.dataItem?.component?.visible??!0)})}function Iw(a){a instanceof Bs?(a.slices.template.events.on(Ie.Shown,t=>{let e=t.target.dataItem.category;kf({labels:a.chart?.legend?.labels,sliceCategory:e}),kf({labels:a.chart?.legend?.valueLabels,sliceCategory:e})}),a.slices.template.events.on(Ie.Hidden,t=>{let e=t.target.dataItem.category;kf({labels:a.chart?.legend?.labels,sliceCategory:e}),kf({labels:a.chart?.legend?.valueLabels,sliceCategory:e})})):a.events.on(Ie.VisibilityChanged,t=>{let e=t.target.id;kf({labels:a.chart?.legend?.labels,seriesId:e})})}function F1(a){let{title:t,visible:e}=a;return t!==void 0&&e!==!1&&t?.visible!==!1}function vH(a,t){let{legendProperties:e}=re;if(a.position===st.Bottom)a.marginTop=e.marginTop??0,a.marginBottom=0,a.dy=0;else if(a.position===st.Top)a.marginBottom=e.marginBottom??0,a.marginTop=0,a.dy=0;else if(a.marginTop=0,a.marginBottom=0,!(a.baseSprite instanceof qi)){let i=F1(t),r=t.title?.content?.font?.size??re.generalFontSize;a.dy=-(i?r:15)}}function bH(a){let t=a.baseSprite,e;if(t!==void 0){let i=ve(t?.uid,"config");e=t?.rtl&&(i?.legend?.position===st.Top||i?.legend?.position===st.Bottom)}return e??!1}function xH(a){let t=a.baseSprite,e="";if(t instanceof Vt){let i=ve(t.uid,"config"),r=cs(i),s=r?B.Rotated:B.NonRotated,n=$s(i),o=B.SideBySide;n===Oi.Stacked?o=B.Stacked:n===Oi.Stacked100&&(o=B.Stacked100);let l=t.rtl?B.RTL:B.LTR,h;switch(i?.legend?.position){case st.Left:h=B.LegendLeft;break;case st.Top:h=B.LegendTop;break;case st.Bottom:h=B.LegendBottom;break;case st.Right:default:h=B.LegendRight;break}let u=r?t.yAxes.getIndex(0):t.xAxes.getIndex(0),c;u instanceof Ct?c=B.DateAxis:u instanceof Qe?c=B.ValueAxis:c=B.CategoryAxis;let d=i?.orderOptions?.data&&"orderBy"in i.orderOptions.data&&i.orderOptions.data.orderBy===GA.Descending?B.OrderByFieldsDESC:B.OrderByFieldsASC;e=`${s}-${l}-${o}-${h}-${c}-${d}`}return e}function _H(a){let t=xH(a);return C1.has(t)}function T1(a,t){let{legend:e,legendTitle:i}=a??{};switch(t){case V.PieSeries:e.reverseOrder=bH(e);break;case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:e.reverseOrder=_H(e);break}let r=e.reverseOrder===!0?e.children.length-1:0;e.children.moveValue(i,r)}function CH(a){if(a.visible){let t=ve(a.chart.uid,"config")?.series.find(e=>e.id===a.id);if(t!==void 0&&ze([t])===V.LineSeries){let{markerVisible:e}=t;e!==!1&&a.bulletsContainer.show()}}}function wH(a,t){let e=a.target.dataItem,i=a.target.isActive;if(e?.dataContext!==void 0){let{dataContext:r}=e,s={visible:i};if(r instanceof Fa)ve(t.uid,"isNonAggregatedChart")===!0?s.sliceData=r.dataContext:s.sliceId=r.category;else if(r instanceof wr){let o=r.id,l=Wf(t,o);if(l!==void 0){let d=ve(t.uid,"config"),A=$w(d?.showOutliers,i),p=Yr(l);p!==void 0&&(p.disabled=!A),Ui(l,A)}let{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t,o);h!==void 0&&Ui(h,i),u!==void 0&&Ui(u,i),c!==void 0&&Ui(c,i),s.seriesId=r.id}else s.seriesId=r.id;let n=r instanceof Fa?r.component:r;(n instanceof Hr||n instanceof Bs)&&n.events.once(Ie.Validated,()=>{n instanceof Hr&&(U1(n),n.events.dispatchImmediately(Ie.Validated,{type:Ie.Validated,target:n}));let o=n instanceof Bs,l=ve(t.uid,"currentSelectionDataItems"),h=l!==void 0&&l.length>0,u=ve(t.uid,"actionMode")??re.actionMode,c;n instanceof Xi?c=n.columns:o?c=n.slices:n instanceof Pi&&(CH(n),c=Yr(n)?.clones),c?.each(d=>{d.dataItem instanceof Go||(Zn({element:d,selected:d.isActive,useNativeState:o,backToDefaultState:!h}),o&&u===Ut.None&&(d.clickable=!1))})}),lx(s,t.htmlContainer)}}function BH(a){let{legendProperties:t,legendProperties:e}=re;a.adapter.add("paddingRight",()=>a.scrollbar.visible?e.legendPaddingRightWithScrollbarVisible:t.paddingRight),a.adapter.add("paddingLeft",()=>t.paddingLeft),a.adapter.add("paddingTop",()=>t.paddingTop),a.adapter.add("paddingBottom",()=>t.paddingBottom)}function SH(a){a.scrollable=!0}function FH(a){let t=ml(void 0,a);return t.adapter.add("paddingTop",e=>{let i=e,r=t.bbox.height;return r>0&&(i=-r),i}),t.adapter.add("x",e=>{let i=e,{marginLeft:r,marginRight:s}=re.legendProperties.legendTitle;switch(ve(a.baseSprite.uid,"config")?.legend?.title?.content?.horizontalAlignment){case"left":i=t.measuredWidth+(r??0);break;case"right":i=a.measuredWidth-t.measuredWidth-(s??0);break;default:i=a.measuredWidth/2;break}return i}),t.adapter.add("disabled",e=>(e===!1&&t.validate(),e)),t}function TH(a){let{legendConfig:t,legendTitle:e}=a,{title:i,position:r}=t,{legendTitle:s}=re.legendProperties,n=F1(t);if(i!==void 0){let o={...i,visible:n};_n({label:e,labelConfig:o,defaults:s}),e.marginLeft=s.marginLeft??0}r===st.Top||r===st.Bottom?(e.maxWidth=Number.NaN,e.isMeasured=!1):(e.maxWidth=s.maxWidth??Number.NaN,e.marginTop=n?e.bbox?.height??i?.content?.font?.size??re.generalFontSize:0,e.isMeasured=!0)}function PH(a){let t=re.legendProperties;a.labels.template=ml(t.legendLabels),a.valueLabels.template=ml(t.legendLabels),a.markers.template.width=t.legendMarkersSize,a.markers.template.height=t.legendMarkersSize,a.labels.template.adapter.add("wrap",()=>!0),a.labels.template.adapter.add("maxWidth",e=>{let i=e,r;if(a.baseSprite instanceof qi&&(r=ve(a.baseSprite.uid,"config")?.legend?.labelMaxWidth),a.position===st.Right||a.position===st.Left)i=r??re.legendProperties.legendLabels.maxWidth;else if(r!==void 0)i=r;else{let s=0;a.valueLabels.template.disabled||a.valueLabels.each(n=>{s=Math.max(s,n.measuredWidth)}),i=a.measuredWidth-s-45}return i}),a.labels.template.adapter.add("textOutput",(e,i)=>{let r=i.dataItem?.label?.currentText,s,n=ve(a.baseSprite.uid,"config");if(n!==void 0){let{series:o}=n;if(ze(o)===V.PieSeries){let l=It(o)===ke.PieFromFields?ao:o[0].x,h=i.dataItem?.dataContext?.[l];typeof h=="string"?s=h:h&&typeof h!="object"&&(s=h.toString())}else i.dataItem?.component instanceof go&&(s=i.dataItem.component.name)}return(s!==void 0&&!zi(s)?rg(s):s)??r}),a.valueLabels.template.adapter.add("maxWidth",e=>{let i=e,r;return a.baseSprite instanceof qi&&(r=ve(a.baseSprite.uid,"config")?.legend?.valueLabelMaxWidth),a.position===st.Right||a.position===st.Left?i=r??re.legendProperties.valueLabels.maxWidth:i=r??Number.NaN,i})}function DH(a,t){a.itemContainers.template.events.on(Ie.Hit,e=>wH(e,t)),t instanceof qi&&a.itemContainers.template.events.on(Ie.Over,e=>gH(e))}function LH(a){a.itemContainers.template.reverseOrder=a.rtl}function yv(a,t){a.adapter.keys().includes(t)||a.adapter.add(t,e=>{let i=e,r=a.dataItem?.dataContext;if(r!==void 0){let s=r instanceof Fa?r.component?.chart:r.chart;if(s!==void 0){let n=ve(s.uid,"config"),{rectangleMarkerRadius:o,roundedMarkerRadius:l}=re.legendProperties;i=n?.legend?.roundMarkers===!0?l:o}}return i})}function eI(a){a.markers.each(t=>{let e=t.children.getIndex(0);e instanceof Qr&&(yv(e,"cornerRadiusBottomLeft"),yv(e,"cornerRadiusBottomRight"),yv(e,"cornerRadiusTopLeft"),yv(e,"cornerRadiusTopRight"),e.validate())})}function IH(a){a.markers.template.events.on(Ie.Inited,()=>{eI(a)}),a.events.once(Ie.Validated,()=>{eI(a)})}function kH(a){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i}=a,{visible:r,body:s}=i??{},n=ze(e),o={type:V.Text,visible:r,content:{...s,type:Rt.TS,text:" "}};_n({label:t.labels.template,labelConfig:o,defaults:re.legendProperties.legendLabels}),t.labels.template.valign="middle",t.valueLabels.template.valign="middle",n===V.PieSeries&&mH(a),t.valueLabels.template.width=Number.NaN}function $H(a,t){t.chartContainer.events.on(Ie.SizeChanged,ks(()=>{let e=ve(t.uid,"config")?.legend?.maxHeight??Number.NaN;Number.isFinite(e)||(a.position===st.Top||a.position===st.Bottom?e=re.legendProperties.maxHeight:e=t instanceof qi?t.chartContainer.measuredHeight:t.seriesContainer.measuredHeight),a.maxHeight=e,a.invalidateLayout()}),re.debounceTime)}function OH(a,t){let{position:e}=t;e===st.Top||e===st.Bottom?a.contentAlign="center":a.contentAlign="none"}function EH(a,t){let{legend:e}=a;e.events.on(Ie.DataItemsValidated,()=>{e.dataItems.length>0&&T1(a,t)})}function MH(a,t){t===st.Right||t===st.Left?a.width=Number.NaN:a.maxWidth=Number.MAX_SAFE_INTEGER}function P1(a,t){let e=si.pointer;t===!0?(a.itemContainers.template.clickable=!1,a.itemContainers.template.focusable=!1,e=si.default):(a.itemContainers.template.clickable=!0,a.itemContainers.template.focusable=!0),a.itemContainers.values.forEach(i=>{i.cursorOverStyle=e})}function RH(a,t){let e=new lc;a.legend=e,SH(e);let i=FH(e);return PH(e),fH(e),DH(e,a),LH(e),BH(e),EH({legend:e,legendTitle:i},ze(t)),$H(e,a),dH(a,i),yH(e),a.legend.events.on(Ie.ChildAdded,()=>{let r=ve(a.uid,"options");P1(e,r?.togglingLegendItemsDisabled)}),{legend:e,legendTitle:i}}function kw(a){let{legendElements:t,seriesConfig:e,webChartLegend:i}=a,{legend:r,legendTitle:s}=t,n=r.baseSprite,o=(n===void 0?!0:ix(e))&&i?.visible!==!1;if(n&&i&&o){let{position:l=re.legendProperties.position}=i;Ui(r,!0),TH({legendConfig:i,legendTitle:s}),IH(r),kH(a),OH(r,i),T1(t,ze(e)),r.position=l,MH(r,l),vH(r,i),P1(r,ve(n.uid,"options")?.togglingLegendItemsDisabled)}else r.position=st.Right,r.width=0,Ui(r,!1)}function UH(a){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],queryObject:s,selectionTheme:n,ignoreSmoothRenderingLimit:o,errorStrings:l}=a,h=e.series.length,{rotated:u}=e,c=e.series[i],{y:d,name:A,id:p,assignToSecondValueAxis:f}=c,m=new Pi;m.id=p,CA(m,A);let g,y;u!==!0?(g=r[0],y=f===!0&&r[2]?r[2]:r[1]):(g=f===!0&&r[2]?r[2]:r[0],y=r[1]),g!==void 0&&(m.xAxis=g),y!==void 0&&(m.yAxis=y);let x=xn({chart:t}),w=It(e.series),S=w===ke.BarAndLineSplitByNoAggregation?`${d.toString()}_${xh({where:c.query?.where,keepSurroundingQuotes:!1,escape:!1})}`:[d].flat()[0];x?m.dataFields.valueX=S:m.dataFields.valueY=S;let T=x?r[1]:r[0];if(T!==void 0){let $=d1(T,x);m.dataFields[$]=re.xAxisField}m.dataFields.customValue=c?.query?.where;let F=Os(s);D1({series:m,seriesConfig:c,seriesIndex:i,chartSubType:w,colorMatch:e.colorMatch===!0,rendererType:sg(e.chartRenderer,F?.renderer)}),L1(c,m);let L=Sw({chart:t,lineSeries:m,applyPropertiesToClones:!1});return b1(L,m),nH(m),Gc({element:L,customSelectionTheme:n}),jf({chart:t,element:L,queryObject:s,errorStrings:l}),kQ({chart:t,numberOfChartSeries:h,series:m,seriesType:V.LineSeries,marker:L,ignoreSmoothRenderingLimit:o}),Iw(m),zc(m),m}function VH(a){let{series:t,seriesIndex:e,chartSubType:i,seriesConfig:r,colorMatch:s,lineColor:n,rendererType:o}=a,l=Yr(t),h=!1,u;if(l!==void 0){r.markerVisible!==!1&&r.visible!==!1?t.bulletsContainer.show():t.bulletsContainer.hide();let{markerSymbol:c}=r;c===void 0&&(c=Kb(),c.color=n),s?c.color=n:c.color??=n;let d=new Set,A;wv({element:l,markerSymbol:c}),l.clones.each(p=>{if(p.dataItem instanceof Go)wv({element:p,markerSymbol:c}),p.states.getKey(ia.CustomActive)?.reset(),p.states.getKey(ia.CustomInactive)?.reset();else{let f=p.dataItem?.dataContext,m=on({seriesConfig:r,dataItem:f,chartSubType:i,colorMatch:s,rendererType:o}),g=pu({seriesConfig:r,seriesIndex:e,seriesSymbol:c,element:p,colorMatch:s,rendererSymbol:m});u=g.symbolWithColorInfo,A=g.stylingInfo,yA({element:p,stylingInfo:A}),d.add(JSON.stringify(A))}}),h=d.size>1,h||yA({element:l,stylingInfo:A})}return h?void 0:u}function NH(a){let{series:t,seriesConfig:e,chartSubType:i,colorMatch:r,rendererType:s}=a,n;return t.dataItems?.values.every(o=>{let l=!0,h=o.dataContext;return n=on({seriesConfig:e,dataItem:h,chartSubType:i,colorMatch:r,rendererType:s}),n!==void 0&&(l=!1),l}),n}function D1(a){let{series:t,seriesIndex:e,seriesConfig:i,chartSubType:r,colorMatch:s,rendererType:n}=a,o=t,l=NH({series:o,seriesConfig:i,chartSubType:r,colorMatch:s,rendererType:n}),h=pu({seriesConfig:i,seriesIndex:e,seriesSymbol:i.lineSymbol??Zb(e),element:o,colorMatch:s,rendererSymbol:l});return Ui(o,i.visible),h.symbolWithColorInfo}function L1(a,t){a.showArea===!0?a.areaColor!==void 0?(t.fill=bn(a.areaColor),t.fillOpacity=t.fill.alpha===0?0:1):(t.fill=Ne(t.stroke.hex,1),t.fillOpacity=re.lineSeries.areaOpacity):t.fillOpacity=0}function I1(a){let{series:t,seriesIndexMapper:e,seriesSymbolMapForEvent:i,seriesIndex:r,colorMatch:s,rendererType:n}=a,o=a.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,u=It(l?.series);Ui(t,o.visible);let c=D1({series:t,seriesConfig:o,seriesIndex:r,chartSubType:u,colorMatch:s,rendererType:n}),d=VH({series:t,seriesIndex:r,seriesConfig:o,chartSubType:u,colorMatch:s,lineColor:c.color,rendererType:n});i.set(e.get(o.id)??r,{lineSymbol:c,markerSymbol:d}),L1(o,t),i.size===h&&(nn({data:i,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)}),t.chart.feedLegend())}function QH(a){let{seriesConfig:t,lineSeries:e,isRotated:i}=a;t.lineSmoothed===!0?e.smoothing=i?jb.MonotoneY:jb.MonotoneX:e.smoothing=re.lineSeries.lineSmoothedKind}function HH(a,t){let{connectLines:e,temporalBinning:i}=t,r=i?.nullPolicy;a.connect=e!==!1&&r!==Wb.Null}function jH(a){let{seriesConfig:t,series:e,axes:i,rotationChanged:r,seriesIndex:s,fieldList:n,stackedType:o,queryObject:l,options:h,utilsStrings:u}=a,{visible:c,name:d}=t,A=i[1].valueFormat,p=ve(e.chart.uid,"config"),f=xn({config:p}),m=It(p?.series);e.id=t.id,Ui(e,c);let g=d,y=e.dataFields?.customValue??"";(m===ke.BarAndLineSplitBy||m===ke.BarAndLineSplitByNoAggregation)&&(g=ng({queryObject:l,fieldName:Dn(y),fieldValue:g})??g),CA(e,g),Fw({series:e,seriesConfig:t,rotationChanged:r,stackedType:o,isRotated:f}),HH(e,t),Mv({styleCallback:I1,callbackProps:a,series:e,seriesConfig:t}),QH({seriesConfig:t,lineSeries:e,isRotated:f}),_1({series:e,seriesConfig:t,fieldList:n,queryObject:l,seriesIndex:s,setTimeBinningInfoWhenNotProvided:h?.setTimeBinningInfoWhenNotProvided,utilsStrings:u,tooltipFormatter:h?.tooltipFormatter}),oH({series:e,seriesType:V.LineSeries,stackedType:o,dataLabelsConfig:t.dataLabels,yAxisValueFormat:A,customDataLabelFormatter:h?.dataLabelFormatter})}function Vv(a,t){let e=a.series.values.find(s=>s.id===`${t}_${ji.Top}`),i=a.series.values.find(s=>s.id===`${t}_${ji.Median}`),r=a.series.values.find(s=>s.id===`${t}_${ji.Bottom}`);return{topStepLineSeries:e,medianStepLineSeries:i,bottomStepLineSeries:r}}function Wf(a,t){return a.series.values.find(e=>e.id===`${t}_${ji.Outliers}`)}function $w(a,t){return(a??re.boxPlot.boxPlotOutliersVisibility)&&t!==!1}function WH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=oa(i),h=i.series[r],[u,c]=e,d=new wr;return d.hoverable=!0,l||(Gc({element:d.columns.template,customSelectionTheme:s}),jf({chart:t,element:d.columns.template,queryObject:n,errorStrings:o})),d.id=h.id,u!==void 0&&(d.xAxis=u),c!==void 0&&(d.yAxis=c),d.simplifiedProcessing=!0,d.columns.template.applyOnClones=!0,d.riseFromOpenState.reset(),d.riseFromPreviousState.reset(),d.dropFromOpenState.reset(),d.dropFromPreviousState.reset(),CA(d,h.name),zc(d),d}function ZC(a){let{axisList:t=[],chartConfig:e,seriesIndex:i,type:r,selectionTheme:s}=a,n=e.series[i],[o,l]=t,h=new Aa;return h.hoverable=!0,h.id=`${n.id}_${r}`,o!==void 0&&(h.xAxis=o),l!==void 0&&(h.yAxis=l),h.noRisers=!0,h.simplifiedProcessing=!0,Gc({element:h.segments.template,customSelectionTheme:s}),h.hiddenInLegend=!0,zc(h),h}function XH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=i.series[r],h=oa(i),[u,c]=e,d=new Pi;Jn(d.uid,{isBoxPlotOutliersSeries:!0}),d.id=`${l.id}_${ji.Outliers}`,u!==void 0&&(d.xAxis=u),c!==void 0&&(d.yAxis=c),d.simplifiedProcessing=!0,d.hiddenInLegend=!0,d.strokeOpacity=0;let A=Sw({chart:t,lineSeries:d});return h||(Gc({element:A,customSelectionTheme:s}),jf({chart:t,element:A,queryObject:n,errorStrings:o})),zc(d),d}function wA(a){let{chartConfig:t,seriesConfig:e,meanLineSeries:i,candleStickSeries:r,topStepLineSeries:s,medianStepLineSeries:n,bottomStepLineSeries:o,outliersSeries:l,creation:h=!1,rotationChanged:u,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:d}=a,{x:A,y:p}=e,f=h||u===!0||d===!0,m=f||c===!0,g=f,y=f;if(t!==void 0){let{showOutliers:x,standardizeValues:w,showMean:S}=t,T=xn({config:t});if(i instanceof Pi&&y){let P=It(t.series),Q=e?.query?.where,Y=Zi({y:P===ke.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:P,splitBy:Q,showOutliers:x,standardizeValues:md(P)?w:!1,key:Zt.Average});T?(i.dataFields.valueX=Y,i.dataFields.categoryY=A):(i.dataFields.valueY=Y,i.dataFields.categoryX=A),i.dataFields.customValue=Q}let F=ug(t),L=It(F.series),$=S===!0?void 0:e?.query?.where,I={y:L===ke.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:L,splitBy:$,showOutliers:x,standardizeValues:md(L)?w:!1};if(m){if(r instanceof wr){let P=Zi({...I,key:Zt.Min}),Q=Zi({...I,key:Zt.FirstQuartile}),Y=Zi({...I,key:Zt.Max}),G=Zi({...I,key:Zt.ThirdQuartile});T?(r.dataFields.lowValueX=P,r.dataFields.openValueX=Q,r.dataFields.highValueX=Y,r.dataFields.valueX=G,r.dataFields.categoryY=A):(r.dataFields.lowValueY=P,r.dataFields.openValueY=Q,r.dataFields.highValueY=Y,r.dataFields.valueY=G,r.dataFields.categoryX=A),r.dataFields.customValue=$}if(s instanceof Aa&&n instanceof Aa&&o instanceof Aa){let P=Zi({key:Zt.Max,...I}),Q=Zi({key:Zt.Median,...I}),Y=Zi({key:Zt.Min,...I});T?(s.dataFields.valueX=P,n.dataFields.valueX=Q,o.dataFields.valueX=Y,s.dataFields.categoryY=A,n.dataFields.categoryY=A,o.dataFields.categoryY=A):(s.dataFields.valueY=P,n.dataFields.valueY=Q,o.dataFields.valueY=Y,s.dataFields.categoryX=A,n.dataFields.categoryX=A,o.dataFields.categoryX=A),s.dataFields.customValue=$,o.dataFields.customValue=$,n.dataFields.customValue=$}}if(l instanceof Pi&&g){let P=Zi({...I,key:Zt.Outlier});T?(l.dataFields.valueX=P,l.dataFields.categoryY=A):(l.dataFields.valueY=P,l.dataFields.categoryX=A),l.dataFields.customValue=$,l.invalidateRawData()}let U=i?.chart??r?.chart;U!==void 0&&(m||y)&&U.invalidateRawData()}}function zH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=i.series[r],[h,u]=e,c=new Pi;Jn(c.uid,{isBoxPlotMeanLineSeries:!0}),c.id=l.id,h!==void 0&&(c.xAxis=h),u!==void 0&&(c.yAxis=u),c.simplifiedProcessing=!0;let d=Sw({chart:t,lineSeries:c});return Gc({element:d,customSelectionTheme:s}),jf({chart:t,element:d,queryObject:n,errorStrings:o}),zc(c),iH(c),wA({chartConfig:i,seriesConfig:l,meanLineSeries:c,creation:!0}),c}function GH(a){let{chartConfig:t,seriesIndex:e}=a,i=t.series[e],r=ze([i]),s=[];if(r===V.BoxPlotSeries){let n=WH(a),o=ZC({...a,type:ji.Top}),l=ZC({...a,type:ji.Median}),h=ZC({...a,type:ji.Bottom}),u=XH(a);eH(n),tH(u,n),wA({chartConfig:t,seriesConfig:i,candleStickSeries:n,topStepLineSeries:o,medianStepLineSeries:l,bottomStepLineSeries:h,outliersSeries:u,creation:!0}),s.push(n,o,l,h,u)}else if(r===V.LineSeries){let n=zH(a);s.push(n)}return s}function YH(a){let{candleStickSeries:t,seriesConfig:e,stylingInfo:i,chartSubType:r,colorMatch:s,rendererType:n}=a;if(i!==void 0){let o={...i},l=a1({data:t.chart.data,colorMatch:s,chartSubType:r,rendererType:n});i?.outline!==void 0&&l&&(o.outline.stroke=Qc(re.boxPlot.boxPlotWhiskersColor));let{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t.chart,t.id);if(h!==void 0&&u!==void 0&&c!==void 0&&o.outline!==void 0){o.outline.strokeWidth=re.boxPlot.boxPlotLineWidth,mA(h,o.outline),mA(u,o.outline),mA(c,o.outline);let d=e.visible!==!1;Ui(h,d),Ui(u,d),Ui(c,d)}}}function KH(a){let{candleStickSeries:t,seriesConfig:e,showOutliers:i,seriesSymbol:r}=a;if(r!==void 0){let s=Wf(t.chart,t.id);if(s!==void 0){let n=Yr(s);if(n!==void 0){let o=$w(i,e.visible),l={type:Rt.SMS,style:KA.Circle,color:r.color,size:re.boxPlot.boxPlotOutliersSize};n.clones.each(h=>{let u=t.dataItems.values.find(c=>(c.categories.categoryX??c.categories.categoryY)===(h.dataItem?.categories.categoryX??h.dataItem?.categories.categoryY))?.column?.fill;wv({element:h,markerSymbol:{...l,color:UI(u)??l.color},visible:o})})}}}}function ZH(a){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:s,colorMatch:n,showMean:o,rendererType:l}=a,h,u,c,d=new Set,A=!1,p=e.fillSymbol??Gm(i);if(t.columns.length===0?(c=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:new Ee,colorMatch:n,isChartFillSymbol:!0}),h=c.symbolWithColorInfo,u=c.stylingInfo):t.columns.each(f=>{c=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:f,colorMatch:n,isChartFillSymbol:!0,rendererSymbol:o?void 0:on({dataItem:f.dataItem?.dataContext,seriesConfig:e,chartSubType:s,colorMatch:n,rendererType:l})}),h=c.symbolWithColorInfo,u=c.stylingInfo,d.add(JSON.stringify(h))}),A=d.size>1,r>1){let f=t.legendDataItem?.marker.children.getIndex(0);f!==void 0?yA({element:f,stylingInfo:u}):t.chart.legend.events.once(Ie.Validated,()=>{yA({element:t.legendDataItem?.marker.children.getIndex(0),stylingInfo:u}),t.chart.legend.invalidate()})}return{multipleSymbolsForOneSeries:A,seriesSymbol:h,stylingInfo:u}}function qH(a){let{series:t,showOutliers:e,colorMatch:i,seriesIndex:r,seriesIndexMapper:s,seriesSymbolMapForEvent:n,seriesConfig:o,rendererType:l,queryObject:h}=a,u=ve(t.chart.uid,"config"),c=oa(u),d=u?.series.length??0,A=It(u?.series),p=!1,f;if(t instanceof wr&&o.type===V.BoxPlotSeries){let m=ZH({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:d,chartSubType:A,colorMatch:i,showMean:c,rendererType:l}),{stylingInfo:g}=m;({multipleSymbolsForOneSeries:p,seriesSymbol:f}=m),n.set(s.get(o.id)??r,p?void 0:{fillSymbol:f??o.fillSymbol}),YH({candleStickSeries:t,seriesConfig:o,colorMatch:i,stylingInfo:g,chartSubType:A,rendererType:l}),KH({candleStickSeries:t,seriesConfig:o,showOutliers:e,seriesSymbol:f})}else t instanceof Pi&&o.type===V.LineSeries&&I1({series:t,seriesConfig:o,seriesIndexMapper:s,seriesSymbolMapForEvent:n,seriesIndex:r,colorMatch:i,rendererType:l});n.size===d&&nn({data:n,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)})}function JH(a){let{numberOfSeries:t,chart:e,showMean:i}=a,r=xn({chart:e}),s=r?e.yAxes.getIndex(0)?.renderer:e.xAxes.getIndex(0)?.renderer;if(s!==void 0){let{cellStartLocation:n,cellEndLocation:o}=s,l=n/(i===!0?1:t),h=e.series.values.filter(u=>u instanceof wr);h.forEach((u,c)=>{let d=n+c/h.length*(o-n)+l,A=n+(c+1)/h.length*(o-n)-l,{topStepLineSeries:p,medianStepLineSeries:f,bottomStepLineSeries:m}=Vv(e,u.id);p!==void 0&&(p.startLocation=d,p.endLocation=A),f!==void 0&&(f.startLocation=d,f.endLocation=A),m!==void 0&&(m.startLocation=d,m.endLocation=A);let g=Wf(e,u.id);if(g!==void 0){let y=(d+A)/2;r?g.dataItems.template.locations.categoryY=y:g.dataItems.template.locations.categoryX=y}})}}function e2(a){let{outliersSeries:t,chartData:e,dataWasUpdated:i,rotationChanged:r,seriesReordered:s,seriesWereReinitialized:n}=a;(r||i||s||n)&&(t.data=e?.outliers??[])}function t2(a){let{meanLineSeries:t,chartData:e,rotationChanged:i,sortChanged:r,dataWasUpdated:s,seriesReordered:n,seriesWereReinitialized:o}=a;(i||s||r||n||o)&&(t.data=e?.meanLines??[],t.invalidateData())}function i2(a){let{chart:t,chartConfig:e,seriesConfig:i,chartData:r,candleStickSeriesId:s,showOutliers:n,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:c,seriesWereReinitialized:d}=a,A=Wf(t,s);if(A!==void 0){let p=Yr(A);if(p!==void 0){let f=$w(n,i.visible);p.disabled=!f,e2({outliersSeries:A,chartData:r,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,seriesWereReinitialized:d})}wA({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:c,rotationChanged:l,outliersSeries:A})}}function r2(a){let{meanLineSeries:t,seriesConfig:e,chartData:i,dataWasUpdated:r,seriesReordered:s,sortChanged:n,rotationChanged:o,chartConfig:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u}=a;CA(t,e?.name),wA({chartConfig:l,seriesConfig:e,meanLineSeries:t,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u,rotationChanged:o}),t2({meanLineSeries:t,chartData:i,dataWasUpdated:r,seriesReordered:s,sortChanged:n,rotationChanged:o})}function s2(a){let{series:t,chartConfig:e,seriesConfig:i,rotationChanged:r,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n}=a;CA(t,i?.name),t.hiddenInLegend=oa(e),wA({chartConfig:e,seriesConfig:i,candleStickSeries:t,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:r})}function a2(a){let{chart:t,chartConfig:e,seriesConfig:i,candleStickSeriesId:r,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:o}=a,l=i.visible!==!1,{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t,r);h!==void 0&&Ui(h,l),u!==void 0&&Ui(u,l),c!==void 0&&Ui(c,l),wA({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:o,topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c})}function n2(a){let{chart:t,series:e,chartData:i,utilsStrings:r,dataWasUpdated:s,sortChanged:n,seriesReordered:o,fieldList:l,outliersVisibilityChanged:h,showMean:u,seriesConfig:c,showOutliers:d,standardizeValuesVisibilityChanged:A,rotationChanged:p,seriesWereReinitialized:f,options:m,queryObject:g}=a,{tooltipFormatter:y}=m??{};JH({numberOfSeries:a.numberOfSeries,chart:t,showMean:u});let x=ve(t.uid,"config");if(x!==void 0){if(e instanceof wr&&c.type===V.BoxPlotSeries){let{id:w}=e;s2({series:e,chartConfig:x,seriesConfig:c,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A}),a2({chart:t,chartConfig:x,seriesConfig:c,candleStickSeriesId:w,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,rotationChanged:p}),i2({chart:t,chartConfig:x,seriesConfig:c,chartData:i,showOutliers:d,candleStickSeriesId:w,dataWasUpdated:s,rotationChanged:p,seriesReordered:o,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,seriesWereReinitialized:f})}else e instanceof Pi&&c.type===V.LineSeries&&r2({chartConfig:x,chartData:i,meanLineSeries:e,seriesConfig:c,dataWasUpdated:s,seriesReordered:o,sortChanged:n,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A});Mv({styleCallback:qH,callbackProps:a,series:e,seriesConfig:c}),aH({series:e,seriesConfig:c,fieldList:l,tooltipFormatter:y,utilsStrings:r,queryObject:g})}}function o2(a){let t=a.series.getIndex(0);if(t!==void 0){let e=!1;t.slices.each(i=>{i.isActive&&(e=!0),Zn({element:i,selected:!1,backToDefaultState:!0})}),e&&a.feedLegend()}}function l2(a,t=!0){let e;a.series.each((i,r)=>{if(!t||i.visible){e=kv(i,r);let s=[];if(e===V.BarSeries)s=i.columns?.values;else if(e===V.LineSeries)s=Yr(i)?.clones?.values;else if(e===V.BoxPlotSeries){if(i instanceof wr)s.push(...i.columns.values);else if(i instanceof Aa)s.push(...i.segments.values);else if(i instanceof Pi){let n=Yr(i)?.clones?.values;n!==void 0&&s.push(...n)}}s!==void 0&&s.forEach(n=>{Zn({element:n,selected:!1,backToDefaultState:!0})})}})}function BA(a){let{chart:t,selectionSource:e,clearOnlyVisibleSeries:i,disposeStyleAndSelection:r}=a,s=ve(t.uid,"currentSelectionDataItems");r!==!1&&A1(t,"updateSelectionCallbackDisposer"),ai(t.uid,{currentSelectionDataItems:void 0,currentSelectionOIDs:void 0,currentSelectionIndexes:void 0,computedSelectionDataItems:void 0,computedSelectionIndexes:void 0,pendingSelectionQueries:!1}),wn(t)&&(t instanceof Vt?l2(t,i??!0):t instanceof qi&&o2(t)),s&&Nu({data:{selectionSource:e??Tr.ClearSelection},htmlContainer:t.htmlContainer})}function h2(a){bx(),hx(a.htmlContainer),BA({chart:a})}function u2(a){let{chart:t,chartType:e,showMean:i}=a;return t.series.values.filter(r=>e!==V.BoxPlotSeries||!i&&r instanceof wr||i&&sa(r.uid,"isBoxPlotMeanLineSeries")).every(r=>sa(r.uid,"isSelectionApplied")===!0)}function c2(a){a.series.each(t=>Jn(t.uid,{isSelectionApplied:void 0}))}function k1(a,t){let e=ve(a.uid,"actionMode");if((e===Ut.MonoSelection||e===Ut.None)&&t.length>1)BA({chart:a});else{let i=a instanceof qi;t.forEach(r=>{Zn({element:r,useNativeState:i,selected:!0})})}}function d2(a){let{chart:t,chartConfig:e,series:i,options:r,elementsToApplySelectionTo:s,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,queryObject:u}=a,c=ze(e.series),d=It(e.series),A=Eo(e),p=[],f=[],m=[],g=Mo(e.series),y=i instanceof Hr?i.dataFields?.customValue??"":"";return s.forEach(x=>{if(!(x instanceof Go)){let w=x.dataItem?.dataContext;if(w!==void 0&&(c===V.BoxPlotSeries&&w[re.boxPlot.boxPlotOutlierId]!==!0||d===ke.BarAndLineMultiFields)&&(w=th({dataContext:w,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:c,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Oo(u)})),$v({elementDataContext:w,options:r,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,chartType:c,splitBy:y,chartSubType:d,showOutliers:A}))if(p.push(x),x.dataItem!==void 0&&f.push(x.dataItem.index),x?.dataItem instanceof Wa&&w!==void 0)m.push(w);else{let S=new Set;c===V.PieSeries&&sh(w)?(Hf({groupOfSlicesDataContext:w})??[]).forEach(T=>{n.forEach(F=>{Bw({layerOidField:o,sliceDataContext:T,selectionDataContext:F,xAxisField:l})&&S.add(T)})}):S.add(w),Array.from(S)?.forEach(T=>{let F=th({dataContext:T,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:c,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Oo(u)});F!==void 0&&m.push(F)})}else Zn({element:x,useNativeState:t instanceof qi,selected:!1})}}),k1(t,p),{selectedIndexes:f,newSelectionDataItems:m}}function A2(a){let{chart:t,selectionIndexes:e,queryObject:i}=a,r=[],s=[],n=ve(t.uid,"config"),o=Eo(n),l=Mo(n?.series??[]),h=It(n?.series);return t.series.each((u,c)=>{if(n&&u.visible){let d=n.series[0].x,A=_u(u),p=u instanceof Hr?u.dataFields?.customValue??"":"",f=kv(u,c),m=e.get(c);if(m!==void 0){let g;if(u instanceof Xi?g=u.columns:u instanceof Bs?g=u.slices:g=Yr(u)?.clones,g!==void 0){let{indexesToSelect:y}=m;g.each((x,w)=>{if(x&&(y===void 0||y.includes(w))){let S;f===V.BoxPlotSeries&&x.dataItem instanceof Wa?S=x.dataItem.dataContext:x.dataItem instanceof Go||(S=th({dataContext:x.dataItem?.dataContext,yList:l,yAxisField:A,xAxisField:d,splitBy:p,chartType:f,chartSubType:h,showOutliers:o,isFeatureCollectionLayer:Oo(i)})),S!==void 0&&r.push(S),s.push(x)}else Zn({element:x,useNativeState:t instanceof qi,selected:!1})})}}}}),k1(t,s),r}function p2(a){let{series:t,chartType:e,showMean:i}=a,r;switch(e){case V.ComboLineAndBarSeries:if(t instanceof Xi)r=t.columns.values;else if(t instanceof Pi){let s=Yr(t);s!==void 0&&(r=s.clones.values)}break;case V.BarSeries:t instanceof Xi&&(r=t.columns.values);break;case V.LineSeries:if(t instanceof Pi){let s=Yr(t);s!==void 0&&(r=s.clones.values)}break;case V.PieSeries:r=t.slices.values;break;case V.BoxPlotSeries:if(t.chart instanceof Vt){if(t instanceof wr&&i!==!0){r=[...t.columns.values];let s=Wf(t.chart,t.id);if(s!==void 0&&s.visible){let n=Yr(s);n!==void 0&&r.push(...n.clones.values)}}else if(i===!0&&t instanceof Pi&&sa(t.uid,"isBoxPlotMeanLineSeries")){let s=Yr(t);s!==void 0&&(r=s.clones.values)}}break}return r}function f2(a){let{series:t,seriesIndex:e,queryObject:i,options:r,dataWasUpdated:s,sortChanged:n,groupOfSlicesWasUpdated:o,xAxisField:l,yAxisField:h,rotationChanged:u}=a,{filterBySelection:c,selectionData:d,returnSelectionIndexes:A,returnSelectionOIDs:p}=r??{},{selectionIndexes:f}=d??{},{chart:m}=t,g=ve(m.uid,"config"),y=xs(i),x=Eo(g),w=oa(g),S=ze(g?.series);if(c!==!0&&g!==void 0){let T=p2({series:t,chartType:S,showMean:w}),F=It(g?.series),L=Os(i),$=Ch(L).idField,I=ve(m.uid,"currentSelectionDataItems"),U=!1,P=!1,Q,Y=!1;if(T?.[0]!==void 0){if(r?.viewExtentUpdated!==!0){Q=r?.selectionData?.selectionItems??I;let G=ve(m.uid,"currentSelectionIndexes");Y=Fx({itemsA:Q,itemsB:I,isPieFromFields:F===ke.PieFromFields,x:g.series[0].x});let ee=f?.keys.length!==G?.keys.length||!rn(f,G);U=n===!0||s===!0||o===!0||u===!0||Q!==void 0&&Y;let te=!0;if(f!==void 0&&f.size>0){let{indexesToSelect:le}=f.get(e??0)??{};te=le!==void 0&&le[0]===void 0}P=s===!0||o===!0||u===!0||!te&&ee}if(U&&Q!==void 0&&Q.length>0){let{selectedIndexes:G,newSelectionDataItems:ee}=d2({chart:m,chartConfig:g,options:r,series:t,elementsToApplySelectionTo:T,selectionDataItems:Q,layerOidField:$,xAxisField:l,yAxisField:h}),te=ve(m.uid,"computedSelectionDataItems")??[];if(te.push(...ee),g.series.length>1&&F!==ke.BarAndLineNoAggregation&&F!==ke.BarAndLineSplitByNoAggregation&&(te=np({data:te,x:g.series[0].x,splitByField:Dn(g.series[0].query?.where)})),ai(m.uid,{computedSelectionDataItems:te}),A===!0){let le=Array.from(new Set(G)),z=ve(m.uid,"computedSelectionIndexes");z===void 0&&(z=new Map),le.length===T.length?z.set(e??0,{}):z.set(e??0,{indexesToSelect:le}),ai(m.uid,{computedSelectionIndexes:z})}}else if(f!==void 0&&P)Q=A2({chart:m,selectionIndexes:f,queryObject:i});else{let G=Q===void 0||Q.length===0,ee=t instanceof Hr?t.dataFields?.customValue??"":"",te=le=>{let z=le.dataItem?.dataContext;return z!==void 0&&S===V.BoxPlotSeries&&z[re.boxPlot.boxPlotOutlierId]!==!0&&(z=th({dataContext:z,yAxisField:h,yList:Mo(g.series),xAxisField:l,splitBy:ee,chartType:S,chartSubType:F,showOutliers:x,isFeatureCollectionLayer:Oo(i)})),$v({elementDataContext:z,options:r,selectionDataItems:Q??I??[],layerOidField:$,xAxisField:l,yAxisField:h,chartType:S,splitBy:ee,chartSubType:F,showOutliers:x})};T.forEach(le=>{let z=le.isActive||te(le);Zn({element:le,selected:z,useNativeState:m instanceof qi,backToDefaultState:G})})}}if(Jn(t.uid,{isSelectionApplied:!0}),u2({chart:m,chartType:S,showMean:w})&&(c2(m),Y||P)){let G=ve(m.uid,"computedSelectionDataItems")??Q;G=Array.from(new Set(G?.map(te=>JSON.stringify(te)))).map(te=>JSON.parse(te)),Q!==void 0&&ai(m.uid,{currentSelectionDataItems:G}),d?.selectionOIDs!==void 0&&ai(m.uid,{currentSelectionOIDs:d.selectionOIDs});let ee;if(A===!0&&(ee=ve(m.uid,"computedSelectionIndexes")??f,ee!==void 0&&ai(m.uid,{currentSelectionIndexes:ee})),G===void 0||G.length===0)BA({chart:m,selectionSource:Tr.ProgrammaticSelection});else{let te={selectionItems:G,selectionSource:Tr.ProgrammaticSelection};A===!0&&(te.selectionIndexes=ee),p!==!1&&(te.selectionOIDs=d?.selectionOIDs??ve(m.uid,"currentSelectionOIDs")),y&&(te.selectionPixelTarget=ag({chartConfig:g,layer:i,selectionDataItems:G})),Nu({data:te,htmlContainer:m.htmlContainer})}ai(m.uid,{computedSelectionIndexes:void 0,computedSelectionDataItems:void 0})}}}function m2(a){let{chart:t,chartConfig:e}=a;for(let i=0;i<t.series.length;i+=1){let r=t.series.getIndex(i);if(r){let s=Uf(r,e);if(s){let n=ze([s]);if(n===V.BoxPlotSeries&&(r=t.series.values.find(o=>o.id===s.id)),r!==void 0){let o=s.x,l=n===V.BoxPlotSeries?s.y.toString():_u(r);MQ({callbackProps:{...a,series:r,seriesIndex:i,xAxisField:o,yAxisField:l},series:r,seriesConfig:s})}}}}}async function Xf(a){let{chart:t,listSelectedElements:e,selectionSource:i,queryObject:r,errorStrings:s}=a,n=ve(t.uid,"options"),o=ve(t.uid,"config"),l=xs(r);if(o)if(e.length===0)BA({chart:t,selectionSource:i,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1});else try{A1(t,"updateSelectionCallbackDisposer");let h=Eo(o),u=[],c=[],d=[],A=new Map,{xAxisField:p}=e[0]??{},f=ze(o?.series),m=It(o?.series),g=Mo(o?.series??[]),y=_a(r).find(w=>w.name===p)?.type;if(e.forEach(w=>{let{elementDataContext:S,yAxisField:T,splitBy:F}=w,L=th({dataContext:S,yAxisField:T,yList:g,xAxisField:p,splitBy:F,chartType:f,chartSubType:m,showOutliers:h,isFeatureCollectionLayer:Oo(r)});L!==void 0&&c.push(L);let{seriesIndex:$,elementIndex:I}=w;if(I!==void 0){let U=A.get($)?.indexesToSelect??[];U.push(I),A.set($,{indexesToSelect:Array.from(new Set(U))})}if(!l&&S!==void 0){let U=S[Eu.uniqueIdsName]!==void 0?[S[Eu.uniqueIdsName]].flat():[];if(U.length>0)d.push(...U);else if(n?.returnSelectionOIDs!==!1){let P=Tx({dataContext:S,options:n,xAxisField:p,yAxisField:T??"",splitBy:F,xAxisFieldType:y,chartConfig:o,queryObject:r});u.push(P)}}}),!l&&n?.returnSelectionOIDs!==!1&&u.length>0){let w={...ve(t.uid,"queryConfig")};delete w.groupByFieldsForStatistics,delete w.orderByFields,delete w.outStatistics;let S=await s1({whereList:u,queryObject:r,queryConfig:w,errorStrings:s});if(u.length===e.length)d=S;else for(let T=0;T<S.length;T+=1)d.push(S[T])}o.series.length>1&&m!==ke.BarAndLineNoAggregation&&m!==ke.BarAndLineSplitByNoAggregation&&(c=np({data:c,x:o.series[0].x,splitByField:Dn(o.series[0].query?.where)})),ai(t.uid,{currentSelectionDataItems:c,currentSelectionOIDs:d,currentSelectionIndexes:A});let x={selectionItems:c,selectionSource:i};n?.returnSelectionIndexes===!0&&(x.selectionIndexes=A),n?.returnSelectionOIDs!==!1&&(x.selectionOIDs=d),l&&(x.selectionPixelTarget=ag({chartConfig:o,layer:r,selectionDataItems:c})),Nu({data:x,htmlContainer:t.htmlContainer})}catch(h){ai(t.uid,{pendingSelectionQueries:!1});let{httpStatus:u}=h instanceof Tl?h.details.details:h.details??{};if(u===429)h2(t);else throw h}ai(t.uid,{pendingSelectionQueries:!1})}function g2(a){let{axis:t}=a,e=t.chart;return{axis:t,chart:e}}async function y2(a,t,e){let i=a.target,{axis:r,chart:s}=g2(i),n=[],{seriesDataItems:o}=a.target.dataItem;Object.keys(o).forEach(d=>{if(Object.hasOwn(o,d)){let A=o[d];for(let p of A)if(p instanceof Ss)n.push(p.column);else{let f=p.sprites.find(m=>!(m instanceof Ri));f!==void 0&&n.push(f)}}});let l=Rv(a,s),h=r instanceof Ct||r instanceof $t,u=[],c=ve(s.uid,"config");if(c){let d=c.series[0].x??"";s.series.each((A,p)=>{let f;if(A instanceof Xi?f=A.columns:f=Yr(A)?.clones,A.visible){let m=_u(A),g=A.dataFields?.customValue??"";f?.each((y,x)=>{let w=n.includes(y);Zn({element:y,selected:w,multiSelect:l,isDateOrCategoryAxis:h})&&u.push({element:y,elementDataContext:y.dataItem?.dataContext,yAxisField:m,xAxisField:d,splitBy:g,seriesIndex:p,elementIndex:x,chartConfig:c})})}}),await Xf({chart:s,listSelectedElements:u,selectionSource:Tr.SelectionByClick,queryObject:t,errorStrings:e})}}function v2(a){let{axis:t,queryObject:e,errorStrings:i}=a;if(wn(t.renderer.labels.template)){t.renderer.labels.template.events.on(Ie.Hit,async s=>{t.renderer.labels.template.events.isEnabled(Ie.Hit)&&await y2(s,e,i)});let r=ve(t.chart.uid,"filterBySelection")===!0?si.default:si.pointer;sw(t,r)}}function Sv(a,t){if(wn(a?.renderer?.labels?.template)&&(a instanceof $t||a instanceof Ct))if(t)a.renderer.labels.template.events.disableType(Ie.Hit),sw(a,si.default);else{a.renderer.labels.template.events.enableType(Ie.Hit);let e=ve(a.chart.uid,"filterBySelection")===!0?si.default:si.pointer;sw(a,e)}}var gr={Guides:"guides",Ticks:"ticks",GaugeFirstAndLastGuides:"firstAndLast",GaugeTicksWithLabels:"gaugeTicksWithLabels"};function yu(a){let{chart:t,label:e,labelType:i}=a,r=Number.NaN;switch(i){case Xt.GuideLabel:!(t instanceof Ks)&&t instanceof Vt&&(e.rotation===90||e.rotation===270?r=t.seriesContainer.measuredHeight:r=t.seriesContainer.measuredWidth);break;case Xt.XAxisTitle:t instanceof Vt&&(r=t.seriesContainer.measuredWidth);break;case Xt.YAxisTitle:t instanceof Vt&&(r=t.seriesContainer.measuredHeight);break;case Xt.ChartTitle:case Xt.ChartSubTitle:case Xt.ChartFooter:r=t.measuredWidth-20;break}r>0&&(e.maxWidth=r,t.invalidateLabels(),t instanceof Vt&&(t.xAxes.getIndex(0)?.invalidateLabels(),t.xAxes.getIndex(1)?.invalidateLabels(),t.yAxes.getIndex(0)?.invalidateLabels(),t.yAxes.getIndex(1)?.invalidateLabels()))}function Vf(a){let{chart:t,labelType:e}=a;yu(a);let i=e===Xt.YAxisTitle?1:0,r=ks(()=>yu(a),re.debounceTime);t.events.on(Ie.Validated,r,i),(e===Xt.YAxisTitle||e===Xt.XAxisTitle)&&t instanceof Vt&&t.seriesContainer.events.on(Ie.SizeChanged,r,i)}function Fv(a,t){a.events.on(Ie.Validated,ks(()=>{t.visible=a.measuredWidth!==0},re.debounceTime))}function b2(a,t){a.chart instanceof Ks||(t.adapter.add("dx",e=>{let i=e;return(t.rotation===90||t.rotation===270)&&(i=t.bbox.height,t.dataItem.value!==t.dataItem.endValue&&(i/=2)),i}),t.padding(0,10,0,10))}function x2(a,t){let e=a.renderer instanceof Hl?new Vn:new Ko;return e.disabled=!0,e.axis=a,Ov(e),gu(e.uid,{isGuide:t}),Vf({chart:a.chart,label:e,labelType:Xt.GuideLabel}),b2(a,e),e}function _2(a){let{label:t,labelConfig:e,guideType:i}=a,r=t.axis.renderer instanceof ar,s;t instanceof Vn||(r?i===Rt.SFS?s=re.verticalSurfaceGuideLabels:s=re.verticalLineGuideLabels:i===Rt.SFS?s=re.horizontalSurfaceGuideLabels:s=re.horizontalLineGuideLabels);let n={...e};n.content.rightToLeft=t.axis.rtl,_n({label:t,labelConfig:n,defaults:s}),t.axis.invalidateLabels()}function C2(a,t,e){let i=e.chart;a.axisFill.tooltip=new fo,a.axisFill.interactionsEnabled=!0,a.axisFill.tooltipPosition=re.guideTooltipPosition,a.axisFill.tooltip.label.wrap=!0,a.axisFill.tooltip.adapter.add("maxWidth",()=>Math.min(re.tooltipWidth,i.seriesContainer.maxWidth)),a.axisFill.tooltip.boundingContainer=i.chartAndLegendContainer,a.axisFill.adapter.add("tooltipHTML",(r,s)=>{let n=r,{dataItem:o,axis:l}=s;if(!(l.renderer instanceof Hl)){let h=Qs(l.uid,"guideTooltipFormatter");if(h!==void 0){let u="",c;o instanceof vo?(u=o.value,c=o.endValue):o instanceof Jo?(u=o.category,c=o.endCategory):o instanceof Nh&&(u=o.date,c=o.endDate),n=h({guideName:o.id??"",start:u,end:c,guideIndex:t})}}return n}),a.axisFill.tooltip.events.on(Ie.Shown,r=>{let s=ve(a.axisFill.axis.chart.uid,"config");if(s!==void 0){let n=ve(a.axisFill.axis.chart.uid,"isRotated"),o=zf(a.axisFill.axis.renderer,n)?0:1,l=s.axes?.[o]?.guides,{tooltipReverseColor:h}=l?.[t]??{};v1(r.target,h)}})}function w2(a,t){return e=>{let{guideName:i,start:r,end:s,guideIndex:n}=e,{chart:o}=a,l="";if(o!==void 0){let h=ve(o.uid,"config"),u=ve(o.uid,"isRotated"),c=zf(a.renderer,u)?0:1,d=h?.axes?.[c]?.guides,A=r,p=s;if(a instanceof Ct){let y=new un,x;if(o!==void 0){let w=ve(a.chart.uid,"formatLocale");y=fl({type:V.DateAxisFormat,iLocale:o.language.locale,formatLocale:w}),x=h?.axes?.[0]?.valueFormat?.intlOptions}A=y.format(r,x),s!==void 0&&(p=y.format(s,x))}else if(a instanceof Qe&&!(r instanceof Date)&&!(s instanceof Date)){let{start:y,end:x}=Ow(a,d?.[n]);Number.isFinite(y)&&(A=y),Number.isFinite(x)&&(p=x);let w=Qs(a.uid,"numberFormatter")??(S=>new Rl().format(S));A=w(A),p!==void 0&&(p=w(p))}else a instanceof $t&&(A=r,p=s);let f=A.toString(),m=p?.toString()??"";!zi(m)&&f!==m?l=Vc(t.guideTooltipLabel,{guideStart:f,guideEnd:m}):l=f;let g=Ra(o.rtl);l=`${i}${g} ${l}`}return l}}function B2(a){let{axis:t,guideTooltipFormatter:e,utilsStrings:i}=a;Ls(t.uid,{guideTooltipFormatter:e??w2(t,i)})}function S2(a){let t=Ou.Value;return a instanceof Ct?t=Ou.Date:a instanceof $t&&(t=Ou.Category),t}function tI(a){let{inputValue:t,axisType:e,axisMin:i,axisMax:r}=a,s=t;if(t!=null)switch(e){case Ou.Date:s=t instanceof Date?t:new Date(t);break;case Ou.Category:s=t.toString();break;case Ou.Value:if(typeof t!="number"){let n=t.toString().trim(),o=rp(n);o!==void 0?i!==void 0&&r!==void 0?s=o/100*(r-i)+i:s=null:s=Number.parseFloat(n)}break}return s}function Ow(a,t){let{start:e,end:i}=t??{},r;if(t!==void 0&&e!==void 0&&e!==null){let s=S2(a),n=a instanceof Qe?a.min:void 0,o=a instanceof Qe?a.max:void 0,l=tI({inputValue:e,axisType:s,axisMin:n,axisMax:o}),h=t.style?.type===Rt.SFS&&i!==null&&i!==void 0?tI({inputValue:i,axisType:s,axisMin:n,axisMax:o}):l;r={isValidGuide:l!=null&&h!=null,start:l,end:h}}else r={isValidGuide:!1,start:void 0,end:void 0};return r}function F2(a){let{axis:t,tickOrGuide:e,numberOfElementsToBeDeleted:i}=a,r=[],s=t.axisRanges.length-1,n=i;for(;n>0&&s>=0;){let o=t.axisRanges.getIndex(s);o!==void 0&&(gs(o.label?.uid,"isGuide")??!1)===!0&&e===gr.Guides&&(r.push(o),n-=1),s-=1}for(let o=0;o<r.length;o+=1)t.axisRanges.removeValue(r[o])}function en(a,t){return a.axisRanges?.values?.filter(e=>{let i=gs(e.label?.uid,"isGuide")??!1,r=gs(e.label?.uid,"isGaugeAxisLabel")??!1,s=!1;switch(t){case gr.Ticks:s=i===!1;break;case gr.Guides:s=i===!0;break;case gr.GaugeTicksWithLabels:s=r===!0&&e.value!==void 0;break;case gr.GaugeFirstAndLastGuides:s=i===!0&&(e.id===re.gaugeFirstLabelId||e.id===re.gaugeLastLabelId);break}return s})??[]}function T2(a,t){let e=a.axisRanges.length;{let r=a.axisRanges.values.findIndex(s=>s.id===re.gaugeFirstLabelId);r!==-1&&(e=r)}let i;return a instanceof $t?i=new Jo:a instanceof Ct?i=new Nh:i=new vo,a.axisRanges.insertIndex(e,i),i.label=x2(a,t),i.axisFill.fillOpacity=1,i.axisFill.disabled=!0,i.grid.strokeOpacity=1,i}function P2(a,t){let e=T2(a,!0);C2(e,t,a),e.tick!==void 0&&(e.tick.disabled=!0),e.label!==void 0&&(e.label.inside=!0),e.grid!==void 0&&(e.grid.disabled=!0)}function D2(a,t){let{start:e,end:i}=t,r=ve(a.uid,"config"),s=hg(r),n=e!==null?e:void 0;n=a.data.find(l=>l[re.originalCategoryValue]===e)?.[s]??n;let o=i!==null?i:void 0;if(o!==void 0)for(let l=a.data.length-1;l>=0;l-=1){let h=a.data[l];if(h[re.originalCategoryValue]===i){o=h[s];break}}return{modifiedStart:n,modifiedEnd:o}}function L2(a,t){let{start:e,end:i}=t;if(e!==void 0){let{chart:r}=a?.component??{},s;if(a instanceof Jo&&r instanceof Vt&&ve(r.uid,"isNonAggregatedChart")===!0){let{modifiedStart:n,modifiedEnd:o}=D2(r,t);s={isValidGuide:!0,start:n??e,end:o??i}}else s=Ow(a.axisFill.axis,t);s.isValidGuide&&(a instanceof Jo?(a.category=`${s.start?.toString()}`,a.endCategory=`${s.end?.toString()}`):a instanceof Nh?(a.date=s.start,a.endDate=s.end):(a.value=s.start,a.endValue=s.end))}}function I2(a,t){a.axisFill.above=t??re.guideAbove,a.grid.above=t??re.guideAbove}function k2(a,t){let{axisFill:e,label:i}=a;if(t!==void 0){if(a.id=t.name,a.visible=t.visible!==void 0?t.visible:a.visible,L2(a,t),t.style.type===Rt.SLS?Mf({element:e,fillSymbol:{type:Rt.SFS,color:t.style?.color,outline:t.style},visible:t.visible}):t.style.type===Rt.SFS&&Mf({element:e,fillSymbol:t.style,visible:t.visible}),I2(a,t.above),t.label!==void 0){let s={type:V.Text,visible:t.visible,content:t.label};_2({label:i,labelConfig:s,guideType:t.style.type})}let r=a.component?.chart;r!==void 0&&yu({chart:r,label:i,labelType:Xt.GuideLabel})}else e.disabled=!0,i.disabled=!0}function $2(a,t){let e=en(a,gr.Guides).length,i=t?.length??e;for(let r=e;r<i;r+=1)P2(a,r)}function O2(a){let{axis:t,guides:e,guideTooltipFormatter:i,utilsStrings:r}=a;if(e!==void 0){for(let s=0;s<e.length;s+=1){let n=en(t,gr.Guides)[s];n!==void 0&&k2(n,e[s])}B2({axis:t,guideTooltipFormatter:i,utilsStrings:r})}}function E2(a,t){let e=en(a,gr.Guides).length,i=t?.length??0,r=e-i;F2({axis:a,numberOfElementsToBeDeleted:r,tickOrGuide:gr.Guides})}function M2(a){let{axis:t,guides:e}=a;$2(t,e),O2(a),E2(t,e)}function R2(a){let{axis:t,labels:e,restoreLabelsVisibility:i=!0}=a;(e??t.renderer.labels.values).forEach(r=>{r.x instanceof et?r.x.value:r.x,i&&Ui(r,!0)})}function $1(a){let t=a.renderer.labels.values.filter(e=>gs(e.uid,"isGuide")!==!0&&e.measuredWidth>0).length;return a.pixelWidth/t}function U2(a){let{target:t}=a;if((ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior??tr.Rotate)===tr.Wrap){let e=Number.MAX_SAFE_INTEGER;t.renderer.labels.each(r=>{gs(r.uid,"isGuide")!==!0&&r.measuredWidth>0&&(e=Math.min(e,r.bbox.width))});let i=t instanceof Ct?t.pixelWidth/re.maxNumberOfXAxisLabelsInWrapModeForDateAxis:t.pixelWidth/re.maxNumberOfXAxisLabelsInWrapMode;t.renderer.minGridDistance=Math.max(e+1,i)}}function V2(a){let{axis:t,labelsConfig:e,horizontalAxisLabelsBehavior:i,isSecondValueAxis:r,tickSpacing:s}=a,n=t.renderer.minGridDistance;if(typeof s=="number"&&Number.isFinite(s))n=s;else if(t.renderer instanceof Hl)n=re.gauge.gaugeMinGridDistance;else if(t instanceof Qe)n=t.renderer instanceof ar?re.xAxisMinGridDistance:re.yAxisMinGridDistance;else if(t.renderer instanceof ar)if(r===!0)n=re.secondRotatedValueAxisMinGridDistance;else if(i===void 0||i===tr.Rotate){let o=e.content.font?.size??re.generalFontSize,l=t instanceof $t?re.categoryAxisLabelPadding:re.axisLabelPadding;n=o*l}else if(i===tr.Wrap){let o=ks(U2,re.debounceTime);Ls(t.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:o}),t.events.on(Ie.SizeChanged,o),t.dispatchImmediately(Ie.SizeChanged)}else i===tr.Stagger?n=re.staggerMinGridDistance:n=t instanceof $t?re.xCategoryAxisMinGridDistance:re.xAxisMinGridDistance;else n=t instanceof $t?re.yCategoryAxisMinGridDistance:re.yAxisMinGridDistance;t.renderer.minGridDistance=n}function N2(a){let t=a.renderer.labels.template;wn(t)&&(t.adapter.add("rotation",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.angle??e:e),t.adapter.add("verticalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.verticalCenter??e:e),t.adapter.add("horizontalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.horizontalCenter??e:e),t.adapter.add("dy",(e,i)=>{let r=re.axisLabel.dy??e??0;return i.dataItem?.tick?.length>re.axisTickLength?r=e??0:r=Number(gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.yOffset??r:r),r}))}function Q2(a){let{target:t}=a;if(t.chart!==void 0){let e=ve(t.chart.uid,"config")?.axes?.[0].labels;if((e?.visible??!0)&&e!==void 0&&t.renderer.labels.length>1){let i=0;t.renderer.labels.each(n=>{if(gs(n.uid,"isGuide")!==!0&&n.measuredWidth>0){let o=n.bbox.width;o>i&&(i=o)}});let r=Qs(t.uid,"labelsSymbol")?.angle??0,s=$1(t)>=i+5;if(!s&&r===0||s&&r===re.rotatedAxisLabel.rotation){let n=s?Cv(e.content,t.rtl,re.axisLabel):Cv({type:Rt.TS},t.rtl,re.rotatedAxisLabel);Ls(t.uid,{labelsSymbol:n}),t.renderer.invalidateLabels()}}}}function H2(a,t=1){let{target:e}=a,i=$1(e);Number.isFinite(i)&&(e.renderer.labels.template.maxWidth=Math.min(i*t,e.renderer.minGridDistance))}function j2(a){let{target:t}=a;if(ve(t.chart.uid,"config")?.axes?.[0].labels?.visible!==!1){let e=0;t.dataItems.each(i=>{let{label:r,itemIndex:s}=i;gs(r.uid,"isGuide")!==!0&&r.currentText!==void 0&&r.measuredWidth>0&&s%2===0&&r.bbox.height>e&&(e=r.bbox.height)}),t.dataItems.each(i=>{let{tick:r,label:s,itemIndex:n}=i;if(gs(s.uid,"isGuide")!==!0&&s.currentText!==void 0&&s.measuredWidth>0){let o=n%2===1;r.length=o?e+5:re.axisTickLength,r.dataItem.label.dy=re.axisLabel.dy+(o?e:0)}}),e!==void 0&&(t.renderer.labels.template.paddingBottom=e+5),t.validate()}}function W2(a){let{chart:t}=a;a.renderer.labels.template.paddingLeft=Number.NaN,a.renderer.labels.template.paddingRight=Number.NaN;let e=Qs(a.uid,"debouncedAxisLabelRotationCallback");if(e!==void 0&&(a.events.off(Ie.Validated,e),Ls(a.uid,{debouncedAxisLabelRotationCallback:void 0})),t!==void 0){let i=ve(t.uid,"config")?.axes?.[0].labels;if(i!==void 0){let r=Cv(i.content,t.rtl,re.axisLabel),s=a.renderer.labels.template;s.rotation=r.angle,s.verticalCenter=r.verticalCenter,s.horizontalCenter=r.horizontalCenter,Number.isFinite(r.yOffset)&&(s.dy=r.yOffset)}Ls(a.uid,{labelsSymbol:void 0})}}function O1(a){a.renderer.labels.template.wrap=!1,a.renderer.labels.template.textAlign="start"}function X2(a){O1(a),a.renderer.labels.template.paddingLeft=Number.NaN,a.renderer.labels.template.paddingRight=Number.NaN;let t=Qs(a.uid,"debouncedAxisLabelWrapCallback");t!==void 0&&(a.events.off(Ie.DataRangeChanged,t),Ls(a.uid,{debouncedAxisLabelWrapCallback:void 0}))}function z2(a){O1(a);let t=Qs(a.uid,"debouncedUpdateMinGridDistanceForWrapBehavior");t!==void 0&&(a.events.off(Ie.SizeChanged,t),Ls(a.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:void 0}))}function G2(a){let t=Qs(a.uid,"debouncedAxisLabelStaggerCallback");t!==void 0&&(a.events.off(Ie.DataRangeChanged,t),Ls(a.uid,{debouncedAxisLabelStaggerCallback:void 0})),a.renderer.ticks.each(e=>{e.length=re.axisTickLength,e.dataItem?.label&&(e.dataItem.label.dy=re.axisLabel.dy??0)})}function Y2(a){W2(a),X2(a),G2(a)}function iI(a){N2(a),a.renderer.labels.template.paddingLeft=0,a.renderer.labels.template.paddingRight=0,a.renderer.labels.template.maxWidth=Number.NaN;let t=ks(Q2,re.debounceTime,{leading:!0});Ls(a.uid,{debouncedAxisLabelRotationCallback:t}),a.events.on(Ie.Validated,t),a.dispatchImmediately(Ie.Validated)}function rI(a,t=1){a.renderer.labels.template.wrap=!0,a.renderer.labels.template.paddingLeft=.5,a.renderer.labels.template.paddingRight=.5,a.renderer.labels.template.textAlign="middle";let e=ks(i=>H2(i,t),re.debounceTime);Ls(a.uid,{debouncedAxisLabelWrapCallback:e}),a.events.on(Ie.DataRangeChanged,e)}function K2(a){a.renderer.labels.template.maxWidth=re.yAxisLabelMaxWidth,a.renderer.labels.template.wrap=!0,a.renderer.labels.template.textAlign="end"}function Z2(a){let t=ks(j2,re.debounceTime);Ls(a.uid,{debouncedAxisLabelStaggerCallback:t}),a.events.on(Ie.DataRangeChanged,t)}function q2(a){let{axis:t,horizontalAxisLabelsBehavior:e,verticalAxisLabelsBehavior:i,labelsConfig:r,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}=a;if(t.renderer instanceof ar&&s?.[0]!==!1){if(Y2(t),n!==!0)switch(e){case tr.Hide:break;case tr.Stagger:Z2(t),rI(t,1.5);break;case tr.Wrap:rI(t);break;case tr.Rotate:iI(t);break;default:r.content.angle!==null&&r.content.angle===void 0&&iI(t);break}}else t.renderer instanceof Cr&&(i!==tr.Hide?K2(t):z2(t))}function J2(a){let{axis:t,axisConfig:e,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}=a,o=t.renderer.labels.template;o.axis=t;let{labels:l}=e,h=t.renderer instanceof ar&&o.rotation===re.rotatedAxisLabel.rotation,u=l,c;h?(u.content.angle=void 0,u.content.horizontalAlignment=void 0,u.content.verticalAlignment=void 0,u.content.yoffset=void 0,c=re.rotatedAxisLabel):t.renderer instanceof ar&&(i===tr.Stagger||i===tr.Wrap)&&(c={wrap:!0,dy:re.axisLabel.dy}),t.renderer instanceof Cr&&r!==tr.Hide&&(c={wrap:!0}),_n({label:o,labelConfig:u,defaults:c}),t.renderer.labels.template.paddingTop=t.renderer instanceof ar?0:re.axisLabel.dy,o.align="none",o.valign="none",q2({axis:t,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelsConfig:l,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}),o.axis.invalidateLabels()}function Ew(a){return(a??ex())===Oi.Side}function E1(a,t){let e,i,r=nw(a,"bullets"),s=nw(a,"columns"),n=Ew(t);return n&&r!==void 0?(e=r,i=s):n||(e=s,i=r),{labelToRender:e,labelToHide:i}}function ej(a,t=!0){a.hideOversized=t}function tj(a,t){let e,i,r=ml(re.dataLabelInitialize);gu(r.uid,{isDataLabel:!0}),a.bullets.push(r);let s=ml(re.dataLabelInitialize,a.columns.template);return gu(s.uid,{isDataLabel:!0}),ow(s,a),ow(r,a),a.events.on(Ie.Validated,ks(()=>{Ef(s)&&s.clones.each(n=>{Ef(n)&&n.validate()})},re.debounceTime)),s.html="{valueX}",r.html="{valueX}",u1(r),Ew(t)?(e=r,i=s):(e=s,i=r),o1(V.BarSeries,r),l1(V.BarSeries,e),{newLabelToRender:e,newLabelToHide:i}}function ij(a){let{series:t,stackedType:e,isRotated:i,hideOversizedStackedLabels:r,hideOversizedSideBySideLabels:s}=a,{labelToRender:n,labelToHide:o}=E1(t,e);if(n===void 0){let{newLabelToRender:u,newLabelToHide:c}=tj(t,e);n=u,o=c}let l=re.dataLabel,h=!0;Ew(e)?(l=i===!0?re.dataLabelRotated:re.dataLabel,h=s===!0):(l=i===!0?re.dataLabelStackedRotated:re.dataLabelStackedNonRotated,h=r!==!1),ej(n,h),o!==void 0&&(o.visible=!1,o.disabled=!0),n.html="{valueX}",c1({...a,dataLabel:n,labelDefaults:l,defaultDataLabelFormatter:h1})}function rj(a){let t=a.tooltip;t!==void 0&&!(a instanceof Ct)&&(t.label.adapter.add("html",(e,i)=>{let r=e??"";return a instanceof Qe?r=YI(a,i.properties?.text??e??""):a instanceof $t&&(r=KI({axis:a,defaultOutput:e??"",dataItem:t.dataItem})),Er(r)}),t.label.html=re.htmlEmptyContent)}function sj(a){let t=a.title,e=98;if(a.renderer instanceof Cr)t.adapter.add("y",i=>{let r=t.parent?.measuredHeight??0;return r>0?r/2:i},e);else if(a.renderer instanceof ar)if(a.renderer.opposite){let i=a.title;i.adapter.add("rotation",()=>0,e),i.adapter.add("y",()=>{let r=i.measuredHeight;return r>0?r/2:0},e)}else t.adapter.add("x",i=>{let r=t.parent?.measuredWidth??0;return r>0?r/2:i},e)}function lw(a){let{axis:t,start:e,end:i}=a;t.zoom({start:e??0,end:i??1})}function sI(a){a!==void 0&&(a.start=0,a.end=1)}function Nv(a){a!==void 0&&(a.xAxes!==void 0&&a.xAxes.each(t=>lw({axis:t})),a.yAxes!==void 0&&a.yAxes.each(t=>lw({axis:t})),sI(a.scrollbarX),sI(a.scrollbarY),Ui(a.zoomOutButton,!1))}function zf(a,t){return a instanceof ar&&t!==!0||a instanceof Cr&&t===!0}function aj(a){wn(a.labels.template)&&(a.labels.template.events.on(Ie.Over,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??1)*e}),a.labels.template.events.on(Ie.Out,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??.5)/e}))}function nj(a){let{axis:t,valueFormat:e,axisRenderer:i,queryObject:r,errorStrings:s}=a;i.grid.template.applyOnClones=!0,i.ticks.template.applyOnClones=!0,i.labels.template.applyOnClones=!0,i.hoverable=!0,i.line.strokeOpacity=1,i.grid.template.strokeOpacity=1,i.ticks.template.strokeOpacity=1,Ov(i.labels.template,re.axisLabel),i.ticks.template.disabled=!1,i.labels.template.disabled=!0,rj(t),dd(e)&&(aj(i),v2({axis:t,queryObject:r,errorStrings:s})),Fv(t.chart,t.title),Vf({chart:t.chart,label:t.title,labelType:t.renderer instanceof ar?Xt.XAxisTitle:Xt.YAxisTitle}),sj(t),t.renderer instanceof ar&&(t.events.on(Ie.SizeChanged,ks(()=>{yu({chart:t.chart,label:t.title,labelType:Xt.XAxisTitle})},re.debounceTime)),t.events.on(Ie.Validated,ks(()=>{R2({axis:t,restoreLabelsVisibility:!0})},re.debounceTime)))}function oj(a){let t=a.target,e=ve(t.chart.uid,"isRotated"),i=[];if(t instanceof Qe){if(t.renderer instanceof Hl)i.push({isXAxis:!0,minimum:t.min,maximum:t.max});else if(t.renderer instanceof(e!==!0?Cr:ar)){t.maxZoomFactor=1;let r=a.target,s=r.chart,n=e!==!0?s.xAxes.getIndex(0):s.yAxes.getIndex(0),o=s.yAxes.getIndex(1)??s.xAxes.getIndex(1);i=[{isXAxis:!1,minimum:r.min,maximum:r.max},{isXAxis:!0,minimum:n instanceof Qe?n.min:void 0,maximum:n instanceof Qe?n.max:void 0}],o instanceof Qe&&i.push({isXAxis:!1,isSecondValueAxis:!0,minimum:o.min,maximum:o.max})}i.length>0&&i.every(r=>!Number.isNaN(r.minimum)&&!Number.isNaN(r.maximum))&&ux(i,t.chart.htmlContainer)}}function lj(a){a.events.on(Ie.Validated,ks(oj,re.debounceTime))}function hj(a){let{axis:t,isNonAggregatedChart:e}=a,i,r,s,n=t.dataItems.values,o=t.axisRanges.values;if(t instanceof $t)for(let l=0;l<o.length;l+=1){i=!1,r=!1,s=!1;let h=o[l],{category:u,endCategory:c,axisFill:d,grid:A,label:p}=h;if(h instanceof Jo&&h.visible)for(let f=0;f<n.length;f+=1){let m;e===!0?m=no({value:n[f].category,dataContext:n[f].dataContext}):m=n[f].category.toString(),u===m&&(r=!0),c===m&&(s=!0)}r&&s&&(i=!0),Ui(d,i),Ui(A,i),Ui(p,i)}}function aI(a){let{axis:t,axisMinimum:e,axisMaximum:i}=a,r;if(t instanceof Qe&&i!==void 0&&e!==void 0){let s=t.axisRanges.values,n=ve(t.chart.uid,"config"),o=ve(t.chart.uid,"isRotated"),l=zf(t.renderer,o)?0:1,h=n?.axes?.[l]?.guides;for(let u=0;u<s.length;u+=1){let c=s[u],{value:d,endValue:A,axisFill:p,grid:f,label:m}=c;if(gs(m?.uid,"isGuide")===!0){if(r=c.visible,r&&c instanceof vo){let{start:g,end:y}=Ow(t,h?.[u]),x=Math.min(d,A,g??d,y??A),w=Math.max(d,A,g??d,y??A);x<e&&w<e||x>i&&w>i?r=!1:(c.value=x<e?e:x,c.endValue=w>i?i:w)}Ui(p,r),Ui(f,r),Ui(m,r)}}}}function uj(a){a instanceof Qe?(a.adapter.add("min",t=>(aI({axis:a,axisMinimum:t,axisMaximum:a.max}),t)),a.adapter.add("max",t=>(aI({axis:a,axisMinimum:a.min,axisMaximum:t}),t))):a instanceof $t&&a.events.on(Ie.Validated,()=>{let t=ve(a.chart.uid,"isNonAggregatedChart");hj({axis:a,isNonAggregatedChart:t})})}function Of(a){let{axes:t,isSecondValueAxis:e=!1,isXAxis:i,valueFormat:r,chartType:s,queryObject:n,errorStrings:o}=a,l;if(qm({isXAxis:i,chartType:s,valueFormat:r})&&!e)l=t.push(new $t);else if(ro(r))l=t.push(new Ct);else if(ba(r)){l=t.push(new Qe);let h=ve(l.chart.uid,"formatLocale");l.numberFormatter=fl({type:V.NumberAxisFormat,iLocale:l.chart.language.locale,formatLocale:h}),l.numberFormatter.numberFormat="#",e?(l.renderer.opposite=!0,l.renderer.grid.template.disabled=!0):lj(l)}l!==void 0&&(aQ(l),nj({axis:l,valueFormat:r,axisRenderer:l.renderer,queryObject:n,errorStrings:o}),uj(l))}function M1(a){let{chart:t,axesConfig:e,isRotated:i,chartType:r,queryObject:s,errorStrings:n}=a;ai(t.uid,{isRotated:i===!0});let o=i===!0?e?.[1]:e?.[0],l=i===!0?e?.[0]:e?.[1],h=o?.valueFormat,u=l?.valueFormat;h!==void 0&&u!==void 0&&(t.xAxes.clear(),t.yAxes.clear(),Of({chartType:r,isXAxis:i!==!0,axes:t.xAxes,valueFormat:h,queryObject:s,errorStrings:n}),Of({chartType:r,isXAxis:i===!0,axes:t.yAxes,valueFormat:u,queryObject:s,errorStrings:n}),e?.[2]!==void 0&&Of({chartType:r,isXAxis:i===!0,axes:i===!0?t.xAxes:t.yAxes,valueFormat:e[2].valueFormat,isSecondValueAxis:!0,queryObject:s,errorStrings:n}))}function cj(a){let{axis:t,isLogarithmic:e,axisConfigIndex:i}=a,r=ve(t.chart.uid,"config"),s=e===!0&&Ag({chartConfig:r,chartData:t.chart.data,axisConfigIndex:i});(t instanceof Ct||t instanceof Qe)&&(t.logarithmic=s,t.treatZeroAs=s?re.treatZeroValueAs:0)}function dj(a,t){let{minimum:e,maximum:i,isLogarithmic:r}=t??{},{buffer:s}=t??{};return s??=re.buffer,a instanceof Qe&&!(a instanceof Ct)&&!s&&(r!==!0||i!=null||e!=null)}function Aj(a,t){let e=!1;return a instanceof Qe&&!(a instanceof Ct)&&(e=dj(a,t),a.strictMinMax=e),e}function pj(a){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=a,s=e?.minimum,n=e?.maximum,o=e?.isLogarithmic??!1,l=s,h=n,{chart:u}=t,c=ve(u.uid,"isRotated"),d=ve(u.uid,"config"),A=0;if(u instanceof Vt&&d!==void 0){let p=$s(d),f=zf(t.renderer,c),m=$Q(u),g=dg({chartConfig:d,isSecondValueAxis:r,seriesIds:m}),y=Px({chartConfig:d,chartData:u.data,filteredSeriesIds:g});if(p===Oi.Stacked100)l=Number.NaN,h=Number.NaN;else{let{minX:x,maxX:w,minY:S,maxY:T}=y,[F,L]=f?[x??Number.NaN,w??Number.NaN]:[S,T];A=F,i===V.BarSeries||i===V.ComboLineAndBarSeries||i===V.LineSeries&&p===Oi.Stacked&&!f?(l=Math.min(F,0),h=Math.max(L,0)):(l=F,h=L)}l=s??l,h=n??h}return o&&l!==void 0&&l!==null&&l<=0&&(l=cQ(A)),{min:l,max:h}}function R1(a){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=a,{minimum:s,maximum:n,isLogarithmic:o}=e??{};if(t instanceof Qe||t instanceof Ct)if(Aj(t,e)){let l=s,h=n;if(ZI({minimumFromConfig:s,maximumFromConfig:n,isLogarithmic:o})){let u=pj({axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r});l=u.min,h=u.max}l=l??Number.NaN,h=h??Number.NaN,Number.isNaN(l)||Number.isNaN(h)||l<h?(t.min=l,t.max=h):(t.min=Number.NaN,t.max=Number.NaN),i===V.GaugeSeries&&t.validate()}else t.min=Number.NaN,t.max=Number.NaN}function fj(a){let{axis:t,timeIntervalInfo:e,dateBaseInterval:i}=a;if(t instanceof Ct){let{size:r,unit:s}=e??{};if(s||({size:r,unit:s}=i??{}),r&&s!==void 0){let n;switch(s){case er.Second:n="second";break;case er.Minute:n="minute";break;case er.Hour:n="hour";break;case er.Day:n="day";break;case er.Week:n="week";break;case er.Month:n="month";break;case er.Year:n="year";break}n!==void 0&&(t.baseInterval={timeUnit:n,count:r})}}}function mj(a,t){a instanceof Qe&&(a.renderer.baseGrid.disabled=t!==!0)}function gj(a,t){a.cursorTooltipEnabled=t===!0}function yj(a,t){let e=a.renderer instanceof ar;a.events.once(Ie.Validated,()=>{let i=a.renderer instanceof Cr?re.yAxisTitleLabel:re.xAxisTitleLabel;e&&(i={...i,dy:i.dy??0}),_n({label:a.title,labelConfig:t,defaults:i}),yu({chart:a.chart,label:a.title,labelType:a.renderer instanceof ar?Xt.XAxisTitle:Xt.YAxisTitle})})}function vj(a,t){let e=!0;return t===V.BoxPlotSeries&&(e=a instanceof wr),e}function U1(a){let t=ks(()=>{let{chart:e}=a,i=ve(e.uid,"config");if(e!==void 0&&i!==void 0){let r=ze(i?.series);if(vj(a,r)){let s=ve(e.uid,"isRotated"),n=$s(i);n===Oi.Stacked100&&!a.visible&&Ui(a,!1);let o=e.xAxes.getIndex(0),l=e.yAxes.getIndex(0),h=e.yAxes.getIndex(1),u=s===!0?1:0,c=i.axes?.[u],d=s===!0?0:1,A=i.axes?.[d],p=i.axes?.[2];[{axis:o,axisConfig:c,updateLabels:!1},{axis:l,axisConfig:A,updateLabels:!0},{axis:h,axisConfig:p,updateLabels:!0,isSecondValueAxis:!0}].forEach(f=>{let{axis:m,axisConfig:g,updateLabels:y,isSecondValueAxis:x}=f;m!==void 0&&(R1({axis:m,chartType:r,axisConfig:g,isSecondValueAxis:x}),y!==void 0&&m.events.once(Ie.Validated,()=>{let{labelToRender:w}=E1(a,n);w&&(w.html=s===!0?"{valueX}":"{valueY}")}))})}}},re.debounceTime);a.events.once(Ie.Validated,t)}function bj(a,t){if(a instanceof Qe){let{integerOnlyValues:e,valueFormat:i}=t,r=Lx(i)?i.intlOptions.maximumFractionDigits:void 0;a.maxPrecision=e===!0||r===0?0:Number.NaN}}function bv(a){let{axis:t,axisConfig:e,axisConfigIndex:i,timeIntervalInfo:r,chartType:s,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,guideTooltipFormatter:h,stackedType:u,axisValueFormatter:c,isSecondValueAxis:d,isRotated:A,isTimeOnlyField:p,setTimeZone:f,outTimeZone:m,utilsStrings:g,errorStrings:y}=a,{visible:x,isLogarithmic:w,title:S,grid:T,lineSymbol:F,labels:L,guides:$,valueFormat:I,displayZeroLine:U,displayCursorTooltip:P,tickSpacing:Q,dateBaseInterval:Y}=e;fj({axis:t,timeIntervalInfo:r,dateBaseInterval:Y}),Nc({element:t.renderer.grid.template,lineSymbol:T,visible:x}),Nc({element:t.renderer.line,lineSymbol:{color:[...re.color],...F??ZA()},visible:x}),Nc({element:t.renderer.ticks.template,lineSymbol:F,visible:x}),J2({axis:t,axisConfig:e,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,isSecondValueAxis:d}),bj(t,e),V2({axis:t,labelsConfig:L,horizontalAxisLabelsBehavior:n,isSecondValueAxis:d,tickSpacing:Q}),uQ({axis:t,isXAxis:zf(t.renderer,A),chartType:s,labelsTextSymbol:e.labels.content,formatOptions:I,overridePercentMultiplication:u===Oi.Stacked100,axisValueFormatter:c,isTimeOnlyField:p,setTimeZone:f,outTimeZone:m,errorStrings:y}),R1({axis:t,axisConfig:e,chartType:s,isSecondValueAxis:d}),cj({axis:t,isLogarithmic:w,axisConfigIndex:i}),yj(t,S),gj(t,P),d!==!0&&(M2({axis:t,guides:$,guideTooltipFormatter:h,utilsStrings:g}),mj(t,U))}function xj(a){let{chart:t,rotationChanged:e,isRotated:i,dualAxisChanged:r,timeIntervalInfoWasReset:s,timeIntervalInfo:n,guideTooltipFormatter:o,xAxisLabelFormatter:l,yAxisLabelFormatter:h,secondaryYAxisLabelFormatter:u,options:c,utilsStrings:d,errorStrings:A,queryObject:p}=a,{axisLabelsBehaviorChanged:f}=a,m=ve(t.uid,"config"),g=m.axes,{horizontalAxisLabelsBehavior:y,verticalAxisLabelsBehavior:x}=m,w=ze(m.series),S=$s(m),T=ve(t.uid,"fieldList")?.some(de=>de.name===m.series[0].x&&de.type===YA.TimeOnly)??!1,F=tp({chartConfig:m,queryObject:p,options:c}),L=_h(m.series[0])?m.series[0].temporalBinning?.outTimeZone:void 0,$=i===!0?1:0,I=i===!0?0:1,U=g?.[$],P=g?.[I],Q=t.xAxes.getIndex(0);V1({chart:t,dualAxisChanged:r,rotationChanged:e,timeIntervalInfoWasReset:s,axisLabelsBehaviorChanged:f})&&(M1({chart:t,axesConfig:g,isRotated:i,chartType:w,queryObject:p,errorStrings:A}),f=[!0,!0]),Q=t.xAxes.getIndex(0);let Y=t.yAxes.getIndex(0),G=t.xAxes.getIndex(1)??t.yAxes.getIndex(1),ee=Q?.start,te=Q?.end,le=Y?.start,z=Y?.end,K=G?.start,we=G?.end,se={timeIntervalInfo:n,chartType:w,horizontalAxisLabelsBehavior:y,verticalAxisLabelsBehavior:x,axisLabelsBehaviorChanged:f,guideTooltipFormatter:o,stackedType:S,isRotated:i,setTimeZone:F,outTimeZone:L,utilsStrings:d,errorStrings:A};Q!==void 0&&U!==void 0&&bv({...se,axis:Q,axisConfig:U,axisConfigIndex:$,axisValueFormatter:$===0?l:h,isTimeOnlyField:T}),Y!==void 0&&P!==void 0&&bv({...se,axis:Y,axisConfig:P,axisConfigIndex:I,axisValueFormatter:I===1?h:l,isTimeOnlyField:T}),G!==void 0&&g?.[2]!==void 0&&bv({...se,axis:G,axisConfig:g[2],axisConfigIndex:2,axisValueFormatter:u,isSecondValueAxis:!0,isTimeOnlyField:T}),e===!0&&[{axis:Q,start:ee,end:te},{axis:Y,start:le,end:z},{axis:G,start:K,end:we}].forEach(de=>{let{axis:$e,start:Ye,end:We}=de;$e!==void 0&&$e.events.once(Ie.Validated,()=>{lw({axis:$e,start:Ye,end:We})})}),Q!==void 0&&Q.ghostLabel.setPropertyValue("disabled",!0),Y!==void 0&&Y.ghostLabel.setPropertyValue("disabled",!0),G!==void 0&&G.ghostLabel.setPropertyValue("disabled",!0)}function V1(a){let{chart:t,dualAxisChanged:e,rotationChanged:i,timeIntervalInfoWasReset:r,axisLabelsBehaviorChanged:s}=a,n=ve(t.uid,"config"),{rotated:o,series:l}=n,h=n.axes,u=ze(l),c=o===!0?1:0,d=o===!0?0:1,A=h?.[c]?.valueFormat,p=h?.[d]?.valueFormat,f=t.xAxes.getIndex(0),m=t.yAxes.getIndex(0),g=f===void 0||i||A!==void 0&&rw({axis:f,valueFormat:A,chartType:u}),y=m===void 0||i||p!==void 0&&rw({axis:m,valueFormat:p,chartType:u});return e===!0||i===!0||r===!0||s?.[0]||s?.[1]||g||y}function _j(a){M1(a)}function Cj(a){let{chart:t,chartConfig:e,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:s,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:u,yAxisLabelFormatter:c,secondaryYAxisLabelFormatter:d,options:A,utilsStrings:p,errorStrings:f,queryObject:m}=a,g=$s(e);xj({chart:t,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:s,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:u,yAxisLabelFormatter:c,secondaryYAxisLabelFormatter:d,options:A,utilsStrings:p,errorStrings:f,queryObject:m});let y=s===!0?t.yAxes.getIndex(0):t.xAxes.getIndex(0);if(y!==void 0){y instanceof $t&&(y.dataFields.category=hg(e));let S=y.renderer,T=S.grid.template;T.location=0,S.cellStartLocation=.1,S.cellEndLocation=.9;let F=e.orderOptions?.data&&"orderBy"in e.orderOptions.data&&e.orderOptions.data.orderBy===GA.Descending,L=s===!0;F&&y instanceof Ct&&(L=!L),S.inversed=L}let x=s===!0?t.xAxes.getIndex(0):t.yAxes.getIndex(0),w=s===!0?t.xAxes.getIndex(1):t.yAxes.getIndex(1);g===Oi.Stacked100?(x instanceof Qe&&(x.calculateTotals=!0),w instanceof Qe&&(w.calculateTotals=!0)):(x instanceof Qe&&(x.calculateTotals=!1),w instanceof Qe&&(w.calculateTotals=!1))}function Nf(a){let{value:t,axisMin:e,axisMax:i}=a,r=Number.NaN,s=i-e;return s!==0&&(r=(t-e)/s),r}function hw(a){return a!=null&&a!==0}function N1(a){let{minimum:t,maximum:e,labelsIncrement:i,minimumValueConversion:r,maximumValueConversion:s}=a,n=t??pt.gauge.axisMinimum,o=e??pt.gauge.axisMaximum;n=fx(n,r),o=fx(o,s);let l=hw(i),h=hw(i)?i:Math.abs(o-n)/pt.gauge.numberOfLabelIntervals,u=l?Math.round(Math.abs(o-n)/h):pt.gauge.numberOfLabelIntervals;if(l)if(u>pt.gauge.maximumNumberOfLabelIntervals)h=Math.abs(o-n),u=1;else{let c=n+u*h;c<o?(u+=1,o=n+u*h):c>o&&(o=c)}return{min:n,max:o,labelsIncrement:h,numberOfIntervals:u}}function Q1(a){let{axisConfig:t,axisMin:e,axisMax:i}=a;typeof e=="number"&&typeof i=="number"&&i-e!==0&&t.guides?.forEach(r=>{let{start:s,end:n}=r;typeof s=="number"&&(r.start=Nf({value:s,axisMin:e,axisMax:i})),typeof n=="number"&&(r.end=Nf({value:n,axisMin:e,axisMax:i}))})}function wj(a){let{featureIndex:t,chartData:e,chartConfig:i}=a,{minimumFromField:r,maximumFromField:s}=i?.axes?.[0]??{},n,o;if(t>=0&&t<e.length){let l=e[t];typeof r=="string"&&!zi(r)&&Number.isFinite(l[r])&&(n=l[r]),typeof s=="string"&&!zi(s)&&Number.isFinite(l[s])&&(o=l[s])}return{minimumFromData:n,maximumFromData:o}}function Bj(a){let{featureIndex:t,chartData:e,x:i}=a,r=Number.NaN;if(t>=0&&t<e.length){let s=e[t];i!==void 0&&!zi(i)&&Number.isFinite(s[i])&&(r=s[i])}return r}function Mw(a){let{featureIndex:t=0,chartData:e,queryConfig:i,chartConfig:r,gaugeMinMaxFromData:s}=a,{axes:n,series:o}=r,l=ju(r),{minimum:h,maximum:u}=n?.[0]??{},{x:c}=o?.[0]??{},d=pt.gauge,A,p;l?{minimumFromData:A,maximumFromData:p}=wj({featureIndex:t,chartData:e,chartConfig:r}):i!==void 0&&({minimumFromData:A,maximumFromData:p}=s);let f=A??h??d.axisMinimum,m=p??u??d.axisMaximum,g=Bj({chartData:e,featureIndex:t,x:c});return{minimum:f,maximum:m,dataValue:g}}function Sj(a){let{oldConfig:t,axisMax:e,min:i,max:r,labelsIncrement:s,numberOfIntervals:n,valueFormat:o,minimumFromField:l}=a,h=Ru(o),u=!0;if(t!==void 0){let{minimum:c,minimumFromField:d,labelsIncrement:A,valueFormat:p}=t.axes[0],f=p?.intlOptions?.style!==o?.intlOptions?.style,m=hw(A)?A!==s:n!==pt.gauge.numberOfLabelIntervals;u=f||i!==c||l!==d||!h&&r!==e||m}return u}var Ds={InnerLabel:0,InnerLabelSecondary:1,AxisLabels:2,FirstAndLastLabels:3};function fu(a,t){let e;switch(t){case Ds.InnerLabel:e="gaugeAutoResizeInnerLabelFirstDisposer";break;case Ds.InnerLabelSecondary:e="gaugeAutoResizeInnerLabelSecondDisposer";break;case Ds.AxisLabels:e="gaugeAutoResizeAxisLabelsDisposer";break;case Ds.FirstAndLastLabels:e="gaugeAutoResizeFirstAndLastLabelsDisposer";break}if(e!==void 0){let i=ve(a.uid,e);i!==void 0&&(i.dispose(),i=void 0,ai(a.uid,{[e]:void 0}))}}function Fj(a){let{chart:t,labelList:e,scaleToAdjust:i,fontSize:r,type:s,axisConfig:n}=a,o=Number.NaN,l=Number.NaN,h=i;if(s===Ds.InnerLabel){let c=e[0],d=n?.innerLabel?.content?.verticalAlignment??"middle",A=c.dy??0,p=Math.round(t.chartContainer.measuredHeight-t.radarContainer.pixelY-A),f=c.bbox.height*i,m=0;switch(d){case"bottom":m=f;break;case"top":m=-f;break;case"middle":case"baseline":m=f*.5;break}m>p&&(h=i*(p/m)),o=re.gauge.innerLabelAutoMinFontSize,l=re.gauge.innerLabelAutoMaxFontSize}else o=re.gauge.axisLabelAutoMinFontSize,l=re.gauge.axisLabelAutoMaxFontSize;let u=r*h;return u<o?h*=o/u:u>l&&(h*=l/u),h}function Rw(a){let{chart:t,type:e,labelList:i,currentScale:r,currentFontSize:s,axisConfig:n}=a,o=Number.NaN,l=Number.NaN;if(e===Ds.InnerLabel){let h=typeof t.innerRadius=="number"?t.innerRadius:t.innerRadius.value;l=(t.xAxes.getIndex(0)?.measuredWidth!==0?t.xAxes.getIndex(0)?.measuredWidth??1:1)*h}else l=t.xAxes.getIndex(0)?.measuredHeight??1;if(l>1){let h=e===Ds.InnerLabel?i[0]?.measuredWidth??0:i.find(u=>u.measuredWidth>0&&u.measuredHeight>0)?.measuredHeight??0;if(h>0){let u=h/l;if(u>0){let{axisLabelToInnerChartRatio:c,innerLabelToInnerChartRatio:d}=re.gauge,A=e===Ds.InnerLabel?d:c;o=r*(A/u),o=Fj({chart:t,labelList:i,axisConfig:n,scaleToAdjust:o,fontSize:s,type:e}),o=Number(o.toFixed(2))}}}return Number.isFinite(o)||(o=r),o}function Tj(a){return a?.labels.content.font?.size===void 0||a?.innerLabel?.visible!==!1&&a?.innerLabel?.content?.font?.size===void 0}function Qv(a){return a.some(t=>lp(t)&&t.value!==void 0)}function Pj(a){let{chart:t,axisConfig:e,axis:i}=a;if(e.labels.content.font?.size===void 0&&e.onlyShowFirstAndLastLabels!==!0){fu(t,Ds.AxisLabels),fu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{let n=en(i,gr.GaugeTicksWithLabels);if(Qv(n)){let o=n.map(d=>d.label),l=o[0].scale,h=o[0].fontSize,u=Rw({chart:t,type:Ds.AxisLabels,labelList:o,currentScale:l,currentFontSize:h,axisConfig:e}),c=u/l;Number.isFinite(u)&&u>0&&(c<=.98||c>1.02)&&o.forEach(d=>{d.scale=u})}}),i.validate()};t.events.once(Ie.Validated,r);let s=t.events.on(Ie.SizeChanged,r);ai(t.uid,{gaugeAutoResizeAxisLabelsDisposer:s}),r()}else{fu(t,Ds.AxisLabels);let r=en(i,gr.GaugeTicksWithLabels);r.length>0&&r.map(s=>s.label).forEach(s=>{s.scale=1})}}function Dj(a,t){let e=ve(a.uid,"config")?.axes?.[0];if(e?.innerLabel?.visible!==!1&&e?.innerLabel?.content?.font?.size===void 0){let i=a.xAxes.getIndex(0)?.measuredWidth;if(i!==void 0&&i>0){let r=Rw({chart:a,type:Ds.InnerLabel,labelList:[t],currentScale:t.scale,currentFontSize:t.fontSize,axisConfig:e});Number.isFinite(r)&&Math.abs(t.scale-r)>.25&&(t.scale=r,t.validate())}}else t.scale=1}function Lj(a,t){fu(a,Ds.InnerLabel),fu(a,Ds.InnerLabelSecondary);let e=a.xAxes.getIndex(0),i=()=>{e?.events.once(Ie.Validated,()=>{Dj(a,t)})},r=a.events.on(Ie.Validated,i),s=a.events.on(Ie.SizeChanged,i);ai(a.uid,{gaugeAutoResizeInnerLabelFirstDisposer:s,gaugeAutoResizeInnerLabelSecondDisposer:r}),i()}function uw(a){return a?.labels.content.font?.size===void 0&&a?.onlyShowFirstAndLastLabels===!0}function Ij(a){let t=a.chart,e=ve(t.uid,"config")?.axes?.[0],i=en(a,gr.GaugeFirstAndLastGuides);if(Qv(i)){let r=i.map(l=>l.label),s=r[0].scale,n=r[0].fontSize,o=Rw({chart:t,type:Ds.FirstAndLastLabels,labelList:r,currentScale:s,currentFontSize:n,axisConfig:e});Number.isFinite(o)&&o>0&&r.forEach(l=>{gu(l.uid,{originalWidth:l.measuredWidth/l.scale,originalHeight:l.measuredHeight/l.scale}),l.scale=o,l.validate()})}}function kj(a){let{chart:t,axisConfig:e,axis:i}=a;if(uw(e)){fu(t,Ds.AxisLabels),fu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{Ij(i)})},s=t.events.on(Ie.SizeChanged,r);ai(t.uid,{gaugeAutoResizeFirstAndLastLabelsDisposer:s}),r()}else fu(t,Ds.FirstAndLastLabels),en(i,gr.GaugeFirstAndLastGuides).map(r=>r.label).forEach(r=>{r.scale=1})}function cw(a,t){let e=a.xAxes.getIndex(0);if(e!==void 0){let i=t??ve(a.uid,"config"),{onlyShowFirstAndLastLabels:r}=i?.axes?.[0]??{};if(!e.renderer.labels.template.visible||r===!0)a.radius=new et(re.gauge.radius);else{let s=en(e,gr.GaugeTicksWithLabels),{furthestLabelX:n,furthestLabelY:o}=s.reduce(({furthestLabelX:l,furthestLabelY:h,furthestPixelX:u,furthestPixelY:c},{label:d})=>{if(d?.visible&&d.bbox.width>0&&d.bbox.height>0){let A=d.pixelX,p=d.bbox.width*d.scale,f=0;A<0?f=Math.abs(A):f=A+p,f>u&&(u=f,l=d);let m=d.pixelY,g=d.bbox.height*d.scale,y=0;m<0?y=Math.abs(m):y=m+g,y>c&&(c=y,h=d)}return{furthestLabelX:l,furthestLabelY:h,furthestPixelX:u,furthestPixelY:c}},{furthestLabelX:void 0,furthestPixelX:0,furthestLabelY:void 0,furthestPixelY:0});if(n!==void 0&&o!==void 0){let l=(n.bbox.width+5)*n.scale,h=(o.bbox.height+5)*o.scale,u=typeof e.renderer.labels.template.radius=="number"?e.renderer.labels.template.radius:e.renderer.labels.template.radius.value,c=(l+u)*2+a.radarContainer.measuredWidth+gv(a.paddingLeft)+gv(a.paddingRight),d=80,A=170,p=a.htmlContainer?.clientHeight??0,f=Math.max(0,Math.min(1,(p-d)/(A-d))),m=a.radarContainer.measuredHeight+(h+u*f)*2+gv(a.paddingTop)+gv(a.paddingBottom),g=a.measuredWidth,y=a.measuredHeight,x=g/c,w=y/m,S=(typeof a.radius=="number"?a.radius:a.radius.value)*100,T=Number((S*x).toFixed(2)),F=Number((S*w).toFixed(2)),L=T/S,$=F/S,I=a.radarContainer.measuredWidth*L,U=a.radarContainer.measuredWidth*$,[P,Q]=I<U?[T,L]:[F,$];Number.isFinite(P)&&P>=10&&P<=re.gauge.radius&&(Q<.98||Q>1.02)&&(a.radius=new et(P))}}}}function $j(a){let t=a.xAxes.getIndex(0);t!==void 0&&(t.events.on(Ie.SizeChanged,()=>cw(a)),t.events.on(Ie.Validated,ks(()=>cw(a),re.debounceTime)))}function H1(a){let t=a.hands.push(new eA),e=re.gaugeNeedle,{startWidth:i,endWidth:r,innerRadius:s}=e;t.pin.disabled=!0,t.startWidth=i??Number.NaN,t.endWidth=r??Number.NaN,t.innerRadius=he(s??Number.NaN);let n=a.xAxes.getIndex(0);return n!==void 0&&(t.axis=n),t}function Oj(a){let{x:t,data:e,chart:i,valueFormat:r,minimum:s,maximum:n}=a,o=Number.NaN;if(e!==void 0&&t!==void 0){let l=e.find(u=>t in u),h=Number.parseFloat(l[t]);Number.isFinite(h)&&(o=h,ai(i.uid,{gaugeData:o}))}else{let l=ve(i.uid,"gaugeData");Number.isFinite(l)&&(o=l)}return Ru(r)&&s!==void 0&&n!==void 0&&s!==null&&n!==null&&o!==null&&n-s!==0&&(o=Nf({value:o,axisMin:s,axisMax:n})),o}function Ej(a,t){let e=t??null;if(t!=null){let i=a.xAxes.getIndex(0),r=ve(a.uid,"config"),s=i.min??r?.axes?.[0].minimum??re.gauge.axisMinimum,n=i.max??r?.axes?.[0].maximum??re.gauge.axisMaximum;t<s?e=s:t>n&&(e=n)}return e}function Mj(a){let{chart:t,needle:e,gaugeValue:i}=a,r=t.hands.getIndex(0)??H1(t);if(r!==void 0){Mf({element:r,fillSymbol:e?.symbol});let{startWidth:s,endWidth:n,innerRadius:o}=re.gaugeNeedle;r.value=Ej(t,i),r.pin.disabled=e?.displayPin!==!0,r.visible=e?.visible??!0,r.startWidth=e?.startWidth??s,r.endWidth=e?.endWidth??n,r.innerRadius=he(e?.innerRadius??o)}}function Rj(a){let t=ml(void 0,a.radarContainer);t.isMeasured=!1,gu(t.uid,{isGaugeAxisInnerLabel:!0}),Lj(a,t)}function Uj(a){let{chart:t,innerLabelConfig:e,valueFormat:i,gaugeValue:r,gaugeInnerLabelFormatter:s}=a,n=t.radarContainer.children.values.find(o=>gs(o.uid,"isGaugeAxisInnerLabel")===!0);if(n!==void 0){_n({label:n,labelConfig:e,defaults:re.gaugeInnerLabel});let o=ve(t.uid,"formatLocale");n.html=Kj({valueFormat:i,iLocale:t.language.locale,formatLocale:o,gaugeValue:r,innerLabelConfigContent:e?.content,gaugeInnerLabelFormatter:s}),t.radarContainer.invalidateLabels()}}function Vj(a){let t=a.axisRanges.create();return t.axisFill.fillOpacity=1,t.axisFill.disabled=!0,t.grid.strokeOpacity=1,t.grid.disabled=!1,t.tick.length=re.gaugeTicksLength,t}function Nj(a){let t=new Vn;return t.disabled=!0,t.axis=a,Ov(t),t.padding(10,10,10,10),gu(t.uid,{isGaugeAxisLabel:!0}),t}function Qj(a){let{axis:t,min:e,max:i,labelsIncrement:r,numberOfIntervals:s,valueFormat:n}=a,o=Ru(n),l=1,h=en(t,gr.Ticks);h.length>0&&(l=h[0].label?.scale,h.forEach(d=>{if(lp(d)){let A=t.axisRanges.values.indexOf(d);A>=0&&t.axisRanges.removeIndex(A)}}));let u=re.gauge.numberOfTicksBetweenTwoLabels+1,c=s*u+1;for(let d=0;d<c;d+=1){let A=d===c-1,p=Vj(t),f=A?i:e+d/u*r;p.value=o?Nf({value:f,axisMin:e,axisMax:i}):f,d%u===0&&(p.label=Nj(t),p.label.text=String(f),p.grid.disabled=!0,Number.isFinite(l)&&(p.label.scale=l))}}function Hj(a){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,axisLabelConfigContent:s,axisValueFormatter:n}=a;if(!i){let o=en(e,gr.GaugeTicksWithLabels);if(Qv(o)){let l=ve(t.uid,"formatLocale");o.forEach(h=>{_n({label:h.label,labelConfig:s}),lp(h)&&(h.label.html=j1({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:s?.content,itemLabelValue:h.value,axisValueFormatter:n}))})}}}function jj(a,t){let e=t?.ticks?.visible??!0,i=en(a,gr.Ticks);for(let r=0;r<i.length;r+=1){let s=i[r];Ui(s.tick,e)}}function Wj(a,t){if(a instanceof Qe&&a.chart instanceof Ks){let e=en(a,gr.GaugeTicksWithLabels);if(Qv(e)){let{onlyShowFirstAndLastLabels:i,labels:r}=t,s=(r?.visible??!0)&&i!==!0;e.forEach(n=>{Ui(n.label,s)})}}}function Xj(a){let{labels:t,guides:e,onlyShowFirstAndLastLabels:i}=a,r=e??[];if(i===!0){let s={type:V.Guide,start:Number.NaN,style:{type:"esriSLS"},name:""};r.push({...s,start:a.minimum??Number.NaN,name:re.gaugeFirstLabelId,label:{...t.content,text:`${a.minimum}`}},{...s,start:a.maximum??Number.NaN,name:re.gaugeLastLabelId,label:{...t.content,text:`${a.maximum}`}})}a.guides=r}function zj(a){en(a,gr.GaugeFirstAndLastGuides).forEach(t=>{t.label.adapter.keys().includes("dx")||t.label.adapter.add("dx",e=>{let i=e;if(t.label.measuredWidth>0){let r=ve(a.chart.uid,"config")?.axes?.[0],s=gs(t.label.uid,"originalWidth"),n=uw(r)&&s!==void 0&&s===t.label.measuredWidth&&t.label.scale!==1;i=Math.round((n?s*t.label.scale:t.label.measuredWidth)/2),t.id===re.gaugeLastLabelId&&(i*=-1)}return i}),t.label.adapter.keys().includes("dy")||t.label.adapter.add("dy",e=>{let i=e;if(t.label.measuredHeight>0){let r=ve(a.chart.uid,"config")?.axes?.[0],s=gs(t.label.uid,"originalHeight"),n=uw(r)&&s!==void 0&&s===t.label.measuredHeight&&t.label.scale!==1;i=Math.round((n?s*t.label.scale:t.label.measuredHeight)/2)}return i})})}function Gj(a){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,gaugeLabelConfigContent:s,axisValueFormatter:n}=a;if(i){let o=en(e,gr.GaugeFirstAndLastGuides),l=ve(t.uid,"formatLocale");o.forEach(h=>{h?.label!==void 0&&lp(h)&&(h.label.html=j1({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:s?.content,itemLabelValue:h.value,axisValueFormatter:n}))}),zj(e)}}function Yj(a){let{chart:t,valueFormat:e,queryObject:i,errorStrings:r}=a;t.xAxes.clear(),Of({isXAxis:!0,axes:t.xAxes,valueFormat:e,queryObject:i,errorStrings:r});let s=t.xAxes.getIndex(0);s instanceof Qe&&(s.renderer.labels.template.disabled=!0,s.renderer.ticks.template.disabled=!0,H1(t),Rj(t),$j(t),s.maxZoomFactor=1)}function Kj(a){let{valueFormat:t,iLocale:e,formatLocale:i,innerLabelConfigContent:r,gaugeValue:s,gaugeInnerLabelFormatter:n}=a,o="";if(Number.isFinite(s))if(n!==void 0)o=n(s);else{let l=$o(t),h=fl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${s}`),o=xa({textSymbol:{type:Rt.TS,...r,text:o},format:"html"}),o=Er(o)}return o}function j1(a){let{valueFormat:t,iLocale:e,formatLocale:i,gaugeLabelConfigContent:r,itemLabelValue:s,axisValueFormatter:n}=a,o="";if(Number.isFinite(s))if(n!==void 0)o=n(s);else{let l=$o(t),h=fl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${s}`),o=xa({textSymbol:{type:Rt.TS,...r,text:o},format:"html"}),o=Er(o)}return o}function Zj(a){let{gaugeBands:t}=a,e={base:yF(),target:vF()};return t.type===V.FixedProgressBands&&(e.target=t.bands?.target??e.target,e.base=t.bands?.base??e.base),e}function qj(a){let{axis:t,axisConfig:e,gaugeValue:i}=a,r=e.progressBands;if(r?.type===V.FixedProgressBands&&r.visible!==!1){let s=e.minimum??t.min,n=e.maximum??t.max;if(i!=null&&s!==void 0&&s!==null&&n!==void 0&&n!==null){let o=Math.min(Math.max(i,s),n),l=Zj({gaugeBands:r});e.guides=[{type:V.Guide,start:s,end:o,style:l.target,name:"progressTargetBand"},{type:V.Guide,start:o,end:n,style:l.base,name:"progressBaseBand"}]}}}function Jj(a){let{chart:t,chartConfig:e,data:i,queryObject:r,axisValueFormatter:s,gaugeInnerLabelFormatter:n,utilsStrings:o,errorStrings:l,gaugeMinMaxFromData:h}=a,{axes:u,series:c}=e,d=ju(e),A=ze(e.series),{featureIndex:p,x:f}=c[0],m=u?.[0],g=t.xAxes.getIndex(0),y={...m};if(g!==void 0&&y!==void 0){let{valueFormat:x,needle:w,innerLabel:S,onlyShowFirstAndLastLabels:T}=y;rw({axis:g,valueFormat:x,chartType:A})&&Of({isXAxis:!0,axes:t.xAxes,valueFormat:x,queryObject:r,errorStrings:l});let F=Mw({featureIndex:p,chartData:t.data,chartConfig:e,gaugeMinMaxFromData:h,queryConfig:ve(t.uid,"queryConfig")});y.minimum=F.minimum,y.maximum=F.maximum;let{min:L,max:$,labelsIncrement:I,numberOfIntervals:U}=N1(y);Sj({oldConfig:ve(g.chart.uid,"config"),axisMax:g.max,min:L,max:$,labelsIncrement:I,numberOfIntervals:U,valueFormat:x})&&Qj({axis:g,min:L,max:$,labelsIncrement:I,numberOfIntervals:U,valueFormat:x});let P={...y};Ru(x)?(P.minimum=0,P.maximum=1,Q1({axisConfig:P,axisMin:y.minimum,axisMax:y.maximum})):(P.minimum=L,P.maximum=$);let Q=d?F?.dataValue:Oj({x:f,data:i,chart:t,minimum:y.minimum,maximum:y.maximum,valueFormat:x});qj({axis:g,axisConfig:P,gaugeValue:Q??Number.NaN}),Xj(P),bv({axis:g,axisConfig:P,axisConfigIndex:0,chartType:V.GaugeSeries,axisValueFormatter:s,isTimeOnlyField:!1,setTimeZone:!1,utilsStrings:o,errorStrings:l}),g.renderer.labels.template.disabled||(g.renderer.labels.template.disabled=!0),g.renderer.ticks.template.disabled||(g.renderer.ticks.template.disabled=!0),Pj({chart:g.chart,axis:g,axisConfig:y}),kj({chart:t,axis:g,axisConfig:y}),jj(g,y),Hj({chart:t,axis:g,onlyShowFirstAndLastLabels:T??!1,valueFormat:x,axisLabelConfigContent:y.labels,axisValueFormatter:s}),Gj({chart:t,axis:g,onlyShowFirstAndLastLabels:T??!1,valueFormat:x,gaugeLabelConfigContent:y.labels,axisValueFormatter:s}),Mj({chart:t,needle:w,gaugeValue:Q}),Uj({chart:t,innerLabelConfig:S,valueFormat:x,gaugeValue:Q,gaugeInnerLabelFormatter:n}),Wj(g,y),cw(t,e),t.validateData()}}function eW(a){a.background.fill=bn(re.backgroundColor)}function Hv(a,t){a.background.fill=bn(t??re.backgroundColor)}function tW(a){let t=w1(re.headerContainer,a),e=ml(re.title,t),i=ml(re.subtitle,t);return a instanceof dn&&(Fv(a,e),Fv(a,i),Vf({chart:a,label:e,labelType:Xt.ChartTitle}),Vf({chart:a,label:i,labelType:Xt.ChartSubTitle})),uH(t),{headerContainer:t,title:e,subtitle:i}}function jv(a,t){let{title:e,subtitle:i,headerContainer:r}=a;_n({label:e,labelConfig:t?.title,defaults:re.titleLabel}),_n({label:i,labelConfig:t?.subtitle,defaults:re.titleLabel}),B1(r,e.disabled&&i.disabled),yu({chart:e.parent,label:e,labelType:Xt.ChartTitle}),yu({chart:i.parent,label:i,labelType:Xt.ChartSubTitle})}function iW(a){let t=w1(re.footerContainer,a),e=ml(re.footer,t);return a instanceof dn&&(Fv(a,e),Vf({chart:a,label:e,labelType:Xt.ChartFooter})),{footerContainer:t,footer:e}}function Wv(a,t){let{footer:e,footerContainer:i}=a;_n({label:e,labelConfig:t,defaults:re.footer}),B1(i,e.disabled||t?.content.text===""),yu({chart:e.parent,label:e,labelType:Xt.ChartFooter})}function Uw(a){return a.values.every(t=>t.isReady())}function rW(a){a.events.on(Ie.Ready,()=>{let{chart:t}=a;t&&Uw(a.chart.series)&&(RQ(t),Vu(a.chart.htmlContainer))})}function W1(a){if(a instanceof Vt){let t=new mo,e=new mo;t.disabled=!0,e.disabled=!0,t.marginTop=-10,e.marginRight=0,a.scrollbarX=t,a.scrollbarY=e}}function sW(a,t){let e=t?0:-1;a.thumb.tabindex=e,a.startGrip.tabindex=e,a.endGrip.tabindex=e}function aW(a,t){if(t!==void 0){let e=Qc(t);[a.background,a.startGrip.background,a.endGrip.background,a.thumb.background,a.background.states.getKey("default")?.properties,a.startGrip.background.states.getKey("default")?.properties,a.endGrip.background.states.getKey("default")?.properties,a.thumb.background.states.getKey("default")?.properties,a.startGrip.background.states.getKey("hover")?.properties,a.endGrip.background.states.getKey("hover")?.properties,a.thumb.background.states.getKey("hover")?.properties,a.startGrip.background.states.getKey("down")?.properties,a.endGrip.background.states.getKey("down")?.properties,a.thumb.background.states.getKey("down")?.properties].forEach(i=>{i!==void 0&&(i.fill=e)})}}function nW(a,t){typeof t=="number"&&Number.isFinite(t)&&(a.orientation==="horizontal"?(a.height=t,a.minHeight=t):(a.width=t,a.minWidth=t))}function oW(a,t){if(typeof t=="number"&&Number.isFinite(t)){let e=t/30;a.startGrip.scale=e,a.endGrip.scale=e}}function lW(a,t){typeof t=="number"&&Number.isFinite(t)&&(a.orientation==="horizontal"?a.marginBottom=t:a.marginLeft=t,a.parent?.invalidateLayout())}function X1(a){let{chart:t,scrollbarXConfig:e,scrollbarYConfig:i}=a;if(t instanceof Vt){let r=ve(t.uid,"isRotated");(t.scrollbarX===void 0||t.scrollbarY===void 0)&&W1(t);let{scrollbarX:s,scrollbarY:n}=t;[s,n].forEach(o=>{let l=o.orientation==="horizontal"&&r!==!0||o.orientation==="vertical"&&r===!0?e:i,h=l?.visible!==!0;if(o.disabled=h,sW(o,!h),l!==void 0&&!h){let{width:u,color:c,gripSize:d,margin:A}=l;lW(o,A),aW(o,c),oW(o,d),nW(o,u)}})}}function hW(a,t){a.columns.each(e=>{(e.dataItem?.dataContext)[t]===0&&(e.strokeOpacity=0)})}function uW(a){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:s,colorMatch:n,rendererType:o}=a,l=t.dataFields.valueY??t.dataFields.valueX??e.y,h=new Set,u,c=e.fillSymbol,d={seriesConfig:e,seriesIndex:i,seriesSymbol:c,colorMatch:n,isChartFillSymbol:!0},A={},p={},f=Jb(i);return t.columns.length===0?A=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:c??f,element:new Ee,colorMatch:n,isChartFillSymbol:!0}):(t.columns.each(m=>{let g=m.dataItem?.dataContext;if(Number.isFinite(g?.[l])){let y=on({dataItem:g,seriesConfig:e,chartSubType:s,colorMatch:n,rendererType:o}),x=g[re.xAxisField]===re.nullValue,w=(x&&e.nullCategory?.symbol!==void 0?e.nullCategory.symbol:c)??f;A=pu({...d,seriesSymbol:w,element:m,rendererSymbol:y}),yA({element:m,stylingInfo:A.stylingInfo}),x||(h.add(JSON.stringify(A.symbolWithColorInfo)),p=A)}}),r>1&&A.symbolWithColorInfo&&pu({...d,seriesSymbol:A.symbolWithColorInfo,element:t.columns.template})),h.size<=1&&(u=p.symbolWithColorInfo??c),hW(t,l),u}function cW(a){let{series:t,seriesSymbolMapForEvent:e,seriesIndexMapper:i,seriesIndex:r,colorMatch:s,rendererType:n}=a,o=a.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,u=It(l?.series),c=uW({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:h,chartSubType:u,colorMatch:s,rendererType:n});e.set(i.get(o.id)??r,c),e.size===h&&nn({data:e,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)})}function z1(a){let{seriesConfig:t,series:e,seriesIndexMapper:i,rotationChanged:r,colorMatch:s,stackedType:n,rendererType:o,seriesIndex:l,seriesSymbolMapForEvent:h,queryObject:u}=a,{name:c}=t,d=ve(e.chart.uid,"config"),A=xn({config:d}),p=It(d?.series);Ui(e,t.visible);let f=c,m=e.dataFields?.customValue??"";(p===ke.BarAndLineSplitBy||p===ke.BarAndLineSplitByNoAggregation)&&(f=ng({queryObject:u,fieldName:Dn(m),fieldValue:f})??f),CA(e,f),Fw({series:e,seriesConfig:t,rotationChanged:r,stackedType:n,isRotated:A}),cW({series:e,seriesConfig:t,seriesIndex:l,seriesIndexMapper:i,colorMatch:s,rendererType:o,seriesSymbolMapForEvent:h}),Jn(e.uid,{barSeriesLastUpdate:{numberOfColumnsUpdated:e.columns.length,updateProps:a}})}function dW(a){a.events.on(Ie.Validated,()=>{let t=sa(a.uid,"barSeriesLastUpdate");if(t!==void 0){let{numberOfColumnsUpdated:e,updateProps:i}=t;a.columns.length>e&&z1(i)}})}function AW(a){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],selectionTheme:s,queryObject:n,errorStrings:o}=a,{rotated:l}=e,h=e.series[i],{y:u,assignToSecondValueAxis:c}=h,d=new Xi;d.id=h.id;let A,p;l!==!0?(A=r[0],p=c===!0&&r[2]?r[2]:r[1]):(A=c===!0&&r[2]?r[2]:r[0],p=r[1]),A!==void 0&&(d.xAxis=A),p!==void 0&&(d.yAxis=p);let f=t instanceof Vt?xn({chart:t}):!1,m=It(e.series)!==ke.BarAndLineSplitByNoAggregation?u:`${u}_${xh({where:h.query?.where,keepSurroundingQuotes:!1,escape:!1})}`;f?d.dataFields.valueX=m:d.dataFields.valueY=m;let g=f?r[1]:r[0];if(g!==void 0){let y=d1(g,f);d.dataFields[y]=re.xAxisField,d.baseAxis=g}return Fw({series:d,seriesConfig:h,rotationChanged:!1,stackedType:e.stackedType,isRotated:f}),d.dataFields.customValue=h?.query?.where,b1(d.columns.template,d),d.columns.template.width=he(100),Gc({element:d.columns.template,customSelectionTheme:s}),jf({chart:t,element:d.columns.template,queryObject:n,errorStrings:o}),Iw(d),dW(d),zc(d),d}function pW(a){let{seriesConfig:t,series:e,seriesIndex:i,axes:r,utilsStrings:s,fieldList:n,queryObject:o,stackedType:l,options:h}=a;e.id=t.id;let u=xn({chart:e.chart});ij({series:e,seriesType:V.BarSeries,isRotated:u,stackedType:l,hideOversizedSideBySideLabels:t.hideOversizedSideBySideLabels,hideOversizedStackedLabels:t.hideOversizedStackedLabels,dataLabelsConfig:t.dataLabels,yAxisValueFormat:r[1].valueFormat,customDataLabelFormatter:h?.dataLabelFormatter}),Mv({styleCallback:z1,callbackProps:a,series:e,seriesConfig:t}),_1({series:e,seriesConfig:t,fieldList:n,queryObject:o,utilsStrings:s,seriesIndex:i,tooltipFormatter:h?.tooltipFormatter})}function fW(a){a.labels.template.adapter.add("html",(t,e)=>{let i=sa(a.uid,"pieChartDataLabelFormatter"),r=t??"",{dataItem:s}=e;if(s instanceof Fa){let{slice:n}=s;if(n!==void 0&&!Ef(n))r="";else if(i!==void 0){let{value:o,percent:l}=s.values?.value??{};if(o!==void 0&&o!==0){let h=`${s.properties?.category??t}`;r=i(h,o,l)}}}return zi(r)&&(r=re.htmlEmptyContent),Er(r)})}function mW(a){let t=a.labels.template;t.maxWidth=re.pieChart.dataLabels.maxWidth??Number.NaN,t.wrap=re.pieChart.dataLabels.wrap??!0,t.events.on(Ie.Over,e=>{let{dataItem:i}=e.target??{};i instanceof Fa&&i.slice.showTooltip()}),fW(a)}function gW(a,t){let{numericValueFormat:e,percentValueFormat:i,displayCategoryOnDataLabel:r,displayNumericValueOnDataLabel:s,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u,dataLabelsCharacterLimit:c}=t,d=Lw({iLocale:a.chart.language.locale,pieChart:a.chart,valueIntlOptions:e?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:s??re.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??re.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u}),A=ig(c),p=Ra(a.rtl," ");return(f,m,g)=>{let y=d(f,m,g),x=r??re.pieChart.displayCategoryOnDataLabel?A(f):"",w=zi(x)?"":`${x}${p}`;return w=`${w}${y}`,t.dataLabels?.content!==void 0&&(w=xa({textSymbol:{...t.dataLabels.content,text:w},format:"html",defaults:{...re.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??re.pieChart.dataLabels.wrap}})),w}}function yW(a){let{pieSeries:t,seriesConfig:e,dataLabelFormatter:i}=a,{dataLabels:r}=e,s=e.dataLabelsOffset??re.pieChart.dataLabelsOffset,n=e.dataLabelsInside??re.pieChart.dataLabelsInside;Jn(t.uid,{pieChartDataLabelFormatter:i??gW(t,e)}),_n({label:t.labels.template,labelConfig:r,defaults:{...re.pieChart.dataLabels,wrap:e.optimizeDataLabelsOverlapping??re.pieChart.alignDataLabels},skipSettingText:!0}),t.alignLabels=!n&&(e.alignDataLabels??re.pieChart.alignDataLabels);let o=t.labels.template.radius;t.chart.invalidateData(),(n&&o!==he(-40)||!n&&o===he(-40)||s!==void 0&&Number.isFinite(s)&&o!==s)&&(t.labels.template.radius=n?he(-40):s,t.invalidate())}function vW(a,t){let e=(p,f,m)=>re.htmlEmptyContent,{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:s,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g=re.htmlEmptyContent,y=Lw({iLocale:a.chart.language.locale,pieChart:a.chart,valueIntlOptions:(s??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??re.pieChart.displayNumericValueOnTooltip,displayPercentage:h??re.pieChart.displayPercentageOnTooltip,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A})("",f,m),x=!zi(p)&&(o??re.pieChart.displayCategoryOnTooltip);if(x&&(g=`<b>${p}</b>`),!zi(y)){let w=rg(y);g=x?`${g}<br />${w}`:w}return g},e}function bW(a){if(a.tooltip!==void 0){let t=a.fill;t instanceof bc?t=t.stroke:t instanceof xc&&(t=t.backgroundFill),a.tooltip.background.fill=t}}function xW(a){let t=a.slices.template;t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:s}=a;if(s!==void 0&&i.tooltip!==void 0){let n=ve(s.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)i.tooltip.disabled=!0;else{let l=sa(a.uid,"pieChartTooltipFormatter");if(l!==void 0){let{dataItem:h}=i;if(h instanceof Fa){let u=h.properties.category??"",c=h.dataContext,d=oo(c);d===void 0&&(d=u);let A=h.values?.value?.value,p=h.values?.value?.percent;typeof A=="number"&&A!==0&&n?.series?.[0]?.dataTooltipVisible!==!1?(i.tooltip.disabled=!1,bW(i),r=l(`${u}`,A,p,d)):i.tooltip.disabled=!0}}}}return Er(r)})}function _W(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{pieChartTooltipFormatter:i??vW(t,e)}),Uv(t,e)}function CW(a){a.ticks.template.adapter.add("disabled",(t,e)=>e.dataItem?.values?.value?.value===0||!Number.isFinite(e.dataItem?.values?.value?.value)||t===!0)}function wW(a){let{chartData:t,pieSeries:e,pieSlicesSymbols:i,seriesConfig:r}=a;if(e.slices.length===0){let s=[];t?.forEach(n=>{let o=ww({dataContext:n,pieSlicesSymbols:i,seriesConfig:r});s.push(Qc(o.color))}),s.length>0&&(e.colors.list=s)}}function BW(a){let{seriesConfig:t,selectionTheme:e}=a,{x:i,y:r,id:s,visible:n}=t,o=new Bs;o.id=s,o.dataFields.value=r,o.dataFields.category=i;let l=re.pieChart;o.startAngle=l.min,o.endAngle=360+o.startAngle,CW(o),xW(o),mW(o);let h=e!==void 0&&e.selectedElementsTheme?.transformation?.opacity===void 0?{...e,selectedElementsTheme:{...e?.selectedElementsTheme,transformation:{...e?.selectedElementsTheme?.transformation,opacity:1}}}:e;return Gc({element:o.slices.template,useNativeState:!0,customSelectionTheme:h}),o.slices.template.states.removeKey("hover"),zc(o),o.hidden=n===!1,Iw(o),o}function SW(a){let{series:t,pieSlicesSymbols:e,seriesConfig:i,selectionTheme:r}=a;t.defaultState.reset(),t.slices.each((s,n)=>{let o=s.dataItem?.dataContext,l=ww({dataContext:o,pieSlicesSymbols:e,seriesConfig:i}),h=Mf({element:s,fillSymbol:l,defaultToColorFromRamp:!0,colorRampIndex:n,isChartFillSymbol:!0});r!==void 0&&r.selectedElementsTheme===void 0&&yA({element:s,stylingInfo:h,stateKey:ia.Active})})}function FW(a,t){let{ticks:e}=t,i=e?.visible===!1||t.dataLabelsInside===!0||t.dataLabels===void 0||t.dataLabels?.visible===!1||t.dataLabelsOffset!==void 0&&t.dataLabelsOffset<=0;a.ticks.template.disabled=i,a.ticks.template.strokeOpacity=re.pieChart.ticksOpacity;let r=e?.lineSymbol??ZA({color:jm});i&&(r.width=0),Nc({element:a.ticks.template,lineSymbol:r,visible:!i})}function TW(a){let{chart:t,seriesConfig:e,series:i,pieSlicesSymbols:r,options:s,utilsStrings:n,queryObject:o}=a,{tooltipFormatter:l,dataLabelFormatter:h}=s??{},{x:u,y:c,id:d,innerRadius:A,startAngle:p,endAngle:f}=e;i.id=d;let m=It([e]),g=re.pieChart;i.dataFields.value=m!==ke.PieFromFields?c:Uu,i.dataFields.category=m!==ke.PieFromFields?u:ao;let y=t.radius instanceof et?t.radius.value:t.radius;t.innerRadius=he((A??g.innerRadius)*y),i.startAngle=p??g.min,i.endAngle=f??360+i.startAngle,yW({pieSeries:i,seriesConfig:e,dataLabelFormatter:h}),wW({chartData:t.data,pieSeries:i,pieSlicesSymbols:r,seriesConfig:e}),Mv({styleCallback:SW,callbackProps:a,series:i,seriesConfig:e}),FW(i,e),_W({series:i,seriesConfig:e,tooltipFormatter:l})}async function nI(a){let{chart:t,hitSlice:e,multiSelect:i=!1,queryObject:r,errorStrings:s}=a,n=[],o=ve(t.uid,"config"),l=t.series.getIndex(0);if(o&&l!==void 0){let h=r1(l),u=_u(l),c={element:{},xAxisField:h,yAxisField:u,seriesIndex:0,chartConfig:o};l.slices.each((d,A)=>{d.isActive&&(d===e||i||d.dataItem instanceof Fa&&d.dataItem.label.isHover)?sh(d.dataItem?.dataContext)?(Hf({groupOfSlicesDataContext:d.dataItem?.dataContext})??[]).forEach(p=>{n.push({...c,element:void 0,elementDataContext:p,elementIndex:A})}):n.push({...c,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:A}):Zn({element:d,selected:!1,useNativeState:!0})}),n.forEach(d=>{Zn({element:d.element,selected:!0,useNativeState:!0})}),await Xf({chart:t,listSelectedElements:n,selectionSource:Tr.SelectionByClick,queryObject:r,errorStrings:s})}t.feedLegend()}function PW(a,t,e){let i=async n=>{let{target:o}=n;if(f1(a)&&a.series.getIndex(0)?.slices.template.togglable){let l=Rv(n,a);if(o instanceof Sa)await nI({chart:a,multiSelect:l,hitSlice:o,queryObject:t,errorStrings:e});else if(o instanceof Ri){let h=o.dataItem;if(h instanceof Fa){let{slice:u}=h;u.isActive=!u.isActive,await nI({chart:a,multiSelect:l,hitSlice:u,queryObject:t,errorStrings:e})}}else o===a.background&&await Xf({chart:a,listSelectedElements:[],selectionSource:Tr.SelectionByClick,queryObject:t,errorStrings:e})}},r=a.series.getIndex(0)?.slices.template;r!==void 0&&(r.events.on(Ie.Hit,i),r.events.on(Ie.DoubleHit,i));let s=a.series.getIndex(0)?.labels.template;s!==void 0&&s.events.on(Ie.Hit,i),a.background.events.on(Ie.Hit,i),a.background.events.on(Ie.DoubleHit,i)}function oI(a){let t;return typeof a=="number"&&Number.isFinite(a)&&a>0&&(t=a),t}function DW(a){let{chartContainer:t}=a,e=oI(t.measuredWidth),i=oI(t.measuredHeight),r;return e!==void 0&&i!==void 0&&(r={width:e,minSide:Math.min(e,i)}),r}function lI(a){return a?.offsetParent!==null}function LW(a,t){a!==void 0&&t!==void 0&&window.IntersectionObserver!==void 0&&new IntersectionObserver(e=>{e[0].intersectionRatio>0&&(ve(a.uid,"chartWasCreatedWhileHidden")===!0?(a instanceof qi&&a.events.once(Ie.Validated,()=>{a.isDisposed()||Tv(a),a.reinit()}),a.reinit(),a instanceof Vt&&Nv(a),ai(a.uid,{chartWasCreatedWhileHidden:!1})):ve(a.uid,"chartWasUpdatedWhileHidden")===!0&&(a instanceof qi&&a.events.once(Ie.Validated,()=>{a.isDisposed()||Tv(a),a.reinit()}),a.reinit(),ai(a.uid,{chartWasUpdatedWhileHidden:!1})))},{root:null}).observe(t)}function Tv(a){let t=ve(a.uid,"config");if(t!==void 0){let e=he(ve(a.uid,"pieChartRadius")??re.pieChart.chartOptimizedRadius),i=e,{series:r}=t,{innerRadius:s,optimizeDataLabelsOverlapping:n,alignDataLabels:o,dataLabelsOffset:l=re.pieChart.dataLabelsOffset,dataLabels:h,dataLabelsInside:u}=r[0];if(h?.visible===!0&&o===!0&&n===!0&&u!==!0){let d=re.pieChart.chartOptimizedRadius/100,A=500,p=150,f=.6,m=.5,g=1,y=a.chartContainer.measuredWidth-l*2,x=Math.max(y-p,0)/(A-p),w=x<1?Math.max(x**g*f,.4):Math.min(x**m*f,d);i=he(w*100)}else i=he(re.pieChart.chartRadius);e.value.toFixed(1)!==i.value.toFixed(1)&&(ai(a.uid,{pieChartRadius:i.percent}),a.radius=i,a.innerRadius=he((s??re.pieChart.innerRadius)*i.value));let c=a.series?.values?.[0];c instanceof Bs&&(c.labels.template.maxWidth=IW(t?.series[0],a))}}function G1(a){wn(a)&&a.events.on(Ie.SizeChanged,ks(()=>Tv(a),re.debounceTime))}function IW(a,t){let e=re.pieChart.dataLabels.maxWidth??100,i=e;if(a!=null){let{alignDataLabels:r,dataLabelsOffset:s=re.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:n,dataLabels:o,dataLabelsInside:l}=a;if(o?.visible===!0&&r===!0&&l!==!0&&n===!0){let h=e,u=DW(t),c=typeof t.radius=="number"?t.radius/100:t.radius.value;if(u!==void 0&&Number.isFinite(c)){let{width:d,minSide:A}=u,p=c*A,f=5,m=Math.floor((d-p)/2)-f-s;if(Number.isFinite(m)){h=Math.min(m,e-f);let g=30;h<g&&(h=g),Number.isFinite(h)||(h=e)}}i=h}}return i}function Y1(a){if(wn(a)){let t=typeof a.radius=="number"?a.radius:a.radius.percent;ai(a.uid,{pieChartRadius:t}),Tv(a),a.validate()}}function K1(a){if(a instanceof qi)G1(a),Y1(a);else if(!(a instanceof Ks)){let t=()=>{let i=ve(a.uid,"config"),{chartPaddingMinSize:r,chartPaddingRightWhenLegendNotOnRight:s,chartContainerPaddingTopWhenRotated:n,chartContainer:o}=re,l=i?.series,h=ze(l),u=xn({config:i}),c=l?.[0]?.dataLabels?.visible??!0,d=re.chartDefaultPaddingRight;if(u&&c&&(h===V.LineSeries||h===V.ComboLineAndBarSeries||h===V.BarSeries&&(i?.stackedType??ex())===Oi.Side)){let p=0,f=m=>gs(m.uid,"isDataLabel")??!1;a.series.each(m=>{let g=m.bullets.values.find(f);g!==void 0&&g.clones.each(y=>{let x=y.measuredWidth;switch(y.horizontalCenter){case"middle":x/=2;break;case"right":x*=-1;break}let w=y.pixelX+x;w>p&&(p=w,d=x)})})}d>=0&&(a.chartContainer.paddingRight=d),a.chartContainer.paddingTop=u?n:o.paddingTop;let A=i?.legend?.visible!==!1&&i?.legend?.position===st.Right;a.paddingRight=A?r:s},e=0;a.series.each(i=>{i.events.once(Ie.Validated,()=>{e+=1,e===a.series.length&&t()})})}}function kW(a,t){a.adapter.add("criticalError",e=>(e.message=t.errors.simpleError,e))}it.classNamePrefix="arcgis-charts-";function Vw(a){let{chart:t,localeInfo:e,chartLocale:i}=a;it.defaultLocale=i,t.language.locale=i,ai(t.uid,{formatLocale:e.formatLocale}),t.rtl=e.rtl}function Xv(a){let{chart:t,actionMode:e,cursorRange:i}=a;if(wn(t)){let r=e??ve(t.uid,"actionMode")??re.actionMode;ai(t.uid,{actionMode:r});let s=ve(t.uid,"filterBySelection");switch(r){case Ut.MonoSelection:case Ut.MultiSelection:case Ut.MultiSelectionWithCtrlKey:s!==!0?WQ(t):KC(t);break;case Ut.Zoom:KC(t);break;case Ut.None:BA({chart:t,selectionSource:Tr.ClearSelection,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1}),KC(t);break}fQ({chart:t,actionMode:r,cursorRange:i})}}function $W(a,t){t&&(a.tapToActivate=!0,a.tapTimeout=3e3,a.responsive.enabled=!0)}function OW(a){let{chart:t,axesConfig:e,chartType:i,isRotated:r,errorStrings:s,queryObject:n}=a;switch(Pl({chartType:i,axesConfig:e,errorStrings:s}),i){case V.GaugeSeries:{io(n),t instanceof Ks&&e?.[0]?.valueFormat!==void 0&&Yj({chart:t,valueFormat:e[0].valueFormat,queryObject:n,errorStrings:s});break}case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{_j({chart:t,chartType:i,isRotated:r,axesConfig:e,queryObject:n,errorStrings:s});break}}}function Nw(a){let{chart:t,chartConfig:e,chartConfig:{axes:i},rotationChanged:r,axisLabelsBehaviorChanged:s,chartType:n,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,data:u,queryObject:c,guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,options:g,utilsStrings:y,errorStrings:x,gaugeMinMaxFromData:w}=a;switch(Pl({chartType:n,axesConfig:i,errorStrings:x}),n){case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{t instanceof Vt&&Cj({chart:t,chartConfig:e,rotationChanged:r,axisLabelsBehaviorChanged:s,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,timeIntervalInfo:u?.timeIntervalInfo??ve(t.uid,"timeIntervalInfo"),guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,options:g,utilsStrings:y,errorStrings:x,queryObject:c});break}case V.GaugeSeries:{t instanceof Ks&&(io(c),Jj({chart:t,chartConfig:e,data:(u??t.data).dataItems,queryObject:c,axisValueFormatter:A,gaugeInnerLabelFormatter:m,utilsStrings:y,errorStrings:x,gaugeMinMaxFromData:w}));break}}}function Z1(a){let{chart:t,chartConfig:e,options:i,utilsStrings:r,errorStrings:s,queryObject:n}=a,{selectionTheme:o,ignoreSmoothRenderingLimit:l}=i??{};t.series.clear();let h,u,c=[],d=t instanceof Vt?[t.xAxes.getIndex(0),t.yAxes.getIndex(0),t.xAxes.getIndex(1)??t.yAxes.getIndex(1)]:void 0,A={selectionTheme:o,utilsStrings:r},p={...A,axisList:d};if(t instanceof Vt)for(let m=0;m<e.series.length;m+=1){let g=e.series[m];if(u=ze([g]),Dl(e))h=GH({...p,chart:t,axisList:d,chartConfig:e,seriesIndex:m,queryObject:n,errorStrings:s}),c.push(...h.flat());else switch(u){case V.BarSeries:{h=AW({...p,chart:t,chartConfig:e,seriesIndex:m,queryObject:n,errorStrings:s}),c.push(h);break}case V.LineSeries:{io(n),h=UH({...p,chart:t,chartConfig:e,seriesIndex:m,ignoreSmoothRenderingLimit:l,queryObject:n,errorStrings:s}),c.push(h);break}}}else t instanceof qi&&e.series[0].type===V.PieSeries&&(h=BW({...A,seriesConfig:e.series[0]}),c.push(h));c.forEach(m=>{rW(m)});let f=ZF({chartConfig:e,queryObject:n,chartData:t.data});f.length>0&&(t.colors.list=f.map(m=>{let[g,y,x,w]=m;return new xt({r:g,g:y,b:x,a:w})})),c.length>0&&t.series.pushAll(c),zQ(t)}function Qw(a){let{chart:t,chartConfig:e,chartConfig:{series:i,axes:r,chartRenderer:s},seriesIndexMapper:n,rotationChanged:o,seriesReordered:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u,chartData:c,queryObject:d,options:A,dataWasUpdated:p,sortChanged:f,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,seriesWereReinitialized:y,utilsStrings:x,errorStrings:w}=a,S=t.series.values,T=new Map,F=e.series.length,L=Fl(e),$=$s(e),I=_a(d,A?.popupTemplateFieldInfosEnabled),U=Os(d),P=sg(s,xs(U)?void 0:U?.renderer);for(let[Q,Y]of i.entries()){let G=ze([Y]),ee=S[Q],te={numberOfSeries:F,series:ee,seriesConfig:Y,seriesIndex:Q,colorMatch:L,queryObject:d,rendererType:P,options:A,dataWasUpdated:p,fieldList:I,sortChanged:f,utilsStrings:x},le={...te,axes:r,seriesIndexMapper:n},z=ee;if(t instanceof Vt&&Dl(e))z=S.find(K=>K.id===Y.id),ee!==void 0&&(z instanceof wr||z instanceof Pi)&&n2({...te,chart:t,series:z,seriesIndexMapper:n,seriesSymbolMapForEvent:T,chartData:c,showOutliers:e.showOutliers,showMean:e.showMean,outliersVisibilityChanged:h,seriesReordered:l,standardizeValuesVisibilityChanged:u,rotationChanged:o,seriesWereReinitialized:y,options:A});else switch(G){case V.BarSeries:pW({...le,stackedType:$,seriesSymbolMapForEvent:T,rotationChanged:o});break;case V.LineSeries:jH({...le,stackedType:$,seriesSymbolMapForEvent:T,rotationChanged:o});break;case V.PieSeries:TW({...te,chart:t,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,selectionTheme:A?.selectionTheme});break}}m2({chart:t,options:A,dataWasUpdated:p,chartData:c,chartConfig:e,queryObject:d,sortChanged:f,groupOfSlicesWasUpdated:m,errorStrings:w})}function Hw(a){let{chartConfig:t}=a,{chart:e,options:i,globalOptions:r,colorMatchApplied:s,pieSlicesSymbols:n,queryObject:o,utilsStrings:l,errorStrings:h,dataInfo:u}=a,{togglingLegendItemsDisabled:c,cursorRange:d,actionMode:A,pieChartLegendValueLabelFormatter:p,guideTooltipFormatter:f,xAxisLabelFormatter:m,yAxisLabelFormatter:g,secondaryYAxisLabelFormatter:y,gaugeInnerLabelFormatter:x,popupTemplateFieldInfosEnabled:w}=i??{},{data:S,count:T,queryConfig:F,gaugeMinMaxFromData:L={}}=u??{},$,I,U,P=ze(t.series),Q=_a(o,w);ai(e.uid,{fieldList:Q,options:i,elementCount:T,queryConfig:F,timeIntervalInfo:S?.timeIntervalInfo,serverLimitReached:S?.serverLimitReached});let Y=new Map;t.series.forEach(($e,Ye)=>{Y.set($e.id,Ye)});let G=Ln(S);G!==void 0&&(e.data=G);let ee=It(t.series);e instanceof qi&&nn({data:n,htmlContainer:e.htmlContainer,chartId:e.id,colorMatchApplied:s===!0});let{title:te,subtitle:le,footer:z,series:K,background:we}=t;$=tW(e),jv($,{title:te,subtitle:le}),I=iW(e),Wv(I,z),U=RH(e,K),cH(e);let se=xn({config:t});ai(e.uid,{config:t,isRotated:se,isNonAggregatedChart:!sp(ee)}),t.axes!==void 0&&(OW({chart:e,axesConfig:t.axes,chartType:P,isRotated:se,errorStrings:h,queryObject:o}),Nw({chart:e,chartConfig:t,chartType:P,isRotated:se,data:S,queryObject:o,guideTooltipFormatter:f,xAxisLabelFormatter:m,yAxisLabelFormatter:g,secondaryYAxisLabelFormatter:y,gaugeInnerLabelFormatter:x,options:i,utilsStrings:l,errorStrings:h,gaugeMinMaxFromData:L})),Z1({chart:e,chartConfig:t,utilsStrings:l,options:i,queryObject:o,errorStrings:h}),Qw({chart:e,chartConfig:t,seriesIndexMapper:Y,rotationChanged:!1,queryObject:o,chartData:S,groupOfSlicesWasUpdated:!0,pieSlicesSymbols:n,dataWasUpdated:!0,seriesWereReinitialized:!0,options:i,utilsStrings:l,errorStrings:h}),kw({legendElements:U,seriesConfig:K,webChartLegend:t.legend,pieChartLegendValueLabelFormatter:p}),W1(e),eW(e),Hv(e,we),X1({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),JI(e),e1(e,t?.cursorCrosshair),Xv({chart:e,actionMode:A,cursorRange:d});let de=fd(e.htmlContainer??document.documentElement);return e.dateFormatter.intlLocales=de,$W(e,r?.enableResponsiveFeatures),(e instanceof Ks||Uw(e.series))&&Vu(e.htmlContainer),K1(e),$!==void 0&&I!==void 0&&U!==void 0?{headerElements:$,footerElements:I,legendElements:U}:void 0}function q1(a){a.series.each(t=>{t.events.on(Ie.Ready,()=>{Uw(a.series)&&Nv(a)})})}function EW(a){let{chartContainer:t,chartConfig:e,queryObject:i,colorMatchApplied:r,dataInfo:s,t9nStrings:n,options:o,globalOptions:l}=a,{errorStrings:h,utilsStrings:u,amChartsStrings:c}=n,d=of(t,Vt);d.id=e?.id??d.uid,ai(d.uid,{queryObject:i});let{t9nLocale:A}=Iu(d.htmlContainer??document.documentElement),p=fd(d.htmlContainer??document.documentElement),f=Vm(d.htmlContainer??document.documentElement)==="rtl";Vw({chart:d,localeInfo:{locale:A,formatLocale:p,rtl:f},chartLocale:c}),d.events.on(Ie.Inited,()=>d.zoomOutButton.deepInvalidate());let m=ze(e?.series);d instanceof Vt&&m!==V.BoxPlotSeries&&(d.maskBullets=!1);let g=Hw({chartConfig:e,chart:d,queryObject:i,colorMatchApplied:r,options:o,globalOptions:l,utilsStrings:u,errorStrings:h,dataInfo:s});return ai(d.uid,{config:_r(e)}),q1(d),QQ({chart:d,queryObject:i,errorStrings:h}),HQ({chart:d,queryObject:i,errorStrings:h}),{chart:d,chartElements:g}}function MW(a){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,colorMatchApplied:s,pieSlicesSymbols:n,t9nStrings:{errorStrings:o,utilsStrings:l,amChartsStrings:h},options:u,globalOptions:c}=a,d=of(t,qi);d.id=e?.id??d.uid;let A=wx(d.htmlContainer);Vw({chart:d,localeInfo:A,chartLocale:h}),d.radius=he(re.pieChart.chartRadius);let p=Hw({chartConfig:e,chart:d,queryObject:i,colorMatchApplied:s,pieSlicesSymbols:n,dataInfo:r,options:u,globalOptions:c,utilsStrings:l,errorStrings:o});return ai(d.uid,{config:_r(e),filterBySelection:u?.filterBySelection}),PW(d,i,o),{chart:d,chartElements:p}}function RW(a){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,t9nStrings:{errorStrings:s,utilsStrings:n,amChartsStrings:o},options:l,globalOptions:h}=a,u=of(t,Ks);u.id=e?.id??u.uid;let c=wx(u.htmlContainer);Vw({chart:u,localeInfo:c,chartLocale:o}),u.maskBullets=!1;let d=re.gauge,A=Number.isFinite(e?.innerRadius)?e?.innerRadius:d.innerRadius,p=Number.isFinite(e?.startAngle)?e?.startAngle:d.startAngle,f=Number.isFinite(e?.endAngle)?e?.endAngle:d.endAngle;u.radius=he(d.radius),typeof A=="number"&&(u.innerRadius=he(A)),typeof p=="number"&&(u.startAngle=p),typeof f=="number"&&(u.endAngle=f);let m=Hw({chartConfig:e,chart:u,queryObject:i,dataInfo:r,options:l,globalOptions:h,utilsStrings:n,errorStrings:s});return ai(u.uid,{config:_r(e)}),q1(u),t?.ownerDocument.addEventListener("visibilitychange",()=>{let g=t.ownerDocument.hidden;u&&!g&&Tj(e?.axes?.[0])&&(u.svgContainer?.measure(),u.invalidateData())}),{chart:u,chartElements:m}}function UW(a){let{newConfig:t}=a,{chart:e,chartElements:i,dataWasUpdated:r,dataUpdateDetails:s,dataInfo:n,options:o,configWithAllSeries:l,hasSeriesFilteredOut:h,queryObject:u,utilsStrings:c,errorStrings:d}=a,{guideTooltipFormatter:A}=o??{},{gaugeMinMaxFromData:p={}}=n,f=ve(e.uid,"config"),m=f?.series,g=t.series,y=ze(g),x=xn({config:t});ai(e.uid,{config:_r(t),isRotated:x}),ai(e.uid,{filterBySelection:o?.filterBySelection}),Xv({chart:e,actionMode:o?.actionMode,cursorRange:o?.cursorRange});let{xOrYChanged:w,layerChanged:S}=s?.common??{},{numberOfSeriesChanged:T}=s?.common??{},F=Ax(f,t),L=px(f,t),$=RF(f,t),I=UF(f,t),U=JSON.stringify(qA(m))!==JSON.stringify(qA(g)),P=!1,Q=!1;Dl(t)&&Dl(f)&&(P=NF(f,t),Q=QF(f,t));let Y=ip({oldConfig:h?l:f,newConfig:t,dataWasUpdated:r}),G=ax({oldConfig:f,newConfig:t,rotationChanged:L}),ee=V1({chart:e,dualAxisChanged:$,rotationChanged:L,timeIntervalInfoWasReset:F,axisLabelsBehaviorChanged:G}),te=!1,le=Ln(n?.data),z=It(g);if(ai(e.uid,{isNonAggregatedChart:!sp(z)}),r){let{count:Ye,data:We,queryConfig:qe}=n??{};ai(e.uid,{elementCount:Ye,queryConfig:qe,timeIntervalInfo:We?.timeIntervalInfo,serverLimitReached:We?.serverLimitReached})}else if(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries||y===V.BoxPlotSeries){let Ye=Cx(m,g);if(Ye.length>0&&(IN(e.series,Ye),e.feedLegend(),te=!0),_h(g[0])){let{binTemporalData:We}=g[0],{unit:qe,size:Tt}=g[0].temporalBinning??{};We===!1&&qe!==void 0&&Tt!==void 0&&ai(e.uid,{timeIntervalInfo:{unit:qe,size:Tt}})}}let K=Y&&!r,we=new Map;(l??t).series.forEach((Ye,We)=>{we.set(Ye.id,We)}),T=T||h,le&&(r||Y)&&(e.data=le),t.axes!==void 0&&Nw({chart:e,chartConfig:t,rotationChanged:L,timeIntervalInfoWasReset:F,axisLabelsBehaviorChanged:G,chartType:y,isRotated:x,dualAxisChanged:$,guideTooltipFormatter:A,xAxisLabelFormatter:o?.xAxisLabelFormatter,yAxisLabelFormatter:o?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:o?.secondaryYAxisLabelFormatter,queryObject:u,options:o,utilsStrings:c,errorStrings:d,gaugeMinMaxFromData:p});let se=y===V.BoxPlotSeries&&(MF(g,m)||EF(g,m)),de=!1;(e.series===void 0||e.series.length===0||w||S||T||U||(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries)&&e.series.length!==t.series.length||ee||I||se||s?.boxPlot?.showMeanChanged)&&(de=!0,!r&&(L||se||ee)&&e.invalidateData(),Z1({chart:e,chartConfig:t,utilsStrings:c,queryObject:u,options:o,errorStrings:d})),Qw({chart:e,chartConfig:t,seriesIndexMapper:we,rotationChanged:L,seriesReordered:te,outliersVisibilityChanged:P,standardizeValuesVisibilityChanged:Q,queryObject:u,chartData:n.data,options:o,dataWasUpdated:r,sortChanged:Y,seriesWereReinitialized:de,utilsStrings:c,errorStrings:d}),K&&(e.validateData(),y===V.BoxPlotSeries&&e.series.each(Ye=>{Ye instanceof Pi&&!(Ye instanceof Aa)&&Ye.id.includes(ji.Outliers)&&Ye.validateData()})),jv(i.headerElements,{title:t.title,subtitle:t.subtitle}),Wv(i.footerElements,t.footer),kw({legendElements:i.legendElements,seriesConfig:t.series,webChartLegend:t.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled}),Hv(e,t.background),X1({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),e1(e,t?.cursorCrosshair);let $e=AQ(e);($e.behavior===Hi.SelectX||$e.behavior===Hi.SelectXY||$e.behavior===Hi.SelectY||$e.behavior===Hi.None)&&e.scrollbarX.start===0&&e.scrollbarX.end===1&&e.scrollbarY.start===0&&e.scrollbarY.end===1&&Nv(e),K1(e),U1(e.series.values[0])}function VW(a){let{chart:t,chartElements:e,dataWasUpdated:i,newConfig:r,pieSlicesSymbols:s,queryObject:n,options:o,dataInfo:l,utilsStrings:h,errorStrings:u}=a,c=ve(t.uid,"config"),d=c?.series,A=r?.series,p=ip({oldConfig:c,newConfig:r,dataWasUpdated:i}),f=Cw(d,A),{count:m,data:g,queryConfig:y}=l??{},x=Ln(g);ai(t.uid,{filterBySelection:o?.filterBySelection,config:_r(r)});let w=x!==void 0&&(t.data.length!==x.length||GI(t.data,x));w&&(ai(t.uid,{elementCount:m,queryConfig:y}),t.data=x,Vu(t.htmlContainer)),(p||f)&&t.validateData(),nn({data:s,htmlContainer:t.htmlContainer,chartId:t.id,colorMatchApplied:Ev(t,r)}),Qw({chart:t,queryObject:n,chartConfig:r,seriesIndexMapper:new Map,options:o,dataWasUpdated:w,sortChanged:p,chartData:g,groupOfSlicesWasUpdated:f,pieSlicesSymbols:s,seriesWereReinitialized:!1,utilsStrings:h,errorStrings:u}),jv(e.headerElements,{title:r.title,subtitle:r.subtitle}),Wv(e.footerElements,r.footer),kw({legendElements:e.legendElements,seriesConfig:r.series,webChartLegend:r.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled,pieChartLegendValueLabelFormatter:o?.pieChartLegendValueLabelFormatter}),Hv(t,r.background),Xv({chart:t,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),G1(t),Y1(t)}function NW(a){let{chart:t,chartElements:e,newConfig:i,queryObject:r,dataInfo:s,dataWasUpdated:n,options:o,utilsStrings:l,errorStrings:h}=a,{gaugeMinMaxFromData:u={}}=s??{},{xAxisLabelFormatter:c,gaugeInnerLabelFormatter:d,guideTooltipFormatter:A}=o??{},p=i.series,f=ze(p),m;if(n){let{count:S,data:T,queryConfig:F}=s??{};m=T,m?.dataItems!==void 0&&(t.data=m.dataItems),Vu(t.htmlContainer),ai(t.uid,{elementCount:S,queryConfig:F})}i.axes!==void 0&&Nw({chart:t,chartConfig:i,chartType:f,data:m,queryObject:r,xAxisLabelFormatter:c,gaugeInnerLabelFormatter:d,guideTooltipFormatter:A,options:o,utilsStrings:l,errorStrings:h,gaugeMinMaxFromData:u});let g=re.gauge,y=Number.isFinite(i?.innerRadius)?i.innerRadius:g.innerRadius,x=Number.isFinite(i?.startAngle)?i.startAngle:g.startAngle,w=Number.isFinite(i?.endAngle)?i.endAngle:g.endAngle;t.innerRadius=he(y),t.startAngle=x,t.endAngle=w,jv(e.headerElements,{title:i.title,subtitle:i.subtitle}),Wv(e.footerElements,i.footer),Hv(t,i.background),ai(t.uid,{config:_r(i)})}function QW(a){let{chartContainer:t,chartConfig:e,colorMatchApplied:i,pieSlicesSymbols:r,queryObject:s,dataInfo:n,t9nStrings:o,options:l,globalOptions:h}=a;it.commercialLicense=!(h?.showLicenseWatermark??h?.hideLicenseWatermark===!1),it.queue=h?.queueChartCreation!==!1,it.autoDispose=h?.autoDisposeChart===!0,h?.animationEnabled?P_(Fy):D_(Fy);let u;switch(ze(e?.series)){case V.PieSeries:io(s),u=MW({chartContainer:t,chartConfig:e,queryObject:s,dataInfo:n,colorMatchApplied:i,pieSlicesSymbols:r,options:l,globalOptions:h,t9nStrings:o});break;case V.GaugeSeries:io(s),u=RW({chartContainer:t,chartConfig:e,queryObject:s,dataInfo:n,options:l,globalOptions:h,t9nStrings:o});break;default:u=EW({chartContainer:t,chartConfig:e,dataInfo:n,colorMatchApplied:i,queryObject:s,options:l,globalOptions:h,t9nStrings:o});break}return u}function HW(a){let{chartContainer:t,chartConfig:e,t9nStrings:i,queryObject:r,options:s,colorMatchApplied:n,rendererFieldNames:o,pieSlicesSymbols:l,globalOptions:h,dataInfo:u,uniqueInternalID:c}=a,{errorStrings:d}=i,A=!lI(t),p=QW({chartContainer:t,chartConfig:e,dataInfo:u,colorMatchApplied:n,pieSlicesSymbols:l,queryObject:r,t9nStrings:i,options:s,globalOptions:h}),{chart:f,chartElements:m}=p;ai(f.uid,{chartWasCreatedWhileHidden:A,queryObject:r,filterBySelection:s?.filterBySelection,options:s,colorMatchApplied:n,rendererFieldNames:o}),kW(f,d),LW(f,t);function g(){c&&qF.delete(c),f.isDisposed()||(SQ(f),m!==void 0&&(p.chartElements=void 0),f.dispose())}function y(T){let{chartConfig:F,dataWasUpdated:L,dataUpdateDetails:$,queryObject:I,options:U,t9nStrings:{utilsStrings:P},configWithAllSeries:Q,hasSeriesFilteredOut:Y,pieSlicesSymbols:G,dataInfo:ee}=T,te=ve(f.uid,"config"),le=F?.series,z=le!==void 0?ze(le):void 0;if(f.isDisposed()||m===void 0||!vx(te,F))throw new Tl(Ad.ChartDisposed);switch(z){case V.BoxPlotSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:f instanceof Vt&&UW({chart:f,chartElements:m,queryObject:I,dataWasUpdated:L,dataUpdateDetails:$,dataInfo:ee,newConfig:F,configWithAllSeries:Q,hasSeriesFilteredOut:Y,options:U,utilsStrings:P,errorStrings:d});break;case V.PieSeries:io(I),VW({chart:f,chartElements:m,queryObject:I,dataWasUpdated:L,dataInfo:ee,newConfig:F,pieSlicesSymbols:G,options:U,utilsStrings:P,errorStrings:d});break;case V.GaugeSeries:io(I),NW({chart:f,chartElements:m,newConfig:F,queryObject:I,dataWasUpdated:L,dataInfo:ee,options:U,utilsStrings:P,errorStrings:d});break}}function x(T){let{chartConfig:F,options:L,dataWasUpdated:$,dataUpdateDetails:I,configWithAllSeries:U,hasSeriesFilteredOut:P,pieSlicesSymbols:Q,colorMatchApplied:Y,rendererFieldNames:G,globalOptions:ee,t9nStrings:te,queryObject:le,dataInfo:z}=T,K=!lI(t),we=_a(le,L?.popupTemplateFieldInfosEnabled);ai(f.uid,{chartWasUpdatedWhileHidden:K,options:L,fieldList:we,queryObject:le,colorMatchApplied:Y,rendererFieldNames:G}),y({chartConfig:F,options:L,dataWasUpdated:$,dataUpdateDetails:I,pieSlicesSymbols:Q,t9nStrings:te,configWithAllSeries:U,hasSeriesFilteredOut:P,queryObject:le,dataInfo:z})}async function w(T,F){if(wn(f)&&(f instanceof Vt||f instanceof qi)){let L=ve(f.uid,"actionMode");L!==Ut.MonoSelection&&L!==Ut.None&&await jQ({chart:f,queryObject:T,errorStrings:F})}}function S(){Nv(f)}return{update:x,dispose:g,resetZoom:S,clearSelection:()=>BA({chart:f}),switchSelection:async T=>await w(T,i.errorStrings),exportImage:async T=>await FQ({chart:f,exportOptions:T}),setActionMode:(T,F)=>Xv({chart:f,actionMode:T,cursorRange:F})}}var jW="AM5C241025748",Ji={SelectEnded:"selectended",DataValidated:"datavalidated",BoundsChanged:"boundschanged",PointerUp:"pointerup",FrameEnded:"frameended",Click:"click"},dw=new Map;function WW(a,t){return Kc(a,t)}function XW(a,t){Yc(a,t)}function Yc(a,t){let e=dw.get(a)??{};dw.set(a,{...e,...t})}function Kc(a,t){return dw.get(a)?.[t]}function fe(a,t){return Kc(a,t)}function Gr(a,t){Yc(a,t)}function Qt(a,t){return Kc(a,t)}function Kr(a,t){Yc(a,t)}function vu(a,t){return Kc(a,t)}function SA(a,t){Yc(a,t)}function yl(a,t){return Kc(a,t)}function zW(a,t){Yc(a,t)}function ka(a,t){return Kc(a,t)}function jw(a,t){Yc(a,t)}function GW(a,t){return Kc(a,t)}function YW(a,t){Yc(a,t)}function KW(a){let{chartSeries:t,oldSeries:e,newSeries:i}=a,r=Cx(e,i);for(let s=0;s<r.length;s+=1){let n=r[s][0],o=r[s][1],l=t.length;n>=0&&n<l&&o>=0&&o<l&&t.swap(r[s][0],r[s][1])}}function ZW(a){return a.get("renderer")instanceof ya?xr.yField:xr.xField}function qW(a){let t="";return a instanceof ga?t=a.get("categoryXField")??a.get("valueXField")??"":a instanceof Vr&&(t=a.get("categoryField")??""),t}function JW(a){let t="";return a instanceof ga?t=a.get("categoryYField")??a.get("valueYField")??"":a instanceof Vr&&(t=a.get("categoryField")??""),t}function Gf(a){let t="",{chart:e}=a;return e!==void 0&&(t=fe(e.uid,"isRotated")===!0?qW(a):JW(a)),t}function Ww(a){return a!=null&&!a.isDisposed()}function e4(a){let t;if(a!=null){let e=a;if(e instanceof zr)t=e.chart;else{let i=e.dataItem?.component;i instanceof zr&&(t=i.chart)}}return t}function J1(a){let t;if(a){let e=a.get("background")?.get("fill");if(e){let{r:i,g:r,b:s}=e;t=[Math.round(i),Math.round(r),Math.round(s),255]}}return t}function ek(a){let t=Js(a),{r:e,g:i,b:r}=t;return{r:e,g:i,b:r}}function t4(a,t){t&&a.setThemes([QL.new(a)])}function i4(a,t){t===!0&&a.setThemes([NL.new(a)])}function zt(a){let t=Js("#000000"),e=cd;if(a!=null){let[i,r,s,n]=a;e=n/255,t=Js(`rgba(${i}, ${r}, ${s}, ${e})`)}return{color:t,opacity:e}}function xi(a,t){t===!1&&(!("isHiding"in a)||!a.isHiding())?(a.set("visible",!1),"hide"in a&&a.hide()):t!==!1&&(!("isShowing"in a)||!a.isShowing())&&(a.set("visible",!0),"show"in a&&a.show())}function Ii(a){let{childId:t,parent:e,useChildId:i}=a,r=i?t:Hs(t,e.uid);return e.children.values.find(s=>s.get("id")===r)}function Hs(a,t){return`${a}${t}`}function bu(a,t=100){return setTimeout(()=>a(),t)}function tk(a){let{series:t,chartConfig:e,whenReadyCallback:i}=a,r=ze(e.series);if(t){let s=t.root.events.on(Ji.FrameEnded,()=>{let n=!1,o=!1;switch(!0){case t instanceof Li:n=t.columns.length===t.dataItems.length;break;case(!(t instanceof Bo)&&t instanceof qt):let l=Qt(t.uid,"bulletTemplate");if(l)if(r===V.ScatterSeries)n=l.entities.length===t.data.length&&t.dataItems[t.dataItems.length-1]?.bullets?.[0]?.get("sprite")!==void 0;else{o=!0;let h=Gf(t)??"",u=e?.series[0]?.x??"";n=t.dataItems.filter(c=>{let d=c.dataContext;return h in d&&u in d&&d[u]!==void 0}).every(c=>!Number.isFinite(c.dataContext[h])||c?.bullets?.[0]?.get("sprite"))}break;default:n=!0;break}n&&(s.dispose(),i(),o&&t.markDirtySize())})}}function ik(a){let{chart:t,chartConfig:e,delayCallback:i}=a,{root:r}=t;if(ze(e.series)===V.GaugeSeries||!i)Vu(r.dom);else if(t instanceof ms&&i){let s=()=>{r.events.once(Ji.FrameEnded,()=>{Vu(r.dom)})};tk({series:t.series.getIndex(0),chartConfig:e,whenReadyCallback:s})}}function hI(a){let t=Number.NaN;if(typeof a=="number")t=a;else if(a.includes("%")){let e=Number.parseFloat(a.trim().replace("%","").trim());Number.isFinite(e)&&(t=Bt(e))}return t}function r4(a,t){return t!==!0||a?.includes("Dot")===!0?"round":"square"}function s4(a,t){let e=a??us.Solid,i=t??Z.lineWidth,r={[us.Solid]:[],[us.Dot]:[1,i],[us.DashDotDot]:[4*i,i,1,i,1,i],[us.Dash]:[4*i,3*i],[us.DashDot]:[4*i,3*i,1,3*i],[us.Null]:[]};return r[e]??r[us.Null]}function a4(a){let{root:t,fill:e,rotation:i,isLinePattern:r,chartBackgroundFill:s}=a,n;if(r!==!1){let{tileSize:o,diagonalTileSize:l}=Z.patternLineProperties,h=i===45||i===135,u=h?l:o;n=Jl.new(t,{width:u,height:u,strokeWidth:Z.patternLineProperties.strokeWidth??1,gap:6,color:e,...h?{angle:i}:{rotation:i??Number.NaN},...s!==void 0&&{fill:s,fillOpacity:1}})}else{let o=s!==void 0?1:Z.patternRectProperties.fillOpacity??Number.NaN;n=su.new(t,{width:Z.patternRectProperties.width??Number.NaN,height:Z.patternRectProperties.height??Number.NaN,strokeWidth:Z.patternRectProperties.strokeWidth??Number.NaN,fillOpacity:o,color:s??e,fill:e,gap:1,maxWidth:Z.patternRectProperties.rectWidth??Number.NaN,maxHeight:Z.patternRectProperties.rectHeight??Number.NaN,rotation:i??Number.NaN})}return n}function n4(a){let{fill:t,root:e,style:i,chartBackgroundFill:r}=a,s,n,o=!0;switch(i){case bs.Horizontal:{n=0;break}case bs.Vertical:{n=90;break}case bs.ForwardDiagonal:{n=135;break}case bs.BackwardDiagonal:{n=45;break}case bs.Cross:{n=0,o=!1;break}case bs.DiagonalCross:{n=135,o=!1;break}case bs.Solid:}return n!==void 0&&e!==void 0&&(s=a4({root:e,fill:t,rotation:n,isLinePattern:o,chartBackgroundFill:r})),s}function rk(a,t=0){return(a??t)%360}function sk(a,t){let e={stroke:zt().color,strokeWidth:Z.lineWidth,strokeDasharray:[],linecap:t!==!0?"round":"square",strokeOpacity:cd};if(a!=null){let i=zt(a.color);e.stroke=i.color,e.strokeOpacity=i.opacity,a.width!==void 0&&(e.strokeWidth=a.width,e.strokeOpacity=a.width===0?0:i.opacity),a.style!==void 0&&a.style!==us.Null&&(e.strokeDasharray=s4(a.style,e.strokeWidth),e.linecap=r4(a.style,t))}return e}function ak(a,t){let e=a,[i,r,s,n]=a?.color??t??Z.color,o=[i,r,s,n];return e==null?e={type:Rt.SLS,color:o}:e.color===void 0&&(e.color=o),sk(e,!1)}function o4(a,t,e){let{color:i,outline:r,style:s}=a,n=zt(i),o=nx(s),l;return e!==void 0?l=zt(e).color:o&&(l=zt(Z.backgroundColor).color),{pattern:n4({root:t,fill:n.color,style:s,chartBackgroundFill:l}),fill:n.color,outline:ak(r,i),fillOpacity:n.opacity}}function l4(a){let{color:t,style:e,size:i,outline:r,xoffset:s,yoffset:n,angle:o}=a,l=rk(o),h=zt(t),u=r,c=e!==KA.Cross&&e!==KA.X&&i!==void 0&&i<Z.lineSeries.marker.markerSizeThresholdForTooltipDisplay&&(r?.width===void 0||r.width===0),d=i;return c&&(u={type:Rt.SLS,style:r?.style??us.Solid,color:[0,0,0,0],width:Z.lineSeries.marker.markerSizeThresholdForTooltipDisplay-i},d=i+1),{path:e!==void 0?ox(e,d):"",fill:h.color,outline:ak(u,t),xOffset:s??0,yOffset:n??0,angle:l,fillOpacity:h.opacity}}function h4(a){let t;switch(a){case"line-through":case"underline":t=a;break}return t}function u4(a){return a===!0?"wrap":"none"}function nk(a,t){let e=He;switch(a??t){case"right":e=ge;break;case"left":e=jr;break}return e}function ok(a,t){let e=He;switch(a??t){case"top":e=jr;break;case"bottom":e=ge;break}return e}function c4(a){let{angle:t,mappedHAlignment:e,mappedVAlignment:i,isGuideLabel:r}=a,s=e,n=i,o=e,l=i;return(Math.abs(t)===270||Math.abs(t)===90)&&(r||(o=void 0,n=void 0),l===jr?s=ge:l===ge?s=jr:l===He&&(s=He)),{align:s,valign:n,horizontalCenter:o,verticalCenter:l}}function Xw(a){let{root:t,symbol:e,defaultToColorFromRamp:i,colorRampIndex:r,isChartFillSymbol:s=!1,chartBackgroundColor:n}=a,o;if(i===!0){let l=s?Hm:cd;if(e.color=e.color??vh({colorIndex:r,opacity:l}),gd(e)||op(e)){let{outline:h}=e;h!==void 0&&(h.color=h?.color??vh({colorIndex:r}),e.outline={...h})}}return Dx(e)?o=sk(e,!0):op(e)?(e.style??=Z.lineSeries.marker.markerStyle,e.size??=Z.lineSeries.marker.markerBigSize,o=l4(e)):gd(e)&&(o=o4(e,t,n)),o}function d4(a){let{root:t,input:e,isGuideLabel:i,defaults:r}=a,s=rk(e.angle,r?.rotation),n=nk(e.horizontalAlignment,r?.horizontalCenter),o=ok(e.verticalAlignment,r?.verticalCenter),{align:l,valign:h,horizontalCenter:u,verticalCenter:c}=c4({angle:s,mappedHAlignment:n,mappedVAlignment:o,isGuideLabel:i}),d=e.rightToLeft??(t?.dom?Vm(t.dom)==="rtl":!1);return{fill:zt(e.color).color,fontFamily:e.font?.family??"Arial, Helvetica, sans-serif",fontSize:e.font?.size??Z.generalFontSize,fontWeight:e.font?.weight??"400",textDecoration:h4(e.font?.decoration),align:l,valign:h,verticalCenter:c,horizontalCenter:u,text:xa({textSymbol:e,format:"amChartsV5"}),angle:s,xOffset:e.xoffset??r?.dx??0,yOffset:e.yoffset??r?.dy??0,backgroundFill:zt(e.backgroundColor).color,borderFill:zt(e.borderLineColor).color,borderWidth:e.borderLineSize??1,haloColor:zt(e.haloColor).color,rtl:d?"rtl":"ltr",wrap:u4(r?.wrap),maxWidth:r?.maxWidth??Number.NaN}}function lk(a,t){t!==void 0&&(t.marginBottom!==void 0&&a.set("marginBottom",t.marginBottom),t.marginTop!==void 0&&a.set("marginTop",t.marginTop),t.marginRight!==void 0&&a.set("marginRight",t.marginRight),t.marginLeft!==void 0&&a.set("marginLeft",t.marginLeft),t.verticalCenter!==void 0&&a.set("y",ok(t.verticalCenter)),t.horizontalCenter!==void 0&&a.set("x",nk(t.horizontalCenter)),t.strokeWidth!==void 0&&a.get("background")?.set("strokeWidth",t.strokeWidth),t.paddingBottom!==void 0&&a.set("paddingBottom",t.paddingBottom),t.paddingTop!==void 0&&a.set("paddingTop",t.paddingTop),t.paddingLeft!==void 0&&a.set("paddingLeft",t.paddingLeft),t.paddingRight!==void 0&&a.set("paddingRight",t.paddingRight),t.maxWidth!==void 0&&a.set("maxWidth",t.maxWidth))}function bA(a){let{root:t,parent:e,defaults:i,index:r,id:s}=a,n=Kt.new(t,{text:"",textAlign:"center",background:or.new(t,{}),paddingBottom:0,paddingTop:0,paddingLeft:0,paddingRight:0});return s!==void 0&&n.set("id",s),lk(n,i),e!==void 0&&e.children.insertIndex(r??e.children.length,n),n}function uI(a){let{label:t,offset:e,offsetProperty:i}=a;t.adapters.remove(i),(t instanceof Kt?[t]:t.entities).forEach(r=>{if(typeof e=="string"&&!Number.isFinite(Number(e))){let s=rp(e);typeof s=="number"&&(s/=100,r.adapters.add(i,()=>(i==="dx"?r.width():r.height())*(s??0)))}else{let s=Number(e);Number.isFinite(s)&&r.set(i,s)}})}function Cn(a){let{label:t,labelConfig:e,defaults:i,skipSettingText:r,skipSettingXAndY:s}=a,n=t instanceof Kt?t.root:t.entities[0]?.root,o=e?.visible??!0;if(t!==void 0&&!t.isDisposed()&&e!==void 0){let l=t instanceof Kt&&ka(t.uid,"isGuide"),h=d4({root:n,input:e.content,isGuideLabel:l,defaults:i});t.setAll({fill:h.fill,fontFamily:h.fontFamily,fontWeight:h.fontWeight,fontSize:h.fontSize,textDecoration:h.textDecoration,rotation:h.angle,direction:h.rtl,oversizedBehavior:h.wrap,maxWidth:h.maxWidth}),r||t.setAll({text:h.text}),s||(uI({label:t,offset:h.xOffset,offsetProperty:"dx"}),uI({label:t,offset:h.yOffset,offsetProperty:"dy"}),t.setAll({centerX:h.align,centerY:h.valign,x:h.horizontalCenter,y:h.verticalCenter})),t.get("background")?.setAll({strokeWidth:h.borderWidth,strokeOpacity:1}),t.set("visible",o),t instanceof Kt?xi(t,o):t.entities.forEach(u=>{xi(u,o)})}}function gl(a){let{chart:t,label:e,labelType:i}=a,{legendTitle:r}=Z.legendProperties,s=fe(t.uid,"config"),n=r.maxWidth??Number.NaN;switch(i){case Xt.GuideLabel:if(t instanceof bi){let o=e.get("rotation");o===90||o===270?n=t.seriesContainer.height():n=t.seriesContainer.width()}break;case Xt.XAxisTitle:t instanceof bi&&(n=t.seriesContainer.width());break;case Xt.YAxisTitle:t instanceof bi&&(n=t.seriesContainer.height());break;case Xt.ChartTitle:case Xt.ChartSubTitle:case Xt.ChartFooter:n=t.chartContainer.width()-20;break;case Xt.LegendTitle:s?.legend?.position!==void 0&&(s?.legend?.position===st.Top||s?.legend?.position===st.Bottom)&&(n=t.chartContainer.width()-20);break}if(n>0)if(i===Xt.YAxisTitle){let o=Number(e.get("fontSize"))||Z.generalFontSize,l=o*2.4,h=Math.max(1,Math.floor(n/Math.max(o*.5,1)));e.adapters.remove("text"),e.adapters.add("text",u=>zF({input:u??"",charsPerLine:h})),e.setAll({maxHeight:Math.min(n,l),maxWidth:n,breakWords:!1,oversizedBehavior:"none"})}else e.setAll({maxWidth:n,oversizedBehavior:"wrap"})}function Hc(a){let{chart:t}=a;gl(a),t.events.onDebounced(Ji.BoundsChanged,()=>gl(a),Z.debounceTime)}function Pv(a,t){let e=t.get("axisFill"),i=t.get("label");if(e!==void 0&&i!==void 0){let r=ka(i.uid,"guideLabelConfig"),s=a.get("renderer")instanceof ns,n=Math.round(e.width()),o=Math.round(e.height()),l=Math.round(i.height()),h=Math.round(i.width()),{horizontalAlignment:u,verticalAlignment:c}=r??{},d=0,A=0;if(s){let p=n!==0;switch(u){case"left":p?d=-h/2:d=-h;break;case"right":p?d=h/2:d=h;break;case"center":case"justify":break;default:p||(d=h/2);break}switch(c){case"bottom":p?A=-l:A=-l/2;break;case"middle":A=-o/2;break;default:A=-o+l/2;break}}else{let p=o!==0;switch(u){case"center":d=n/2;break;case"left":d=h/2;break;default:d=n-h/2;break}switch(c){case"bottom":p?A=o/2:A=l;break;case"top":p?A=-o/2+l/2:A=-l;break;default:p||(A=-l/2);break}}i.setAll({dx:d,dy:A})}}function A4(a){let{axis:t,guide:e,label:i}=a,{chart:r}=t;if(r){let s=t.get("renderer")instanceof ns?r.yAxes.getIndex(0):r.xAxes.getIndex(0);s&&(s.events.onDebounced(Ji.BoundsChanged,()=>Pv(t,e),Z.debounceTime),t.events.onDebounced(Ji.BoundsChanged,()=>Pv(t,e),Z.debounceTime))}i.setAll({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}function p4(a){let{guide:t,axis:e,guideLabelConfig:i}=a,r=t.get("label");if(r!==void 0){lk(r),jw(r.uid,{isGuide:!0,guideLabelConfig:i});let{chart:s}=e;s!==void 0&&Hc({chart:s,label:r,labelType:Xt.GuideLabel}),A4({axis:e,guide:t,label:r})}}function f4(a){let{axis:t,guide:e,guideConfig:i,guideType:r}=a,s=e?.get("label");if(s!==void 0)if(i.label!==void 0){let n=t.get("renderer")instanceof ns,o;t instanceof Ns||(n?r===Rt.SFS?o=Z.verticalSurfaceGuideLabels:o=Z.verticalLineGuideLabels:r===Rt.SFS?o=Z.horizontalSurfaceGuideLabels:o=Z.horizontalLineGuideLabels),jw(s.uid,{guideLabelConfig:i.label});let l={type:V.Text,visible:i.visible,content:{...i.label,verticalAlignment:"middle",horizontalAlignment:"center",rightToLeft:s.get("direction")==="rtl"}};Cn({label:s,labelConfig:l,defaults:o});let h=i.label?.text;typeof h=="string"&&/<\/?[a-z][\s\S]*>/iu.test(h)&&(s.set("html",Er(h)),s.set("text","")),s.events.once(Ji.BoundsChanged,()=>{Pv(t,e)}),Pv(t,e)}else xi(s,!1)}function m4(a){let t=a.dataItem?.component;t instanceof qt?(t.uid!==void 0?Qt(t.uid,"bulletTemplate"):void 0)?.adapters?.remove?.("fill"):t instanceof Li?t.columns?.template?.adapters?.remove?.("fill"):t instanceof Vr&&t.slices?.template?.adapters?.remove?.("fill")}function hk(a){let{element:t,fill:e,fillOpacity:i,pattern:r,chartBackgroundFill:s}=a,n=t.get("tooltip"),o=!0,l=t;if(r!==void 0){n!==void 0&&(o=!1,n.get("background")?.set("fill",e)),l.set("fillPattern",r);let h=s??e;l.set("fill",h),l.set("fillOpacity",1),m4(l)}else l.set("fill",e),l.remove("fillPattern"),l.set("fillOpacity",i);n!==void 0&&n.set("getFillFromSprite",o)}function Dv(a,t){a.setAll({stroke:t.stroke,strokeDasharray:t.strokeDasharray,strokeOpacity:t.strokeOpacity,strokeWidth:t.strokeWidth,lineCap:t.linecap})}function uk(a){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return t!==void 0&&e!==void 0&&(n=Xw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(t.setAll({svgPath:n.path,rotation:n.angle,dx:n.xOffset,dy:n.yOffset}),hk({element:t,fill:n.fill,fillOpacity:n.fillOpacity}),Dv(t,n.outline)),xi(t,i)),n}function xu(a){let{root:t,element:e,fillSymbol:i,visible:r,defaultToColorFromRamp:s,colorRampIndex:n,isChartFillSymbol:o,keepCurrentVisibility:l,chartBackgroundColor:h}=a,u=nx(i?.style),c=e4(e),d=h??(u?J1(c)??[...Z.backgroundColor]:void 0),A;if(e!==void 0&&!e.isDisposed()){if(i!==void 0&&(A=Xw({root:t,symbol:i,defaultToColorFromRamp:s,colorRampIndex:n,isChartFillSymbol:o,chartBackgroundColor:d}),A!==void 0)){let p=d!==void 0?zt(d).color:void 0;hk({element:e,fill:A.fill,fillOpacity:A.fillOpacity,pattern:A.pattern,chartBackgroundFill:p}),Dv(e,A.outline)}l||xi(e,r)}return A}function Fo(a){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return t!==void 0&&!t.isDisposed()&&(e!==void 0&&(n=Xw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(Dv(t,n),t instanceof qt&&Dv(t.strokes.template,n))),xi(t,i)),n}function Ja(a){let{root:t,element:e,seriesIndex:i,seriesSymbol:r,isChartFillSymbol:s,colorMatch:n,rendererSymbol:o,keepCurrentVisibility:l,visible:h}=a,u,c;n&&o!==void 0&&(u=yx({rendererSymbol:o,seriesSymbol:r,colorIndex:i}));let d={root:t,element:e,defaultToColorFromRamp:!0,colorRampIndex:i},A=u??{...r};switch(r.type){case Rt.SLS:c=Fo({...d,lineSymbol:A,visible:h});break;case Rt.SFS:c=xu({...d,fillSymbol:A,isChartFillSymbol:s,keepCurrentVisibility:l});break;case Rt.SMS:c=uk({...d,markerSymbol:A});break}return{symbolWithColorInfo:A,stylingInfo:c}}function cI(a,t){if(t!==void 0){let{elementColor:e,elementOutlineColor:i,elementOutlineWidth:r,rotation:s,transformation:n}=t,{opacity:o,scale:l}=n??{};e!==void 0&&a.setAll({fill:zt(e).color,fillOpacity:1}),i!==void 0&&a.setAll({stroke:zt(i).color,strokeOpacity:1}),r!==void 0&&a.setAll({strokeWidth:r}),s!==void 0&&a.setAll({rotation:s}),l!==void 0&&a.setAll({scale:l}),o!==void 0&&a.setAll({fillOpacity:o,strokeOpacity:o})}}function qn(a){let{root:t,type:e,intlOptions:i,formatLocale:r}=a,s;switch(e){case V.NumberAxisFormat:{s=Jh.new(t,{}),s.set("intlLocales",r),s.set("numberFormat",i);break}case V.DateAxisFormat:{s=Pc.new(t,{}),s.set("intlLocales",r);break}}return s}function g4(a,t,e){let i=t-a,r=[];if(i!==0){if(e===1)r=[a];else if(e>1){let s=i/(e-1);r=[...eT(a,t,s),t]}}return r}function y4({x:a,mean:t,stddev:e,scalingFactor:i}){let r=-1/(2*e**2);return(i??1)*Math.exp(r*(a-t)**2)}function v4(a){let t=0;if(a.length>0)for(let e=0;e<a.length;e+=1)a[e].count>t&&(t=a[e].count);return t}function ck(a){let t=!1,e;if(a.target.dataItem?.component instanceof zr?{chart:e}=a.target.dataItem.component:(a.target instanceof Yn||a.target instanceof Al)&&({chart:e}=a.target),e instanceof bi||e instanceof Vs){let i=fe(e.uid,"actionMode");if(i!==void 0){let{originalEvent:r}=a;t=i===Ut.MultiSelection||i===Ut.MultiSelectionWithCtrlKey&&("ctrlKey"in r&&r.ctrlKey||"metaKey"in r&&r.metaKey)}}return t}function ra(a){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,backToDefaultState:s}=a,n=!1;if(t!==void 0){let o=yl(t.uid,"selected")??!1;n=o,i!==!0?r===!0?n=o?!1:o!==e:n=e:n=o!==e;let l=s===!0?ia.Default:ia.CustomInactive;t.states.apply(ia.Default),t.states.apply(n?ia.CustomActive:l),n!==o&&(zW(t.uid,{selected:n}),n&&(t.toFront(),t.dataItem?.component instanceof zr&&t.dataItem.component.toFront()))}return n}function b4(a,t){let e=fe(t.chart?.uid??Number.NaN,"actionMode"),i=ck(a);return e===Ut.MonoSelection||e===Ut.MultiSelectionWithCtrlKey&&!i}function os(a,t){let{selectedElementsTheme:e,nonSelectedElementsTheme:i}=t??Z.selectionTheme??{},r=a.states.create(ia.CustomActive,{}),s=a.states.create(ia.CustomInactive,{});cI(r,e),cI(s,i)}function xA(a){let{value:t,valueFormat:e,formatLocale:i,root:r}=a,s=t?.toString(),n=qn({type:e.type,intlOptions:e.intlOptions,formatLocale:i,root:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?s=n.format(t,$o(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(s=n.format(t,$o(e))),s}async function x4(a){let{root:t,exportOptions:e}=a,{format:i,quality:r=1,...s}=e,n=r<0||r>1?1:r,o=await cu.new(t,{}).exportImage(i,{quality:n,...s}),l=n1(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function gA(a,t){if(a!==void 0&&t!==void 0&&(a.states.lookup("default")?.setAll({fill:t.fill,fillOpacity:t.fillOpacity}),t.outline!==void 0)){let{outline:e}=t;a.states.lookup("default")?.setAll({stroke:e.stroke,strokeOpacity:e.strokeOpacity,strokeDasharray:e.strokeDasharray,lineCap:e.linecap,strokeWidth:e.strokeWidth})}}function dk(a){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i,externalDataLabelFormatter:r}=a;return(s,n)=>{let o=i===Oi.Stacked100&&n!==void 0?n:s;return t.get("numberFormat").style==="percent"&&(o/=100),xa({textSymbol:{...e,text:t.format(o)},format:r===void 0?"amChartsV5":"html"})}}function _4(a,t){let e=a.dataItem,i;switch(t){case V.LineSeries:case V.ScatterSeries:i=e.get("point");break;case V.HistogramSeries:case V.BarSeries:case V.HeatSeries:i=e.get("graphics");break}let r=i??a,s=i?.x??r?.get("x")??0,n=i?.y??r?.get("y")??0;return{x:s,y:n}}function Ak(a){let{label:t,chart:e,seriesType:i}=a,r=n=>{if(e instanceof bi){let o=_4(n,i),l=e.plotContainer,h=l.x(),u=l.y(),c=o.x<h||o.x>h+l.width()||o.y<u||o.y>u+l.height();n.setAll({visible:!c,forceHidden:c})}},s=ks((n,o)=>{o&&r(o)},Z.debounceTime);t.on("x",s),t.on("y",s)}function C4(a){let{series:t,label:e,isHeatChart:i}=a;e.adapters.add("y",(r,s)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=s.dataItem;if(h!==void 0&&l!==void 0&&l!==null){let u=h?.get("valueY"),c=s.localBounds().bottom;if(o!==!0){let d=Z.dataLabelNegative?.paddingTop??0;if(t.get("stacked")||i)if(u<0)l+=c-d;else{let A=i?Z.heatChartLabelPadding.paddingTop:0;l+=c/2+A}}else{let d=Z.rotatedChartPadding?.paddingTop??0;l+=c/2+d}}return l}),e.adapters.add("x",(r,s)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=s.dataItem;if(h!==void 0&&l!==void 0&&l!==null&&o===!0){let u=h?.get("valueX"),c=s.width()/2,d=Z.rotatedChartPadding?.paddingRight??0,A=c+d;t.get("stacked")||(u<0?l-=A:l+=A)}return l})}function w4(a){let{series:t,externalDataLabelFormatter:e}=a;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config"),r=i?.series?.find(h=>h.id===t.get("id"))?.dataLabels??a.dataLabelsConfig,s=cs(i),n=t.get("stacked"),o=fa.new(t.root,{locationY:!n&&!s?1:void 0,locationX:!n&&s?1:void 0,sprite:Kt.new(t.root,{text:s?"{valueX}":"{valueY}",populateText:!0,centerY:ge,centerX:jr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:zt(r?.content.color).color,fontSize:r?.content.font?.size})}),l=o.get("sprite");if(l){let h=l;fk({dataLabel:h,series:t,externalDataLabelFormatter:e}),mk({...a,dataLabelsConfig:r,dataLabel:h,dataLabelFormatter:dk})}return o})}function zw(a,t=1){a.bullets.removeIndex(t)}function pk(a){let{textBackgroundColor:t,chartBackgroundColor:e,fillOpacity:i}=a,r;return ep({r:t.r,g:t.g,b:t.b,a:i})?r=ep({r:e.r,g:e.g,b:e.b,a:i})?zt(fF).color:e:r=ep({r:e.r,g:e.g,b:e.b,a:i})?e:zt(pF).color,r}function B4(a){let{dataLabel:t,labelConfigColor:e,seriesColor:i,backgroundColor:r,autoInverseDataLabelTextColor:s,isHeatChart:n}=a,o=r??zt(Z.backgroundColor).color;s===!0&&i&&t.adapters.add("fill",(l,h,u)=>{let c=e??h.text.get("fill"),d=(h.dataItem?.component).get("stacked"),A=c;if(c&&(d||n)){let p=h.dataItem.get("graphics"),f=p?.get("fillOpacity");A=pk({textBackgroundColor:p?.get("fill")??i,chartBackgroundColor:o,fillOpacity:f})}return A})}function fk(a){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=a;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Qf({label:t,labelOutputProp:r}),t.adapters.add(r,(s,n)=>{let o=s??"",l=n.dataItem,h=Qt(e.uid,e instanceof Li?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(h!==void 0&&e.chart&&l){let u=fe(e.chart.uid,"config"),c=cs(u),d=c?l.get("valueX"):l.get("valueY"),A=c?l.get("valueXTotalPercent"):l.get("valueYTotalPercent");o=h($s(u)===Oi.Stacked100?A:d)}return r==="html"?Er(o):o})}function Qf(a){let{label:t,labelOutputProp:e}=a,i=t;e==="html"?i.set("html",Z.htmlEmptyContent):i.set("html",void 0)}function zv(a){let{series:t,seriesConfig:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:s,isRotated:n,seriesType:o,defaultDataLabelFormatter:l,externalDataLabelFormatter:h}=a;if(i!==void 0){let{chart:u}=t,c=h,d=s?.content??{type:Rt.TS},A=u?fe(u.uid,"config"):void 0;if(u&&h===void 0&&l!==void 0&&A?.axes?.[1]?.valueFormat?.type===V.NumberAxisFormat){let y=fe(u.uid,"formatLocale"),x=o===V.HeatSeries?{type:V.NumberAxisFormat,intlOptions:{}}:A?.axes?.[1]?.valueFormat,w=$s(A),S=w===Oi.Stacked100?{...zm().intlOptions,...x.intlOptions,style:"percent"}:{...x.intlOptions},T=qn({root:u.root,type:x.type,formatLocale:y,intlOptions:S});c=l({numberFormatter:T,dataLabelsConfigContent:d,stackedType:w,externalDataLabelFormatter:h})}let p;switch(o){case V.BarSeries:p="barSeriesDataLabelFormatter";break;case V.LineSeries:p="lineSeriesDataLabelFormatter";break;case V.HistogramSeries:p="histogramDataLabelFormatter";break;case V.ScatterSeries:p="scatterplotDataLabelFormatter";break;case V.HeatSeries:p="heatChartDataLabelFormatter";break}p!==void 0&&Kr(t.uid,{[p]:c}),s!==void 0&&(o===V.HeatSeries?s.content.text="{value}":s.content.text=n===!0?"{valueX}":"{valueY}",s.visible=s.visible!==!1),Cn({label:i,labelConfig:s,defaults:r??Z.dataLabel,skipSettingText:!0});let f=t.get("stacked"),m=f&&o===V.BarSeries&&e?.hideOversizedStackedLabels!==!1,g=!f&&o===V.BarSeries&&e?.hideOversizedSideBySideLabels===!0;g||m?i.setAll({oversizedBehavior:"hide",maxWidth:void 0,maxHeight:g?100:void 0}):i.setAll({oversizedBehavior:"none"})}}function S4(a){let{series:t,labelDefaults:e,externalDataLabelFormatter:i}=a;t.dataItems.forEach(r=>{let s=r.bullets?.[1];if(s){s.set("locationY",t.get("stacked")?void 0:1);let n=s.get("sprite");n&&(fk({dataLabel:n,series:t,externalDataLabelFormatter:i}),zv({...a,dataLabel:n,labelDefaults:e,defaultDataLabelFormatter:dk,externalDataLabelFormatter:i}))}})}function mk(a){let{series:t,dataLabelsConfig:e,autoInverseDataLabelTextColor:i,externalDataLabelFormatter:r,labelDefaults:s,seriesType:n,dataLabel:o,isHeatChart:l,dataLabelFormatter:h}=a;o&&(t.chart&&e?.visible&&Ak({label:o,chart:t.chart,seriesType:n}),C4({series:t,label:o,isHeatChart:l}),zv({...a,dataLabel:o,labelDefaults:s,defaultDataLabelFormatter:h,externalDataLabelFormatter:r}),B4({dataLabel:o,labelConfigColor:zt(e?.content.color).color,seriesColor:t.get("fill"),backgroundColor:t.chart?.get("background")?.get("fill"),autoInverseDataLabelTextColor:i,isHeatChart:l}))}function gk(a){let{series:t,dataLabelsConfig:e}=a,i=e?.visible,r=t.bullets.hasIndex(1);i!==!0?r&&zw(t):(r||w4(a),S4(a))}function F4(a){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=a;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Qf({label:t,labelOutputProp:r}),t.adapters.add(r,(s,n)=>{let o=s??"",l=n.dataItem,h=Qt(e.uid,"heatChartDataLabelFormatter"),u=fe(e.chart?.uid??NaN,"config");if(h!==void 0&&l){let c=l.get("value"),d=l.get("categoryX"),A=l.get("categoryY");c===null?o=u?.series[0].emptyCells?.text??Z.heatChart.emptyCells?.text??"":c!==void 0&&(o=h(c,d,A))}return r==="html"?Er(o):o})}function T4(a){let{numberFormatter:t,dataLabelsConfigContent:e}=a;return i=>xa({textSymbol:{...e,text:t.format(i)},format:"amChartsV5"})}function P4(a){let{series:t,externalDataLabelFormatter:e}=a;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config")?.series?.[0]?.dataLabels??a.dataLabelsConfig,r=fa.new(t.root,{sprite:Kt.new(t.root,{text:"{value}",populateText:!0,centerY:ge,centerX:jr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:zt(i?.content.color).color,fontSize:i?.content.font?.size,oversizedBehavior:"hide"})}),s=r.get("sprite");if(s){let n=s;F4({dataLabel:n,series:t,externalDataLabelFormatter:e}),mk({...a,dataLabelsConfig:i,dataLabel:n,isHeatChart:!0,dataLabelFormatter:T4}),n.set("oversizedBehavior","hide"),n.set("maxWidth",void 0),n.set("maxHeight",void 0)}return r})}function D4(a){let{series:t,dataLabelsConfig:e}=a,i=e?.visible;t.bullets.hasIndex(0)&&zw(t,0),i===!0&&P4(a)}var Ps={nameField:"name",fillField:"fill",strokeField:"stroke",fillOpacityField:"fillOpacity",strokeOpacityField:"strokeOpacity"};function Gw(a,t){let e=Yf(a);a.columns.template.set("tooltip",e);let i=t!==void 0||Qt(a.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";ih({element:a.columns.template,labelOutputProp:r}),a.columns.template.setAll({tooltipPosition:Z.columnTooltipPosition}),a.columns.template.adapters.remove("tooltipText"),a.columns.template.adapters.remove("tooltipHTML"),a.columns.template.adapters.add(r,(s,n)=>rh({element:n,series:a,isHTML:i})),a.columns.each(s=>{s.set("tooltip",e),ih({element:s,labelOutputProp:r}),s.adapters.remove("tooltipText"),s.adapters.remove("tooltipHTML"),s.adapters.add(r,(n,o)=>rh({element:o,series:a,isHTML:i}))})}function yk(a){let{axesConfig:t,currentSeries:e,tooltipValueFormat:i}=a,{root:r,chart:s}=e;if(s){let n=t?.[1]?.valueFormat,o=t?.[0].valueFormat,l=fe(s.uid,"formatLocale");if(n?.type===V.NumberAxisFormat){let h=qn({root:r,type:n.type,formatLocale:l,intlOptions:n.intlOptions});Kr(e.uid,{tooltipValueYNumberFormatCallback:u=>h.format(u,i?.intlOptions??n.intlOptions)})}if(o?.type===V.NumberAxisFormat){let h=qn({root:r,type:o.type,formatLocale:l,intlOptions:o.intlOptions});Kr(e.uid,{tooltipValueXNumberFormatCallback:u=>h.format(u,i?.intlOptions??o.intlOptions)})}}}function L4(a){let{axes:t,seriesConfig:e,series:i,fieldList:r,utilsStrings:s}=a,{dataTooltipVisible:n}=e,o,l=fe(i.chart?.uid??0,"rtl")??!1,h=Ra(l);return n===!1?o=(u,c,d)=>"":o=(u,c,d)=>{let A=Or(r,e.x),p=vA(A,t?.[0].title?.content?.text),f=vA(s?.statistics.count??"",t?.[1]?.title?.content?.text??""),m=Qt(i.uid,"tooltipValueXNumberFormatCallback"),g=Qt(i.uid,"tooltipValueYNumberFormatCallback"),y=m?m(c):c,x=m?m(d):d,w=g?g(u):u;return`[bold]${p}${h} [/]${y} - ${x}
|
|
46
|
+
</tr>`,n}exportXLSX(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("xlsx")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getXLSX(t))})}getXLSX(t){return Xe(this,void 0,void 0,function*(){let e=this._getFormatOptions("xlsx",t),i=yield this.getXLSXLib(),r={bookType:"xlsx",bookSST:!1,type:"base64"},s=this._normalizeExcelSheetName(this.get("title",this._t("Data"))),n={SheetNames:[s],Sheets:{}},o=[],l=this.getData("html",e),h=this.getDataFields(l);if(e.pivot){let u=this.get("dataFieldsOrder",[]);Wl(h,(c,d)=>{let A=[];e.addColumnNames&&A.push(d);for(let p=l.length,f=0;f<p;f++){let m=l[f][c];A.push(this.convertToSpecialFormat(c,m,e,!0))}o.push(this.getXLSXRow(A,e,void 0,!0))},(c,d)=>{let A=u.indexOf(c),p=u.indexOf(d);return A>p?1:A<p?-1:0})}else{e.addColumnNames&&o.push(this.getXLSXRow(h,e,void 0,!0));for(let u=l.length,c=0;c<u;c++)o.push(this.getXLSXRow(l[c],e,h))}return n.Sheets[s]=i.utils.aoa_to_sheet(o),this.events.dispatch("workbookready",{type:"workbookready",format:"xlsx",options:e,workbook:n,workbookOptions:r,xlsx:i,target:this}),i.write(n,r)})}_normalizeExcelSheetName(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),t.length>30?t.substr(0,30)+"...":t}getXLSXRow(t,e,i,r=!1){let s=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Wl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),u=r?h:this.convertToSpecialFormat(o,h,e,!0);s.push(u)},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0}),s}_xlsx(){return Xe(this,void 0,void 0,function*(){return yield import("./TWPDFIMS.js")})}getXLSXLib(){return this._xlsx()}exportPDF(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("pdf")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getPDF(t,!0))})}exportPDFData(t){return Xe(this,void 0,void 0,function*(){return"data:"+this.getContentType("pdf")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getPDF(t,!1,!0))})}getPDF(t,e=!0,i=!1){return Xe(this,void 0,void 0,function*(){let r=this._getFormatOptions("pdf",t),s=this._getFormatOptions("pdfdata",t),n=r.pageOrientation||"portrait",o,l={width:0,height:0};if(e){let g=r.imageFormat||"png",y=this._getFormatOptions(g,r),x=yield this.getCanvas(y);l.width=x.clientWidth,l.height=x.clientHeight,o=x.toDataURL(this.getContentType(g),r.quality||1),this.disposeCanvas(x)}let h=yield this.getPdfmake(),u=[30,30,30,30],c={pageSize:r.pageSize||"A4",pageOrientation:n,pageMargins:r.pageMargins||u,defaultStyle:{font:r.font?r.font.name:void 0},content:[]},d=this.get("title"),A=0;if(d&&(c.content.push({text:d,fontSize:r.fontSize||14,bold:!0,margin:[0,0,0,15]}),A+=50),r.addURL&&(c.content.push({text:this._t("Saved from")+": "+document.location.href,fontSize:r.fontSize,margin:[0,0,0,15]}),A+=50),e&&o){let g=this.getPageSizeFit(c.pageSize,c.pageMargins,A,n);l.width>g[0]||l.height>g[1]?c.content.push({image:o,alignment:r.align||"left",fit:g}):c.content.push({image:o,alignment:r.align||"left"})}(i||r.includeData)&&this.hasData()&&c.content.push({table:yield this.getPDFData(s),fontSize:r.fontSize||14});let p=null,f=null;function m(g){let y={};y.normal=g.normal.path,f[g.normal.path]=g.normal.bytes,g.bold?(y.bold=g.bold.path,f[g.bold.path]=g.bold.bytes):y.bold=g.normal.path,g.italics?(y.italics=g.italics.path,f[g.italics.path]=g.italics.bytes):y.italics=g.normal.path,g.bolditalics?(y.bolditalics=g.bolditalics.path,f[g.bolditalics.path]=g.bolditalics.bytes):y.bolditalics=g.normal.path,p[g.name]=y}return r.font&&(p={},f={},m(r.font),r.extraFonts&&J(r.extraFonts,m),h.addFonts(p),h.addVirtualFileSystem(f)),this.events.dispatch("pdfdocready",{type:"pdfdocready",format:"pdf",options:r,doc:c,target:this}),yield h.createPdf(c,{}).getBase64()})}getPDFData(t){return Xe(this,void 0,void 0,function*(){let e=this._getFormatOptions("pdfdata",t),i={body:[]},r=this.getData("html",e),s=this.getDataFields(r);if(e.pivot){let n=this.get("dataFieldsOrder",[]);Wl(s,(o,l)=>{let h=[];e.addColumnNames&&h.push(l);for(let u=r.length,c=0;c<u;c++){let d=r[c][o];h.push(this.convertToSpecialFormat(o,d,e,!0))}i.body.push(this.getPDFDataRow(h,e,void 0,!0))},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0})}else{e.addColumnNames&&(i.body.push(this.getPDFDataRow(s,e,void 0,!0)),i.headerRows=1);for(let n=r.length,o=0;o<n;o++)i.body.push(this.getPDFDataRow(r[o],e,s))}return i})}getPDFDataRow(t,e,i,r=!1){let s=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Wl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),u=r?h:this.convertToSpecialFormat(o,h,e);u=""+u,s.push(u)},(o,l)=>{let h=n.indexOf(o),u=n.indexOf(l);return h>u?1:h<u?-1:0}),s}getPdfmake(){return GC===void 0&&(GC=CN()),GC}getPageSizeFit(t,e,i=0,r="portrait"){let s=[0,0,0,0];ie(e)?s=[e,e,e,e]:e.length==2?s=[e[0],e[1],e[0],e[1]]:e.length==4&&(s=e);let o={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}[t];return r=="landscape"&&o.reverse(),o[0]-=s[0]+s[2],o[1]-=s[1]+s[3]+i,o}hasData(){let t=this.get("dataSource");return!!(Py(t)&&t.length)}getData(t,e,i=!1){let r=this._getFormatOptions(t,e),s=this.get("dataSource",[]),n=s,o=this.get("dataFields");o&&Py(s)&&(n=[],J(s,h=>{if(Nn(h)){let u={};Ot(o,(c,d)=>{o[c]!=null&&(u[i?d:c]=this.convertToSpecialFormat(c,h[c],r))}),n.push(u)}}));let l={type:"dataprocessed",format:t,options:r,data:n,target:this};return this.events.dispatch("dataprocessed",l),l.data}getDataFields(t){let e=this.get("dataFields");return e||(e={},Py(t)&&t.length&&J(t,i=>{Ot(i,(r,s)=>{e[r]==null&&(e[r]=r)})})),e}convertEmptyValue(t,e,i){return e??i.emptyAs}convertToSpecialFormat(t,e,i,r){if(typeof e=="number")if(this.isDateField(t))e=new Date(e);else{if(this.isNumericField(t)&&this.get("numberFormat"))return this._root.numberFormatter.format(e,this.get("numberFormat"));if(this.isDurationField(t))return this._root.durationFormatter.format(e,this.get("durationFormat"),this.get("durationUnit"))}return e instanceof Date&&(i.useTimestamps?e=e.getTime():i.useLocale?r||(e=e.toLocaleString()):e=this._root.dateFormatter.format(e,this.get("dateFormat"))),e}isDateField(t){return this.get("dateFields").indexOf(t)!==-1}isNumericField(t){return this.get("numericFields").indexOf(t)!==-1}isDurationField(t){return this.get("durationFields").indexOf(t)!==-1}getContentType(t){let e="";switch(t){case"png":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"html":e="text/html";break;case"pdf":case"pdfdata":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";break;default:e="application/octet-stream"}return e}getDisposableCanvas(){let t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",this._root.dom.appendChild(t),t}disposeCanvas(t){this._root.dom.removeChild(t)}findBackgroundColor(t){let e=1,i=getComputedStyle(t,"background-color").getPropertyValue("background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||i=="transparent")&&(e=0),e==0){let r=t.parentElement;return r?this.findBackgroundColor(r):ot.fromHex(16777215)}else return ot.fromCSS(i)}streamFile(t,e,i=!1){if(this.blobDownloadSupport()){let r=document.createElement("a");r.download=e,document.body.appendChild(r);let s=t.split(";"),n=s.shift().replace(/data:/,"");if(t=decodeURIComponent(s.join(";").replace(/^[^,]*,/,"")),["image/svg+xml","application/json","text/csv","text/html"].indexOf(n)==-1)try{t=atob(t)}catch{return!1}else{i&&(t="\uFEFF"+t);let u=new Blob([t],{type:n}),c=window.URL.createObjectURL(u);return r.href=c,r.download=e,r.click(),setTimeout(()=>{document.body.removeChild(r),window.URL.revokeObjectURL(c)},100),!0}let o=new Array(t.length);for(let u=0;u<t.length;++u){let c=t.charCodeAt(u);o[u]=c}i&&(o=[239,187,191].concat(o));let l=new Blob([new Uint8Array(o)],{type:n}),h=window.URL.createObjectURL(l);r.href=h,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r),setTimeout(()=>{window.URL.revokeObjectURL(h)},100)}else if(this.linkDownloadSupport()){let r=document.createElement("a");r.download=e,r.href=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}else window.location.href=t;return!0}downloadSupport(){return this.linkDownloadSupport()}linkDownloadSupport(){return typeof document.createElement("a").download<"u"}blobDownloadSupport(){return window.Blob!=null}initiatePrint(t,e,i){let r=this._getFormatOptions("print",e);r.printMethod=="css"?this._printViaCSS(t,r,i):this._printViaIframe(t,r,i)}_printViaCSS(t,e,i){let s=this._getFormatOptions("print",e).delay||500,n=document.documentElement.scrollTop||document.body.scrollTop,o=new ff(O_(this._root.dom),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"},this._root.nonce),l=new ff(O_(this._root.dom),"body",{padding:"0",margin:"0"},this._root.nonce),h;i&&document&&document.title&&(h=document.title,document.title=i);let u=new Image;u.src=t,u.style.maxWidth="100%",u.style.display="block",u.style.position="relative",u.style.visibility="visible",u.style.opacity="1",u.style.clipPath="none",document.body.appendChild(u),this.setTimeout(()=>{window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&s<1e3?s=1e3:s<100&&(s=100),this.setTimeout(()=>{document.body.removeChild(u),o.dispose(),l.dispose(),h&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},s||500)}_printViaIframe(t,e,i){let s=this._getFormatOptions("print",e).delay||500,n=document.createElement("iframe");n.style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close();let o=new Image;o.src=t,o.style.maxWidth="100%",o.style.height="auto",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(o),n.load=function(){n.contentWindow.document.body.appendChild(o)},this.setTimeout(()=>{try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch{n.contentWindow.print()}},s||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&s<1e3?s=1e3:s<100&&(s=100),this.setTimeout(()=>{document.body.removeChild(n)},s+50||100)}supportedFormats(){let t=[],e=this.hasData(),i=this.downloadSupport();return J(["png","jpg","canvas","pdf","xlsx","csv","json","html","pdfdata","print"],r=>{this._getFormatOptions(r).disabled!==!0&&(["xlsx","csv","json","html","pdfdata"].indexOf(r)==-1||e&&i)&&t.push(r)}),t}supportedExportTypes(){let t=["image","print"];return this.downloadSupport()&&this.hasData()&&t.push("data"),t}};cu.className="Exporting";cu.classNames=fi.classNames.concat([cu.className]);var _v=new Map;function Kn(a){a!==void 0&&_v.delete(a)}function Wc(a,t){let e=_v.get(a)??{};_v.set(a,{...e,...t})}function Xc(a,t){return _v.get(a)?.[t]}function SN(a,t){return Xc(a,t)}function FN(a,t){Wc(a,t)}function TN(a,t){return Xc(a,t)}function PN(a,t){Wc(a,t)}function ve(a,t){return Xc(a,t)}function ai(a,t){Wc(a,t)}function sa(a,t){return Xc(a,t)}function Jn(a,t){Wc(a,t)}function Qs(a,t){return Xc(a,t)}function Ls(a,t){Wc(a,t)}function DN(a,t){return Xc(a,t)}function LN(a,t){Wc(a,t)}function gs(a,t){return Xc(a,t)}function gu(a,t){Wc(a,t)}function Ui(a,t){t===!1&&!a.isHiding?(a.visible=!1,a.hide()):a.isShowing||(a.visible=!0,a.show())}function IN(a,t){for(let e=0;e<t.length;e+=1){let i=t[e][0],r=t[e][1],s=a.length;i>=0&&i<s&&r>=0&&r<s&&a.swap(t[e][0],t[e][1])}}function UI(a,t){let e;if(a!==void 0&&"rgb"in a&&a.rgb!==void 0){let i=a.rgb;if(i!==void 0){let{r,g:s,b:n}=i;e=[r,s,n,255]}}return e}function Qc(a){let t=a??[0,0,0,255];return new xt({a:t[3]/255,b:t[2],g:t[1],r:t[0]})}function Yr(a){return a.bullets.values.find(t=>DN(t.uid,"isBulletMarker"))}function wn(a){return a!=null&&!a.isDisposed()}function Ef(a){return(a.isShowing||a.visible)&&!a.isHidden&&!a.isHiding&&!a.disabled&&!a.__disabled}function VI(a,t){return a.pixelX<0||a.pixelX>t?.plotContainer?.measuredWidth||a.pixelY<0||a.pixelY>t?.plotContainer?.measuredHeight}function kN(a){let t;return a.baseSprite instanceof Vt||a.baseSprite instanceof qi?t=a.baseSprite:(a instanceof Rh||a instanceof qd)&&(t=a.axis.chart),t}function $N(a){return UI(a.background.fill)}var re={...pt};function ON(a){let{fill:t,rotation:e,isLinePattern:i,chartBackgroundColor:r}=a,s;return i!==!1?(s=new bc,s.width=re.patternLineProperties.width??Number.NaN,s.height=re.patternLineProperties.height??Number.NaN,s.strokeWidth=re.patternLineProperties.strokeWidth??Number.NaN,s.stroke=t,s.rotation=e??Number.NaN):(s=new xc,s.rectWidth=re.patternRectProperties.rectWidth??Number.NaN,s.rectHeight=re.patternRectProperties.rectHeight??Number.NaN,s.width=re.patternRectProperties.width??Number.NaN,s.height=re.patternRectProperties.height??Number.NaN,s.fillOpacity=re.patternRectProperties.fillOpacity??Number.NaN,s.strokeWidth=re.patternRectProperties.strokeWidth??Number.NaN,s.fill=Qc(r),s.stroke=t,s.rotation=e??Number.NaN),s}function jL(a){let t=Number.NaN;if(typeof a=="number")t=a;else if(a.includes("%")){let e=Number.parseFloat(a.trim().replace("%","").trim());Number.isFinite(e)&&(t=he(e))}return t}function EN(a){let{fill:t,style:e,chartBackgroundColor:i}=a,r,s,n=!0;switch(e){case bs.Horizontal:{s=0;break}case bs.Vertical:{s=90;break}case bs.ForwardDiagonal:{s=45;break}case bs.BackwardDiagonal:{s=135;break}case bs.Cross:{s=0,n=!1;break}case bs.DiagonalCross:{s=135,n=!1;break}case bs.Solid:}return s!==void 0&&(r=ON({fill:t,rotation:s,isLinePattern:n,chartBackgroundColor:i})),r}function bn(a,t){let e;t!==void 0&&(e=Qc(t));let i=e??new xt({r:0,g:0,b:0,a:0});if(a!=null){let[r,s,n,o]=a;i=new xt({r,g:s,b:n,a:o/255})}return i}function NI(a,t=0){return(a??t)%360}function MN(a,t){return t!==!0||a?.includes("Dot")===!0?"round":"square"}function QI(a,t){let e="none";switch(a??t){case"justify":case"center":e="center";break;case"left":e="left";break;case"right":e="right";break}return e}function xw(a,t){let e="middle";switch(a??t){case"right":e="left";break;case"left":e="right";break}return e}function RN(a,t){let e="none";switch(a??t){case"baseline":case"middle":e="middle";break;case"top":e="top";break;case"bottom":e="bottom";break}return e}function HI(a,t){let e="middle";switch(a??t){case"top":e="bottom";break;case"bottom":e="top";break;default:e="middle";break}return e}function UN(a,t){let e=a??us.Solid,i=t??re.lineWidth,r={[us.Solid]:"none",[us.Dot]:[1,i],[us.DashDotDot]:[4*i,i,1,i,1,i],[us.Dash]:[4*i,3*i],[us.DashDot]:[4*i,3*i,1,3*i],[us.Null]:"none"};return(r[e]??r[us.Null]).toString()}function jI(a,t){let e={stroke:bn(),strokeWidth:re.lineWidth,strokeDasharray:"",strokeLinecap:t!==!0?"round":"square",strokeOpacity:cd};return a!=null&&(e.stroke=bn(a.color),e.strokeOpacity=1,a.width!==void 0&&(e.strokeWidth=a.width),a.style!==void 0&&a.style!==us.Null&&(e.strokeDasharray=UN(a.style,e.strokeWidth),e.strokeLinecap=MN(a.style,t))),e}function WI(a,t){let e=a,[i,r,s,n]=a?.color??t??re.color,o=[i,r,s,n];return e==null?e={type:Rt.SLS,color:o}:e.color===void 0&&(e.color=o),jI(e,!1)}function VN(a,t){let{color:e,outline:i,style:r}=a,s=bn(e);return{pattern:EN({fill:s,style:r,chartBackgroundColor:t}),fill:s,outline:WI(i,e)}}function NN(a){let{color:t,outline:e,xoffset:i,yoffset:r,style:s,size:n,angle:o}=a,l=s!==void 0?ox(s,n):"",h=NI(o);return{path:l,fill:bn(t),outline:WI(e,t),xOffset:i??0,yOffset:r??0,angle:h}}function _w(a){let{symbol:t,defaultToColorFromRamp:e,colorRampIndex:i,isChartFillSymbol:r=!1,chartBackgroundColor:s}=a,n;if(e===!0){let o=r?Hm:cd;if(t.color=t.color??vh({colorIndex:i,opacity:o}),gd(t)||op(t)){let{outline:l}=t;l!==void 0&&(l.color=l?.color??vh({colorIndex:i}),t.outline={...l})}}return Dx(t)?n=jI(t,!0):op(t)?(t.style??=re.lineSeries.marker.markerStyle,t.size??=re.lineSeries.marker.markerBigSize,n=NN(t)):gd(t)&&(n=VN(t,s)),n}function Cv(a,t,e){let i=xw(a.horizontalAlignment,e?.horizontalCenter),r=QI(a.horizontalAlignment,e?.align),s=HI(a.verticalAlignment,e?.verticalCenter),n=RN(a.verticalAlignment,e?.valign);return{fill:bn(a.color,re.color),fontFamily:a.font?.family??"Arial, Helvetica, sans-serif",fontSize:a.font?.size??re.generalFontSize,fontWeight:a.font?.weight??"400",textDecoration:a.font?.decoration??"none",align:r,valign:n,verticalCenter:s,horizontalCenter:i,text:xa({textSymbol:a,format:"amChartsV4"}),angle:NI(a.angle,e?.rotation),xOffset:a.xoffset??e?.dx??0,yOffset:a.yoffset??e?.dy??0,backgroundFill:bn(a.backgroundColor),borderFill:bn(a.borderLineColor),borderWidth:a.borderLineSize??1,haloSize:a.haloSize??-1,haloColor:bn(a.haloColor),rtl:a.rightToLeft??t,wrap:e?.wrap??!1,maxWidth:e?.maxWidth??Number.NaN}}function XI(a,t,e){e!==void 0&&a.tooltip!==void 0&&(a.tooltip.getFillFromObject=!1,a.tooltip.background.fill=t),a.fill=e??t,a.fillOpacity=Ne(a.fill.toString()).alpha===0?0:1}function mA(a,t){a.stroke=t.stroke,a.strokeOpacity=t.stroke.alpha===0?0:1,a.strokeDasharray=t.strokeDasharray,a.strokeLinecap=t.strokeLinecap,a.strokeWidth=t.strokeWidth}function wv(a){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return e!==void 0?(n=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(t.path=n.path,t.rotation=n.angle,t.dx=n.xOffset,t.dy=n.yOffset,XI(t,n.fill),mA(t,n.outline)),Ui(t,i),t.disabled=i===!1):t.disabled=!0,n}function Nc(a){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return e!==void 0?(n=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&mA(t,n),Ui(t,i)):Ui(t,!1),n}function Mf(a){let{element:t,fillSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s,isChartFillSymbol:n}=a,o,l;if(e!==void 0){if(e.style===bs.Cross||e.style===bs.DiagonalCross){let h=kN(t);h!==void 0&&(l=$N(h))}o=_w({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s,isChartFillSymbol:n,chartBackgroundColor:l}),o!==void 0&&(XI(t,o.fill,o.pattern),mA(t,o.outline)),t.disabled=i===!1}else t.disabled=!0;return o}function pu(a){let{element:t,seriesIndex:e,colorMatch:i,seriesSymbol:r,isChartFillSymbol:s,rendererSymbol:n,seriesConfig:o}=a,l,h;i===!0&&n&&(l=yx({rendererSymbol:n,seriesSymbol:r,colorIndex:e}));let u={element:t,defaultToColorFromRamp:!0,colorRampIndex:e,seriesConfig:o},c=l??{...r};switch(r.type){case Rt.SLS:h=Nc({...u,lineSymbol:c});break;case Rt.SFS:h=Mf({...u,fillSymbol:c,isChartFillSymbol:s});break;case Rt.SMS:h=wv({...u,markerSymbol:c});break}return{symbolWithColorInfo:c,stylingInfo:h}}function WL(a,t){if(t!==void 0){let e=a.properties,{elementColor:i,elementOutlineColor:r,elementOutlineWidth:s,rotation:n,transformation:o}=t,{opacity:l,scale:h}=o??{};i!==void 0&&(e.fill=Qc(i),e.fillOpacity=Ne(e.fill.toString()).alpha===0?0:1),r!==void 0&&(e.stroke=Qc(r)),s!==void 0&&(e.strokeWidth=s),n!==void 0&&(e.rotation=n),h!==void 0&&(e.scale=h),l!==void 0&&(e.fillOpacity=(e.fillOpacity??1)*l,e.strokeOpacity=(e.strokeOpacity??1)*l)}}function QN(a,t,e){let i=new Set(Array.from(t)),r=a.findIndex(s=>!i.has(tw(s)));return r!==-1?r:e}function tw(a){return`${a[0]},${a[1]},${a[2]}`}function HN(a){let{chartConfig:t,queryObject:e,popupTemplateFieldInfosEnabled:i,labelUpdateNeeded:r,utilsStrings:s}=a,{series:n}=t,o=n[0],{x:l}=o,h=!FF({chartConfig:t}),u=It([o]),c=u===ke.PieFromFields,d=Os(e),A=Ch(d).idField,p=_a(e,i);return{x:l,isNonAggregatedChart:h,objectIdField:A,isPieFromFields:c,seriesConfig:o,fieldList:p,labelUpdateNeeded:r,chartSubType:u,colorMatch:Fl(t),utilsStrings:s}}function jN(a){let{dataContext:t,seriesConfig:e,existingSlicesColors:i,isGroupOfSlices:r,sliceFromConfig:s,dataIndex:n,colorMatch:o,chartSubType:l}=a,h=r?{...pt.pieChart.sliceGrouping.fillSymbol,...e.sliceGrouping?.fillSymbol}:_r(s?.fillSymbol??e.fillSymbol),u=on({dataItem:t,seriesConfig:e,chartSubType:l,colorMatch:o}),c=n;h?.color||(c=QN(AF,i,n));let d={dataItem:{dataContext:t}},{symbolWithColorInfo:A}=pu({element:d,seriesConfig:e,y:e.y,seriesSymbol:h??Ym(),seriesIndex:c,rendererSymbol:u,colorMatch:o,isChartFillSymbol:!0});return A}function XL(a,t){let{x:e,isNonAggregatedChart:i,objectIdField:r,isPieFromFields:s,seriesConfig:n,fieldList:o,labelUpdateNeeded:l,colorMatch:h,chartSubType:u,utilsStrings:c}=a,d=[],A,p,f=new Set;return t?.forEach((m,g)=>{let y=GN({dataContext:m,x:e,isNonAggregatedChart:i,dataIndex:g,objectIdField:r,isPieFromFields:s});m[pt.pieChart.technicalFieldSliceId]=y;let x=iw(n.slices,y);x?.fillSymbol?.color!==void 0&&f.add(tw(x.fillSymbol.color))}),t?.forEach((m,g)=>{let y=m[pt.pieChart.technicalFieldSliceId],x=iw(n.slices,y),w=sh(m),S=jN({dataContext:m,seriesConfig:n,existingSlicesColors:f,isGroupOfSlices:w,sliceFromConfig:x,dataIndex:g,colorMatch:h,chartSubType:u});S.color&&f.add(tw(S.color));let T=YN({dataContext:m,sliceFromConfig:x,isGroupOfSlices:w,seriesConfig:n,fieldList:o,isPieFromFields:s,labelUpdateNeeded:l,colorMatch:h,utilsStrings:c}),F={sliceId:y,label:T,fillSymbol:S};F.originalLabel=x?.originalLabel??(m?.[pt.originalCategoryValue]!==void 0?m?.[pt.originalCategoryValue]:F.label),w?(p=m[pt.pieChart.technicalFieldGroupedSlices],n.sliceGrouping!==void 0&&(A={sliceId:n.sliceGrouping.sliceId,percentageThreshold:n.sliceGrouping.percentageThreshold,label:T,originalLabel:n.sliceGrouping.originalLabel??T,fillSymbol:S})):d.push(F)}),{slices:d,groupOfSlicesSymbols:A,groupOfSlices:p}}function zI(a){let{creation:t,dataInfo:e,pieChartDataActuallyChanged:i,chartConfig:r,previousConfig:s,queryObject:n,popupTemplateFieldInfosEnabled:o,utilsStrings:l}=a,h;if(r.series[0].type===V.PieSeries){let u=Ln(e.data),c=dx({oldConfig:s,newConfig:r}),d=cx(s,r),A=tg(s,r),p=HN({chartConfig:r,queryObject:n,popupTemplateFieldInfosEnabled:o,labelUpdateNeeded:t||i||c||A||d,utilsStrings:l}),{slices:f,groupOfSlicesSymbols:m,groupOfSlices:g}=XL(p,u),{slices:y}=XL(p,g??[]);h={slices:f,groupedSlices:y,groupOfSlices:m}}return h}async function WN(a){let{creation:t,dataInfo:e,dataInfo:{data:i},pieChartDataActuallyChanged:r,chartConfig:s,previousConfig:n,pieSlicesSymbols:o,queryObject:l,options:h,utilsStrings:u}=a,{slices:c}=o??{},{chartWillRender:d}=h??{},A=ze(s.series),p=!1,f=s,m=_r(o),g,y;if(d&&(A===V.PieSeries||A===V.GaugeSeries)){p=!0,f=_r(s);let x=pg({data:i,seriesConfig:s.series});f=await d({chartConfig:f,data:x,slices:c}),!xs(l)&&A===V.PieSeries&&i&&"dataItems"in i&&({colorMatchApplied:g,rendererFieldNames:y}=await Sx({data:i.dataItems,queryObject:l,chartConfig:f,allowColorMatch:gx({chartConfig:f,queryObject:l})}),m=zI({creation:t,dataInfo:e,chartConfig:f,previousConfig:n,queryObject:l,pieChartDataActuallyChanged:r,popupTemplateFieldInfosEnabled:h?.popupTemplateFieldInfosEnabled,utilsStrings:u}))}return{changesApplied:p,alteredConfig:f,alteredPieSlicesSymbols:m,colorMatchApplied:g,rendererFieldNames:y}}function sh(a){return a?.[an.defaultGroupOfSlicesId]===!0}function XN(a){let{dataContext:t,dataIndex:e,objectIdField:i}=a;return`${an.sliceIdPrefix}-${t[i??""]?.toString()??e}`}function zN(a){let{chartConfig:t,chartData:e,fieldList:i}=a,r=It(t.series)===ke.PieFromFields;if(t.orderOptions?.data!==void 0||r){cg({arrayToSort:e,chartConfig:t,fieldList:i});let{slices:s}=t.series[0];s!==void 0&&s.sort((n,o)=>{let l=e.findIndex(u=>u[pt.pieChart.technicalFieldSliceId]===n.sliceId),h=e.findIndex(u=>u[pt.pieChart.technicalFieldSliceId]===o.sliceId);return l-h})}}function iw(a,t){let e;return a!==void 0&&t!==void 0&&(e=a.find(i=>i.sliceId===t)),e}function GN(a){let{dataContext:t,isNonAggregatedChart:e,x:i,dataIndex:r,objectIdField:s,isPieFromFields:n}=a,o="";return n===!0?o=t[pt.originalCategoryValue]??t[ao]:e?o=XN({dataContext:t,dataIndex:r,objectIdField:s}):(o=t[pt.originalCategoryValue],o===void 0||o===""?o=an.emptySliceId:o===null&&(o=an.nullSliceId),o=o??t[i]),o===void 0&&(o=an.undefinedSliceId),o.toString()}function YN(a){let{dataContext:t,sliceFromConfig:e,isGroupOfSlices:i,seriesConfig:r,fieldList:s,isPieFromFields:n,labelUpdateNeeded:o,colorMatch:l,utilsStrings:h}=a,{sliceGrouping:u}=r,{x:c}=r;n&&(c=ao);let d=t[c]??t[pt.originalCategoryValue],A=t[pt.originalCategoryValue]??d,p=d;return o&&(i?p=u?.label??u?.originalLabel?.toString()??h.pieChart.defaultSliceGroupingLabel:l&&t[pt.rendererSymbolField]?.label!==void 0?p=t[pt.rendererSymbolField].label:e!==void 0||s!==void 0?(e?.label&&e.label!==e?.sliceId&&(p=e?.label),p===A&&A!==void 0&&A!==null&&(p=Or(s,A))):e===void 0&&(p=A),p===pt.nullValue?p="null":p!=null&&(p=p.toString())),p}function Cw(a,t){return a?.[0]?.sliceGrouping?.percentageThreshold!==t?.[0]?.sliceGrouping?.percentageThreshold}function Hf(a){let{groupOfSlicesDataContext:t,chartData:e}=a;return(t??e?.find(i=>i[an.defaultGroupOfSlicesId]===!0))?.[pt.pieChart.technicalFieldGroupedSlices]}function ww(a){let{dataContext:t,pieSlicesSymbols:e,seriesConfig:i}=a,r=i.fillSymbol?{...i.fillSymbol}:Ym();if(sh(t))r={...pt.pieChart.sliceGrouping.fillSymbol,...e?.groupOfSlices?.fillSymbol};else{let s=t[pt.pieChart.technicalFieldSliceId],n=e?.slices?.find(o=>o.sliceId===s);r=_r(n?.fillSymbol??i.fillSymbol??Ym())}return r}function KN(a){let{data:t,seriesConfig:e,utilsStrings:i}=a,r=e[0],s=t?.reduce((d,A)=>{let p=A[Uu]??A[r.y];return Number.isFinite(p)||(p=0),p+d},0),n=r?.sliceGrouping?.percentageThreshold??0,o=[],l,h=0,u=t?.find(d=>d[an.defaultGroupOfSlicesId]===!0)?.[pt.pieChart.technicalFieldGroupedSlices]??[],c=[...t,...u].filter(d=>{let A=!0,p=d[Uu]??d[r.y];if(Number.isFinite(p)){let f=p/s*100;d[pt.pieChart.technicalFieldSlicePercent]=f,f<=n&&d[an.defaultGroupOfSlicesId]!==!0&&(h+=p,o.push(d),A=!1)}else d[an.defaultGroupOfSlicesId]!==!0&&(o.push(d),A=n===0||n===void 0);return d[an.defaultGroupOfSlicesId]===!0&&(l=d,A=!1),A});if(n>0&&o.length>0){let d=h/s*100,A=It(e)===ke.PieFromFields,p={...l,[an.defaultGroupOfSlicesId]:!0,[A?ao:r.x]:r.sliceGrouping?.label??i?.pieChart.defaultSliceGroupingLabel,[A?Uu:r.y]:h,[pt.pieChart.technicalFieldSlicePercent]:d,[pt.pieChart.technicalFieldGroupedSlices]:o};c.push(p)}return c}function zL(a){let{creation:t,previousConfig:e,newConfig:i,dataInfo:r,dataUpdateNeeded:s,utilsStrings:n}=a,o=!1;if(r.data&&"dataItems"in r.data&&(t||e&&fg(e.series))&&i&&fg(i.series)){let l=t||e&&fg(e.series)&&Cw(e.series,i.series);(s||l)&&(r.data.dataItems=KN({data:r.data.dataItems,seriesConfig:i.series,utilsStrings:n}),cg({arrayToSort:r.data.dataItems,chartConfig:i}),o=!0)}return o}function ZN(a,t){let e=a.reduce((i,r)=>{if(r[an.defaultGroupOfSlicesId]===!0){let s=r[pt.pieChart.technicalFieldGroupedSlices];s!==void 0&&s.forEach(n=>{i.push(n)})}else i.push(r);return i},[]);return cg({arrayToSort:e,chartConfig:t}),e=pg({data:{dataItems:e},seriesConfig:t.series})?.dataItems??[],e}function GI(a,t){let e=a?.filter(i=>!sh(i));return!rn(e,t)}function qN(a){let{dataContext:t,newLabel:e,x:i}=a;e===void 0?t[pt.originalCategoryValue]!==void 0&&(t[i]=t[pt.originalCategoryValue]):t[i]!==e&&(t[pt.originalCategoryValue]===void 0&&(t[pt.originalCategoryValue]=t[i]),t[i]=e)}function JN(a){let{data:t,newChartConfig:e,pieSlicesSymbols:i,fieldList:r}=a,s=e.series[0],n=It(e.series)===ke.PieFromFields?ao:s.x;t.forEach(o=>{let l=sh(o),h=o[pt.pieChart.technicalFieldSliceId],u=l?s.sliceGrouping?.label:iw(i?.slices,h)?.label;qN({dataContext:o,x:n,newLabel:u})}),zN({chartConfig:e,chartData:t,fieldList:r})}var Hi={SelectXY:"selectXY",SelectX:"selectX",SelectY:"selectY",ZoomXY:"zoomXY",ZoomX:"zoomX",ZoomY:"zoomY",None:"none"},ji={Top:"top",Bottom:"bottom",Median:"median",Outliers:"outliers"};function fl(a){let{type:t,iLocale:e,formatLocale:i=fd(document.documentElement)}=a,r;switch(t){case V.NumberAxisFormat:{r=new Rl,r.language.locale=e,r.intlLocales=i;break}case V.DateAxisFormat:{r=new un,r.language!==void 0&&(r.language.locale=e),r.intlLocales=i;break}}return r}function rw(a){let{axis:t,valueFormat:e,chartType:i}=a,r=qm({isXAxis:!0,chartType:i,valueFormat:e}),s=ro(e)&&t instanceof Ct,n=ba(e)&&t instanceof Qe&&!(t instanceof Ct),o=r&&t instanceof $t;return!s&&!n&&!o}function YI(a,t){let e=typeof t=="number"?`${t}`:t,i=Qs(a.uid,"numberFormatter");return i!==void 0&&(e=i(t)),zi(e)&&(e=re.htmlEmptyContent),Er(e)}function eQ(a){a.renderer.labels.template.html=re.htmlEmptyContent,a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>YI(a,e?.dataItem?.value??t),0)}function KI(a){let{axis:t,defaultOutput:e,dataItem:i}=a,r=e,s=Qs(t.uid,"categoryFormatter"),n=Qs(t.uid,"numberFormatter");if((n!==void 0||s!==void 0)&&i instanceof Jo&&i.dataContext){let o=ve(t.chart.uid,"config"),l=It(o?.series),h=ve(t.chart.uid,"rendererFieldNames"),u=no({value:JA(l,o?.series?.[0]),dataContext:i.dataContext,useRendererLabel:Hu(o,h),config:o});if(typeof u=="number"&&n!==void 0)r=n(u);else if(s!==void 0){if([ke.BoxPlotMonoField,ke.BoxPlotMultiFields,ke.BoxPlotMonoFieldAndSplitBy,ke.BoxPlotMultiFieldsAndSplitBy,ke.BarAndLineFromFields].includes(l)&&typeof u=="string"){let d=ve(t.chart.uid,"fieldList");u=Or(d,u)}let c=oo(i.dataContext);c===void 0&&(c=u),r=s(u,c)}}return zi(r)&&(r=re.htmlEmptyContent),Er(r)}function tQ(a){a.renderer.labels.template.html=re.htmlEmptyContent,a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>KI({axis:a,defaultOutput:t,dataItem:e?.dataItem}),0)}function iQ(a){let{axis:t,defaultOutput:e,dataItem:i}=a,r=e,s=Qs(t.uid,"dateFormatter");return s!==void 0&&i instanceof Nh&&(r=s(i.value??e)),zi(r)&&(r=re.htmlEmptyContent),Er(r)}function rQ(a){a.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>iQ({axis:a,dataItem:e?.dataItem,defaultOutput:t}),0),a.renderer.labels.template.adapter.disableKey("htmlOutput")}function sQ(a){a.renderer.labels.template.adapter.add("htmlOutput",t=>{let e=t,i=Qs(a.uid,"fontStyleCallback");return i!==void 0&&(e=i(e)),Er(e)},1)}function aQ(a){a instanceof Qe&&!(a instanceof Ct)?eQ(a):a instanceof $t?tQ(a):a instanceof Ct&&rQ(a),sQ(a)}function nQ(a){let{axis:t,formatOptions:e,dateAxisFormatter:i,isTimeOnlyField:r,setTimeZone:s,outTimeZone:n}=a;if(Ls(t.uid,{dateFormatter:i}),i===void 0){t.renderer.labels.template.adapter.isEnabled("htmlOutput")&&(t.renderer.labels.template.adapter.disableKey("htmlOutput"),t.renderer.labels.each(u=>{u.element instanceof $p&&u.element.removeChildren()}));let o={...$o(e)};r&&(o={hour:r?"numeric":void 0,minute:r?"numeric":void 0,...o});let l=["year","month","day","hour","minute","second"],h=o.timeZone??n;s&&t.timezone!==h&&(t.setPropertyValue("timezone",h),t.chart.validateData()),delete o.timeZone;for(let u=0;u<l.length;u+=1){let c=l[u],d=u===0?c:l[u-1],A=e?.formatPerDateTimeUnit?.[c]??o,p=e?.formatPerDateTimeUnit?.[d];ku(A)||(t.dateFormats.setKey(c,A),t.periodChangeDateFormats.setKey(c,p??A))}t.dateFormats.getKey("day")||t.dateFormats.setKey("day",re.dayDefaultFormat),t.periodChangeDateFormats.getKey("day")||t.periodChangeDateFormats.setKey("day",re.dayDefaultFormat),t.dateFormats.getKey("week")||t.dateFormats.setKey("week",t.dateFormats.getKey("day")??re.weekDefaultFormat),t.periodChangeDateFormats.getKey("week")||t.periodChangeDateFormats.setKey("week",t.periodChangeDateFormats.getKey("day")??re.weekDefaultFormat),t.invalidateLabels()}else t.renderer.labels.template.html=re.htmlEmptyContent,t.renderer.labels.template.adapter.enableKey("htmlOutput")}function oQ(a,t,e,i){let r=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:e});return r.numberFormat=a,s=>{let n=0;return s instanceof Date?s.toLocaleString(void 0,a):(n=typeof s!="string"?s??0:Bx(s,r.intlLocales),i===!0&&a.style==="percent"&&(n/=100),r.format(n))}}function GL(a){let{axis:t,formatOptions:e,overridePercentMultiplication:i,valueAxisFormatter:r}=a,s=$o(e),n=ve(t.chart.uid,"formatLocale");Ls(t.uid,{numberFormatter:r??oQ(s,t.chart.language.locale,n,i)})}function lQ(a){let{axis:t,formatOptions:e,categoryAxisFormatter:i}=a,r=i!==void 0?i:ig(e.characterLimit);Ls(t.uid,{categoryFormatter:r})}function hQ(a){let{axis:t,labelsTextSymbol:e,axisValueFormatter:i}=a,r=ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior;if(Ls(t.uid,{axisLabelsBehavior:r}),i!==void 0)Ls(t.uid,{fontStyleCallback:void 0});else if(Qs(t.uid,"fontStyleCallback")===void 0){let s=n=>{let o=Qs(t.uid,"axisLabelsBehavior");return xa({textSymbol:e,placeholderString:n,format:"html",axisLabelsBehavior:o,defaults:{maxWidth:t.renderer.labels.template.maxWidth}})};Ls(t.uid,{fontStyleCallback:s})}}function uQ(a){let{axis:t,isXAxis:e,formatOptions:i,labelsTextSymbol:r,overridePercentMultiplication:s,chartType:n,axisValueFormatter:o,isTimeOnlyField:l,setTimeZone:h,outTimeZone:u,errorStrings:c}=a,d=qm({isXAxis:e,chartType:n,valueFormat:i}),A=!1;!(t instanceof Ct)&&ba(i)?GL({axis:t,formatOptions:i,overridePercentMultiplication:s,valueAxisFormatter:o}):t instanceof Ct&&ro(i)?nQ({axis:t,formatOptions:i,dateAxisFormatter:o,isTimeOnlyField:l,setTimeZone:h,outTimeZone:u}):t instanceof $t?dd(i)||d?(lQ({axis:t,formatOptions:i,categoryAxisFormatter:o}),Ls(t.uid,{numberFormatter:void 0})):ba(i)?(GL({axis:t,formatOptions:i,overridePercentMultiplication:s,valueAxisFormatter:o}),Ls(t.uid,{categoryFormatter:void 0})):A=!0:A=!0,A&&Zm("mismatchAxisAndValueFormat",c),hQ({axis:t,labelsTextSymbol:r,axisValueFormatter:o}),t.invalidateLabels()}function cQ(a){let t=a;return a>=1?t=10**(a.toFixed(0).length-1):a<1&&a>0&&(t=10**-Math.abs(Math.floor(Math.log10(a)))),t}function ZI(a){let{minimumFromConfig:t,maximumFromConfig:e,isLogarithmic:i}=a,r=i===!0&&t!==null&&t!==void 0&&t<=0,s=!Number.isFinite(t)||!Number.isFinite(e);return r||s}var Xt={XAxisTitle:"XAxisTitle",YAxisTitle:"YAxisTitle",ChartTitle:"ChartTitle",ChartSubTitle:"ChartSubTitle",ChartFooter:"ChartFooter",GuideLabel:"GuideLabel",LegendTitle:"LegendTitle"},Ie={Ready:"ready",Hidden:"hidden",Shown:"shown",Hit:"hit",DoubleHit:"doublehit",Up:"up",SelectEnded:"selectended",Over:"over",Out:"out",SizeChanged:"sizechanged",VisibilityChanged:"visibilitychanged",PositionChanged:"positionchanged",Validated:"validated",DataItemsValidated:"dataitemsvalidated",Inited:"inited",ChildAdded:"childadded",DataRangeChanged:"datarangechanged",LayoutValidated:"layoutvalidated"};function qI(a){let{actionMode:t,cursorRange:e,isRotated:i}=a,r=Hi.None;switch(e){case Km.MultiAxes:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=Hi.SelectXY:t===Ut.Zoom&&(r=Hi.ZoomXY);break;case Km.XAxis:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=i===!0?Hi.SelectY:Hi.SelectX:t===Ut.Zoom&&(r=i===!0?Hi.ZoomY:Hi.ZoomX);break;case Km.YAxis:t===Ut.MultiSelectionWithCtrlKey||t===Ut.MultiSelection?r=i===!0?Hi.SelectX:Hi.SelectY:t===Ut.Zoom&&(r=i===!0?Hi.ZoomX:Hi.ZoomY);break}return r}function dQ(a,t){let e=re.cursorCrosshair.style,i={type:Rt.SLS,style:t.style??e.style,color:t.color??e.color,width:t.width??e.width};Nc({element:a.cursor.lineX,lineSymbol:i}),Nc({element:a.cursor.lineY,lineSymbol:i})}function JI(a){if(!(a instanceof Ks)&&!(a instanceof qi)){a.cursor=new vc;let t="userAgentData"in navigator&&navigator.userAgentData&&typeof navigator.userAgentData=="object"&&"mobile"in navigator.userAgentData&&navigator.userAgentData.mobile===!0||/Mobi|Android/iu.test(navigator.userAgent);a.cursor.hideSeriesTooltipsOnSelection=!t}}function e1(a,t){if(!(a instanceof Ks)&&!(a instanceof qi)){let e=a,i=e.cursor??new vc;t?.style!==void 0&&dQ(e,t.style);let r=re.cursorCrosshair;i.lineX.disabled=r.verticalLineVisible?t?.verticalLineVisible===!1:t?.verticalLineVisible!==!0,i.lineY.disabled=r.horizontalLineVisible?t?.horizontalLineVisible===!1:t?.horizontalLineVisible!==!0,e.cursor=i}}function AQ(a){return!(a instanceof Ks)&&a.cursor===void 0&&JI(a),a.cursor}function sw(a,t){let e=a.renderer.labels.template;e.events.hasListenersByType(Ie.Hit)&&(e.cursorOverStyle=t),a.renderer.labels.each(i=>{i.cursorOverStyle=t})}function pQ(a){let{chart:t,chartType:e,showMean:i,enabled:r}=a,s=r?si.pointer:si.default;switch(e){case V.ComboLineAndBarSeries:case V.BarSeries:case V.PieSeries:t.series.each(n=>{(n instanceof Xi||n instanceof Bs)&&(n.cursorOverStyle=s)});break;case V.BoxPlotSeries:t.series.each(n=>{let o=s;if(n instanceof Pi){let l=Yr(n);l!==void 0&&(i&&sa(n.uid,"isBoxPlotOutliersSeries")&&(o=si.default),l.cursorOverStyle=o,l.clones.each(h=>{h.cursorOverStyle=o}))}else n.cursorOverStyle=i?si.default:s});break;case V.LineSeries:t.series.each(n=>{if(n instanceof Pi){let o=Yr(n);o!==void 0&&(o.cursorOverStyle=s,o.clones.each(l=>{l.cursorOverStyle=s}))}});break}}function fQ(a){let{chart:t,actionMode:e,cursorRange:i}=a,r=ve(t.uid,"isRotated"),s=ve(t.uid,"config"),n=oa(s),o=ze(s?.series),l=o===V.LineSeries&&ba(s?.axes?.[0]?.valueFormat),h=o===V.LineSeries&&dd(s?.axes?.[0]?.valueFormat),u=o===V.LineSeries&&ro(s?.axes?.[0]?.valueFormat),c,d=!1,A=e??ve(t.uid,"actionMode")??re.actionMode;if(ve(t.uid,"filterBySelection")===!0)c=Hi.None,d=!1;else if(i!==void 0)c=qI({actionMode:A,cursorRange:i,isRotated:r});else switch(A){case Ut.Zoom:l||u?c=Hi.ZoomXY:c=r===!0?Hi.ZoomY:Hi.ZoomX,d=!1;break;case Ut.MultiSelection:case Ut.MultiSelectionWithCtrlKey:h?c=r===!0?Hi.SelectY:Hi.SelectX:c=Hi.SelectXY,d=!0;break;case Ut.MonoSelection:c=Hi.None,d=!0;break;case Ut.None:c=Hi.None,d=!1;break}t instanceof Vt&&t.cursor!==void 0&&c!==void 0&&(t.cursor.behavior=c),pQ({chart:t,chartType:o,enabled:d,showMean:n})}function t1(a){let t="";return a instanceof Hr?t=a.dataFields?.categoryX??a.dataFields?.dateX??a.dataFields?.valueX??"":a instanceof Bs&&(t=a.dataFields?.category??""),t}function i1(a){let t="";return a instanceof Hr?t=a.dataFields?.categoryY??a.dataFields?.dateY??a.dataFields?.valueY??"":a instanceof Bs&&(t=a.dataFields?.value??""),t}function r1(a){return ve(a.chart.uid,"isRotated")===!0?i1(a):t1(a)}function _u(a){return ve(a.chart.uid,"isRotated")===!0?t1(a):i1(a)}function kv(a,t=0){let e=ve(a.chart.uid,"config");return ze(e?.series,t)}function*mQ(a){let{filterList:t,queryObject:e,queryConfig:i,errorStrings:r}=a;for(let s=0;s<t.length;s+=1){let n={...i};n.where=lg([n.where,t[s]]),yield tT({queryObject:e,queryConfig:n,uniqueFeature:!0,errorStrings:r})}}async function s1(a){let{whereList:t,queryObject:e,queryFilter:i,queryConfig:r,errorStrings:s}=a,n=[];if(t.length>0){let o=xF().maxElementsPerSelectionQuery,l=[],h=Math.ceil(t.length/o);for(let c=0;c<h;c+=1){let d=c*o,A=(c+1)*o,p=t.slice(d===0?0:d-1,A),f=lg(p,"OR");f=lg([i,f]),l.push(f)}let u=mQ({filterList:l,queryObject:e,queryConfig:r,errorStrings:s});n=(await Promise.all(u)).flat(),n=Array.from(new Set(n))}return n}var Au={Outlier:"outlier",Box:"box",OutlierToOutlier:"outlier-outlier",OutlierToBox:"outlier-box",BoxToOutlier:"box-outlier",BoxToBox:"box-box"};function gQ(a,t){let e=a[pt.boxPlot.boxPlotOutlierId]===!0?Au.Outlier:Au.Box,i=typeof t=="number"?Au.Outlier:Au.Box;return`${e}-${i}`}function yQ(a){let{oneSelectedItem:t,dataContext:e,selectedOutlierKey:i}=a;return t[i]===e[i]}function vQ(a){let{elementMin:t,elementMax:e,selectedOutlierValue:i}=a,r;return typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(r=i>=t&&i<=e),r}function bQ(a){let{selectedMin:t,selectedMax:e,elementOutlierValue:i,oneSelectedItem:r,iqrField:s}=a,n;typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(n=i>=t&&i<=e);let o=s in r;return n!==!1&&o}function xQ(a){let{selectedMin:t,selectedMax:e,elementMin:i,oneSelectedItem:r,elementMax:s,iqrField:n}=a,o;typeof i=="number"&&typeof s=="number"&&typeof t=="number"&&typeof e=="number"&&(o=!(i>=e||s<=t));let l=n in r;return o!==!1&&l}function _Q(a){let{oneSelectedItem:t,dataContext:e,xAxisField:i}=a,r=e[pt.originalCategoryValue]??e[pt.boxPlot.boxPlotCategory]??e[i],s=t[pt.originalCategoryValue]??t[pt.boxPlot.boxPlotCategory]??t[i];return r===s}function CQ(a){let{chartSubType:t,yAxisField:e,splitBy:i,showOutliers:r}=a,s=t===ke.BoxPlotMultiFieldsAndCategory?e:void 0,n={y:s,splitBy:i},o=Zi({...n,key:Zt.Outlier}),l=Zi({...n,key:Zt.Max,showOutliers:r}),h=Zi({...n,key:Zt.Min,showOutliers:r}),u=Zi({...n,key:Zt.Max,showOutliers:!1}),c=Zi({...n,key:Zt.Min,showOutliers:!1}),d=Zi({...n,key:Zt.Max,showOutliers:!0}),A=Zi({...n,key:Zt.Min,showOutliers:!0}),p=Zi({splitBy:i,y:s,key:Zt.IQR});return{selectedOutlierKey:o,maxField:l,minField:h,selectedMaxFieldWoOutliers:u,selectedMinFieldWoOutliers:c,selectedMaxFieldWithOutliers:d,selectedMinFieldWithOutliers:A,iqrField:p}}function wQ(a){let{elementDataContext:t,layerOidField:e,xAxisField:i,splitBy:r,yAxisField:s,chartSubType:n,showOutliers:o}=a,l=t,h;if(l?.[pt.boxPlot.boxPlotMeanLineMarkerId]===!0){let u=Zi({splitBy:r,key:Zt.Average});h=c=>{let d=!i||!(i in c&&i in l)||c[i]===l[i],A=u in c&&u in l;return d&&A}}else i!==void 0&&s!==void 0&&(h=u=>{let c;if(e!==void 0&&e in u&&e in l)c=u[e]===l[e];else{let{selectedOutlierKey:d,maxField:A,minField:p,selectedMaxFieldWoOutliers:f,selectedMinFieldWoOutliers:m,selectedMaxFieldWithOutliers:g,selectedMinFieldWithOutliers:y,iqrField:x}=CQ({chartSubType:n,yAxisField:s,splitBy:r,showOutliers:o}),w=l[d],S=u[d],T=l[p],F=l[A],L=u[m]??u[y],$=u[f]??u[g],I=_Q({oneSelectedItem:u,dataContext:l,xAxisField:i});if(I)switch(gQ(u,w)){case Au.OutlierToOutlier:I=yQ({oneSelectedItem:u,dataContext:l,selectedOutlierKey:d});break;case Au.OutlierToBox:I=vQ({elementMin:T,elementMax:F,selectedOutlierValue:S});break;case Au.BoxToOutlier:I=bQ({selectedMin:L,selectedMax:$,elementOutlierValue:w,oneSelectedItem:u,iqrField:x});break;case Au.BoxToBox:I=xQ({selectedMin:L,selectedMax:$,elementMin:T,oneSelectedItem:u,elementMax:F,iqrField:x});break}c=I===!0}return c});return h}function Bw(a){let{layerOidField:t,sliceDataContext:e,selectionDataContext:i,xAxisField:r}=a,s=!1;if(t!==void 0&&t in e&&t in i)s=i[t]?.toString()===e[t]?.toString();else{let n=e[pt.originalCategoryValue];n===void 0&&(n=e[r]),n===void 0&&(n=e[ao]);let o=i[pt.originalCategoryValue];o===void 0&&(o=i[r]),o===void 0&&(o=i[ao]),s=n!==void 0&&o!==void 0&&n===o}return s}function mv(a){let{dataContext:t,specificField:e,xOrY:i}=a,r=t[i==="x"?pt.originalCategoryValue:pt.originalYCategoryValue];return r===void 0&&e&&(r=t[e]),r===void 0&&(r=t[i==="x"?xr.xField:xr.yField]),r}function $v(a){let{options:t,elementDataContext:e,selectionDataItems:i,layerOidField:r,xAxisField:s,yAxisField:n,chartType:o,splitBy:l,chartSubType:h}=a,u=!1,c;if(e!==void 0&&i!==void 0)switch(o){case V.HeatSeries:let d=e,A=mv({dataContext:d,specificField:s,xOrY:"x"}),p=mv({dataContext:d,specificField:n,xOrY:"y"});c=f=>{let m=mv({dataContext:f,specificField:s,xOrY:"x"}),g=mv({dataContext:f,specificField:n,xOrY:"y"});return A===m&&p===g};break;case V.RadarSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:if(s!==void 0&&n!==void 0){let f=e;c=m=>{let g,y=r;if(h===ke.BarAndLineSplitByNoAggregation){let x=xh({where:l,keepSurroundingQuotes:!1,escape:!1});y=`${r}_${x}`}if(r!==void 0&&r in m&&r in f)g=m[r]===f[r];else if(y!==void 0&&y in m&&y in f)g=m[y]===f[y];else if(pt.dateBinningRange in f&&typeof m[s]=="number"){let x=m[s],w=m[pt.dateBinningRange],S=Array.isArray(w)&&Number.isFinite(w[0])&&Number.isFinite(w[1]),[T,F]=S?w:[0,0],[L,$]=f[pt.dateBinningRange],I=f[pt.lastTemporalBin]===!0?x<=$:x<$;g=(S?T<$&&L<F:x>=L&&I)&&n in m&&Number.isFinite(m[n])}else{let x=S=>{let T=S[pt.originalCategoryValue];return T===void 0&&(T=S[s]),T=T===null?pt.nullValue:T,T},w=x(f);g=x(m)===w&&n in m}return g}}break;case V.BoxPlotSeries:c=wQ(a);break;case V.ScatterSeries:if(s!==void 0&&n!==void 0){let f=e;if(!SF({dataContext:f,chartLimits:t?.chartLimits}))c=m=>{let g;return r!==void 0&&r in f&&r in m?g=m[r]===f[r]:g=m[s]===f[s]&&m[n]===f[n],g};else{let{dataContextXMinField:m,dataContextXMaxField:g,dataContextYMinField:y,dataContextYMaxField:x}=pt.scatterplotAggregationFields,{[m]:w,[g]:S}=f,T=s!==n?f[y]:w,F=s!==n?f[x]:S,L=I=>{let U=I[s]??Number.NaN,P=w??Number.NaN,Q=S??Number.NaN;return w===S?U===P:(U??Number.NaN)>=P&&(U??Number.NaN)<Q},$=I=>{let U=I[n]??Number.NaN,P=T??Number.NaN,Q=F??Number.NaN;return T===F?U===P:U>=P&&U<Q};c=I=>L(I)&&$(I)}}break;case V.HistogramSeries:c=f=>{let m=!1,{minValue:g,maxValue:y}=e,{isLastBin:x}=e;if(s!==void 0&&s in f){let w=f[s];m=typeof w=="number"&&w>=g&&(x&&w<=y||!x&&w<y)}else if("minValue"in f&&"maxValue"in f){let{minValue:w,maxValue:S}=f;m=!(g>=S||y<=w)}return m};break;case V.PieSeries:s!==void 0&&(c=f=>{let m=e,g=sh(m),y=[m];return g&&y.push(...Hf({groupOfSlicesDataContext:m})??[]),y.some(x=>Bw({sliceDataContext:x,selectionDataContext:f,layerOidField:r,xAxisField:s}))});break}return c!==void 0&&(u=i.some(c)),u}function th(a){let{isFeatureCollectionLayer:t,dataContext:e,yAxisField:i,yList:r,xAxisField:s,splitBy:n,chartType:o,chartSubType:l,showOutliers:h}=a,u={...e};if(e!==void 0){if(o===V.RadarSeries||o===V.BarSeries||o===V.LineSeries||o===V.ComboLineAndBarSeries||o===V.PieSeries){o!==V.PieSeries&&(t||l!==ke.BarAndLineNoAggregation&&l!==ke.BarAndLineSplitByNoAggregation)&&r.forEach(d=>{d!==i&&delete u[d]});let c=no({value:e[s],dataContext:e,keepNullValues:!0});u[s]=c,!zi(n)&&!BF(n)&&(u[Dn(n)]=xh({where:n,escape:!1}))}else if(o===V.BoxPlotSeries){u={[s]:e[s]},[Eu.uniqueIdsName,pt.boxPlot.boxPlotMeanLineMarkerId,pt.boxPlot.boxPlotOutlierId,pt.originalCategoryValue,pt.originalYCategoryValue].forEach(d=>{e[d]&&(u[d]=e[d])});let c=l===ke.BoxPlotMultiFieldsAndCategory?i:void 0;Object.values(Zt).forEach(d=>{let A=Zi({key:d,y:c,splitBy:n,showOutliers:h});e[A]!==void 0&&(u[A]=e[A])})}}return u}function a1(a){let{data:t,colorMatch:e,chartSubType:i,rendererType:r}=a;return t!==void 0&&e&&r!==void 0&&(i===ke.BoxPlotMultiFields&&(r===Qm.UniqueValue||r===Qm.PieChart)||i===ke.BoxPlotMonoFieldAndCategory&&r===Qm.UniqueValue)&&t.some(s=>Object.keys(s).some(n=>n.includes(pt.rendererSymbolField)))}function BQ(a){return!!/^data:[a-z]+\/[a-z+.-]+;base64/u.test(a)}function n1(a,t=512){if(!BQ(a))throw new Error("Cannot convert a string that is not a data uri to a blob");let e=a.split(",")[0].split(":")[1].split(";")[0],i=atob(a.split(",")[1]),r=[];for(let s=0;s<i.length;s+=t){let n=i.slice(s,s+t),o=new Array(n.length);for(let h=0;h<n.length;h++)o[h]=n.charCodeAt(h);let l=new Uint8Array(o);r.push(l)}return new Blob(r,{type:e})}function Rf(a){let{value:t,valueFormat:e,iLocale:i,formatLocale:r}=a,s=t?.toString(),n=fl({type:e.type,iLocale:i,formatLocale:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?s=n.format(t,$o(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(s=n.format(t,$o(e))),s}function xn(a){let{chart:t,config:e}=a,i=e;return e===void 0&&t!==void 0&&(i=ve(t.uid,"config")),cs(i)}function SQ(a){a instanceof Vl&&a.series.each(t=>{Kn(t.uid),t instanceof Pi&&Kn(Yr(t)?.uid),t.bullets.each(e=>{Kn(e.uid)}),t instanceof Xi&&t.columns.template.children.each(e=>{Kn(e.uid)})}),a instanceof Vt&&[a.xAxes.getIndex(0),a.xAxes.getIndex(1),a.yAxes.getIndex(0),a.yAxes.getIndex(1)].forEach(t=>{t!==void 0&&(Kn(t.uid??""),t.axisRanges.each(e=>{Kn(e.label?.uid)}))}),a instanceof Ks&&a.radarContainer.children.each(t=>{Kn(t.uid)}),a instanceof qi&&a.series.getIndex(0)?.slices.each(t=>{Kn(t.uid)}),"cursor"in a&&a.cursor instanceof nA&&Kn(a.cursor?.uid),"legend"in a&&a.legend!==void 0&&(Kn(a.legend.uid),Kn(a.legend.valueLabels?.template?.uid)),Kn(a.uid)}function gv(a){return typeof a=="number"?a:a.value}async function FQ(a){let{chart:t,exportOptions:e}=a,{format:i,quality:r=1,...s}=e,n=r<0||r>1?1:r,o=await t.exporting.getImage(i,{quality:n,...s}),l=n1(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function Ov(a,t){t!==void 0&&(t.marginBottom!==void 0&&(a.marginBottom=t.marginBottom),t.marginTop!==void 0&&(a.marginTop=t.marginTop),t.marginRight!==void 0&&(a.marginRight=t.marginRight),t.marginLeft!==void 0&&(a.marginLeft=t.marginLeft),t.verticalCenter!==void 0&&(a.verticalCenter=HI(t.verticalCenter)),t.horizontalCenter!==void 0&&(a.horizontalCenter=xw(t.horizontalCenter)),t.strokeWidth!==void 0&&(a.strokeWidth=t.strokeWidth),t.wrap!==void 0&&(a.wrap=t.wrap),t.truncate!==void 0&&(a.truncate=t.truncate),t.maxWidth!==void 0&&(a.maxWidth=t.maxWidth),t.applyOnClones!==void 0&&(a.applyOnClones=t.applyOnClones,a.background.applyOnClones=t.applyOnClones))}function ml(a,t){let e=t?.createChild(Ri)??new Ri;return Ov(e,a),e}function TQ(a){let t=a.push(new Yd);t.dx=1,t.dy=1,t.opacity=1}function PQ(a,t,e){if(e.alpha>0&&t>=0){a.length===0&&TQ(a);let i=a.getIndex(0);i.blur=t,i.color=e}else a.clear()}function DQ(a,t){let e=gs(a.uid,"isGuide"),i=t.visible===!1;return!i&&(e===!0||!(a instanceof Ko))&&t.content.text===""&&(i=!0),i}function YL(a){let{label:t,offset:e,offsetProperty:i}=a,r=99;if(t.adapter.remove(i,r),typeof e=="string"&&!Number.isFinite(Number(e))){let s=rp(e);s!==void 0&&(s/=100,t.adapter.add(i,()=>(t.parent?.[i==="dx"?"measuredWidth":"measuredHeight"]??0)*s,r))}else t[i]=e}function _n(a){let{label:t,labelConfig:e,defaults:i,skipSettingText:r}=a;if(e!==void 0){let s=Cv(e.content,t.rtl,i);t.fill=s.fill,t.fontFamily=s.fontFamily,t.fontWeight=s.fontWeight,t.fontSize=s.fontSize,t.textDecoration=s.textDecoration,t.align=s.align,t.valign=s.valign,t.verticalCenter=s.verticalCenter,t.horizontalCenter=s.horizontalCenter,t.background.fill=s.backgroundFill,t.background.stroke=s.borderFill,t.background.strokeWidth=s.borderWidth,t.rotation=s.angle,YL({label:t,offset:s.xOffset,offsetProperty:"dx"}),YL({label:t,offset:s.yOffset,offsetProperty:"dy"}),t.rtl=s.rtl,t.wrap=s.wrap,t instanceof Ko||(t.maxWidth=s.maxWidth),r||(t.text=s.text),PQ(t.filters,s.haloSize,s.haloColor);let n=DQ(t,e);t.disabled=n,Ui(t,e.visible!==!1&&!n)}else t.disabled=!0}function o1(a,t){t!==void 0&&(a===V.BarSeries||a===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=i.dataItem,{chart:s}=r?.component??{};return s instanceof Vt&&(i.visible=!VI(i,s)),e??0})}function l1(a,t){t!==void 0&&(a===V.BarSeries&&t.adapter.add("dx",(e,i)=>{let r=e??0,s=i.dataItem,{chart:n}=s?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)===!0&&(s.valueX??s.valueY)<0&&(r-=i.measuredWidth+re.dataLabelNegative.paddingRight),r}),(a===V.BarSeries||a===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=e??0,s=i.dataItem,{chart:n}=s?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)!==!0&&(s.valueX??s.valueY)<0&&(r+=i.measuredHeight+re.dataLabelNegative.paddingTop),r}))}function aw(a){a.bulletsContainer.invalidateLabels(),a instanceof Xi&&a.columns?.template.invalidateLabels()}function LQ(a){let{dataValue:t,series:e,seriesType:i,stackedType:r,axisMin:s}=a,n=t===void 0;return t!==void 0&&(s!==void 0&&t<s?n=!0:e instanceof Xi&&(i===V.BarSeries||i===V.ComboLineAndBarSeries)&&(n=t===0&&r!==void 0&&r!==Oi.Side)),n}function nw(a,t){let e,i=r=>gs(r.uid,"isDataLabel")??!1;return t==="bullets"?e=a.bullets.values.find(i):a instanceof Xi&&(e=a.columns.template.children.values.find(i)),e}function ow(a,t){a.adapter.add("htmlOutput",(e,i)=>{let r=e,{dataItem:s}=i;if(Ef(a)&&(t instanceof Xi&&s instanceof Ss||t instanceof Pi&&s instanceof Wa)){let n=sa(t.uid,t instanceof Xi?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(n!==void 0){let o=ve(t.chart.uid,"isRotated"),l=ve(t.chart.uid,"config"),h=$s(l),u=o===!0?s.valueX:s.valueY,c=o===!0?s.values?.valueX?.totalPercent:s.values?.valueY?.totalPercent,d=o===!0?(s.component?.xAxis).min:(s.component?.yAxis).min;r=LQ({dataValue:u,series:t,seriesType:t instanceof Xi?V.BarSeries:V.LineSeries,stackedType:h,axisMin:d})?"":n(u,c)}}return Er(r)},0)}function h1(a){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i}=a;return(r,s)=>{let n=i===Oi.Stacked100&&s!==void 0?s:r;return t.numberFormat.style==="percent"&&(n/=100),xa({textSymbol:{...e,text:t.format(n)},format:"html"})}}function u1(a){a.tabindex=-1}function c1(a){let{series:t,seriesType:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:s,yAxisValueFormat:n,stackedType:o,isRotated:l,defaultDataLabelFormatter:h,customDataLabelFormatter:u}=a;if(i!==void 0){let c=u,d=s?.content??{type:Rt.TS};if(u===void 0&&h!==void 0&&n?.type===V.NumberAxisFormat){let p=ve(t.chart.uid,"formatLocale"),f=fl({type:n.type,iLocale:t.chart.language.locale,formatLocale:p});f.numberFormat=n.intlOptions,c=h({numberFormatter:f,dataLabelsConfigContent:d,stackedType:o})}let A;switch(e){case V.BarSeries:A="barSeriesDataLabelFormatter";break;case V.LineSeries:A="lineSeriesDataLabelFormatter";break}A!==void 0&&Jn(t.uid,{[A]:c}),s!==void 0&&(s.content.text=l===!0?"{valueX}":"{valueY}",s.visible=s.visible!==!1),_n({label:i,labelConfig:s,defaults:r??re.dataLabel}),aw(t)}}function Ev(a,t){let e=t;e===void 0&&(e=ve(a.uid,"config"));let i=ve(a.uid,"colorMatchApplied")??!1;return(e?.colorMatch??!1)&&i}function d1(a,t){let e;return a instanceof Ct?e=t===!0?"dateY":"dateX":a instanceof $t?e=t===!0?"categoryY":"categoryX":e=t===!0?"valueY":"valueX",e}function CA(a,t){a.name=t}function Sw(a){let{chart:t,lineSeries:e,applyPropertiesToClones:i}=a,r=e.bullets.push(new Ee);return LN(r.uid,{isBulletMarker:!0}),i!==!1&&(r.applyOnClones=!0),e.bulletsContainer.parent=t.seriesContainer,r}function Fw(a){let{series:t,seriesConfig:e,rotationChanged:i,stackedType:r,isRotated:s}=a;switch(r){case Oi.Stacked:{t.stacked=!0,t instanceof Pi&&(t.stackToNegative=e.stackNegativeValuesToBaseline??re.lineSeries.stackNegativeValuesToBaseline),i===s?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0,t.updateStacking();break}case Oi.Stacked100:{t.stacked=!0,s?t.dataFields.valueXShow="totalPercent":t.dataFields.valueYShow="totalPercent",t.updateStacking();break}case Oi.Side:default:{t.stacked=!1,i===s?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0;break}}}function IQ(a){return()=>{let{chart:t,marker:e}=a;e.clones.each(i=>{Ui(i,!VI(i,t))})}}function kQ(a){let{chart:t,series:e,seriesType:i,marker:r,numberOfChartSeries:s,ignoreSmoothRenderingLimit:n}=a,o=IQ({marker:r,chart:t}),l=s??1,h=t.data.length*l+l;n!==!0&&h>re.elementLimitForSmoothRendering&&(o=ks(o,re.debounceTime)),t.xAxes.getIndex(0)?.events.on(Ie.Validated,o),t.yAxes.getIndex(0)?.events.on(Ie.Validated,o),i===V.LineSeries&&(t.xAxes.getIndex(0)?.events.on(Ie.Validated,()=>{aw(e)}),t.yAxes.getIndex(0)?.events.on(Ie.Validated,()=>{aw(e)}))}function A1(a,t){a.series.each(e=>{let i=sa(e.uid,t);i!==void 0&&!i.isDisposed()&&i.dispose()})}function $Q(a){let t;return a!==void 0&&a.series.length>0&&(t=a.series.values.map(e=>e.visible?e.id:"").filter(e=>e!=="")),t}function YC(a){let{dataItem:t,y:e,splitBy:i,showOutliers:r}=a,s=Zi({key:Zt.Min,y:e,splitBy:i,showOutliers:r}),n=Zi({key:Zt.Max,y:e,splitBy:i,showOutliers:r}),o=Zi({key:Zt.FirstQuartile,y:e,splitBy:i,showOutliers:r}),l=Zi({key:Zt.ThirdQuartile,y:e,splitBy:i,showOutliers:r});return Number.isFinite(t[s])&&Number.isFinite(t[n])&&Number.isFinite(t[o])&&Number.isFinite(t[l])}function OQ(a,t){let e=0;if(a!==void 0&&t!==void 0){let i=Mo(t.series),r=It(t.series),s=Eo(t);a.data.forEach(n=>{switch(r){case ke.BoxPlotMonoField:case ke.BoxPlotMultiFields:case ke.BoxPlotMonoFieldAndCategory:YC({dataItem:n,showOutliers:s})&&(e+=1);break;case ke.BoxPlotMultiFieldsAndCategory:i.forEach(o=>{YC({dataItem:n,y:o,showOutliers:s})&&(e+=1)});break;case ke.BoxPlotMonoFieldAndSplitBy:case ke.BoxPlotMultiFieldsAndSplitBy:case ke.BoxPlotMonoFieldAndCategoryAndSplitBy:t.series.forEach(o=>{YC({dataItem:n,splitBy:o.query?.where,showOutliers:s})&&(e+=1)});break}})}return e}function KL(){return a=>{let t=ve(a.chart.uid,"config"),e=!1;if(t!==void 0&&a instanceof Hr){let i=OQ(a.chart,t),r=0,s=0,n=0,o=0,l=0;a.chart.series.values.forEach(c=>{if(c instanceof wr)r+=c.columns.length;else if(c instanceof Pi&&!(c instanceof Aa)){let d=Yr(c);if(d!==void 0&&!d.disabled){let A=d.clones.values.filter(p=>!(p.dataItem instanceof Go))?.length??0;if(sa(c.uid,"isBoxPlotMeanLineSeries")===!0){o+=A;let p=c.data.filter(f=>Number.isFinite(f[c.dataFields.valueX??c.dataFields.valueY??""])).length;l+=p}else{let p=c.data.filter(f=>Number.isFinite(f[c.dataFields.valueX??c.dataFields.valueY??""])).length;n+=p,s+=A}}}});let h=n===0||s>=n,u=l===0||o>=l;e=r>=i&&h&&u&&a.chart.appeared&&a.isReady()&&a.chart.isReady()}return e}}function EQ(a,t){let e;switch(a){case V.BarSeries:e=(i,r)=>{let s=!1;if(i instanceof Xi){let n=xn({chart:i.chart}),o=0;if(r.type===V.BarSeries){let l=(n?i.dataFields.valueX:i.dataFields.valueY)??r.y;o=i.chart?.data?.filter(h=>Number.isFinite(h[l])).length}s=i.chart.isReady()&&i.columns.length===o}return s};break;case V.LineSeries:t===!0?e=KL():e=(i,r)=>{let s=!1;if(i instanceof Pi){let n=xn({chart:i.chart}),o=Yr(i),l=0;if(r.type===V.LineSeries){let{y:h}=r,u=(n?i.dataFields.valueX:i.dataFields.valueY)??[h].flat()[0];l=i.chart?.data?.filter(c=>Number.isFinite(c[u])).length}s=i.chart.appeared&&i.chart.isReady()&&o!==void 0&&o.clones.values.length>=l}return s};break;case V.PieSeries:e=i=>i instanceof Bs&&i.slices.length>0;break;case V.BoxPlotSeries:e=KL();break}return e}function p1(a){let{series:t,callbackInfo:e,seriesConfig:i}=a,{type:r}=e,s=ze([i]),n=sa(t.uid,"isBoxPlotMeanLineSeries"),o=r==="style"?"updateStyleCallbackDisposer":"updateSelectionCallbackDisposer",l=async c=>{let{type:d,callbackProps:A}=c;d==="selection"?f2(A):c.styleCallback!==void 0&&(Ui(t,i.visible),await c.styleCallback(A))};t.chart.events.once(Ie.Ready,async()=>await l(e)),t.events.once(Ie.Ready,async()=>await l(e));let h=sa(t.uid,o);h!==void 0&&h.dispose();let u=EQ(s,n);h=(s===V.PieSeries?t.chart:t).events.on(Ie.Validated,async()=>{u!==void 0&&u(t,i)&&(h!==void 0&&h.dispose(),await l(e))}),t.dispatchImmediately(Ie.Validated),Jn(t.uid,{[o]:h})}function Mv(a){let{series:t,styleCallback:e,callbackProps:i,seriesConfig:r}=a;p1({callbackInfo:{styleCallback:e,callbackProps:i,type:"style"},series:t,seriesConfig:r})}function MQ(a){let{series:t,callbackProps:e,seriesConfig:i}=a;p1({callbackInfo:{callbackProps:e,type:"selection"},series:t,seriesConfig:i})}function zc(a){let{defaultChartItemRole:t}=re.aria;a instanceof wr||a instanceof Xi?(a.columns.template.properties.role=t,a.columns.template.focusable=!0,a.columns.template.hoverOnFocus=!0,a.itemReaderText=ap()):a instanceof Aa?a.segments.template.properties.role=t:a instanceof Pi?a.bullets.values.forEach(e=>{e.focusable=!0,e.properties.role=t,e.readerTitle=ap(),e.hoverOnFocus=!0}):a instanceof Bs&&(a.slices.template.properties.role=t,a.slices.template.hoverOnFocus=!0,a.itemReaderText="{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%")}function RQ(a){let t=ve(a.uid,"config");a.series.each(e=>{let i=t?.series?.find(r=>r.id===e.id);i!==void 0&&i.visible!==!1&&!e.visible&&Ui(e)})}function Uf(a,t){let e=ze(t?.series);return t?.series.find(i=>{let r=!1;return e!==V.BoxPlotSeries||a instanceof wr?r=a.id===i.id:a instanceof Aa?r=a.id.replace(`_${ji.Top}`,"")===i.id||a.id.replace(`_${ji.Median}`,"")===i.id||a.id.replace(`_${ji.Bottom}`,"")===i.id:a instanceof Pi&&(r=a.id.replace(`_${ji.Outliers}`,"")===i.id),r})}var ia={CustomActive:"custom-active",CustomInactive:"custom-inactive",Default:"default",Active:"active"};function UQ(a,t){let e=!1;if(t!==void 0&&Ef(a)){let i=Pt.spriteRectToSvg(a.bbox,a),r=t.x,s=t.y,n=t.x+t.width,o=t.y+t.height,l=i.x,h=i.y,u=i.x+i.width,c=i.y+i.height;e=!(l>n||u<r||h>o||c<s)}return e}function Gc(a){let{element:t,customSelectionTheme:e,useNativeState:i}=a,r=i===!0?ia.Active:ia.CustomActive,s=t.states.getKey(r)??t.states.create(r),n=t.states.getKey(ia.CustomInactive)??t.states.create(ia.CustomInactive),{selectedElementsTheme:o,nonSelectedElementsTheme:l}=e??re.selectionTheme??{};WL(s,o),WL(n,l)}function Zn(a){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,useNativeState:s,backToDefaultState:n}=a;if(t!==void 0){let o=t.isActive;i!==!0?r===!0?o=t.isActive?!1:t.isActive!==e:o=e:o=t.isActive!==e,o!==t.isActive&&(t.isActive=o);let l=s===!0?ia.Active:ia.CustomActive,h=n===!0?ia.Default:ia.CustomInactive;t.setState(t.isActive?l:h,0),t.isActive&&(t.toFront(),t.dataItem?.component instanceof go&&t.dataItem.component.toFront())}return t?.isActive??!1}function Rv(a,t){let e=!1;if(t instanceof Vt||t instanceof qi){let i=ve(t.uid,"actionMode");i!==void 0&&(e=i===Ut.MultiSelection||i===Ut.MultiSelectionWithCtrlKey&&(a?.event?.ctrlKey||a?.event?.metaKey))}return e}function f1(a){let t=a instanceof Vt&&a.zoomOutButton.isHover,e=a.legend.isHover,i=!1,r=!1,s=!1,n=!1;if(a instanceof Vt){i=a.xAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),r=a.yAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),s=i||r;let o=ve(a.uid,"config");oa(o)&&(n=a.series.values.find(l=>l instanceof wr)?.isHover??!1)}return!t&&!e&&!s&&!n}function Tw(a,t){return a.values.filter(e=>{let i=!1,r=!e.isActive;if(!(e.dataItem instanceof Go)){e.isActive=!e.isActive;let s=ve(t.uid,"filterBySelection")!==!0&&r;Zn({element:e,selected:s}),i=r}return i})}function ZL(a,t){let e=[],{columns:i,chart:r}=a,s=ve(r.uid,"config");if(s&&i!==void 0&&a.visible){let n=s?.series[0].x,o=a?.dataFields?.customValue??"",l=kv(a,t),h=Uf(a,s),u=l===V.BoxPlotSeries?h?.y:_u(a),c={element:{},yAxisField:u,xAxisField:n,splitBy:o,seriesIndex:t,chartConfig:s};e=Tw(i,r).map(d=>({...c,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:d.dataItem?.index}))}return e}function qL(a,t){let e=[];if(a.visible){let i=Yr(a)?.clones;if(i!==void 0){let{chart:r}=a,s=ve(r.uid,"config");if(s){let n=s.series[0].x??"",o=_u(a),l=a?.dataFields?.customValue??"",h={element:{},xAxisField:n,yAxisField:o,splitBy:l,seriesIndex:t,chartConfig:s};e=Tw(i,r).map(u=>({...h,element:u,elementDataContext:u.dataItem?.dataContext,elementIndex:u.dataItem?.index}))}}}return e}function VQ(a){let t=[];if(a.visible){let{chart:e}=a,i=ve(e.uid,"config");if(i){let r=r1(a),s=_u(a),n={element:{},xAxisField:r,yAxisField:s,seriesIndex:0,chartConfig:i},o;t=Tw(a.slices,e).map(l=>{let h=l.dataItem?.dataContext??{};return sh(h)&&(o=Hf({groupOfSlicesDataContext:h})),{...n,element:l,elementIndex:l.dataItem?.index,elementDataContext:h}}),o!==void 0&&o.forEach((l,h)=>{t.push({...n,elementIndex:h,elementDataContext:l})})}}return t}function NQ(a){let{chart:t,selectionSource:e,chartConfig:i}=a,r=!1,s=[];if(Dl(i)){if(r=oa(i),s=t.series.values.filter(n=>!(n instanceof Aa)),e===Tr.SelectionByClick){let n=new Set,o=s.find(l=>l instanceof wr&&l.isHover);o===void 0?s.forEach(l=>{l instanceof Pi&&(l.id.includes(ji.Outliers)&&l.tooltip?.visible===!0||sa(l.uid,"isBoxPlotMeanLineSeries"))&&n.add(l)}):n.add(o),s=Array.from(n)}}else s=t.series.values;return s=s.filter(n=>n.visible&&(!r||!(n instanceof wr||sa(n.uid,"isBoxPlotOutliersSeries")))),s}async function m1(a){let{chart:t,cursorSelectionRectangle:e,multiSelect:i,selectionSource:r,hitElement:s,queryObject:n,errorStrings:o}=a,l=ve(t.uid,"config"),h=l?.series[0]?.x??"",u=[];ai(t.uid,{pendingSelectionQueries:!0});let c=[],d=!0;NQ({chart:t,selectionSource:r,chartConfig:l}).forEach((A,p)=>{let f=Uf(A,l);if(l&&A.visible&&A instanceof Hr){let m=kv(A,p)===V.BoxPlotSeries?f?.y:_u(A),g=A.dataFields?.customValue??"",y={element:{},yAxisField:m,xAxisField:h,splitBy:g,seriesIndex:p,chartConfig:l},x;A instanceof Xi||A instanceof wr?x=A.columns?.values:A instanceof Aa?x=A.segments.values:A instanceof Pi&&(x=Yr(A)?.clones?.values,y.uniqueFeature=!0),x!==void 0&&(c=[...c,...x],x.forEach((w,S)=>{if(!(w.dataItem instanceof Go)){let T=w.isActive,F=w===s||UQ(w,e);F&&(d=!1);let L=!1;T?F?L=r!==Tr.SelectionByClick:L=i===!0:L=F,L&&u.push({...y,element:w,elementDataContext:w.dataItem?.dataContext,elementIndex:S}),Zn({element:w,selected:L})}}))}}),d&&(u=[]),await Xf({chart:t,listSelectedElements:u,selectionSource:r,queryObject:n,errorStrings:o})}function QQ(a){let{chart:t,queryObject:e,errorStrings:i}=a,r=async s=>{let n=s.target.cursor;if(n.xRange!==void 0){n.selection.isMeasured=!0,n.validate(),n.selection.validate();let o=Pt.spriteRectToSvg(n.selection.bbox,n.selection);if(n.selection.hide(),o.width>0||o.height>0){let l=Rv(s,t);await m1({chart:t,cursorSelectionRectangle:o,multiSelect:l,selectionSource:Tr.SelectionByRange,queryObject:e,errorStrings:i})}}n.selection.hide()};wn(t)&&t.events.on(Ie.Up,async s=>{let n=s.target.cursor,o=SN(t.uid,"selectEndedCallbackDisposer");if(o!==void 0&&o.dispose(),n.xRange!==void 0&&s.event instanceof TouchEvent)await r(s);else{let l=n.events.once(Ie.SelectEnded,async()=>{await r(s)});FN(t.uid,{selectEndedCallbackDisposer:l})}})}async function Bv(a){let{hitEvent:t,chart:e,queryObject:i,errorStrings:r}=a,{target:s}=t,n=ve(e.uid,"actionMode");if(e!==void 0&&f1(e)&&n!==Ut.None&&n!==Ut.Zoom&&(s instanceof Vt||t.point===void 0)){let o=t.svgPoint?{x:t.svgPoint.x,y:t.svgPoint.y,width:0,height:0}:void 0,l=Rv(t,e);await m1({chart:e,cursorSelectionRectangle:o,multiSelect:l,selectionSource:Tr.SelectionByClick,hitElement:s,queryObject:i,errorStrings:r})}}function HQ(a){let{chart:t,queryObject:e,errorStrings:i}=a;wn(t)&&(t.zoomOutButton.hoverable=!0,t.events.on(Ie.Hit,async r=>await Bv({hitEvent:r,chart:t,queryObject:e,errorStrings:i})),t.events.on(Ie.DoubleHit,async r=>await Bv({hitEvent:r,chart:t,queryObject:e,errorStrings:i})))}function jf(a){let{chart:t,element:e,queryObject:i,errorStrings:r}=a;e.events.on(Ie.Hit,async s=>await Bv({hitEvent:s,chart:t,queryObject:i,errorStrings:r})),e.events.on(Ie.DoubleHit,async s=>await Bv({hitEvent:s,chart:t,queryObject:i,errorStrings:r}))}async function jQ(a){let{chart:t,queryObject:e,errorStrings:i}=a,{series:r}=t;if(r.length>0){ai(t.uid,{pendingSelectionQueries:!0});let s=ve(t.uid,"config"),n=r.values.map((o,l)=>{let h=[];if(o.visible){let u=ze(s?.series,l);u===V.BarSeries?h=ZL(o,l):u===V.LineSeries?h=qL(o,l):u===V.PieSeries?h=VQ(o):u===V.BoxPlotSeries&&(o instanceof wr?h=ZL(o,l):o instanceof Pi&&!(o instanceof Aa)&&(h=qL(o,l)))}return h}).flat();await Xf({chart:t,listSelectedElements:n,selectionSource:Tr.ProgrammaticSelection,queryObject:e,errorStrings:i}),t instanceof qi&&t.feedLegend()}}function KC(a){if(wn(a))if(a.events.disableType(Ie.Hit),a.events.disableType(Ie.DoubleHit),a instanceof qi){let t=a.series.getIndex(0);t!==void 0&&(t.slices.template.clickable=!1,t.slices.template.togglable=!1,t.slices.template.events.disableType(Ie.Hit),t.slices.template.events.disableType(Ie.DoubleHit),t.labels.template.clickable=!1,t.labels.template.togglable=!1,t.labels.template.events.disableType(Ie.Hit),t.labels.template.events.disableType(Ie.DoubleHit))}else a instanceof Vt&&(a.xAxes.each(t=>Sv(t,!0)),a.yAxes.each(t=>Sv(t,!0)),a.events.disableType(Ie.Up))}function WQ(a){if(wn(a))if(a.events.enableType(Ie.Hit),a.events.enableType(Ie.DoubleHit),a instanceof qi){let t=a.series.getIndex(0);t!==void 0&&(t.slices.template.clickable=!0,t.slices.template.togglable=!0,t.slices.template.events.enableType(Ie.Hit),t.slices.template.events.enableType(Ie.DoubleHit),t.labels.template.clickable=!0,t.labels.template.togglable=!0,t.labels.template.events.enableType(Ie.Hit),t.labels.template.events.enableType(Ie.DoubleHit))}else a instanceof Vt&&(a.xAxes.each(t=>Sv(t,!1)),a.yAxes.each(t=>Sv(t,!1)),a.events.enableType(Ie.Up))}function yA(a){let{element:t,stylingInfo:e,stateKey:i="default"}=a;if(t!==void 0&&e!==void 0){let r=t.states.getKey(i)?.properties??t.defaultState.properties;if(r.fill=e.pattern??e.fill,r.fillOpacity=Ne(r.fill.toString()).alpha===0?0:1,e.outline!==void 0){let{outline:s}=e;r.stroke=s.stroke,r.strokeOpacity=s.stroke.alpha===0?0:1,r.strokeDasharray=s.strokeDasharray,r.strokeLinecap=s.strokeLinecap,r.strokeWidth=s.strokeWidth}}}function vA(a,t){return t!=null&&t!==""?t:a}function g1(a,t){let e;switch(a){case Pn.Average:{e=t.statistics.mean;break}case Pn.ContinuousPercentile:{e=t.statistics.median;break}case Pn.Sum:{e=t.statistics.sum;break}case Pn.Minimum:{e=t.statistics.minimum;break}case Pn.Maximum:{e=t.statistics.maximum;break}case Pn.Variance:{e=t.statistics.variance;break}case Pn.DiscretePercentile:{e=t.statistics.discretePercentile;break}case Pn.NoAggregation:{e=t.statistics.noAggregation;break}case Pn.Count:default:{e=t.statistics.count;break}}return e}function Pw(a){let{config:t,fieldName:e="",utilsStrings:i}=a,r=t.series[0].query?.outStatistics?.[0].statisticType??Hb.statisticType,s=g1(r,i);return Vc(i.statistics.aggregation,{statistics:s,fieldName:e})}function y1(a){let{config:t,fieldList:e,objectIdField:i,seriesIndex:r,isStacked100:s,utilsStrings:n}=a,o="",l=t.series[r].name,h=t.series[r],u=[h.y].flat()[0],c=t.axes,d=It(t.series),A=i??Eu.outStatistics.onStatisticField,p=h.query?.outStatistics?.[0].onStatisticField??A,f=Or(e,p),m=h.query?.outStatistics?.[0].statisticType??Hb.statisticType,g=g1(m,n);return d===ke.BarAndLineNoAggregation?o=l??Or(e,u):d===ke.BarAndLineSplitByNoAggregation?o=Or(e,u):(o=m===Pn.Count&&p===A?n.statistics.count:Vc(n.statistics.aggregation,{statistics:g,fieldName:f??l}),d===ke.BarAndLineMonoField&&!s&&(o=vA(o,c[1].title?.content?.text))),o}function v1(a,t){let{dataTooltipStyle:e,dataTooltipStyleReversed:i}=re;if(t===!0){let r=a.background.fill;if(r!==void 0){a.background.stroke=r,a.background.strokeWidth=i?.outline?.width??Number.NaN,a.background.fill=bn(i?.color);let s=a.background.fill.rgb;if(s!==void 0){let n=a.label.fill;a.label.fill=Ig(s)?n?.darkColor:n?.lightColor}}}else a.getStrokeFromObject=!0,a.getFillFromObject=!0,a.background.strokeWidth=e?.outline?.width??Number.NaN,a.background.stroke=bn(e?.outline?.color)}function Uv(a,t){if(a.tooltip){let e=t.dataTooltipFontSize??re.tooltipFontSize,i=sa(a.uid,"tooltipFontSize")!==e;a.tooltip.label.fontSize=e,i&&!a.tooltip.visible&&(a.tooltip.label.html=""),a.tooltip.label.invalidate(),Jn(a.uid,{tooltipFontSize:e})}}function XQ(a){let t=a.tooltip??new fo;t.pointerOrientation="vertical",a instanceof wr||a instanceof Aa?t.label.maxWidth=re.boxPlot.boxPlotTooltipLabelWidth:t.label.maxWidth=re.tooltipWidth,t.label.wrap=!0;let e=ve(a.chart?.uid,"config"),i=e?Uf(a,e):void 0;i!==void 0&&Uv(a,i),t.events.on(Ie.Shown,r=>{let s=ve(a.chart.uid,"config");if(s!==void 0){let n=Uf(a,s),{dataTooltipReverseColor:o}=n??{};v1(r.target,o)}})}function zQ(a){a instanceof Ks||a.series.each(t=>{XQ(t)})}function b1(a,t){a.tooltipHTML=re.htmlEmptyContent,a.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:s}=t;if(s!==void 0){let n=ve(s.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)r="";else{let l=sa(t.uid,"barAndLineTooltipFormatter");if(l!==void 0&&t.isReady()){let{dataItem:h}=i;if(h instanceof Ss||h instanceof Wa){let u=n?.series.find(c=>c.id===t.id);if(u!==void 0){let c=xn({config:n}),d=c?h.valueX:h.valueY,A=(c?h.values.valueX.totalPercent:h.values.valueY.totalPercent)/100,p=h.dataContext??{};if(p!==void 0){let f=ve(s.uid,"rendererFieldNames"),m=no({value:JA(It([u]),u),dataContext:p,useRendererLabel:Hu(n,f),config:n}),g=oo(p);g===void 0&&(g=m);let y=p[re.dateBinningRange];r=l({seriesName:t.name,xValue:m,originalXValue:g,dateBinningRange:y,statValue:d,percentValue:A})}}}}}}return Er(r)}),a.tooltipPosition=t instanceof Pi?re.markerTooltipPosition:re.columnTooltipPosition,t.cursorTooltipEnabled=!1}function GQ(a){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:s,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=a,l=n;l===void 0&&(ba(s)&&s?(l=s,t&&(l.intlOptions.style="decimal")):l=Xm());let h=ve(e.chart.uid,"formatLocale"),u=i!==void 0?Rf({value:i,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:h}):"",c="";if(t&&r!==void 0){let d=o;d===void 0&&(d=zm(),d.intlOptions.minimumFractionDigits=2,d.intlOptions.maximumFractionDigits=2),c=Rf({value:r,valueFormat:d,iLocale:e.chart.language.locale,formatLocale:h})}return{formattedStatValue:u,formattedPercentValue:c}}function YQ(a){let{series:t,dateRange:e,xAxisValueFormat:i}=a,r;if(e!==void 0&&e.length>0){let s=t.chart?.uid,n=ve(s,"timeIntervalInfo"),o=ve(s,"config"),l=ve(s,"options"),h=ve(s,"queryObject"),u=o&&_h(o.series[0])?o.series[0].temporalBinning?.outTimeZone:void 0,c={};switch(n?.unit){case er.Second:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case er.Minute:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case er.Hour:c={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case er.Day:case er.Week:case er.Month:case er.Year:c={month:"numeric",day:"numeric",year:"numeric"};break}tp({chartConfig:o,queryObject:h,options:l})&&(c.timeZone=u??i.intlOptions.timeZone);let d=new Date(e[0]),A=new Date(e[1]);if(!Number.isNaN(d.valueOf())){let p=ve(t.chart.uid,"formatLocale"),f=fl({type:V.DateAxisFormat,iLocale:t.chart.language.locale,formatLocale:p}),m=f.format(d,c);if(r=m,!Number.isNaN(A.valueOf())){let g=f.format(A,c);g!==m&&(r=`${r} - ${g}`)}}}return r?.toString()??""}function x1(a){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:s,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:u}=a,c,d=ve(n.chart.uid,"formatLocale");return eg({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:u})&&l!==void 0&&e?.type===V.DateAxisFormat?c=YQ({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?c=new Date(o).toLocaleTimeString(d):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(c=Rf({value:o,valueFormat:s??e,iLocale:n.chart.language.locale,formatLocale:d})):typeof o=="number"&&ba(e)?c=Rf({value:o,valueFormat:r??e,iLocale:n.chart.language.locale,formatLocale:d}):c=o,c?.toString()??""}function KQ(a){let{series:t,fieldList:e,queryObject:i,setTimeBinningInfoWhenNotProvided:r,seriesIndex:s,seriesConfig:n,utilsStrings:o}=a,{dataTooltipValueFormat:l,dataTooltipPercentFormat:h,dataTooltipDateFormat:u}=n,c=()=>"",{chart:d}=t;if(d!==void 0){let A=ve(d.uid,"config");if(A!==void 0){let{dataTooltipVisible:p}=n,f=t instanceof Pi?n.markerVisible:void 0;if(p===!1||f===!1)c=()=>"";else{let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,x=It(A.series),w=e?.find(U=>U.name===n.x)?.type===YA.TimeOnly,S=$s(A)===Oi.Stacked100,T=Ch(Os(i)).idField,F=Or(e,n.x),L=vA(F,m[0].title?.content.text),$=y1({config:A,fieldList:e,objectIdField:T,seriesIndex:s,utilsStrings:o,isStacked100:S}),I=Ra(d.rtl);c=U=>{let{statValue:P,percentValue:Q,xValue:Y,dateBinningRange:G}=U,ee=x1({seriesConfig:n,xAxisValueFormat:g,dataTooltipValueFormat:l,dataTooltipDateFormat:u,setTimeBinningInfoWhenNotProvided:r,series:t,xValue:Y,dateBinningRange:G,isTimeOnlyField:w,queryObject:i}),{formattedStatValue:te,formattedPercentValue:le}=GQ({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:l,dataTooltipPercentFormat:h,series:t,statValue:P,percentValue:Q}),z=[`<b>${L}${I} </b>${ee}`];switch(x){case ke.BarAndLineFromFields:{z.pop();let K=Pw({config:A,fieldName:Or(e,ee??""),utilsStrings:o});z.push(`<b>${K}${I} </b>${te}`);break}case ke.BarAndLineMonoField:case ke.BarAndLineNoAggregation:case ke.BarAndLineMultiFields:z.push(`<b>${$}${I} </b>${te}`);break;case ke.BarAndLineSplitByNoAggregation:case ke.BarAndLineSplitBy:{let K=Dn(n.query?.where,!1),we=tx({value:Or(e,K),escape:!0});z.push(`<b>${we}${I} </b>${t.name}<br /><b>${$}${I} </b>${te}`)}break}return S&&z.push(`<b>${o.statistics.percent}${I} </b>${le}`),z.join("<br />")}}}}return c}function _1(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{barAndLineTooltipFormatter:i??KQ(a)}),Uv(t,e)}function Dw(a){let{target:t,defaultTooltipHTML:e,candleStickSeries:i,meanLineSeries:r,outliersSeries:s,tooltipCallback:n}=a,o=e,l=i??r;if(l!==void 0){let{chart:h}=l;if(h!==void 0){let u=ve(h.uid,"config"),{dataTooltipVisible:c}=u?.series[0]??{};if(c===!1)o="";else{let d=sa(l.uid,"boxPlotTooltipFormatter");d!==void 0&&l.isReady()&&u&&(o=n({target:t,defaultTooltipHTML:e,config:u,candleStickSeries:i,meanLineSeries:r,outliersSeries:s,boxPlotTooltipFormatter:d}))}}}return Er(o)}function ZQ(a){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,outliersSeries:s,boxPlotTooltipFormatter:n}=a,o=e;if(r!==void 0&&s!==void 0){let l=r.dataItems.values.find(u=>(u.categories.categoryX??u.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY)),h=i.series.find(u=>u.id===r.id);if(h!==void 0){let u=l?.dataContext??{};if(u!==void 0){let c=no({value:u[h.x],dataContext:u,useRendererLabel:Fl(i),specificField:pt.xAxisField}),d=oo(u);d===void 0&&(d=c),o=n({seriesName:s.name,xValue:c,originalXValue:d,dataContext:u})}}}return o}function qQ(a){let{target:t,defaultTooltipHTML:e,config:i,meanLineSeries:r,boxPlotTooltipFormatter:s}=a,n=e;if(r!==void 0){let o=r.dataItems.values.find(l=>(l.categories.categoryX??l.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY));if(o instanceof Wa){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let u=no({value:h[l.x],dataContext:h,useRendererLabel:Fl(i),specificField:pt.xAxisField}),c=oo(h);c===void 0&&(c=u),n=s({seriesName:r.name,xValue:u,originalXValue:c,dataContext:h})}}}}return n}function JQ(a){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,boxPlotTooltipFormatter:s}=a,n=e;if(r!==void 0){let o=t.dataItem;if(o instanceof yc){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let u=no({value:h[l.x],dataContext:h,useRendererLabel:Fl(i),specificField:pt.xAxisField}),c=oo(h);c===void 0&&(c=u),n=s({seriesName:r.name,xValue:u,originalXValue:c,dataContext:h})}}}}return n}function eH(a){a.cursorTooltipEnabled=!1,a.tooltipPosition=re.columnTooltipPosition,a.columns.template.tooltipHTML=re.htmlEmptyContent,a.columns.template.adapter.add("tooltipHTML",(t,e)=>Dw({target:e,defaultTooltipHTML:t??"",candleStickSeries:a,tooltipCallback:JQ}))}function tH(a,t){let e=Yr(a);e!==void 0&&(e.tooltipPosition=re.markerTooltipPosition,e.tooltipHTML=re.htmlEmptyContent,a.cursorTooltipEnabled=!1,e.adapter.add("tooltipHTML",(i,r)=>Dw({target:r,defaultTooltipHTML:i??"",candleStickSeries:t,outliersSeries:a,tooltipCallback:ZQ})))}function iH(a){let t=Yr(a);t!==void 0&&(a.cursorTooltipEnabled=!1,t.tooltipPosition=re.markerTooltipPosition,t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>Dw({target:i,defaultTooltipHTML:e??"",meanLineSeries:a,tooltipCallback:qQ})))}function du(a){let{label:t,value:e,strongColon:i,useTable:r}=a,s=`<b>${t}${i}</b> ${e}`;return r!==!1?`<tr><td>${s}</td></tr>`:s}function rH(a){let{dataContext:t,series:e,dataTooltipValueFormat:i,y:r,splitBy:s,utilsStrings:n,useTable:o}=a,l=i??Xm(),h=Object.values(Zt),u=Ra(e.rtl),c=o!==!1?['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>']:[""];return h.forEach(d=>{let A=Zi({key:d,y:r,splitBy:s}),p=t[A];if(p!=null&&typeof p=="number"){let f=ve(e.chart.uid,"formatLocale"),m=Rf({value:p,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:f}),g="";switch(d){case Zt.Min:g=n.statistics.minimum;break;case Zt.FirstQuartile:g=n.statistics.firstQuartile;break;case Zt.Median:g=n.statistics.median;break;case Zt.ThirdQuartile:g=n.statistics.thirdQuartile;break;case Zt.Max:g=n.statistics.maximum;break;case Zt.IQR:g=n.statistics.iqr;break;case Zt.Average:g=n.statistics.mean;break;case Zt.StandardDeviation:}ku(g)||c.push(du({label:g,value:m,strongColon:u,useTable:o}))}}),c}function sH(a){let{series:t,fieldList:e,seriesConfig:i,utilsStrings:r,queryObject:s}=a,{dataTooltipValueFormat:n}=i,o=()=>"",{chart:l}=t;if(l!==void 0){let h=ve(l.uid,"config");if(h!==void 0){let u=h.axes,c=u?.[0].valueFormat,{showMean:d}=h,A=It(h.series),p=Dn(i.query?.where),f=Or(e,p),m=xh({where:i.query?.where,escape:!1}),g=Or(e,i.x),y;i.x!==Wm&&(y=vA(g,u?.[0].title?.content.text));let x=Ra(l.rtl);o=w=>{let{dataContext:S,xValue:T}=w,F=x1({seriesConfig:i,xAxisValueFormat:c,series:t,xValue:T,queryObject:s}),L=[],$=F!==void 0&&!ku(F)?Or(e,F):"",I=d===!0?[h.series[0].y].flat()[0]:[i.y].flat()[0],U=Or(e,I);switch(A){case ke.BoxPlotMonoField:case ke.BoxPlotMultiFields:case ke.BoxPlotMonoFieldAndSplitBy:case ke.BoxPlotMultiFieldsAndSplitBy:{if(F!==void 0&&!ku(F)){let ee=A===ke.BoxPlotMonoField?i.name??$:$;L.push(du({label:r.field,strongColon:x,value:ee}))}zi(f)||L.push(du({label:f,strongColon:x,value:i.name??m?.toString()}));break}case ke.BoxPlotMonoFieldAndCategory:case ke.BoxPlotMultiFieldsAndCategory:{L.push(du({label:r.field,strongColon:x,value:i.name??U})),F!==void 0&&!ku(F)&&L.push(du({label:y,strongColon:x,value:$}));break}case ke.BoxPlotMonoFieldAndCategoryAndSplitBy:L.push(du({label:r.field,strongColon:x,value:U})),F!==void 0&&!ku(F)&&L.push(du({label:y,strongColon:x,value:$})),zi(f)||L.push(du({label:f,strongColon:x,value:i.name??m?.toString()}));break}let P=[ke.BoxPlotMultiFieldsAndCategory],Q=S[re.boxPlot.boxPlotMeanLineMarkerId]!==void 0,Y=L.length>0&&!Q,G=rH({dataContext:S,series:t,dataTooltipValueFormat:n,splitBy:i.query?.where,y:P.includes(A)?[i.y].flat()[0]:void 0,utilsStrings:r,useTable:Y});return Y?`${L.join("<br>")}<table>${G.join("")}</table>`:`${L.join("<br>")}${G.join("<br>")}`}}}return o}function aH(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{boxPlotTooltipFormatter:i??sH(a)}),Uv(t,e)}function nH(a){let t=ml(re.dataLabelInitialize);return gu(t.uid,{isDataLabel:!0}),a.bullets.push(t),u1(t),o1(V.LineSeries,t),l1(V.LineSeries,t),ow(t,a),t.html="{valueX}",t}function oH(a){let{series:t}=a,e=nw(t,"bullets");c1({...a,dataLabel:e,defaultDataLabelFormatter:h1})}var B={Rotated:0,NonRotated:1,RTL:2,LTR:3,Stacked:4,Stacked100:5,SideBySide:6,LegendTop:7,LegendBottom:8,LegendLeft:9,LegendRight:10,DateAxis:11,ValueAxis:12,CategoryAxis:13,OrderByFieldsASC:14,OrderByFieldsDESC:15},C1=new Set([`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.LTR}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.DateAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.CategoryAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsASC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.SideBySide}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.LTR}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendLeft}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.NonRotated}-${B.RTL}-${B.Stacked100}-${B.LegendRight}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendTop}-${B.ValueAxis}-${B.OrderByFieldsDESC}`,`${B.Rotated}-${B.RTL}-${B.Stacked100}-${B.LegendBottom}-${B.ValueAxis}-${B.OrderByFieldsDESC}`]);function lH(a,t){t!==void 0&&(t.layout!==void 0&&(a.layout=t.layout),t.width!==void 0&&(a.width=jL(t.width)),t.height!==void 0&&(a.height=jL(t.height)),t.paddingTop!==void 0&&(a.paddingTop=t.paddingTop),t.paddingBottom!==void 0&&(a.paddingBottom=t.paddingBottom))}function hH(a){let t=!1,e=a.legend?.visible,i=a.legend?.title?.content.text,r=a.legend?.title?.visible;return t=e!==!1&&r!==!1&&i!==void 0&&i.length>0,t}function w1(a,t){let e=new Pe;return lH(e,a),e.parent=t,e}function B1(a,t){a.disabled=t}function uH(a,t){a.toBack()}function cH(a){if(a instanceof Ks){let{paddingTop:t,paddingRight:e,paddingBottom:i,paddingLeft:r}=re.gauge;a.padding(t,e,i,r)}else{let{paddingMinSize:t,marginMinSize:e,chartPaddingMinSize:i,chartContainer:r}=re;a.padding(i,i,i,i),a.chartAndLegendContainer.margin(e,e,e,e),a.chartAndLegendContainer.padding(t,t,t,t),a.chartContainer.margin(e,e,e,e),a.chartContainer.padding(r.paddingTop,t,t,t)}}function dH(a,t){let e=(i,r)=>{let{chartContainer:s,chartAndLegendContainer:n}=re,o=ve(i.uid,"config");if(o!==void 0){let l=hH(o),h=o.legend?.position;if(l)switch(h){case st.Top:i.chartAndLegendContainer.paddingTop=r.bbox.height??0,i.chartContainer.paddingBottom=s.paddingBottom??0;break;case st.Bottom:i.chartContainer.paddingBottom=r.bbox.height??0,i.chartAndLegendContainer.paddingTop=n.paddingTop??0;break;default:i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=s.paddingBottom??0;break}else i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=s.paddingBottom??0}};t.events.on(Ie.PositionChanged,()=>{e(a,t)})}function Lw(a){let{iLocale:t,pieChart:e,valueIntlOptions:i,percentageIntlOptions:r,displayNumericValue:s,displayPercentage:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u}=a,c=ve(e.uid,"formatLocale"),d=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:c}),A=fl({type:V.NumberAxisFormat,iLocale:t,formatLocale:c});d.numberFormat={...i},A.numberFormat={...r,style:"percent"};let p=Ra(e.rtl," ");return(f,m,g)=>{let y="";if(m!==void 0&&g!==void 0){let x=`${o??""}${d.format(m)}${l??""}`,w=`${h??""}${A.format(Math.abs(g/100))}${u??""}`;Number.isFinite(m)?s===!0&&n===!0?y=`${w}${p}(${x})`:s===!0?y=x:n===!0&&(y=w):y=""}return y}}function S1(a){let t=!1;if(a.position===st.Right||a.position===st.Left)t=!0;else{let e=a.labels.getIndex(0)?.parent?.x;e!==void 0&&(t=!a.labels.values.some(i=>i.parent?.x!==e))}return t}function AH(a){let t=!1,e=a.labels.getIndex(0)?.parent?.y;return e!==void 0&&(t=!a.labels.values.some(i=>i.parent?.y!==e)),t}function pH(a){a.events.on(Ie.LayoutValidated,()=>{let t=S1(a),e=AH(a),i=t||!e?"right":"center";a.valueLabels.template.horizontalCenter=xw(i),a.valueLabels.template.align=QI(i)})}function fH(a){gu(a.valueLabels.template.uid,{isLegendValueLabel:!0}),a.valueLabels.template.adapter.add("htmlOutput",(t,e)=>{let i=t,r=TN(a.uid,"pieChartLegendValueLabelsFormatter");if(r!==void 0&&(i=r(e.dataItem?.values?.value?.value??0,e.dataItem?.values?.value?.percent??0)),zi(i)&&(i=re.htmlEmptyContent),a.baseSprite instanceof Vl){let s=ve(a.baseSprite.uid,"config");s?.legend?.body!==void 0&&(i=xa({textSymbol:{...s.legend.body,text:i},format:"html"}))}return Er(i)}),a.valueLabels.template.html=re.htmlEmptyContent,pH(a)}function mH(a){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i,pieChartLegendValueLabelFormatter:r}=a,{visible:s,body:n,displayNumericValue:o,displayPercentage:l,displayCategory:h}=i??{};if(ze(e)===V.PieSeries){let{numericValueFormat:u,percentValueFormat:c,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f}=e[0],m=h??re.pieChart.displayCategoryOnLegend,g=o??re.pieChart.displayNumericValueOnLegend,y=l??re.pieChart.displayPercentageOnLegend,x=r;if(r===void 0){let T=Lw({iLocale:t.language.locale,pieChart:t.baseSprite,valueIntlOptions:u?.intlOptions,percentageIntlOptions:c?.intlOptions,displayNumericValue:g,displayPercentage:y,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f});x=(F,L)=>T("",F,L)}PN(t.uid,{pieChartLegendValueLabelsFormatter:x});let w=S1(t),S={type:V.Text,visible:s,content:{...n,type:Rt.TS,text:".",verticalAlignment:"middle",horizontalAlignment:w?"right":"center"}};_n({label:t.valueLabels.template,labelConfig:S,defaults:re.legendProperties.valueLabels}),t.labels.template.disabled=m===!1,t.valueLabels.template.disabled=g===!1&&y===!1}}function gH(a){let{dataContext:t}=a.target.dataItem??{};if(t instanceof Fa){let{component:e}=t;e instanceof Bs&&e.showTooltip()}}function yH(a){let t=()=>{let e=a.children.values.find(i=>i.className==="Container");if(e?.children.length===3){let i=e.children.values.findIndex(r=>r.className==="Container");if(i!==-1){let r=i!==0?0:2,s=e.children.getIndex(r)?.clonedFrom;s!==void 0&&gs(s.uid,"isLegendValueLabel")!==!0&&a.children.each(n=>{n.className==="Container"&&n.children.swap(1,r)})}}};a.events.on(Ie.Validated,t),t()}function JL(a,t){let{legendLabelReducedOpacity:e}=re.legendProperties;a!==void 0&&(a.fillOpacity=t===!1?e:1)}function kf(a){let{labels:t,seriesId:e,sliceCategory:i}=a;t.each(r=>{i!==void 0?i===r.dataItem.category&&JL(r,r.dataItem.slice.visible??!0):e===r.dataItem?.component?.id&&JL(r,r.dataItem?.component?.visible??!0)})}function Iw(a){a instanceof Bs?(a.slices.template.events.on(Ie.Shown,t=>{let e=t.target.dataItem.category;kf({labels:a.chart?.legend?.labels,sliceCategory:e}),kf({labels:a.chart?.legend?.valueLabels,sliceCategory:e})}),a.slices.template.events.on(Ie.Hidden,t=>{let e=t.target.dataItem.category;kf({labels:a.chart?.legend?.labels,sliceCategory:e}),kf({labels:a.chart?.legend?.valueLabels,sliceCategory:e})})):a.events.on(Ie.VisibilityChanged,t=>{let e=t.target.id;kf({labels:a.chart?.legend?.labels,seriesId:e})})}function F1(a){let{title:t,visible:e}=a;return t!==void 0&&e!==!1&&t?.visible!==!1}function vH(a,t){let{legendProperties:e}=re;if(a.position===st.Bottom)a.marginTop=e.marginTop??0,a.marginBottom=0,a.dy=0;else if(a.position===st.Top)a.marginBottom=e.marginBottom??0,a.marginTop=0,a.dy=0;else if(a.marginTop=0,a.marginBottom=0,!(a.baseSprite instanceof qi)){let i=F1(t),r=t.title?.content?.font?.size??re.generalFontSize;a.dy=-(i?r:15)}}function bH(a){let t=a.baseSprite,e;if(t!==void 0){let i=ve(t?.uid,"config");e=t?.rtl&&(i?.legend?.position===st.Top||i?.legend?.position===st.Bottom)}return e??!1}function xH(a){let t=a.baseSprite,e="";if(t instanceof Vt){let i=ve(t.uid,"config"),r=cs(i),s=r?B.Rotated:B.NonRotated,n=$s(i),o=B.SideBySide;n===Oi.Stacked?o=B.Stacked:n===Oi.Stacked100&&(o=B.Stacked100);let l=t.rtl?B.RTL:B.LTR,h;switch(i?.legend?.position){case st.Left:h=B.LegendLeft;break;case st.Top:h=B.LegendTop;break;case st.Bottom:h=B.LegendBottom;break;case st.Right:default:h=B.LegendRight;break}let u=r?t.yAxes.getIndex(0):t.xAxes.getIndex(0),c;u instanceof Ct?c=B.DateAxis:u instanceof Qe?c=B.ValueAxis:c=B.CategoryAxis;let d=i?.orderOptions?.data&&"orderBy"in i.orderOptions.data&&i.orderOptions.data.orderBy===GA.Descending?B.OrderByFieldsDESC:B.OrderByFieldsASC;e=`${s}-${l}-${o}-${h}-${c}-${d}`}return e}function _H(a){let t=xH(a);return C1.has(t)}function T1(a,t){let{legend:e,legendTitle:i}=a??{};switch(t){case V.PieSeries:e.reverseOrder=bH(e);break;case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:e.reverseOrder=_H(e);break}let r=e.reverseOrder===!0?e.children.length-1:0;e.children.moveValue(i,r)}function CH(a){if(a.visible){let t=ve(a.chart.uid,"config")?.series.find(e=>e.id===a.id);if(t!==void 0&&ze([t])===V.LineSeries){let{markerVisible:e}=t;e!==!1&&a.bulletsContainer.show()}}}function wH(a,t){let e=a.target.dataItem,i=a.target.isActive;if(e?.dataContext!==void 0){let{dataContext:r}=e,s={visible:i};if(r instanceof Fa)ve(t.uid,"isNonAggregatedChart")===!0?s.sliceData=r.dataContext:s.sliceId=r.category;else if(r instanceof wr){let o=r.id,l=Wf(t,o);if(l!==void 0){let d=ve(t.uid,"config"),A=$w(d?.showOutliers,i),p=Yr(l);p!==void 0&&(p.disabled=!A),Ui(l,A)}let{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t,o);h!==void 0&&Ui(h,i),u!==void 0&&Ui(u,i),c!==void 0&&Ui(c,i),s.seriesId=r.id}else s.seriesId=r.id;let n=r instanceof Fa?r.component:r;(n instanceof Hr||n instanceof Bs)&&n.events.once(Ie.Validated,()=>{n instanceof Hr&&(U1(n),n.events.dispatchImmediately(Ie.Validated,{type:Ie.Validated,target:n}));let o=n instanceof Bs,l=ve(t.uid,"currentSelectionDataItems"),h=l!==void 0&&l.length>0,u=ve(t.uid,"actionMode")??re.actionMode,c;n instanceof Xi?c=n.columns:o?c=n.slices:n instanceof Pi&&(CH(n),c=Yr(n)?.clones),c?.each(d=>{d.dataItem instanceof Go||(Zn({element:d,selected:d.isActive,useNativeState:o,backToDefaultState:!h}),o&&u===Ut.None&&(d.clickable=!1))})}),lx(s,t.htmlContainer)}}function BH(a){let{legendProperties:t,legendProperties:e}=re;a.adapter.add("paddingRight",()=>a.scrollbar.visible?e.legendPaddingRightWithScrollbarVisible:t.paddingRight),a.adapter.add("paddingLeft",()=>t.paddingLeft),a.adapter.add("paddingTop",()=>t.paddingTop),a.adapter.add("paddingBottom",()=>t.paddingBottom)}function SH(a){a.scrollable=!0}function FH(a){let t=ml(void 0,a);return t.adapter.add("paddingTop",e=>{let i=e,r=t.bbox.height;return r>0&&(i=-r),i}),t.adapter.add("x",e=>{let i=e,{marginLeft:r,marginRight:s}=re.legendProperties.legendTitle;switch(ve(a.baseSprite.uid,"config")?.legend?.title?.content?.horizontalAlignment){case"left":i=t.measuredWidth+(r??0);break;case"right":i=a.measuredWidth-t.measuredWidth-(s??0);break;default:i=a.measuredWidth/2;break}return i}),t.adapter.add("disabled",e=>(e===!1&&t.validate(),e)),t}function TH(a){let{legendConfig:t,legendTitle:e}=a,{title:i,position:r}=t,{legendTitle:s}=re.legendProperties,n=F1(t);if(i!==void 0){let o={...i,visible:n};_n({label:e,labelConfig:o,defaults:s}),e.marginLeft=s.marginLeft??0}r===st.Top||r===st.Bottom?(e.maxWidth=Number.NaN,e.isMeasured=!1):(e.maxWidth=s.maxWidth??Number.NaN,e.marginTop=n?e.bbox?.height??i?.content?.font?.size??re.generalFontSize:0,e.isMeasured=!0)}function PH(a){let t=re.legendProperties;a.labels.template=ml(t.legendLabels),a.valueLabels.template=ml(t.legendLabels),a.markers.template.width=t.legendMarkersSize,a.markers.template.height=t.legendMarkersSize,a.labels.template.adapter.add("wrap",()=>!0),a.labels.template.adapter.add("maxWidth",e=>{let i=e,r;if(a.baseSprite instanceof qi&&(r=ve(a.baseSprite.uid,"config")?.legend?.labelMaxWidth),a.position===st.Right||a.position===st.Left)i=r??re.legendProperties.legendLabels.maxWidth;else if(r!==void 0)i=r;else{let s=0;a.valueLabels.template.disabled||a.valueLabels.each(n=>{s=Math.max(s,n.measuredWidth)}),i=a.measuredWidth-s-45}return i}),a.labels.template.adapter.add("textOutput",(e,i)=>{let r=i.dataItem?.label?.currentText,s,n=ve(a.baseSprite.uid,"config");if(n!==void 0){let{series:o}=n;if(ze(o)===V.PieSeries){let l=It(o)===ke.PieFromFields?ao:o[0].x,h=i.dataItem?.dataContext?.[l];typeof h=="string"?s=h:h&&typeof h!="object"&&(s=h.toString())}else i.dataItem?.component instanceof go&&(s=i.dataItem.component.name)}return(s!==void 0&&!zi(s)?rg(s):s)??r}),a.valueLabels.template.adapter.add("maxWidth",e=>{let i=e,r;return a.baseSprite instanceof qi&&(r=ve(a.baseSprite.uid,"config")?.legend?.valueLabelMaxWidth),a.position===st.Right||a.position===st.Left?i=r??re.legendProperties.valueLabels.maxWidth:i=r??Number.NaN,i})}function DH(a,t){a.itemContainers.template.events.on(Ie.Hit,e=>wH(e,t)),t instanceof qi&&a.itemContainers.template.events.on(Ie.Over,e=>gH(e))}function LH(a){a.itemContainers.template.reverseOrder=a.rtl}function yv(a,t){a.adapter.keys().includes(t)||a.adapter.add(t,e=>{let i=e,r=a.dataItem?.dataContext;if(r!==void 0){let s=r instanceof Fa?r.component?.chart:r.chart;if(s!==void 0){let n=ve(s.uid,"config"),{rectangleMarkerRadius:o,roundedMarkerRadius:l}=re.legendProperties;i=n?.legend?.roundMarkers===!0?l:o}}return i})}function eI(a){a.markers.each(t=>{let e=t.children.getIndex(0);e instanceof Qr&&(yv(e,"cornerRadiusBottomLeft"),yv(e,"cornerRadiusBottomRight"),yv(e,"cornerRadiusTopLeft"),yv(e,"cornerRadiusTopRight"),e.validate())})}function IH(a){a.markers.template.events.on(Ie.Inited,()=>{eI(a)}),a.events.once(Ie.Validated,()=>{eI(a)})}function kH(a){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i}=a,{visible:r,body:s}=i??{},n=ze(e),o={type:V.Text,visible:r,content:{...s,type:Rt.TS,text:" "}};_n({label:t.labels.template,labelConfig:o,defaults:re.legendProperties.legendLabels}),t.labels.template.valign="middle",t.valueLabels.template.valign="middle",n===V.PieSeries&&mH(a),t.valueLabels.template.width=Number.NaN}function $H(a,t){t.chartContainer.events.on(Ie.SizeChanged,ks(()=>{let e=ve(t.uid,"config")?.legend?.maxHeight??Number.NaN;Number.isFinite(e)||(a.position===st.Top||a.position===st.Bottom?e=re.legendProperties.maxHeight:e=t instanceof qi?t.chartContainer.measuredHeight:t.seriesContainer.measuredHeight),a.maxHeight=e,a.invalidateLayout()}),re.debounceTime)}function OH(a,t){let{position:e}=t;e===st.Top||e===st.Bottom?a.contentAlign="center":a.contentAlign="none"}function EH(a,t){let{legend:e}=a;e.events.on(Ie.DataItemsValidated,()=>{e.dataItems.length>0&&T1(a,t)})}function MH(a,t){t===st.Right||t===st.Left?a.width=Number.NaN:a.maxWidth=Number.MAX_SAFE_INTEGER}function P1(a,t){let e=si.pointer;t===!0?(a.itemContainers.template.clickable=!1,a.itemContainers.template.focusable=!1,e=si.default):(a.itemContainers.template.clickable=!0,a.itemContainers.template.focusable=!0),a.itemContainers.values.forEach(i=>{i.cursorOverStyle=e})}function RH(a,t){let e=new lc;a.legend=e,SH(e);let i=FH(e);return PH(e),fH(e),DH(e,a),LH(e),BH(e),EH({legend:e,legendTitle:i},ze(t)),$H(e,a),dH(a,i),yH(e),a.legend.events.on(Ie.ChildAdded,()=>{let r=ve(a.uid,"options");P1(e,r?.togglingLegendItemsDisabled)}),{legend:e,legendTitle:i}}function kw(a){let{legendElements:t,seriesConfig:e,webChartLegend:i}=a,{legend:r,legendTitle:s}=t,n=r.baseSprite,o=(n===void 0?!0:ix(e))&&i?.visible!==!1;if(n&&i&&o){let{position:l=re.legendProperties.position}=i;Ui(r,!0),TH({legendConfig:i,legendTitle:s}),IH(r),kH(a),OH(r,i),T1(t,ze(e)),r.position=l,MH(r,l),vH(r,i),P1(r,ve(n.uid,"options")?.togglingLegendItemsDisabled)}else r.position=st.Right,r.width=0,Ui(r,!1)}function UH(a){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],queryObject:s,selectionTheme:n,ignoreSmoothRenderingLimit:o,errorStrings:l}=a,h=e.series.length,{rotated:u}=e,c=e.series[i],{y:d,name:A,id:p,assignToSecondValueAxis:f}=c,m=new Pi;m.id=p,CA(m,A);let g,y;u!==!0?(g=r[0],y=f===!0&&r[2]?r[2]:r[1]):(g=f===!0&&r[2]?r[2]:r[0],y=r[1]),g!==void 0&&(m.xAxis=g),y!==void 0&&(m.yAxis=y);let x=xn({chart:t}),w=It(e.series),S=w===ke.BarAndLineSplitByNoAggregation?`${d.toString()}_${xh({where:c.query?.where,keepSurroundingQuotes:!1,escape:!1})}`:[d].flat()[0];x?m.dataFields.valueX=S:m.dataFields.valueY=S;let T=x?r[1]:r[0];if(T!==void 0){let $=d1(T,x);m.dataFields[$]=re.xAxisField}m.dataFields.customValue=c?.query?.where;let F=Os(s);D1({series:m,seriesConfig:c,seriesIndex:i,chartSubType:w,colorMatch:e.colorMatch===!0,rendererType:sg(e.chartRenderer,F?.renderer)}),L1(c,m);let L=Sw({chart:t,lineSeries:m,applyPropertiesToClones:!1});return b1(L,m),nH(m),Gc({element:L,customSelectionTheme:n}),jf({chart:t,element:L,queryObject:s,errorStrings:l}),kQ({chart:t,numberOfChartSeries:h,series:m,seriesType:V.LineSeries,marker:L,ignoreSmoothRenderingLimit:o}),Iw(m),zc(m),m}function VH(a){let{series:t,seriesIndex:e,chartSubType:i,seriesConfig:r,colorMatch:s,lineColor:n,rendererType:o}=a,l=Yr(t),h=!1,u;if(l!==void 0){r.markerVisible!==!1&&r.visible!==!1?t.bulletsContainer.show():t.bulletsContainer.hide();let{markerSymbol:c}=r;c===void 0&&(c=Kb(),c.color=n),s?c.color=n:c.color??=n;let d=new Set,A;wv({element:l,markerSymbol:c}),l.clones.each(p=>{if(p.dataItem instanceof Go)wv({element:p,markerSymbol:c}),p.states.getKey(ia.CustomActive)?.reset(),p.states.getKey(ia.CustomInactive)?.reset();else{let f=p.dataItem?.dataContext,m=on({seriesConfig:r,dataItem:f,chartSubType:i,colorMatch:s,rendererType:o}),g=pu({seriesConfig:r,seriesIndex:e,seriesSymbol:c,element:p,colorMatch:s,rendererSymbol:m});u=g.symbolWithColorInfo,A=g.stylingInfo,yA({element:p,stylingInfo:A}),d.add(JSON.stringify(A))}}),h=d.size>1,h||yA({element:l,stylingInfo:A})}return h?void 0:u}function NH(a){let{series:t,seriesConfig:e,chartSubType:i,colorMatch:r,rendererType:s}=a,n;return t.dataItems?.values.every(o=>{let l=!0,h=o.dataContext;return n=on({seriesConfig:e,dataItem:h,chartSubType:i,colorMatch:r,rendererType:s}),n!==void 0&&(l=!1),l}),n}function D1(a){let{series:t,seriesIndex:e,seriesConfig:i,chartSubType:r,colorMatch:s,rendererType:n}=a,o=t,l=NH({series:o,seriesConfig:i,chartSubType:r,colorMatch:s,rendererType:n}),h=pu({seriesConfig:i,seriesIndex:e,seriesSymbol:i.lineSymbol??Zb(e),element:o,colorMatch:s,rendererSymbol:l});return Ui(o,i.visible),h.symbolWithColorInfo}function L1(a,t){a.showArea===!0?a.areaColor!==void 0?(t.fill=bn(a.areaColor),t.fillOpacity=t.fill.alpha===0?0:1):(t.fill=Ne(t.stroke.hex,1),t.fillOpacity=re.lineSeries.areaOpacity):t.fillOpacity=0}function I1(a){let{series:t,seriesIndexMapper:e,seriesSymbolMapForEvent:i,seriesIndex:r,colorMatch:s,rendererType:n}=a,o=a.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,u=It(l?.series);Ui(t,o.visible);let c=D1({series:t,seriesConfig:o,seriesIndex:r,chartSubType:u,colorMatch:s,rendererType:n}),d=VH({series:t,seriesIndex:r,seriesConfig:o,chartSubType:u,colorMatch:s,lineColor:c.color,rendererType:n});i.set(e.get(o.id)??r,{lineSymbol:c,markerSymbol:d}),L1(o,t),i.size===h&&(nn({data:i,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)}),t.chart.feedLegend())}function QH(a){let{seriesConfig:t,lineSeries:e,isRotated:i}=a;t.lineSmoothed===!0?e.smoothing=i?jb.MonotoneY:jb.MonotoneX:e.smoothing=re.lineSeries.lineSmoothedKind}function HH(a,t){let{connectLines:e,temporalBinning:i}=t,r=i?.nullPolicy;a.connect=e!==!1&&r!==Wb.Null}function jH(a){let{seriesConfig:t,series:e,axes:i,rotationChanged:r,seriesIndex:s,fieldList:n,stackedType:o,queryObject:l,options:h,utilsStrings:u}=a,{visible:c,name:d}=t,A=i[1].valueFormat,p=ve(e.chart.uid,"config"),f=xn({config:p}),m=It(p?.series);e.id=t.id,Ui(e,c);let g=d,y=e.dataFields?.customValue??"";(m===ke.BarAndLineSplitBy||m===ke.BarAndLineSplitByNoAggregation)&&(g=ng({queryObject:l,fieldName:Dn(y),fieldValue:g})??g),CA(e,g),Fw({series:e,seriesConfig:t,rotationChanged:r,stackedType:o,isRotated:f}),HH(e,t),Mv({styleCallback:I1,callbackProps:a,series:e,seriesConfig:t}),QH({seriesConfig:t,lineSeries:e,isRotated:f}),_1({series:e,seriesConfig:t,fieldList:n,queryObject:l,seriesIndex:s,setTimeBinningInfoWhenNotProvided:h?.setTimeBinningInfoWhenNotProvided,utilsStrings:u,tooltipFormatter:h?.tooltipFormatter}),oH({series:e,seriesType:V.LineSeries,stackedType:o,dataLabelsConfig:t.dataLabels,yAxisValueFormat:A,customDataLabelFormatter:h?.dataLabelFormatter})}function Vv(a,t){let e=a.series.values.find(s=>s.id===`${t}_${ji.Top}`),i=a.series.values.find(s=>s.id===`${t}_${ji.Median}`),r=a.series.values.find(s=>s.id===`${t}_${ji.Bottom}`);return{topStepLineSeries:e,medianStepLineSeries:i,bottomStepLineSeries:r}}function Wf(a,t){return a.series.values.find(e=>e.id===`${t}_${ji.Outliers}`)}function $w(a,t){return(a??re.boxPlot.boxPlotOutliersVisibility)&&t!==!1}function WH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=oa(i),h=i.series[r],[u,c]=e,d=new wr;return d.hoverable=!0,l||(Gc({element:d.columns.template,customSelectionTheme:s}),jf({chart:t,element:d.columns.template,queryObject:n,errorStrings:o})),d.id=h.id,u!==void 0&&(d.xAxis=u),c!==void 0&&(d.yAxis=c),d.simplifiedProcessing=!0,d.columns.template.applyOnClones=!0,d.riseFromOpenState.reset(),d.riseFromPreviousState.reset(),d.dropFromOpenState.reset(),d.dropFromPreviousState.reset(),CA(d,h.name),zc(d),d}function ZC(a){let{axisList:t=[],chartConfig:e,seriesIndex:i,type:r,selectionTheme:s}=a,n=e.series[i],[o,l]=t,h=new Aa;return h.hoverable=!0,h.id=`${n.id}_${r}`,o!==void 0&&(h.xAxis=o),l!==void 0&&(h.yAxis=l),h.noRisers=!0,h.simplifiedProcessing=!0,Gc({element:h.segments.template,customSelectionTheme:s}),h.hiddenInLegend=!0,zc(h),h}function XH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=i.series[r],h=oa(i),[u,c]=e,d=new Pi;Jn(d.uid,{isBoxPlotOutliersSeries:!0}),d.id=`${l.id}_${ji.Outliers}`,u!==void 0&&(d.xAxis=u),c!==void 0&&(d.yAxis=c),d.simplifiedProcessing=!0,d.hiddenInLegend=!0,d.strokeOpacity=0;let A=Sw({chart:t,lineSeries:d});return h||(Gc({element:A,customSelectionTheme:s}),jf({chart:t,element:A,queryObject:n,errorStrings:o})),zc(d),d}function wA(a){let{chartConfig:t,seriesConfig:e,meanLineSeries:i,candleStickSeries:r,topStepLineSeries:s,medianStepLineSeries:n,bottomStepLineSeries:o,outliersSeries:l,creation:h=!1,rotationChanged:u,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:d}=a,{x:A,y:p}=e,f=h||u===!0||d===!0,m=f||c===!0,g=f,y=f;if(t!==void 0){let{showOutliers:x,standardizeValues:w,showMean:S}=t,T=xn({config:t});if(i instanceof Pi&&y){let P=It(t.series),Q=e?.query?.where,Y=Zi({y:P===ke.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:P,splitBy:Q,showOutliers:x,standardizeValues:md(P)?w:!1,key:Zt.Average});T?(i.dataFields.valueX=Y,i.dataFields.categoryY=A):(i.dataFields.valueY=Y,i.dataFields.categoryX=A),i.dataFields.customValue=Q}let F=ug(t),L=It(F.series),$=S===!0?void 0:e?.query?.where,I={y:L===ke.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:L,splitBy:$,showOutliers:x,standardizeValues:md(L)?w:!1};if(m){if(r instanceof wr){let P=Zi({...I,key:Zt.Min}),Q=Zi({...I,key:Zt.FirstQuartile}),Y=Zi({...I,key:Zt.Max}),G=Zi({...I,key:Zt.ThirdQuartile});T?(r.dataFields.lowValueX=P,r.dataFields.openValueX=Q,r.dataFields.highValueX=Y,r.dataFields.valueX=G,r.dataFields.categoryY=A):(r.dataFields.lowValueY=P,r.dataFields.openValueY=Q,r.dataFields.highValueY=Y,r.dataFields.valueY=G,r.dataFields.categoryX=A),r.dataFields.customValue=$}if(s instanceof Aa&&n instanceof Aa&&o instanceof Aa){let P=Zi({key:Zt.Max,...I}),Q=Zi({key:Zt.Median,...I}),Y=Zi({key:Zt.Min,...I});T?(s.dataFields.valueX=P,n.dataFields.valueX=Q,o.dataFields.valueX=Y,s.dataFields.categoryY=A,n.dataFields.categoryY=A,o.dataFields.categoryY=A):(s.dataFields.valueY=P,n.dataFields.valueY=Q,o.dataFields.valueY=Y,s.dataFields.categoryX=A,n.dataFields.categoryX=A,o.dataFields.categoryX=A),s.dataFields.customValue=$,o.dataFields.customValue=$,n.dataFields.customValue=$}}if(l instanceof Pi&&g){let P=Zi({...I,key:Zt.Outlier});T?(l.dataFields.valueX=P,l.dataFields.categoryY=A):(l.dataFields.valueY=P,l.dataFields.categoryX=A),l.dataFields.customValue=$,l.invalidateRawData()}let U=i?.chart??r?.chart;U!==void 0&&(m||y)&&U.invalidateRawData()}}function zH(a){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,selectionTheme:s,queryObject:n,errorStrings:o}=a,l=i.series[r],[h,u]=e,c=new Pi;Jn(c.uid,{isBoxPlotMeanLineSeries:!0}),c.id=l.id,h!==void 0&&(c.xAxis=h),u!==void 0&&(c.yAxis=u),c.simplifiedProcessing=!0;let d=Sw({chart:t,lineSeries:c});return Gc({element:d,customSelectionTheme:s}),jf({chart:t,element:d,queryObject:n,errorStrings:o}),zc(c),iH(c),wA({chartConfig:i,seriesConfig:l,meanLineSeries:c,creation:!0}),c}function GH(a){let{chartConfig:t,seriesIndex:e}=a,i=t.series[e],r=ze([i]),s=[];if(r===V.BoxPlotSeries){let n=WH(a),o=ZC({...a,type:ji.Top}),l=ZC({...a,type:ji.Median}),h=ZC({...a,type:ji.Bottom}),u=XH(a);eH(n),tH(u,n),wA({chartConfig:t,seriesConfig:i,candleStickSeries:n,topStepLineSeries:o,medianStepLineSeries:l,bottomStepLineSeries:h,outliersSeries:u,creation:!0}),s.push(n,o,l,h,u)}else if(r===V.LineSeries){let n=zH(a);s.push(n)}return s}function YH(a){let{candleStickSeries:t,seriesConfig:e,stylingInfo:i,chartSubType:r,colorMatch:s,rendererType:n}=a;if(i!==void 0){let o={...i},l=a1({data:t.chart.data,colorMatch:s,chartSubType:r,rendererType:n});i?.outline!==void 0&&l&&(o.outline.stroke=Qc(re.boxPlot.boxPlotWhiskersColor));let{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t.chart,t.id);if(h!==void 0&&u!==void 0&&c!==void 0&&o.outline!==void 0){o.outline.strokeWidth=re.boxPlot.boxPlotLineWidth,mA(h,o.outline),mA(u,o.outline),mA(c,o.outline);let d=e.visible!==!1;Ui(h,d),Ui(u,d),Ui(c,d)}}}function KH(a){let{candleStickSeries:t,seriesConfig:e,showOutliers:i,seriesSymbol:r}=a;if(r!==void 0){let s=Wf(t.chart,t.id);if(s!==void 0){let n=Yr(s);if(n!==void 0){let o=$w(i,e.visible),l={type:Rt.SMS,style:KA.Circle,color:r.color,size:re.boxPlot.boxPlotOutliersSize};n.clones.each(h=>{let u=t.dataItems.values.find(c=>(c.categories.categoryX??c.categories.categoryY)===(h.dataItem?.categories.categoryX??h.dataItem?.categories.categoryY))?.column?.fill;wv({element:h,markerSymbol:{...l,color:UI(u)??l.color},visible:o})})}}}}function ZH(a){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:s,colorMatch:n,showMean:o,rendererType:l}=a,h,u,c,d=new Set,A=!1,p=e.fillSymbol??Gm(i);if(t.columns.length===0?(c=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:new Ee,colorMatch:n,isChartFillSymbol:!0}),h=c.symbolWithColorInfo,u=c.stylingInfo):t.columns.each(f=>{c=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:f,colorMatch:n,isChartFillSymbol:!0,rendererSymbol:o?void 0:on({dataItem:f.dataItem?.dataContext,seriesConfig:e,chartSubType:s,colorMatch:n,rendererType:l})}),h=c.symbolWithColorInfo,u=c.stylingInfo,d.add(JSON.stringify(h))}),A=d.size>1,r>1){let f=t.legendDataItem?.marker.children.getIndex(0);f!==void 0?yA({element:f,stylingInfo:u}):t.chart.legend.events.once(Ie.Validated,()=>{yA({element:t.legendDataItem?.marker.children.getIndex(0),stylingInfo:u}),t.chart.legend.invalidate()})}return{multipleSymbolsForOneSeries:A,seriesSymbol:h,stylingInfo:u}}function qH(a){let{series:t,showOutliers:e,colorMatch:i,seriesIndex:r,seriesIndexMapper:s,seriesSymbolMapForEvent:n,seriesConfig:o,rendererType:l,queryObject:h}=a,u=ve(t.chart.uid,"config"),c=oa(u),d=u?.series.length??0,A=It(u?.series),p=!1,f;if(t instanceof wr&&o.type===V.BoxPlotSeries){let m=ZH({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:d,chartSubType:A,colorMatch:i,showMean:c,rendererType:l}),{stylingInfo:g}=m;({multipleSymbolsForOneSeries:p,seriesSymbol:f}=m),n.set(s.get(o.id)??r,p?void 0:{fillSymbol:f??o.fillSymbol}),YH({candleStickSeries:t,seriesConfig:o,colorMatch:i,stylingInfo:g,chartSubType:A,rendererType:l}),KH({candleStickSeries:t,seriesConfig:o,showOutliers:e,seriesSymbol:f})}else t instanceof Pi&&o.type===V.LineSeries&&I1({series:t,seriesConfig:o,seriesIndexMapper:s,seriesSymbolMapForEvent:n,seriesIndex:r,colorMatch:i,rendererType:l});n.size===d&&nn({data:n,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)})}function JH(a){let{numberOfSeries:t,chart:e,showMean:i}=a,r=xn({chart:e}),s=r?e.yAxes.getIndex(0)?.renderer:e.xAxes.getIndex(0)?.renderer;if(s!==void 0){let{cellStartLocation:n,cellEndLocation:o}=s,l=n/(i===!0?1:t),h=e.series.values.filter(u=>u instanceof wr);h.forEach((u,c)=>{let d=n+c/h.length*(o-n)+l,A=n+(c+1)/h.length*(o-n)-l,{topStepLineSeries:p,medianStepLineSeries:f,bottomStepLineSeries:m}=Vv(e,u.id);p!==void 0&&(p.startLocation=d,p.endLocation=A),f!==void 0&&(f.startLocation=d,f.endLocation=A),m!==void 0&&(m.startLocation=d,m.endLocation=A);let g=Wf(e,u.id);if(g!==void 0){let y=(d+A)/2;r?g.dataItems.template.locations.categoryY=y:g.dataItems.template.locations.categoryX=y}})}}function e2(a){let{outliersSeries:t,chartData:e,dataWasUpdated:i,rotationChanged:r,seriesReordered:s,seriesWereReinitialized:n}=a;(r||i||s||n)&&(t.data=e?.outliers??[])}function t2(a){let{meanLineSeries:t,chartData:e,rotationChanged:i,sortChanged:r,dataWasUpdated:s,seriesReordered:n,seriesWereReinitialized:o}=a;(i||s||r||n||o)&&(t.data=e?.meanLines??[],t.invalidateData())}function i2(a){let{chart:t,chartConfig:e,seriesConfig:i,chartData:r,candleStickSeriesId:s,showOutliers:n,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:c,seriesWereReinitialized:d}=a,A=Wf(t,s);if(A!==void 0){let p=Yr(A);if(p!==void 0){let f=$w(n,i.visible);p.disabled=!f,e2({outliersSeries:A,chartData:r,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,seriesWereReinitialized:d})}wA({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:c,rotationChanged:l,outliersSeries:A})}}function r2(a){let{meanLineSeries:t,seriesConfig:e,chartData:i,dataWasUpdated:r,seriesReordered:s,sortChanged:n,rotationChanged:o,chartConfig:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u}=a;CA(t,e?.name),wA({chartConfig:l,seriesConfig:e,meanLineSeries:t,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u,rotationChanged:o}),t2({meanLineSeries:t,chartData:i,dataWasUpdated:r,seriesReordered:s,sortChanged:n,rotationChanged:o})}function s2(a){let{series:t,chartConfig:e,seriesConfig:i,rotationChanged:r,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n}=a;CA(t,i?.name),t.hiddenInLegend=oa(e),wA({chartConfig:e,seriesConfig:i,candleStickSeries:t,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:r})}function a2(a){let{chart:t,chartConfig:e,seriesConfig:i,candleStickSeriesId:r,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:o}=a,l=i.visible!==!1,{topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c}=Vv(t,r);h!==void 0&&Ui(h,l),u!==void 0&&Ui(u,l),c!==void 0&&Ui(c,l),wA({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:s,standardizeValuesVisibilityChanged:n,rotationChanged:o,topStepLineSeries:h,medianStepLineSeries:u,bottomStepLineSeries:c})}function n2(a){let{chart:t,series:e,chartData:i,utilsStrings:r,dataWasUpdated:s,sortChanged:n,seriesReordered:o,fieldList:l,outliersVisibilityChanged:h,showMean:u,seriesConfig:c,showOutliers:d,standardizeValuesVisibilityChanged:A,rotationChanged:p,seriesWereReinitialized:f,options:m,queryObject:g}=a,{tooltipFormatter:y}=m??{};JH({numberOfSeries:a.numberOfSeries,chart:t,showMean:u});let x=ve(t.uid,"config");if(x!==void 0){if(e instanceof wr&&c.type===V.BoxPlotSeries){let{id:w}=e;s2({series:e,chartConfig:x,seriesConfig:c,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A}),a2({chart:t,chartConfig:x,seriesConfig:c,candleStickSeriesId:w,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,rotationChanged:p}),i2({chart:t,chartConfig:x,seriesConfig:c,chartData:i,showOutliers:d,candleStickSeriesId:w,dataWasUpdated:s,rotationChanged:p,seriesReordered:o,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,seriesWereReinitialized:f})}else e instanceof Pi&&c.type===V.LineSeries&&r2({chartConfig:x,chartData:i,meanLineSeries:e,seriesConfig:c,dataWasUpdated:s,seriesReordered:o,sortChanged:n,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A});Mv({styleCallback:qH,callbackProps:a,series:e,seriesConfig:c}),aH({series:e,seriesConfig:c,fieldList:l,tooltipFormatter:y,utilsStrings:r,queryObject:g})}}function o2(a){let t=a.series.getIndex(0);if(t!==void 0){let e=!1;t.slices.each(i=>{i.isActive&&(e=!0),Zn({element:i,selected:!1,backToDefaultState:!0})}),e&&a.feedLegend()}}function l2(a,t=!0){let e;a.series.each((i,r)=>{if(!t||i.visible){e=kv(i,r);let s=[];if(e===V.BarSeries)s=i.columns?.values;else if(e===V.LineSeries)s=Yr(i)?.clones?.values;else if(e===V.BoxPlotSeries){if(i instanceof wr)s.push(...i.columns.values);else if(i instanceof Aa)s.push(...i.segments.values);else if(i instanceof Pi){let n=Yr(i)?.clones?.values;n!==void 0&&s.push(...n)}}s!==void 0&&s.forEach(n=>{Zn({element:n,selected:!1,backToDefaultState:!0})})}})}function BA(a){let{chart:t,selectionSource:e,clearOnlyVisibleSeries:i,disposeStyleAndSelection:r}=a,s=ve(t.uid,"currentSelectionDataItems");r!==!1&&A1(t,"updateSelectionCallbackDisposer"),ai(t.uid,{currentSelectionDataItems:void 0,currentSelectionOIDs:void 0,currentSelectionIndexes:void 0,computedSelectionDataItems:void 0,computedSelectionIndexes:void 0,pendingSelectionQueries:!1}),wn(t)&&(t instanceof Vt?l2(t,i??!0):t instanceof qi&&o2(t)),s&&Nu({data:{selectionSource:e??Tr.ClearSelection},htmlContainer:t.htmlContainer})}function h2(a){bx(),hx(a.htmlContainer),BA({chart:a})}function u2(a){let{chart:t,chartType:e,showMean:i}=a;return t.series.values.filter(r=>e!==V.BoxPlotSeries||!i&&r instanceof wr||i&&sa(r.uid,"isBoxPlotMeanLineSeries")).every(r=>sa(r.uid,"isSelectionApplied")===!0)}function c2(a){a.series.each(t=>Jn(t.uid,{isSelectionApplied:void 0}))}function k1(a,t){let e=ve(a.uid,"actionMode");if((e===Ut.MonoSelection||e===Ut.None)&&t.length>1)BA({chart:a});else{let i=a instanceof qi;t.forEach(r=>{Zn({element:r,useNativeState:i,selected:!0})})}}function d2(a){let{chart:t,chartConfig:e,series:i,options:r,elementsToApplySelectionTo:s,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,queryObject:u}=a,c=ze(e.series),d=It(e.series),A=Eo(e),p=[],f=[],m=[],g=Mo(e.series),y=i instanceof Hr?i.dataFields?.customValue??"":"";return s.forEach(x=>{if(!(x instanceof Go)){let w=x.dataItem?.dataContext;if(w!==void 0&&(c===V.BoxPlotSeries&&w[re.boxPlot.boxPlotOutlierId]!==!0||d===ke.BarAndLineMultiFields)&&(w=th({dataContext:w,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:c,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Oo(u)})),$v({elementDataContext:w,options:r,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,chartType:c,splitBy:y,chartSubType:d,showOutliers:A}))if(p.push(x),x.dataItem!==void 0&&f.push(x.dataItem.index),x?.dataItem instanceof Wa&&w!==void 0)m.push(w);else{let S=new Set;c===V.PieSeries&&sh(w)?(Hf({groupOfSlicesDataContext:w})??[]).forEach(T=>{n.forEach(F=>{Bw({layerOidField:o,sliceDataContext:T,selectionDataContext:F,xAxisField:l})&&S.add(T)})}):S.add(w),Array.from(S)?.forEach(T=>{let F=th({dataContext:T,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:c,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Oo(u)});F!==void 0&&m.push(F)})}else Zn({element:x,useNativeState:t instanceof qi,selected:!1})}}),k1(t,p),{selectedIndexes:f,newSelectionDataItems:m}}function A2(a){let{chart:t,selectionIndexes:e,queryObject:i}=a,r=[],s=[],n=ve(t.uid,"config"),o=Eo(n),l=Mo(n?.series??[]),h=It(n?.series);return t.series.each((u,c)=>{if(n&&u.visible){let d=n.series[0].x,A=_u(u),p=u instanceof Hr?u.dataFields?.customValue??"":"",f=kv(u,c),m=e.get(c);if(m!==void 0){let g;if(u instanceof Xi?g=u.columns:u instanceof Bs?g=u.slices:g=Yr(u)?.clones,g!==void 0){let{indexesToSelect:y}=m;g.each((x,w)=>{if(x&&(y===void 0||y.includes(w))){let S;f===V.BoxPlotSeries&&x.dataItem instanceof Wa?S=x.dataItem.dataContext:x.dataItem instanceof Go||(S=th({dataContext:x.dataItem?.dataContext,yList:l,yAxisField:A,xAxisField:d,splitBy:p,chartType:f,chartSubType:h,showOutliers:o,isFeatureCollectionLayer:Oo(i)})),S!==void 0&&r.push(S),s.push(x)}else Zn({element:x,useNativeState:t instanceof qi,selected:!1})})}}}}),k1(t,s),r}function p2(a){let{series:t,chartType:e,showMean:i}=a,r;switch(e){case V.ComboLineAndBarSeries:if(t instanceof Xi)r=t.columns.values;else if(t instanceof Pi){let s=Yr(t);s!==void 0&&(r=s.clones.values)}break;case V.BarSeries:t instanceof Xi&&(r=t.columns.values);break;case V.LineSeries:if(t instanceof Pi){let s=Yr(t);s!==void 0&&(r=s.clones.values)}break;case V.PieSeries:r=t.slices.values;break;case V.BoxPlotSeries:if(t.chart instanceof Vt){if(t instanceof wr&&i!==!0){r=[...t.columns.values];let s=Wf(t.chart,t.id);if(s!==void 0&&s.visible){let n=Yr(s);n!==void 0&&r.push(...n.clones.values)}}else if(i===!0&&t instanceof Pi&&sa(t.uid,"isBoxPlotMeanLineSeries")){let s=Yr(t);s!==void 0&&(r=s.clones.values)}}break}return r}function f2(a){let{series:t,seriesIndex:e,queryObject:i,options:r,dataWasUpdated:s,sortChanged:n,groupOfSlicesWasUpdated:o,xAxisField:l,yAxisField:h,rotationChanged:u}=a,{filterBySelection:c,selectionData:d,returnSelectionIndexes:A,returnSelectionOIDs:p}=r??{},{selectionIndexes:f}=d??{},{chart:m}=t,g=ve(m.uid,"config"),y=xs(i),x=Eo(g),w=oa(g),S=ze(g?.series);if(c!==!0&&g!==void 0){let T=p2({series:t,chartType:S,showMean:w}),F=It(g?.series),L=Os(i),$=Ch(L).idField,I=ve(m.uid,"currentSelectionDataItems"),U=!1,P=!1,Q,Y=!1;if(T?.[0]!==void 0){if(r?.viewExtentUpdated!==!0){Q=r?.selectionData?.selectionItems??I;let G=ve(m.uid,"currentSelectionIndexes");Y=Fx({itemsA:Q,itemsB:I,isPieFromFields:F===ke.PieFromFields,x:g.series[0].x});let ee=f?.keys.length!==G?.keys.length||!rn(f,G);U=n===!0||s===!0||o===!0||u===!0||Q!==void 0&&Y;let te=!0;if(f!==void 0&&f.size>0){let{indexesToSelect:le}=f.get(e??0)??{};te=le!==void 0&&le[0]===void 0}P=s===!0||o===!0||u===!0||!te&&ee}if(U&&Q!==void 0&&Q.length>0){let{selectedIndexes:G,newSelectionDataItems:ee}=d2({chart:m,chartConfig:g,options:r,series:t,elementsToApplySelectionTo:T,selectionDataItems:Q,layerOidField:$,xAxisField:l,yAxisField:h}),te=ve(m.uid,"computedSelectionDataItems")??[];if(te.push(...ee),g.series.length>1&&F!==ke.BarAndLineNoAggregation&&F!==ke.BarAndLineSplitByNoAggregation&&(te=np({data:te,x:g.series[0].x,splitByField:Dn(g.series[0].query?.where)})),ai(m.uid,{computedSelectionDataItems:te}),A===!0){let le=Array.from(new Set(G)),z=ve(m.uid,"computedSelectionIndexes");z===void 0&&(z=new Map),le.length===T.length?z.set(e??0,{}):z.set(e??0,{indexesToSelect:le}),ai(m.uid,{computedSelectionIndexes:z})}}else if(f!==void 0&&P)Q=A2({chart:m,selectionIndexes:f,queryObject:i});else{let G=Q===void 0||Q.length===0,ee=t instanceof Hr?t.dataFields?.customValue??"":"",te=le=>{let z=le.dataItem?.dataContext;return z!==void 0&&S===V.BoxPlotSeries&&z[re.boxPlot.boxPlotOutlierId]!==!0&&(z=th({dataContext:z,yAxisField:h,yList:Mo(g.series),xAxisField:l,splitBy:ee,chartType:S,chartSubType:F,showOutliers:x,isFeatureCollectionLayer:Oo(i)})),$v({elementDataContext:z,options:r,selectionDataItems:Q??I??[],layerOidField:$,xAxisField:l,yAxisField:h,chartType:S,splitBy:ee,chartSubType:F,showOutliers:x})};T.forEach(le=>{let z=le.isActive||te(le);Zn({element:le,selected:z,useNativeState:m instanceof qi,backToDefaultState:G})})}}if(Jn(t.uid,{isSelectionApplied:!0}),u2({chart:m,chartType:S,showMean:w})&&(c2(m),Y||P)){let G=ve(m.uid,"computedSelectionDataItems")??Q;G=Array.from(new Set(G?.map(te=>JSON.stringify(te)))).map(te=>JSON.parse(te)),Q!==void 0&&ai(m.uid,{currentSelectionDataItems:G}),d?.selectionOIDs!==void 0&&ai(m.uid,{currentSelectionOIDs:d.selectionOIDs});let ee;if(A===!0&&(ee=ve(m.uid,"computedSelectionIndexes")??f,ee!==void 0&&ai(m.uid,{currentSelectionIndexes:ee})),G===void 0||G.length===0)BA({chart:m,selectionSource:Tr.ProgrammaticSelection});else{let te={selectionItems:G,selectionSource:Tr.ProgrammaticSelection};A===!0&&(te.selectionIndexes=ee),p!==!1&&(te.selectionOIDs=d?.selectionOIDs??ve(m.uid,"currentSelectionOIDs")),y&&(te.selectionPixelTarget=ag({chartConfig:g,layer:i,selectionDataItems:G})),Nu({data:te,htmlContainer:m.htmlContainer})}ai(m.uid,{computedSelectionIndexes:void 0,computedSelectionDataItems:void 0})}}}function m2(a){let{chart:t,chartConfig:e}=a;for(let i=0;i<t.series.length;i+=1){let r=t.series.getIndex(i);if(r){let s=Uf(r,e);if(s){let n=ze([s]);if(n===V.BoxPlotSeries&&(r=t.series.values.find(o=>o.id===s.id)),r!==void 0){let o=s.x,l=n===V.BoxPlotSeries?s.y.toString():_u(r);MQ({callbackProps:{...a,series:r,seriesIndex:i,xAxisField:o,yAxisField:l},series:r,seriesConfig:s})}}}}}async function Xf(a){let{chart:t,listSelectedElements:e,selectionSource:i,queryObject:r,errorStrings:s}=a,n=ve(t.uid,"options"),o=ve(t.uid,"config"),l=xs(r);if(o)if(e.length===0)BA({chart:t,selectionSource:i,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1});else try{A1(t,"updateSelectionCallbackDisposer");let h=Eo(o),u=[],c=[],d=[],A=new Map,{xAxisField:p}=e[0]??{},f=ze(o?.series),m=It(o?.series),g=Mo(o?.series??[]),y=_a(r).find(w=>w.name===p)?.type;if(e.forEach(w=>{let{elementDataContext:S,yAxisField:T,splitBy:F}=w,L=th({dataContext:S,yAxisField:T,yList:g,xAxisField:p,splitBy:F,chartType:f,chartSubType:m,showOutliers:h,isFeatureCollectionLayer:Oo(r)});L!==void 0&&c.push(L);let{seriesIndex:$,elementIndex:I}=w;if(I!==void 0){let U=A.get($)?.indexesToSelect??[];U.push(I),A.set($,{indexesToSelect:Array.from(new Set(U))})}if(!l&&S!==void 0){let U=S[Eu.uniqueIdsName]!==void 0?[S[Eu.uniqueIdsName]].flat():[];if(U.length>0)d.push(...U);else if(n?.returnSelectionOIDs!==!1){let P=Tx({dataContext:S,options:n,xAxisField:p,yAxisField:T??"",splitBy:F,xAxisFieldType:y,chartConfig:o,queryObject:r});u.push(P)}}}),!l&&n?.returnSelectionOIDs!==!1&&u.length>0){let w={...ve(t.uid,"queryConfig")};delete w.groupByFieldsForStatistics,delete w.orderByFields,delete w.outStatistics;let S=await s1({whereList:u,queryObject:r,queryConfig:w,errorStrings:s});if(u.length===e.length)d=S;else for(let T=0;T<S.length;T+=1)d.push(S[T])}o.series.length>1&&m!==ke.BarAndLineNoAggregation&&m!==ke.BarAndLineSplitByNoAggregation&&(c=np({data:c,x:o.series[0].x,splitByField:Dn(o.series[0].query?.where)})),ai(t.uid,{currentSelectionDataItems:c,currentSelectionOIDs:d,currentSelectionIndexes:A});let x={selectionItems:c,selectionSource:i};n?.returnSelectionIndexes===!0&&(x.selectionIndexes=A),n?.returnSelectionOIDs!==!1&&(x.selectionOIDs=d),l&&(x.selectionPixelTarget=ag({chartConfig:o,layer:r,selectionDataItems:c})),Nu({data:x,htmlContainer:t.htmlContainer})}catch(h){ai(t.uid,{pendingSelectionQueries:!1});let{httpStatus:u}=h instanceof Tl?h.details.details:h.details??{};if(u===429)h2(t);else throw h}ai(t.uid,{pendingSelectionQueries:!1})}function g2(a){let{axis:t}=a,e=t.chart;return{axis:t,chart:e}}async function y2(a,t,e){let i=a.target,{axis:r,chart:s}=g2(i),n=[],{seriesDataItems:o}=a.target.dataItem;Object.keys(o).forEach(d=>{if(Object.hasOwn(o,d)){let A=o[d];for(let p of A)if(p instanceof Ss)n.push(p.column);else{let f=p.sprites.find(m=>!(m instanceof Ri));f!==void 0&&n.push(f)}}});let l=Rv(a,s),h=r instanceof Ct||r instanceof $t,u=[],c=ve(s.uid,"config");if(c){let d=c.series[0].x??"";s.series.each((A,p)=>{let f;if(A instanceof Xi?f=A.columns:f=Yr(A)?.clones,A.visible){let m=_u(A),g=A.dataFields?.customValue??"";f?.each((y,x)=>{let w=n.includes(y);Zn({element:y,selected:w,multiSelect:l,isDateOrCategoryAxis:h})&&u.push({element:y,elementDataContext:y.dataItem?.dataContext,yAxisField:m,xAxisField:d,splitBy:g,seriesIndex:p,elementIndex:x,chartConfig:c})})}}),await Xf({chart:s,listSelectedElements:u,selectionSource:Tr.SelectionByClick,queryObject:t,errorStrings:e})}}function v2(a){let{axis:t,queryObject:e,errorStrings:i}=a;if(wn(t.renderer.labels.template)){t.renderer.labels.template.events.on(Ie.Hit,async s=>{t.renderer.labels.template.events.isEnabled(Ie.Hit)&&await y2(s,e,i)});let r=ve(t.chart.uid,"filterBySelection")===!0?si.default:si.pointer;sw(t,r)}}function Sv(a,t){if(wn(a?.renderer?.labels?.template)&&(a instanceof $t||a instanceof Ct))if(t)a.renderer.labels.template.events.disableType(Ie.Hit),sw(a,si.default);else{a.renderer.labels.template.events.enableType(Ie.Hit);let e=ve(a.chart.uid,"filterBySelection")===!0?si.default:si.pointer;sw(a,e)}}var gr={Guides:"guides",Ticks:"ticks",GaugeFirstAndLastGuides:"firstAndLast",GaugeTicksWithLabels:"gaugeTicksWithLabels"};function yu(a){let{chart:t,label:e,labelType:i}=a,r=Number.NaN;switch(i){case Xt.GuideLabel:!(t instanceof Ks)&&t instanceof Vt&&(e.rotation===90||e.rotation===270?r=t.seriesContainer.measuredHeight:r=t.seriesContainer.measuredWidth);break;case Xt.XAxisTitle:t instanceof Vt&&(r=t.seriesContainer.measuredWidth);break;case Xt.YAxisTitle:t instanceof Vt&&(r=t.seriesContainer.measuredHeight);break;case Xt.ChartTitle:case Xt.ChartSubTitle:case Xt.ChartFooter:r=t.measuredWidth-20;break}r>0&&(e.maxWidth=r,t.invalidateLabels(),t instanceof Vt&&(t.xAxes.getIndex(0)?.invalidateLabels(),t.xAxes.getIndex(1)?.invalidateLabels(),t.yAxes.getIndex(0)?.invalidateLabels(),t.yAxes.getIndex(1)?.invalidateLabels()))}function Vf(a){let{chart:t,labelType:e}=a;yu(a);let i=e===Xt.YAxisTitle?1:0,r=ks(()=>yu(a),re.debounceTime);t.events.on(Ie.Validated,r,i),(e===Xt.YAxisTitle||e===Xt.XAxisTitle)&&t instanceof Vt&&t.seriesContainer.events.on(Ie.SizeChanged,r,i)}function Fv(a,t){a.events.on(Ie.Validated,ks(()=>{t.visible=a.measuredWidth!==0},re.debounceTime))}function b2(a,t){a.chart instanceof Ks||(t.adapter.add("dx",e=>{let i=e;return(t.rotation===90||t.rotation===270)&&(i=t.bbox.height,t.dataItem.value!==t.dataItem.endValue&&(i/=2)),i}),t.padding(0,10,0,10))}function x2(a,t){let e=a.renderer instanceof Hl?new Vn:new Ko;return e.disabled=!0,e.axis=a,Ov(e),gu(e.uid,{isGuide:t}),Vf({chart:a.chart,label:e,labelType:Xt.GuideLabel}),b2(a,e),e}function _2(a){let{label:t,labelConfig:e,guideType:i}=a,r=t.axis.renderer instanceof ar,s;t instanceof Vn||(r?i===Rt.SFS?s=re.verticalSurfaceGuideLabels:s=re.verticalLineGuideLabels:i===Rt.SFS?s=re.horizontalSurfaceGuideLabels:s=re.horizontalLineGuideLabels);let n={...e};n.content.rightToLeft=t.axis.rtl,_n({label:t,labelConfig:n,defaults:s}),t.axis.invalidateLabels()}function C2(a,t,e){let i=e.chart;a.axisFill.tooltip=new fo,a.axisFill.interactionsEnabled=!0,a.axisFill.tooltipPosition=re.guideTooltipPosition,a.axisFill.tooltip.label.wrap=!0,a.axisFill.tooltip.adapter.add("maxWidth",()=>Math.min(re.tooltipWidth,i.seriesContainer.maxWidth)),a.axisFill.tooltip.boundingContainer=i.chartAndLegendContainer,a.axisFill.adapter.add("tooltipHTML",(r,s)=>{let n=r,{dataItem:o,axis:l}=s;if(!(l.renderer instanceof Hl)){let h=Qs(l.uid,"guideTooltipFormatter");if(h!==void 0){let u="",c;o instanceof vo?(u=o.value,c=o.endValue):o instanceof Jo?(u=o.category,c=o.endCategory):o instanceof Nh&&(u=o.date,c=o.endDate),n=h({guideName:o.id??"",start:u,end:c,guideIndex:t})}}return n}),a.axisFill.tooltip.events.on(Ie.Shown,r=>{let s=ve(a.axisFill.axis.chart.uid,"config");if(s!==void 0){let n=ve(a.axisFill.axis.chart.uid,"isRotated"),o=zf(a.axisFill.axis.renderer,n)?0:1,l=s.axes?.[o]?.guides,{tooltipReverseColor:h}=l?.[t]??{};v1(r.target,h)}})}function w2(a,t){return e=>{let{guideName:i,start:r,end:s,guideIndex:n}=e,{chart:o}=a,l="";if(o!==void 0){let h=ve(o.uid,"config"),u=ve(o.uid,"isRotated"),c=zf(a.renderer,u)?0:1,d=h?.axes?.[c]?.guides,A=r,p=s;if(a instanceof Ct){let y=new un,x;if(o!==void 0){let w=ve(a.chart.uid,"formatLocale");y=fl({type:V.DateAxisFormat,iLocale:o.language.locale,formatLocale:w}),x=h?.axes?.[0]?.valueFormat?.intlOptions}A=y.format(r,x),s!==void 0&&(p=y.format(s,x))}else if(a instanceof Qe&&!(r instanceof Date)&&!(s instanceof Date)){let{start:y,end:x}=Ow(a,d?.[n]);Number.isFinite(y)&&(A=y),Number.isFinite(x)&&(p=x);let w=Qs(a.uid,"numberFormatter")??(S=>new Rl().format(S));A=w(A),p!==void 0&&(p=w(p))}else a instanceof $t&&(A=r,p=s);let f=A.toString(),m=p?.toString()??"";!zi(m)&&f!==m?l=Vc(t.guideTooltipLabel,{guideStart:f,guideEnd:m}):l=f;let g=Ra(o.rtl);l=`${i}${g} ${l}`}return l}}function B2(a){let{axis:t,guideTooltipFormatter:e,utilsStrings:i}=a;Ls(t.uid,{guideTooltipFormatter:e??w2(t,i)})}function S2(a){let t=Ou.Value;return a instanceof Ct?t=Ou.Date:a instanceof $t&&(t=Ou.Category),t}function tI(a){let{inputValue:t,axisType:e,axisMin:i,axisMax:r}=a,s=t;if(t!=null)switch(e){case Ou.Date:s=t instanceof Date?t:new Date(t);break;case Ou.Category:s=t.toString();break;case Ou.Value:if(typeof t!="number"){let n=t.toString().trim(),o=rp(n);o!==void 0?i!==void 0&&r!==void 0?s=o/100*(r-i)+i:s=null:s=Number.parseFloat(n)}break}return s}function Ow(a,t){let{start:e,end:i}=t??{},r;if(t!==void 0&&e!==void 0&&e!==null){let s=S2(a),n=a instanceof Qe?a.min:void 0,o=a instanceof Qe?a.max:void 0,l=tI({inputValue:e,axisType:s,axisMin:n,axisMax:o}),h=t.style?.type===Rt.SFS&&i!==null&&i!==void 0?tI({inputValue:i,axisType:s,axisMin:n,axisMax:o}):l;r={isValidGuide:l!=null&&h!=null,start:l,end:h}}else r={isValidGuide:!1,start:void 0,end:void 0};return r}function F2(a){let{axis:t,tickOrGuide:e,numberOfElementsToBeDeleted:i}=a,r=[],s=t.axisRanges.length-1,n=i;for(;n>0&&s>=0;){let o=t.axisRanges.getIndex(s);o!==void 0&&(gs(o.label?.uid,"isGuide")??!1)===!0&&e===gr.Guides&&(r.push(o),n-=1),s-=1}for(let o=0;o<r.length;o+=1)t.axisRanges.removeValue(r[o])}function en(a,t){return a.axisRanges?.values?.filter(e=>{let i=gs(e.label?.uid,"isGuide")??!1,r=gs(e.label?.uid,"isGaugeAxisLabel")??!1,s=!1;switch(t){case gr.Ticks:s=i===!1;break;case gr.Guides:s=i===!0;break;case gr.GaugeTicksWithLabels:s=r===!0&&e.value!==void 0;break;case gr.GaugeFirstAndLastGuides:s=i===!0&&(e.id===re.gaugeFirstLabelId||e.id===re.gaugeLastLabelId);break}return s})??[]}function T2(a,t){let e=a.axisRanges.length;{let r=a.axisRanges.values.findIndex(s=>s.id===re.gaugeFirstLabelId);r!==-1&&(e=r)}let i;return a instanceof $t?i=new Jo:a instanceof Ct?i=new Nh:i=new vo,a.axisRanges.insertIndex(e,i),i.label=x2(a,t),i.axisFill.fillOpacity=1,i.axisFill.disabled=!0,i.grid.strokeOpacity=1,i}function P2(a,t){let e=T2(a,!0);C2(e,t,a),e.tick!==void 0&&(e.tick.disabled=!0),e.label!==void 0&&(e.label.inside=!0),e.grid!==void 0&&(e.grid.disabled=!0)}function D2(a,t){let{start:e,end:i}=t,r=ve(a.uid,"config"),s=hg(r),n=e!==null?e:void 0;n=a.data.find(l=>l[re.originalCategoryValue]===e)?.[s]??n;let o=i!==null?i:void 0;if(o!==void 0)for(let l=a.data.length-1;l>=0;l-=1){let h=a.data[l];if(h[re.originalCategoryValue]===i){o=h[s];break}}return{modifiedStart:n,modifiedEnd:o}}function L2(a,t){let{start:e,end:i}=t;if(e!==void 0){let{chart:r}=a?.component??{},s;if(a instanceof Jo&&r instanceof Vt&&ve(r.uid,"isNonAggregatedChart")===!0){let{modifiedStart:n,modifiedEnd:o}=D2(r,t);s={isValidGuide:!0,start:n??e,end:o??i}}else s=Ow(a.axisFill.axis,t);s.isValidGuide&&(a instanceof Jo?(a.category=`${s.start?.toString()}`,a.endCategory=`${s.end?.toString()}`):a instanceof Nh?(a.date=s.start,a.endDate=s.end):(a.value=s.start,a.endValue=s.end))}}function I2(a,t){a.axisFill.above=t??re.guideAbove,a.grid.above=t??re.guideAbove}function k2(a,t){let{axisFill:e,label:i}=a;if(t!==void 0){if(a.id=t.name,a.visible=t.visible!==void 0?t.visible:a.visible,L2(a,t),t.style.type===Rt.SLS?Mf({element:e,fillSymbol:{type:Rt.SFS,color:t.style?.color,outline:t.style},visible:t.visible}):t.style.type===Rt.SFS&&Mf({element:e,fillSymbol:t.style,visible:t.visible}),I2(a,t.above),t.label!==void 0){let s={type:V.Text,visible:t.visible,content:t.label};_2({label:i,labelConfig:s,guideType:t.style.type})}let r=a.component?.chart;r!==void 0&&yu({chart:r,label:i,labelType:Xt.GuideLabel})}else e.disabled=!0,i.disabled=!0}function $2(a,t){let e=en(a,gr.Guides).length,i=t?.length??e;for(let r=e;r<i;r+=1)P2(a,r)}function O2(a){let{axis:t,guides:e,guideTooltipFormatter:i,utilsStrings:r}=a;if(e!==void 0){for(let s=0;s<e.length;s+=1){let n=en(t,gr.Guides)[s];n!==void 0&&k2(n,e[s])}B2({axis:t,guideTooltipFormatter:i,utilsStrings:r})}}function E2(a,t){let e=en(a,gr.Guides).length,i=t?.length??0,r=e-i;F2({axis:a,numberOfElementsToBeDeleted:r,tickOrGuide:gr.Guides})}function M2(a){let{axis:t,guides:e}=a;$2(t,e),O2(a),E2(t,e)}function R2(a){let{axis:t,labels:e,restoreLabelsVisibility:i=!0}=a;(e??t.renderer.labels.values).forEach(r=>{r.x instanceof et?r.x.value:r.x,i&&Ui(r,!0)})}function $1(a){let t=a.renderer.labels.values.filter(e=>gs(e.uid,"isGuide")!==!0&&e.measuredWidth>0).length;return a.pixelWidth/t}function U2(a){let{target:t}=a;if((ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior??tr.Rotate)===tr.Wrap){let e=Number.MAX_SAFE_INTEGER;t.renderer.labels.each(r=>{gs(r.uid,"isGuide")!==!0&&r.measuredWidth>0&&(e=Math.min(e,r.bbox.width))});let i=t instanceof Ct?t.pixelWidth/re.maxNumberOfXAxisLabelsInWrapModeForDateAxis:t.pixelWidth/re.maxNumberOfXAxisLabelsInWrapMode;t.renderer.minGridDistance=Math.max(e+1,i)}}function V2(a){let{axis:t,labelsConfig:e,horizontalAxisLabelsBehavior:i,isSecondValueAxis:r,tickSpacing:s}=a,n=t.renderer.minGridDistance;if(typeof s=="number"&&Number.isFinite(s))n=s;else if(t.renderer instanceof Hl)n=re.gauge.gaugeMinGridDistance;else if(t instanceof Qe)n=t.renderer instanceof ar?re.xAxisMinGridDistance:re.yAxisMinGridDistance;else if(t.renderer instanceof ar)if(r===!0)n=re.secondRotatedValueAxisMinGridDistance;else if(i===void 0||i===tr.Rotate){let o=e.content.font?.size??re.generalFontSize,l=t instanceof $t?re.categoryAxisLabelPadding:re.axisLabelPadding;n=o*l}else if(i===tr.Wrap){let o=ks(U2,re.debounceTime);Ls(t.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:o}),t.events.on(Ie.SizeChanged,o),t.dispatchImmediately(Ie.SizeChanged)}else i===tr.Stagger?n=re.staggerMinGridDistance:n=t instanceof $t?re.xCategoryAxisMinGridDistance:re.xAxisMinGridDistance;else n=t instanceof $t?re.yCategoryAxisMinGridDistance:re.yAxisMinGridDistance;t.renderer.minGridDistance=n}function N2(a){let t=a.renderer.labels.template;wn(t)&&(t.adapter.add("rotation",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.angle??e:e),t.adapter.add("verticalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.verticalCenter??e:e),t.adapter.add("horizontalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.horizontalCenter??e:e),t.adapter.add("dy",(e,i)=>{let r=re.axisLabel.dy??e??0;return i.dataItem?.tick?.length>re.axisTickLength?r=e??0:r=Number(gs(i.uid,"isGuide")!==!0?Qs(a.uid,"labelsSymbol")?.yOffset??r:r),r}))}function Q2(a){let{target:t}=a;if(t.chart!==void 0){let e=ve(t.chart.uid,"config")?.axes?.[0].labels;if((e?.visible??!0)&&e!==void 0&&t.renderer.labels.length>1){let i=0;t.renderer.labels.each(n=>{if(gs(n.uid,"isGuide")!==!0&&n.measuredWidth>0){let o=n.bbox.width;o>i&&(i=o)}});let r=Qs(t.uid,"labelsSymbol")?.angle??0,s=$1(t)>=i+5;if(!s&&r===0||s&&r===re.rotatedAxisLabel.rotation){let n=s?Cv(e.content,t.rtl,re.axisLabel):Cv({type:Rt.TS},t.rtl,re.rotatedAxisLabel);Ls(t.uid,{labelsSymbol:n}),t.renderer.invalidateLabels()}}}}function H2(a,t=1){let{target:e}=a,i=$1(e);Number.isFinite(i)&&(e.renderer.labels.template.maxWidth=Math.min(i*t,e.renderer.minGridDistance))}function j2(a){let{target:t}=a;if(ve(t.chart.uid,"config")?.axes?.[0].labels?.visible!==!1){let e=0;t.dataItems.each(i=>{let{label:r,itemIndex:s}=i;gs(r.uid,"isGuide")!==!0&&r.currentText!==void 0&&r.measuredWidth>0&&s%2===0&&r.bbox.height>e&&(e=r.bbox.height)}),t.dataItems.each(i=>{let{tick:r,label:s,itemIndex:n}=i;if(gs(s.uid,"isGuide")!==!0&&s.currentText!==void 0&&s.measuredWidth>0){let o=n%2===1;r.length=o?e+5:re.axisTickLength,r.dataItem.label.dy=re.axisLabel.dy+(o?e:0)}}),e!==void 0&&(t.renderer.labels.template.paddingBottom=e+5),t.validate()}}function W2(a){let{chart:t}=a;a.renderer.labels.template.paddingLeft=Number.NaN,a.renderer.labels.template.paddingRight=Number.NaN;let e=Qs(a.uid,"debouncedAxisLabelRotationCallback");if(e!==void 0&&(a.events.off(Ie.Validated,e),Ls(a.uid,{debouncedAxisLabelRotationCallback:void 0})),t!==void 0){let i=ve(t.uid,"config")?.axes?.[0].labels;if(i!==void 0){let r=Cv(i.content,t.rtl,re.axisLabel),s=a.renderer.labels.template;s.rotation=r.angle,s.verticalCenter=r.verticalCenter,s.horizontalCenter=r.horizontalCenter,Number.isFinite(r.yOffset)&&(s.dy=r.yOffset)}Ls(a.uid,{labelsSymbol:void 0})}}function O1(a){a.renderer.labels.template.wrap=!1,a.renderer.labels.template.textAlign="start"}function X2(a){O1(a),a.renderer.labels.template.paddingLeft=Number.NaN,a.renderer.labels.template.paddingRight=Number.NaN;let t=Qs(a.uid,"debouncedAxisLabelWrapCallback");t!==void 0&&(a.events.off(Ie.DataRangeChanged,t),Ls(a.uid,{debouncedAxisLabelWrapCallback:void 0}))}function z2(a){O1(a);let t=Qs(a.uid,"debouncedUpdateMinGridDistanceForWrapBehavior");t!==void 0&&(a.events.off(Ie.SizeChanged,t),Ls(a.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:void 0}))}function G2(a){let t=Qs(a.uid,"debouncedAxisLabelStaggerCallback");t!==void 0&&(a.events.off(Ie.DataRangeChanged,t),Ls(a.uid,{debouncedAxisLabelStaggerCallback:void 0})),a.renderer.ticks.each(e=>{e.length=re.axisTickLength,e.dataItem?.label&&(e.dataItem.label.dy=re.axisLabel.dy??0)})}function Y2(a){W2(a),X2(a),G2(a)}function iI(a){N2(a),a.renderer.labels.template.paddingLeft=0,a.renderer.labels.template.paddingRight=0,a.renderer.labels.template.maxWidth=Number.NaN;let t=ks(Q2,re.debounceTime,{leading:!0});Ls(a.uid,{debouncedAxisLabelRotationCallback:t}),a.events.on(Ie.Validated,t),a.dispatchImmediately(Ie.Validated)}function rI(a,t=1){a.renderer.labels.template.wrap=!0,a.renderer.labels.template.paddingLeft=.5,a.renderer.labels.template.paddingRight=.5,a.renderer.labels.template.textAlign="middle";let e=ks(i=>H2(i,t),re.debounceTime);Ls(a.uid,{debouncedAxisLabelWrapCallback:e}),a.events.on(Ie.DataRangeChanged,e)}function K2(a){a.renderer.labels.template.maxWidth=re.yAxisLabelMaxWidth,a.renderer.labels.template.wrap=!0,a.renderer.labels.template.textAlign="end"}function Z2(a){let t=ks(j2,re.debounceTime);Ls(a.uid,{debouncedAxisLabelStaggerCallback:t}),a.events.on(Ie.DataRangeChanged,t)}function q2(a){let{axis:t,horizontalAxisLabelsBehavior:e,verticalAxisLabelsBehavior:i,labelsConfig:r,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}=a;if(t.renderer instanceof ar&&s?.[0]!==!1){if(Y2(t),n!==!0)switch(e){case tr.Hide:break;case tr.Stagger:Z2(t),rI(t,1.5);break;case tr.Wrap:rI(t);break;case tr.Rotate:iI(t);break;default:r.content.angle!==null&&r.content.angle===void 0&&iI(t);break}}else t.renderer instanceof Cr&&(i!==tr.Hide?K2(t):z2(t))}function J2(a){let{axis:t,axisConfig:e,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}=a,o=t.renderer.labels.template;o.axis=t;let{labels:l}=e,h=t.renderer instanceof ar&&o.rotation===re.rotatedAxisLabel.rotation,u=l,c;h?(u.content.angle=void 0,u.content.horizontalAlignment=void 0,u.content.verticalAlignment=void 0,u.content.yoffset=void 0,c=re.rotatedAxisLabel):t.renderer instanceof ar&&(i===tr.Stagger||i===tr.Wrap)&&(c={wrap:!0,dy:re.axisLabel.dy}),t.renderer instanceof Cr&&r!==tr.Hide&&(c={wrap:!0}),_n({label:o,labelConfig:u,defaults:c}),t.renderer.labels.template.paddingTop=t.renderer instanceof ar?0:re.axisLabel.dy,o.align="none",o.valign="none",q2({axis:t,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelsConfig:l,axisLabelsBehaviorChanged:s,isSecondValueAxis:n}),o.axis.invalidateLabels()}function Ew(a){return(a??ex())===Oi.Side}function E1(a,t){let e,i,r=nw(a,"bullets"),s=nw(a,"columns"),n=Ew(t);return n&&r!==void 0?(e=r,i=s):n||(e=s,i=r),{labelToRender:e,labelToHide:i}}function ej(a,t=!0){a.hideOversized=t}function tj(a,t){let e,i,r=ml(re.dataLabelInitialize);gu(r.uid,{isDataLabel:!0}),a.bullets.push(r);let s=ml(re.dataLabelInitialize,a.columns.template);return gu(s.uid,{isDataLabel:!0}),ow(s,a),ow(r,a),a.events.on(Ie.Validated,ks(()=>{Ef(s)&&s.clones.each(n=>{Ef(n)&&n.validate()})},re.debounceTime)),s.html="{valueX}",r.html="{valueX}",u1(r),Ew(t)?(e=r,i=s):(e=s,i=r),o1(V.BarSeries,r),l1(V.BarSeries,e),{newLabelToRender:e,newLabelToHide:i}}function ij(a){let{series:t,stackedType:e,isRotated:i,hideOversizedStackedLabels:r,hideOversizedSideBySideLabels:s}=a,{labelToRender:n,labelToHide:o}=E1(t,e);if(n===void 0){let{newLabelToRender:u,newLabelToHide:c}=tj(t,e);n=u,o=c}let l=re.dataLabel,h=!0;Ew(e)?(l=i===!0?re.dataLabelRotated:re.dataLabel,h=s===!0):(l=i===!0?re.dataLabelStackedRotated:re.dataLabelStackedNonRotated,h=r!==!1),ej(n,h),o!==void 0&&(o.visible=!1,o.disabled=!0),n.html="{valueX}",c1({...a,dataLabel:n,labelDefaults:l,defaultDataLabelFormatter:h1})}function rj(a){let t=a.tooltip;t!==void 0&&!(a instanceof Ct)&&(t.label.adapter.add("html",(e,i)=>{let r=e??"";return a instanceof Qe?r=YI(a,i.properties?.text??e??""):a instanceof $t&&(r=KI({axis:a,defaultOutput:e??"",dataItem:t.dataItem})),Er(r)}),t.label.html=re.htmlEmptyContent)}function sj(a){let t=a.title,e=98;if(a.renderer instanceof Cr)t.adapter.add("y",i=>{let r=t.parent?.measuredHeight??0;return r>0?r/2:i},e);else if(a.renderer instanceof ar)if(a.renderer.opposite){let i=a.title;i.adapter.add("rotation",()=>0,e),i.adapter.add("y",()=>{let r=i.measuredHeight;return r>0?r/2:0},e)}else t.adapter.add("x",i=>{let r=t.parent?.measuredWidth??0;return r>0?r/2:i},e)}function lw(a){let{axis:t,start:e,end:i}=a;t.zoom({start:e??0,end:i??1})}function sI(a){a!==void 0&&(a.start=0,a.end=1)}function Nv(a){a!==void 0&&(a.xAxes!==void 0&&a.xAxes.each(t=>lw({axis:t})),a.yAxes!==void 0&&a.yAxes.each(t=>lw({axis:t})),sI(a.scrollbarX),sI(a.scrollbarY),Ui(a.zoomOutButton,!1))}function zf(a,t){return a instanceof ar&&t!==!0||a instanceof Cr&&t===!0}function aj(a){wn(a.labels.template)&&(a.labels.template.events.on(Ie.Over,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??1)*e}),a.labels.template.events.on(Ie.Out,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??.5)/e}))}function nj(a){let{axis:t,valueFormat:e,axisRenderer:i,queryObject:r,errorStrings:s}=a;i.grid.template.applyOnClones=!0,i.ticks.template.applyOnClones=!0,i.labels.template.applyOnClones=!0,i.hoverable=!0,i.line.strokeOpacity=1,i.grid.template.strokeOpacity=1,i.ticks.template.strokeOpacity=1,Ov(i.labels.template,re.axisLabel),i.ticks.template.disabled=!1,i.labels.template.disabled=!0,rj(t),dd(e)&&(aj(i),v2({axis:t,queryObject:r,errorStrings:s})),Fv(t.chart,t.title),Vf({chart:t.chart,label:t.title,labelType:t.renderer instanceof ar?Xt.XAxisTitle:Xt.YAxisTitle}),sj(t),t.renderer instanceof ar&&(t.events.on(Ie.SizeChanged,ks(()=>{yu({chart:t.chart,label:t.title,labelType:Xt.XAxisTitle})},re.debounceTime)),t.events.on(Ie.Validated,ks(()=>{R2({axis:t,restoreLabelsVisibility:!0})},re.debounceTime)))}function oj(a){let t=a.target,e=ve(t.chart.uid,"isRotated"),i=[];if(t instanceof Qe){if(t.renderer instanceof Hl)i.push({isXAxis:!0,minimum:t.min,maximum:t.max});else if(t.renderer instanceof(e!==!0?Cr:ar)){t.maxZoomFactor=1;let r=a.target,s=r.chart,n=e!==!0?s.xAxes.getIndex(0):s.yAxes.getIndex(0),o=s.yAxes.getIndex(1)??s.xAxes.getIndex(1);i=[{isXAxis:!1,minimum:r.min,maximum:r.max},{isXAxis:!0,minimum:n instanceof Qe?n.min:void 0,maximum:n instanceof Qe?n.max:void 0}],o instanceof Qe&&i.push({isXAxis:!1,isSecondValueAxis:!0,minimum:o.min,maximum:o.max})}i.length>0&&i.every(r=>!Number.isNaN(r.minimum)&&!Number.isNaN(r.maximum))&&ux(i,t.chart.htmlContainer)}}function lj(a){a.events.on(Ie.Validated,ks(oj,re.debounceTime))}function hj(a){let{axis:t,isNonAggregatedChart:e}=a,i,r,s,n=t.dataItems.values,o=t.axisRanges.values;if(t instanceof $t)for(let l=0;l<o.length;l+=1){i=!1,r=!1,s=!1;let h=o[l],{category:u,endCategory:c,axisFill:d,grid:A,label:p}=h;if(h instanceof Jo&&h.visible)for(let f=0;f<n.length;f+=1){let m;e===!0?m=no({value:n[f].category,dataContext:n[f].dataContext}):m=n[f].category.toString(),u===m&&(r=!0),c===m&&(s=!0)}r&&s&&(i=!0),Ui(d,i),Ui(A,i),Ui(p,i)}}function aI(a){let{axis:t,axisMinimum:e,axisMaximum:i}=a,r;if(t instanceof Qe&&i!==void 0&&e!==void 0){let s=t.axisRanges.values,n=ve(t.chart.uid,"config"),o=ve(t.chart.uid,"isRotated"),l=zf(t.renderer,o)?0:1,h=n?.axes?.[l]?.guides;for(let u=0;u<s.length;u+=1){let c=s[u],{value:d,endValue:A,axisFill:p,grid:f,label:m}=c;if(gs(m?.uid,"isGuide")===!0){if(r=c.visible,r&&c instanceof vo){let{start:g,end:y}=Ow(t,h?.[u]),x=Math.min(d,A,g??d,y??A),w=Math.max(d,A,g??d,y??A);x<e&&w<e||x>i&&w>i?r=!1:(c.value=x<e?e:x,c.endValue=w>i?i:w)}Ui(p,r),Ui(f,r),Ui(m,r)}}}}function uj(a){a instanceof Qe?(a.adapter.add("min",t=>(aI({axis:a,axisMinimum:t,axisMaximum:a.max}),t)),a.adapter.add("max",t=>(aI({axis:a,axisMinimum:a.min,axisMaximum:t}),t))):a instanceof $t&&a.events.on(Ie.Validated,()=>{let t=ve(a.chart.uid,"isNonAggregatedChart");hj({axis:a,isNonAggregatedChart:t})})}function Of(a){let{axes:t,isSecondValueAxis:e=!1,isXAxis:i,valueFormat:r,chartType:s,queryObject:n,errorStrings:o}=a,l;if(qm({isXAxis:i,chartType:s,valueFormat:r})&&!e)l=t.push(new $t);else if(ro(r))l=t.push(new Ct);else if(ba(r)){l=t.push(new Qe);let h=ve(l.chart.uid,"formatLocale");l.numberFormatter=fl({type:V.NumberAxisFormat,iLocale:l.chart.language.locale,formatLocale:h}),l.numberFormatter.numberFormat="#",e?(l.renderer.opposite=!0,l.renderer.grid.template.disabled=!0):lj(l)}l!==void 0&&(aQ(l),nj({axis:l,valueFormat:r,axisRenderer:l.renderer,queryObject:n,errorStrings:o}),uj(l))}function M1(a){let{chart:t,axesConfig:e,isRotated:i,chartType:r,queryObject:s,errorStrings:n}=a;ai(t.uid,{isRotated:i===!0});let o=i===!0?e?.[1]:e?.[0],l=i===!0?e?.[0]:e?.[1],h=o?.valueFormat,u=l?.valueFormat;h!==void 0&&u!==void 0&&(t.xAxes.clear(),t.yAxes.clear(),Of({chartType:r,isXAxis:i!==!0,axes:t.xAxes,valueFormat:h,queryObject:s,errorStrings:n}),Of({chartType:r,isXAxis:i===!0,axes:t.yAxes,valueFormat:u,queryObject:s,errorStrings:n}),e?.[2]!==void 0&&Of({chartType:r,isXAxis:i===!0,axes:i===!0?t.xAxes:t.yAxes,valueFormat:e[2].valueFormat,isSecondValueAxis:!0,queryObject:s,errorStrings:n}))}function cj(a){let{axis:t,isLogarithmic:e,axisConfigIndex:i}=a,r=ve(t.chart.uid,"config"),s=e===!0&&Ag({chartConfig:r,chartData:t.chart.data,axisConfigIndex:i});(t instanceof Ct||t instanceof Qe)&&(t.logarithmic=s,t.treatZeroAs=s?re.treatZeroValueAs:0)}function dj(a,t){let{minimum:e,maximum:i,isLogarithmic:r}=t??{},{buffer:s}=t??{};return s??=re.buffer,a instanceof Qe&&!(a instanceof Ct)&&!s&&(r!==!0||i!=null||e!=null)}function Aj(a,t){let e=!1;return a instanceof Qe&&!(a instanceof Ct)&&(e=dj(a,t),a.strictMinMax=e),e}function pj(a){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=a,s=e?.minimum,n=e?.maximum,o=e?.isLogarithmic??!1,l=s,h=n,{chart:u}=t,c=ve(u.uid,"isRotated"),d=ve(u.uid,"config"),A=0;if(u instanceof Vt&&d!==void 0){let p=$s(d),f=zf(t.renderer,c),m=$Q(u),g=dg({chartConfig:d,isSecondValueAxis:r,seriesIds:m}),y=Px({chartConfig:d,chartData:u.data,filteredSeriesIds:g});if(p===Oi.Stacked100)l=Number.NaN,h=Number.NaN;else{let{minX:x,maxX:w,minY:S,maxY:T}=y,[F,L]=f?[x??Number.NaN,w??Number.NaN]:[S,T];A=F,i===V.BarSeries||i===V.ComboLineAndBarSeries||i===V.LineSeries&&p===Oi.Stacked&&!f?(l=Math.min(F,0),h=Math.max(L,0)):(l=F,h=L)}l=s??l,h=n??h}return o&&l!==void 0&&l!==null&&l<=0&&(l=cQ(A)),{min:l,max:h}}function R1(a){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=a,{minimum:s,maximum:n,isLogarithmic:o}=e??{};if(t instanceof Qe||t instanceof Ct)if(Aj(t,e)){let l=s,h=n;if(ZI({minimumFromConfig:s,maximumFromConfig:n,isLogarithmic:o})){let u=pj({axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r});l=u.min,h=u.max}l=l??Number.NaN,h=h??Number.NaN,Number.isNaN(l)||Number.isNaN(h)||l<h?(t.min=l,t.max=h):(t.min=Number.NaN,t.max=Number.NaN),i===V.GaugeSeries&&t.validate()}else t.min=Number.NaN,t.max=Number.NaN}function fj(a){let{axis:t,timeIntervalInfo:e,dateBaseInterval:i}=a;if(t instanceof Ct){let{size:r,unit:s}=e??{};if(s||({size:r,unit:s}=i??{}),r&&s!==void 0){let n;switch(s){case er.Second:n="second";break;case er.Minute:n="minute";break;case er.Hour:n="hour";break;case er.Day:n="day";break;case er.Week:n="week";break;case er.Month:n="month";break;case er.Year:n="year";break}n!==void 0&&(t.baseInterval={timeUnit:n,count:r})}}}function mj(a,t){a instanceof Qe&&(a.renderer.baseGrid.disabled=t!==!0)}function gj(a,t){a.cursorTooltipEnabled=t===!0}function yj(a,t){let e=a.renderer instanceof ar;a.events.once(Ie.Validated,()=>{let i=a.renderer instanceof Cr?re.yAxisTitleLabel:re.xAxisTitleLabel;e&&(i={...i,dy:i.dy??0}),_n({label:a.title,labelConfig:t,defaults:i}),yu({chart:a.chart,label:a.title,labelType:a.renderer instanceof ar?Xt.XAxisTitle:Xt.YAxisTitle})})}function vj(a,t){let e=!0;return t===V.BoxPlotSeries&&(e=a instanceof wr),e}function U1(a){let t=ks(()=>{let{chart:e}=a,i=ve(e.uid,"config");if(e!==void 0&&i!==void 0){let r=ze(i?.series);if(vj(a,r)){let s=ve(e.uid,"isRotated"),n=$s(i);n===Oi.Stacked100&&!a.visible&&Ui(a,!1);let o=e.xAxes.getIndex(0),l=e.yAxes.getIndex(0),h=e.yAxes.getIndex(1),u=s===!0?1:0,c=i.axes?.[u],d=s===!0?0:1,A=i.axes?.[d],p=i.axes?.[2];[{axis:o,axisConfig:c,updateLabels:!1},{axis:l,axisConfig:A,updateLabels:!0},{axis:h,axisConfig:p,updateLabels:!0,isSecondValueAxis:!0}].forEach(f=>{let{axis:m,axisConfig:g,updateLabels:y,isSecondValueAxis:x}=f;m!==void 0&&(R1({axis:m,chartType:r,axisConfig:g,isSecondValueAxis:x}),y!==void 0&&m.events.once(Ie.Validated,()=>{let{labelToRender:w}=E1(a,n);w&&(w.html=s===!0?"{valueX}":"{valueY}")}))})}}},re.debounceTime);a.events.once(Ie.Validated,t)}function bj(a,t){if(a instanceof Qe){let{integerOnlyValues:e,valueFormat:i}=t,r=Lx(i)?i.intlOptions.maximumFractionDigits:void 0;a.maxPrecision=e===!0||r===0?0:Number.NaN}}function bv(a){let{axis:t,axisConfig:e,axisConfigIndex:i,timeIntervalInfo:r,chartType:s,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,guideTooltipFormatter:h,stackedType:u,axisValueFormatter:c,isSecondValueAxis:d,isRotated:A,isTimeOnlyField:p,setTimeZone:f,outTimeZone:m,utilsStrings:g,errorStrings:y}=a,{visible:x,isLogarithmic:w,title:S,grid:T,lineSymbol:F,labels:L,guides:$,valueFormat:I,displayZeroLine:U,displayCursorTooltip:P,tickSpacing:Q,dateBaseInterval:Y}=e;fj({axis:t,timeIntervalInfo:r,dateBaseInterval:Y}),Nc({element:t.renderer.grid.template,lineSymbol:T,visible:x}),Nc({element:t.renderer.line,lineSymbol:{color:[...re.color],...F??ZA()},visible:x}),Nc({element:t.renderer.ticks.template,lineSymbol:F,visible:x}),J2({axis:t,axisConfig:e,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,isSecondValueAxis:d}),bj(t,e),V2({axis:t,labelsConfig:L,horizontalAxisLabelsBehavior:n,isSecondValueAxis:d,tickSpacing:Q}),uQ({axis:t,isXAxis:zf(t.renderer,A),chartType:s,labelsTextSymbol:e.labels.content,formatOptions:I,overridePercentMultiplication:u===Oi.Stacked100,axisValueFormatter:c,isTimeOnlyField:p,setTimeZone:f,outTimeZone:m,errorStrings:y}),R1({axis:t,axisConfig:e,chartType:s,isSecondValueAxis:d}),cj({axis:t,isLogarithmic:w,axisConfigIndex:i}),yj(t,S),gj(t,P),d!==!0&&(M2({axis:t,guides:$,guideTooltipFormatter:h,utilsStrings:g}),mj(t,U))}function xj(a){let{chart:t,rotationChanged:e,isRotated:i,dualAxisChanged:r,timeIntervalInfoWasReset:s,timeIntervalInfo:n,guideTooltipFormatter:o,xAxisLabelFormatter:l,yAxisLabelFormatter:h,secondaryYAxisLabelFormatter:u,options:c,utilsStrings:d,errorStrings:A,queryObject:p}=a,{axisLabelsBehaviorChanged:f}=a,m=ve(t.uid,"config"),g=m.axes,{horizontalAxisLabelsBehavior:y,verticalAxisLabelsBehavior:x}=m,w=ze(m.series),S=$s(m),T=ve(t.uid,"fieldList")?.some(de=>de.name===m.series[0].x&&de.type===YA.TimeOnly)??!1,F=tp({chartConfig:m,queryObject:p,options:c}),L=_h(m.series[0])?m.series[0].temporalBinning?.outTimeZone:void 0,$=i===!0?1:0,I=i===!0?0:1,U=g?.[$],P=g?.[I],Q=t.xAxes.getIndex(0);V1({chart:t,dualAxisChanged:r,rotationChanged:e,timeIntervalInfoWasReset:s,axisLabelsBehaviorChanged:f})&&(M1({chart:t,axesConfig:g,isRotated:i,chartType:w,queryObject:p,errorStrings:A}),f=[!0,!0]),Q=t.xAxes.getIndex(0);let Y=t.yAxes.getIndex(0),G=t.xAxes.getIndex(1)??t.yAxes.getIndex(1),ee=Q?.start,te=Q?.end,le=Y?.start,z=Y?.end,K=G?.start,we=G?.end,se={timeIntervalInfo:n,chartType:w,horizontalAxisLabelsBehavior:y,verticalAxisLabelsBehavior:x,axisLabelsBehaviorChanged:f,guideTooltipFormatter:o,stackedType:S,isRotated:i,setTimeZone:F,outTimeZone:L,utilsStrings:d,errorStrings:A};Q!==void 0&&U!==void 0&&bv({...se,axis:Q,axisConfig:U,axisConfigIndex:$,axisValueFormatter:$===0?l:h,isTimeOnlyField:T}),Y!==void 0&&P!==void 0&&bv({...se,axis:Y,axisConfig:P,axisConfigIndex:I,axisValueFormatter:I===1?h:l,isTimeOnlyField:T}),G!==void 0&&g?.[2]!==void 0&&bv({...se,axis:G,axisConfig:g[2],axisConfigIndex:2,axisValueFormatter:u,isSecondValueAxis:!0,isTimeOnlyField:T}),e===!0&&[{axis:Q,start:ee,end:te},{axis:Y,start:le,end:z},{axis:G,start:K,end:we}].forEach(de=>{let{axis:$e,start:Ye,end:We}=de;$e!==void 0&&$e.events.once(Ie.Validated,()=>{lw({axis:$e,start:Ye,end:We})})}),Q!==void 0&&Q.ghostLabel.setPropertyValue("disabled",!0),Y!==void 0&&Y.ghostLabel.setPropertyValue("disabled",!0),G!==void 0&&G.ghostLabel.setPropertyValue("disabled",!0)}function V1(a){let{chart:t,dualAxisChanged:e,rotationChanged:i,timeIntervalInfoWasReset:r,axisLabelsBehaviorChanged:s}=a,n=ve(t.uid,"config"),{rotated:o,series:l}=n,h=n.axes,u=ze(l),c=o===!0?1:0,d=o===!0?0:1,A=h?.[c]?.valueFormat,p=h?.[d]?.valueFormat,f=t.xAxes.getIndex(0),m=t.yAxes.getIndex(0),g=f===void 0||i||A!==void 0&&rw({axis:f,valueFormat:A,chartType:u}),y=m===void 0||i||p!==void 0&&rw({axis:m,valueFormat:p,chartType:u});return e===!0||i===!0||r===!0||s?.[0]||s?.[1]||g||y}function _j(a){M1(a)}function Cj(a){let{chart:t,chartConfig:e,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:s,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:u,yAxisLabelFormatter:c,secondaryYAxisLabelFormatter:d,options:A,utilsStrings:p,errorStrings:f,queryObject:m}=a,g=$s(e);xj({chart:t,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:s,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:u,yAxisLabelFormatter:c,secondaryYAxisLabelFormatter:d,options:A,utilsStrings:p,errorStrings:f,queryObject:m});let y=s===!0?t.yAxes.getIndex(0):t.xAxes.getIndex(0);if(y!==void 0){y instanceof $t&&(y.dataFields.category=hg(e));let S=y.renderer,T=S.grid.template;T.location=0,S.cellStartLocation=.1,S.cellEndLocation=.9;let F=e.orderOptions?.data&&"orderBy"in e.orderOptions.data&&e.orderOptions.data.orderBy===GA.Descending,L=s===!0;F&&y instanceof Ct&&(L=!L),S.inversed=L}let x=s===!0?t.xAxes.getIndex(0):t.yAxes.getIndex(0),w=s===!0?t.xAxes.getIndex(1):t.yAxes.getIndex(1);g===Oi.Stacked100?(x instanceof Qe&&(x.calculateTotals=!0),w instanceof Qe&&(w.calculateTotals=!0)):(x instanceof Qe&&(x.calculateTotals=!1),w instanceof Qe&&(w.calculateTotals=!1))}function Nf(a){let{value:t,axisMin:e,axisMax:i}=a,r=Number.NaN,s=i-e;return s!==0&&(r=(t-e)/s),r}function hw(a){return a!=null&&a!==0}function N1(a){let{minimum:t,maximum:e,labelsIncrement:i,minimumValueConversion:r,maximumValueConversion:s}=a,n=t??pt.gauge.axisMinimum,o=e??pt.gauge.axisMaximum;n=fx(n,r),o=fx(o,s);let l=hw(i),h=hw(i)?i:Math.abs(o-n)/pt.gauge.numberOfLabelIntervals,u=l?Math.round(Math.abs(o-n)/h):pt.gauge.numberOfLabelIntervals;if(l)if(u>pt.gauge.maximumNumberOfLabelIntervals)h=Math.abs(o-n),u=1;else{let c=n+u*h;c<o?(u+=1,o=n+u*h):c>o&&(o=c)}return{min:n,max:o,labelsIncrement:h,numberOfIntervals:u}}function Q1(a){let{axisConfig:t,axisMin:e,axisMax:i}=a;typeof e=="number"&&typeof i=="number"&&i-e!==0&&t.guides?.forEach(r=>{let{start:s,end:n}=r;typeof s=="number"&&(r.start=Nf({value:s,axisMin:e,axisMax:i})),typeof n=="number"&&(r.end=Nf({value:n,axisMin:e,axisMax:i}))})}function wj(a){let{featureIndex:t,chartData:e,chartConfig:i}=a,{minimumFromField:r,maximumFromField:s}=i?.axes?.[0]??{},n,o;if(t>=0&&t<e.length){let l=e[t];typeof r=="string"&&!zi(r)&&Number.isFinite(l[r])&&(n=l[r]),typeof s=="string"&&!zi(s)&&Number.isFinite(l[s])&&(o=l[s])}return{minimumFromData:n,maximumFromData:o}}function Bj(a){let{featureIndex:t,chartData:e,x:i}=a,r=Number.NaN;if(t>=0&&t<e.length){let s=e[t];i!==void 0&&!zi(i)&&Number.isFinite(s[i])&&(r=s[i])}return r}function Mw(a){let{featureIndex:t=0,chartData:e,queryConfig:i,chartConfig:r,gaugeMinMaxFromData:s}=a,{axes:n,series:o}=r,l=ju(r),{minimum:h,maximum:u}=n?.[0]??{},{x:c}=o?.[0]??{},d=pt.gauge,A,p;l?{minimumFromData:A,maximumFromData:p}=wj({featureIndex:t,chartData:e,chartConfig:r}):i!==void 0&&({minimumFromData:A,maximumFromData:p}=s);let f=A??h??d.axisMinimum,m=p??u??d.axisMaximum,g=Bj({chartData:e,featureIndex:t,x:c});return{minimum:f,maximum:m,dataValue:g}}function Sj(a){let{oldConfig:t,axisMax:e,min:i,max:r,labelsIncrement:s,numberOfIntervals:n,valueFormat:o,minimumFromField:l}=a,h=Ru(o),u=!0;if(t!==void 0){let{minimum:c,minimumFromField:d,labelsIncrement:A,valueFormat:p}=t.axes[0],f=p?.intlOptions?.style!==o?.intlOptions?.style,m=hw(A)?A!==s:n!==pt.gauge.numberOfLabelIntervals;u=f||i!==c||l!==d||!h&&r!==e||m}return u}var Ds={InnerLabel:0,InnerLabelSecondary:1,AxisLabels:2,FirstAndLastLabels:3};function fu(a,t){let e;switch(t){case Ds.InnerLabel:e="gaugeAutoResizeInnerLabelFirstDisposer";break;case Ds.InnerLabelSecondary:e="gaugeAutoResizeInnerLabelSecondDisposer";break;case Ds.AxisLabels:e="gaugeAutoResizeAxisLabelsDisposer";break;case Ds.FirstAndLastLabels:e="gaugeAutoResizeFirstAndLastLabelsDisposer";break}if(e!==void 0){let i=ve(a.uid,e);i!==void 0&&(i.dispose(),i=void 0,ai(a.uid,{[e]:void 0}))}}function Fj(a){let{chart:t,labelList:e,scaleToAdjust:i,fontSize:r,type:s,axisConfig:n}=a,o=Number.NaN,l=Number.NaN,h=i;if(s===Ds.InnerLabel){let c=e[0],d=n?.innerLabel?.content?.verticalAlignment??"middle",A=c.dy??0,p=Math.round(t.chartContainer.measuredHeight-t.radarContainer.pixelY-A),f=c.bbox.height*i,m=0;switch(d){case"bottom":m=f;break;case"top":m=-f;break;case"middle":case"baseline":m=f*.5;break}m>p&&(h=i*(p/m)),o=re.gauge.innerLabelAutoMinFontSize,l=re.gauge.innerLabelAutoMaxFontSize}else o=re.gauge.axisLabelAutoMinFontSize,l=re.gauge.axisLabelAutoMaxFontSize;let u=r*h;return u<o?h*=o/u:u>l&&(h*=l/u),h}function Rw(a){let{chart:t,type:e,labelList:i,currentScale:r,currentFontSize:s,axisConfig:n}=a,o=Number.NaN,l=Number.NaN;if(e===Ds.InnerLabel){let h=typeof t.innerRadius=="number"?t.innerRadius:t.innerRadius.value;l=(t.xAxes.getIndex(0)?.measuredWidth!==0?t.xAxes.getIndex(0)?.measuredWidth??1:1)*h}else l=t.xAxes.getIndex(0)?.measuredHeight??1;if(l>1){let h=e===Ds.InnerLabel?i[0]?.measuredWidth??0:i.find(u=>u.measuredWidth>0&&u.measuredHeight>0)?.measuredHeight??0;if(h>0){let u=h/l;if(u>0){let{axisLabelToInnerChartRatio:c,innerLabelToInnerChartRatio:d}=re.gauge,A=e===Ds.InnerLabel?d:c;o=r*(A/u),o=Fj({chart:t,labelList:i,axisConfig:n,scaleToAdjust:o,fontSize:s,type:e}),o=Number(o.toFixed(2))}}}return Number.isFinite(o)||(o=r),o}function Tj(a){return a?.labels.content.font?.size===void 0||a?.innerLabel?.visible!==!1&&a?.innerLabel?.content?.font?.size===void 0}function Qv(a){return a.some(t=>lp(t)&&t.value!==void 0)}function Pj(a){let{chart:t,axisConfig:e,axis:i}=a;if(e.labels.content.font?.size===void 0&&e.onlyShowFirstAndLastLabels!==!0){fu(t,Ds.AxisLabels),fu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{let n=en(i,gr.GaugeTicksWithLabels);if(Qv(n)){let o=n.map(d=>d.label),l=o[0].scale,h=o[0].fontSize,u=Rw({chart:t,type:Ds.AxisLabels,labelList:o,currentScale:l,currentFontSize:h,axisConfig:e}),c=u/l;Number.isFinite(u)&&u>0&&(c<=.98||c>1.02)&&o.forEach(d=>{d.scale=u})}}),i.validate()};t.events.once(Ie.Validated,r);let s=t.events.on(Ie.SizeChanged,r);ai(t.uid,{gaugeAutoResizeAxisLabelsDisposer:s}),r()}else{fu(t,Ds.AxisLabels);let r=en(i,gr.GaugeTicksWithLabels);r.length>0&&r.map(s=>s.label).forEach(s=>{s.scale=1})}}function Dj(a,t){let e=ve(a.uid,"config")?.axes?.[0];if(e?.innerLabel?.visible!==!1&&e?.innerLabel?.content?.font?.size===void 0){let i=a.xAxes.getIndex(0)?.measuredWidth;if(i!==void 0&&i>0){let r=Rw({chart:a,type:Ds.InnerLabel,labelList:[t],currentScale:t.scale,currentFontSize:t.fontSize,axisConfig:e});Number.isFinite(r)&&Math.abs(t.scale-r)>.25&&(t.scale=r,t.validate())}}else t.scale=1}function Lj(a,t){fu(a,Ds.InnerLabel),fu(a,Ds.InnerLabelSecondary);let e=a.xAxes.getIndex(0),i=()=>{e?.events.once(Ie.Validated,()=>{Dj(a,t)})},r=a.events.on(Ie.Validated,i),s=a.events.on(Ie.SizeChanged,i);ai(a.uid,{gaugeAutoResizeInnerLabelFirstDisposer:s,gaugeAutoResizeInnerLabelSecondDisposer:r}),i()}function uw(a){return a?.labels.content.font?.size===void 0&&a?.onlyShowFirstAndLastLabels===!0}function Ij(a){let t=a.chart,e=ve(t.uid,"config")?.axes?.[0],i=en(a,gr.GaugeFirstAndLastGuides);if(Qv(i)){let r=i.map(l=>l.label),s=r[0].scale,n=r[0].fontSize,o=Rw({chart:t,type:Ds.FirstAndLastLabels,labelList:r,currentScale:s,currentFontSize:n,axisConfig:e});Number.isFinite(o)&&o>0&&r.forEach(l=>{gu(l.uid,{originalWidth:l.measuredWidth/l.scale,originalHeight:l.measuredHeight/l.scale}),l.scale=o,l.validate()})}}function kj(a){let{chart:t,axisConfig:e,axis:i}=a;if(uw(e)){fu(t,Ds.AxisLabels),fu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{Ij(i)})},s=t.events.on(Ie.SizeChanged,r);ai(t.uid,{gaugeAutoResizeFirstAndLastLabelsDisposer:s}),r()}else fu(t,Ds.FirstAndLastLabels),en(i,gr.GaugeFirstAndLastGuides).map(r=>r.label).forEach(r=>{r.scale=1})}function cw(a,t){let e=a.xAxes.getIndex(0);if(e!==void 0){let i=t??ve(a.uid,"config"),{onlyShowFirstAndLastLabels:r}=i?.axes?.[0]??{};if(!e.renderer.labels.template.visible||r===!0)a.radius=new et(re.gauge.radius);else{let s=en(e,gr.GaugeTicksWithLabels),{furthestLabelX:n,furthestLabelY:o}=s.reduce(({furthestLabelX:l,furthestLabelY:h,furthestPixelX:u,furthestPixelY:c},{label:d})=>{if(d?.visible&&d.bbox.width>0&&d.bbox.height>0){let A=d.pixelX,p=d.bbox.width*d.scale,f=0;A<0?f=Math.abs(A):f=A+p,f>u&&(u=f,l=d);let m=d.pixelY,g=d.bbox.height*d.scale,y=0;m<0?y=Math.abs(m):y=m+g,y>c&&(c=y,h=d)}return{furthestLabelX:l,furthestLabelY:h,furthestPixelX:u,furthestPixelY:c}},{furthestLabelX:void 0,furthestPixelX:0,furthestLabelY:void 0,furthestPixelY:0});if(n!==void 0&&o!==void 0){let l=(n.bbox.width+5)*n.scale,h=(o.bbox.height+5)*o.scale,u=typeof e.renderer.labels.template.radius=="number"?e.renderer.labels.template.radius:e.renderer.labels.template.radius.value,c=(l+u)*2+a.radarContainer.measuredWidth+gv(a.paddingLeft)+gv(a.paddingRight),d=80,A=170,p=a.htmlContainer?.clientHeight??0,f=Math.max(0,Math.min(1,(p-d)/(A-d))),m=a.radarContainer.measuredHeight+(h+u*f)*2+gv(a.paddingTop)+gv(a.paddingBottom),g=a.measuredWidth,y=a.measuredHeight,x=g/c,w=y/m,S=(typeof a.radius=="number"?a.radius:a.radius.value)*100,T=Number((S*x).toFixed(2)),F=Number((S*w).toFixed(2)),L=T/S,$=F/S,I=a.radarContainer.measuredWidth*L,U=a.radarContainer.measuredWidth*$,[P,Q]=I<U?[T,L]:[F,$];Number.isFinite(P)&&P>=10&&P<=re.gauge.radius&&(Q<.98||Q>1.02)&&(a.radius=new et(P))}}}}function $j(a){let t=a.xAxes.getIndex(0);t!==void 0&&(t.events.on(Ie.SizeChanged,()=>cw(a)),t.events.on(Ie.Validated,ks(()=>cw(a),re.debounceTime)))}function H1(a){let t=a.hands.push(new eA),e=re.gaugeNeedle,{startWidth:i,endWidth:r,innerRadius:s}=e;t.pin.disabled=!0,t.startWidth=i??Number.NaN,t.endWidth=r??Number.NaN,t.innerRadius=he(s??Number.NaN);let n=a.xAxes.getIndex(0);return n!==void 0&&(t.axis=n),t}function Oj(a){let{x:t,data:e,chart:i,valueFormat:r,minimum:s,maximum:n}=a,o=Number.NaN;if(e!==void 0&&t!==void 0){let l=e.find(u=>t in u),h=Number.parseFloat(l[t]);Number.isFinite(h)&&(o=h,ai(i.uid,{gaugeData:o}))}else{let l=ve(i.uid,"gaugeData");Number.isFinite(l)&&(o=l)}return Ru(r)&&s!==void 0&&n!==void 0&&s!==null&&n!==null&&o!==null&&n-s!==0&&(o=Nf({value:o,axisMin:s,axisMax:n})),o}function Ej(a,t){let e=t??null;if(t!=null){let i=a.xAxes.getIndex(0),r=ve(a.uid,"config"),s=i.min??r?.axes?.[0].minimum??re.gauge.axisMinimum,n=i.max??r?.axes?.[0].maximum??re.gauge.axisMaximum;t<s?e=s:t>n&&(e=n)}return e}function Mj(a){let{chart:t,needle:e,gaugeValue:i}=a,r=t.hands.getIndex(0)??H1(t);if(r!==void 0){Mf({element:r,fillSymbol:e?.symbol});let{startWidth:s,endWidth:n,innerRadius:o}=re.gaugeNeedle;r.value=Ej(t,i),r.pin.disabled=e?.displayPin!==!0,r.visible=e?.visible??!0,r.startWidth=e?.startWidth??s,r.endWidth=e?.endWidth??n,r.innerRadius=he(e?.innerRadius??o)}}function Rj(a){let t=ml(void 0,a.radarContainer);t.isMeasured=!1,gu(t.uid,{isGaugeAxisInnerLabel:!0}),Lj(a,t)}function Uj(a){let{chart:t,innerLabelConfig:e,valueFormat:i,gaugeValue:r,gaugeInnerLabelFormatter:s}=a,n=t.radarContainer.children.values.find(o=>gs(o.uid,"isGaugeAxisInnerLabel")===!0);if(n!==void 0){_n({label:n,labelConfig:e,defaults:re.gaugeInnerLabel});let o=ve(t.uid,"formatLocale");n.html=Kj({valueFormat:i,iLocale:t.language.locale,formatLocale:o,gaugeValue:r,innerLabelConfigContent:e?.content,gaugeInnerLabelFormatter:s}),t.radarContainer.invalidateLabels()}}function Vj(a){let t=a.axisRanges.create();return t.axisFill.fillOpacity=1,t.axisFill.disabled=!0,t.grid.strokeOpacity=1,t.grid.disabled=!1,t.tick.length=re.gaugeTicksLength,t}function Nj(a){let t=new Vn;return t.disabled=!0,t.axis=a,Ov(t),t.padding(10,10,10,10),gu(t.uid,{isGaugeAxisLabel:!0}),t}function Qj(a){let{axis:t,min:e,max:i,labelsIncrement:r,numberOfIntervals:s,valueFormat:n}=a,o=Ru(n),l=1,h=en(t,gr.Ticks);h.length>0&&(l=h[0].label?.scale,h.forEach(d=>{if(lp(d)){let A=t.axisRanges.values.indexOf(d);A>=0&&t.axisRanges.removeIndex(A)}}));let u=re.gauge.numberOfTicksBetweenTwoLabels+1,c=s*u+1;for(let d=0;d<c;d+=1){let A=d===c-1,p=Vj(t),f=A?i:e+d/u*r;p.value=o?Nf({value:f,axisMin:e,axisMax:i}):f,d%u===0&&(p.label=Nj(t),p.label.text=String(f),p.grid.disabled=!0,Number.isFinite(l)&&(p.label.scale=l))}}function Hj(a){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,axisLabelConfigContent:s,axisValueFormatter:n}=a;if(!i){let o=en(e,gr.GaugeTicksWithLabels);if(Qv(o)){let l=ve(t.uid,"formatLocale");o.forEach(h=>{_n({label:h.label,labelConfig:s}),lp(h)&&(h.label.html=j1({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:s?.content,itemLabelValue:h.value,axisValueFormatter:n}))})}}}function jj(a,t){let e=t?.ticks?.visible??!0,i=en(a,gr.Ticks);for(let r=0;r<i.length;r+=1){let s=i[r];Ui(s.tick,e)}}function Wj(a,t){if(a instanceof Qe&&a.chart instanceof Ks){let e=en(a,gr.GaugeTicksWithLabels);if(Qv(e)){let{onlyShowFirstAndLastLabels:i,labels:r}=t,s=(r?.visible??!0)&&i!==!0;e.forEach(n=>{Ui(n.label,s)})}}}function Xj(a){let{labels:t,guides:e,onlyShowFirstAndLastLabels:i}=a,r=e??[];if(i===!0){let s={type:V.Guide,start:Number.NaN,style:{type:"esriSLS"},name:""};r.push({...s,start:a.minimum??Number.NaN,name:re.gaugeFirstLabelId,label:{...t.content,text:`${a.minimum}`}},{...s,start:a.maximum??Number.NaN,name:re.gaugeLastLabelId,label:{...t.content,text:`${a.maximum}`}})}a.guides=r}function zj(a){en(a,gr.GaugeFirstAndLastGuides).forEach(t=>{t.label.adapter.keys().includes("dx")||t.label.adapter.add("dx",e=>{let i=e;if(t.label.measuredWidth>0){let r=ve(a.chart.uid,"config")?.axes?.[0],s=gs(t.label.uid,"originalWidth"),n=uw(r)&&s!==void 0&&s===t.label.measuredWidth&&t.label.scale!==1;i=Math.round((n?s*t.label.scale:t.label.measuredWidth)/2),t.id===re.gaugeLastLabelId&&(i*=-1)}return i}),t.label.adapter.keys().includes("dy")||t.label.adapter.add("dy",e=>{let i=e;if(t.label.measuredHeight>0){let r=ve(a.chart.uid,"config")?.axes?.[0],s=gs(t.label.uid,"originalHeight"),n=uw(r)&&s!==void 0&&s===t.label.measuredHeight&&t.label.scale!==1;i=Math.round((n?s*t.label.scale:t.label.measuredHeight)/2)}return i})})}function Gj(a){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,gaugeLabelConfigContent:s,axisValueFormatter:n}=a;if(i){let o=en(e,gr.GaugeFirstAndLastGuides),l=ve(t.uid,"formatLocale");o.forEach(h=>{h?.label!==void 0&&lp(h)&&(h.label.html=j1({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:s?.content,itemLabelValue:h.value,axisValueFormatter:n}))}),zj(e)}}function Yj(a){let{chart:t,valueFormat:e,queryObject:i,errorStrings:r}=a;t.xAxes.clear(),Of({isXAxis:!0,axes:t.xAxes,valueFormat:e,queryObject:i,errorStrings:r});let s=t.xAxes.getIndex(0);s instanceof Qe&&(s.renderer.labels.template.disabled=!0,s.renderer.ticks.template.disabled=!0,H1(t),Rj(t),$j(t),s.maxZoomFactor=1)}function Kj(a){let{valueFormat:t,iLocale:e,formatLocale:i,innerLabelConfigContent:r,gaugeValue:s,gaugeInnerLabelFormatter:n}=a,o="";if(Number.isFinite(s))if(n!==void 0)o=n(s);else{let l=$o(t),h=fl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${s}`),o=xa({textSymbol:{type:Rt.TS,...r,text:o},format:"html"}),o=Er(o)}return o}function j1(a){let{valueFormat:t,iLocale:e,formatLocale:i,gaugeLabelConfigContent:r,itemLabelValue:s,axisValueFormatter:n}=a,o="";if(Number.isFinite(s))if(n!==void 0)o=n(s);else{let l=$o(t),h=fl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${s}`),o=xa({textSymbol:{type:Rt.TS,...r,text:o},format:"html"}),o=Er(o)}return o}function Zj(a){let{gaugeBands:t}=a,e={base:yF(),target:vF()};return t.type===V.FixedProgressBands&&(e.target=t.bands?.target??e.target,e.base=t.bands?.base??e.base),e}function qj(a){let{axis:t,axisConfig:e,gaugeValue:i}=a,r=e.progressBands;if(r?.type===V.FixedProgressBands&&r.visible!==!1){let s=e.minimum??t.min,n=e.maximum??t.max;if(i!=null&&s!==void 0&&s!==null&&n!==void 0&&n!==null){let o=Math.min(Math.max(i,s),n),l=Zj({gaugeBands:r});e.guides=[{type:V.Guide,start:s,end:o,style:l.target,name:"progressTargetBand"},{type:V.Guide,start:o,end:n,style:l.base,name:"progressBaseBand"}]}}}function Jj(a){let{chart:t,chartConfig:e,data:i,queryObject:r,axisValueFormatter:s,gaugeInnerLabelFormatter:n,utilsStrings:o,errorStrings:l,gaugeMinMaxFromData:h}=a,{axes:u,series:c}=e,d=ju(e),A=ze(e.series),{featureIndex:p,x:f}=c[0],m=u?.[0],g=t.xAxes.getIndex(0),y={...m};if(g!==void 0&&y!==void 0){let{valueFormat:x,needle:w,innerLabel:S,onlyShowFirstAndLastLabels:T}=y;rw({axis:g,valueFormat:x,chartType:A})&&Of({isXAxis:!0,axes:t.xAxes,valueFormat:x,queryObject:r,errorStrings:l});let F=Mw({featureIndex:p,chartData:t.data,chartConfig:e,gaugeMinMaxFromData:h,queryConfig:ve(t.uid,"queryConfig")});y.minimum=F.minimum,y.maximum=F.maximum;let{min:L,max:$,labelsIncrement:I,numberOfIntervals:U}=N1(y);Sj({oldConfig:ve(g.chart.uid,"config"),axisMax:g.max,min:L,max:$,labelsIncrement:I,numberOfIntervals:U,valueFormat:x})&&Qj({axis:g,min:L,max:$,labelsIncrement:I,numberOfIntervals:U,valueFormat:x});let P={...y};Ru(x)?(P.minimum=0,P.maximum=1,Q1({axisConfig:P,axisMin:y.minimum,axisMax:y.maximum})):(P.minimum=L,P.maximum=$);let Q=d?F?.dataValue:Oj({x:f,data:i,chart:t,minimum:y.minimum,maximum:y.maximum,valueFormat:x});qj({axis:g,axisConfig:P,gaugeValue:Q??Number.NaN}),Xj(P),bv({axis:g,axisConfig:P,axisConfigIndex:0,chartType:V.GaugeSeries,axisValueFormatter:s,isTimeOnlyField:!1,setTimeZone:!1,utilsStrings:o,errorStrings:l}),g.renderer.labels.template.disabled||(g.renderer.labels.template.disabled=!0),g.renderer.ticks.template.disabled||(g.renderer.ticks.template.disabled=!0),Pj({chart:g.chart,axis:g,axisConfig:y}),kj({chart:t,axis:g,axisConfig:y}),jj(g,y),Hj({chart:t,axis:g,onlyShowFirstAndLastLabels:T??!1,valueFormat:x,axisLabelConfigContent:y.labels,axisValueFormatter:s}),Gj({chart:t,axis:g,onlyShowFirstAndLastLabels:T??!1,valueFormat:x,gaugeLabelConfigContent:y.labels,axisValueFormatter:s}),Mj({chart:t,needle:w,gaugeValue:Q}),Uj({chart:t,innerLabelConfig:S,valueFormat:x,gaugeValue:Q,gaugeInnerLabelFormatter:n}),Wj(g,y),cw(t,e),t.validateData()}}function eW(a){a.background.fill=bn(re.backgroundColor)}function Hv(a,t){a.background.fill=bn(t??re.backgroundColor)}function tW(a){let t=w1(re.headerContainer,a),e=ml(re.title,t),i=ml(re.subtitle,t);return a instanceof dn&&(Fv(a,e),Fv(a,i),Vf({chart:a,label:e,labelType:Xt.ChartTitle}),Vf({chart:a,label:i,labelType:Xt.ChartSubTitle})),uH(t),{headerContainer:t,title:e,subtitle:i}}function jv(a,t){let{title:e,subtitle:i,headerContainer:r}=a;_n({label:e,labelConfig:t?.title,defaults:re.titleLabel}),_n({label:i,labelConfig:t?.subtitle,defaults:re.titleLabel}),B1(r,e.disabled&&i.disabled),yu({chart:e.parent,label:e,labelType:Xt.ChartTitle}),yu({chart:i.parent,label:i,labelType:Xt.ChartSubTitle})}function iW(a){let t=w1(re.footerContainer,a),e=ml(re.footer,t);return a instanceof dn&&(Fv(a,e),Vf({chart:a,label:e,labelType:Xt.ChartFooter})),{footerContainer:t,footer:e}}function Wv(a,t){let{footer:e,footerContainer:i}=a;_n({label:e,labelConfig:t,defaults:re.footer}),B1(i,e.disabled||t?.content.text===""),yu({chart:e.parent,label:e,labelType:Xt.ChartFooter})}function Uw(a){return a.values.every(t=>t.isReady())}function rW(a){a.events.on(Ie.Ready,()=>{let{chart:t}=a;t&&Uw(a.chart.series)&&(RQ(t),Vu(a.chart.htmlContainer))})}function W1(a){if(a instanceof Vt){let t=new mo,e=new mo;t.disabled=!0,e.disabled=!0,t.marginTop=-10,e.marginRight=0,a.scrollbarX=t,a.scrollbarY=e}}function sW(a,t){let e=t?0:-1;a.thumb.tabindex=e,a.startGrip.tabindex=e,a.endGrip.tabindex=e}function aW(a,t){if(t!==void 0){let e=Qc(t);[a.background,a.startGrip.background,a.endGrip.background,a.thumb.background,a.background.states.getKey("default")?.properties,a.startGrip.background.states.getKey("default")?.properties,a.endGrip.background.states.getKey("default")?.properties,a.thumb.background.states.getKey("default")?.properties,a.startGrip.background.states.getKey("hover")?.properties,a.endGrip.background.states.getKey("hover")?.properties,a.thumb.background.states.getKey("hover")?.properties,a.startGrip.background.states.getKey("down")?.properties,a.endGrip.background.states.getKey("down")?.properties,a.thumb.background.states.getKey("down")?.properties].forEach(i=>{i!==void 0&&(i.fill=e)})}}function nW(a,t){typeof t=="number"&&Number.isFinite(t)&&(a.orientation==="horizontal"?(a.height=t,a.minHeight=t):(a.width=t,a.minWidth=t))}function oW(a,t){if(typeof t=="number"&&Number.isFinite(t)){let e=t/30;a.startGrip.scale=e,a.endGrip.scale=e}}function lW(a,t){typeof t=="number"&&Number.isFinite(t)&&(a.orientation==="horizontal"?a.marginBottom=t:a.marginLeft=t,a.parent?.invalidateLayout())}function X1(a){let{chart:t,scrollbarXConfig:e,scrollbarYConfig:i}=a;if(t instanceof Vt){let r=ve(t.uid,"isRotated");(t.scrollbarX===void 0||t.scrollbarY===void 0)&&W1(t);let{scrollbarX:s,scrollbarY:n}=t;[s,n].forEach(o=>{let l=o.orientation==="horizontal"&&r!==!0||o.orientation==="vertical"&&r===!0?e:i,h=l?.visible!==!0;if(o.disabled=h,sW(o,!h),l!==void 0&&!h){let{width:u,color:c,gripSize:d,margin:A}=l;lW(o,A),aW(o,c),oW(o,d),nW(o,u)}})}}function hW(a,t){a.columns.each(e=>{(e.dataItem?.dataContext)[t]===0&&(e.strokeOpacity=0)})}function uW(a){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:s,colorMatch:n,rendererType:o}=a,l=t.dataFields.valueY??t.dataFields.valueX??e.y,h=new Set,u,c=e.fillSymbol,d={seriesConfig:e,seriesIndex:i,seriesSymbol:c,colorMatch:n,isChartFillSymbol:!0},A={},p={},f=Jb(i);return t.columns.length===0?A=pu({seriesConfig:e,seriesIndex:i,seriesSymbol:c??f,element:new Ee,colorMatch:n,isChartFillSymbol:!0}):(t.columns.each(m=>{let g=m.dataItem?.dataContext;if(Number.isFinite(g?.[l])){let y=on({dataItem:g,seriesConfig:e,chartSubType:s,colorMatch:n,rendererType:o}),x=g[re.xAxisField]===re.nullValue,w=(x&&e.nullCategory?.symbol!==void 0?e.nullCategory.symbol:c)??f;A=pu({...d,seriesSymbol:w,element:m,rendererSymbol:y}),yA({element:m,stylingInfo:A.stylingInfo}),x||(h.add(JSON.stringify(A.symbolWithColorInfo)),p=A)}}),r>1&&A.symbolWithColorInfo&&pu({...d,seriesSymbol:A.symbolWithColorInfo,element:t.columns.template})),h.size<=1&&(u=p.symbolWithColorInfo??c),hW(t,l),u}function cW(a){let{series:t,seriesSymbolMapForEvent:e,seriesIndexMapper:i,seriesIndex:r,colorMatch:s,rendererType:n}=a,o=a.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,u=It(l?.series),c=uW({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:h,chartSubType:u,colorMatch:s,rendererType:n});e.set(i.get(o.id)??r,c),e.size===h&&nn({data:e,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:Ev(t.chart)})}function z1(a){let{seriesConfig:t,series:e,seriesIndexMapper:i,rotationChanged:r,colorMatch:s,stackedType:n,rendererType:o,seriesIndex:l,seriesSymbolMapForEvent:h,queryObject:u}=a,{name:c}=t,d=ve(e.chart.uid,"config"),A=xn({config:d}),p=It(d?.series);Ui(e,t.visible);let f=c,m=e.dataFields?.customValue??"";(p===ke.BarAndLineSplitBy||p===ke.BarAndLineSplitByNoAggregation)&&(f=ng({queryObject:u,fieldName:Dn(m),fieldValue:f})??f),CA(e,f),Fw({series:e,seriesConfig:t,rotationChanged:r,stackedType:n,isRotated:A}),cW({series:e,seriesConfig:t,seriesIndex:l,seriesIndexMapper:i,colorMatch:s,rendererType:o,seriesSymbolMapForEvent:h}),Jn(e.uid,{barSeriesLastUpdate:{numberOfColumnsUpdated:e.columns.length,updateProps:a}})}function dW(a){a.events.on(Ie.Validated,()=>{let t=sa(a.uid,"barSeriesLastUpdate");if(t!==void 0){let{numberOfColumnsUpdated:e,updateProps:i}=t;a.columns.length>e&&z1(i)}})}function AW(a){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],selectionTheme:s,queryObject:n,errorStrings:o}=a,{rotated:l}=e,h=e.series[i],{y:u,assignToSecondValueAxis:c}=h,d=new Xi;d.id=h.id;let A,p;l!==!0?(A=r[0],p=c===!0&&r[2]?r[2]:r[1]):(A=c===!0&&r[2]?r[2]:r[0],p=r[1]),A!==void 0&&(d.xAxis=A),p!==void 0&&(d.yAxis=p);let f=t instanceof Vt?xn({chart:t}):!1,m=It(e.series)!==ke.BarAndLineSplitByNoAggregation?u:`${u}_${xh({where:h.query?.where,keepSurroundingQuotes:!1,escape:!1})}`;f?d.dataFields.valueX=m:d.dataFields.valueY=m;let g=f?r[1]:r[0];if(g!==void 0){let y=d1(g,f);d.dataFields[y]=re.xAxisField,d.baseAxis=g}return Fw({series:d,seriesConfig:h,rotationChanged:!1,stackedType:e.stackedType,isRotated:f}),d.dataFields.customValue=h?.query?.where,b1(d.columns.template,d),d.columns.template.width=he(100),Gc({element:d.columns.template,customSelectionTheme:s}),jf({chart:t,element:d.columns.template,queryObject:n,errorStrings:o}),Iw(d),dW(d),zc(d),d}function pW(a){let{seriesConfig:t,series:e,seriesIndex:i,axes:r,utilsStrings:s,fieldList:n,queryObject:o,stackedType:l,options:h}=a;e.id=t.id;let u=xn({chart:e.chart});ij({series:e,seriesType:V.BarSeries,isRotated:u,stackedType:l,hideOversizedSideBySideLabels:t.hideOversizedSideBySideLabels,hideOversizedStackedLabels:t.hideOversizedStackedLabels,dataLabelsConfig:t.dataLabels,yAxisValueFormat:r[1].valueFormat,customDataLabelFormatter:h?.dataLabelFormatter}),Mv({styleCallback:z1,callbackProps:a,series:e,seriesConfig:t}),_1({series:e,seriesConfig:t,fieldList:n,queryObject:o,utilsStrings:s,seriesIndex:i,tooltipFormatter:h?.tooltipFormatter})}function fW(a){a.labels.template.adapter.add("html",(t,e)=>{let i=sa(a.uid,"pieChartDataLabelFormatter"),r=t??"",{dataItem:s}=e;if(s instanceof Fa){let{slice:n}=s;if(n!==void 0&&!Ef(n))r="";else if(i!==void 0){let{value:o,percent:l}=s.values?.value??{};if(o!==void 0&&o!==0){let h=`${s.properties?.category??t}`;r=i(h,o,l)}}}return zi(r)&&(r=re.htmlEmptyContent),Er(r)})}function mW(a){let t=a.labels.template;t.maxWidth=re.pieChart.dataLabels.maxWidth??Number.NaN,t.wrap=re.pieChart.dataLabels.wrap??!0,t.events.on(Ie.Over,e=>{let{dataItem:i}=e.target??{};i instanceof Fa&&i.slice.showTooltip()}),fW(a)}function gW(a,t){let{numericValueFormat:e,percentValueFormat:i,displayCategoryOnDataLabel:r,displayNumericValueOnDataLabel:s,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u,dataLabelsCharacterLimit:c}=t,d=Lw({iLocale:a.chart.language.locale,pieChart:a.chart,valueIntlOptions:e?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:s??re.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??re.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:u}),A=ig(c),p=Ra(a.rtl," ");return(f,m,g)=>{let y=d(f,m,g),x=r??re.pieChart.displayCategoryOnDataLabel?A(f):"",w=zi(x)?"":`${x}${p}`;return w=`${w}${y}`,t.dataLabels?.content!==void 0&&(w=xa({textSymbol:{...t.dataLabels.content,text:w},format:"html",defaults:{...re.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??re.pieChart.dataLabels.wrap}})),w}}function yW(a){let{pieSeries:t,seriesConfig:e,dataLabelFormatter:i}=a,{dataLabels:r}=e,s=e.dataLabelsOffset??re.pieChart.dataLabelsOffset,n=e.dataLabelsInside??re.pieChart.dataLabelsInside;Jn(t.uid,{pieChartDataLabelFormatter:i??gW(t,e)}),_n({label:t.labels.template,labelConfig:r,defaults:{...re.pieChart.dataLabels,wrap:e.optimizeDataLabelsOverlapping??re.pieChart.alignDataLabels},skipSettingText:!0}),t.alignLabels=!n&&(e.alignDataLabels??re.pieChart.alignDataLabels);let o=t.labels.template.radius;t.chart.invalidateData(),(n&&o!==he(-40)||!n&&o===he(-40)||s!==void 0&&Number.isFinite(s)&&o!==s)&&(t.labels.template.radius=n?he(-40):s,t.invalidate())}function vW(a,t){let e=(p,f,m)=>re.htmlEmptyContent,{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:s,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g=re.htmlEmptyContent,y=Lw({iLocale:a.chart.language.locale,pieChart:a.chart,valueIntlOptions:(s??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??re.pieChart.displayNumericValueOnTooltip,displayPercentage:h??re.pieChart.displayPercentageOnTooltip,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A})("",f,m),x=!zi(p)&&(o??re.pieChart.displayCategoryOnTooltip);if(x&&(g=`<b>${p}</b>`),!zi(y)){let w=rg(y);g=x?`${g}<br />${w}`:w}return g},e}function bW(a){if(a.tooltip!==void 0){let t=a.fill;t instanceof bc?t=t.stroke:t instanceof xc&&(t=t.backgroundFill),a.tooltip.background.fill=t}}function xW(a){let t=a.slices.template;t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:s}=a;if(s!==void 0&&i.tooltip!==void 0){let n=ve(s.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)i.tooltip.disabled=!0;else{let l=sa(a.uid,"pieChartTooltipFormatter");if(l!==void 0){let{dataItem:h}=i;if(h instanceof Fa){let u=h.properties.category??"",c=h.dataContext,d=oo(c);d===void 0&&(d=u);let A=h.values?.value?.value,p=h.values?.value?.percent;typeof A=="number"&&A!==0&&n?.series?.[0]?.dataTooltipVisible!==!1?(i.tooltip.disabled=!1,bW(i),r=l(`${u}`,A,p,d)):i.tooltip.disabled=!0}}}}return Er(r)})}function _W(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a;Jn(t.uid,{pieChartTooltipFormatter:i??vW(t,e)}),Uv(t,e)}function CW(a){a.ticks.template.adapter.add("disabled",(t,e)=>e.dataItem?.values?.value?.value===0||!Number.isFinite(e.dataItem?.values?.value?.value)||t===!0)}function wW(a){let{chartData:t,pieSeries:e,pieSlicesSymbols:i,seriesConfig:r}=a;if(e.slices.length===0){let s=[];t?.forEach(n=>{let o=ww({dataContext:n,pieSlicesSymbols:i,seriesConfig:r});s.push(Qc(o.color))}),s.length>0&&(e.colors.list=s)}}function BW(a){let{seriesConfig:t,selectionTheme:e}=a,{x:i,y:r,id:s,visible:n}=t,o=new Bs;o.id=s,o.dataFields.value=r,o.dataFields.category=i;let l=re.pieChart;o.startAngle=l.min,o.endAngle=360+o.startAngle,CW(o),xW(o),mW(o);let h=e!==void 0&&e.selectedElementsTheme?.transformation?.opacity===void 0?{...e,selectedElementsTheme:{...e?.selectedElementsTheme,transformation:{...e?.selectedElementsTheme?.transformation,opacity:1}}}:e;return Gc({element:o.slices.template,useNativeState:!0,customSelectionTheme:h}),o.slices.template.states.removeKey("hover"),zc(o),o.hidden=n===!1,Iw(o),o}function SW(a){let{series:t,pieSlicesSymbols:e,seriesConfig:i,selectionTheme:r}=a;t.defaultState.reset(),t.slices.each((s,n)=>{let o=s.dataItem?.dataContext,l=ww({dataContext:o,pieSlicesSymbols:e,seriesConfig:i}),h=Mf({element:s,fillSymbol:l,defaultToColorFromRamp:!0,colorRampIndex:n,isChartFillSymbol:!0});r!==void 0&&r.selectedElementsTheme===void 0&&yA({element:s,stylingInfo:h,stateKey:ia.Active})})}function FW(a,t){let{ticks:e}=t,i=e?.visible===!1||t.dataLabelsInside===!0||t.dataLabels===void 0||t.dataLabels?.visible===!1||t.dataLabelsOffset!==void 0&&t.dataLabelsOffset<=0;a.ticks.template.disabled=i,a.ticks.template.strokeOpacity=re.pieChart.ticksOpacity;let r=e?.lineSymbol??ZA({color:jm});i&&(r.width=0),Nc({element:a.ticks.template,lineSymbol:r,visible:!i})}function TW(a){let{chart:t,seriesConfig:e,series:i,pieSlicesSymbols:r,options:s,utilsStrings:n,queryObject:o}=a,{tooltipFormatter:l,dataLabelFormatter:h}=s??{},{x:u,y:c,id:d,innerRadius:A,startAngle:p,endAngle:f}=e;i.id=d;let m=It([e]),g=re.pieChart;i.dataFields.value=m!==ke.PieFromFields?c:Uu,i.dataFields.category=m!==ke.PieFromFields?u:ao;let y=t.radius instanceof et?t.radius.value:t.radius;t.innerRadius=he((A??g.innerRadius)*y),i.startAngle=p??g.min,i.endAngle=f??360+i.startAngle,yW({pieSeries:i,seriesConfig:e,dataLabelFormatter:h}),wW({chartData:t.data,pieSeries:i,pieSlicesSymbols:r,seriesConfig:e}),Mv({styleCallback:SW,callbackProps:a,series:i,seriesConfig:e}),FW(i,e),_W({series:i,seriesConfig:e,tooltipFormatter:l})}async function nI(a){let{chart:t,hitSlice:e,multiSelect:i=!1,queryObject:r,errorStrings:s}=a,n=[],o=ve(t.uid,"config"),l=t.series.getIndex(0);if(o&&l!==void 0){let h=r1(l),u=_u(l),c={element:{},xAxisField:h,yAxisField:u,seriesIndex:0,chartConfig:o};l.slices.each((d,A)=>{d.isActive&&(d===e||i||d.dataItem instanceof Fa&&d.dataItem.label.isHover)?sh(d.dataItem?.dataContext)?(Hf({groupOfSlicesDataContext:d.dataItem?.dataContext})??[]).forEach(p=>{n.push({...c,element:void 0,elementDataContext:p,elementIndex:A})}):n.push({...c,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:A}):Zn({element:d,selected:!1,useNativeState:!0})}),n.forEach(d=>{Zn({element:d.element,selected:!0,useNativeState:!0})}),await Xf({chart:t,listSelectedElements:n,selectionSource:Tr.SelectionByClick,queryObject:r,errorStrings:s})}t.feedLegend()}function PW(a,t,e){let i=async n=>{let{target:o}=n;if(f1(a)&&a.series.getIndex(0)?.slices.template.togglable){let l=Rv(n,a);if(o instanceof Sa)await nI({chart:a,multiSelect:l,hitSlice:o,queryObject:t,errorStrings:e});else if(o instanceof Ri){let h=o.dataItem;if(h instanceof Fa){let{slice:u}=h;u.isActive=!u.isActive,await nI({chart:a,multiSelect:l,hitSlice:u,queryObject:t,errorStrings:e})}}else o===a.background&&await Xf({chart:a,listSelectedElements:[],selectionSource:Tr.SelectionByClick,queryObject:t,errorStrings:e})}},r=a.series.getIndex(0)?.slices.template;r!==void 0&&(r.events.on(Ie.Hit,i),r.events.on(Ie.DoubleHit,i));let s=a.series.getIndex(0)?.labels.template;s!==void 0&&s.events.on(Ie.Hit,i),a.background.events.on(Ie.Hit,i),a.background.events.on(Ie.DoubleHit,i)}function oI(a){let t;return typeof a=="number"&&Number.isFinite(a)&&a>0&&(t=a),t}function DW(a){let{chartContainer:t}=a,e=oI(t.measuredWidth),i=oI(t.measuredHeight),r;return e!==void 0&&i!==void 0&&(r={width:e,minSide:Math.min(e,i)}),r}function lI(a){return a?.offsetParent!==null}function LW(a,t){a!==void 0&&t!==void 0&&window.IntersectionObserver!==void 0&&new IntersectionObserver(e=>{e[0].intersectionRatio>0&&(ve(a.uid,"chartWasCreatedWhileHidden")===!0?(a instanceof qi&&a.events.once(Ie.Validated,()=>{a.isDisposed()||Tv(a),a.reinit()}),a.reinit(),a instanceof Vt&&Nv(a),ai(a.uid,{chartWasCreatedWhileHidden:!1})):ve(a.uid,"chartWasUpdatedWhileHidden")===!0&&(a instanceof qi&&a.events.once(Ie.Validated,()=>{a.isDisposed()||Tv(a),a.reinit()}),a.reinit(),ai(a.uid,{chartWasUpdatedWhileHidden:!1})))},{root:null}).observe(t)}function Tv(a){let t=ve(a.uid,"config");if(t!==void 0){let e=he(ve(a.uid,"pieChartRadius")??re.pieChart.chartOptimizedRadius),i=e,{series:r}=t,{innerRadius:s,optimizeDataLabelsOverlapping:n,alignDataLabels:o,dataLabelsOffset:l=re.pieChart.dataLabelsOffset,dataLabels:h,dataLabelsInside:u}=r[0];if(h?.visible===!0&&o===!0&&n===!0&&u!==!0){let d=re.pieChart.chartOptimizedRadius/100,A=500,p=150,f=.6,m=.5,g=1,y=a.chartContainer.measuredWidth-l*2,x=Math.max(y-p,0)/(A-p),w=x<1?Math.max(x**g*f,.4):Math.min(x**m*f,d);i=he(w*100)}else i=he(re.pieChart.chartRadius);e.value.toFixed(1)!==i.value.toFixed(1)&&(ai(a.uid,{pieChartRadius:i.percent}),a.radius=i,a.innerRadius=he((s??re.pieChart.innerRadius)*i.value));let c=a.series?.values?.[0];c instanceof Bs&&(c.labels.template.maxWidth=IW(t?.series[0],a))}}function G1(a){wn(a)&&a.events.on(Ie.SizeChanged,ks(()=>Tv(a),re.debounceTime))}function IW(a,t){let e=re.pieChart.dataLabels.maxWidth??100,i=e;if(a!=null){let{alignDataLabels:r,dataLabelsOffset:s=re.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:n,dataLabels:o,dataLabelsInside:l}=a;if(o?.visible===!0&&r===!0&&l!==!0&&n===!0){let h=e,u=DW(t),c=typeof t.radius=="number"?t.radius/100:t.radius.value;if(u!==void 0&&Number.isFinite(c)){let{width:d,minSide:A}=u,p=c*A,f=5,m=Math.floor((d-p)/2)-f-s;if(Number.isFinite(m)){h=Math.min(m,e-f);let g=30;h<g&&(h=g),Number.isFinite(h)||(h=e)}}i=h}}return i}function Y1(a){if(wn(a)){let t=typeof a.radius=="number"?a.radius:a.radius.percent;ai(a.uid,{pieChartRadius:t}),Tv(a),a.validate()}}function K1(a){if(a instanceof qi)G1(a),Y1(a);else if(!(a instanceof Ks)){let t=()=>{let i=ve(a.uid,"config"),{chartPaddingMinSize:r,chartPaddingRightWhenLegendNotOnRight:s,chartContainerPaddingTopWhenRotated:n,chartContainer:o}=re,l=i?.series,h=ze(l),u=xn({config:i}),c=l?.[0]?.dataLabels?.visible??!0,d=re.chartDefaultPaddingRight;if(u&&c&&(h===V.LineSeries||h===V.ComboLineAndBarSeries||h===V.BarSeries&&(i?.stackedType??ex())===Oi.Side)){let p=0,f=m=>gs(m.uid,"isDataLabel")??!1;a.series.each(m=>{let g=m.bullets.values.find(f);g!==void 0&&g.clones.each(y=>{let x=y.measuredWidth;switch(y.horizontalCenter){case"middle":x/=2;break;case"right":x*=-1;break}let w=y.pixelX+x;w>p&&(p=w,d=x)})})}d>=0&&(a.chartContainer.paddingRight=d),a.chartContainer.paddingTop=u?n:o.paddingTop;let A=i?.legend?.visible!==!1&&i?.legend?.position===st.Right;a.paddingRight=A?r:s},e=0;a.series.each(i=>{i.events.once(Ie.Validated,()=>{e+=1,e===a.series.length&&t()})})}}function kW(a,t){a.adapter.add("criticalError",e=>(e.message=t.errors.simpleError,e))}it.classNamePrefix="arcgis-charts-";function Vw(a){let{chart:t,localeInfo:e,chartLocale:i}=a;it.defaultLocale=i,t.language.locale=i,ai(t.uid,{formatLocale:e.formatLocale}),t.rtl=e.rtl}function Xv(a){let{chart:t,actionMode:e,cursorRange:i}=a;if(wn(t)){let r=e??ve(t.uid,"actionMode")??re.actionMode;ai(t.uid,{actionMode:r});let s=ve(t.uid,"filterBySelection");switch(r){case Ut.MonoSelection:case Ut.MultiSelection:case Ut.MultiSelectionWithCtrlKey:s!==!0?WQ(t):KC(t);break;case Ut.Zoom:KC(t);break;case Ut.None:BA({chart:t,selectionSource:Tr.ClearSelection,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1}),KC(t);break}fQ({chart:t,actionMode:r,cursorRange:i})}}function $W(a,t){t&&(a.tapToActivate=!0,a.tapTimeout=3e3,a.responsive.enabled=!0)}function OW(a){let{chart:t,axesConfig:e,chartType:i,isRotated:r,errorStrings:s,queryObject:n}=a;switch(Pl({chartType:i,axesConfig:e,errorStrings:s}),i){case V.GaugeSeries:{io(n),t instanceof Ks&&e?.[0]?.valueFormat!==void 0&&Yj({chart:t,valueFormat:e[0].valueFormat,queryObject:n,errorStrings:s});break}case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{_j({chart:t,chartType:i,isRotated:r,axesConfig:e,queryObject:n,errorStrings:s});break}}}function Nw(a){let{chart:t,chartConfig:e,chartConfig:{axes:i},rotationChanged:r,axisLabelsBehaviorChanged:s,chartType:n,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,data:u,queryObject:c,guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,options:g,utilsStrings:y,errorStrings:x,gaugeMinMaxFromData:w}=a;switch(Pl({chartType:n,axesConfig:i,errorStrings:x}),n){case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{t instanceof Vt&&Cj({chart:t,chartConfig:e,rotationChanged:r,axisLabelsBehaviorChanged:s,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,timeIntervalInfo:u?.timeIntervalInfo??ve(t.uid,"timeIntervalInfo"),guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,options:g,utilsStrings:y,errorStrings:x,queryObject:c});break}case V.GaugeSeries:{t instanceof Ks&&(io(c),Jj({chart:t,chartConfig:e,data:(u??t.data).dataItems,queryObject:c,axisValueFormatter:A,gaugeInnerLabelFormatter:m,utilsStrings:y,errorStrings:x,gaugeMinMaxFromData:w}));break}}}function Z1(a){let{chart:t,chartConfig:e,options:i,utilsStrings:r,errorStrings:s,queryObject:n}=a,{selectionTheme:o,ignoreSmoothRenderingLimit:l}=i??{};t.series.clear();let h,u,c=[],d=t instanceof Vt?[t.xAxes.getIndex(0),t.yAxes.getIndex(0),t.xAxes.getIndex(1)??t.yAxes.getIndex(1)]:void 0,A={selectionTheme:o,utilsStrings:r},p={...A,axisList:d};if(t instanceof Vt)for(let m=0;m<e.series.length;m+=1){let g=e.series[m];if(u=ze([g]),Dl(e))h=GH({...p,chart:t,axisList:d,chartConfig:e,seriesIndex:m,queryObject:n,errorStrings:s}),c.push(...h.flat());else switch(u){case V.BarSeries:{h=AW({...p,chart:t,chartConfig:e,seriesIndex:m,queryObject:n,errorStrings:s}),c.push(h);break}case V.LineSeries:{io(n),h=UH({...p,chart:t,chartConfig:e,seriesIndex:m,ignoreSmoothRenderingLimit:l,queryObject:n,errorStrings:s}),c.push(h);break}}}else t instanceof qi&&e.series[0].type===V.PieSeries&&(h=BW({...A,seriesConfig:e.series[0]}),c.push(h));c.forEach(m=>{rW(m)});let f=ZF({chartConfig:e,queryObject:n,chartData:t.data});f.length>0&&(t.colors.list=f.map(m=>{let[g,y,x,w]=m;return new xt({r:g,g:y,b:x,a:w})})),c.length>0&&t.series.pushAll(c),zQ(t)}function Qw(a){let{chart:t,chartConfig:e,chartConfig:{series:i,axes:r,chartRenderer:s},seriesIndexMapper:n,rotationChanged:o,seriesReordered:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:u,chartData:c,queryObject:d,options:A,dataWasUpdated:p,sortChanged:f,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,seriesWereReinitialized:y,utilsStrings:x,errorStrings:w}=a,S=t.series.values,T=new Map,F=e.series.length,L=Fl(e),$=$s(e),I=_a(d,A?.popupTemplateFieldInfosEnabled),U=Os(d),P=sg(s,xs(U)?void 0:U?.renderer);for(let[Q,Y]of i.entries()){let G=ze([Y]),ee=S[Q],te={numberOfSeries:F,series:ee,seriesConfig:Y,seriesIndex:Q,colorMatch:L,queryObject:d,rendererType:P,options:A,dataWasUpdated:p,fieldList:I,sortChanged:f,utilsStrings:x},le={...te,axes:r,seriesIndexMapper:n},z=ee;if(t instanceof Vt&&Dl(e))z=S.find(K=>K.id===Y.id),ee!==void 0&&(z instanceof wr||z instanceof Pi)&&n2({...te,chart:t,series:z,seriesIndexMapper:n,seriesSymbolMapForEvent:T,chartData:c,showOutliers:e.showOutliers,showMean:e.showMean,outliersVisibilityChanged:h,seriesReordered:l,standardizeValuesVisibilityChanged:u,rotationChanged:o,seriesWereReinitialized:y,options:A});else switch(G){case V.BarSeries:pW({...le,stackedType:$,seriesSymbolMapForEvent:T,rotationChanged:o});break;case V.LineSeries:jH({...le,stackedType:$,seriesSymbolMapForEvent:T,rotationChanged:o});break;case V.PieSeries:TW({...te,chart:t,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,selectionTheme:A?.selectionTheme});break}}m2({chart:t,options:A,dataWasUpdated:p,chartData:c,chartConfig:e,queryObject:d,sortChanged:f,groupOfSlicesWasUpdated:m,errorStrings:w})}function Hw(a){let{chartConfig:t}=a,{chart:e,options:i,globalOptions:r,colorMatchApplied:s,pieSlicesSymbols:n,queryObject:o,utilsStrings:l,errorStrings:h,dataInfo:u}=a,{togglingLegendItemsDisabled:c,cursorRange:d,actionMode:A,pieChartLegendValueLabelFormatter:p,guideTooltipFormatter:f,xAxisLabelFormatter:m,yAxisLabelFormatter:g,secondaryYAxisLabelFormatter:y,gaugeInnerLabelFormatter:x,popupTemplateFieldInfosEnabled:w}=i??{},{data:S,count:T,queryConfig:F,gaugeMinMaxFromData:L={}}=u??{},$,I,U,P=ze(t.series),Q=_a(o,w);ai(e.uid,{fieldList:Q,options:i,elementCount:T,queryConfig:F,timeIntervalInfo:S?.timeIntervalInfo,serverLimitReached:S?.serverLimitReached});let Y=new Map;t.series.forEach(($e,Ye)=>{Y.set($e.id,Ye)});let G=Ln(S);G!==void 0&&(e.data=G);let ee=It(t.series);e instanceof qi&&nn({data:n,htmlContainer:e.htmlContainer,chartId:e.id,colorMatchApplied:s===!0});let{title:te,subtitle:le,footer:z,series:K,background:we}=t;$=tW(e),jv($,{title:te,subtitle:le}),I=iW(e),Wv(I,z),U=RH(e,K),cH(e);let se=xn({config:t});ai(e.uid,{config:t,isRotated:se,isNonAggregatedChart:!sp(ee)}),t.axes!==void 0&&(OW({chart:e,axesConfig:t.axes,chartType:P,isRotated:se,errorStrings:h,queryObject:o}),Nw({chart:e,chartConfig:t,chartType:P,isRotated:se,data:S,queryObject:o,guideTooltipFormatter:f,xAxisLabelFormatter:m,yAxisLabelFormatter:g,secondaryYAxisLabelFormatter:y,gaugeInnerLabelFormatter:x,options:i,utilsStrings:l,errorStrings:h,gaugeMinMaxFromData:L})),Z1({chart:e,chartConfig:t,utilsStrings:l,options:i,queryObject:o,errorStrings:h}),Qw({chart:e,chartConfig:t,seriesIndexMapper:Y,rotationChanged:!1,queryObject:o,chartData:S,groupOfSlicesWasUpdated:!0,pieSlicesSymbols:n,dataWasUpdated:!0,seriesWereReinitialized:!0,options:i,utilsStrings:l,errorStrings:h}),kw({legendElements:U,seriesConfig:K,webChartLegend:t.legend,pieChartLegendValueLabelFormatter:p}),W1(e),eW(e),Hv(e,we),X1({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),JI(e),e1(e,t?.cursorCrosshair),Xv({chart:e,actionMode:A,cursorRange:d});let de=fd(e.htmlContainer??document.documentElement);return e.dateFormatter.intlLocales=de,$W(e,r?.enableResponsiveFeatures),(e instanceof Ks||Uw(e.series))&&Vu(e.htmlContainer),K1(e),$!==void 0&&I!==void 0&&U!==void 0?{headerElements:$,footerElements:I,legendElements:U}:void 0}function q1(a){a.series.each(t=>{t.events.on(Ie.Ready,()=>{Uw(a.series)&&Nv(a)})})}function EW(a){let{chartContainer:t,chartConfig:e,queryObject:i,colorMatchApplied:r,dataInfo:s,t9nStrings:n,options:o,globalOptions:l}=a,{errorStrings:h,utilsStrings:u,amChartsStrings:c}=n,d=of(t,Vt);d.id=e?.id??d.uid,ai(d.uid,{queryObject:i});let{t9nLocale:A}=Iu(d.htmlContainer??document.documentElement),p=fd(d.htmlContainer??document.documentElement),f=Vm(d.htmlContainer??document.documentElement)==="rtl";Vw({chart:d,localeInfo:{locale:A,formatLocale:p,rtl:f},chartLocale:c}),d.events.on(Ie.Inited,()=>d.zoomOutButton.deepInvalidate());let m=ze(e?.series);d instanceof Vt&&m!==V.BoxPlotSeries&&(d.maskBullets=!1);let g=Hw({chartConfig:e,chart:d,queryObject:i,colorMatchApplied:r,options:o,globalOptions:l,utilsStrings:u,errorStrings:h,dataInfo:s});return ai(d.uid,{config:_r(e)}),q1(d),QQ({chart:d,queryObject:i,errorStrings:h}),HQ({chart:d,queryObject:i,errorStrings:h}),{chart:d,chartElements:g}}function MW(a){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,colorMatchApplied:s,pieSlicesSymbols:n,t9nStrings:{errorStrings:o,utilsStrings:l,amChartsStrings:h},options:u,globalOptions:c}=a,d=of(t,qi);d.id=e?.id??d.uid;let A=wx(d.htmlContainer);Vw({chart:d,localeInfo:A,chartLocale:h}),d.radius=he(re.pieChart.chartRadius);let p=Hw({chartConfig:e,chart:d,queryObject:i,colorMatchApplied:s,pieSlicesSymbols:n,dataInfo:r,options:u,globalOptions:c,utilsStrings:l,errorStrings:o});return ai(d.uid,{config:_r(e),filterBySelection:u?.filterBySelection}),PW(d,i,o),{chart:d,chartElements:p}}function RW(a){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,t9nStrings:{errorStrings:s,utilsStrings:n,amChartsStrings:o},options:l,globalOptions:h}=a,u=of(t,Ks);u.id=e?.id??u.uid;let c=wx(u.htmlContainer);Vw({chart:u,localeInfo:c,chartLocale:o}),u.maskBullets=!1;let d=re.gauge,A=Number.isFinite(e?.innerRadius)?e?.innerRadius:d.innerRadius,p=Number.isFinite(e?.startAngle)?e?.startAngle:d.startAngle,f=Number.isFinite(e?.endAngle)?e?.endAngle:d.endAngle;u.radius=he(d.radius),typeof A=="number"&&(u.innerRadius=he(A)),typeof p=="number"&&(u.startAngle=p),typeof f=="number"&&(u.endAngle=f);let m=Hw({chartConfig:e,chart:u,queryObject:i,dataInfo:r,options:l,globalOptions:h,utilsStrings:n,errorStrings:s});return ai(u.uid,{config:_r(e)}),q1(u),t?.ownerDocument.addEventListener("visibilitychange",()=>{let g=t.ownerDocument.hidden;u&&!g&&Tj(e?.axes?.[0])&&(u.svgContainer?.measure(),u.invalidateData())}),{chart:u,chartElements:m}}function UW(a){let{newConfig:t}=a,{chart:e,chartElements:i,dataWasUpdated:r,dataUpdateDetails:s,dataInfo:n,options:o,configWithAllSeries:l,hasSeriesFilteredOut:h,queryObject:u,utilsStrings:c,errorStrings:d}=a,{guideTooltipFormatter:A}=o??{},{gaugeMinMaxFromData:p={}}=n,f=ve(e.uid,"config"),m=f?.series,g=t.series,y=ze(g),x=xn({config:t});ai(e.uid,{config:_r(t),isRotated:x}),ai(e.uid,{filterBySelection:o?.filterBySelection}),Xv({chart:e,actionMode:o?.actionMode,cursorRange:o?.cursorRange});let{xOrYChanged:w,layerChanged:S}=s?.common??{},{numberOfSeriesChanged:T}=s?.common??{},F=Ax(f,t),L=px(f,t),$=RF(f,t),I=UF(f,t),U=JSON.stringify(qA(m))!==JSON.stringify(qA(g)),P=!1,Q=!1;Dl(t)&&Dl(f)&&(P=NF(f,t),Q=QF(f,t));let Y=ip({oldConfig:h?l:f,newConfig:t,dataWasUpdated:r}),G=ax({oldConfig:f,newConfig:t,rotationChanged:L}),ee=V1({chart:e,dualAxisChanged:$,rotationChanged:L,timeIntervalInfoWasReset:F,axisLabelsBehaviorChanged:G}),te=!1,le=Ln(n?.data),z=It(g);if(ai(e.uid,{isNonAggregatedChart:!sp(z)}),r){let{count:Ye,data:We,queryConfig:qe}=n??{};ai(e.uid,{elementCount:Ye,queryConfig:qe,timeIntervalInfo:We?.timeIntervalInfo,serverLimitReached:We?.serverLimitReached})}else if(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries||y===V.BoxPlotSeries){let Ye=Cx(m,g);if(Ye.length>0&&(IN(e.series,Ye),e.feedLegend(),te=!0),_h(g[0])){let{binTemporalData:We}=g[0],{unit:qe,size:Tt}=g[0].temporalBinning??{};We===!1&&qe!==void 0&&Tt!==void 0&&ai(e.uid,{timeIntervalInfo:{unit:qe,size:Tt}})}}let K=Y&&!r,we=new Map;(l??t).series.forEach((Ye,We)=>{we.set(Ye.id,We)}),T=T||h,le&&(r||Y)&&(e.data=le),t.axes!==void 0&&Nw({chart:e,chartConfig:t,rotationChanged:L,timeIntervalInfoWasReset:F,axisLabelsBehaviorChanged:G,chartType:y,isRotated:x,dualAxisChanged:$,guideTooltipFormatter:A,xAxisLabelFormatter:o?.xAxisLabelFormatter,yAxisLabelFormatter:o?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:o?.secondaryYAxisLabelFormatter,queryObject:u,options:o,utilsStrings:c,errorStrings:d,gaugeMinMaxFromData:p});let se=y===V.BoxPlotSeries&&(MF(g,m)||EF(g,m)),de=!1;(e.series===void 0||e.series.length===0||w||S||T||U||(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries)&&e.series.length!==t.series.length||ee||I||se||s?.boxPlot?.showMeanChanged)&&(de=!0,!r&&(L||se||ee)&&e.invalidateData(),Z1({chart:e,chartConfig:t,utilsStrings:c,queryObject:u,options:o,errorStrings:d})),Qw({chart:e,chartConfig:t,seriesIndexMapper:we,rotationChanged:L,seriesReordered:te,outliersVisibilityChanged:P,standardizeValuesVisibilityChanged:Q,queryObject:u,chartData:n.data,options:o,dataWasUpdated:r,sortChanged:Y,seriesWereReinitialized:de,utilsStrings:c,errorStrings:d}),K&&(e.validateData(),y===V.BoxPlotSeries&&e.series.each(Ye=>{Ye instanceof Pi&&!(Ye instanceof Aa)&&Ye.id.includes(ji.Outliers)&&Ye.validateData()})),jv(i.headerElements,{title:t.title,subtitle:t.subtitle}),Wv(i.footerElements,t.footer),kw({legendElements:i.legendElements,seriesConfig:t.series,webChartLegend:t.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled}),Hv(e,t.background),X1({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),e1(e,t?.cursorCrosshair);let $e=AQ(e);($e.behavior===Hi.SelectX||$e.behavior===Hi.SelectXY||$e.behavior===Hi.SelectY||$e.behavior===Hi.None)&&e.scrollbarX.start===0&&e.scrollbarX.end===1&&e.scrollbarY.start===0&&e.scrollbarY.end===1&&Nv(e),K1(e),U1(e.series.values[0])}function VW(a){let{chart:t,chartElements:e,dataWasUpdated:i,newConfig:r,pieSlicesSymbols:s,queryObject:n,options:o,dataInfo:l,utilsStrings:h,errorStrings:u}=a,c=ve(t.uid,"config"),d=c?.series,A=r?.series,p=ip({oldConfig:c,newConfig:r,dataWasUpdated:i}),f=Cw(d,A),{count:m,data:g,queryConfig:y}=l??{},x=Ln(g);ai(t.uid,{filterBySelection:o?.filterBySelection,config:_r(r)});let w=x!==void 0&&(t.data.length!==x.length||GI(t.data,x));w&&(ai(t.uid,{elementCount:m,queryConfig:y}),t.data=x,Vu(t.htmlContainer)),(p||f)&&t.validateData(),nn({data:s,htmlContainer:t.htmlContainer,chartId:t.id,colorMatchApplied:Ev(t,r)}),Qw({chart:t,queryObject:n,chartConfig:r,seriesIndexMapper:new Map,options:o,dataWasUpdated:w,sortChanged:p,chartData:g,groupOfSlicesWasUpdated:f,pieSlicesSymbols:s,seriesWereReinitialized:!1,utilsStrings:h,errorStrings:u}),jv(e.headerElements,{title:r.title,subtitle:r.subtitle}),Wv(e.footerElements,r.footer),kw({legendElements:e.legendElements,seriesConfig:r.series,webChartLegend:r.legend,togglingLegendItemsDisabled:o?.togglingLegendItemsDisabled,pieChartLegendValueLabelFormatter:o?.pieChartLegendValueLabelFormatter}),Hv(t,r.background),Xv({chart:t,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),G1(t),Y1(t)}function NW(a){let{chart:t,chartElements:e,newConfig:i,queryObject:r,dataInfo:s,dataWasUpdated:n,options:o,utilsStrings:l,errorStrings:h}=a,{gaugeMinMaxFromData:u={}}=s??{},{xAxisLabelFormatter:c,gaugeInnerLabelFormatter:d,guideTooltipFormatter:A}=o??{},p=i.series,f=ze(p),m;if(n){let{count:S,data:T,queryConfig:F}=s??{};m=T,m?.dataItems!==void 0&&(t.data=m.dataItems),Vu(t.htmlContainer),ai(t.uid,{elementCount:S,queryConfig:F})}i.axes!==void 0&&Nw({chart:t,chartConfig:i,chartType:f,data:m,queryObject:r,xAxisLabelFormatter:c,gaugeInnerLabelFormatter:d,guideTooltipFormatter:A,options:o,utilsStrings:l,errorStrings:h,gaugeMinMaxFromData:u});let g=re.gauge,y=Number.isFinite(i?.innerRadius)?i.innerRadius:g.innerRadius,x=Number.isFinite(i?.startAngle)?i.startAngle:g.startAngle,w=Number.isFinite(i?.endAngle)?i.endAngle:g.endAngle;t.innerRadius=he(y),t.startAngle=x,t.endAngle=w,jv(e.headerElements,{title:i.title,subtitle:i.subtitle}),Wv(e.footerElements,i.footer),Hv(t,i.background),ai(t.uid,{config:_r(i)})}function QW(a){let{chartContainer:t,chartConfig:e,colorMatchApplied:i,pieSlicesSymbols:r,queryObject:s,dataInfo:n,t9nStrings:o,options:l,globalOptions:h}=a;it.commercialLicense=!(h?.showLicenseWatermark??h?.hideLicenseWatermark===!1),it.queue=h?.queueChartCreation!==!1,it.autoDispose=h?.autoDisposeChart===!0,h?.animationEnabled?P_(Fy):D_(Fy);let u;switch(ze(e?.series)){case V.PieSeries:io(s),u=MW({chartContainer:t,chartConfig:e,queryObject:s,dataInfo:n,colorMatchApplied:i,pieSlicesSymbols:r,options:l,globalOptions:h,t9nStrings:o});break;case V.GaugeSeries:io(s),u=RW({chartContainer:t,chartConfig:e,queryObject:s,dataInfo:n,options:l,globalOptions:h,t9nStrings:o});break;default:u=EW({chartContainer:t,chartConfig:e,dataInfo:n,colorMatchApplied:i,queryObject:s,options:l,globalOptions:h,t9nStrings:o});break}return u}function HW(a){let{chartContainer:t,chartConfig:e,t9nStrings:i,queryObject:r,options:s,colorMatchApplied:n,rendererFieldNames:o,pieSlicesSymbols:l,globalOptions:h,dataInfo:u,uniqueInternalID:c}=a,{errorStrings:d}=i,A=!lI(t),p=QW({chartContainer:t,chartConfig:e,dataInfo:u,colorMatchApplied:n,pieSlicesSymbols:l,queryObject:r,t9nStrings:i,options:s,globalOptions:h}),{chart:f,chartElements:m}=p;ai(f.uid,{chartWasCreatedWhileHidden:A,queryObject:r,filterBySelection:s?.filterBySelection,options:s,colorMatchApplied:n,rendererFieldNames:o}),kW(f,d),LW(f,t);function g(){c&&qF.delete(c),f.isDisposed()||(SQ(f),m!==void 0&&(p.chartElements=void 0),f.dispose())}function y(T){let{chartConfig:F,dataWasUpdated:L,dataUpdateDetails:$,queryObject:I,options:U,t9nStrings:{utilsStrings:P},configWithAllSeries:Q,hasSeriesFilteredOut:Y,pieSlicesSymbols:G,dataInfo:ee}=T,te=ve(f.uid,"config"),le=F?.series,z=le!==void 0?ze(le):void 0;if(f.isDisposed()||m===void 0||!vx(te,F))throw new Tl(Ad.ChartDisposed);switch(z){case V.BoxPlotSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:f instanceof Vt&&UW({chart:f,chartElements:m,queryObject:I,dataWasUpdated:L,dataUpdateDetails:$,dataInfo:ee,newConfig:F,configWithAllSeries:Q,hasSeriesFilteredOut:Y,options:U,utilsStrings:P,errorStrings:d});break;case V.PieSeries:io(I),VW({chart:f,chartElements:m,queryObject:I,dataWasUpdated:L,dataInfo:ee,newConfig:F,pieSlicesSymbols:G,options:U,utilsStrings:P,errorStrings:d});break;case V.GaugeSeries:io(I),NW({chart:f,chartElements:m,newConfig:F,queryObject:I,dataWasUpdated:L,dataInfo:ee,options:U,utilsStrings:P,errorStrings:d});break}}function x(T){let{chartConfig:F,options:L,dataWasUpdated:$,dataUpdateDetails:I,configWithAllSeries:U,hasSeriesFilteredOut:P,pieSlicesSymbols:Q,colorMatchApplied:Y,rendererFieldNames:G,globalOptions:ee,t9nStrings:te,queryObject:le,dataInfo:z}=T,K=!lI(t),we=_a(le,L?.popupTemplateFieldInfosEnabled);ai(f.uid,{chartWasUpdatedWhileHidden:K,options:L,fieldList:we,queryObject:le,colorMatchApplied:Y,rendererFieldNames:G}),y({chartConfig:F,options:L,dataWasUpdated:$,dataUpdateDetails:I,pieSlicesSymbols:Q,t9nStrings:te,configWithAllSeries:U,hasSeriesFilteredOut:P,queryObject:le,dataInfo:z})}async function w(T,F){if(wn(f)&&(f instanceof Vt||f instanceof qi)){let L=ve(f.uid,"actionMode");L!==Ut.MonoSelection&&L!==Ut.None&&await jQ({chart:f,queryObject:T,errorStrings:F})}}function S(){Nv(f)}return{update:x,dispose:g,resetZoom:S,clearSelection:()=>BA({chart:f}),switchSelection:async T=>await w(T,i.errorStrings),exportImage:async T=>await FQ({chart:f,exportOptions:T}),setActionMode:(T,F)=>Xv({chart:f,actionMode:T,cursorRange:F})}}var jW="AM5C241025748",Ji={SelectEnded:"selectended",DataValidated:"datavalidated",BoundsChanged:"boundschanged",PointerUp:"pointerup",FrameEnded:"frameended",Click:"click"},dw=new Map;function WW(a,t){return Kc(a,t)}function XW(a,t){Yc(a,t)}function Yc(a,t){let e=dw.get(a)??{};dw.set(a,{...e,...t})}function Kc(a,t){return dw.get(a)?.[t]}function fe(a,t){return Kc(a,t)}function Gr(a,t){Yc(a,t)}function Qt(a,t){return Kc(a,t)}function Kr(a,t){Yc(a,t)}function vu(a,t){return Kc(a,t)}function SA(a,t){Yc(a,t)}function yl(a,t){return Kc(a,t)}function zW(a,t){Yc(a,t)}function ka(a,t){return Kc(a,t)}function jw(a,t){Yc(a,t)}function GW(a,t){return Kc(a,t)}function YW(a,t){Yc(a,t)}function KW(a){let{chartSeries:t,oldSeries:e,newSeries:i}=a,r=Cx(e,i);for(let s=0;s<r.length;s+=1){let n=r[s][0],o=r[s][1],l=t.length;n>=0&&n<l&&o>=0&&o<l&&t.swap(r[s][0],r[s][1])}}function ZW(a){return a.get("renderer")instanceof ya?xr.yField:xr.xField}function qW(a){let t="";return a instanceof ga?t=a.get("categoryXField")??a.get("valueXField")??"":a instanceof Vr&&(t=a.get("categoryField")??""),t}function JW(a){let t="";return a instanceof ga?t=a.get("categoryYField")??a.get("valueYField")??"":a instanceof Vr&&(t=a.get("categoryField")??""),t}function Gf(a){let t="",{chart:e}=a;return e!==void 0&&(t=fe(e.uid,"isRotated")===!0?qW(a):JW(a)),t}function Ww(a){return a!=null&&!a.isDisposed()}function e4(a){let t;if(a!=null){let e=a;if(e instanceof zr)t=e.chart;else{let i=e.dataItem?.component;i instanceof zr&&(t=i.chart)}}return t}function J1(a){let t;if(a){let e=a.get("background")?.get("fill");if(e){let{r:i,g:r,b:s}=e;t=[Math.round(i),Math.round(r),Math.round(s),255]}}return t}function ek(a){let t=Js(a),{r:e,g:i,b:r}=t;return{r:e,g:i,b:r}}function t4(a,t){t&&a.setThemes([QL.new(a)])}function i4(a,t){t===!0&&a.setThemes([NL.new(a)])}function zt(a){let t=Js("#000000"),e=cd;if(a!=null){let[i,r,s,n]=a;e=n/255,t=Js(`rgba(${i}, ${r}, ${s}, ${e})`)}return{color:t,opacity:e}}function xi(a,t){t===!1&&(!("isHiding"in a)||!a.isHiding())?(a.set("visible",!1),"hide"in a&&a.hide()):t!==!1&&(!("isShowing"in a)||!a.isShowing())&&(a.set("visible",!0),"show"in a&&a.show())}function Ii(a){let{childId:t,parent:e,useChildId:i}=a,r=i?t:Hs(t,e.uid);return e.children.values.find(s=>s.get("id")===r)}function Hs(a,t){return`${a}${t}`}function bu(a,t=100){return setTimeout(()=>a(),t)}function tk(a){let{series:t,chartConfig:e,whenReadyCallback:i}=a,r=ze(e.series);if(t){let s=t.root.events.on(Ji.FrameEnded,()=>{let n=!1,o=!1;switch(!0){case t instanceof Li:n=t.columns.length===t.dataItems.length;break;case(!(t instanceof Bo)&&t instanceof qt):let l=Qt(t.uid,"bulletTemplate");if(l)if(r===V.ScatterSeries)n=l.entities.length===t.data.length&&t.dataItems[t.dataItems.length-1]?.bullets?.[0]?.get("sprite")!==void 0;else{o=!0;let h=Gf(t)??"",u=e?.series[0]?.x??"";n=t.dataItems.filter(c=>{let d=c.dataContext;return h in d&&u in d&&d[u]!==void 0}).every(c=>!Number.isFinite(c.dataContext[h])||c?.bullets?.[0]?.get("sprite"))}break;default:n=!0;break}n&&(s.dispose(),i(),o&&t.markDirtySize())})}}function ik(a){let{chart:t,chartConfig:e,delayCallback:i}=a,{root:r}=t;if(ze(e.series)===V.GaugeSeries||!i)Vu(r.dom);else if(t instanceof ms&&i){let s=()=>{r.events.once(Ji.FrameEnded,()=>{Vu(r.dom)})};tk({series:t.series.getIndex(0),chartConfig:e,whenReadyCallback:s})}}function hI(a){let t=Number.NaN;if(typeof a=="number")t=a;else if(a.includes("%")){let e=Number.parseFloat(a.trim().replace("%","").trim());Number.isFinite(e)&&(t=Bt(e))}return t}function r4(a,t){return t!==!0||a?.includes("Dot")===!0?"round":"square"}function s4(a,t){let e=a??us.Solid,i=t??Z.lineWidth,r={[us.Solid]:[],[us.Dot]:[1,i],[us.DashDotDot]:[4*i,i,1,i,1,i],[us.Dash]:[4*i,3*i],[us.DashDot]:[4*i,3*i,1,3*i],[us.Null]:[]};return r[e]??r[us.Null]}function a4(a){let{root:t,fill:e,rotation:i,isLinePattern:r,chartBackgroundFill:s}=a,n;if(r!==!1){let{tileSize:o,diagonalTileSize:l}=Z.patternLineProperties,h=i===45||i===135,u=h?l:o;n=Jl.new(t,{width:u,height:u,strokeWidth:Z.patternLineProperties.strokeWidth??1,gap:6,color:e,...h?{angle:i}:{rotation:i??Number.NaN},...s!==void 0&&{fill:s,fillOpacity:1}})}else{let o=s!==void 0?1:Z.patternRectProperties.fillOpacity??Number.NaN;n=su.new(t,{width:Z.patternRectProperties.width??Number.NaN,height:Z.patternRectProperties.height??Number.NaN,strokeWidth:Z.patternRectProperties.strokeWidth??Number.NaN,fillOpacity:o,color:s??e,fill:e,gap:1,maxWidth:Z.patternRectProperties.rectWidth??Number.NaN,maxHeight:Z.patternRectProperties.rectHeight??Number.NaN,rotation:i??Number.NaN})}return n}function n4(a){let{fill:t,root:e,style:i,chartBackgroundFill:r}=a,s,n,o=!0;switch(i){case bs.Horizontal:{n=0;break}case bs.Vertical:{n=90;break}case bs.ForwardDiagonal:{n=135;break}case bs.BackwardDiagonal:{n=45;break}case bs.Cross:{n=0,o=!1;break}case bs.DiagonalCross:{n=135,o=!1;break}case bs.Solid:}return n!==void 0&&e!==void 0&&(s=a4({root:e,fill:t,rotation:n,isLinePattern:o,chartBackgroundFill:r})),s}function rk(a,t=0){return(a??t)%360}function sk(a,t){let e={stroke:zt().color,strokeWidth:Z.lineWidth,strokeDasharray:[],linecap:t!==!0?"round":"square",strokeOpacity:cd};if(a!=null){let i=zt(a.color);e.stroke=i.color,e.strokeOpacity=i.opacity,a.width!==void 0&&(e.strokeWidth=a.width,e.strokeOpacity=a.width===0?0:i.opacity),a.style!==void 0&&a.style!==us.Null&&(e.strokeDasharray=s4(a.style,e.strokeWidth),e.linecap=r4(a.style,t))}return e}function ak(a,t){let e=a,[i,r,s,n]=a?.color??t??Z.color,o=[i,r,s,n];return e==null?e={type:Rt.SLS,color:o}:e.color===void 0&&(e.color=o),sk(e,!1)}function o4(a,t,e){let{color:i,outline:r,style:s}=a,n=zt(i),o=nx(s),l;return e!==void 0?l=zt(e).color:o&&(l=zt(Z.backgroundColor).color),{pattern:n4({root:t,fill:n.color,style:s,chartBackgroundFill:l}),fill:n.color,outline:ak(r,i),fillOpacity:n.opacity}}function l4(a){let{color:t,style:e,size:i,outline:r,xoffset:s,yoffset:n,angle:o}=a,l=rk(o),h=zt(t),u=r,c=e!==KA.Cross&&e!==KA.X&&i!==void 0&&i<Z.lineSeries.marker.markerSizeThresholdForTooltipDisplay&&(r?.width===void 0||r.width===0),d=i;return c&&(u={type:Rt.SLS,style:r?.style??us.Solid,color:[0,0,0,0],width:Z.lineSeries.marker.markerSizeThresholdForTooltipDisplay-i},d=i+1),{path:e!==void 0?ox(e,d):"",fill:h.color,outline:ak(u,t),xOffset:s??0,yOffset:n??0,angle:l,fillOpacity:h.opacity}}function h4(a){let t;switch(a){case"line-through":case"underline":t=a;break}return t}function u4(a){return a===!0?"wrap":"none"}function nk(a,t){let e=He;switch(a??t){case"right":e=ge;break;case"left":e=jr;break}return e}function ok(a,t){let e=He;switch(a??t){case"top":e=jr;break;case"bottom":e=ge;break}return e}function c4(a){let{angle:t,mappedHAlignment:e,mappedVAlignment:i,isGuideLabel:r}=a,s=e,n=i,o=e,l=i;return(Math.abs(t)===270||Math.abs(t)===90)&&(r||(o=void 0,n=void 0),l===jr?s=ge:l===ge?s=jr:l===He&&(s=He)),{align:s,valign:n,horizontalCenter:o,verticalCenter:l}}function Xw(a){let{root:t,symbol:e,defaultToColorFromRamp:i,colorRampIndex:r,isChartFillSymbol:s=!1,chartBackgroundColor:n}=a,o;if(i===!0){let l=s?Hm:cd;if(e.color=e.color??vh({colorIndex:r,opacity:l}),gd(e)||op(e)){let{outline:h}=e;h!==void 0&&(h.color=h?.color??vh({colorIndex:r}),e.outline={...h})}}return Dx(e)?o=sk(e,!0):op(e)?(e.style??=Z.lineSeries.marker.markerStyle,e.size??=Z.lineSeries.marker.markerBigSize,o=l4(e)):gd(e)&&(o=o4(e,t,n)),o}function d4(a){let{root:t,input:e,isGuideLabel:i,defaults:r}=a,s=rk(e.angle,r?.rotation),n=nk(e.horizontalAlignment,r?.horizontalCenter),o=ok(e.verticalAlignment,r?.verticalCenter),{align:l,valign:h,horizontalCenter:u,verticalCenter:c}=c4({angle:s,mappedHAlignment:n,mappedVAlignment:o,isGuideLabel:i}),d=e.rightToLeft??(t?.dom?Vm(t.dom)==="rtl":!1);return{fill:zt(e.color).color,fontFamily:e.font?.family??"Arial, Helvetica, sans-serif",fontSize:e.font?.size??Z.generalFontSize,fontWeight:e.font?.weight??"400",textDecoration:h4(e.font?.decoration),align:l,valign:h,verticalCenter:c,horizontalCenter:u,text:xa({textSymbol:e,format:"amChartsV5"}),angle:s,xOffset:e.xoffset??r?.dx??0,yOffset:e.yoffset??r?.dy??0,backgroundFill:zt(e.backgroundColor).color,borderFill:zt(e.borderLineColor).color,borderWidth:e.borderLineSize??1,haloColor:zt(e.haloColor).color,rtl:d?"rtl":"ltr",wrap:u4(r?.wrap),maxWidth:r?.maxWidth??Number.NaN}}function lk(a,t){t!==void 0&&(t.marginBottom!==void 0&&a.set("marginBottom",t.marginBottom),t.marginTop!==void 0&&a.set("marginTop",t.marginTop),t.marginRight!==void 0&&a.set("marginRight",t.marginRight),t.marginLeft!==void 0&&a.set("marginLeft",t.marginLeft),t.verticalCenter!==void 0&&a.set("y",ok(t.verticalCenter)),t.horizontalCenter!==void 0&&a.set("x",nk(t.horizontalCenter)),t.strokeWidth!==void 0&&a.get("background")?.set("strokeWidth",t.strokeWidth),t.paddingBottom!==void 0&&a.set("paddingBottom",t.paddingBottom),t.paddingTop!==void 0&&a.set("paddingTop",t.paddingTop),t.paddingLeft!==void 0&&a.set("paddingLeft",t.paddingLeft),t.paddingRight!==void 0&&a.set("paddingRight",t.paddingRight),t.maxWidth!==void 0&&a.set("maxWidth",t.maxWidth))}function bA(a){let{root:t,parent:e,defaults:i,index:r,id:s}=a,n=Kt.new(t,{text:"",textAlign:"center",background:or.new(t,{}),paddingBottom:0,paddingTop:0,paddingLeft:0,paddingRight:0});return s!==void 0&&n.set("id",s),lk(n,i),e!==void 0&&e.children.insertIndex(r??e.children.length,n),n}function uI(a){let{label:t,offset:e,offsetProperty:i}=a;t.adapters.remove(i),(t instanceof Kt?[t]:t.entities).forEach(r=>{if(typeof e=="string"&&!Number.isFinite(Number(e))){let s=rp(e);typeof s=="number"&&(s/=100,r.adapters.add(i,()=>(i==="dx"?r.width():r.height())*(s??0)))}else{let s=Number(e);Number.isFinite(s)&&r.set(i,s)}})}function Cn(a){let{label:t,labelConfig:e,defaults:i,skipSettingText:r,skipSettingXAndY:s}=a,n=t instanceof Kt?t.root:t.entities[0]?.root,o=e?.visible??!0;if(t!==void 0&&!t.isDisposed()&&e!==void 0){let l=t instanceof Kt&&ka(t.uid,"isGuide"),h=d4({root:n,input:e.content,isGuideLabel:l,defaults:i});t.setAll({fill:h.fill,fontFamily:h.fontFamily,fontWeight:h.fontWeight,fontSize:h.fontSize,textDecoration:h.textDecoration,rotation:h.angle,direction:h.rtl,oversizedBehavior:h.wrap,maxWidth:h.maxWidth}),r||t.setAll({text:h.text}),s||(uI({label:t,offset:h.xOffset,offsetProperty:"dx"}),uI({label:t,offset:h.yOffset,offsetProperty:"dy"}),t.setAll({centerX:h.align,centerY:h.valign,x:h.horizontalCenter,y:h.verticalCenter})),t.get("background")?.setAll({strokeWidth:h.borderWidth,strokeOpacity:1}),t.set("visible",o),t instanceof Kt?xi(t,o):t.entities.forEach(u=>{xi(u,o)})}}function gl(a){let{chart:t,label:e,labelType:i}=a,{legendTitle:r}=Z.legendProperties,s=fe(t.uid,"config"),n=r.maxWidth??Number.NaN;switch(i){case Xt.GuideLabel:if(t instanceof bi){let o=e.get("rotation");o===90||o===270?n=t.seriesContainer.height():n=t.seriesContainer.width()}break;case Xt.XAxisTitle:t instanceof bi&&(n=t.seriesContainer.width());break;case Xt.YAxisTitle:t instanceof bi&&(n=t.seriesContainer.height());break;case Xt.ChartTitle:case Xt.ChartSubTitle:case Xt.ChartFooter:n=t.chartContainer.width()-20;break;case Xt.LegendTitle:s?.legend?.position!==void 0&&(s?.legend?.position===st.Top||s?.legend?.position===st.Bottom)&&(n=t.chartContainer.width()-20);break}if(n>0)if(i===Xt.YAxisTitle){let o=Number(e.get("fontSize"))||Z.generalFontSize,l=o*2.4,h=Math.max(1,Math.floor(n/Math.max(o*.5,1)));e.adapters.remove("text"),e.adapters.add("text",u=>zF({input:u??"",charsPerLine:h})),e.setAll({maxHeight:Math.min(n,l),maxWidth:n,breakWords:!1,oversizedBehavior:"none"})}else e.setAll({maxWidth:n,oversizedBehavior:"wrap"})}function Hc(a){let{chart:t}=a;gl(a),t.events.onDebounced(Ji.BoundsChanged,()=>gl(a),Z.debounceTime)}function Pv(a,t){let e=t.get("axisFill"),i=t.get("label");if(e!==void 0&&i!==void 0){let r=ka(i.uid,"guideLabelConfig"),s=a.get("renderer")instanceof ns,n=Math.round(e.width()),o=Math.round(e.height()),l=Math.round(i.height()),h=Math.round(i.width()),{horizontalAlignment:u,verticalAlignment:c}=r??{},d=0,A=0;if(s){let p=n!==0;switch(u){case"left":p?d=-h/2:d=-h;break;case"right":p?d=h/2:d=h;break;case"center":case"justify":break;default:p||(d=h/2);break}switch(c){case"bottom":p?A=-l:A=-l/2;break;case"middle":A=-o/2;break;default:A=-o+l/2;break}}else{let p=o!==0;switch(u){case"center":d=n/2;break;case"left":d=h/2;break;default:d=n-h/2;break}switch(c){case"bottom":p?A=o/2:A=l;break;case"top":p?A=-o/2+l/2:A=-l;break;default:p||(A=-l/2);break}}i.setAll({dx:d,dy:A})}}function A4(a){let{axis:t,guide:e,label:i}=a,{chart:r}=t;if(r){let s=t.get("renderer")instanceof ns?r.yAxes.getIndex(0):r.xAxes.getIndex(0);s&&(s.events.onDebounced(Ji.BoundsChanged,()=>Pv(t,e),Z.debounceTime),t.events.onDebounced(Ji.BoundsChanged,()=>Pv(t,e),Z.debounceTime))}i.setAll({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}function p4(a){let{guide:t,axis:e,guideLabelConfig:i}=a,r=t.get("label");if(r!==void 0){lk(r),jw(r.uid,{isGuide:!0,guideLabelConfig:i});let{chart:s}=e;s!==void 0&&Hc({chart:s,label:r,labelType:Xt.GuideLabel}),A4({axis:e,guide:t,label:r})}}function f4(a){let{axis:t,guide:e,guideConfig:i,guideType:r}=a,s=e?.get("label");if(s!==void 0)if(i.label!==void 0){let n=t.get("renderer")instanceof ns,o;t instanceof Ns||(n?r===Rt.SFS?o=Z.verticalSurfaceGuideLabels:o=Z.verticalLineGuideLabels:r===Rt.SFS?o=Z.horizontalSurfaceGuideLabels:o=Z.horizontalLineGuideLabels),jw(s.uid,{guideLabelConfig:i.label});let l={type:V.Text,visible:i.visible,content:{...i.label,verticalAlignment:"middle",horizontalAlignment:"center",rightToLeft:s.get("direction")==="rtl"}};Cn({label:s,labelConfig:l,defaults:o});let h=i.label?.text;typeof h=="string"&&/<\/?[a-z][\s\S]*>/iu.test(h)&&(s.set("html",Er(h)),s.set("text","")),s.events.once(Ji.BoundsChanged,()=>{Pv(t,e)}),Pv(t,e)}else xi(s,!1)}function m4(a){let t=a.dataItem?.component;t instanceof qt?(t.uid!==void 0?Qt(t.uid,"bulletTemplate"):void 0)?.adapters?.remove?.("fill"):t instanceof Li?t.columns?.template?.adapters?.remove?.("fill"):t instanceof Vr&&t.slices?.template?.adapters?.remove?.("fill")}function hk(a){let{element:t,fill:e,fillOpacity:i,pattern:r,chartBackgroundFill:s}=a,n=t.get("tooltip"),o=!0,l=t;if(r!==void 0){n!==void 0&&(o=!1,n.get("background")?.set("fill",e)),l.set("fillPattern",r);let h=s??e;l.set("fill",h),l.set("fillOpacity",1),m4(l)}else l.set("fill",e),l.remove("fillPattern"),l.set("fillOpacity",i);n!==void 0&&n.set("getFillFromSprite",o)}function Dv(a,t){a.setAll({stroke:t.stroke,strokeDasharray:t.strokeDasharray,strokeOpacity:t.strokeOpacity,strokeWidth:t.strokeWidth,lineCap:t.linecap})}function uk(a){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return t!==void 0&&e!==void 0&&(n=Xw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(t.setAll({svgPath:n.path,rotation:n.angle,dx:n.xOffset,dy:n.yOffset}),hk({element:t,fill:n.fill,fillOpacity:n.fillOpacity}),Dv(t,n.outline)),xi(t,i)),n}function xu(a){let{root:t,element:e,fillSymbol:i,visible:r,defaultToColorFromRamp:s,colorRampIndex:n,isChartFillSymbol:o,keepCurrentVisibility:l,chartBackgroundColor:h}=a,u=nx(i?.style),c=e4(e),d=h??(u?J1(c)??[...Z.backgroundColor]:void 0),A;if(e!==void 0&&!e.isDisposed()){if(i!==void 0&&(A=Xw({root:t,symbol:i,defaultToColorFromRamp:s,colorRampIndex:n,isChartFillSymbol:o,chartBackgroundColor:d}),A!==void 0)){let p=d!==void 0?zt(d).color:void 0;hk({element:e,fill:A.fill,fillOpacity:A.fillOpacity,pattern:A.pattern,chartBackgroundFill:p}),Dv(e,A.outline)}l||xi(e,r)}return A}function Fo(a){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:s}=a,n;return t!==void 0&&!t.isDisposed()&&(e!==void 0&&(n=Xw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:s}),n!==void 0&&(Dv(t,n),t instanceof qt&&Dv(t.strokes.template,n))),xi(t,i)),n}function Ja(a){let{root:t,element:e,seriesIndex:i,seriesSymbol:r,isChartFillSymbol:s,colorMatch:n,rendererSymbol:o,keepCurrentVisibility:l,visible:h}=a,u,c;n&&o!==void 0&&(u=yx({rendererSymbol:o,seriesSymbol:r,colorIndex:i}));let d={root:t,element:e,defaultToColorFromRamp:!0,colorRampIndex:i},A=u??{...r};switch(r.type){case Rt.SLS:c=Fo({...d,lineSymbol:A,visible:h});break;case Rt.SFS:c=xu({...d,fillSymbol:A,isChartFillSymbol:s,keepCurrentVisibility:l});break;case Rt.SMS:c=uk({...d,markerSymbol:A});break}return{symbolWithColorInfo:A,stylingInfo:c}}function cI(a,t){if(t!==void 0){let{elementColor:e,elementOutlineColor:i,elementOutlineWidth:r,rotation:s,transformation:n}=t,{opacity:o,scale:l}=n??{};e!==void 0&&a.setAll({fill:zt(e).color,fillOpacity:1}),i!==void 0&&a.setAll({stroke:zt(i).color,strokeOpacity:1}),r!==void 0&&a.setAll({strokeWidth:r}),s!==void 0&&a.setAll({rotation:s}),l!==void 0&&a.setAll({scale:l}),o!==void 0&&a.setAll({fillOpacity:o,strokeOpacity:o})}}function qn(a){let{root:t,type:e,intlOptions:i,formatLocale:r}=a,s;switch(e){case V.NumberAxisFormat:{s=Jh.new(t,{}),s.set("intlLocales",r),s.set("numberFormat",i);break}case V.DateAxisFormat:{s=Pc.new(t,{}),s.set("intlLocales",r);break}}return s}function g4(a,t,e){let i=t-a,r=[];if(i!==0){if(e===1)r=[a];else if(e>1){let s=i/(e-1);r=[...eT(a,t,s),t]}}return r}function y4({x:a,mean:t,stddev:e,scalingFactor:i}){let r=-1/(2*e**2);return(i??1)*Math.exp(r*(a-t)**2)}function v4(a){let t=0;if(a.length>0)for(let e=0;e<a.length;e+=1)a[e].count>t&&(t=a[e].count);return t}function ck(a){let t=!1,e;if(a.target.dataItem?.component instanceof zr?{chart:e}=a.target.dataItem.component:(a.target instanceof Yn||a.target instanceof Al)&&({chart:e}=a.target),e instanceof bi||e instanceof Vs){let i=fe(e.uid,"actionMode");if(i!==void 0){let{originalEvent:r}=a;t=i===Ut.MultiSelection||i===Ut.MultiSelectionWithCtrlKey&&("ctrlKey"in r&&r.ctrlKey||"metaKey"in r&&r.metaKey)}}return t}function ra(a){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,backToDefaultState:s}=a,n=!1;if(t!==void 0){let o=yl(t.uid,"selected")??!1;n=o,i!==!0?r===!0?n=o?!1:o!==e:n=e:n=o!==e;let l=s===!0?ia.Default:ia.CustomInactive;t.states.apply(ia.Default),t.states.apply(n?ia.CustomActive:l),n!==o&&(zW(t.uid,{selected:n}),n&&(t.toFront(),t.dataItem?.component instanceof zr&&t.dataItem.component.toFront()))}return n}function b4(a,t){let e=fe(t.chart?.uid??Number.NaN,"actionMode"),i=ck(a);return e===Ut.MonoSelection||e===Ut.MultiSelectionWithCtrlKey&&!i}function os(a,t){let{selectedElementsTheme:e,nonSelectedElementsTheme:i}=t??Z.selectionTheme??{},r=a.states.create(ia.CustomActive,{}),s=a.states.create(ia.CustomInactive,{});cI(r,e),cI(s,i)}function xA(a){let{value:t,valueFormat:e,formatLocale:i,root:r}=a,s=t?.toString(),n=qn({type:e.type,intlOptions:e.intlOptions,formatLocale:i,root:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?s=n.format(t,$o(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(s=n.format(t,$o(e))),s}async function x4(a){let{root:t,exportOptions:e}=a,{format:i,quality:r=1,...s}=e,n=r<0||r>1?1:r,o=await cu.new(t,{}).exportImage(i,{quality:n,...s}),l=n1(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function gA(a,t){if(a!==void 0&&t!==void 0&&(a.states.lookup("default")?.setAll({fill:t.fill,fillOpacity:t.fillOpacity}),t.outline!==void 0)){let{outline:e}=t;a.states.lookup("default")?.setAll({stroke:e.stroke,strokeOpacity:e.strokeOpacity,strokeDasharray:e.strokeDasharray,lineCap:e.linecap,strokeWidth:e.strokeWidth})}}function dk(a){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i,externalDataLabelFormatter:r}=a;return(s,n)=>{let o=i===Oi.Stacked100&&n!==void 0?n:s;return t.get("numberFormat").style==="percent"&&(o/=100),xa({textSymbol:{...e,text:t.format(o)},format:r===void 0?"amChartsV5":"html"})}}function _4(a,t){let e=a.dataItem,i;switch(t){case V.LineSeries:case V.ScatterSeries:i=e.get("point");break;case V.HistogramSeries:case V.BarSeries:case V.HeatSeries:i=e.get("graphics");break}let r=i??a,s=i?.x??r?.get("x")??0,n=i?.y??r?.get("y")??0;return{x:s,y:n}}function Ak(a){let{label:t,chart:e,seriesType:i}=a,r=n=>{if(e instanceof bi){let o=_4(n,i),l=e.plotContainer,h=l.x(),u=l.y(),c=o.x<h||o.x>h+l.width()||o.y<u||o.y>u+l.height();n.setAll({visible:!c,forceHidden:c})}},s=ks((n,o)=>{o&&r(o)},Z.debounceTime);t.on("x",s),t.on("y",s)}function C4(a){let{series:t,label:e,isHeatChart:i}=a;e.adapters.add("y",(r,s)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=s.dataItem;if(h!==void 0&&l!==void 0&&l!==null){let u=h?.get("valueY"),c=s.localBounds().bottom;if(o!==!0){let d=Z.dataLabelNegative?.paddingTop??0;if(t.get("stacked")||i)if(u<0)l+=c-d;else{let A=i?Z.heatChartLabelPadding.paddingTop:0;l+=c/2+A}}else{let d=Z.rotatedChartPadding?.paddingTop??0;l+=c/2+d}}return l}),e.adapters.add("x",(r,s)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=s.dataItem;if(h!==void 0&&l!==void 0&&l!==null&&o===!0){let u=h?.get("valueX"),c=s.width()/2,d=Z.rotatedChartPadding?.paddingRight??0,A=c+d;t.get("stacked")||(u<0?l-=A:l+=A)}return l})}function w4(a){let{series:t,externalDataLabelFormatter:e}=a;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config"),r=i?.series?.find(h=>h.id===t.get("id"))?.dataLabels??a.dataLabelsConfig,s=cs(i),n=t.get("stacked"),o=fa.new(t.root,{locationY:!n&&!s?1:void 0,locationX:!n&&s?1:void 0,sprite:Kt.new(t.root,{text:s?"{valueX}":"{valueY}",populateText:!0,centerY:ge,centerX:jr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:zt(r?.content.color).color,fontSize:r?.content.font?.size})}),l=o.get("sprite");if(l){let h=l;fk({dataLabel:h,series:t,externalDataLabelFormatter:e}),mk({...a,dataLabelsConfig:r,dataLabel:h,dataLabelFormatter:dk})}return o})}function zw(a,t=1){a.bullets.removeIndex(t)}function pk(a){let{textBackgroundColor:t,chartBackgroundColor:e,fillOpacity:i}=a,r;return ep({r:t.r,g:t.g,b:t.b,a:i})?r=ep({r:e.r,g:e.g,b:e.b,a:i})?zt(fF).color:e:r=ep({r:e.r,g:e.g,b:e.b,a:i})?e:zt(pF).color,r}function B4(a){let{dataLabel:t,labelConfigColor:e,seriesColor:i,backgroundColor:r,autoInverseDataLabelTextColor:s,isHeatChart:n}=a,o=r??zt(Z.backgroundColor).color;s===!0&&i&&t.adapters.add("fill",(l,h,u)=>{let c=e??h.text.get("fill"),d=(h.dataItem?.component).get("stacked"),A=c;if(c&&(d||n)){let p=h.dataItem.get("graphics"),f=p?.get("fillOpacity");A=pk({textBackgroundColor:p?.get("fill")??i,chartBackgroundColor:o,fillOpacity:f})}return A})}function fk(a){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=a;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Qf({label:t,labelOutputProp:r}),t.adapters.add(r,(s,n)=>{let o=s??"",l=n.dataItem,h=Qt(e.uid,e instanceof Li?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(h!==void 0&&e.chart&&l){let u=fe(e.chart.uid,"config"),c=cs(u),d=c?l.get("valueX"):l.get("valueY"),A=c?l.get("valueXTotalPercent"):l.get("valueYTotalPercent");o=h($s(u)===Oi.Stacked100?A:d)}return r==="html"?Er(o):o})}function Qf(a){let{label:t,labelOutputProp:e}=a,i=t;e==="html"?i.set("html",Z.htmlEmptyContent):i.set("html",void 0)}function zv(a){let{series:t,seriesConfig:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:s,isRotated:n,seriesType:o,defaultDataLabelFormatter:l,externalDataLabelFormatter:h}=a;if(i!==void 0){let{chart:u}=t,c=h,d=s?.content??{type:Rt.TS},A=u?fe(u.uid,"config"):void 0;if(u&&h===void 0&&l!==void 0&&A?.axes?.[1]?.valueFormat?.type===V.NumberAxisFormat){let y=fe(u.uid,"formatLocale"),x=o===V.HeatSeries?{type:V.NumberAxisFormat,intlOptions:{}}:A?.axes?.[1]?.valueFormat,w=$s(A),S=w===Oi.Stacked100?{...zm().intlOptions,...x.intlOptions,style:"percent"}:{...x.intlOptions},T=qn({root:u.root,type:x.type,formatLocale:y,intlOptions:S});c=l({numberFormatter:T,dataLabelsConfigContent:d,stackedType:w,externalDataLabelFormatter:h})}let p;switch(o){case V.BarSeries:p="barSeriesDataLabelFormatter";break;case V.LineSeries:p="lineSeriesDataLabelFormatter";break;case V.HistogramSeries:p="histogramDataLabelFormatter";break;case V.ScatterSeries:p="scatterplotDataLabelFormatter";break;case V.HeatSeries:p="heatChartDataLabelFormatter";break}p!==void 0&&Kr(t.uid,{[p]:c}),s!==void 0&&(o===V.HeatSeries?s.content.text="{value}":s.content.text=n===!0?"{valueX}":"{valueY}",s.visible=s.visible!==!1),Cn({label:i,labelConfig:s,defaults:r??Z.dataLabel,skipSettingText:!0});let f=t.get("stacked"),m=f&&o===V.BarSeries&&e?.hideOversizedStackedLabels!==!1,g=!f&&o===V.BarSeries&&e?.hideOversizedSideBySideLabels===!0;g||m?i.setAll({oversizedBehavior:"hide",maxWidth:void 0,maxHeight:g?100:void 0}):i.setAll({oversizedBehavior:"none"})}}function S4(a){let{series:t,labelDefaults:e,externalDataLabelFormatter:i}=a;t.dataItems.forEach(r=>{let s=r.bullets?.[1];if(s){s.set("locationY",t.get("stacked")?void 0:1);let n=s.get("sprite");n&&(fk({dataLabel:n,series:t,externalDataLabelFormatter:i}),zv({...a,dataLabel:n,labelDefaults:e,defaultDataLabelFormatter:dk,externalDataLabelFormatter:i}))}})}function mk(a){let{series:t,dataLabelsConfig:e,autoInverseDataLabelTextColor:i,externalDataLabelFormatter:r,labelDefaults:s,seriesType:n,dataLabel:o,isHeatChart:l,dataLabelFormatter:h}=a;o&&(t.chart&&e?.visible&&Ak({label:o,chart:t.chart,seriesType:n}),C4({series:t,label:o,isHeatChart:l}),zv({...a,dataLabel:o,labelDefaults:s,defaultDataLabelFormatter:h,externalDataLabelFormatter:r}),B4({dataLabel:o,labelConfigColor:zt(e?.content.color).color,seriesColor:t.get("fill"),backgroundColor:t.chart?.get("background")?.get("fill"),autoInverseDataLabelTextColor:i,isHeatChart:l}))}function gk(a){let{series:t,dataLabelsConfig:e}=a,i=e?.visible,r=t.bullets.hasIndex(1);i!==!0?r&&zw(t):(r||w4(a),S4(a))}function F4(a){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=a;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Qf({label:t,labelOutputProp:r}),t.adapters.add(r,(s,n)=>{let o=s??"",l=n.dataItem,h=Qt(e.uid,"heatChartDataLabelFormatter"),u=fe(e.chart?.uid??NaN,"config");if(h!==void 0&&l){let c=l.get("value"),d=l.get("categoryX"),A=l.get("categoryY");c===null?o=u?.series[0].emptyCells?.text??Z.heatChart.emptyCells?.text??"":c!==void 0&&(o=h(c,d,A))}return r==="html"?Er(o):o})}function T4(a){let{numberFormatter:t,dataLabelsConfigContent:e}=a;return i=>xa({textSymbol:{...e,text:t.format(i)},format:"amChartsV5"})}function P4(a){let{series:t,externalDataLabelFormatter:e}=a;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config")?.series?.[0]?.dataLabels??a.dataLabelsConfig,r=fa.new(t.root,{sprite:Kt.new(t.root,{text:"{value}",populateText:!0,centerY:ge,centerX:jr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:zt(i?.content.color).color,fontSize:i?.content.font?.size,oversizedBehavior:"hide"})}),s=r.get("sprite");if(s){let n=s;F4({dataLabel:n,series:t,externalDataLabelFormatter:e}),mk({...a,dataLabelsConfig:i,dataLabel:n,isHeatChart:!0,dataLabelFormatter:T4}),n.set("oversizedBehavior","hide"),n.set("maxWidth",void 0),n.set("maxHeight",void 0)}return r})}function D4(a){let{series:t,dataLabelsConfig:e}=a,i=e?.visible;t.bullets.hasIndex(0)&&zw(t,0),i===!0&&P4(a)}var Ps={nameField:"name",fillField:"fill",strokeField:"stroke",fillOpacityField:"fillOpacity",strokeOpacityField:"strokeOpacity"};function Gw(a,t){let e=Yf(a);a.columns.template.set("tooltip",e);let i=t!==void 0||Qt(a.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";ih({element:a.columns.template,labelOutputProp:r}),a.columns.template.setAll({tooltipPosition:Z.columnTooltipPosition}),a.columns.template.adapters.remove("tooltipText"),a.columns.template.adapters.remove("tooltipHTML"),a.columns.template.adapters.add(r,(s,n)=>rh({element:n,series:a,isHTML:i})),a.columns.each(s=>{s.set("tooltip",e),ih({element:s,labelOutputProp:r}),s.adapters.remove("tooltipText"),s.adapters.remove("tooltipHTML"),s.adapters.add(r,(n,o)=>rh({element:o,series:a,isHTML:i}))})}function yk(a){let{axesConfig:t,currentSeries:e,tooltipValueFormat:i}=a,{root:r,chart:s}=e;if(s){let n=t?.[1]?.valueFormat,o=t?.[0].valueFormat,l=fe(s.uid,"formatLocale");if(n?.type===V.NumberAxisFormat){let h=qn({root:r,type:n.type,formatLocale:l,intlOptions:n.intlOptions});Kr(e.uid,{tooltipValueYNumberFormatCallback:u=>h.format(u,i?.intlOptions??n.intlOptions)})}if(o?.type===V.NumberAxisFormat){let h=qn({root:r,type:o.type,formatLocale:l,intlOptions:o.intlOptions});Kr(e.uid,{tooltipValueXNumberFormatCallback:u=>h.format(u,i?.intlOptions??o.intlOptions)})}}}function L4(a){let{axes:t,seriesConfig:e,series:i,fieldList:r,utilsStrings:s}=a,{dataTooltipVisible:n}=e,o,l=fe(i.chart?.uid??0,"rtl")??!1,h=Ra(l);return n===!1?o=(u,c,d)=>"":o=(u,c,d)=>{let A=Or(r,e.x),p=vA(A,t?.[0].title?.content?.text),f=vA(s?.statistics.count??"",t?.[1]?.title?.content?.text??""),m=Qt(i.uid,"tooltipValueXNumberFormatCallback"),g=Qt(i.uid,"tooltipValueYNumberFormatCallback"),y=m?m(c):c,x=m?m(d):d,w=g?g(u):u;return`[bold]${p}${h} [/]${y} - ${x}
|
|
47
47
|
[bold]${f}${h} [/]${w}`},o}function I4(a){let{seriesConfig:t,series:e,tooltip:i}=a,{dataTooltipVisible:r}=t;if(r!==!1){let s=Qt(e.uid,"histogramTooltipFormatter");if(s!==void 0){let n=i.dataItem;if(n!==void 0){let o=n.dataContext;return s(n.get("valueY")??0,o.minValue,o.maxValue)}}}return""}function Yw(a,t){let e=Yf(a);a.columns.template.set("tooltip",e);let i=t!==void 0||Qt(a.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";ih({element:a.columns.template,labelOutputProp:r}),a.columns.template.setAll({tooltipPosition:Z.columnTooltipPosition}),a.columns.template.adapters.remove("tooltipText"),a.columns.template.adapters.remove("tooltipHTML"),a.columns.template.adapters.add(r,(s,n)=>rh({element:n,series:a,isHTML:i})),a.columns.each(s=>{s.set("tooltip",e),s.set("tooltipPosition","pointer"),ih({element:s,labelOutputProp:r}),s.adapters.remove("tooltipText"),s.adapters.remove("tooltipHTML"),s.adapters.add(r,(n,o)=>rh({element:o,series:a,isHTML:i}))})}function k4(a){let{series:t,tooltipFormatter:e,axesConfig:i,seriesConfig:r}=a,s=Qt(t.uid,"hasExternalTooltipFormatter")===!0,n=e!==void 0;yk({axesConfig:i,currentSeries:t,tooltipValueFormat:r.dataTooltipValueFormat}),Kr(t.uid,{histogramTooltipFormatter:e??L4(a),hasExternalTooltipFormatter:n}),s!==n&&Yw(t,e)}function Kw(a){let{pieChart:t,valueIntlOptions:e,percentageIntlOptions:i,displayNumericValue:r,displayPercentage:s,valuePrefix:n,valueSuffix:o,percentagePrefix:l,percentageSuffix:h}=a,{root:u}=t,c=fe(t.uid,"formatLocale"),d=qn({root:u,type:V.NumberAxisFormat,intlOptions:e,formatLocale:c}),A=qn({root:u,type:V.NumberAxisFormat,intlOptions:{...i,style:"percent"},formatLocale:c}),p=Ra(fe(t.uid,"rtl")??!1," ");return(f,m,g)=>{let y="";if(m!==void 0&&g!==void 0){let x=`${n??""}${d.format(m)}${o??""}`,w=`${l??""}${A.format(Math.abs(g/100))}${h??""}`;Number.isFinite(m)?r===!0&&s===!0?y=`${w}${p}(${x})`:r===!0?y=x:s===!0&&(y=w):y=""}return y}}function $4(a,t){let e=(p,f,m)=>"",{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:s,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g="",{chart:y}=a;if(y){let x=Kw({pieChart:y,valueIntlOptions:(s??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??Z.pieChart.displayNumericValueOnTooltip,displayPercentage:h??Z.pieChart.displayPercentageOnTooltip,valuePrefix:u,valueSuffix:c,percentagePrefix:d,percentageSuffix:A})("",f,m),w=!zi(p)&&(o??Z.pieChart.displayCategoryOnTooltip);if(w&&(g=`[bold]${p}[/]`),!zi(x)){let S=rg(x);g=w?`${g}
|
|
48
48
|
${S}`:S}}return g},e}function O4(a){let t=a.get("tooltip");if(t!==void 0){let e=a.get("fill");e instanceof Jl&&(e=e.get("fill")),t.get("background")?.set("fill",e)}}function E4(a){let{pieSeries:t,tooltip:e}=a,i="",{chart:r}=t;if(r!==void 0&&e!==void 0){let s=fe(r.uid,"config"),{dataTooltipVisible:n}=s?.series[0]??{};if(n!==!1){let o=Qt(t.uid,"pieChartTooltipFormatter");if(o){let l=e.dataItem;if(l!==void 0){let h=l,u=h.get("category")??"",c=l.dataContext,d=oo(c);d===void 0&&(d=u);let A=h.get("value"),p=h.get("valuePercentTotal");typeof A=="number"&&A!==0&&s?.series?.[0]?.dataTooltipVisible!==!1?(e.set("disabled",!1),O4(h.get("slice")),i=o(u,A,p,d)):e.set("disabled",!0)}}}else return}return i}function Zw(a,t){let e=a.slices.template,i=Yf(a),r=t!==void 0||Qt(a.uid,"hasExternalTooltipFormatter")===!0,s=r?"tooltipHTML":"tooltipText";ih({element:e,labelOutputProp:s}),e.setAll({tooltip:i,tooltipPosition:Z.sliceTooltipPosition}),e.adapters.remove("tooltipText"),e.adapters.remove("tooltipHTML"),e.adapters.add(s,(n,o)=>{let l=" ";try{let h=o.get("tooltip");h&&(h.dataItem=o.dataItem,l=rh({element:h,series:a,isHTML:r}))}catch{}return l}),e.set(s," "),a.slices.each(n=>{n.set("tooltip",i),n.set("tooltipPosition","fixed"),ih({element:n,labelOutputProp:s}),n.adapters.remove("tooltipText"),n.adapters.remove("tooltipHTML"),n.adapters.add(s,(o,l)=>{let h=" ";try{let u=l.get("tooltip");u&&(u.dataItem=l.dataItem,h=rh({element:u,series:a,isHTML:r}))}catch{}return h})})}function M4(a){let{series:t,seriesConfig:e,tooltipFormatter:i}=a,r=Qt(t.uid,"hasExternalTooltipFormatter")===!0,s=i!==void 0;Kr(t.uid,{pieChartTooltipFormatter:i??$4(t,e),hasExternalTooltipFormatter:s}),r!==s&&Zw(t,i)}function R4(a){let{axesConfig:t,seriesConfig:e,series:i,fieldList:r}=a,{dataTooltipVisible:s}=e,n,{chart:o}=i,l=o?.uid!==void 0?fe(o.uid,"rtl"):!1,h=Ra(l??!1);return s===!1?n=(u,c,d,A)=>"":n=(u,c,d,A)=>{let p=Or(r,e.x),f=zi(t?.[0].title?.content?.text)?p:t?.[0].title?.content?.text,m=Or(r,e.y),g=zi(t?.[1]?.title?.content?.text)?m:t?.[1]?.title?.content?.text,y=Qt(i.uid,"tooltipValueXNumberFormatCallback"),x=y?y(u):u,w=Qt(i.uid,"tooltipValueYNumberFormatCallback"),S=w?w(c):c,T=`[bold]${f}${h} [/]${x}
|
|
49
49
|
[bold]${g}${h} [/]${S}`;if(d!==void 0&&e.sizePolicy?.field!==void 0){let F=Or(r,e.sizePolicy?.field),L=w?w(d):d;T+=`
|