@arcgis/charts-components 5.1.0-next.84 → 5.1.0-next.85

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.
Files changed (143) hide show
  1. package/dist/cdn/{VOZZX4SC.js → 3DN4ZRPN.js} +1 -1
  2. package/dist/cdn/{ZSJC4C5P.js → 3EZT4DMV.js} +1 -1
  3. package/dist/cdn/{HNRCM6PK.js → 45UZ5A2P.js} +1 -1
  4. package/dist/cdn/{XCH5CHGV.js → 4JYFPXNP.js} +1 -1
  5. package/dist/cdn/{HB3WXSA7.js → 4M44GUGJ.js} +1 -1
  6. package/dist/cdn/{ULGNP3WR.js → 4NGF4CFB.js} +1 -1
  7. package/dist/cdn/{HEAWMKHN.js → 4T6ARKXI.js} +1 -1
  8. package/dist/cdn/{R74T42O6.js → 54XEB3TI.js} +1 -1
  9. package/dist/cdn/{J357ZCYM.js → 5FR6VDUA.js} +1 -1
  10. package/dist/cdn/{PIGPI5SJ.js → 5JYTP6ED.js} +1 -1
  11. package/dist/cdn/{ZXKZQC6E.js → 5KBAXDQP.js} +1 -1
  12. package/dist/cdn/{XPZSWUPI.js → 64LZP4QQ.js} +1 -1
  13. package/dist/cdn/{SIY3MF6J.js → 6LEDHDVS.js} +1 -1
  14. package/dist/cdn/{6X22GKZU.js → 6WHMWFQV.js} +1 -1
  15. package/dist/cdn/{KLTZSPJS.js → 6ZQWP3MJ.js} +1 -1
  16. package/dist/cdn/{XGZGBDH5.js → 7CQDF63V.js} +1 -1
  17. package/dist/cdn/{XAVBJXBP.js → 7HR7XH2G.js} +1 -1
  18. package/dist/cdn/{QQCHTR6B.js → 7R74WZE5.js} +1 -1
  19. package/dist/cdn/{U3NL6ZC7.js → ABINJ3BK.js} +1 -1
  20. package/dist/cdn/{A37H3SVA.js → ADAJBZRP.js} +1 -1
  21. package/dist/cdn/{VIGSYW5X.js → AU5I6VM4.js} +1 -1
  22. package/dist/cdn/{3ENPK57S.js → BCCYIEWA.js} +1 -1
  23. package/dist/cdn/{WFN7BG5G.js → CRP74XRF.js} +1 -1
  24. package/dist/cdn/{DAEYP26T.js → DCK2YGKJ.js} +1 -1
  25. package/dist/cdn/{E733Z33T.js → DJ2U4EHB.js} +1 -1
  26. package/dist/cdn/{MRB3I6TM.js → DLKG6DVQ.js} +1 -1
  27. package/dist/cdn/{UCBDTBOD.js → DMFLHZHN.js} +1 -1
  28. package/dist/cdn/{AZUSRKOK.js → E2TM7BJP.js} +1 -1
  29. package/dist/cdn/{6KRLGANY.js → EF2W7QYA.js} +1 -1
  30. package/dist/cdn/{VSKGD2H4.js → EPJKU44A.js} +1 -1
  31. package/dist/cdn/{IW6D7QUP.js → EQTKAWX7.js} +1 -1
  32. package/dist/cdn/{I5EYVSC2.js → ESPYLUAE.js} +1 -1
  33. package/dist/cdn/{WCSDJWVC.js → G6DYYIOL.js} +1 -1
  34. package/dist/cdn/{NUBTEI5P.js → G7SW4EUO.js} +1 -1
  35. package/dist/cdn/{A7PUR6B2.js → GY72PUJO.js} +1 -1
  36. package/dist/cdn/{2RUIYTX4.js → H6CD2WG5.js} +1 -1
  37. package/dist/cdn/{MUCTAJAG.js → HLWXN26K.js} +1 -1
  38. package/dist/cdn/{RVEMMJHP.js → I346TCJF.js} +1 -1
  39. package/dist/cdn/{MA53AIOL.js → I3F7HHTI.js} +1 -1
  40. package/dist/cdn/{Q7U7KMOE.js → IWIH7WUN.js} +1 -1
  41. package/dist/cdn/{EHHYQUKT.js → JKNNRHD2.js} +1 -1
  42. package/dist/cdn/{JXBYGJRQ.js → KOP2PBMW.js} +1 -1
  43. package/dist/cdn/{GK2JCOKX.js → KQPSYN5C.js} +1 -1
  44. package/dist/cdn/{DCOCX4D6.js → LNB6B5WL.js} +1 -1
  45. package/dist/cdn/{Z53U2R2U.js → LQGOVHK5.js} +1 -1
  46. package/dist/cdn/{WG4J7XHM.js → MO6SHL7R.js} +1 -1
  47. package/dist/cdn/{LSE7GMZ6.js → MPEXW6QX.js} +1 -1
  48. package/dist/cdn/{P4DMPP4G.js → N333UOH4.js} +1 -1
  49. package/dist/cdn/{I5UUCCC5.js → NFHOSKHP.js} +1 -1
  50. package/dist/cdn/{ENGJY4XN.js → NG4T3CM7.js} +1 -1
  51. package/dist/cdn/{DBMK3K5J.js → NGG777T3.js} +2 -2
  52. package/dist/cdn/{QAAONBNI.js → NSIRDSJE.js} +1 -1
  53. package/dist/cdn/{7QNNDM54.js → NT6PM5XH.js} +1 -1
  54. package/dist/cdn/{FMOLT3GH.js → OFVDF7MK.js} +1 -1
  55. package/dist/cdn/{BI2BTX6M.js → PNDSQQ5E.js} +1 -1
  56. package/dist/cdn/{RLF3QXNC.js → PNXMBMZW.js} +1 -1
  57. package/dist/cdn/{HDA4WG3T.js → PVGB35UN.js} +1 -1
  58. package/dist/cdn/{N34MP7DE.js → Q5N7EDBG.js} +1 -1
  59. package/dist/cdn/{VPJR5TYG.js → QBGYIPDE.js} +3 -3
  60. package/dist/cdn/{6JAQZNJM.js → QXUDRWYI.js} +1 -1
  61. package/dist/cdn/{Z4TNNRFO.js → R3KMZ5JQ.js} +1 -1
  62. package/dist/cdn/{BLWTWQ27.js → RL2K7DDP.js} +1 -1
  63. package/dist/cdn/{SVXM5HWY.js → SL2YX32M.js} +1 -1
  64. package/dist/cdn/{DEJQRJHG.js → SN3JJXMR.js} +1 -1
  65. package/dist/cdn/{CHYSUXBV.js → SUAG7EYU.js} +1 -1
  66. package/dist/cdn/{4OTBWSQH.js → TMCW2LUV.js} +1 -1
  67. package/dist/cdn/{3NHV7E4U.js → TQNTRGWQ.js} +3 -3
  68. package/dist/cdn/{DN5VSX3A.js → TRBZZLQ4.js} +1 -1
  69. package/dist/cdn/{4CH2EYXV.js → TUAKPBN6.js} +1 -1
  70. package/dist/cdn/{TOPPLLVP.js → TXUK6Z75.js} +1 -1
  71. package/dist/cdn/{54ECMYNJ.js → U436QJR4.js} +1 -1
  72. package/dist/cdn/{KQCLLXOY.js → UE5DMUQ3.js} +1 -1
  73. package/dist/cdn/{YFP2CYXB.js → UP66E6QT.js} +1 -1
  74. package/dist/cdn/{B3DSGL3M.js → UUKLISLI.js} +1 -1
  75. package/dist/cdn/{U2I2Z3Y5.js → UVWAABXY.js} +1 -1
  76. package/dist/cdn/{ATR6WXMN.js → VF57GKNK.js} +1 -1
  77. package/dist/cdn/{I6C5TW36.js → VICPGXIO.js} +1 -1
  78. package/dist/cdn/{IGFS6UYZ.js → WAOI2ELL.js} +1 -1
  79. package/dist/cdn/{BVCSABY7.js → X43NGKXD.js} +1 -1
  80. package/dist/cdn/{KNDQ7NQP.js → XBPOWLBI.js} +1 -1
  81. package/dist/cdn/{WZ66AYP5.js → XDQXFURT.js} +1 -1
  82. package/dist/cdn/{M33FWGOW.js → XP5EHKK5.js} +1 -1
  83. package/dist/cdn/{6CMTJKSD.js → XXZLJJUD.js} +1 -1
  84. package/dist/cdn/{QZOCPM4T.js → YDR7QMVT.js} +1 -1
  85. package/dist/cdn/{AWBJOD47.js → YPCD27EC.js} +1 -1
  86. package/dist/cdn/{XLLR24SE.js → YWCBY5V6.js} +1 -1
  87. package/dist/cdn/{Z7K6264D.js → ZXHUZALT.js} +1 -1
  88. package/dist/cdn/{ZG7D2EZ6.js → ZZ6ZKTOB.js} +1 -1
  89. package/dist/cdn/index.js +1 -1
  90. package/dist/chunks/action-bar-utils.js +7 -7
  91. package/dist/chunks/bar-chart-model.js +1 -1
  92. package/dist/chunks/box-plot-data.js +18 -18
  93. package/dist/chunks/box-plot-model.js +8 -8
  94. package/dist/chunks/chart-model.js +9 -9
  95. package/dist/chunks/chart-ui-utils2.js +1 -1
  96. package/dist/chunks/class-breaks.js +5 -5
  97. package/dist/chunks/data.js +12 -12
  98. package/dist/chunks/heat-chart-model.js +8 -8
  99. package/dist/chunks/histogram-data.js +1 -1
  100. package/dist/chunks/index.js +1041 -991
  101. package/dist/chunks/index2.js +42 -42
  102. package/dist/chunks/line-chart-model.js +1 -1
  103. package/dist/chunks/pie-chart-data.js +5 -5
  104. package/dist/chunks/pie-chart-model.js +1 -1
  105. package/dist/chunks/radar-chart-model.js +1 -1
  106. package/dist/chunks/rotated-state.js +1 -1
  107. package/dist/chunks/scatterplot-model.js +9 -9
  108. package/dist/chunks/serial-chart-data.js +77 -77
  109. package/dist/chunks/serial-chart-model.js +16 -16
  110. package/dist/chunks/series-length.js +1 -1
  111. package/dist/chunks/utils.js +11 -11
  112. package/dist/chunks/web-component-utils.js +11 -11
  113. package/dist/components/arcgis-chart/customElement.js +5 -3
  114. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -10
  117. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-create-flow/customElement.js +4 -4
  122. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
  124. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
  126. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
  127. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  128. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -8
  130. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
  132. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  138. package/dist/docs/api.json +1 -1
  139. package/dist/docs/docs.json +1 -1
  140. package/dist/docs/web-types.json +1 -1
  141. package/dist/index.js +283 -282
  142. package/dist/utils/misc/index.d.ts +1 -1
  143. 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 to}from"./QVD6LHQ2.js";import o from"./6KRLGANY.js";import n from"./DBMK3K5J.js";import m from"./KQCLLXOY.js";import{c as Ox,e as lg,f as hg,g as ug,h as cg,i as lp,j as hp}from"./S5OM65RV.js";import{a as PT,g as DT}from"./7BDNLABD.js";import l from"./A7PUR6B2.js";import{a as gT}from"./FPDW4F45.js";import{a as Dx}from"./A3N7FAEK.js";import k from"./EHHYQUKT.js";import j from"./4CH2EYXV.js";import i from"./ZXKZQC6E.js";import h from"./AWBJOD47.js";import g from"./XPZSWUPI.js";import f from"./I6C5TW36.js";import e from"./QAAONBNI.js";import d from"./U2I2Z3Y5.js";import c from"./ZSJC4C5P.js";import b from"./I5EYVSC2.js";import{c as md,d as Tx,e as np,p as Px,q as fT,r as og,s as mT,t as op}from"./YJXIGYX6.js";import a from"./3NHV7E4U.js";import{C as Em,D as Mm,g as Tr,h as zs,k as Lu,l as Ll,t as GA,u as As,v as YA,w as bs,x as bi,y as Yt,z as Dt}from"./Y7IQV44J.js";import{a as lF,b as hF,c as Om,g as Du}from"./MIYIXPXS.js";import{a as TT}from"./TOPPLLVP.js";import{d as Ho,e as yT,f as vT,g as bT,h as Lx,n as Ix,t as xT}from"./T5RPAQYI.js";import"./EZM4ZDQI.js";import{a as V,b as Pn,e as rt,f as Gi,h as zA,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,h:od,hb:zm,hc:Ys,hd:WF,he:pT,i:Rm,ib:_a,id:XF,j:dF,jd:gx,k:Eo,kb:xF,kc:FF,kd:zF,ke:Fx,l:xa,lb:_F,lc:dx,ld:GF,le:fd,m:Ou,ma:Zb,mb:nx,md:YF,n:ld,nb:Gm,nc:Km,nd:yx,o:ro,ob:on,oc:TF,od:KF,p:jb,pb:ox,pc:Ad,pd:ZF,q:Il,qa:Wm,qb:JA,qc:PF,qd:Jm,r:Um,rb:kl,rd:qF,s:Vt,sb:$l,sd:JF,t:Vm,tb:lx,td:eT,ub:CF,uc:DF,v:Eu,vb:ep,vd:ap,w:hd,wb:Ca,wd:eg,x:Nm,xb:Ro,xc:Ax,xd:tT,y:Wb,yb:tp,yc:ln,yd:vx,zb:Kt,zd:tg},,,,,,,{a:_T,b:CT,c:wT,d:BT,e:kx,f:$x,g:ST,h:FT},,,,{b:kT,r:Ex},{b:LT,c:IT},{c:Mx,d:Rx,e:$T},{f:OT,h:ET}])=>{var UT=ZS((Ux,Vx)=>{(function(s,t){typeof Ux=="object"&&typeof Vx<"u"?Vx.exports=t():typeof define=="function"&&define.amd?define(t):(s=typeof globalThis<"u"?globalThis:s||self,s.html2canvas=t())})(Ux,(function(){"use strict";var s=function(b,v){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,x){C.__proto__=x}||function(C,x){for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&(C[D]=x[D])},s(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");s(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,x=1,D=arguments.length;x<D;x++){C=arguments[x];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,x){function D(O){return O instanceof C?O:new C(function(H){H(O)})}return new(C||(C=Promise))(function(O,H){function W(oe){try{se(x.next(oe))}catch(Ae){H(Ae)}}function j(oe){try{se(x.throw(oe))}catch(Ae){H(Ae)}}function se(oe){oe.done?O(oe.value):D(oe.value).then(W,j)}se((x=x.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:[]},x,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(se){return function(oe){return j([se,oe])}}function j(se){if(x)throw new TypeError("Generator is already executing.");for(;C;)try{if(x=1,D&&(O=se[0]&2?D.return:se[0]?D.throw||((O=D.return)&&O.call(D),0):D.next)&&!(O=O.call(D,se[1])).done)return O;switch(D=0,O&&(se=[se[0]&2,O.value]),se[0]){case 0:case 1:O=se;break;case 4:return C.label++,{value:se[1],done:!1};case 5:C.label++,D=se[1],se=[0];continue;case 7:se=C.ops.pop(),C.trys.pop();continue;default:if(O=C.trys,!(O=O.length>0&&O[O.length-1])&&(se[0]===6||se[0]===2)){C=0;continue}if(se[0]===3&&(!O||se[1]>O[0]&&se[1]<O[3])){C.label=se[1];break}if(se[0]===6&&C.label<O[1]){C.label=O[1],O=se;break}if(O&&C.label<O[2]){C.label=O[2],C.ops.push(se);break}O[2]&&C.ops.pop(),C.trys.pop();continue}se=v.call(b,C)}catch(oe){se=[6,oe],D=0}finally{x=O=0}if(se[0]&5)throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}}function a(b,v,C){if(C||arguments.length===2)for(var x=0,D=v.length,O;x<D;x++)(O||!(x in v))&&(O||(O=Array.prototype.slice.call(v,0,x)),O[x]=v[x]);return b.concat(O||v)}for(var n=(function(){function b(v,C,x,D){this.left=v,this.top=C,this.width=x,this.height=D}return b.prototype.add=function(v,C,x,D){return new b(this.left+v,this.top+C,this.width+x,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 x=Array.from(C).find(function(D){return D.width!==0});return x?new b(x.left+v.windowBounds.left,x.top+v.windowBounds.top,x.width,x.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 x=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,x,D)},h=function(b){for(var v=[],C=0,x=b.length;C<x;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<x){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},c=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 x=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?x.push(H):(H-=65536,x.push((H>>10)+55296,H%1024+56320)),(D+1===C||x.length>16384)&&(O+=String.fromCharCode.apply(String,x),x.length=0)}return O},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array>"u"?[]:new Uint8Array(256),A=0;A<u.length;A++)d[u.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,x,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var se=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),oe=Array.isArray(se)?se:new Uint8Array(se);for(x=0;x<C;x+=4)O=f[b.charCodeAt(x)],H=f[b.charCodeAt(x+1)],W=f[b.charCodeAt(x+2)],j=f[b.charCodeAt(x+3)],oe[D++]=O<<2|H>>4,oe[D++]=(H&15)<<4|W>>2,oe[D++]=(W&3)<<6|j&63;return se},y=function(b){for(var v=b.length,C=[],x=0;x<v;x+=2)C.push(b[x+1]<<8|b[x]);return C},_=function(b){for(var v=b.length,C=[],x=0;x<v;x+=4)C.push(b[x+3]<<24|b[x+2]<<16|b[x+1]<<8|b[x]);return C},w=5,S=11,P=2,T=S-w,L=65536>>w,$=1<<w,I=$-1,M=1024>>w,F=L+M,Q=F,Y=32,z=Q+Y,ee=65536>>S,ie=1<<T,de=ie-1,K=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},G=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},xe=function(b,v){var C=g(b),x=Array.isArray(C)?_(C):new Uint32Array(C),D=Array.isArray(C)?y(C):new Uint16Array(C),O=24,H=K(D,O/2,x[4]/2),W=x[5]===2?K(D,(O+x[4])/2):G(x,Math.ceil((O+x[4])/4));return new ae(x[0],x[1],x[2],x[3],H,W)},ae=(function(){function b(v,C,x,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=x,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<<P)+(v&I),this.data[C];if(v<=65535)return C=this.index[L+(v-55296>>w)],C=(C<<P)+(v&I),this.data[C];if(v<this.highStart)return C=z-ee+(v>>S),C=this.index[C],C+=v>>w&de,C=this.index[C],C=(C<<P)+(v&I),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$e=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QA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB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IIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABw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ADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAA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AeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFA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AA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAE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QABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVA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AUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AH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wAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQA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AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",dt=50,It=1,pt=2,Wi=3,Xi=4,U=5,Be=7,ye=8,Z=9,X=10,le=11,De=12,Le=13,pe=14,ke=15,Ze=16,Me=17,_t=18,qi=19,pi=20,ys=21,Si=22,qr=23,br=24,Fi=25,Lo=26,Cl=27,oa=28,Kf=29,wl=30,qv=31,Gc=32,_u=33,Bl=34,hh=35,Jv=36,DA=37,eb=38,Zf=39,qf=40,tb=41,lB=42,S$=43,F$=[9001,65288],hB="!",wi="\xD7",Jf="\xF7",ib=xe(Xe),Sl=[wl,Jv],rb=[It,pt,Wi,U],uB=[X,ye],cB=[Cl,Lo],T$=rb.concat(uB),dB=[eb,Zf,qf,Bl,hh],P$=[ke,Le],D$=function(b,v){v===void 0&&(v="strict");var C=[],x=[],D=[];return b.forEach(function(O,H){var W=ib.get(O);if(W>dt?(D.push(!0),W-=dt):D.push(!1),["normal","auto","loose"].indexOf(v)!==-1&&[8208,8211,12316,12448].indexOf(O)!==-1)return x.push(H),C.push(Ze);if(W===Xi||W===le){if(H===0)return x.push(H),C.push(wl);var j=C[H-1];return T$.indexOf(j)===-1?(x.push(x[H-1]),C.push(j)):(x.push(H),C.push(wl))}if(x.push(H),W===qv)return C.push(v==="strict"?ys:DA);if(W===lB||W===Kf)return C.push(wl);if(W===S$)return O>=131072&&O<=196605||O>=196608&&O<=262141?C.push(DA):C.push(wl);C.push(W)}),[x,C,D]},sb=function(b,v,C,x){var D=x[C];if(Array.isArray(b)?b.indexOf(D)!==-1:b===D)for(var O=C;O<=x.length;){O++;var H=x[O];if(H===v)return!0;if(H!==X)break}if(D===X)for(var O=C;O>0;){O--;var W=x[O];if(Array.isArray(b)?b.indexOf(W)!==-1:b===W)for(var j=C;j<=x.length;){j++;var H=x[j];if(H===v)return!0;if(H!==X)break}if(W!==X)break}return!1},AB=function(b,v){for(var C=b;C>=0;){var x=v[C];if(x===X)C--;else return x}return 0},L$=function(b,v,C,x,D){if(C[x]===0)return wi;var O=x-1;if(Array.isArray(D)&&D[O]===!0)return wi;var H=O-1,W=O+1,j=v[O],se=H>=0?v[H]:0,oe=v[W];if(j===pt&&oe===Wi)return wi;if(rb.indexOf(j)!==-1)return hB;if(rb.indexOf(oe)!==-1||uB.indexOf(oe)!==-1)return wi;if(AB(O,v)===ye)return Jf;if(ib.get(b[O])===le||(j===Gc||j===_u)&&ib.get(b[W])===le||j===Be||oe===Be||j===Z||[X,Le,ke].indexOf(j)===-1&&oe===Z||[Me,_t,qi,br,oa].indexOf(oe)!==-1||AB(O,v)===Si||sb(qr,Si,O,v)||sb([Me,_t],ys,O,v)||sb(De,De,O,v))return wi;if(j===X)return Jf;if(j===qr||oe===qr)return wi;if(oe===Ze||j===Ze)return Jf;if([Le,ke,ys].indexOf(oe)!==-1||j===pe||se===Jv&&P$.indexOf(j)!==-1||j===oa&&oe===Jv||oe===pi||Sl.indexOf(oe)!==-1&&j===Fi||Sl.indexOf(j)!==-1&&oe===Fi||j===Cl&&[DA,Gc,_u].indexOf(oe)!==-1||[DA,Gc,_u].indexOf(j)!==-1&&oe===Lo||Sl.indexOf(j)!==-1&&cB.indexOf(oe)!==-1||cB.indexOf(j)!==-1&&Sl.indexOf(oe)!==-1||[Cl,Lo].indexOf(j)!==-1&&(oe===Fi||[Si,ke].indexOf(oe)!==-1&&v[W+1]===Fi)||[Si,ke].indexOf(j)!==-1&&oe===Fi||j===Fi&&[Fi,oa,br].indexOf(oe)!==-1)return wi;if([Fi,oa,br,Me,_t].indexOf(oe)!==-1)for(var Ae=O;Ae>=0;){var Ce=v[Ae];if(Ce===Fi)return wi;if([oa,br].indexOf(Ce)!==-1)Ae--;else break}if([Cl,Lo].indexOf(oe)!==-1)for(var Ae=[Me,_t].indexOf(j)!==-1?H:O;Ae>=0;){var Ce=v[Ae];if(Ce===Fi)return wi;if([oa,br].indexOf(Ce)!==-1)Ae--;else break}if(eb===j&&[eb,Zf,Bl,hh].indexOf(oe)!==-1||[Zf,Bl].indexOf(j)!==-1&&[Zf,qf].indexOf(oe)!==-1||[qf,hh].indexOf(j)!==-1&&oe===qf||dB.indexOf(j)!==-1&&[pi,Lo].indexOf(oe)!==-1||dB.indexOf(oe)!==-1&&j===Cl||Sl.indexOf(j)!==-1&&Sl.indexOf(oe)!==-1||j===br&&Sl.indexOf(oe)!==-1||Sl.concat(Fi).indexOf(j)!==-1&&oe===Si&&F$.indexOf(b[W])===-1||Sl.concat(Fi).indexOf(oe)!==-1&&j===_t)return wi;if(j===tb&&oe===tb){for(var ot=C[O],Ue=1;ot>0&&(ot--,v[ot]===tb);)Ue++;if(Ue%2!==0)return wi}return j===Gc&&oe===_u?wi:Jf},I$=function(b,v){v||(v={lineBreak:"normal",wordBreak:"normal"});var C=D$(b,v.lineBreak),x=C[0],D=C[1],O=C[2];(v.wordBreak==="break-all"||v.wordBreak==="break-word")&&(D=D.map(function(W){return[Fi,wl,lB].indexOf(W)!==-1?DA:W}));var H=v.wordBreak==="keep-all"?O.map(function(W,j){return W&&b[j]>=19968&&b[j]<=40959}):void 0;return[x,D,H]},k$=(function(){function b(v,C,x,D){this.codePoints=v,this.required=C===hB,this.start=x,this.end=D}return b.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},b})(),$$=function(b,v){var C=h(b),x=I$(C,v),D=x[0],O=x[1],H=x[2],W=C.length,j=0,se=0;return{next:function(){if(se>=W)return{done:!0,value:null};for(var oe=wi;se<W&&(oe=L$(C,O,D,++se,H))===wi;);if(oe!==wi||se===W){var Ae=new k$(C,oe,j,se);return j=se,{value:Ae,done:!1}}return{done:!0,value:null}}}},O$=1,E$=2,LA=4,pB=8,em=10,fB=47,IA=92,M$=9,R$=32,tm=34,kA=61,U$=35,V$=36,N$=37,im=39,rm=40,$A=41,H$=95,$a=45,Q$=33,j$=60,W$=62,X$=64,z$=91,G$=93,Y$=61,K$=123,sm=63,Z$=125,mB=124,q$=126,J$=128,gB=65533,ab=42,Cu=43,eO=44,tO=58,iO=59,OA=46,rO=0,sO=8,aO=11,nO=14,oO=31,lO=127,Io=-1,yB=48,vB=97,bB=101,hO=102,uO=117,cO=122,xB=65,_B=69,CB=70,dO=85,AO=90,la=function(b){return b>=yB&&b<=57},pO=function(b){return b>=55296&&b<=57343},Yc=function(b){return la(b)||b>=xB&&b<=CB||b>=vB&&b<=hO},fO=function(b){return b>=vB&&b<=cO},mO=function(b){return b>=xB&&b<=AO},gO=function(b){return fO(b)||mO(b)},yO=function(b){return b>=J$},am=function(b){return b===em||b===M$||b===R$},nm=function(b){return gO(b)||yO(b)||b===H$},wB=function(b){return nm(b)||la(b)||b===$a},vO=function(b){return b>=rO&&b<=sO||b===aO||b>=nO&&b<=oO||b===lO},uh=function(b,v){return b!==IA?!1:v!==em},om=function(b,v,C){return b===$a?nm(v)||uh(v,C):nm(b)?!0:!!(b===IA&&uh(b,v))},nb=function(b,v,C){return b===Cu||b===$a?la(v)?!0:v===OA&&la(C):la(b===OA?v:b)},bO=function(b){var v=0,C=1;(b[v]===Cu||b[v]===$a)&&(b[v]===$a&&(C=-1),v++);for(var x=[];la(b[v]);)x.push(b[v++]);var D=x.length?parseInt(c.apply(void 0,x),10):0;b[v]===OA&&v++;for(var O=[];la(b[v]);)O.push(b[v++]);var H=O.length,W=H?parseInt(c.apply(void 0,O),10):0;(b[v]===_B||b[v]===bB)&&v++;var j=1;(b[v]===Cu||b[v]===$a)&&(b[v]===$a&&(j=-1),v++);for(var se=[];la(b[v]);)se.push(b[v++]);var oe=se.length?parseInt(c.apply(void 0,se),10):0;return C*(D+W*Math.pow(10,-H))*Math.pow(10,j*oe)},xO={type:2},_O={type:3},CO={type:4},wO={type:13},BO={type:8},SO={type:21},FO={type:9},TO={type:10},PO={type:11},DO={type:12},LO={type:14},lm={type:23},IO={type:1},kO={type:25},$O={type:24},OO={type:26},EO={type:27},MO={type:28},RO={type:29},UO={type:31},ob={type:32},BB=(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!==ob;)v.push(C),C=this.consumeToken();return v},b.prototype.consumeToken=function(){var v=this.consumeCodePoint();switch(v){case tm:return this.consumeStringToken(tm);case U$:var C=this.peekCodePoint(0),x=this.peekCodePoint(1),D=this.peekCodePoint(2);if(wB(C)||uh(x,D)){var O=om(C,x,D)?E$:O$,H=this.consumeName();return{type:5,value:H,flags:O}}break;case V$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),wO;break;case im:return this.consumeStringToken(im);case rm:return xO;case $A:return _O;case ab:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),LO;break;case Cu:if(nb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case eO:return CO;case $a:var W=v,j=this.peekCodePoint(0),se=this.peekCodePoint(1);if(nb(W,j,se))return this.reconsumeCodePoint(v),this.consumeNumericToken();if(om(W,j,se))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();if(j===$a&&se===W$)return this.consumeCodePoint(),this.consumeCodePoint(),$O;break;case OA:if(nb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case fB:if(this.peekCodePoint(0)===ab)for(this.consumeCodePoint();;){var oe=this.consumeCodePoint();if(oe===ab&&(oe=this.consumeCodePoint(),oe===fB))return this.consumeToken();if(oe===Io)return this.consumeToken()}break;case tO:return OO;case iO:return EO;case j$:if(this.peekCodePoint(0)===Q$&&this.peekCodePoint(1)===$a&&this.peekCodePoint(2)===$a)return this.consumeCodePoint(),this.consumeCodePoint(),kO;break;case X$:var Ae=this.peekCodePoint(0),Ce=this.peekCodePoint(1),ot=this.peekCodePoint(2);if(om(Ae,Ce,ot)){var H=this.consumeName();return{type:7,value:H}}break;case z$:return MO;case IA:if(uh(v,this.peekCodePoint(0)))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();break;case G$:return RO;case Y$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),BO;break;case K$:return PO;case Z$:return DO;case uO:case dO:var Ue=this.peekCodePoint(0),Ke=this.peekCodePoint(1);return Ue===Cu&&(Yc(Ke)||Ke===sm)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(v),this.consumeIdentLikeToken();case mB:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),FO;if(this.peekCodePoint(0)===mB)return this.consumeCodePoint(),SO;break;case q$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),TO;break;case Io:return ob}return am(v)?(this.consumeWhiteSpace(),UO):la(v)?(this.reconsumeCodePoint(v),this.consumeNumericToken()):nm(v)?(this.reconsumeCodePoint(v),this.consumeIdentLikeToken()):{type:6,value:c(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();Yc(C)&&v.length<6;)v.push(C),C=this.consumeCodePoint();for(var x=!1;C===sm&&v.length<6;)v.push(C),C=this.consumeCodePoint(),x=!0;if(x){var D=parseInt(c.apply(void 0,v.map(function(j){return j===sm?yB:j})),16),O=parseInt(c.apply(void 0,v.map(function(j){return j===sm?CB:j})),16);return{type:30,start:D,end:O}}var H=parseInt(c.apply(void 0,v),16);if(this.peekCodePoint(0)===$a&&Yc(this.peekCodePoint(1))){this.consumeCodePoint(),C=this.consumeCodePoint();for(var W=[];Yc(C)&&W.length<6;)W.push(C),C=this.consumeCodePoint();var O=parseInt(c.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)===rm?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rm?(this.consumeCodePoint(),{type:19,value:v}):{type:20,value:v}},b.prototype.consumeUrlToken=function(){var v=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Io)return{type:22,value:""};var C=this.peekCodePoint(0);if(C===im||C===tm){var x=this.consumeStringToken(this.consumeCodePoint());return x.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Io||this.peekCodePoint(0)===$A)?(this.consumeCodePoint(),{type:22,value:x.value}):(this.consumeBadUrlRemnants(),lm)}for(;;){var D=this.consumeCodePoint();if(D===Io||D===$A)return{type:22,value:c.apply(void 0,v)};if(am(D))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Io||this.peekCodePoint(0)===$A?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,v)}):(this.consumeBadUrlRemnants(),lm);if(D===tm||D===im||D===rm||vO(D))return this.consumeBadUrlRemnants(),lm;if(D===IA)if(uh(D,this.peekCodePoint(0)))v.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),lm;else v.push(D)}},b.prototype.consumeWhiteSpace=function(){for(;am(this.peekCodePoint(0));)this.consumeCodePoint()},b.prototype.consumeBadUrlRemnants=function(){for(;;){var v=this.consumeCodePoint();if(v===$A||v===Io)return;uh(v,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},b.prototype.consumeStringSlice=function(v){for(var C=5e4,x="";v>0;){var D=Math.min(C,v);x+=c.apply(void 0,this._value.splice(0,D)),v-=D}return this._value.shift(),x},b.prototype.consumeStringToken=function(v){var C="",x=0;do{var D=this._value[x];if(D===Io||D===void 0||D===v)return C+=this.consumeStringSlice(x),{type:0,value:C};if(D===em)return this._value.splice(0,x),IO;if(D===IA){var O=this._value[x+1];O!==Io&&O!==void 0&&(O===em?(C+=this.consumeStringSlice(x),x=-1,this._value.shift()):uh(D,O)&&(C+=this.consumeStringSlice(x),C+=c(this.consumeEscapedCodePoint()),x=-1))}x++}while(!0)},b.prototype.consumeNumber=function(){var v=[],C=LA,x=this.peekCodePoint(0);for((x===Cu||x===$a)&&v.push(this.consumeCodePoint());la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());x=this.peekCodePoint(0);var D=this.peekCodePoint(1);if(x===OA&&la(D))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=pB;la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());x=this.peekCodePoint(0),D=this.peekCodePoint(1);var O=this.peekCodePoint(2);if((x===_B||x===bB)&&((D===Cu||D===$a)&&la(O)||la(D)))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=pB;la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());return[bO(v),C]},b.prototype.consumeNumericToken=function(){var v=this.consumeNumber(),C=v[0],x=v[1],D=this.peekCodePoint(0),O=this.peekCodePoint(1),H=this.peekCodePoint(2);if(om(D,O,H)){var W=this.consumeName();return{type:15,number:C,flags:x,unit:W}}return D===N$?(this.consumeCodePoint(),{type:16,number:C,flags:x}):{type:17,number:C,flags:x}},b.prototype.consumeEscapedCodePoint=function(){var v=this.consumeCodePoint();if(Yc(v)){for(var C=c(v);Yc(this.peekCodePoint(0))&&C.length<6;)C+=c(this.consumeCodePoint());am(this.peekCodePoint(0))&&this.consumeCodePoint();var x=parseInt(C,16);return x===0||pO(x)||x>1114111?gB:x}return v===Io?gB:v},b.prototype.consumeName=function(){for(var v="";;){var C=this.consumeCodePoint();if(wB(C))v+=c(C);else if(uh(C,this.peekCodePoint(0)))v+=c(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(C),v}},b})(),SB=(function(){function b(v){this._tokens=v}return b.create=function(v){var C=new BB;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:[]},x=this.consumeToken();;){if(x.type===32||NO(x,v))return C;this.reconsumeToken(x),C.values.push(this.consumeComponentValue()),x=this.consumeToken()}},b.prototype.consumeFunction=function(v){for(var C={name:v.value,values:[],type:18};;){var x=this.consumeToken();if(x.type===32||x.type===3)return C;this.reconsumeToken(x),C.values.push(this.consumeComponentValue())}},b.prototype.consumeToken=function(){var v=this._tokens.shift();return typeof v>"u"?ob:v},b.prototype.reconsumeToken=function(v){this._tokens.unshift(v)},b})(),EA=function(b){return b.type===15},Kc=function(b){return b.type===17},lr=function(b){return b.type===20},VO=function(b){return b.type===0},lb=function(b,v){return lr(b)&&b.value===v},FB=function(b){return b.type!==31},Zc=function(b){return b.type!==31&&b.type!==4},ko=function(b){var v=[],C=[];return b.forEach(function(x){if(x.type===4){if(C.length===0)throw new Error("Error parsing function args, zero tokens for arg");v.push(C),C=[];return}x.type!==31&&C.push(x)}),C.length&&v.push(C),v},NO=function(b,v){return v===11&&b.type===12||v===28&&b.type===29?!0:v===2&&b.type===3},ch=function(b){return b.type===17||b.type===15},cs=function(b){return b.type===16||ch(b)},TB=function(b){return b.length>1?[b[0],b[1]]:[b[0]]},Qs={type:17,number:0,flags:LA},hb={type:16,number:50,flags:LA},dh={type:16,number:100,flags:LA},MA=function(b,v,C){var x=b[0],D=b[1];return[_r(x,v),_r(typeof D<"u"?D:x,C)]},_r=function(b,v){if(b.type===16)return b.number/100*v;if(EA(b))switch(b.unit){case"rem":case"em":return 16*b.number;default:return b.number}return b.number},PB="deg",DB="grad",LB="rad",IB="turn",hm={name:"angle",parse:function(b,v){if(v.type===15)switch(v.unit){case PB:return Math.PI*v.number/180;case DB:return Math.PI/200*v.number;case LB:return v.number;case IB:return Math.PI*2*v.number}throw new Error("Unsupported angle type")}},kB=function(b){return b.type===15&&(b.unit===PB||b.unit===DB||b.unit===LB||b.unit===IB)},$B=function(b){var v=b.filter(lr).map(function(C){return C.value}).join(" ");switch(v){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Qs,Qs];case"to top":case"bottom":return Bn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Qs,dh];case"to right":case"left":return Bn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[dh,dh];case"to bottom":case"top":return Bn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[dh,Qs];case"to left":case"right":return Bn(270)}return 0},Bn=function(b){return Math.PI*b/180},Ah={name:"color",parse:function(b,v){if(v.type===18){var C=HO[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 x=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3);return fh(parseInt(x+x,16),parseInt(D+D,16),parseInt(O+O,16),1)}if(v.value.length===4){var x=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3),H=v.value.substring(3,4);return fh(parseInt(x+x,16),parseInt(D+D,16),parseInt(O+O,16),parseInt(H+H,16)/255)}if(v.value.length===6){var x=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6);return fh(parseInt(x,16),parseInt(D,16),parseInt(O,16),1)}if(v.value.length===8){var x=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6),H=v.value.substring(6,8);return fh(parseInt(x,16),parseInt(D,16),parseInt(O,16),parseInt(H,16)/255)}}if(v.type===20){var W=Fl[v.value.toUpperCase()];if(typeof W<"u")return W}return Fl.TRANSPARENT}},ph=function(b){return(255&b)===0},Is=function(b){var v=255&b,C=255&b>>8,x=255&b>>16,D=255&b>>24;return v<255?"rgba("+D+","+x+","+C+","+v/255+")":"rgb("+D+","+x+","+C+")"},fh=function(b,v,C,x){return(b<<24|v<<16|C<<8|Math.round(x*255)<<0)>>>0},OB=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},EB=function(b,v){var C=v.filter(Zc);if(C.length===3){var x=C.map(OB),D=x[0],O=x[1],H=x[2];return fh(D,O,H,1)}if(C.length===4){var W=C.map(OB),D=W[0],O=W[1],H=W[2],j=W[3];return fh(D,O,H,j)}return 0};function ub(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 MB=function(b,v){var C=v.filter(Zc),x=C[0],D=C[1],O=C[2],H=C[3],W=(x.type===17?Bn(x.number):hm.parse(b,x))/(Math.PI*2),j=cs(D)?D.number/100:0,se=cs(O)?O.number/100:0,oe=typeof H<"u"&&cs(H)?_r(H,1):1;if(j===0)return fh(se*255,se*255,se*255,1);var Ae=se<=.5?se*(j+1):se+j-se*j,Ce=se*2-Ae,ot=ub(Ce,Ae,W+1/3),Ue=ub(Ce,Ae,W),Ke=ub(Ce,Ae,W-1/3);return fh(ot*255,Ue*255,Ke*255,oe)},HO={hsl:MB,hsla:MB,rgb:EB,rgba:EB},RA=function(b,v){return Ah.parse(b,SB.create(v).parseComponentValue())},Fl={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},QO={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(lr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},jO={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},um=function(b,v){var C=Ah.parse(b,v[0]),x=v[1];return x&&cs(x)?{color:C,stop:x}:{color:C,stop:null}},RB=function(b,v){var C=b[0],x=b[b.length-1];C.stop===null&&(C.stop=Qs),x.stop===null&&(x.stop=dh);for(var D=[],O=0,H=0;H<b.length;H++){var W=b[H].stop;if(W!==null){var j=_r(W,v);j>O?D.push(j):D.push(O),O=j}else D.push(null)}for(var se=null,H=0;H<D.length;H++){var oe=D[H];if(oe===null)se===null&&(se=H);else if(se!==null){for(var Ae=H-se,Ce=D[se-1],ot=(oe-Ce)/(Ae+1),Ue=1;Ue<=Ae;Ue++)D[se+Ue-1]=ot*Ue;se=null}}return b.map(function(Ke,ri){var bt=Ke.color;return{color:bt,stop:Math.max(Math.min(1,D[ri]/v),0)}})},WO=function(b,v,C){var x=v/2,D=C/2,O=_r(b[0],v)-x,H=D-_r(b[1],C);return(Math.atan2(H,O)+Math.PI*2)%(Math.PI*2)},XO=function(b,v,C){var x=typeof b=="number"?b:WO(b,v,C),D=Math.abs(v*Math.sin(x))+Math.abs(C*Math.cos(x)),O=v/2,H=C/2,W=D/2,j=Math.sin(x-Math.PI/2)*W,se=Math.cos(x-Math.PI/2)*W;return[D,O-se,O+se,H-j,H+j]},eo=function(b,v){return Math.sqrt(b*b+v*v)},UB=function(b,v,C,x,D){var O=[[0,0],[0,v],[b,0],[b,v]];return O.reduce(function(H,W){var j=W[0],se=W[1],oe=eo(C-j,x-se);return(D?oe<H.optimumDistance:oe>H.optimumDistance)?{optimumCorner:W,optimumDistance:oe}:H},{optimumDistance:D?1/0:-1/0,optimumCorner:null}).optimumCorner},zO=function(b,v,C,x,D){var O=0,H=0;switch(b.size){case 0:b.shape===0?O=H=Math.min(Math.abs(v),Math.abs(v-x),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.min(Math.abs(v),Math.abs(v-x)),H=Math.min(Math.abs(C),Math.abs(C-D)));break;case 2:if(b.shape===0)O=H=Math.min(eo(v,C),eo(v,C-D),eo(v-x,C),eo(v-x,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-x)),j=UB(x,D,v,C,!0),se=j[0],oe=j[1];O=eo(se-v,(oe-C)/W),H=W*O}break;case 1:b.shape===0?O=H=Math.max(Math.abs(v),Math.abs(v-x),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.max(Math.abs(v),Math.abs(v-x)),H=Math.max(Math.abs(C),Math.abs(C-D)));break;case 3:if(b.shape===0)O=H=Math.max(eo(v,C),eo(v,C-D),eo(v-x,C),eo(v-x,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-x)),Ae=UB(x,D,v,C,!1),se=Ae[0],oe=Ae[1];O=eo(se-v,(oe-C)/W),H=W*O}break}return Array.isArray(b.size)&&(O=_r(b.size[0],x),H=b.size.length===2?_r(b.size[1],D):O),[O,H]},GO=function(b,v){var C=Bn(180),x=[];return ko(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&H.value==="to"){C=$B(D);return}else if(kB(H)){C=hm.parse(b,H);return}}var W=um(b,D);x.push(W)}),{angle:C,stops:x,type:1}},cm=function(b,v){var C=Bn(180),x=[];return ko(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=$B(D);return}else if(kB(H)){C=(hm.parse(b,H)+Bn(270))%Bn(360);return}}var W=um(b,D);x.push(W)}),{angle:C,stops:x,type:1}},YO=function(b,v){var C=Bn(180),x=[],D=1,O=0,H=3,W=[];return ko(v).forEach(function(j,se){var oe=j[0];if(se===0){if(lr(oe)&&oe.value==="linear"){D=1;return}else if(lr(oe)&&oe.value==="radial"){D=2;return}}if(oe.type===18){if(oe.name==="from"){var Ae=Ah.parse(b,oe.values[0]);x.push({stop:Qs,color:Ae})}else if(oe.name==="to"){var Ae=Ah.parse(b,oe.values[0]);x.push({stop:dh,color:Ae})}else if(oe.name==="color-stop"){var Ce=oe.values.filter(Zc);if(Ce.length===2){var Ae=Ah.parse(b,Ce[1]),ot=Ce[0];Kc(ot)&&x.push({stop:{type:16,number:ot.number*100,flags:ot.flags},color:Ae})}}}}),D===1?{angle:(C+Bn(180))%Bn(360),stops:x,type:D}:{size:H,shape:O,stops:x,position:W,type:D}},VB="closest-side",NB="farthest-side",HB="closest-corner",QB="farthest-corner",jB="circle",WB="ellipse",XB="cover",zB="contain",KO=function(b,v){var C=0,x=3,D=[],O=[];return ko(v).forEach(function(H,W){var j=!0;if(W===0){var se=!1;j=H.reduce(function(Ae,Ce){if(se)if(lr(Ce))switch(Ce.value){case"center":return O.push(hb),Ae;case"top":case"left":return O.push(Qs),Ae;case"right":case"bottom":return O.push(dh),Ae}else(cs(Ce)||ch(Ce))&&O.push(Ce);else if(lr(Ce))switch(Ce.value){case jB:return C=0,!1;case WB:return C=1,!1;case"at":return se=!0,!1;case VB:return x=0,!1;case XB:case NB:return x=1,!1;case zB:case HB:return x=2,!1;case QB:return x=3,!1}else if(ch(Ce)||cs(Ce))return Array.isArray(x)||(x=[]),x.push(Ce),!1;return Ae},j)}if(j){var oe=um(b,H);D.push(oe)}}),{size:x,shape:C,stops:D,position:O,type:2}},dm=function(b,v){var C=0,x=3,D=[],O=[];return ko(v).forEach(function(H,W){var j=!0;if(W===0?j=H.reduce(function(oe,Ae){if(lr(Ae))switch(Ae.value){case"center":return O.push(hb),!1;case"top":case"left":return O.push(Qs),!1;case"right":case"bottom":return O.push(dh),!1}else if(cs(Ae)||ch(Ae))return O.push(Ae),!1;return oe},j):W===1&&(j=H.reduce(function(oe,Ae){if(lr(Ae))switch(Ae.value){case jB:return C=0,!1;case WB:return C=1,!1;case zB:case VB:return x=0,!1;case NB:return x=1,!1;case HB:return x=2,!1;case XB:case QB:return x=3,!1}else if(ch(Ae)||cs(Ae))return Array.isArray(x)||(x=[]),x.push(Ae),!1;return oe},j)),j){var se=um(b,H);D.push(se)}}),{size:x,shape:C,stops:D,position:O,type:2}},ZO=function(b){return b.type===1},qO=function(b){return b.type===2},cb={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 x=GB[v.name];if(typeof x>"u")throw new Error('Attempting to parse an unsupported image function "'+v.name+'"');return x(b,v.values)}throw new Error("Unsupported image type "+v.type)}};function JO(b){return!(b.type===20&&b.value==="none")&&(b.type!==18||!!GB[b.name])}var GB={"linear-gradient":GO,"-moz-linear-gradient":cm,"-ms-linear-gradient":cm,"-o-linear-gradient":cm,"-webkit-linear-gradient":cm,"radial-gradient":KO,"-moz-radial-gradient":dm,"-ms-radial-gradient":dm,"-o-radial-gradient":dm,"-webkit-radial-gradient":dm,"-webkit-gradient":YO},eE={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(x){return Zc(x)&&JO(x)}).map(function(x){return cb.parse(b,x)})}},tE={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(lr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},iE={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(b,v){return ko(v).map(function(C){return C.filter(cs)}).map(TB)}},rE={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(b,v){return ko(v).map(function(C){return C.filter(lr).map(function(x){return x.value}).join(" ")}).map(sE)}},sE=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}},qc;(function(b){b.AUTO="auto",b.CONTAIN="contain",b.COVER="cover"})(qc||(qc={}));var aE={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(b,v){return ko(v).map(function(C){return C.filter(nE)})}},nE=function(b){return lr(b)||cs(b)},Am=function(b){return{name:"border-"+b+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},oE=Am("top"),lE=Am("right"),hE=Am("bottom"),uE=Am("left"),pm=function(b){return{name:"border-radius-"+b,initialValue:"0 0",prefix:!1,type:1,parse:function(v,C){return TB(C.filter(cs))}}},cE=pm("top-left"),dE=pm("top-right"),AE=pm("bottom-right"),pE=pm("bottom-left"),fm=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}}},fE=fm("top"),mE=fm("right"),gE=fm("bottom"),yE=fm("left"),mm=function(b){return{name:"border-"+b+"-width",initialValue:"0",type:0,prefix:!1,parse:function(v,C){return EA(C)?C.number:0}}},vE=mm("top"),bE=mm("right"),xE=mm("bottom"),_E=mm("left"),CE={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wE={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(b,v){return v==="rtl"?1:0}},BE={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).reduce(function(C,x){return C|SE(x.value)},0)}},SE=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},FE={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}},TE={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}},gm;(function(b){b.NORMAL="normal",b.STRICT="strict"})(gm||(gm={}));var PE={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="strict"?gm.STRICT:gm.NORMAL}},DE={name:"line-height",initialValue:"normal",prefix:!1,type:4},YB=function(b,v){return lr(b)&&b.value==="normal"?1.2*v:b.type===17?v*b.number:cs(b)?_r(b,v):v},LE={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(b,v){return v.type===20&&v.value==="none"?null:cb.parse(b,v)}},IE={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(b,v){return v==="inside"?0:1}},db={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}}},ym=function(b){return{name:"margin-"+b,initialValue:"0",prefix:!1,type:4}},kE=ym("top"),$E=ym("right"),OE=ym("bottom"),EE=ym("left"),ME={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).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}})}},RE={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="break-word"?"break-word":"normal"}},vm=function(b){return{name:"padding-"+b,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},UE=vm("top"),VE=vm("right"),NE=vm("bottom"),HE=vm("left"),QE={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}}},jE={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}},WE={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&lb(v[0],"none")?[]:ko(v).map(function(C){for(var x={color:Fl.TRANSPARENT,offsetX:Qs,offsetY:Qs,blur:Qs},D=0,O=0;O<C.length;O++){var H=C[O];ch(H)?(D===0?x.offsetX=H:D===1?x.offsetY=H:x.blur=H,D++):x.color=Ah.parse(b,H)}return x})}},XE={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}},zE={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=KE[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported transform function "'+v.name+'"');return C(v.values)}return null}},GE=function(b){var v=b.filter(function(C){return C.type===17}).map(function(C){return C.number});return v.length===6?v:null},YE=function(b){var v=b.filter(function(j){return j.type===17}).map(function(j){return j.number}),C=v[0],x=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,x,D,O,H,W]:null},KE={matrix:GE,matrix3d:YE},KB={type:16,number:50,flags:LA},ZE=[KB,KB],qE={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(b,v){var C=v.filter(cs);return C.length!==2?ZE:[C[0],C[1]]}},JE={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}}},UA;(function(b){b.NORMAL="normal",b.BREAK_ALL="break-all",b.KEEP_ALL="keep-all"})(UA||(UA={}));for(var eM={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"break-all":return UA.BREAK_ALL;case"keep-all":return UA.KEEP_ALL;default:return UA.NORMAL}}},tM={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(b,v){if(v.type===20)return{auto:!0,order:0};if(Kc(v))return{auto:!1,order:v.number};throw new Error("Invalid z-index number parsed")}},ZB={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")}},iM={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(b,v){return Kc(v)?v.number:1}},rM={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},sM={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).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})}},aM={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(b,v){var C=[],x=[];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:x.push(C.join(" ")),C.length=0;break}}),C.length&&x.push(C.join(" ")),x.map(function(D){return D.indexOf(" ")===-1?D:"'"+D+"'"})}},nM={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},oM={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(b,v){return Kc(v)?v.number:lr(v)&&v.value==="bold"?700:400}},lM={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.filter(lr).map(function(C){return C.value})}},hM={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},uM={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}},cM={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 x=[],D=v.filter(FB),O=0;O<D.length;O++){var H=D[O],W=D[O+1];if(H.type===20){var j=W&&Kc(W)?W.number:1;x.push({counter:H.value,increment:j})}}return x}},dM={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return[];for(var C=[],x=v.filter(FB),D=0;D<x.length;D++){var O=x[D],H=x[D+1];if(lr(O)&&O.value!=="none"){var W=H&&Kc(H)?H.number:0;C.push({counter:O.value,reset:W})}}return C}},AM={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(b,v){return v.filter(EA).map(function(C){return ZB.parse(b,C)})}},pM={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 x=[],D=v.filter(VO);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;x.push({open:H,close:W})}return x}},qB=function(b,v,C){if(!b)return"";var x=b[Math.min(v,b.length-1)];return x?C?x.open:x.close:""},fM={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&lb(v[0],"none")?[]:ko(v).map(function(C){for(var x={color:255,offsetX:Qs,offsetY:Qs,blur:Qs,spread:Qs,inset:!1},D=0,O=0;O<C.length;O++){var H=C[O];lb(H,"inset")?x.inset=!0:ch(H)?(D===0?x.offsetX=H:D===1?x.offsetY=H:D===2?x.blur=H:x.spread=H,D++):x.color=Ah.parse(b,H)}return x})}},mM={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(b,v){var C=[0,1,2],x=[];return v.filter(lr).forEach(function(D){switch(D.value){case"stroke":x.push(1);break;case"fill":x.push(0);break;case"markers":x.push(2);break}}),C.forEach(function(D){x.indexOf(D)===-1&&x.push(D)}),x}},gM={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},yM={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(b,v){return EA(v)?v.number:0}},vM=(function(){function b(v,C){var x,D;this.animationDuration=At(v,AM,C.animationDuration),this.backgroundClip=At(v,QO,C.backgroundClip),this.backgroundColor=At(v,jO,C.backgroundColor),this.backgroundImage=At(v,eE,C.backgroundImage),this.backgroundOrigin=At(v,tE,C.backgroundOrigin),this.backgroundPosition=At(v,iE,C.backgroundPosition),this.backgroundRepeat=At(v,rE,C.backgroundRepeat),this.backgroundSize=At(v,aE,C.backgroundSize),this.borderTopColor=At(v,oE,C.borderTopColor),this.borderRightColor=At(v,lE,C.borderRightColor),this.borderBottomColor=At(v,hE,C.borderBottomColor),this.borderLeftColor=At(v,uE,C.borderLeftColor),this.borderTopLeftRadius=At(v,cE,C.borderTopLeftRadius),this.borderTopRightRadius=At(v,dE,C.borderTopRightRadius),this.borderBottomRightRadius=At(v,AE,C.borderBottomRightRadius),this.borderBottomLeftRadius=At(v,pE,C.borderBottomLeftRadius),this.borderTopStyle=At(v,fE,C.borderTopStyle),this.borderRightStyle=At(v,mE,C.borderRightStyle),this.borderBottomStyle=At(v,gE,C.borderBottomStyle),this.borderLeftStyle=At(v,yE,C.borderLeftStyle),this.borderTopWidth=At(v,vE,C.borderTopWidth),this.borderRightWidth=At(v,bE,C.borderRightWidth),this.borderBottomWidth=At(v,xE,C.borderBottomWidth),this.borderLeftWidth=At(v,_E,C.borderLeftWidth),this.boxShadow=At(v,fM,C.boxShadow),this.color=At(v,CE,C.color),this.direction=At(v,wE,C.direction),this.display=At(v,BE,C.display),this.float=At(v,FE,C.cssFloat),this.fontFamily=At(v,aM,C.fontFamily),this.fontSize=At(v,nM,C.fontSize),this.fontStyle=At(v,hM,C.fontStyle),this.fontVariant=At(v,lM,C.fontVariant),this.fontWeight=At(v,oM,C.fontWeight),this.letterSpacing=At(v,TE,C.letterSpacing),this.lineBreak=At(v,PE,C.lineBreak),this.lineHeight=At(v,DE,C.lineHeight),this.listStyleImage=At(v,LE,C.listStyleImage),this.listStylePosition=At(v,IE,C.listStylePosition),this.listStyleType=At(v,db,C.listStyleType),this.marginTop=At(v,kE,C.marginTop),this.marginRight=At(v,$E,C.marginRight),this.marginBottom=At(v,OE,C.marginBottom),this.marginLeft=At(v,EE,C.marginLeft),this.opacity=At(v,iM,C.opacity);var O=At(v,ME,C.overflow);this.overflowX=O[0],this.overflowY=O[O.length>1?1:0],this.overflowWrap=At(v,RE,C.overflowWrap),this.paddingTop=At(v,UE,C.paddingTop),this.paddingRight=At(v,VE,C.paddingRight),this.paddingBottom=At(v,NE,C.paddingBottom),this.paddingLeft=At(v,HE,C.paddingLeft),this.paintOrder=At(v,mM,C.paintOrder),this.position=At(v,jE,C.position),this.textAlign=At(v,QE,C.textAlign),this.textDecorationColor=At(v,rM,(x=C.textDecorationColor)!==null&&x!==void 0?x:C.color),this.textDecorationLine=At(v,sM,(D=C.textDecorationLine)!==null&&D!==void 0?D:C.textDecoration),this.textShadow=At(v,WE,C.textShadow),this.textTransform=At(v,XE,C.textTransform),this.transform=At(v,zE,C.transform),this.transformOrigin=At(v,qE,C.transformOrigin),this.visibility=At(v,JE,C.visibility),this.webkitTextStrokeColor=At(v,gM,C.webkitTextStrokeColor),this.webkitTextStrokeWidth=At(v,yM,C.webkitTextStrokeWidth),this.wordBreak=At(v,eM,C.wordBreak),this.zIndex=At(v,tM,C.zIndex)}return b.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},b.prototype.isTransparent=function(){return ph(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})(),bM=(function(){function b(v,C){this.content=At(v,uM,C.content),this.quotes=At(v,pM,C.quotes)}return b})(),JB=(function(){function b(v,C){this.counterIncrement=At(v,cM,C.counterIncrement),this.counterReset=At(v,dM,C.counterReset)}return b})(),At=function(b,v,C){var x=new BB,D=C!==null&&typeof C<"u"?C.toString():v.initialValue;x.write(D);var O=new SB(x.read());switch(v.type){case 2:var H=O.parseComponentValue();return v.parse(b,lr(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 hm.parse(b,O.parseComponentValue());case"color":return Ah.parse(b,O.parseComponentValue());case"image":return cb.parse(b,O.parseComponentValue());case"length":var W=O.parseComponentValue();return ch(W)?W:Qs;case"length-percentage":var j=O.parseComponentValue();return cs(j)?j:Qs;case"time":return ZB.parse(b,O.parseComponentValue())}break}},xM="data-html2canvas-debug",_M=function(b){var v=b.getAttribute(xM);switch(v){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ab=function(b,v){var C=_M(b);return C===1||v===C},$o=(function(){function b(v,C){if(this.context=v,this.textNodes=[],this.elements=[],this.flags=0,Ab(C,3))debugger;this.styles=new vM(v,window.getComputedStyle(C,null)),Fb(C)&&(this.styles.animationDuration.some(function(x){return x>0})&&(C.style.animationDuration="0s"),this.styles.transform!==null&&(C.style.transform="none")),this.bounds=o(this.context,C),Ab(C,4)&&(this.flags|=16)}return b})(),CM="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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ToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQG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VAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAA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A4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",eS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",VA=typeof Uint8Array>"u"?[]:new Uint8Array(256),bm=0;bm<eS.length;bm++)VA[eS.charCodeAt(bm)]=bm;for(var wM=function(b){var v=b.length*.75,C=b.length,x,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var se=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),oe=Array.isArray(se)?se:new Uint8Array(se);for(x=0;x<C;x+=4)O=VA[b.charCodeAt(x)],H=VA[b.charCodeAt(x+1)],W=VA[b.charCodeAt(x+2)],j=VA[b.charCodeAt(x+3)],oe[D++]=O<<2|H>>4,oe[D++]=(H&15)<<4|W>>2,oe[D++]=(W&3)<<6|j&63;return se},BM=function(b){for(var v=b.length,C=[],x=0;x<v;x+=2)C.push(b[x+1]<<8|b[x]);return C},SM=function(b){for(var v=b.length,C=[],x=0;x<v;x+=4)C.push(b[x+3]<<24|b[x+2]<<16|b[x+1]<<8|b[x]);return C},wu=5,pb=11,fb=2,FM=pb-wu,tS=65536>>wu,TM=1<<wu,mb=TM-1,PM=1024>>wu,DM=tS+PM,LM=DM,IM=32,kM=LM+IM,$M=65536>>pb,OM=1<<FM,EM=OM-1,iS=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},MM=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},RM=function(b,v){var C=wM(b),x=Array.isArray(C)?SM(C):new Uint32Array(C),D=Array.isArray(C)?BM(C):new Uint16Array(C),O=24,H=iS(D,O/2,x[4]/2),W=x[5]===2?iS(D,(O+x[4])/2):MM(x,Math.ceil((O+x[4])/4));return new UM(x[0],x[1],x[2],x[3],H,W)},UM=(function(){function b(v,C,x,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=x,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>>wu],C=(C<<fb)+(v&mb),this.data[C];if(v<=65535)return C=this.index[tS+(v-55296>>wu)],C=(C<<fb)+(v&mb),this.data[C];if(v<this.highStart)return C=kM-$M+(v>>pb),C=this.index[C],C+=v>>wu&EM,C=this.index[C],C=(C<<fb)+(v&mb),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),rS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",VM=typeof Uint8Array>"u"?[]:new Uint8Array(256),xm=0;xm<rS.length;xm++)VM[rS.charCodeAt(xm)]=xm;var NM=1,gb=2,yb=3,sS=4,aS=5,HM=7,nS=8,vb=9,bb=10,oS=11,lS=12,hS=13,uS=14,xb=15,QM=function(b){for(var v=[],C=0,x=b.length;C<x;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<x){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},jM=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 x=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?x.push(H):(H-=65536,x.push((H>>10)+55296,H%1024+56320)),(D+1===C||x.length>16384)&&(O+=String.fromCharCode.apply(String,x),x.length=0)}return O},WM=RM(CM),Sn="\xD7",_b="\xF7",XM=function(b){return WM.get(b)},zM=function(b,v,C){var x=C-2,D=v[x],O=v[C-1],H=v[C];if(O===gb&&H===yb)return Sn;if(O===gb||O===yb||O===sS||H===gb||H===yb||H===sS)return _b;if(O===nS&&[nS,vb,oS,lS].indexOf(H)!==-1||(O===oS||O===vb)&&(H===vb||H===bb)||(O===lS||O===bb)&&H===bb||H===hS||H===aS||H===HM||O===NM)return Sn;if(O===hS&&H===uS){for(;D===aS;)D=v[--x];if(D===uS)return Sn}if(O===xb&&H===xb){for(var W=0;D===xb;)W++,D=v[--x];if(W%2===0)return Sn}return _b},GM=function(b){var v=QM(b),C=v.length,x=0,D=0,O=v.map(XM);return{next:function(){if(x>=C)return{done:!0,value:null};for(var H=Sn;x<C&&(H=zM(v,O,++x))===Sn;);if(H!==Sn||x===C){var W=jM.apply(null,v.slice(D,x));return D=x,{value:W,done:!1}}return{done:!0,value:null}}}},YM=function(b){for(var v=GM(b),C=[],x;!(x=v.next()).done;)x.value&&C.push(x.value.slice());return C},KM=function(b){var v=123;if(b.createRange){var C=b.createRange();if(C.getBoundingClientRect){var x=b.createElement("boundtest");x.style.height=v+"px",x.style.display="block",b.body.appendChild(x),C.selectNode(x);var D=C.getBoundingClientRect(),O=Math.round(D.height);if(b.body.removeChild(x),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"?"&#128104;".repeat(10):"";var x=v.firstChild,D=h(x.data).map(function(j){return c(j)}),O=0,H={},W=D.every(function(j,se){C.setStart(x,O),C.setEnd(x,O+j.length);var oe=C.getBoundingClientRect();O+=j.length;var Ae=oe.x>H.x||oe.y>H.y;return H=oe,se===0?!0:Ae});return b.body.removeChild(v),W},qM=function(){return typeof new Image().crossOrigin<"u"},JM=function(){return typeof new XMLHttpRequest().responseType=="string"},eR=function(b){var v=new Image,C=b.createElement("canvas"),x=C.getContext("2d");if(!x)return!1;v.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{x.drawImage(v,0,0),C.toDataURL()}catch{return!1}return!0},cS=function(b){return b[0]===0&&b[1]===255&&b[2]===0&&b[3]===255},tR=function(b){var v=b.createElement("canvas"),C=100;v.width=C,v.height=C;var x=v.getContext("2d");if(!x)return Promise.reject(!1);x.fillStyle="rgb(0, 255, 0)",x.fillRect(0,0,C,C);var D=new Image,O=v.toDataURL();D.src=O;var H=Cb(C,C,0,0,D);return x.fillStyle="red",x.fillRect(0,0,C,C),dS(H).then(function(W){x.drawImage(W,0,0);var j=x.getImageData(0,0,C,C).data;x.fillStyle="red",x.fillRect(0,0,C,C);var se=b.createElement("div");return se.style.backgroundImage="url("+O+")",se.style.height=C+"px",cS(j)?dS(Cb(C,C,0,0,se)):Promise.reject(!1)}).then(function(W){return x.drawImage(W,0,0),cS(x.getImageData(0,0,C,C).data)}).catch(function(){return!1})},Cb=function(b,v,C,x,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",x.toString()),W.setAttributeNS(null,"externalResourcesRequired","true"),H.appendChild(W),W.appendChild(D),H},dS=function(b){return new Promise(function(v,C){var x=new Image;x.onload=function(){return v(x)},x.onerror=C,x.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(b))})},js={get SUPPORT_RANGE_BOUNDS(){var b=KM(document);return Object.defineProperty(js,"SUPPORT_RANGE_BOUNDS",{value:b}),b},get SUPPORT_WORD_BREAKING(){var b=js.SUPPORT_RANGE_BOUNDS&&ZM(document);return Object.defineProperty(js,"SUPPORT_WORD_BREAKING",{value:b}),b},get SUPPORT_SVG_DRAWING(){var b=eR(document);return Object.defineProperty(js,"SUPPORT_SVG_DRAWING",{value:b}),b},get SUPPORT_FOREIGNOBJECT_DRAWING(){var b=typeof Array.from=="function"&&typeof window.fetch=="function"?tR(document):Promise.resolve(!1);return Object.defineProperty(js,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:b}),b},get SUPPORT_CORS_IMAGES(){var b=qM();return Object.defineProperty(js,"SUPPORT_CORS_IMAGES",{value:b}),b},get SUPPORT_RESPONSE_TYPE(){var b=JM();return Object.defineProperty(js,"SUPPORT_RESPONSE_TYPE",{value:b}),b},get SUPPORT_CORS_XHR(){var b="withCredentials"in new XMLHttpRequest;return Object.defineProperty(js,"SUPPORT_CORS_XHR",{value:b}),b},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var b=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(js,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:b}),b}},NA=(function(){function b(v,C){this.text=v,this.bounds=C}return b})(),iR=function(b,v,C,x){var D=aR(v,C),O=[],H=0;return D.forEach(function(W){if(C.textDecorationLine.length||W.trim().length>0)if(js.SUPPORT_RANGE_BOUNDS){var j=AS(x,H,W.length).getClientRects();if(j.length>1){var se=wb(W),oe=0;se.forEach(function(Ce){O.push(new NA(Ce,n.fromDOMRectList(b,AS(x,oe+H,Ce.length).getClientRects()))),oe+=Ce.length})}else O.push(new NA(W,n.fromDOMRectList(b,j)))}else{var Ae=x.splitText(W.length);O.push(new NA(W,rR(b,x))),x=Ae}else js.SUPPORT_RANGE_BOUNDS||(x=x.splitText(W.length));H+=W.length}),O},rR=function(b,v){var C=v.ownerDocument;if(C){var x=C.createElement("html2canvaswrapper");x.appendChild(v.cloneNode(!0));var D=v.parentNode;if(D){D.replaceChild(x,v);var O=o(b,x);return x.firstChild&&D.replaceChild(x.firstChild,x),O}}return n.EMPTY},AS=function(b,v,C){var x=b.ownerDocument;if(!x)throw new Error("Node has no owner document");var D=x.createRange();return D.setStart(b,v),D.setEnd(b,v+C),D},wb=function(b){if(js.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 YM(b)},sR=function(b,v){if(js.SUPPORT_NATIVE_TEXT_SEGMENTATION){var C=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(C.segment(b)).map(function(x){return x.segment})}return oR(b,v)},aR=function(b,v){return v.letterSpacing!==0?wb(b):sR(b,v)},nR=[32,160,4961,65792,65793,4153,4241],oR=function(b,v){for(var C=$$(b,{lineBreak:v.lineBreak,wordBreak:v.overflowWrap==="break-word"?"break-word":v.wordBreak}),x=[],D,O=function(){if(D.value){var H=D.value.slice(),W=h(H),j="";W.forEach(function(se){nR.indexOf(se)===-1?j+=c(se):(j.length&&x.push(j),x.push(c(se)),j="")}),j.length&&x.push(j)}};!(D=C.next()).done;)O();return x},lR=(function(){function b(v,C,x){this.text=hR(C.data,x.textTransform),this.textBounds=iR(v,this.text,x,C)}return b})(),hR=function(b,v){switch(v){case 1:return b.toLowerCase();case 3:return b.replace(uR,cR);case 2:return b.toUpperCase();default:return b}},uR=/(^|\s|:|-|\(|\))([a-z])/g,cR=function(b,v,C){return b.length>0?v+C.toUpperCase():b},pS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.src=x.currentSrc||x.src,D.intrinsicWidth=x.naturalWidth,D.intrinsicHeight=x.naturalHeight,D.context.cache.addImage(D.src),D}return v})($o),fS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.canvas=x,D.intrinsicWidth=x.width,D.intrinsicHeight=x.height,D}return v})($o),mS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this,O=new XMLSerializer,H=o(C,x);return x.setAttribute("width",H.width+"px"),x.setAttribute("height",H.height+"px"),D.svg="data:image/svg+xml,"+encodeURIComponent(O.serializeToString(x)),D.intrinsicWidth=x.width.baseVal.value,D.intrinsicHeight=x.height.baseVal.value,D.context.cache.addImage(D.svg),D}return v})($o),gS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.value=x.value,D}return v})($o),Bb=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.start=x.start,D.reversed=typeof x.reversed=="boolean"&&x.reversed===!0,D}return v})($o),dR=[{type:15,flags:0,unit:"px",number:3}],AR=[{type:16,flags:0,number:50}],pR=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},fR=function(b){var v=b.type===mR?new Array(b.value.length+1).join("\u2022"):b.value;return v.length===0?b.placeholder||"":v},_m="checkbox",Cm="radio",mR="password",yS=707406591,Sb=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;switch(D.type=x.type.toLowerCase(),D.checked=x.checked,D.value=fR(x),(D.type===_m||D.type===Cm)&&(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=pR(D.bounds)),D.type){case _m:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=dR;break;case Cm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=AR;break}return D}return v})($o),vS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this,O=x.options[x.selectedIndex||0];return D.value=O&&O.text||"",D}return v})($o),bS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.value=x.value,D}return v})($o),xS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;D.src=x.src,D.width=parseInt(x.width,10)||0,D.height=parseInt(x.height,10)||0,D.backgroundColor=D.styles.backgroundColor;try{if(x.contentWindow&&x.contentWindow.document&&x.contentWindow.document.documentElement){D.tree=CS(C,x.contentWindow.document.documentElement);var O=x.contentWindow.document.documentElement?RA(C,getComputedStyle(x.contentWindow.document.documentElement).backgroundColor):Fl.TRANSPARENT,H=x.contentWindow.document.body?RA(C,getComputedStyle(x.contentWindow.document.body).backgroundColor):Fl.TRANSPARENT;D.backgroundColor=ph(O)?ph(H)?D.styles.backgroundColor:H:O}}catch{}return D}return v})($o),gR=["OL","UL","MENU"],wm=function(b,v,C,x){for(var D=v.firstChild,O=void 0;D;D=O)if(O=D.nextSibling,wS(D)&&D.data.trim().length>0)C.textNodes.push(new lR(b,D,C.styles));else if(Jc(D))if(DS(D)&&D.assignedNodes)D.assignedNodes().forEach(function(W){return wm(b,W,C,x)});else{var H=_S(b,D);H.styles.isVisible()&&(yR(D,H,x)?H.flags|=4:vR(H.styles)&&(H.flags|=2),gR.indexOf(D.tagName)!==-1&&(H.flags|=8),C.elements.push(H),D.slot,D.shadowRoot?wm(b,D.shadowRoot,H,x):!Sm(D)&&!BS(D)&&!Fm(D)&&wm(b,D,H,x))}},_S=function(b,v){return Pb(v)?new pS(b,v):SS(v)?new fS(b,v):BS(v)?new mS(b,v):bR(v)?new gS(b,v):xR(v)?new Bb(b,v):_R(v)?new Sb(b,v):Fm(v)?new vS(b,v):Sm(v)?new bS(b,v):TS(v)?new xS(b,v):new $o(b,v)},CS=function(b,v){var C=_S(b,v);return C.flags|=4,wm(b,v,C,C),C},yR=function(b,v,C){return v.styles.isPositionedWithZIndex()||v.styles.opacity<1||v.styles.isTransformed()||Tb(b)&&C.styles.isTransparent()},vR=function(b){return b.isPositioned()||b.isFloating()},wS=function(b){return b.nodeType===Node.TEXT_NODE},Jc=function(b){return b.nodeType===Node.ELEMENT_NODE},Fb=function(b){return Jc(b)&&typeof b.style<"u"&&!Bm(b)},Bm=function(b){return typeof b.className=="object"},bR=function(b){return b.tagName==="LI"},xR=function(b){return b.tagName==="OL"},_R=function(b){return b.tagName==="INPUT"},CR=function(b){return b.tagName==="HTML"},BS=function(b){return b.tagName==="svg"},Tb=function(b){return b.tagName==="BODY"},SS=function(b){return b.tagName==="CANVAS"},FS=function(b){return b.tagName==="VIDEO"},Pb=function(b){return b.tagName==="IMG"},TS=function(b){return b.tagName==="IFRAME"},PS=function(b){return b.tagName==="STYLE"},wR=function(b){return b.tagName==="SCRIPT"},Sm=function(b){return b.tagName==="TEXTAREA"},Fm=function(b){return b.tagName==="SELECT"},DS=function(b){return b.tagName==="SLOT"},LS=function(b){return b.tagName.indexOf("-")>0},BR=(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(x){return C.counters[x].pop()})},b.prototype.parse=function(v){var C=this,x=v.counterIncrement,D=v.counterReset,O=!0;x!==null&&x.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})(),IS={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"]},kS={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"]},SR={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"]},FR={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"]},ed=function(b,v,C,x,D,O){return b<v||b>C?QA(b,D,O.length>0):x.integers.reduce(function(H,W,j){for(;b>=W;)b-=W,H+=x.values[j];return H},"")+O},$S=function(b,v,C,x){var D="";do C||b--,D=x(b)+D,b/=v;while(b*v>=v);return D},Jr=function(b,v,C,x,D){var O=C-v+1;return(b<0?"-":"")+($S(Math.abs(b),O,x,function(H){return c(Math.floor(H%O)+v)})+D)},Bu=function(b,v,C){C===void 0&&(C=". ");var x=v.length;return $S(Math.abs(b),x,!1,function(D){return v[Math.floor(D%x)]})+C},td=1,mh=2,gh=4,HA=8,Tl=function(b,v,C,x,D,O){if(b<-9999||b>9999)return QA(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 se=H%10;se===0&&vs(O,td)&&W!==""?W=v[se]+W:se>1||se===1&&j===0||se===1&&j===1&&vs(O,mh)||se===1&&j===1&&vs(O,gh)&&b>100||se===1&&j>1&&vs(O,HA)?W=v[se]+(j>0?C[j-1]:"")+W:se===1&&j>0&&(W=C[j-1]+W),H=Math.floor(H/10)}return(b<0?x:"")+W},OS="\u5341\u767E\u5343\u842C",ES="\u62FE\u4F70\u4EDF\u842C",MS="\u30DE\u30A4\u30CA\u30B9",Db="\uB9C8\uC774\uB108\uC2A4",QA=function(b,v,C){var x=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=Jr(b,48,57,!0,x);return W.length<4?"0"+W:W;case 4:return Bu(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",D);case 6:return ed(b,1,3999,IS,3,x).toLowerCase();case 7:return ed(b,1,3999,IS,3,x);case 8:return Jr(b,945,969,!1,x);case 9:return Jr(b,97,122,!1,x);case 10:return Jr(b,65,90,!1,x);case 11:return Jr(b,1632,1641,!0,x);case 12:case 49:return ed(b,1,9999,kS,3,x);case 35:return ed(b,1,9999,kS,3,x).toLowerCase();case 13:return Jr(b,2534,2543,!0,x);case 14:case 30:return Jr(b,6112,6121,!0,x);case 15:return Bu(b,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",D);case 16:return Bu(b,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",D);case 17:case 48:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",OS,"\u8CA0",D,mh|gh|HA);case 47:return Tl(b,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ES,"\u8CA0",D,td|mh|gh|HA);case 42:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",OS,"\u8D1F",D,mh|gh|HA);case 41:return Tl(b,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ES,"\u8D1F",D,td|mh|gh|HA);case 26:return Tl(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",MS,D,0);case 25:return Tl(b,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",MS,D,td|mh|gh);case 31:return Tl(b,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Db,O,td|mh|gh);case 33:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Db,O,0);case 32:return Tl(b,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Db,O,td|mh|gh);case 18:return Jr(b,2406,2415,!0,x);case 20:return ed(b,1,19999,FR,3,x);case 21:return Jr(b,2790,2799,!0,x);case 22:return Jr(b,2662,2671,!0,x);case 22:return ed(b,1,10999,SR,3,x);case 23:return Bu(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 Bu(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 Jr(b,3302,3311,!0,x);case 28:return Bu(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 Bu(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 Jr(b,3792,3801,!0,x);case 37:return Jr(b,6160,6169,!0,x);case 38:return Jr(b,4160,4169,!0,x);case 39:return Jr(b,2918,2927,!0,x);case 40:return Jr(b,1776,1785,!0,x);case 43:return Jr(b,3046,3055,!0,x);case 44:return Jr(b,3174,3183,!0,x);case 45:return Jr(b,3664,3673,!0,x);case 46:return Jr(b,3872,3881,!0,x);default:return Jr(b,48,57,!0,x)}},RS="data-html2canvas-ignore",US=(function(){function b(v,C,x){if(this.context=v,this.options=x,this.scrolledElements=[],this.referenceElement=C,this.counters=new BR,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 x=this,D=TR(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,se=LR(D).then(function(){return i(x,void 0,void 0,function(){var oe,Ae;return r(this,function(Ce){switch(Ce.label){case 0:return this.scrolledElements.forEach(OR),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))),oe=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:Ce.sent(),Ce.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,DR(j)]:[3,4];case 3:Ce.sent(),Ce.label=4;case 4:return typeof oe=="function"?[2,Promise.resolve().then(function(){return oe(j,Ae)}).then(function(){return D})]:[2,D]}})})});return j.open(),j.write(kR(document.doctype)+"<html></html>"),$R(this.referenceElement.ownerDocument,O,H),j.replaceChild(j.adoptNode(this.documentElement),j.documentElement),j.close(),se},b.prototype.createElementClone=function(v){if(Ab(v,2))debugger;if(SS(v))return this.createCanvasClone(v);if(FS(v))return this.createVideoClone(v);if(PS(v))return this.createStyleClone(v);var C=v.cloneNode(!1);return Pb(C)&&(Pb(v)&&v.currentSrc&&v.currentSrc!==v.src&&(C.src=v.currentSrc,C.srcset=""),C.loading==="lazy"&&(C.loading="eager")),LS(C)?this.createCustomElementClone(C):C},b.prototype.createCustomElementClone=function(v){var C=document.createElement("html2canvascustomelement");return Lb(v.style,C),C},b.prototype.createStyleClone=function(v){try{var C=v.sheet;if(C&&C.cssRules){var x=[].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=x,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 x=v.ownerDocument.createElement("img");try{return x.src=v.toDataURL(),x}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 x=C.getContext("2d");try{return x&&(x.drawImage(v,0,0,C.width,C.height),this.options.allowTaint||x.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,x){(!Jc(C)||!wR(C)&&!C.hasAttribute(RS)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(C)))&&(!this.options.copyStyles||!Jc(C)||!PS(C))&&v.appendChild(this.cloneNode(C,x))},b.prototype.cloneChildNodes=function(v,C,x){for(var D=this,O=v.shadowRoot?v.shadowRoot.firstChild:v.firstChild;O;O=O.nextSibling)if(Jc(O)&&DS(O)&&typeof O.assignedNodes=="function"){var H=O.assignedNodes();H.length&&H.forEach(function(W){return D.appendChildNode(C,W,x)})}else this.appendChildNode(C,O,x)},b.prototype.cloneNode=function(v,C){if(wS(v))return document.createTextNode(v.data);if(!v.ownerDocument)return v.cloneNode(!1);var x=v.ownerDocument.defaultView;if(x&&Jc(v)&&(Fb(v)||Bm(v))){var D=this.createElementClone(v);D.style.transitionProperty="none";var O=x.getComputedStyle(v),H=x.getComputedStyle(v,":before"),W=x.getComputedStyle(v,":after");this.referenceElement===v&&Fb(D)&&(this.clonedReferenceElement=D),Tb(D)&&RR(D);var j=this.counters.parse(new JB(this.context,O)),se=this.resolvePseudoContent(v,D,H,jA.BEFORE);LS(v)&&(C=!0),FS(v)||this.cloneChildNodes(v,D,C),se&&D.insertBefore(se,D.firstChild);var oe=this.resolvePseudoContent(v,D,W,jA.AFTER);return oe&&D.appendChild(oe),this.counters.pop(j),(O&&(this.options.copyStyles||Bm(v))&&!TS(v)||C)&&Lb(O,D),(v.scrollTop!==0||v.scrollLeft!==0)&&this.scrolledElements.push([D,v.scrollLeft,v.scrollTop]),(Sm(v)||Fm(v))&&(Sm(D)||Fm(D))&&(D.value=v.value),D}return v.cloneNode(!1)},b.prototype.resolvePseudoContent=function(v,C,x,D){var O=this;if(x){var H=x.content,W=C.ownerDocument;if(!(!W||!H||H==="none"||H==="-moz-alt-content"||x.display==="none")){this.counters.parse(new JB(this.context,x));var j=new bM(this.context,x),se=W.createElement("html2canvaspseudoelement");Lb(x,se),j.content.forEach(function(Ae){if(Ae.type===0)se.appendChild(W.createTextNode(Ae.value));else if(Ae.type===22){var Ce=W.createElement("img");Ce.src=Ae.value,Ce.style.opacity="1",se.appendChild(Ce)}else if(Ae.type===18){if(Ae.name==="attr"){var ot=Ae.values.filter(lr);ot.length&&se.appendChild(W.createTextNode(v.getAttribute(ot[0].value)||""))}else if(Ae.name==="counter"){var Ue=Ae.values.filter(Zc),Ke=Ue[0],ri=Ue[1];if(Ke&&lr(Ke)){var bt=O.counters.getCounterValue(Ke.value),gt=ri&&lr(ri)?db.parse(O.context,ri.value):3;se.appendChild(W.createTextNode(QA(bt,gt,!1)))}}else if(Ae.name==="counters"){var zi=Ae.values.filter(Zc),Ke=zi[0],oi=zi[1],ri=zi[2];if(Ke&&lr(Ke)){var Ut=O.counters.getCounterValues(Ke.value),it=ri&&lr(ri)?db.parse(O.context,ri.value):3,ki=oi&&oi.type===0?oi.value:"",$i=Ut.map(function(Oa){return QA(Oa,it,!1)}).join(ki);se.appendChild(W.createTextNode($i))}}}else if(Ae.type===20)switch(Ae.value){case"open-quote":se.appendChild(W.createTextNode(qB(j.quotes,O.quoteDepth++,!0)));break;case"close-quote":se.appendChild(W.createTextNode(qB(j.quotes,--O.quoteDepth,!1)));break;default:se.appendChild(W.createTextNode(Ae.value))}}),se.className=Ib+" "+kb;var oe=D===jA.BEFORE?" "+Ib:" "+kb;return Bm(C)?C.className.baseValue+=oe:C.className+=oe,se}}},b.destroy=function(v){return v.parentNode?(v.parentNode.removeChild(v),!0):!1},b})(),jA;(function(b){b[b.BEFORE=0]="BEFORE",b[b.AFTER=1]="AFTER"})(jA||(jA={}));var TR=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(RS,"true"),b.body.appendChild(C),C},PR=function(b){return new Promise(function(v){if(b.complete){v();return}if(!b.src){v();return}b.onload=v,b.onerror=v})},DR=function(b){return Promise.all([].slice.call(b.images,0).map(PR))},LR=function(b){return new Promise(function(v,C){var x=b.contentWindow;if(!x)return C("No window assigned for iframe");var D=x.document;x.onload=b.onload=function(){x.onload=b.onload=null;var O=setInterval(function(){D.body.childNodes.length>0&&D.readyState==="complete"&&(clearInterval(O),v(b))},50)}})},IR=["all","d","content"],Lb=function(b,v){for(var C=b.length-1;C>=0;C--){var x=b.item(C);IR.indexOf(x)===-1&&v.style.setProperty(x,b.getPropertyValue(x))}return v},kR=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},$R=function(b,v,C){b&&b.defaultView&&(v!==b.defaultView.pageXOffset||C!==b.defaultView.pageYOffset)&&b.defaultView.scrollTo(v,C)},OR=function(b){var v=b[0],C=b[1],x=b[2];v.scrollLeft=C,v.scrollTop=x},ER=":before",MR=":after",Ib="___html2canvas___pseudoelement_before",kb="___html2canvas___pseudoelement_after",VS=`{
2
+ import{a as to}from"./QVD6LHQ2.js";import o from"./EF2W7QYA.js";import n from"./NGG777T3.js";import m from"./UE5DMUQ3.js";import{c as Ox,e as lg,f as hg,g as ug,h as cg,i as lp,j as hp}from"./S5OM65RV.js";import{a as PT,g as DT}from"./7BDNLABD.js";import l from"./GY72PUJO.js";import{a as gT}from"./FPDW4F45.js";import{a as Dx}from"./A3N7FAEK.js";import k from"./JKNNRHD2.js";import j from"./TUAKPBN6.js";import i from"./5KBAXDQP.js";import h from"./YPCD27EC.js";import g from"./64LZP4QQ.js";import f from"./VICPGXIO.js";import e from"./NSIRDSJE.js";import d from"./UVWAABXY.js";import c from"./3EZT4DMV.js";import b from"./ESPYLUAE.js";import{c as md,d as Tx,e as np,p as Px,q as fT,r as og,s as mT,t as op}from"./YJXIGYX6.js";import a from"./TQNTRGWQ.js";import{C as Em,D as Mm,g as Tr,h as zs,k as Lu,l as Ll,t as GA,u as As,v as YA,w as bs,x as bi,y as Yt,z as Dt}from"./Y7IQV44J.js";import{a as lF,b as hF,c as Om,g as Du}from"./MIYIXPXS.js";import{a as TT}from"./TXUK6Z75.js";import{d as Ho,e as yT,f as vT,g as bT,h as Lx,n as Ix,t as xT}from"./T5RPAQYI.js";import"./EZM4ZDQI.js";import{a as V,b as Pn,e as rt,f as Gi,h as zA,i as Ub,j as Vb,k as tr,l as Dn,m as Iu,n as Nb,p as ir,q as uF,r as ku,t as Hb,u as Qb,y as ze,z as cF}from"./ETLJKITO.js";import{A as sF,B as aF,G as nF,H as oF,g as eF,h as tF,i as nd,l as iF,n as Xs,y as rF,z as Rb}from"./GKNEQG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c:Km,nd:YF,o:ro,ob:on,oc:TF,od:yx,p:jb,pb:ox,pc:Ad,pd:KF,q:Il,qa:Wm,qb:JA,qc:PF,qd:ZF,r:Um,rb:kl,rd:Jm,s:Vt,sb:$l,sd:qF,t:Vm,tb:lx,td:JF,ub:CF,ud:eT,v:Eu,vb:ep,vc:DF,w:hd,wb:Ca,wd:ap,x:Nm,xb:Ro,xd:eg,y:Wb,yb:tp,yc:Ax,yd:tT,zb:Kt,zc:ln,zd:vx},,,,,,,{a:_T,b:CT,c:wT,d:BT,e:kx,f:$x,g:ST,h:FT},,,,{b:kT,r:Ex},{b:LT,c:IT},{c:Mx,d:Rx,e:$T},{f:OT,h:ET}])=>{var UT=ZS((Ux,Vx)=>{(function(s,t){typeof Ux=="object"&&typeof Vx<"u"?Vx.exports=t():typeof define=="function"&&define.amd?define(t):(s=typeof globalThis<"u"?globalThis:s||self,s.html2canvas=t())})(Ux,(function(){"use strict";var s=function(b,v){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,x){C.__proto__=x}||function(C,x){for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&(C[D]=x[D])},s(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");s(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,x=1,D=arguments.length;x<D;x++){C=arguments[x];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,x){function D(O){return O instanceof C?O:new C(function(H){H(O)})}return new(C||(C=Promise))(function(O,H){function W(oe){try{se(x.next(oe))}catch(Ae){H(Ae)}}function j(oe){try{se(x.throw(oe))}catch(Ae){H(Ae)}}function se(oe){oe.done?O(oe.value):D(oe.value).then(W,j)}se((x=x.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:[]},x,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(se){return function(oe){return j([se,oe])}}function j(se){if(x)throw new TypeError("Generator is already executing.");for(;C;)try{if(x=1,D&&(O=se[0]&2?D.return:se[0]?D.throw||((O=D.return)&&O.call(D),0):D.next)&&!(O=O.call(D,se[1])).done)return O;switch(D=0,O&&(se=[se[0]&2,O.value]),se[0]){case 0:case 1:O=se;break;case 4:return C.label++,{value:se[1],done:!1};case 5:C.label++,D=se[1],se=[0];continue;case 7:se=C.ops.pop(),C.trys.pop();continue;default:if(O=C.trys,!(O=O.length>0&&O[O.length-1])&&(se[0]===6||se[0]===2)){C=0;continue}if(se[0]===3&&(!O||se[1]>O[0]&&se[1]<O[3])){C.label=se[1];break}if(se[0]===6&&C.label<O[1]){C.label=O[1],O=se;break}if(O&&C.label<O[2]){C.label=O[2],C.ops.push(se);break}O[2]&&C.ops.pop(),C.trys.pop();continue}se=v.call(b,C)}catch(oe){se=[6,oe],D=0}finally{x=O=0}if(se[0]&5)throw se[1];return{value:se[0]?se[1]:void 0,done:!0}}}function a(b,v,C){if(C||arguments.length===2)for(var x=0,D=v.length,O;x<D;x++)(O||!(x in v))&&(O||(O=Array.prototype.slice.call(v,0,x)),O[x]=v[x]);return b.concat(O||v)}for(var n=(function(){function b(v,C,x,D){this.left=v,this.top=C,this.width=x,this.height=D}return b.prototype.add=function(v,C,x,D){return new b(this.left+v,this.top+C,this.width+x,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 x=Array.from(C).find(function(D){return D.width!==0});return x?new b(x.left+v.windowBounds.left,x.top+v.windowBounds.top,x.width,x.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 x=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,x,D)},h=function(b){for(var v=[],C=0,x=b.length;C<x;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<x){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},c=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 x=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?x.push(H):(H-=65536,x.push((H>>10)+55296,H%1024+56320)),(D+1===C||x.length>16384)&&(O+=String.fromCharCode.apply(String,x),x.length=0)}return O},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array>"u"?[]:new Uint8Array(256),A=0;A<u.length;A++)d[u.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,x,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var se=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),oe=Array.isArray(se)?se:new Uint8Array(se);for(x=0;x<C;x+=4)O=f[b.charCodeAt(x)],H=f[b.charCodeAt(x+1)],W=f[b.charCodeAt(x+2)],j=f[b.charCodeAt(x+3)],oe[D++]=O<<2|H>>4,oe[D++]=(H&15)<<4|W>>2,oe[D++]=(W&3)<<6|j&63;return se},y=function(b){for(var v=b.length,C=[],x=0;x<v;x+=2)C.push(b[x+1]<<8|b[x]);return C},_=function(b){for(var v=b.length,C=[],x=0;x<v;x+=4)C.push(b[x+3]<<24|b[x+2]<<16|b[x+1]<<8|b[x]);return C},w=5,S=11,P=2,T=S-w,L=65536>>w,$=1<<w,I=$-1,M=1024>>w,F=L+M,Q=F,Y=32,z=Q+Y,ee=65536>>S,ie=1<<T,de=ie-1,K=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},G=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},xe=function(b,v){var C=g(b),x=Array.isArray(C)?_(C):new Uint32Array(C),D=Array.isArray(C)?y(C):new Uint16Array(C),O=24,H=K(D,O/2,x[4]/2),W=x[5]===2?K(D,(O+x[4])/2):G(x,Math.ceil((O+x[4])/4));return new ae(x[0],x[1],x[2],x[3],H,W)},ae=(function(){function b(v,C,x,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=x,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<<P)+(v&I),this.data[C];if(v<=65535)return C=this.index[L+(v-55296>>w)],C=(C<<P)+(v&I),this.data[C];if(v<this.highStart)return C=z-ee+(v>>S),C=this.index[C],C+=v>>w&de,C=this.index[C],C=(C<<P)+(v&I),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$e=typeof Uint8Array>"u"?[]:new Uint8Array(256),Je=0;Je<ne.length;Je++)$e[ne.charCodeAt(Je)]=Je;var Xe="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQ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LAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc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MIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJ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UAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8N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AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsAB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ANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAe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IAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",dt=50,It=1,pt=2,Wi=3,Xi=4,U=5,Be=7,ye=8,Z=9,X=10,le=11,De=12,Le=13,pe=14,ke=15,Ze=16,Me=17,_t=18,qi=19,pi=20,ys=21,Si=22,qr=23,br=24,Fi=25,Lo=26,Cl=27,oa=28,Kf=29,wl=30,qv=31,Gc=32,_u=33,Bl=34,hh=35,Jv=36,DA=37,eb=38,Zf=39,qf=40,tb=41,lB=42,S$=43,F$=[9001,65288],hB="!",wi="\xD7",Jf="\xF7",ib=xe(Xe),Sl=[wl,Jv],rb=[It,pt,Wi,U],uB=[X,ye],cB=[Cl,Lo],T$=rb.concat(uB),dB=[eb,Zf,qf,Bl,hh],P$=[ke,Le],D$=function(b,v){v===void 0&&(v="strict");var C=[],x=[],D=[];return b.forEach(function(O,H){var W=ib.get(O);if(W>dt?(D.push(!0),W-=dt):D.push(!1),["normal","auto","loose"].indexOf(v)!==-1&&[8208,8211,12316,12448].indexOf(O)!==-1)return x.push(H),C.push(Ze);if(W===Xi||W===le){if(H===0)return x.push(H),C.push(wl);var j=C[H-1];return T$.indexOf(j)===-1?(x.push(x[H-1]),C.push(j)):(x.push(H),C.push(wl))}if(x.push(H),W===qv)return C.push(v==="strict"?ys:DA);if(W===lB||W===Kf)return C.push(wl);if(W===S$)return O>=131072&&O<=196605||O>=196608&&O<=262141?C.push(DA):C.push(wl);C.push(W)}),[x,C,D]},sb=function(b,v,C,x){var D=x[C];if(Array.isArray(b)?b.indexOf(D)!==-1:b===D)for(var O=C;O<=x.length;){O++;var H=x[O];if(H===v)return!0;if(H!==X)break}if(D===X)for(var O=C;O>0;){O--;var W=x[O];if(Array.isArray(b)?b.indexOf(W)!==-1:b===W)for(var j=C;j<=x.length;){j++;var H=x[j];if(H===v)return!0;if(H!==X)break}if(W!==X)break}return!1},AB=function(b,v){for(var C=b;C>=0;){var x=v[C];if(x===X)C--;else return x}return 0},L$=function(b,v,C,x,D){if(C[x]===0)return wi;var O=x-1;if(Array.isArray(D)&&D[O]===!0)return wi;var H=O-1,W=O+1,j=v[O],se=H>=0?v[H]:0,oe=v[W];if(j===pt&&oe===Wi)return wi;if(rb.indexOf(j)!==-1)return hB;if(rb.indexOf(oe)!==-1||uB.indexOf(oe)!==-1)return wi;if(AB(O,v)===ye)return Jf;if(ib.get(b[O])===le||(j===Gc||j===_u)&&ib.get(b[W])===le||j===Be||oe===Be||j===Z||[X,Le,ke].indexOf(j)===-1&&oe===Z||[Me,_t,qi,br,oa].indexOf(oe)!==-1||AB(O,v)===Si||sb(qr,Si,O,v)||sb([Me,_t],ys,O,v)||sb(De,De,O,v))return wi;if(j===X)return Jf;if(j===qr||oe===qr)return wi;if(oe===Ze||j===Ze)return Jf;if([Le,ke,ys].indexOf(oe)!==-1||j===pe||se===Jv&&P$.indexOf(j)!==-1||j===oa&&oe===Jv||oe===pi||Sl.indexOf(oe)!==-1&&j===Fi||Sl.indexOf(j)!==-1&&oe===Fi||j===Cl&&[DA,Gc,_u].indexOf(oe)!==-1||[DA,Gc,_u].indexOf(j)!==-1&&oe===Lo||Sl.indexOf(j)!==-1&&cB.indexOf(oe)!==-1||cB.indexOf(j)!==-1&&Sl.indexOf(oe)!==-1||[Cl,Lo].indexOf(j)!==-1&&(oe===Fi||[Si,ke].indexOf(oe)!==-1&&v[W+1]===Fi)||[Si,ke].indexOf(j)!==-1&&oe===Fi||j===Fi&&[Fi,oa,br].indexOf(oe)!==-1)return wi;if([Fi,oa,br,Me,_t].indexOf(oe)!==-1)for(var Ae=O;Ae>=0;){var Ce=v[Ae];if(Ce===Fi)return wi;if([oa,br].indexOf(Ce)!==-1)Ae--;else break}if([Cl,Lo].indexOf(oe)!==-1)for(var Ae=[Me,_t].indexOf(j)!==-1?H:O;Ae>=0;){var Ce=v[Ae];if(Ce===Fi)return wi;if([oa,br].indexOf(Ce)!==-1)Ae--;else break}if(eb===j&&[eb,Zf,Bl,hh].indexOf(oe)!==-1||[Zf,Bl].indexOf(j)!==-1&&[Zf,qf].indexOf(oe)!==-1||[qf,hh].indexOf(j)!==-1&&oe===qf||dB.indexOf(j)!==-1&&[pi,Lo].indexOf(oe)!==-1||dB.indexOf(oe)!==-1&&j===Cl||Sl.indexOf(j)!==-1&&Sl.indexOf(oe)!==-1||j===br&&Sl.indexOf(oe)!==-1||Sl.concat(Fi).indexOf(j)!==-1&&oe===Si&&F$.indexOf(b[W])===-1||Sl.concat(Fi).indexOf(oe)!==-1&&j===_t)return wi;if(j===tb&&oe===tb){for(var ot=C[O],Ue=1;ot>0&&(ot--,v[ot]===tb);)Ue++;if(Ue%2!==0)return wi}return j===Gc&&oe===_u?wi:Jf},I$=function(b,v){v||(v={lineBreak:"normal",wordBreak:"normal"});var C=D$(b,v.lineBreak),x=C[0],D=C[1],O=C[2];(v.wordBreak==="break-all"||v.wordBreak==="break-word")&&(D=D.map(function(W){return[Fi,wl,lB].indexOf(W)!==-1?DA:W}));var H=v.wordBreak==="keep-all"?O.map(function(W,j){return W&&b[j]>=19968&&b[j]<=40959}):void 0;return[x,D,H]},k$=(function(){function b(v,C,x,D){this.codePoints=v,this.required=C===hB,this.start=x,this.end=D}return b.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},b})(),$$=function(b,v){var C=h(b),x=I$(C,v),D=x[0],O=x[1],H=x[2],W=C.length,j=0,se=0;return{next:function(){if(se>=W)return{done:!0,value:null};for(var oe=wi;se<W&&(oe=L$(C,O,D,++se,H))===wi;);if(oe!==wi||se===W){var Ae=new k$(C,oe,j,se);return j=se,{value:Ae,done:!1}}return{done:!0,value:null}}}},O$=1,E$=2,LA=4,pB=8,em=10,fB=47,IA=92,M$=9,R$=32,tm=34,kA=61,U$=35,V$=36,N$=37,im=39,rm=40,$A=41,H$=95,$a=45,Q$=33,j$=60,W$=62,X$=64,z$=91,G$=93,Y$=61,K$=123,sm=63,Z$=125,mB=124,q$=126,J$=128,gB=65533,ab=42,Cu=43,eO=44,tO=58,iO=59,OA=46,rO=0,sO=8,aO=11,nO=14,oO=31,lO=127,Io=-1,yB=48,vB=97,bB=101,hO=102,uO=117,cO=122,xB=65,_B=69,CB=70,dO=85,AO=90,la=function(b){return b>=yB&&b<=57},pO=function(b){return b>=55296&&b<=57343},Yc=function(b){return la(b)||b>=xB&&b<=CB||b>=vB&&b<=hO},fO=function(b){return b>=vB&&b<=cO},mO=function(b){return b>=xB&&b<=AO},gO=function(b){return fO(b)||mO(b)},yO=function(b){return b>=J$},am=function(b){return b===em||b===M$||b===R$},nm=function(b){return gO(b)||yO(b)||b===H$},wB=function(b){return nm(b)||la(b)||b===$a},vO=function(b){return b>=rO&&b<=sO||b===aO||b>=nO&&b<=oO||b===lO},uh=function(b,v){return b!==IA?!1:v!==em},om=function(b,v,C){return b===$a?nm(v)||uh(v,C):nm(b)?!0:!!(b===IA&&uh(b,v))},nb=function(b,v,C){return b===Cu||b===$a?la(v)?!0:v===OA&&la(C):la(b===OA?v:b)},bO=function(b){var v=0,C=1;(b[v]===Cu||b[v]===$a)&&(b[v]===$a&&(C=-1),v++);for(var x=[];la(b[v]);)x.push(b[v++]);var D=x.length?parseInt(c.apply(void 0,x),10):0;b[v]===OA&&v++;for(var O=[];la(b[v]);)O.push(b[v++]);var H=O.length,W=H?parseInt(c.apply(void 0,O),10):0;(b[v]===_B||b[v]===bB)&&v++;var j=1;(b[v]===Cu||b[v]===$a)&&(b[v]===$a&&(j=-1),v++);for(var se=[];la(b[v]);)se.push(b[v++]);var oe=se.length?parseInt(c.apply(void 0,se),10):0;return C*(D+W*Math.pow(10,-H))*Math.pow(10,j*oe)},xO={type:2},_O={type:3},CO={type:4},wO={type:13},BO={type:8},SO={type:21},FO={type:9},TO={type:10},PO={type:11},DO={type:12},LO={type:14},lm={type:23},IO={type:1},kO={type:25},$O={type:24},OO={type:26},EO={type:27},MO={type:28},RO={type:29},UO={type:31},ob={type:32},BB=(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!==ob;)v.push(C),C=this.consumeToken();return v},b.prototype.consumeToken=function(){var v=this.consumeCodePoint();switch(v){case tm:return this.consumeStringToken(tm);case U$:var C=this.peekCodePoint(0),x=this.peekCodePoint(1),D=this.peekCodePoint(2);if(wB(C)||uh(x,D)){var O=om(C,x,D)?E$:O$,H=this.consumeName();return{type:5,value:H,flags:O}}break;case V$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),wO;break;case im:return this.consumeStringToken(im);case rm:return xO;case $A:return _O;case ab:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),LO;break;case Cu:if(nb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case eO:return CO;case $a:var W=v,j=this.peekCodePoint(0),se=this.peekCodePoint(1);if(nb(W,j,se))return this.reconsumeCodePoint(v),this.consumeNumericToken();if(om(W,j,se))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();if(j===$a&&se===W$)return this.consumeCodePoint(),this.consumeCodePoint(),$O;break;case OA:if(nb(v,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(v),this.consumeNumericToken();break;case fB:if(this.peekCodePoint(0)===ab)for(this.consumeCodePoint();;){var oe=this.consumeCodePoint();if(oe===ab&&(oe=this.consumeCodePoint(),oe===fB))return this.consumeToken();if(oe===Io)return this.consumeToken()}break;case tO:return OO;case iO:return EO;case j$:if(this.peekCodePoint(0)===Q$&&this.peekCodePoint(1)===$a&&this.peekCodePoint(2)===$a)return this.consumeCodePoint(),this.consumeCodePoint(),kO;break;case X$:var Ae=this.peekCodePoint(0),Ce=this.peekCodePoint(1),ot=this.peekCodePoint(2);if(om(Ae,Ce,ot)){var H=this.consumeName();return{type:7,value:H}}break;case z$:return MO;case IA:if(uh(v,this.peekCodePoint(0)))return this.reconsumeCodePoint(v),this.consumeIdentLikeToken();break;case G$:return RO;case Y$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),BO;break;case K$:return PO;case Z$:return DO;case uO:case dO:var Ue=this.peekCodePoint(0),Ke=this.peekCodePoint(1);return Ue===Cu&&(Yc(Ke)||Ke===sm)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(v),this.consumeIdentLikeToken();case mB:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),FO;if(this.peekCodePoint(0)===mB)return this.consumeCodePoint(),SO;break;case q$:if(this.peekCodePoint(0)===kA)return this.consumeCodePoint(),TO;break;case Io:return ob}return am(v)?(this.consumeWhiteSpace(),UO):la(v)?(this.reconsumeCodePoint(v),this.consumeNumericToken()):nm(v)?(this.reconsumeCodePoint(v),this.consumeIdentLikeToken()):{type:6,value:c(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();Yc(C)&&v.length<6;)v.push(C),C=this.consumeCodePoint();for(var x=!1;C===sm&&v.length<6;)v.push(C),C=this.consumeCodePoint(),x=!0;if(x){var D=parseInt(c.apply(void 0,v.map(function(j){return j===sm?yB:j})),16),O=parseInt(c.apply(void 0,v.map(function(j){return j===sm?CB:j})),16);return{type:30,start:D,end:O}}var H=parseInt(c.apply(void 0,v),16);if(this.peekCodePoint(0)===$a&&Yc(this.peekCodePoint(1))){this.consumeCodePoint(),C=this.consumeCodePoint();for(var W=[];Yc(C)&&W.length<6;)W.push(C),C=this.consumeCodePoint();var O=parseInt(c.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)===rm?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rm?(this.consumeCodePoint(),{type:19,value:v}):{type:20,value:v}},b.prototype.consumeUrlToken=function(){var v=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Io)return{type:22,value:""};var C=this.peekCodePoint(0);if(C===im||C===tm){var x=this.consumeStringToken(this.consumeCodePoint());return x.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Io||this.peekCodePoint(0)===$A)?(this.consumeCodePoint(),{type:22,value:x.value}):(this.consumeBadUrlRemnants(),lm)}for(;;){var D=this.consumeCodePoint();if(D===Io||D===$A)return{type:22,value:c.apply(void 0,v)};if(am(D))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Io||this.peekCodePoint(0)===$A?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,v)}):(this.consumeBadUrlRemnants(),lm);if(D===tm||D===im||D===rm||vO(D))return this.consumeBadUrlRemnants(),lm;if(D===IA)if(uh(D,this.peekCodePoint(0)))v.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),lm;else v.push(D)}},b.prototype.consumeWhiteSpace=function(){for(;am(this.peekCodePoint(0));)this.consumeCodePoint()},b.prototype.consumeBadUrlRemnants=function(){for(;;){var v=this.consumeCodePoint();if(v===$A||v===Io)return;uh(v,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},b.prototype.consumeStringSlice=function(v){for(var C=5e4,x="";v>0;){var D=Math.min(C,v);x+=c.apply(void 0,this._value.splice(0,D)),v-=D}return this._value.shift(),x},b.prototype.consumeStringToken=function(v){var C="",x=0;do{var D=this._value[x];if(D===Io||D===void 0||D===v)return C+=this.consumeStringSlice(x),{type:0,value:C};if(D===em)return this._value.splice(0,x),IO;if(D===IA){var O=this._value[x+1];O!==Io&&O!==void 0&&(O===em?(C+=this.consumeStringSlice(x),x=-1,this._value.shift()):uh(D,O)&&(C+=this.consumeStringSlice(x),C+=c(this.consumeEscapedCodePoint()),x=-1))}x++}while(!0)},b.prototype.consumeNumber=function(){var v=[],C=LA,x=this.peekCodePoint(0);for((x===Cu||x===$a)&&v.push(this.consumeCodePoint());la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());x=this.peekCodePoint(0);var D=this.peekCodePoint(1);if(x===OA&&la(D))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=pB;la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());x=this.peekCodePoint(0),D=this.peekCodePoint(1);var O=this.peekCodePoint(2);if((x===_B||x===bB)&&((D===Cu||D===$a)&&la(O)||la(D)))for(v.push(this.consumeCodePoint(),this.consumeCodePoint()),C=pB;la(this.peekCodePoint(0));)v.push(this.consumeCodePoint());return[bO(v),C]},b.prototype.consumeNumericToken=function(){var v=this.consumeNumber(),C=v[0],x=v[1],D=this.peekCodePoint(0),O=this.peekCodePoint(1),H=this.peekCodePoint(2);if(om(D,O,H)){var W=this.consumeName();return{type:15,number:C,flags:x,unit:W}}return D===N$?(this.consumeCodePoint(),{type:16,number:C,flags:x}):{type:17,number:C,flags:x}},b.prototype.consumeEscapedCodePoint=function(){var v=this.consumeCodePoint();if(Yc(v)){for(var C=c(v);Yc(this.peekCodePoint(0))&&C.length<6;)C+=c(this.consumeCodePoint());am(this.peekCodePoint(0))&&this.consumeCodePoint();var x=parseInt(C,16);return x===0||pO(x)||x>1114111?gB:x}return v===Io?gB:v},b.prototype.consumeName=function(){for(var v="";;){var C=this.consumeCodePoint();if(wB(C))v+=c(C);else if(uh(C,this.peekCodePoint(0)))v+=c(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(C),v}},b})(),SB=(function(){function b(v){this._tokens=v}return b.create=function(v){var C=new BB;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:[]},x=this.consumeToken();;){if(x.type===32||NO(x,v))return C;this.reconsumeToken(x),C.values.push(this.consumeComponentValue()),x=this.consumeToken()}},b.prototype.consumeFunction=function(v){for(var C={name:v.value,values:[],type:18};;){var x=this.consumeToken();if(x.type===32||x.type===3)return C;this.reconsumeToken(x),C.values.push(this.consumeComponentValue())}},b.prototype.consumeToken=function(){var v=this._tokens.shift();return typeof v>"u"?ob:v},b.prototype.reconsumeToken=function(v){this._tokens.unshift(v)},b})(),EA=function(b){return b.type===15},Kc=function(b){return b.type===17},lr=function(b){return b.type===20},VO=function(b){return b.type===0},lb=function(b,v){return lr(b)&&b.value===v},FB=function(b){return b.type!==31},Zc=function(b){return b.type!==31&&b.type!==4},ko=function(b){var v=[],C=[];return b.forEach(function(x){if(x.type===4){if(C.length===0)throw new Error("Error parsing function args, zero tokens for arg");v.push(C),C=[];return}x.type!==31&&C.push(x)}),C.length&&v.push(C),v},NO=function(b,v){return v===11&&b.type===12||v===28&&b.type===29?!0:v===2&&b.type===3},ch=function(b){return b.type===17||b.type===15},cs=function(b){return b.type===16||ch(b)},TB=function(b){return b.length>1?[b[0],b[1]]:[b[0]]},Qs={type:17,number:0,flags:LA},hb={type:16,number:50,flags:LA},dh={type:16,number:100,flags:LA},MA=function(b,v,C){var x=b[0],D=b[1];return[_r(x,v),_r(typeof D<"u"?D:x,C)]},_r=function(b,v){if(b.type===16)return b.number/100*v;if(EA(b))switch(b.unit){case"rem":case"em":return 16*b.number;default:return b.number}return b.number},PB="deg",DB="grad",LB="rad",IB="turn",hm={name:"angle",parse:function(b,v){if(v.type===15)switch(v.unit){case PB:return Math.PI*v.number/180;case DB:return Math.PI/200*v.number;case LB:return v.number;case IB:return Math.PI*2*v.number}throw new Error("Unsupported angle type")}},kB=function(b){return b.type===15&&(b.unit===PB||b.unit===DB||b.unit===LB||b.unit===IB)},$B=function(b){var v=b.filter(lr).map(function(C){return C.value}).join(" ");switch(v){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Qs,Qs];case"to top":case"bottom":return Bn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Qs,dh];case"to right":case"left":return Bn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[dh,dh];case"to bottom":case"top":return Bn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[dh,Qs];case"to left":case"right":return Bn(270)}return 0},Bn=function(b){return Math.PI*b/180},Ah={name:"color",parse:function(b,v){if(v.type===18){var C=HO[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 x=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3);return fh(parseInt(x+x,16),parseInt(D+D,16),parseInt(O+O,16),1)}if(v.value.length===4){var x=v.value.substring(0,1),D=v.value.substring(1,2),O=v.value.substring(2,3),H=v.value.substring(3,4);return fh(parseInt(x+x,16),parseInt(D+D,16),parseInt(O+O,16),parseInt(H+H,16)/255)}if(v.value.length===6){var x=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6);return fh(parseInt(x,16),parseInt(D,16),parseInt(O,16),1)}if(v.value.length===8){var x=v.value.substring(0,2),D=v.value.substring(2,4),O=v.value.substring(4,6),H=v.value.substring(6,8);return fh(parseInt(x,16),parseInt(D,16),parseInt(O,16),parseInt(H,16)/255)}}if(v.type===20){var W=Fl[v.value.toUpperCase()];if(typeof W<"u")return W}return Fl.TRANSPARENT}},ph=function(b){return(255&b)===0},Is=function(b){var v=255&b,C=255&b>>8,x=255&b>>16,D=255&b>>24;return v<255?"rgba("+D+","+x+","+C+","+v/255+")":"rgb("+D+","+x+","+C+")"},fh=function(b,v,C,x){return(b<<24|v<<16|C<<8|Math.round(x*255)<<0)>>>0},OB=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},EB=function(b,v){var C=v.filter(Zc);if(C.length===3){var x=C.map(OB),D=x[0],O=x[1],H=x[2];return fh(D,O,H,1)}if(C.length===4){var W=C.map(OB),D=W[0],O=W[1],H=W[2],j=W[3];return fh(D,O,H,j)}return 0};function ub(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 MB=function(b,v){var C=v.filter(Zc),x=C[0],D=C[1],O=C[2],H=C[3],W=(x.type===17?Bn(x.number):hm.parse(b,x))/(Math.PI*2),j=cs(D)?D.number/100:0,se=cs(O)?O.number/100:0,oe=typeof H<"u"&&cs(H)?_r(H,1):1;if(j===0)return fh(se*255,se*255,se*255,1);var Ae=se<=.5?se*(j+1):se+j-se*j,Ce=se*2-Ae,ot=ub(Ce,Ae,W+1/3),Ue=ub(Ce,Ae,W),Ke=ub(Ce,Ae,W-1/3);return fh(ot*255,Ue*255,Ke*255,oe)},HO={hsl:MB,hsla:MB,rgb:EB,rgba:EB},RA=function(b,v){return Ah.parse(b,SB.create(v).parseComponentValue())},Fl={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},QO={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(lr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},jO={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},um=function(b,v){var C=Ah.parse(b,v[0]),x=v[1];return x&&cs(x)?{color:C,stop:x}:{color:C,stop:null}},RB=function(b,v){var C=b[0],x=b[b.length-1];C.stop===null&&(C.stop=Qs),x.stop===null&&(x.stop=dh);for(var D=[],O=0,H=0;H<b.length;H++){var W=b[H].stop;if(W!==null){var j=_r(W,v);j>O?D.push(j):D.push(O),O=j}else D.push(null)}for(var se=null,H=0;H<D.length;H++){var oe=D[H];if(oe===null)se===null&&(se=H);else if(se!==null){for(var Ae=H-se,Ce=D[se-1],ot=(oe-Ce)/(Ae+1),Ue=1;Ue<=Ae;Ue++)D[se+Ue-1]=ot*Ue;se=null}}return b.map(function(Ke,ri){var bt=Ke.color;return{color:bt,stop:Math.max(Math.min(1,D[ri]/v),0)}})},WO=function(b,v,C){var x=v/2,D=C/2,O=_r(b[0],v)-x,H=D-_r(b[1],C);return(Math.atan2(H,O)+Math.PI*2)%(Math.PI*2)},XO=function(b,v,C){var x=typeof b=="number"?b:WO(b,v,C),D=Math.abs(v*Math.sin(x))+Math.abs(C*Math.cos(x)),O=v/2,H=C/2,W=D/2,j=Math.sin(x-Math.PI/2)*W,se=Math.cos(x-Math.PI/2)*W;return[D,O-se,O+se,H-j,H+j]},eo=function(b,v){return Math.sqrt(b*b+v*v)},UB=function(b,v,C,x,D){var O=[[0,0],[0,v],[b,0],[b,v]];return O.reduce(function(H,W){var j=W[0],se=W[1],oe=eo(C-j,x-se);return(D?oe<H.optimumDistance:oe>H.optimumDistance)?{optimumCorner:W,optimumDistance:oe}:H},{optimumDistance:D?1/0:-1/0,optimumCorner:null}).optimumCorner},zO=function(b,v,C,x,D){var O=0,H=0;switch(b.size){case 0:b.shape===0?O=H=Math.min(Math.abs(v),Math.abs(v-x),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.min(Math.abs(v),Math.abs(v-x)),H=Math.min(Math.abs(C),Math.abs(C-D)));break;case 2:if(b.shape===0)O=H=Math.min(eo(v,C),eo(v,C-D),eo(v-x,C),eo(v-x,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-x)),j=UB(x,D,v,C,!0),se=j[0],oe=j[1];O=eo(se-v,(oe-C)/W),H=W*O}break;case 1:b.shape===0?O=H=Math.max(Math.abs(v),Math.abs(v-x),Math.abs(C),Math.abs(C-D)):b.shape===1&&(O=Math.max(Math.abs(v),Math.abs(v-x)),H=Math.max(Math.abs(C),Math.abs(C-D)));break;case 3:if(b.shape===0)O=H=Math.max(eo(v,C),eo(v,C-D),eo(v-x,C),eo(v-x,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-x)),Ae=UB(x,D,v,C,!1),se=Ae[0],oe=Ae[1];O=eo(se-v,(oe-C)/W),H=W*O}break}return Array.isArray(b.size)&&(O=_r(b.size[0],x),H=b.size.length===2?_r(b.size[1],D):O),[O,H]},GO=function(b,v){var C=Bn(180),x=[];return ko(v).forEach(function(D,O){if(O===0){var H=D[0];if(H.type===20&&H.value==="to"){C=$B(D);return}else if(kB(H)){C=hm.parse(b,H);return}}var W=um(b,D);x.push(W)}),{angle:C,stops:x,type:1}},cm=function(b,v){var C=Bn(180),x=[];return ko(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=$B(D);return}else if(kB(H)){C=(hm.parse(b,H)+Bn(270))%Bn(360);return}}var W=um(b,D);x.push(W)}),{angle:C,stops:x,type:1}},YO=function(b,v){var C=Bn(180),x=[],D=1,O=0,H=3,W=[];return ko(v).forEach(function(j,se){var oe=j[0];if(se===0){if(lr(oe)&&oe.value==="linear"){D=1;return}else if(lr(oe)&&oe.value==="radial"){D=2;return}}if(oe.type===18){if(oe.name==="from"){var Ae=Ah.parse(b,oe.values[0]);x.push({stop:Qs,color:Ae})}else if(oe.name==="to"){var Ae=Ah.parse(b,oe.values[0]);x.push({stop:dh,color:Ae})}else if(oe.name==="color-stop"){var Ce=oe.values.filter(Zc);if(Ce.length===2){var Ae=Ah.parse(b,Ce[1]),ot=Ce[0];Kc(ot)&&x.push({stop:{type:16,number:ot.number*100,flags:ot.flags},color:Ae})}}}}),D===1?{angle:(C+Bn(180))%Bn(360),stops:x,type:D}:{size:H,shape:O,stops:x,position:W,type:D}},VB="closest-side",NB="farthest-side",HB="closest-corner",QB="farthest-corner",jB="circle",WB="ellipse",XB="cover",zB="contain",KO=function(b,v){var C=0,x=3,D=[],O=[];return ko(v).forEach(function(H,W){var j=!0;if(W===0){var se=!1;j=H.reduce(function(Ae,Ce){if(se)if(lr(Ce))switch(Ce.value){case"center":return O.push(hb),Ae;case"top":case"left":return O.push(Qs),Ae;case"right":case"bottom":return O.push(dh),Ae}else(cs(Ce)||ch(Ce))&&O.push(Ce);else if(lr(Ce))switch(Ce.value){case jB:return C=0,!1;case WB:return C=1,!1;case"at":return se=!0,!1;case VB:return x=0,!1;case XB:case NB:return x=1,!1;case zB:case HB:return x=2,!1;case QB:return x=3,!1}else if(ch(Ce)||cs(Ce))return Array.isArray(x)||(x=[]),x.push(Ce),!1;return Ae},j)}if(j){var oe=um(b,H);D.push(oe)}}),{size:x,shape:C,stops:D,position:O,type:2}},dm=function(b,v){var C=0,x=3,D=[],O=[];return ko(v).forEach(function(H,W){var j=!0;if(W===0?j=H.reduce(function(oe,Ae){if(lr(Ae))switch(Ae.value){case"center":return O.push(hb),!1;case"top":case"left":return O.push(Qs),!1;case"right":case"bottom":return O.push(dh),!1}else if(cs(Ae)||ch(Ae))return O.push(Ae),!1;return oe},j):W===1&&(j=H.reduce(function(oe,Ae){if(lr(Ae))switch(Ae.value){case jB:return C=0,!1;case WB:return C=1,!1;case zB:case VB:return x=0,!1;case NB:return x=1,!1;case HB:return x=2,!1;case XB:case QB:return x=3,!1}else if(ch(Ae)||cs(Ae))return Array.isArray(x)||(x=[]),x.push(Ae),!1;return oe},j)),j){var se=um(b,H);D.push(se)}}),{size:x,shape:C,stops:D,position:O,type:2}},ZO=function(b){return b.type===1},qO=function(b){return b.type===2},cb={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 x=GB[v.name];if(typeof x>"u")throw new Error('Attempting to parse an unsupported image function "'+v.name+'"');return x(b,v.values)}throw new Error("Unsupported image type "+v.type)}};function JO(b){return!(b.type===20&&b.value==="none")&&(b.type!==18||!!GB[b.name])}var GB={"linear-gradient":GO,"-moz-linear-gradient":cm,"-ms-linear-gradient":cm,"-o-linear-gradient":cm,"-webkit-linear-gradient":cm,"radial-gradient":KO,"-moz-radial-gradient":dm,"-ms-radial-gradient":dm,"-o-radial-gradient":dm,"-webkit-radial-gradient":dm,"-webkit-gradient":YO},eE={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(x){return Zc(x)&&JO(x)}).map(function(x){return cb.parse(b,x)})}},tE={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(b,v){return v.map(function(C){if(lr(C))switch(C.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},iE={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(b,v){return ko(v).map(function(C){return C.filter(cs)}).map(TB)}},rE={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(b,v){return ko(v).map(function(C){return C.filter(lr).map(function(x){return x.value}).join(" ")}).map(sE)}},sE=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}},qc;(function(b){b.AUTO="auto",b.CONTAIN="contain",b.COVER="cover"})(qc||(qc={}));var aE={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(b,v){return ko(v).map(function(C){return C.filter(nE)})}},nE=function(b){return lr(b)||cs(b)},Am=function(b){return{name:"border-"+b+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},oE=Am("top"),lE=Am("right"),hE=Am("bottom"),uE=Am("left"),pm=function(b){return{name:"border-radius-"+b,initialValue:"0 0",prefix:!1,type:1,parse:function(v,C){return TB(C.filter(cs))}}},cE=pm("top-left"),dE=pm("top-right"),AE=pm("bottom-right"),pE=pm("bottom-left"),fm=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}}},fE=fm("top"),mE=fm("right"),gE=fm("bottom"),yE=fm("left"),mm=function(b){return{name:"border-"+b+"-width",initialValue:"0",type:0,prefix:!1,parse:function(v,C){return EA(C)?C.number:0}}},vE=mm("top"),bE=mm("right"),xE=mm("bottom"),_E=mm("left"),CE={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wE={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(b,v){return v==="rtl"?1:0}},BE={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).reduce(function(C,x){return C|SE(x.value)},0)}},SE=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},FE={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}},TE={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}},gm;(function(b){b.NORMAL="normal",b.STRICT="strict"})(gm||(gm={}));var PE={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="strict"?gm.STRICT:gm.NORMAL}},DE={name:"line-height",initialValue:"normal",prefix:!1,type:4},YB=function(b,v){return lr(b)&&b.value==="normal"?1.2*v:b.type===17?v*b.number:cs(b)?_r(b,v):v},LE={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(b,v){return v.type===20&&v.value==="none"?null:cb.parse(b,v)}},IE={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(b,v){return v==="inside"?0:1}},db={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}}},ym=function(b){return{name:"margin-"+b,initialValue:"0",prefix:!1,type:4}},kE=ym("top"),$E=ym("right"),OE=ym("bottom"),EE=ym("left"),ME={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).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}})}},RE={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){return v==="break-word"?"break-word":"normal"}},vm=function(b){return{name:"padding-"+b,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},UE=vm("top"),VE=vm("right"),NE=vm("bottom"),HE=vm("left"),QE={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}}},jE={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}},WE={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&lb(v[0],"none")?[]:ko(v).map(function(C){for(var x={color:Fl.TRANSPARENT,offsetX:Qs,offsetY:Qs,blur:Qs},D=0,O=0;O<C.length;O++){var H=C[O];ch(H)?(D===0?x.offsetX=H:D===1?x.offsetY=H:x.blur=H,D++):x.color=Ah.parse(b,H)}return x})}},XE={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}},zE={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=KE[v.name];if(typeof C>"u")throw new Error('Attempting to parse an unsupported transform function "'+v.name+'"');return C(v.values)}return null}},GE=function(b){var v=b.filter(function(C){return C.type===17}).map(function(C){return C.number});return v.length===6?v:null},YE=function(b){var v=b.filter(function(j){return j.type===17}).map(function(j){return j.number}),C=v[0],x=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,x,D,O,H,W]:null},KE={matrix:GE,matrix3d:YE},KB={type:16,number:50,flags:LA},ZE=[KB,KB],qE={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(b,v){var C=v.filter(cs);return C.length!==2?ZE:[C[0],C[1]]}},JE={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}}},UA;(function(b){b.NORMAL="normal",b.BREAK_ALL="break-all",b.KEEP_ALL="keep-all"})(UA||(UA={}));for(var eM={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(b,v){switch(v){case"break-all":return UA.BREAK_ALL;case"keep-all":return UA.KEEP_ALL;default:return UA.NORMAL}}},tM={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(b,v){if(v.type===20)return{auto:!0,order:0};if(Kc(v))return{auto:!1,order:v.number};throw new Error("Invalid z-index number parsed")}},ZB={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")}},iM={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(b,v){return Kc(v)?v.number:1}},rM={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},sM={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(b,v){return v.filter(lr).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})}},aM={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(b,v){var C=[],x=[];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:x.push(C.join(" ")),C.length=0;break}}),C.length&&x.push(C.join(" ")),x.map(function(D){return D.indexOf(" ")===-1?D:"'"+D+"'"})}},nM={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},oM={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(b,v){return Kc(v)?v.number:lr(v)&&v.value==="bold"?700:400}},lM={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.filter(lr).map(function(C){return C.value})}},hM={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},uM={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}},cM={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 x=[],D=v.filter(FB),O=0;O<D.length;O++){var H=D[O],W=D[O+1];if(H.type===20){var j=W&&Kc(W)?W.number:1;x.push({counter:H.value,increment:j})}}return x}},dM={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(b,v){if(v.length===0)return[];for(var C=[],x=v.filter(FB),D=0;D<x.length;D++){var O=x[D],H=x[D+1];if(lr(O)&&O.value!=="none"){var W=H&&Kc(H)?H.number:0;C.push({counter:O.value,reset:W})}}return C}},AM={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(b,v){return v.filter(EA).map(function(C){return ZB.parse(b,C)})}},pM={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 x=[],D=v.filter(VO);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;x.push({open:H,close:W})}return x}},qB=function(b,v,C){if(!b)return"";var x=b[Math.min(v,b.length-1)];return x?C?x.open:x.close:""},fM={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(b,v){return v.length===1&&lb(v[0],"none")?[]:ko(v).map(function(C){for(var x={color:255,offsetX:Qs,offsetY:Qs,blur:Qs,spread:Qs,inset:!1},D=0,O=0;O<C.length;O++){var H=C[O];lb(H,"inset")?x.inset=!0:ch(H)?(D===0?x.offsetX=H:D===1?x.offsetY=H:D===2?x.blur=H:x.spread=H,D++):x.color=Ah.parse(b,H)}return x})}},mM={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(b,v){var C=[0,1,2],x=[];return v.filter(lr).forEach(function(D){switch(D.value){case"stroke":x.push(1);break;case"fill":x.push(0);break;case"markers":x.push(2);break}}),C.forEach(function(D){x.indexOf(D)===-1&&x.push(D)}),x}},gM={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},yM={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(b,v){return EA(v)?v.number:0}},vM=(function(){function b(v,C){var x,D;this.animationDuration=At(v,AM,C.animationDuration),this.backgroundClip=At(v,QO,C.backgroundClip),this.backgroundColor=At(v,jO,C.backgroundColor),this.backgroundImage=At(v,eE,C.backgroundImage),this.backgroundOrigin=At(v,tE,C.backgroundOrigin),this.backgroundPosition=At(v,iE,C.backgroundPosition),this.backgroundRepeat=At(v,rE,C.backgroundRepeat),this.backgroundSize=At(v,aE,C.backgroundSize),this.borderTopColor=At(v,oE,C.borderTopColor),this.borderRightColor=At(v,lE,C.borderRightColor),this.borderBottomColor=At(v,hE,C.borderBottomColor),this.borderLeftColor=At(v,uE,C.borderLeftColor),this.borderTopLeftRadius=At(v,cE,C.borderTopLeftRadius),this.borderTopRightRadius=At(v,dE,C.borderTopRightRadius),this.borderBottomRightRadius=At(v,AE,C.borderBottomRightRadius),this.borderBottomLeftRadius=At(v,pE,C.borderBottomLeftRadius),this.borderTopStyle=At(v,fE,C.borderTopStyle),this.borderRightStyle=At(v,mE,C.borderRightStyle),this.borderBottomStyle=At(v,gE,C.borderBottomStyle),this.borderLeftStyle=At(v,yE,C.borderLeftStyle),this.borderTopWidth=At(v,vE,C.borderTopWidth),this.borderRightWidth=At(v,bE,C.borderRightWidth),this.borderBottomWidth=At(v,xE,C.borderBottomWidth),this.borderLeftWidth=At(v,_E,C.borderLeftWidth),this.boxShadow=At(v,fM,C.boxShadow),this.color=At(v,CE,C.color),this.direction=At(v,wE,C.direction),this.display=At(v,BE,C.display),this.float=At(v,FE,C.cssFloat),this.fontFamily=At(v,aM,C.fontFamily),this.fontSize=At(v,nM,C.fontSize),this.fontStyle=At(v,hM,C.fontStyle),this.fontVariant=At(v,lM,C.fontVariant),this.fontWeight=At(v,oM,C.fontWeight),this.letterSpacing=At(v,TE,C.letterSpacing),this.lineBreak=At(v,PE,C.lineBreak),this.lineHeight=At(v,DE,C.lineHeight),this.listStyleImage=At(v,LE,C.listStyleImage),this.listStylePosition=At(v,IE,C.listStylePosition),this.listStyleType=At(v,db,C.listStyleType),this.marginTop=At(v,kE,C.marginTop),this.marginRight=At(v,$E,C.marginRight),this.marginBottom=At(v,OE,C.marginBottom),this.marginLeft=At(v,EE,C.marginLeft),this.opacity=At(v,iM,C.opacity);var O=At(v,ME,C.overflow);this.overflowX=O[0],this.overflowY=O[O.length>1?1:0],this.overflowWrap=At(v,RE,C.overflowWrap),this.paddingTop=At(v,UE,C.paddingTop),this.paddingRight=At(v,VE,C.paddingRight),this.paddingBottom=At(v,NE,C.paddingBottom),this.paddingLeft=At(v,HE,C.paddingLeft),this.paintOrder=At(v,mM,C.paintOrder),this.position=At(v,jE,C.position),this.textAlign=At(v,QE,C.textAlign),this.textDecorationColor=At(v,rM,(x=C.textDecorationColor)!==null&&x!==void 0?x:C.color),this.textDecorationLine=At(v,sM,(D=C.textDecorationLine)!==null&&D!==void 0?D:C.textDecoration),this.textShadow=At(v,WE,C.textShadow),this.textTransform=At(v,XE,C.textTransform),this.transform=At(v,zE,C.transform),this.transformOrigin=At(v,qE,C.transformOrigin),this.visibility=At(v,JE,C.visibility),this.webkitTextStrokeColor=At(v,gM,C.webkitTextStrokeColor),this.webkitTextStrokeWidth=At(v,yM,C.webkitTextStrokeWidth),this.wordBreak=At(v,eM,C.wordBreak),this.zIndex=At(v,tM,C.zIndex)}return b.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},b.prototype.isTransparent=function(){return ph(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})(),bM=(function(){function b(v,C){this.content=At(v,uM,C.content),this.quotes=At(v,pM,C.quotes)}return b})(),JB=(function(){function b(v,C){this.counterIncrement=At(v,cM,C.counterIncrement),this.counterReset=At(v,dM,C.counterReset)}return b})(),At=function(b,v,C){var x=new BB,D=C!==null&&typeof C<"u"?C.toString():v.initialValue;x.write(D);var O=new SB(x.read());switch(v.type){case 2:var H=O.parseComponentValue();return v.parse(b,lr(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 hm.parse(b,O.parseComponentValue());case"color":return Ah.parse(b,O.parseComponentValue());case"image":return cb.parse(b,O.parseComponentValue());case"length":var W=O.parseComponentValue();return ch(W)?W:Qs;case"length-percentage":var j=O.parseComponentValue();return cs(j)?j:Qs;case"time":return ZB.parse(b,O.parseComponentValue())}break}},xM="data-html2canvas-debug",_M=function(b){var v=b.getAttribute(xM);switch(v){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ab=function(b,v){var C=_M(b);return C===1||v===C},$o=(function(){function b(v,C){if(this.context=v,this.textNodes=[],this.elements=[],this.flags=0,Ab(C,3))debugger;this.styles=new vM(v,window.getComputedStyle(C,null)),Fb(C)&&(this.styles.animationDuration.some(function(x){return x>0})&&(C.style.animationDuration="0s"),this.styles.transform!==null&&(C.style.transform="none")),this.bounds=o(this.context,C),Ab(C,4)&&(this.flags|=16)}return b})(),CM="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNR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AIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGV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CAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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t(bm)]=bm;for(var wM=function(b){var v=b.length*.75,C=b.length,x,D=0,O,H,W,j;b[b.length-1]==="="&&(v--,b[b.length-2]==="="&&v--);var se=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(v):new Array(v),oe=Array.isArray(se)?se:new Uint8Array(se);for(x=0;x<C;x+=4)O=VA[b.charCodeAt(x)],H=VA[b.charCodeAt(x+1)],W=VA[b.charCodeAt(x+2)],j=VA[b.charCodeAt(x+3)],oe[D++]=O<<2|H>>4,oe[D++]=(H&15)<<4|W>>2,oe[D++]=(W&3)<<6|j&63;return se},BM=function(b){for(var v=b.length,C=[],x=0;x<v;x+=2)C.push(b[x+1]<<8|b[x]);return C},SM=function(b){for(var v=b.length,C=[],x=0;x<v;x+=4)C.push(b[x+3]<<24|b[x+2]<<16|b[x+1]<<8|b[x]);return C},wu=5,pb=11,fb=2,FM=pb-wu,tS=65536>>wu,TM=1<<wu,mb=TM-1,PM=1024>>wu,DM=tS+PM,LM=DM,IM=32,kM=LM+IM,$M=65536>>pb,OM=1<<FM,EM=OM-1,iS=function(b,v,C){return b.slice?b.slice(v,C):new Uint16Array(Array.prototype.slice.call(b,v,C))},MM=function(b,v,C){return b.slice?b.slice(v,C):new Uint32Array(Array.prototype.slice.call(b,v,C))},RM=function(b,v){var C=wM(b),x=Array.isArray(C)?SM(C):new Uint32Array(C),D=Array.isArray(C)?BM(C):new Uint16Array(C),O=24,H=iS(D,O/2,x[4]/2),W=x[5]===2?iS(D,(O+x[4])/2):MM(x,Math.ceil((O+x[4])/4));return new UM(x[0],x[1],x[2],x[3],H,W)},UM=(function(){function b(v,C,x,D,O,H){this.initialValue=v,this.errorValue=C,this.highStart=x,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>>wu],C=(C<<fb)+(v&mb),this.data[C];if(v<=65535)return C=this.index[tS+(v-55296>>wu)],C=(C<<fb)+(v&mb),this.data[C];if(v<this.highStart)return C=kM-$M+(v>>pb),C=this.index[C],C+=v>>wu&EM,C=this.index[C],C=(C<<fb)+(v&mb),this.data[C];if(v<=1114111)return this.data[this.highValueIndex]}return this.errorValue},b})(),rS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",VM=typeof Uint8Array>"u"?[]:new Uint8Array(256),xm=0;xm<rS.length;xm++)VM[rS.charCodeAt(xm)]=xm;var NM=1,gb=2,yb=3,sS=4,aS=5,HM=7,nS=8,vb=9,bb=10,oS=11,lS=12,hS=13,uS=14,xb=15,QM=function(b){for(var v=[],C=0,x=b.length;C<x;){var D=b.charCodeAt(C++);if(D>=55296&&D<=56319&&C<x){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},jM=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 x=[],D=-1,O="";++D<C;){var H=b[D];H<=65535?x.push(H):(H-=65536,x.push((H>>10)+55296,H%1024+56320)),(D+1===C||x.length>16384)&&(O+=String.fromCharCode.apply(String,x),x.length=0)}return O},WM=RM(CM),Sn="\xD7",_b="\xF7",XM=function(b){return WM.get(b)},zM=function(b,v,C){var x=C-2,D=v[x],O=v[C-1],H=v[C];if(O===gb&&H===yb)return Sn;if(O===gb||O===yb||O===sS||H===gb||H===yb||H===sS)return _b;if(O===nS&&[nS,vb,oS,lS].indexOf(H)!==-1||(O===oS||O===vb)&&(H===vb||H===bb)||(O===lS||O===bb)&&H===bb||H===hS||H===aS||H===HM||O===NM)return Sn;if(O===hS&&H===uS){for(;D===aS;)D=v[--x];if(D===uS)return Sn}if(O===xb&&H===xb){for(var W=0;D===xb;)W++,D=v[--x];if(W%2===0)return Sn}return _b},GM=function(b){var v=QM(b),C=v.length,x=0,D=0,O=v.map(XM);return{next:function(){if(x>=C)return{done:!0,value:null};for(var H=Sn;x<C&&(H=zM(v,O,++x))===Sn;);if(H!==Sn||x===C){var W=jM.apply(null,v.slice(D,x));return D=x,{value:W,done:!1}}return{done:!0,value:null}}}},YM=function(b){for(var v=GM(b),C=[],x;!(x=v.next()).done;)x.value&&C.push(x.value.slice());return C},KM=function(b){var v=123;if(b.createRange){var C=b.createRange();if(C.getBoundingClientRect){var x=b.createElement("boundtest");x.style.height=v+"px",x.style.display="block",b.body.appendChild(x),C.selectNode(x);var D=C.getBoundingClientRect(),O=Math.round(D.height);if(b.body.removeChild(x),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"?"&#128104;".repeat(10):"";var x=v.firstChild,D=h(x.data).map(function(j){return c(j)}),O=0,H={},W=D.every(function(j,se){C.setStart(x,O),C.setEnd(x,O+j.length);var oe=C.getBoundingClientRect();O+=j.length;var Ae=oe.x>H.x||oe.y>H.y;return H=oe,se===0?!0:Ae});return b.body.removeChild(v),W},qM=function(){return typeof new Image().crossOrigin<"u"},JM=function(){return typeof new XMLHttpRequest().responseType=="string"},eR=function(b){var v=new Image,C=b.createElement("canvas"),x=C.getContext("2d");if(!x)return!1;v.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{x.drawImage(v,0,0),C.toDataURL()}catch{return!1}return!0},cS=function(b){return b[0]===0&&b[1]===255&&b[2]===0&&b[3]===255},tR=function(b){var v=b.createElement("canvas"),C=100;v.width=C,v.height=C;var x=v.getContext("2d");if(!x)return Promise.reject(!1);x.fillStyle="rgb(0, 255, 0)",x.fillRect(0,0,C,C);var D=new Image,O=v.toDataURL();D.src=O;var H=Cb(C,C,0,0,D);return x.fillStyle="red",x.fillRect(0,0,C,C),dS(H).then(function(W){x.drawImage(W,0,0);var j=x.getImageData(0,0,C,C).data;x.fillStyle="red",x.fillRect(0,0,C,C);var se=b.createElement("div");return se.style.backgroundImage="url("+O+")",se.style.height=C+"px",cS(j)?dS(Cb(C,C,0,0,se)):Promise.reject(!1)}).then(function(W){return x.drawImage(W,0,0),cS(x.getImageData(0,0,C,C).data)}).catch(function(){return!1})},Cb=function(b,v,C,x,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",x.toString()),W.setAttributeNS(null,"externalResourcesRequired","true"),H.appendChild(W),W.appendChild(D),H},dS=function(b){return new Promise(function(v,C){var x=new Image;x.onload=function(){return v(x)},x.onerror=C,x.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(b))})},js={get SUPPORT_RANGE_BOUNDS(){var b=KM(document);return Object.defineProperty(js,"SUPPORT_RANGE_BOUNDS",{value:b}),b},get SUPPORT_WORD_BREAKING(){var b=js.SUPPORT_RANGE_BOUNDS&&ZM(document);return Object.defineProperty(js,"SUPPORT_WORD_BREAKING",{value:b}),b},get SUPPORT_SVG_DRAWING(){var b=eR(document);return Object.defineProperty(js,"SUPPORT_SVG_DRAWING",{value:b}),b},get SUPPORT_FOREIGNOBJECT_DRAWING(){var b=typeof Array.from=="function"&&typeof window.fetch=="function"?tR(document):Promise.resolve(!1);return Object.defineProperty(js,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:b}),b},get SUPPORT_CORS_IMAGES(){var b=qM();return Object.defineProperty(js,"SUPPORT_CORS_IMAGES",{value:b}),b},get SUPPORT_RESPONSE_TYPE(){var b=JM();return Object.defineProperty(js,"SUPPORT_RESPONSE_TYPE",{value:b}),b},get SUPPORT_CORS_XHR(){var b="withCredentials"in new XMLHttpRequest;return Object.defineProperty(js,"SUPPORT_CORS_XHR",{value:b}),b},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var b=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(js,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:b}),b}},NA=(function(){function b(v,C){this.text=v,this.bounds=C}return b})(),iR=function(b,v,C,x){var D=aR(v,C),O=[],H=0;return D.forEach(function(W){if(C.textDecorationLine.length||W.trim().length>0)if(js.SUPPORT_RANGE_BOUNDS){var j=AS(x,H,W.length).getClientRects();if(j.length>1){var se=wb(W),oe=0;se.forEach(function(Ce){O.push(new NA(Ce,n.fromDOMRectList(b,AS(x,oe+H,Ce.length).getClientRects()))),oe+=Ce.length})}else O.push(new NA(W,n.fromDOMRectList(b,j)))}else{var Ae=x.splitText(W.length);O.push(new NA(W,rR(b,x))),x=Ae}else js.SUPPORT_RANGE_BOUNDS||(x=x.splitText(W.length));H+=W.length}),O},rR=function(b,v){var C=v.ownerDocument;if(C){var x=C.createElement("html2canvaswrapper");x.appendChild(v.cloneNode(!0));var D=v.parentNode;if(D){D.replaceChild(x,v);var O=o(b,x);return x.firstChild&&D.replaceChild(x.firstChild,x),O}}return n.EMPTY},AS=function(b,v,C){var x=b.ownerDocument;if(!x)throw new Error("Node has no owner document");var D=x.createRange();return D.setStart(b,v),D.setEnd(b,v+C),D},wb=function(b){if(js.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 YM(b)},sR=function(b,v){if(js.SUPPORT_NATIVE_TEXT_SEGMENTATION){var C=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(C.segment(b)).map(function(x){return x.segment})}return oR(b,v)},aR=function(b,v){return v.letterSpacing!==0?wb(b):sR(b,v)},nR=[32,160,4961,65792,65793,4153,4241],oR=function(b,v){for(var C=$$(b,{lineBreak:v.lineBreak,wordBreak:v.overflowWrap==="break-word"?"break-word":v.wordBreak}),x=[],D,O=function(){if(D.value){var H=D.value.slice(),W=h(H),j="";W.forEach(function(se){nR.indexOf(se)===-1?j+=c(se):(j.length&&x.push(j),x.push(c(se)),j="")}),j.length&&x.push(j)}};!(D=C.next()).done;)O();return x},lR=(function(){function b(v,C,x){this.text=hR(C.data,x.textTransform),this.textBounds=iR(v,this.text,x,C)}return b})(),hR=function(b,v){switch(v){case 1:return b.toLowerCase();case 3:return b.replace(uR,cR);case 2:return b.toUpperCase();default:return b}},uR=/(^|\s|:|-|\(|\))([a-z])/g,cR=function(b,v,C){return b.length>0?v+C.toUpperCase():b},pS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.src=x.currentSrc||x.src,D.intrinsicWidth=x.naturalWidth,D.intrinsicHeight=x.naturalHeight,D.context.cache.addImage(D.src),D}return v})($o),fS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.canvas=x,D.intrinsicWidth=x.width,D.intrinsicHeight=x.height,D}return v})($o),mS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this,O=new XMLSerializer,H=o(C,x);return x.setAttribute("width",H.width+"px"),x.setAttribute("height",H.height+"px"),D.svg="data:image/svg+xml,"+encodeURIComponent(O.serializeToString(x)),D.intrinsicWidth=x.width.baseVal.value,D.intrinsicHeight=x.height.baseVal.value,D.context.cache.addImage(D.svg),D}return v})($o),gS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.value=x.value,D}return v})($o),Bb=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.start=x.start,D.reversed=typeof x.reversed=="boolean"&&x.reversed===!0,D}return v})($o),dR=[{type:15,flags:0,unit:"px",number:3}],AR=[{type:16,flags:0,number:50}],pR=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},fR=function(b){var v=b.type===mR?new Array(b.value.length+1).join("\u2022"):b.value;return v.length===0?b.placeholder||"":v},_m="checkbox",Cm="radio",mR="password",yS=707406591,Sb=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;switch(D.type=x.type.toLowerCase(),D.checked=x.checked,D.value=fR(x),(D.type===_m||D.type===Cm)&&(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=pR(D.bounds)),D.type){case _m:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=dR;break;case Cm:D.styles.borderTopRightRadius=D.styles.borderTopLeftRadius=D.styles.borderBottomRightRadius=D.styles.borderBottomLeftRadius=AR;break}return D}return v})($o),vS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this,O=x.options[x.selectedIndex||0];return D.value=O&&O.text||"",D}return v})($o),bS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;return D.value=x.value,D}return v})($o),xS=(function(b){t(v,b);function v(C,x){var D=b.call(this,C,x)||this;D.src=x.src,D.width=parseInt(x.width,10)||0,D.height=parseInt(x.height,10)||0,D.backgroundColor=D.styles.backgroundColor;try{if(x.contentWindow&&x.contentWindow.document&&x.contentWindow.document.documentElement){D.tree=CS(C,x.contentWindow.document.documentElement);var O=x.contentWindow.document.documentElement?RA(C,getComputedStyle(x.contentWindow.document.documentElement).backgroundColor):Fl.TRANSPARENT,H=x.contentWindow.document.body?RA(C,getComputedStyle(x.contentWindow.document.body).backgroundColor):Fl.TRANSPARENT;D.backgroundColor=ph(O)?ph(H)?D.styles.backgroundColor:H:O}}catch{}return D}return v})($o),gR=["OL","UL","MENU"],wm=function(b,v,C,x){for(var D=v.firstChild,O=void 0;D;D=O)if(O=D.nextSibling,wS(D)&&D.data.trim().length>0)C.textNodes.push(new lR(b,D,C.styles));else if(Jc(D))if(DS(D)&&D.assignedNodes)D.assignedNodes().forEach(function(W){return wm(b,W,C,x)});else{var H=_S(b,D);H.styles.isVisible()&&(yR(D,H,x)?H.flags|=4:vR(H.styles)&&(H.flags|=2),gR.indexOf(D.tagName)!==-1&&(H.flags|=8),C.elements.push(H),D.slot,D.shadowRoot?wm(b,D.shadowRoot,H,x):!Sm(D)&&!BS(D)&&!Fm(D)&&wm(b,D,H,x))}},_S=function(b,v){return Pb(v)?new pS(b,v):SS(v)?new fS(b,v):BS(v)?new mS(b,v):bR(v)?new gS(b,v):xR(v)?new Bb(b,v):_R(v)?new Sb(b,v):Fm(v)?new vS(b,v):Sm(v)?new bS(b,v):TS(v)?new xS(b,v):new $o(b,v)},CS=function(b,v){var C=_S(b,v);return C.flags|=4,wm(b,v,C,C),C},yR=function(b,v,C){return v.styles.isPositionedWithZIndex()||v.styles.opacity<1||v.styles.isTransformed()||Tb(b)&&C.styles.isTransparent()},vR=function(b){return b.isPositioned()||b.isFloating()},wS=function(b){return b.nodeType===Node.TEXT_NODE},Jc=function(b){return b.nodeType===Node.ELEMENT_NODE},Fb=function(b){return Jc(b)&&typeof b.style<"u"&&!Bm(b)},Bm=function(b){return typeof b.className=="object"},bR=function(b){return b.tagName==="LI"},xR=function(b){return b.tagName==="OL"},_R=function(b){return b.tagName==="INPUT"},CR=function(b){return b.tagName==="HTML"},BS=function(b){return b.tagName==="svg"},Tb=function(b){return b.tagName==="BODY"},SS=function(b){return b.tagName==="CANVAS"},FS=function(b){return b.tagName==="VIDEO"},Pb=function(b){return b.tagName==="IMG"},TS=function(b){return b.tagName==="IFRAME"},PS=function(b){return b.tagName==="STYLE"},wR=function(b){return b.tagName==="SCRIPT"},Sm=function(b){return b.tagName==="TEXTAREA"},Fm=function(b){return b.tagName==="SELECT"},DS=function(b){return b.tagName==="SLOT"},LS=function(b){return b.tagName.indexOf("-")>0},BR=(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(x){return C.counters[x].pop()})},b.prototype.parse=function(v){var C=this,x=v.counterIncrement,D=v.counterReset,O=!0;x!==null&&x.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})(),IS={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"]},kS={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"]},SR={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"]},FR={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"]},ed=function(b,v,C,x,D,O){return b<v||b>C?QA(b,D,O.length>0):x.integers.reduce(function(H,W,j){for(;b>=W;)b-=W,H+=x.values[j];return H},"")+O},$S=function(b,v,C,x){var D="";do C||b--,D=x(b)+D,b/=v;while(b*v>=v);return D},Jr=function(b,v,C,x,D){var O=C-v+1;return(b<0?"-":"")+($S(Math.abs(b),O,x,function(H){return c(Math.floor(H%O)+v)})+D)},Bu=function(b,v,C){C===void 0&&(C=". ");var x=v.length;return $S(Math.abs(b),x,!1,function(D){return v[Math.floor(D%x)]})+C},td=1,mh=2,gh=4,HA=8,Tl=function(b,v,C,x,D,O){if(b<-9999||b>9999)return QA(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 se=H%10;se===0&&vs(O,td)&&W!==""?W=v[se]+W:se>1||se===1&&j===0||se===1&&j===1&&vs(O,mh)||se===1&&j===1&&vs(O,gh)&&b>100||se===1&&j>1&&vs(O,HA)?W=v[se]+(j>0?C[j-1]:"")+W:se===1&&j>0&&(W=C[j-1]+W),H=Math.floor(H/10)}return(b<0?x:"")+W},OS="\u5341\u767E\u5343\u842C",ES="\u62FE\u4F70\u4EDF\u842C",MS="\u30DE\u30A4\u30CA\u30B9",Db="\uB9C8\uC774\uB108\uC2A4",QA=function(b,v,C){var x=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=Jr(b,48,57,!0,x);return W.length<4?"0"+W:W;case 4:return Bu(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",D);case 6:return ed(b,1,3999,IS,3,x).toLowerCase();case 7:return ed(b,1,3999,IS,3,x);case 8:return Jr(b,945,969,!1,x);case 9:return Jr(b,97,122,!1,x);case 10:return Jr(b,65,90,!1,x);case 11:return Jr(b,1632,1641,!0,x);case 12:case 49:return ed(b,1,9999,kS,3,x);case 35:return ed(b,1,9999,kS,3,x).toLowerCase();case 13:return Jr(b,2534,2543,!0,x);case 14:case 30:return Jr(b,6112,6121,!0,x);case 15:return Bu(b,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",D);case 16:return Bu(b,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",D);case 17:case 48:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",OS,"\u8CA0",D,mh|gh|HA);case 47:return Tl(b,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ES,"\u8CA0",D,td|mh|gh|HA);case 42:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",OS,"\u8D1F",D,mh|gh|HA);case 41:return Tl(b,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ES,"\u8D1F",D,td|mh|gh|HA);case 26:return Tl(b,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",MS,D,0);case 25:return Tl(b,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",MS,D,td|mh|gh);case 31:return Tl(b,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Db,O,td|mh|gh);case 33:return Tl(b,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Db,O,0);case 32:return Tl(b,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Db,O,td|mh|gh);case 18:return Jr(b,2406,2415,!0,x);case 20:return ed(b,1,19999,FR,3,x);case 21:return Jr(b,2790,2799,!0,x);case 22:return Jr(b,2662,2671,!0,x);case 22:return ed(b,1,10999,SR,3,x);case 23:return Bu(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 Bu(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 Jr(b,3302,3311,!0,x);case 28:return Bu(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 Bu(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 Jr(b,3792,3801,!0,x);case 37:return Jr(b,6160,6169,!0,x);case 38:return Jr(b,4160,4169,!0,x);case 39:return Jr(b,2918,2927,!0,x);case 40:return Jr(b,1776,1785,!0,x);case 43:return Jr(b,3046,3055,!0,x);case 44:return Jr(b,3174,3183,!0,x);case 45:return Jr(b,3664,3673,!0,x);case 46:return Jr(b,3872,3881,!0,x);default:return Jr(b,48,57,!0,x)}},RS="data-html2canvas-ignore",US=(function(){function b(v,C,x){if(this.context=v,this.options=x,this.scrolledElements=[],this.referenceElement=C,this.counters=new BR,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 x=this,D=TR(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,se=LR(D).then(function(){return i(x,void 0,void 0,function(){var oe,Ae;return r(this,function(Ce){switch(Ce.label){case 0:return this.scrolledElements.forEach(OR),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))),oe=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:Ce.sent(),Ce.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,DR(j)]:[3,4];case 3:Ce.sent(),Ce.label=4;case 4:return typeof oe=="function"?[2,Promise.resolve().then(function(){return oe(j,Ae)}).then(function(){return D})]:[2,D]}})})});return j.open(),j.write(kR(document.doctype)+"<html></html>"),$R(this.referenceElement.ownerDocument,O,H),j.replaceChild(j.adoptNode(this.documentElement),j.documentElement),j.close(),se},b.prototype.createElementClone=function(v){if(Ab(v,2))debugger;if(SS(v))return this.createCanvasClone(v);if(FS(v))return this.createVideoClone(v);if(PS(v))return this.createStyleClone(v);var C=v.cloneNode(!1);return Pb(C)&&(Pb(v)&&v.currentSrc&&v.currentSrc!==v.src&&(C.src=v.currentSrc,C.srcset=""),C.loading==="lazy"&&(C.loading="eager")),LS(C)?this.createCustomElementClone(C):C},b.prototype.createCustomElementClone=function(v){var C=document.createElement("html2canvascustomelement");return Lb(v.style,C),C},b.prototype.createStyleClone=function(v){try{var C=v.sheet;if(C&&C.cssRules){var x=[].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=x,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 x=v.ownerDocument.createElement("img");try{return x.src=v.toDataURL(),x}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 x=C.getContext("2d");try{return x&&(x.drawImage(v,0,0,C.width,C.height),this.options.allowTaint||x.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,x){(!Jc(C)||!wR(C)&&!C.hasAttribute(RS)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(C)))&&(!this.options.copyStyles||!Jc(C)||!PS(C))&&v.appendChild(this.cloneNode(C,x))},b.prototype.cloneChildNodes=function(v,C,x){for(var D=this,O=v.shadowRoot?v.shadowRoot.firstChild:v.firstChild;O;O=O.nextSibling)if(Jc(O)&&DS(O)&&typeof O.assignedNodes=="function"){var H=O.assignedNodes();H.length&&H.forEach(function(W){return D.appendChildNode(C,W,x)})}else this.appendChildNode(C,O,x)},b.prototype.cloneNode=function(v,C){if(wS(v))return document.createTextNode(v.data);if(!v.ownerDocument)return v.cloneNode(!1);var x=v.ownerDocument.defaultView;if(x&&Jc(v)&&(Fb(v)||Bm(v))){var D=this.createElementClone(v);D.style.transitionProperty="none";var O=x.getComputedStyle(v),H=x.getComputedStyle(v,":before"),W=x.getComputedStyle(v,":after");this.referenceElement===v&&Fb(D)&&(this.clonedReferenceElement=D),Tb(D)&&RR(D);var j=this.counters.parse(new JB(this.context,O)),se=this.resolvePseudoContent(v,D,H,jA.BEFORE);LS(v)&&(C=!0),FS(v)||this.cloneChildNodes(v,D,C),se&&D.insertBefore(se,D.firstChild);var oe=this.resolvePseudoContent(v,D,W,jA.AFTER);return oe&&D.appendChild(oe),this.counters.pop(j),(O&&(this.options.copyStyles||Bm(v))&&!TS(v)||C)&&Lb(O,D),(v.scrollTop!==0||v.scrollLeft!==0)&&this.scrolledElements.push([D,v.scrollLeft,v.scrollTop]),(Sm(v)||Fm(v))&&(Sm(D)||Fm(D))&&(D.value=v.value),D}return v.cloneNode(!1)},b.prototype.resolvePseudoContent=function(v,C,x,D){var O=this;if(x){var H=x.content,W=C.ownerDocument;if(!(!W||!H||H==="none"||H==="-moz-alt-content"||x.display==="none")){this.counters.parse(new JB(this.context,x));var j=new bM(this.context,x),se=W.createElement("html2canvaspseudoelement");Lb(x,se),j.content.forEach(function(Ae){if(Ae.type===0)se.appendChild(W.createTextNode(Ae.value));else if(Ae.type===22){var Ce=W.createElement("img");Ce.src=Ae.value,Ce.style.opacity="1",se.appendChild(Ce)}else if(Ae.type===18){if(Ae.name==="attr"){var ot=Ae.values.filter(lr);ot.length&&se.appendChild(W.createTextNode(v.getAttribute(ot[0].value)||""))}else if(Ae.name==="counter"){var Ue=Ae.values.filter(Zc),Ke=Ue[0],ri=Ue[1];if(Ke&&lr(Ke)){var bt=O.counters.getCounterValue(Ke.value),gt=ri&&lr(ri)?db.parse(O.context,ri.value):3;se.appendChild(W.createTextNode(QA(bt,gt,!1)))}}else if(Ae.name==="counters"){var zi=Ae.values.filter(Zc),Ke=zi[0],oi=zi[1],ri=zi[2];if(Ke&&lr(Ke)){var Ut=O.counters.getCounterValues(Ke.value),it=ri&&lr(ri)?db.parse(O.context,ri.value):3,ki=oi&&oi.type===0?oi.value:"",$i=Ut.map(function(Oa){return QA(Oa,it,!1)}).join(ki);se.appendChild(W.createTextNode($i))}}}else if(Ae.type===20)switch(Ae.value){case"open-quote":se.appendChild(W.createTextNode(qB(j.quotes,O.quoteDepth++,!0)));break;case"close-quote":se.appendChild(W.createTextNode(qB(j.quotes,--O.quoteDepth,!1)));break;default:se.appendChild(W.createTextNode(Ae.value))}}),se.className=Ib+" "+kb;var oe=D===jA.BEFORE?" "+Ib:" "+kb;return Bm(C)?C.className.baseValue+=oe:C.className+=oe,se}}},b.destroy=function(v){return v.parentNode?(v.parentNode.removeChild(v),!0):!1},b})(),jA;(function(b){b[b.BEFORE=0]="BEFORE",b[b.AFTER=1]="AFTER"})(jA||(jA={}));var TR=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(RS,"true"),b.body.appendChild(C),C},PR=function(b){return new Promise(function(v){if(b.complete){v();return}if(!b.src){v();return}b.onload=v,b.onerror=v})},DR=function(b){return Promise.all([].slice.call(b.images,0).map(PR))},LR=function(b){return new Promise(function(v,C){var x=b.contentWindow;if(!x)return C("No window assigned for iframe");var D=x.document;x.onload=b.onload=function(){x.onload=b.onload=null;var O=setInterval(function(){D.body.childNodes.length>0&&D.readyState==="complete"&&(clearInterval(O),v(b))},50)}})},IR=["all","d","content"],Lb=function(b,v){for(var C=b.length-1;C>=0;C--){var x=b.item(C);IR.indexOf(x)===-1&&v.style.setProperty(x,b.getPropertyValue(x))}return v},kR=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},$R=function(b,v,C){b&&b.defaultView&&(v!==b.defaultView.pageXOffset||C!==b.defaultView.pageYOffset)&&b.defaultView.scrollTo(v,C)},OR=function(b){var v=b[0],C=b[1],x=b[2];v.scrollLeft=C,v.scrollTop=x},ER=":before",MR=":after",Ib="___html2canvas___pseudoelement_before",kb="___html2canvas___pseudoelement_after",VS=`{
3
3
  content: "" !important;
4
4
  display: none !important;
5
5
  }`,RR=function(b){UR(b,"."+Ib+ER+VS+`
@@ -43,13 +43,13 @@ import{a as to}from"./QVD6LHQ2.js";import o from"./6KRLGANY.js";import n from"./
43
43
  </table>`,i})}getHTMLRow(t,e,i,r=!1,a=!1){let n=" <tr>";e.rowClass&&(n=' <tr class="'+e.rowClass+'">'),i||(i=t);let o=this.get("dataFieldsOrder",[]),l=a?"th":"td",h=!0;return Yl(i,(c,u)=>{let d=this.convertEmptyValue(c,t[c],e),A=r?d:this.convertToSpecialFormat(c,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},(c,u)=>{let d=o.indexOf(c),A=o.indexOf(u);return d>A?1:d<A?-1:0}),n+=`
46
- </tr>`,n}exportXLSX(t){return We(this,void 0,void 0,function*(){return"data:"+this.getContentType("xlsx")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getXLSX(t))})}getXLSX(t){return We(this,void 0,void 0,function*(){let e=this._getFormatOptions("xlsx",t),i=yield this.getXLSXLib(),r={bookType:"xlsx",bookSST:!1,type:"base64"},a=this._normalizeExcelSheetName(this.get("title",this._t("Data"))),n={SheetNames:[a],Sheets:{}},o=[],l=this.getData("html",e),h=this.getDataFields(l);if(e.pivot){let c=this.get("dataFieldsOrder",[]);Yl(h,(u,d)=>{let A=[];e.addColumnNames&&A.push(d);for(let p=l.length,f=0;f<p;f++){let m=l[f][u];A.push(this.convertToSpecialFormat(u,m,e,!0))}o.push(this.getXLSXRow(A,e,void 0,!0))},(u,d)=>{let A=c.indexOf(u),p=c.indexOf(d);return A>p?1:A<p?-1:0})}else{e.addColumnNames&&o.push(this.getXLSXRow(h,e,void 0,!0));for(let c=l.length,u=0;u<c;u++)o.push(this.getXLSXRow(l[u],e,h))}return n.Sheets[a]=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 a=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Yl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),c=r?h:this.convertToSpecialFormat(o,h,e,!0);a.push(c)},(o,l)=>{let h=n.indexOf(o),c=n.indexOf(l);return h>c?1:h<c?-1:0}),a}_xlsx(){return We(this,void 0,void 0,function*(){return yield import("./KBDOBMB5.js")})}getXLSXLib(){return this._xlsx()}exportPDF(t){return We(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 We(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 We(this,void 0,void 0,function*(){let r=this._getFormatOptions("pdf",t),a=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),_=yield this.getCanvas(y);l.width=_.clientWidth,l.height=_.clientHeight,o=_.toDataURL(this.getContentType(g),r.quality||1),this.disposeCanvas(_)}let h=yield this.getPdfmake(),c=[30,30,30,30],u={pageSize:r.pageSize||"A4",pageOrientation:n,pageMargins:r.pageMargins||c,defaultStyle:{font:r.font?r.font.name:void 0},content:[]},d=this.get("title"),A=0;if(d&&(u.content.push({text:d,fontSize:r.fontSize||14,bold:!0,margin:[0,0,0,15]}),A+=50),r.addURL&&(u.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(u.pageSize,u.pageMargins,A,n);l.width>g[0]||l.height>g[1]?u.content.push({image:o,alignment:r.align||"left",fit:g}):u.content.push({image:o,alignment:r.align||"left"})}(i||r.includeData)&&this.hasData()&&u.content.push({table:yield this.getPDFData(a),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)),this.events.dispatch("pdfdocready",{type:"pdfdocready",format:"pdf",options:r,doc:u,target:this}),new Promise((g,y)=>{h.createPdf(u,null,p,f).getBase64(_=>{g(_)})})})}getPDFData(t){return We(this,void 0,void 0,function*(){let e=this._getFormatOptions("pdfdata",t),i={body:[]},r=this.getData("html",e),a=this.getDataFields(r);if(e.pivot){let n=this.get("dataFieldsOrder",[]);Yl(a,(o,l)=>{let h=[];e.addColumnNames&&h.push(l);for(let c=r.length,u=0;u<c;u++){let d=r[u][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),c=n.indexOf(l);return h>c?1:h<c?-1:0})}else{e.addColumnNames&&(i.body.push(this.getPDFDataRow(a,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,a))}return i})}getPDFDataRow(t,e,i,r=!1){let a=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Yl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),c=r?h:this.convertToSpecialFormat(o,h,e);c=""+c,a.push(c)},(o,l)=>{let h=n.indexOf(o),c=n.indexOf(l);return h>c?1:h<c?-1:0}),a}getPdfmake(){return HC===void 0&&(HC=TN()),HC}getPageSizeFit(t,e,i=0,r="portrait"){let a=[0,0,0,0];te(e)?a=[e,e,e,e]:e.length==2?a=[e[0],e[1],e[0],e[1]]:e.length==4&&(a=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]-=a[0]+a[2],o[1]-=a[1]+a[3]+i,o}hasData(){let t=this.get("dataSource");return!!(By(t)&&t.length)}getData(t,e,i=!1){let r=this._getFormatOptions(t,e),a=this.get("dataSource",[]),n=a,o=this.get("dataFields");o&&By(a)&&(n=[],J(a,h=>{if(Vn(h)){let c={};Et(o,(u,d)=>{o[u]!=null&&(c[i?d:u]=this.convertToSpecialFormat(u,h[u],r))}),n.push(c)}}));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={},By(t)&&t.length&&J(t,i=>{Et(i,(r,a)=>{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):nt.fromHex(16777215)}else return nt.fromCSS(i)}streamFile(t,e,i=!1){if(this.blobDownloadSupport()){let r=document.createElement("a");r.download=e,document.body.appendChild(r);let a=t.split(";"),n=a.shift().replace(/data:/,"");if(t=decodeURIComponent(a.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 c=new Blob([t],{type:n}),u=window.URL.createObjectURL(c);return r.href=u,r.download=e,r.click(),setTimeout(()=>{document.body.removeChild(r),window.URL.revokeObjectURL(u)},100),!0}let o=new Array(t.length);for(let c=0;c<t.length;++c){let u=t.charCodeAt(c);o[c]=u}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 a=this._getFormatOptions("print",e).delay||500,n=document.documentElement.scrollTop||document.body.scrollTop,o=new ff(P_(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(P_(this._root.dom),"body",{padding:"0",margin:"0"},this._root.nonce),h;i&&document&&document.title&&(h=document.title,document.title=i);let c=new Image;c.src=t,c.style.maxWidth="100%",c.style.display="block",c.style.position="relative",c.style.visibility="visible",c.style.opacity="1",c.style.clipPath="none",document.body.appendChild(c),this.setTimeout(()=>{window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&a<1e3?a=1e3:a<100&&(a=100),this.setTimeout(()=>{document.body.removeChild(c),o.dispose(),l.dispose(),h&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},a||500)}_printViaIframe(t,e,i){let a=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()}},a||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&a<1e3?a=1e3:a<100&&(a=100),this.setTimeout(()=>{document.body.removeChild(n)},a+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=gi.classNames.concat([cu.className]);var dv={exports:{}},jC,U1;function PN(){if(U1)return jC;U1=1;function s(t){var e=new t,i=e;function r(){var n=e;return n.next?e=n.next:(e=new t,i=e),n.next=null,n}function a(n){i.next=n,i=n}return{get:r,release:a}}return jC=s,jC}var V1;function DN(){if(V1)return dv.exports;V1=1;var s=PN();function t(a,n,o){if(typeof a=="function"&&(o=n,n=a,a=null),o<1)throw new Error("fastqueue concurrency must be greater than 1");var l=s(i),h=null,c=null,u=0,d=null,A={push:w,drain:e,saturated:e,pause:f,paused:!1,concurrency:o,running:p,resume:y,idle:_,length:m,getQueue:g,unshift:S,empty:e,kill:T,killAndDrain:L,error:$};return A;function p(){return u}function f(){A.paused=!0}function m(){for(var I=h,M=0;I;)I=I.next,M++;return M}function g(){for(var I=h,M=[];I;)M.push(I.value),I=I.next;return M}function y(){if(A.paused){A.paused=!1;for(var I=0;I<A.concurrency;I++)u++,P()}}function _(){return u===0&&A.length()===0}function w(I,M){var F=l.get();F.context=a,F.release=P,F.value=I,F.callback=M||e,F.errorHandler=d,u===A.concurrency||A.paused?c?(c.next=F,c=F):(h=F,c=F,A.saturated()):(u++,n.call(a,F.value,F.worked))}function S(I,M){var F=l.get();F.context=a,F.release=P,F.value=I,F.callback=M||e,u===A.concurrency||A.paused?h?(F.next=h,h=F):(h=F,c=F,A.saturated()):(u++,n.call(a,F.value,F.worked))}function P(I){I&&l.release(I);var M=h;M?A.paused?u--:(c===h&&(c=null),h=M.next,M.next=null,n.call(a,M.value,M.worked),c===null&&A.empty()):--u===0&&A.drain()}function T(){h=null,c=null,A.drain=e}function L(){h=null,c=null,A.drain(),A.drain=e}function $(I){d=I}}function e(){}function i(){this.value=null,this.callback=e,this.next=null,this.release=e,this.context=null,this.errorHandler=null;var a=this;this.worked=function(n,o){var l=a.callback,h=a.errorHandler,c=a.value;a.value=null,a.callback=e,a.errorHandler&&h(n,c),l.call(a.context,n,o),a.release(a)}}function r(a,n,o){typeof a=="function"&&(o=n,n=a,a=null);function l(f,m){n.call(this,f).then(function(g){m(null,g)},m)}var h=t(a,l,o),c=h.push,u=h.unshift;return h.push=d,h.unshift=A,h.drained=p,h;function d(f){var m=new Promise(function(g,y){c(f,function(_,w){if(_){y(_);return}g(w)})});return m.catch(e),m}function A(f){var m=new Promise(function(g,y){u(f,function(_,w){if(_){y(_);return}g(w)})});return m.catch(e),m}function p(){var f=h.drain,m=new Promise(function(g){h.drain=function(){f(),g()}});return m}}return dv.exports=t,dv.exports.promise=r,dv.exports}var LN=DN(),Qi={SelectXY:"selectXY",SelectX:"selectX",SelectY:"selectY",ZoomXY:"zoomXY",ZoomX:"zoomX",ZoomY:"zoomY",None:"none"},ji={Top:"top",Bottom:"bottom",Median:"median",Outliers:"outliers"},bv=new Map;function Yn(s){s!==void 0&&bv.delete(s)}function Vc(s,t){let e=bv.get(s)??{};bv.set(s,{...e,...t})}function Nc(s,t){return bv.get(s)?.[t]}function IN(s,t){return Nc(s,t)}function kN(s,t){Vc(s,t)}function $N(s,t){return Nc(s,t)}function ON(s,t){Vc(s,t)}function ve(s,t){return Nc(s,t)}function ni(s,t){Vc(s,t)}function Hs(s,t){return Nc(s,t)}function Po(s,t){Vc(s,t)}function Vs(s,t){return Nc(s,t)}function Ls(s,t){Vc(s,t)}function EN(s,t){return Nc(s,t)}function MN(s,t){Vc(s,t)}function gs(s,t){return Nc(s,t)}function mu(s,t){Vc(s,t)}function Ri(s,t){t===!1&&!s.isHiding?(s.visible=!1,s.hide()):s.isShowing||(s.visible=!0,s.show())}function RN(s,t){for(let e=0;e<t.length;e+=1){let i=t[e][0],r=t[e][1],a=s.length;i>=0&&i<a&&r>=0&&r<a&&s.swap(t[e][0],t[e][1])}}function VL(s,t){let e;if(s!==void 0&&"rgb"in s&&s.rgb!==void 0){let i=s.rgb;if(i!==void 0){let{r,g:a,b:n}=i;e=[r,a,n,255]}}return e}function Ec(s){let t=s??[0,0,0,255];return new xt({a:t[3]/255,b:t[2],g:t[1],r:t[0]})}function Zr(s){return s.bullets.values.find(t=>EN(t.uid,"isBulletMarker"))}function qn(s){return s!=null&&!s.isDisposed()}function Ef(s){return(s.isShowing||s.visible)&&!s.isHidden&&!s.isHiding&&!s.disabled&&!s.__disabled}function NL(s,t){return s.pixelX<0||s.pixelX>t?.plotContainer?.measuredWidth||s.pixelY<0||s.pixelY>t?.plotContainer?.measuredHeight}function UN(s){let t;return s.baseSprite instanceof Wt||s.baseSprite instanceof pr?t=s.baseSprite:(s instanceof Mh||s instanceof Yd)&&(t=s.axis.chart),t}function VN(s){return VL(s.background.fill)}var re={...lt};function NN(s){let{fill:t,rotation:e,isLinePattern:i,chartBackgroundColor:r}=s,a;return i!==!1?(a=new fc,a.width=re.patternLineProperties.width??Number.NaN,a.height=re.patternLineProperties.height??Number.NaN,a.strokeWidth=re.patternLineProperties.strokeWidth??Number.NaN,a.stroke=t,a.rotation=e??Number.NaN):(a=new mc,a.rectWidth=re.patternRectProperties.rectWidth??Number.NaN,a.rectHeight=re.patternRectProperties.rectHeight??Number.NaN,a.width=re.patternRectProperties.width??Number.NaN,a.height=re.patternRectProperties.height??Number.NaN,a.fillOpacity=re.patternRectProperties.fillOpacity??Number.NaN,a.strokeWidth=re.patternRectProperties.strokeWidth??Number.NaN,a.fill=Ec(r),a.stroke=t,a.rotation=e??Number.NaN),a}function N1(s){let t=Number.NaN;if(typeof s=="number")t=s;else if(s.includes("%")){let e=Number.parseFloat(s.trim().replace("%","").trim());Number.isFinite(e)&&(t=he(e))}return t}function HN(s){let{fill:t,style:e,chartBackgroundColor:i}=s,r,a,n=!0;switch(e){case bs.Horizontal:{a=0;break}case bs.Vertical:{a=90;break}case bs.ForwardDiagonal:{a=45;break}case bs.BackwardDiagonal:{a=135;break}case bs.Cross:{a=0,n=!1;break}case bs.DiagonalCross:{a=135,n=!1;break}case bs.Solid:}return a!==void 0&&(r=NN({fill:t,rotation:a,isLinePattern:n,chartBackgroundColor:i})),r}function xn(s,t){let e;t!==void 0&&(e=Ec(t));let i=e??new xt({r:0,g:0,b:0,a:0});if(s!=null){let[r,a,n,o]=s;i=new xt({r,g:a,b:n,a:o/255})}return i}function HL(s,t=0){return(s??t)%360}function QN(s,t){return t!==!0||s?.includes("Dot")===!0?"round":"square"}function QL(s,t){let e="none";switch(s??t){case bi.Justify:case bi.Center:e="center";break;case bi.Left:e="left";break;case bi.Right:e="right";break}return e}function yw(s,t){let e="middle";switch(s??t){case bi.Right:e="left";break;case bi.Left:e="right";break;case bi.Center:case bi.Justify:}return e}function jN(s,t){let e="none";switch(s??t){case Yt.Baseline:case Yt.Middle:e="middle";break;case Yt.Top:e="top";break;case Yt.Bottom:e="bottom";break}return e}function jL(s,t){let e=Yt.Middle;switch(s??t){case Yt.Top:e="bottom";break;case Yt.Bottom:e="top";break;case Yt.Baseline:case Yt.Middle:default:e="middle";break}return e}function WN(s,t){let e=s??As.Solid,i=t??re.lineWidth,r={[As.Solid]:"none",[As.Dot]:[1,i],[As.DashDotDot]:[4*i,i,1,i,1,i],[As.Dash]:[4*i,3*i],[As.DashDot]:[4*i,3*i,1,3*i],[As.Null]:"none"};return(r[e]??r[As.Null]).toString()}function WL(s,t){let e={stroke:xn(),strokeWidth:re.lineWidth,strokeDasharray:"",strokeLinecap:t!==!0?"round":"square",strokeOpacity:hd};return s!=null&&(e.stroke=xn(s.color),e.strokeOpacity=1,s.width!==void 0&&(e.strokeWidth=s.width),s.style!==void 0&&s.style!==As.Null&&(e.strokeDasharray=WN(s.style,e.strokeWidth),e.strokeLinecap=QN(s.style,t))),e}function XL(s,t){let e=s,[i,r,a,n]=s?.color??t??re.color,o=[i,r,a,n];return e==null?e={type:Dt.SLS,color:o}:e.color===void 0&&(e.color=o),WL(e,!1)}function XN(s,t){let{color:e,outline:i,style:r}=s,a=xn(e);return{pattern:HN({fill:a,style:r,chartBackgroundColor:t}),fill:a,outline:XL(i,e)}}function zN(s){let{color:t,outline:e,xoffset:i,yoffset:r,style:a,size:n,angle:o}=s,l=a!==void 0?rx(a,n):"",h=HL(o);return{path:l,fill:xn(t),outline:XL(e,t),xOffset:i??0,yOffset:r??0,angle:h}}function vw(s){let{symbol:t,defaultToColorFromRamp:e,colorRampIndex:i,isChartFillSymbol:r=!1,chartBackgroundColor:a}=s,n;if(e===!0){let o=r?Nm:hd;if(t.color=t.color??bh({colorIndex:i,opacity:o}),md(t)||np(t)){let{outline:l}=t;l!==void 0&&(l.color=l?.color??bh({colorIndex:i}),t.outline={...l})}}return Tx(t)?n=WL(t,!0):np(t)?(t.style??=re.lineSeries.marker.markerStyle,t.size??=re.lineSeries.marker.markerBigSize,n=zN(t)):md(t)&&(n=XN(t,a)),n}function xv(s,t,e){let i=yw(s.horizontalAlignment,e?.horizontalCenter),r=QL(s.horizontalAlignment,e?.align),a=jL(s.verticalAlignment,e?.verticalCenter),n=jN(s.verticalAlignment,e?.valign);return{fill:xn(s.color,re.color),fontFamily:s.font?.family??"Arial, Helvetica, sans-serif",fontSize:s.font?.size??re.generalFontSize,fontWeight:s.font?.weight??"400",textDecoration:s.font?.decoration??"none",align:r,valign:n,verticalCenter:a,horizontalCenter:i,text:_a({textSymbol:s,format:"amChartsV4"}),angle:HL(s.angle,e?.rotation),xOffset:s.xoffset??e?.dx??0,yOffset:s.yoffset??e?.dy??0,backgroundFill:xn(s.backgroundColor),borderFill:xn(s.borderLineColor),borderWidth:s.borderLineSize??1,haloSize:s.haloSize??-1,haloColor:xn(s.haloColor),rtl:s.rightToLeft??t,wrap:e?.wrap??!1,maxWidth:e?.maxWidth??Number.NaN}}function zL(s,t,e){e!==void 0&&s.tooltip!==void 0&&(s.tooltip.getFillFromObject=!1,s.tooltip.background.fill=t),s.fill=e??t,s.fillOpacity=Ne(s.fill.toString()).alpha===0?0:1}function AA(s,t){s.stroke=t.stroke,s.strokeOpacity=t.stroke.alpha===0?0:1,s.strokeDasharray=t.strokeDasharray,s.strokeLinecap=t.strokeLinecap,s.strokeWidth=t.strokeWidth}function _v(s){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return e!==void 0?(n=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(t.path=n.path,t.rotation=n.angle,t.dx=n.xOffset,t.dy=n.yOffset,zL(t,n.fill),AA(t,n.outline)),Ri(t,i),t.disabled=i===!1):t.disabled=!0,n}function Oc(s){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return e!==void 0?(n=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&AA(t,n),Ri(t,i)):Ri(t,!1),n}function Mf(s){let{element:t,fillSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a,isChartFillSymbol:n}=s,o,l;if(e!==void 0){if(e.style===bs.Cross||e.style===bs.DiagonalCross){let h=UN(t);h!==void 0&&(l=VN(h))}o=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a,isChartFillSymbol:n,chartBackgroundColor:l}),o!==void 0&&(zL(t,o.fill,o.pattern),AA(t,o.outline)),t.disabled=i===!1}else t.disabled=!0;return o}function Mc(s){let{element:t,seriesIndex:e,colorMatch:i,seriesSymbol:r,isChartFillSymbol:a,rendererSymbol:n,seriesConfig:o}=s,l,h;i===!0&&n&&(l=ox({rendererSymbol:n,seriesSymbol:r,colorIndex:e}));let c={element:t,defaultToColorFromRamp:!0,colorRampIndex:e,seriesConfig:o},u=l??{...r};switch(r.type){case Dt.SLS:h=Oc({...c,lineSymbol:u});break;case Dt.SFS:h=Mf({...c,fillSymbol:u,isChartFillSymbol:a});break;case Dt.SMS:h=_v({...c,markerSymbol:u});break}return{symbolWithColorInfo:u,stylingInfo:h}}function H1(s,t){if(t!==void 0){let e=s.properties,{elementColor:i,elementOutlineColor:r,elementOutlineWidth:a,rotation:n,transformation:o}=t,{opacity:l,scale:h}=o??{};i!==void 0&&(e.fill=Ec(i),e.fillOpacity=Ne(e.fill.toString()).alpha===0?0:1),r!==void 0&&(e.stroke=Ec(r)),a!==void 0&&(e.strokeWidth=a),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 GN(s,t,e){let i=new Set(Array.from(t)),r=s.findIndex(a=>!i.has(ZC(a)));return r!==-1?r:e}function ZC(s){return`${s[0]},${s[1]},${s[2]}`}function YN(s){let{chartConfig:t,queryObject:e,usePopupTemplateFieldsInfo:i,labelUpdateNeeded:r,utilsStrings:a}=s,{series:n}=t,o=n[0],{x:l}=o,h=!bF({chartConfig:t}),c=kt([o]),u=c===Ee.PieFromFields,d=Ys(e),A=_h(d).idField,p=ln(e,i);return{x:l,isNonAggregatedChart:h,objectIdField:A,isPieFromFields:u,seriesConfig:o,fieldList:p,labelUpdateNeeded:r,chartSubType:c,colorMatch:Ol(t),utilsStrings:a}}function KN(s){let{dataContext:t,seriesConfig:e,existingSlicesColors:i,isGroupOfSlices:r,sliceFromConfig:a,dataIndex:n,colorMatch:o,chartSubType:l}=s,h=r?{...lt.pieChart.sliceGrouping.fillSymbol,...e.sliceGrouping?.fillSymbol}:Tr(a?.fillSymbol??e.fillSymbol),c=on({dataItem:t,seriesConfig:e,chartSubType:l,colorMatch:o}),u=n;h?.color||(u=GN(AF,i,n));let d={dataItem:{dataContext:t}},{symbolWithColorInfo:A}=Mc({element:d,seriesConfig:e,y:e.y,seriesSymbol:h??Wm(),seriesIndex:u,rendererSymbol:c,colorMatch:o,isChartFillSymbol:!0});return A}function Q1(s,t){let{x:e,isNonAggregatedChart:i,objectIdField:r,isPieFromFields:a,seriesConfig:n,fieldList:o,labelUpdateNeeded:l,colorMatch:h,chartSubType:c,utilsStrings:u}=s,d=[],A,p,f=new Set;return t?.forEach((m,g)=>{let y=eH({dataContext:m,x:e,isNonAggregatedChart:i,dataIndex:g,objectIdField:r,isPieFromFields:a});m[lt.pieChart.technicalFieldSliceId]=y;let _=qC(n.slices,y);_?.fillSymbol?.color!==void 0&&f.add(ZC(_.fillSymbol.color))}),t?.forEach((m,g)=>{let y=m[lt.pieChart.technicalFieldSliceId],_=qC(n.slices,y),w=ah(m),S=KN({dataContext:m,seriesConfig:n,existingSlicesColors:f,isGroupOfSlices:w,sliceFromConfig:_,dataIndex:g,colorMatch:h,chartSubType:c});S.color&&f.add(ZC(S.color));let P=tH({dataContext:m,sliceFromConfig:_,isGroupOfSlices:w,seriesConfig:n,fieldList:o,isPieFromFields:a,labelUpdateNeeded:l,colorMatch:h,utilsStrings:u}),T={sliceId:y,label:P,fillSymbol:S};T.originalLabel=_?.originalLabel??(m?.[lt.originalCategoryValue]!==void 0?m?.[lt.originalCategoryValue]:T.label),w?(p=m[lt.pieChart.technicalFieldGroupedSlices],n.sliceGrouping!==void 0&&(A={sliceId:n.sliceGrouping.sliceId,percentageThreshold:n.sliceGrouping.percentageThreshold,label:P,originalLabel:n.sliceGrouping.originalLabel??P,fillSymbol:S})):d.push(T)}),{slices:d,groupOfSlicesSymbols:A,groupOfSlices:p}}function GL(s){let{creation:t,dataInfo:e,pieChartDataActuallyChanged:i,chartConfig:r,previousConfig:a,queryObject:n,usePopupTemplateFieldsInfo:o,utilsStrings:l}=s,h;if(r.series[0].type===V.PieSeries){let c=In(e.data),u=mx({oldConfig:a,newConfig:r}),d=fx(a,r),A=Jm(a,r),p=YN({chartConfig:r,queryObject:n,usePopupTemplateFieldsInfo:o,labelUpdateNeeded:t||i||u||A||d,utilsStrings:l}),{slices:f,groupOfSlicesSymbols:m,groupOfSlices:g}=Q1(p,c),{slices:y}=Q1(p,g??[]);h={slices:f,groupedSlices:y,groupOfSlices:m}}return h}async function ZN(s){let{creation:t,dataInfo:e,dataInfo:{data:i},pieChartDataActuallyChanged:r,chartConfig:a,previousConfig:n,pieSlicesSymbols:o,queryObject:l,options:h,utilsStrings:c}=s,{slices:u}=o??{},{chartWillRender:d}=h??{},A=ze(a.series),p=!1,f=a,m=Tr(o),g,y;if(d&&(A===V.PieSeries||A===V.GaugeSeries)){p=!0,f=Tr(a);let _=ng({data:i,seriesConfig:a.series});f=await d({chartConfig:f,data:_,slices:u}),!Gs(l)&&A===V.PieSeries&&i&&"dataItems"in i&&({colorMatchApplied:g,rendererFieldNames:y}=await bx({data:i.dataItems,queryObject:l,chartConfig:f,allowColorMatch:nx({chartConfig:f,queryObject:l})}),m=GL({creation:t,dataInfo:e,chartConfig:f,previousConfig:n,queryObject:l,pieChartDataActuallyChanged:r,usePopupTemplateFieldsInfo:h?.usePopupTemplateFieldsInfo,utilsStrings:c}))}return{changesApplied:p,alteredConfig:f,alteredPieSlicesSymbols:m,colorMatchApplied:g,rendererFieldNames:y}}function ah(s){return s?.[an.defaultGroupOfSlicesId]===!0}function qN(s){let{dataContext:t,dataIndex:e,objectIdField:i}=s;return`${an.sliceIdPrefix}-${t[i??""]?.toString()??e}`}function JN(s){let{chartConfig:t,chartData:e,fieldList:i}=s,r=kt(t.series)===Ee.PieFromFields;if(t.orderOptions?.data!==void 0||r){ig({arrayToSort:e,chartConfig:t,fieldList:i});let{slices:a}=t.series[0];a!==void 0&&a.sort((n,o)=>{let l=e.findIndex(c=>c[lt.pieChart.technicalFieldSliceId]===n.sliceId),h=e.findIndex(c=>c[lt.pieChart.technicalFieldSliceId]===o.sliceId);return l-h})}}function qC(s,t){let e;return s!==void 0&&t!==void 0&&(e=s.find(i=>i.sliceId===t)),e}function eH(s){let{dataContext:t,isNonAggregatedChart:e,x:i,dataIndex:r,objectIdField:a,isPieFromFields:n}=s,o="";return n===!0?o=t[lt.originalCategoryValue]??t[io]:e?o=qN({dataContext:t,dataIndex:r,objectIdField:a}):(o=t[lt.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 tH(s){let{dataContext:t,sliceFromConfig:e,isGroupOfSlices:i,seriesConfig:r,fieldList:a,isPieFromFields:n,labelUpdateNeeded:o,colorMatch:l,utilsStrings:h}=s,{sliceGrouping:c}=r,{x:u}=r;n&&(u=io);let d=t[u]??t[lt.originalCategoryValue],A=t[lt.originalCategoryValue]??d,p=d;return o&&(i?p=c?.label??c?.originalLabel?.toString()??h.pieChart.defaultSliceGroupingLabel:l&&t[lt.rendererSymbolField]?.label!==void 0?p=t[lt.rendererSymbolField].label:e!==void 0||a!==void 0?(e?.label&&e.label!==e?.sliceId&&(p=e?.label),p===A&&A!==void 0&&A!==null&&(p=Er(a,A))):e===void 0&&(p=A),p===lt.nullValue?p="null":p!=null&&(p=p.toString())),p}function bw(s,t){return s?.[0]?.sliceGrouping?.percentageThreshold!==t?.[0]?.sliceGrouping?.percentageThreshold}function Hf(s){let{groupOfSlicesDataContext:t,chartData:e}=s;return(t??e?.find(i=>i[an.defaultGroupOfSlicesId]===!0))?.[lt.pieChart.technicalFieldGroupedSlices]}function xw(s){let{dataContext:t,pieSlicesSymbols:e,seriesConfig:i}=s,r=i.fillSymbol?{...i.fillSymbol}:Wm();if(ah(t))r={...lt.pieChart.sliceGrouping.fillSymbol,...e?.groupOfSlices?.fillSymbol};else{let a=t[lt.pieChart.technicalFieldSliceId],n=e?.slices?.find(o=>o.sliceId===a);r=Tr(n?.fillSymbol??i.fillSymbol??Wm())}return r}function yl(s){let{type:t,iLocale:e,formatLocale:i=fd(document.documentElement)}=s,r;switch(t){case V.NumberAxisFormat:{r=new Hl,r.language.locale=e,r.intlLocales=i;break}case V.DateAxisFormat:{r=new cn,r.language!==void 0&&(r.language.locale=e),r.intlLocales=i;break}}return r}function JC(s){let{axis:t,valueFormat:e,chartType:i}=s,r=Um({isXAxis:!0,chartType:i,valueFormat:e}),a=ro(e)&&t instanceof Ct,n=xa(e)&&t instanceof He&&!(t instanceof Ct),o=r&&t instanceof Ot;return!a&&!n&&!o}function YL(s,t){let e=typeof t=="number"?`${t}`:t,i=Vs(s.uid,"numberFormatter");return i!==void 0&&(e=i(t)),Yi(e)&&(e=re.htmlEmptyContent),Mr(e)}function iH(s){s.renderer.labels.template.html=re.htmlEmptyContent,s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>YL(s,e?.dataItem?.value??t),0)}function KL(s){let{axis:t,defaultOutput:e,dataItem:i}=s,r=e,a=Vs(t.uid,"categoryFormatter"),n=Vs(t.uid,"numberFormatter");if((n!==void 0||a!==void 0)&&i instanceof il){let o=ve(t.chart.uid,"config"),l=kt(o?.series),h=ve(t.chart.uid,"rendererFieldNames"),c=Mo({value:i.category,dataContext:i.dataContext,useRendererLabel:JA(o,h),specificField:rp(l,o?.series?.[0]),config:o});if(typeof c=="number"&&n!==void 0)r=n(c);else if(a!==void 0){if([Ee.BoxPlotMonoField,Ee.BoxPlotMultiFields,Ee.BoxPlotMonoFieldAndSplitBy,Ee.BoxPlotMultiFieldsAndSplitBy,Ee.BarAndLineFromFields].includes(l)&&typeof c=="string"){let d=ve(t.chart.uid,"fieldList");c=Er(d,c)}let u=so(i.dataContext);u===void 0&&(u=c),r=a(c,u)}}return Yi(r)&&(r=re.htmlEmptyContent),Mr(r)}function rH(s){s.renderer.labels.template.html=re.htmlEmptyContent,s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>KL({axis:s,defaultOutput:t,dataItem:e?.dataItem}),0)}function sH(s){let{axis:t,defaultOutput:e,dataItem:i}=s,r=e,a=Vs(t.uid,"dateFormatter");return a!==void 0&&i instanceof Vh&&(r=a(i.value??e)),Yi(r)&&(r=re.htmlEmptyContent),Mr(r)}function aH(s){s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>sH({axis:s,dataItem:e?.dataItem,defaultOutput:t}),0),s.renderer.labels.template.adapter.disableKey("htmlOutput")}function nH(s){s.renderer.labels.template.adapter.add("htmlOutput",t=>{let e=t,i=Vs(s.uid,"fontStyleCallback");return i!==void 0&&(e=i(e)),Mr(e)},1)}function oH(s){s instanceof He&&!(s instanceof Ct)?iH(s):s instanceof Ot?rH(s):s instanceof Ct&&aH(s),nH(s)}function lH(s){let{axis:t,formatOptions:e,dateAxisFormatter:i,isTimeOnlyField:r}=s;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(o=>{o.element instanceof Op&&o.element.removeChildren()}));let a={...Eo(e)};r&&(a={hour:r?"numeric":void 0,minute:r?"numeric":void 0,...a});let n=["year","month","day","hour","minute","second"];t.timezone!==a.timeZone&&(t.setPropertyValue("timezone",a.timeZone),t.chart.validateData()),t.dateFormatter.timezone=a.timeZone,delete a.timeZone;for(let o=0;o<n.length;o+=1){let l=n[o],h=o===0?l:n[o-1],c=e?.formatPerDateTimeUnit?.[l]??a,u=e?.formatPerDateTimeUnit?.[h];Lu(c)||(t.dateFormats.setKey(l,c),t.periodChangeDateFormats.setKey(l,u??c))}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 hH(s,t,e,i){let r=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:e});return r.numberFormat=s,a=>{let n=0;return a instanceof Date?a.toLocaleString(void 0,s):(n=typeof a!="string"?a??0:Fx(a,r.intlLocales),i===!0&&s.style==="percent"&&(n/=100),r.format(n))}}function j1(s){let{axis:t,formatOptions:e,overridePercentMultiplication:i,valueAxisFormatter:r}=s,a=Eo(e),n=ve(t.chart.uid,"formatLocale");Ls(t.uid,{numberFormatter:r??hH(a,t.chart.language.locale,n,i)})}function uH(s){let{axis:t,formatOptions:e,categoryAxisFormatter:i}=s,r=i!==void 0?i:Xm(e.characterLimit);Ls(t.uid,{categoryFormatter:r})}function cH(s){let{axis:t,labelsTextSymbol:e,axisValueFormatter:i}=s,r=ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior;if(Ls(t.uid,{axisLabelsBehavior:r}),i!==void 0)Ls(t.uid,{fontStyleCallback:void 0});else if(Vs(t.uid,"fontStyleCallback")===void 0){let a=n=>{let o=Vs(t.uid,"axisLabelsBehavior");return _a({textSymbol:e,placeholderString:n,format:"html",axisLabelsBehavior:o,defaults:{maxWidth:t.renderer.labels.template.maxWidth}})};Ls(t.uid,{fontStyleCallback:a})}}function dH(s){let{axis:t,isXAxis:e,formatOptions:i,labelsTextSymbol:r,overridePercentMultiplication:a,chartType:n,axisValueFormatter:o,isTimeOnlyField:l,errorStrings:h}=s,c=Um({isXAxis:e,chartType:n,valueFormat:i}),u=!1;!(t instanceof Ct)&&xa(i)?j1({axis:t,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}):t instanceof Ct&&ro(i)?lH({axis:t,formatOptions:i,dateAxisFormatter:o,isTimeOnlyField:l}):t instanceof Ot?ld(i)||c?(uH({axis:t,formatOptions:i,categoryAxisFormatter:o}),Ls(t.uid,{numberFormatter:void 0})):xa(i)?(j1({axis:t,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}),Ls(t.uid,{categoryFormatter:void 0})):u=!0:u=!0,u&&Rm("mismatchAxisAndValueFormat",h),cH({axis:t,labelsTextSymbol:r,axisValueFormatter:o}),t.invalidateLabels()}function AH(s){let t=s;return s>=1?t=10**(s.toFixed(0).length-1):s<1&&s>0&&(t=10**-Math.abs(Math.floor(Math.log10(s)))),t}function ZL(s){let{minimumFromConfig:t,maximumFromConfig:e,isLogarithmic:i}=s,r=i===!0&&t!==null&&t!==void 0&&t<=0,a=!Number.isFinite(t)||!Number.isFinite(e);return r||a}var pH="arcgis-charts-randomization-seed";Cy(pH,Cy.URL);var ii={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 qL(s){let{actionMode:t,cursorRange:e,isRotated:i}=s,r=Qi.None;switch(e){case Vm.MultiAxes:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=Qi.SelectXY:t===Vt.Zoom&&(r=Qi.ZoomXY);break;case Vm.XAxis:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=i===!0?Qi.SelectY:Qi.SelectX:t===Vt.Zoom&&(r=i===!0?Qi.ZoomY:Qi.ZoomX);break;case Vm.YAxis:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=i===!0?Qi.SelectX:Qi.SelectY:t===Vt.Zoom&&(r=i===!0?Qi.ZoomX:Qi.ZoomY);break}return r}function fH(s,t){let e=re.cursorCrosshair.style,i={type:Dt.SLS,style:t.style??e.style,color:t.color??e.color,width:t.width??e.width};Oc({element:s.cursor.lineX,lineSymbol:i}),Oc({element:s.cursor.lineY,lineSymbol:i})}function JL(s){if(!(s instanceof qs)&&!(s instanceof pr)){s.cursor=new pc;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);s.cursor.hideSeriesTooltipsOnSelection=!t}}function eI(s,t){if(!(s instanceof qs)&&!(s instanceof pr)){let e=s,i=e.cursor??new pc;t?.style!==void 0&&fH(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 mH(s){return!(s instanceof qs)&&s.cursor===void 0&&JL(s),s.cursor}function ew(s,t){let e=s.renderer.labels.template;e.events.hasListenersByType(Ie.Hit)&&(e.cursorOverStyle=t),s.renderer.labels.each(i=>{i.cursorOverStyle=t})}function gH(s){let{chart:t,chartType:e,showMean:i,enabled:r}=s,a=r?ai.pointer:ai.default;switch(e){case V.ComboLineAndBarSeries:case V.BarSeries:case V.PieSeries:t.series.each(n=>{(n instanceof Ni||n instanceof ws)&&(n.cursorOverStyle=a)});break;case V.BoxPlotSeries:t.series.each(n=>{let o=a;if(n instanceof Pi){let l=Zr(n);l!==void 0&&(i&&Hs(n.uid,"isBoxPlotOutliersSeries")&&(o=ai.default),l.cursorOverStyle=o,l.clones.each(h=>{h.cursorOverStyle=o}))}else n.cursorOverStyle=i?ai.default:a});break;case V.LineSeries:t.series.each(n=>{if(n instanceof Pi){let o=Zr(n);o!==void 0&&(o.cursorOverStyle=a,o.clones.each(l=>{l.cursorOverStyle=a}))}});break}}function yH(s){let{chart:t,actionMode:e,cursorRange:i}=s,r=ve(t.uid,"isRotated"),a=ve(t.uid,"config"),n=Ca(a),o=ze(a?.series),l=o===V.LineSeries&&xa(a?.axes?.[0]?.valueFormat),h=o===V.LineSeries&&ld(a?.axes?.[0]?.valueFormat),c=o===V.LineSeries&&ro(a?.axes?.[0]?.valueFormat),u,d=!1,A=e??ve(t.uid,"actionMode")??re.actionMode;if(ve(t.uid,"filterBySelection")===!0)u=Qi.None,d=!1;else if(i!==void 0)u=qL({actionMode:A,cursorRange:i,isRotated:r});else switch(A){case Vt.Zoom:l||c?u=Qi.ZoomXY:u=r===!0?Qi.ZoomY:Qi.ZoomX,d=!1;break;case Vt.MultiSelection:case Vt.MultiSelectionWithCtrlKey:h?u=r===!0?Qi.SelectY:Qi.SelectX:u=Qi.SelectXY,d=!0;break;case Vt.MonoSelection:u=Qi.None,d=!0;break;case Vt.None:u=Qi.None,d=!1;break}t instanceof Wt&&t.cursor!==void 0&&u!==void 0&&(t.cursor.behavior=u),gH({chart:t,chartType:o,enabled:d,showMean:n})}function tI(s){let t="";return s instanceof Wr?t=s.dataFields?.categoryX??s.dataFields?.dateX??s.dataFields?.valueX??"":s instanceof ws&&(t=s.dataFields?.category??""),t}function iI(s){let t="";return s instanceof Wr?t=s.dataFields?.categoryY??s.dataFields?.dateY??s.dataFields?.valueY??"":s instanceof ws&&(t=s.dataFields?.value??""),t}function rI(s){return ve(s.chart.uid,"isRotated")===!0?iI(s):tI(s)}function bu(s){return ve(s.chart.uid,"isRotated")===!0?tI(s):iI(s)}function Dv(s,t=0){let e=ve(s.chart.uid,"config");return ze(e?.series,t)}function*vH(s){let{filterList:t,queryObject:e,queryConfig:i}=s;for(let r=0;r<t.length;r+=1){let a={...i};a.where=Km([a.where,t[r]]),yield FF({queryObject:e,queryConfig:a,uniqueFeature:!0})}}async function sI(s){let{whereList:t,queryObject:e,queryFilter:i,queryConfig:r}=s,a=[];if(t.length>0){let n=yF().maxElementsPerSelectionQuery,o=[],l=Math.ceil(t.length/n);for(let c=0;c<l;c+=1){let u=c*n,d=(c+1)*n,A=t.slice(u===0?0:u-1,d),p=Km(A,"OR");p=Km([i,p]),o.push(p)}let h=vH({filterList:o,queryObject:e,queryConfig:r});a=(await Promise.all(h)).flat(),a=Array.from(new Set(a))}return a}var Au={Outlier:"outlier",Box:"box",OutlierToOutlier:"outlier-outlier",OutlierToBox:"outlier-box",BoxToOutlier:"box-outlier",BoxToBox:"box-box"};function bH(s,t){let e=s[lt.boxPlot.boxPlotOutlierId]===!0?Au.Outlier:Au.Box,i=typeof t=="number"?Au.Outlier:Au.Box;return`${e}-${i}`}function xH(s){let{oneSelectedItem:t,dataContext:e,selectedOutlierKey:i}=s;return t[i]===e[i]}function _H(s){let{elementMin:t,elementMax:e,selectedOutlierValue:i}=s,r;return typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(r=i>=t&&i<=e),r}function CH(s){let{selectedMin:t,selectedMax:e,elementOutlierValue:i,oneSelectedItem:r,iqrField:a}=s,n;typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(n=i>=t&&i<=e);let o=a in r;return n!==!1&&o}function wH(s){let{selectedMin:t,selectedMax:e,elementMin:i,oneSelectedItem:r,elementMax:a,iqrField:n}=s,o;typeof i=="number"&&typeof a=="number"&&typeof t=="number"&&typeof e=="number"&&(o=!(i>=e||a<=t));let l=n in r;return o!==!1&&l}function BH(s){let{oneSelectedItem:t,dataContext:e,xAxisField:i}=s,r=e[lt.originalCategoryValue]??e[lt.boxPlot.boxPlotCategory]??e[i],a=t[lt.originalCategoryValue]??t[lt.boxPlot.boxPlotCategory]??t[i];return r===a}function SH(s){let{chartSubType:t,yAxisField:e,splitBy:i,showOutliers:r}=s,a=t===Ee.BoxPlotMultiFieldsAndCategory?e:void 0,n={y:a,splitBy:i},o=er({...n,key:Kt.Outlier}),l=er({...n,key:Kt.Max,showOutliers:r}),h=er({...n,key:Kt.Min,showOutliers:r}),c=er({...n,key:Kt.Max,showOutliers:!1}),u=er({...n,key:Kt.Min,showOutliers:!1}),d=er({...n,key:Kt.Max,showOutliers:!0}),A=er({...n,key:Kt.Min,showOutliers:!0}),p=er({splitBy:i,y:a,key:Kt.IQR});return{selectedOutlierKey:o,maxField:l,minField:h,selectedMaxFieldWoOutliers:c,selectedMinFieldWoOutliers:u,selectedMaxFieldWithOutliers:d,selectedMinFieldWithOutliers:A,iqrField:p}}function FH(s){let{elementDataContext:t,layerOidField:e,xAxisField:i,splitBy:r,yAxisField:a,chartSubType:n,showOutliers:o}=s,l=t,h;if(l?.[lt.boxPlot.boxPlotMeanLineMarkerId]===!0){let c=er({splitBy:r,key:Kt.Average});h=u=>{let d=!i||!(i in u&&i in l)||u[i]===l[i],A=c in u&&c in l;return d&&A}}else i!==void 0&&a!==void 0&&(h=c=>{let u;if(e!==void 0&&e in c&&e in l)u=c[e]===l[e];else{let{selectedOutlierKey:d,maxField:A,minField:p,selectedMaxFieldWoOutliers:f,selectedMinFieldWoOutliers:m,selectedMaxFieldWithOutliers:g,selectedMinFieldWithOutliers:y,iqrField:_}=SH({chartSubType:n,yAxisField:a,splitBy:r,showOutliers:o}),w=l[d],S=c[d],P=l[p],T=l[A],L=c[m]??c[y],$=c[f]??c[g],I=BH({oneSelectedItem:c,dataContext:l,xAxisField:i});if(I)switch(bH(c,w)){case Au.OutlierToOutlier:I=xH({oneSelectedItem:c,dataContext:l,selectedOutlierKey:d});break;case Au.OutlierToBox:I=_H({elementMin:P,elementMax:T,selectedOutlierValue:S});break;case Au.BoxToOutlier:I=CH({selectedMin:L,selectedMax:$,elementOutlierValue:w,oneSelectedItem:c,iqrField:_});break;case Au.BoxToBox:I=wH({selectedMin:L,selectedMax:$,elementMin:P,oneSelectedItem:c,elementMax:T,iqrField:_});break}u=I===!0}return u});return h}function _w(s){let{layerOidField:t,sliceDataContext:e,selectionDataContext:i,xAxisField:r}=s,a=!1;if(t!==void 0&&t in e&&t in i)a=i[t]?.toString()===e[t]?.toString();else{let n=e[lt.originalCategoryValue];n===void 0&&(n=e[r]),n===void 0&&(n=e[io]);let o=i[lt.originalCategoryValue];o===void 0&&(o=i[r]),o===void 0&&(o=i[io]),a=n!==void 0&&o!==void 0&&n===o}return a}function Av(s){let{dataContext:t,specificField:e,xOrY:i}=s,r=t[i==="x"?lt.originalCategoryValue:lt.originalYCategoryValue];return r===void 0&&e&&(r=t[e]),r===void 0&&(r=t[i==="x"?Cr.xField:Cr.yField]),r}function Lv(s){let{options:t,elementDataContext:e,selectionDataItems:i,layerOidField:r,xAxisField:a,yAxisField:n,chartType:o,splitBy:l,chartSubType:h}=s,c=!1,u;if(e!==void 0&&i!==void 0)switch(o){case V.HeatSeries:let d=e,A=Av({dataContext:d,specificField:a,xOrY:"x"}),p=Av({dataContext:d,specificField:n,xOrY:"y"});u=f=>{let m=Av({dataContext:f,specificField:a,xOrY:"x"}),g=Av({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(a!==void 0&&n!==void 0){let f=e;u=m=>{let g,y=r;if(h===Ee.BarAndLineSplitByNoAggregation){let _=Ch({where:l,keepSurroundingQuotes:!1,escape:!1});y=`${r}_${_}`}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(lt.dateBinningRange in f&&typeof m[a]=="number"){let _=m[a],w=m[lt.dateBinningRange],S=Array.isArray(w)&&Number.isFinite(w[0])&&Number.isFinite(w[1]),[P,T]=S?w:[0,0],[L,$]=f[lt.dateBinningRange],I=f[lt.lastTemporalBin]===!0?_<=$:_<$;g=(S?P<$&&L<T:_>=L&&I)&&n in m&&Number.isFinite(m[n])}else{let _=S=>{let P=S[lt.originalCategoryValue];return P===void 0&&(P=S[a]),P=P===null?lt.nullValue:P,P},w=_(f);g=_(m)===w&&n in m}return g}}break;case V.BoxPlotSeries:u=FH(s);break;case V.ScatterSeries:if(a!==void 0&&n!==void 0){let f=e;if(!vF({dataContext:f,chartLimits:t?.chartLimits}))u=m=>{let g;return r!==void 0&&r in f&&r in m?g=m[r]===f[r]:g=m[a]===f[a]&&m[n]===f[n],g};else{let{dataContextXMinField:m,dataContextXMaxField:g,dataContextYMinField:y,dataContextYMaxField:_}=lt.scatterplotAggregationFields,{[m]:w,[g]:S}=f,P=a!==n?f[y]:w,T=a!==n?f[_]:S,L=I=>{let M=I[a]??Number.NaN,F=w??Number.NaN,Q=S??Number.NaN;return w===S?M===F:(M??Number.NaN)>=F&&(M??Number.NaN)<Q},$=I=>{let M=I[n]??Number.NaN,F=P??Number.NaN,Q=T??Number.NaN;return P===T?M===F:M>=F&&M<Q};u=I=>L(I)&&$(I)}}break;case V.HistogramSeries:u=f=>{let m=!1,{minValue:g,maxValue:y}=e,{isLastBin:_}=e;if(a!==void 0&&a in f){let w=f[a];m=typeof w=="number"&&w>=g&&(_&&w<=y||!_&&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:a!==void 0&&(u=f=>{let m=e,g=ah(m),y=[m];return g&&y.push(...Hf({groupOfSlicesDataContext:m})??[]),y.some(_=>_w({sliceDataContext:_,selectionDataContext:f,layerOidField:r,xAxisField:a}))});break}return u!==void 0&&(c=i.some(u)),c}function sh(s){let{isFeatureCollectionLayer:t,dataContext:e,yAxisField:i,yList:r,xAxisField:a,splitBy:n,chartType:o,chartSubType:l,showOutliers:h}=s,c={...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!==Ee.BarAndLineNoAggregation&&l!==Ee.BarAndLineSplitByNoAggregation)&&r.forEach(d=>{d!==i&&delete c[d]});let u=Mo({value:e[a],dataContext:e,keepNullValues:!0});c[a]=u,!Yi(n)&&!OF(n)&&(c[Vo(n)]=Ch({where:n,escape:!1}))}else if(o===V.BoxPlotSeries){c={[a]:e[a]},[Eu.uniqueIdsName,lt.boxPlot.boxPlotMeanLineMarkerId,lt.boxPlot.boxPlotOutlierId,lt.originalCategoryValue,lt.originalYCategoryValue].forEach(d=>{e[d]&&(c[d]=e[d])});let u=l===Ee.BoxPlotMultiFieldsAndCategory?i:void 0;Object.values(Kt).forEach(d=>{let A=er({key:d,y:u,splitBy:n,showOutliers:h});e[A]!==void 0&&(c[A]=e[A])})}}return c}function aI(s){let{data:t,colorMatch:e,chartSubType:i,rendererType:r}=s;return t!==void 0&&e&&r!==void 0&&(i===Ee.BoxPlotMultiFields&&(r===Mm.UniqueValue||r===Mm.PieChart)||i===Ee.BoxPlotMonoFieldAndCategory&&r===Mm.UniqueValue)&&t.some(a=>Object.keys(a).some(n=>n.includes(lt.rendererSymbolField)))}function TH(s){return!!/^data:[a-z]+\/[a-z+.-]+;base64/u.test(s)}function nI(s,t=512){if(!TH(s))throw new Error("Cannot convert a string that is not a data uri to a blob");let e=s.split(",")[0].split(":")[1].split(";")[0],i=atob(s.split(",")[1]),r=[];for(let a=0;a<i.length;a+=t){let n=i.slice(a,a+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(s){let{value:t,valueFormat:e,iLocale:i,formatLocale:r}=s,a=t?.toString(),n=yl({type:e.type,iLocale:i,formatLocale:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?a=n.format(t,Eo(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(a=n.format(t,Eo(e))),a}function _n(s){let{chart:t,config:e}=s,i=e;return e===void 0&&t!==void 0&&(i=ve(t.uid,"config")),ks(i)}function PH(s){s instanceof jl&&s.series.each(t=>{Yn(t.uid),t instanceof Pi&&Yn(Zr(t)?.uid),t.bullets.each(e=>{Yn(e.uid)}),t instanceof Ni&&t.columns.template.children.each(e=>{Yn(e.uid)})}),s instanceof Wt&&[s.xAxes.getIndex(0),s.xAxes.getIndex(1),s.yAxes.getIndex(0),s.yAxes.getIndex(1)].forEach(t=>{t!==void 0&&(Yn(t.uid??""),t.axisRanges.each(e=>{Yn(e.label?.uid)}))}),s instanceof qs&&s.radarContainer.children.each(t=>{Yn(t.uid)}),s instanceof pr&&s.series.getIndex(0)?.slices.each(t=>{Yn(t.uid)}),"cursor"in s&&s.cursor instanceof rA&&Yn(s.cursor?.uid),"legend"in s&&s.legend!==void 0&&(Yn(s.legend.uid),Yn(s.legend.valueLabels?.template?.uid)),Yn(s.uid)}function pv(s){return typeof s=="number"?s:s.value}async function DH(s){let{chart:t,exportOptions:e}=s,{format:i,quality:r=1,...a}=e,n=r<0||r>1?1:r,o=await t.exporting.getImage(i,{quality:n,...a}),l=nI(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function Iv(s,t){t!==void 0&&(t.marginBottom!==void 0&&(s.marginBottom=t.marginBottom),t.marginTop!==void 0&&(s.marginTop=t.marginTop),t.marginRight!==void 0&&(s.marginRight=t.marginRight),t.marginLeft!==void 0&&(s.marginLeft=t.marginLeft),t.verticalCenter!==void 0&&(s.verticalCenter=jL(t.verticalCenter)),t.horizontalCenter!==void 0&&(s.horizontalCenter=yw(t.horizontalCenter)),t.strokeWidth!==void 0&&(s.strokeWidth=t.strokeWidth),t.wrap!==void 0&&(s.wrap=t.wrap),t.truncate!==void 0&&(s.truncate=t.truncate),t.maxWidth!==void 0&&(s.maxWidth=t.maxWidth),t.applyOnClones!==void 0&&(s.applyOnClones=t.applyOnClones,s.background.applyOnClones=t.applyOnClones))}function vl(s,t){let e=t?.createChild(Mi)??new Mi;return Iv(e,s),e}function LH(s){let t=s.push(new Xd);t.dx=1,t.dy=1,t.opacity=1}function IH(s,t,e){if(e.alpha>0&&t>=0){s.length===0&&LH(s);let i=s.getIndex(0);i.blur=t,i.color=e}else s.clear()}function kH(s,t){let e=gs(s.uid,"isGuide"),i=t.visible===!1;return!i&&(e===!0||!(s instanceof Jo))&&t.content.text===""&&(i=!0),i}function W1(s){let{label:t,offset:e,offsetProperty:i}=s,r=99;if(t.adapter.remove(i,r),typeof e=="string"&&!Number.isFinite(Number(e))){let a=qA(e);a!==void 0&&(a/=100,t.adapter.add(i,()=>(t.parent?.[i==="dx"?"measuredWidth":"measuredHeight"]??0)*a,r))}else t[i]=e}function Cn(s){let{label:t,labelConfig:e,defaults:i,skipSettingText:r}=s;if(e!==void 0){let a=xv(e.content,t.rtl,i);t.fill=a.fill,t.fontFamily=a.fontFamily,t.fontWeight=a.fontWeight,t.fontSize=a.fontSize,t.textDecoration=a.textDecoration,t.align=a.align,t.valign=a.valign,t.verticalCenter=a.verticalCenter,t.horizontalCenter=a.horizontalCenter,t.background.fill=a.backgroundFill,t.background.stroke=a.borderFill,t.background.strokeWidth=a.borderWidth,t.rotation=a.angle,W1({label:t,offset:a.xOffset,offsetProperty:"dx"}),W1({label:t,offset:a.yOffset,offsetProperty:"dy"}),t.rtl=a.rtl,t.wrap=a.wrap,t instanceof Jo||(t.maxWidth=a.maxWidth),r||(t.text=a.text),IH(t.filters,a.haloSize,a.haloColor);let n=kH(t,e);t.disabled=n,Ri(t,e.visible!==!1&&!n)}else t.disabled=!0}function oI(s,t){t!==void 0&&(s===V.BarSeries||s===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=i.dataItem,{chart:a}=r?.component??{};return a instanceof Wt&&(i.visible=!NL(i,a)),e??0})}function lI(s,t){t!==void 0&&(s===V.BarSeries&&t.adapter.add("dx",(e,i)=>{let r=e??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)===!0&&(a.valueX??a.valueY)<0&&(r-=i.measuredWidth+re.dataLabelNegative.paddingRight),r}),(s===V.BarSeries||s===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=e??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)!==!0&&(a.valueX??a.valueY)<0&&(r+=i.measuredHeight+re.dataLabelNegative.paddingTop),r}))}function tw(s){s.bulletsContainer.invalidateLabels(),s instanceof Ni&&s.columns?.template.invalidateLabels()}function $H(s){let{dataValue:t,series:e,seriesType:i,stackedType:r,axisMin:a}=s,n=t===void 0;return t!==void 0&&(a!==void 0&&t<a?n=!0:e instanceof Ni&&(i===V.BarSeries||i===V.ComboLineAndBarSeries)&&(n=t===0&&r!==void 0&&r!==Gi.Side)),n}function iw(s,t){let e,i=r=>gs(r.uid,"isDataLabel")??!1;return t==="bullets"?e=s.bullets.values.find(i):s instanceof Ni&&(e=s.columns.template.children.values.find(i)),e}function rw(s,t){s.adapter.add("htmlOutput",(e,i)=>{let r=e,{dataItem:a}=i;if(Ef(s)&&(t instanceof Ni&&a instanceof Bs||t instanceof Pi&&a instanceof Xa)){let n=Hs(t.uid,t instanceof Ni?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(n!==void 0){let o=ve(t.chart.uid,"isRotated"),l=Hs(t.uid,"stackedType"),h=o===!0?a.valueX:a.valueY,c=o===!0?a.values?.valueX?.totalPercent:a.values?.valueY?.totalPercent,u=o===!0?(a.component?.xAxis).min:(a.component?.yAxis).min;r=$H({dataValue:h,series:t,seriesType:t instanceof Ni?V.BarSeries:V.LineSeries,stackedType:l,axisMin:u})?"":n(h,c)}}return Mr(r)},0)}function hI(s){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i}=s;return(r,a)=>{let n=i===Gi.Stacked100&&a!==void 0?a:r;return t.numberFormat.style==="percent"&&(n/=100),_a({textSymbol:{...e,text:t.format(n)},format:"html"})}}function uI(s){s.tabindex=-1}function cI(s){let{series:t,seriesType:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:a,yAxisValueFormat:n,stackedType:o,isRotated:l,defaultDataLabelFormatter:h,customDataLabelFormatter:c}=s;if(i!==void 0){let u=c,d=a?.content??{type:Dt.TS};if(c===void 0&&h!==void 0&&n?.type===V.NumberAxisFormat){let p=ve(t.chart.uid,"formatLocale"),f=yl({type:n.type,iLocale:t.chart.language.locale,formatLocale:p});f.numberFormat=n.intlOptions,u=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&&Po(t.uid,{[A]:u}),a!==void 0&&(a.content.text=l===!0?"{valueX}":"{valueY}",a.visible=a.visible!==!1),Cn({label:i,labelConfig:a,defaults:r??re.dataLabel}),tw(t)}}function kv(s,t){let e=t;e===void 0&&(e=ve(s.uid,"config"));let i=ve(s.uid,"colorMatchApplied")??!1;return(e?.colorMatch??!1)&&i}function dI(s,t){let e;return s instanceof Ct?e=t===!0?"dateY":"dateX":s instanceof Ot?e=t===!0?"categoryY":"categoryX":e=t===!0?"valueY":"valueX",e}function xA(s,t){s.name=t}function Cw(s){let{chart:t,lineSeries:e,applyPropertiesToClones:i}=s,r=e.bullets.push(new Oe);return MN(r.uid,{isBulletMarker:!0}),i!==!1&&(r.applyOnClones=!0),e.bulletsContainer.parent=t.seriesContainer,r}function ww(s){let{series:t,seriesConfig:e,rotationChanged:i,stackedType:r,isRotated:a}=s;switch(r){case Gi.Stacked:{t.stacked=!0,t instanceof Pi&&(t.stackToNegative=e.stackNegativeValuesToBaseline??re.lineSeries.stackNegativeValuesToBaseline),i===a?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0,t.updateStacking();break}case Gi.Stacked100:{t.stacked=!0,a?t.dataFields.valueXShow="totalPercent":t.dataFields.valueYShow="totalPercent",t.updateStacking();break}case Gi.Side:default:{t.stacked=!1,i===a?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0;break}}}function OH(s){return()=>{let{chart:t,marker:e}=s;e.clones.each(i=>{Ri(i,!NL(i,t))})}}function EH(s){let{chart:t,series:e,seriesType:i,marker:r,numberOfChartSeries:a,ignoreSmoothRenderingLimit:n}=s,o=OH({marker:r,chart:t}),l=a??1,h=t.data.length*l+l;n!==!0&&h>re.elementLimitForSmoothRendering&&(o=zs(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,()=>{tw(e)}),t.yAxes.getIndex(0)?.events.on(Ie.Validated,()=>{tw(e)}))}function AI(s,t){s.series.each(e=>{let i=Hs(e.uid,t);i!==void 0&&!i.isDisposed()&&i.dispose()})}function MH(s){let t;return s!==void 0&&s.series.length>0&&(t=s.series.values.map(e=>e.visible?e.id:"").filter(e=>e!=="")),t}function WC(s){let{dataItem:t,y:e,splitBy:i,showOutliers:r}=s,a=er({key:Kt.Min,y:e,splitBy:i,showOutliers:r}),n=er({key:Kt.Max,y:e,splitBy:i,showOutliers:r}),o=er({key:Kt.FirstQuartile,y:e,splitBy:i,showOutliers:r}),l=er({key:Kt.ThirdQuartile,y:e,splitBy:i,showOutliers:r});return Number.isFinite(t[a])&&Number.isFinite(t[n])&&Number.isFinite(t[o])&&Number.isFinite(t[l])}function RH(s,t){let e=0;if(s!==void 0&&t!==void 0){let i=No(t.series),r=kt(t.series),a=Ro(t);s.data.forEach(n=>{switch(r){case Ee.BoxPlotMonoField:case Ee.BoxPlotMultiFields:case Ee.BoxPlotMonoFieldAndCategory:WC({dataItem:n,showOutliers:a})&&(e+=1);break;case Ee.BoxPlotMultiFieldsAndCategory:i.forEach(o=>{WC({dataItem:n,y:o,showOutliers:a})&&(e+=1)});break;case Ee.BoxPlotMonoFieldAndSplitBy:case Ee.BoxPlotMultiFieldsAndSplitBy:case Ee.BoxPlotMonoFieldAndCategoryAndSplitBy:t.series.forEach(o=>{WC({dataItem:n,splitBy:o.query?.where,showOutliers:a})&&(e+=1)});break}})}return e}function X1(){return s=>{let t=ve(s.chart.uid,"config"),e=!1;if(t!==void 0&&s instanceof Wr){let i=RH(s.chart,t),r=0,a=0,n=0,o=0,l=0;s.chart.series.values.forEach(u=>{if(u instanceof wr)r+=u.columns.length;else if(u instanceof Pi&&!(u instanceof pa)){let d=Zr(u);if(d!==void 0&&!d.disabled){let A=d.clones.values.filter(p=>!(p.dataItem instanceof fo))?.length??0;if(Hs(u.uid,"isBoxPlotMeanLineSeries")===!0){o+=A;let p=u.data.filter(f=>Number.isFinite(f[u.dataFields.valueX??u.dataFields.valueY??""])).length;l+=p}else{let p=u.data.filter(f=>Number.isFinite(f[u.dataFields.valueX??u.dataFields.valueY??""])).length;n+=p,a+=A}}}});let h=n===0||a>=n,c=l===0||o>=l;e=r>=i&&h&&c&&s.chart.appeared&&s.isReady()&&s.chart.isReady()}return e}}function UH(s,t){let e;switch(s){case V.BarSeries:e=(i,r)=>{if(i instanceof Ni){let a=_n({chart:i.chart}),n=0;if(r.type===V.BarSeries){let o=(a?i.dataFields.valueX:i.dataFields.valueY)??r.y;n=i.chart?.data?.filter(l=>Number.isFinite(l[o])).length}return i.chart.isReady()&&i.columns.length===n}return!1};break;case V.LineSeries:t===!0?e=X1():e=(i,r)=>{if(i instanceof Pi){let a=_n({chart:i.chart}),n=Zr(i),o=0;if(r.type===V.LineSeries){let{y:l}=r,h=(a?i.dataFields.valueX:i.dataFields.valueY)??[l].flat()[0];o=i.chart?.data?.filter(c=>Number.isFinite(c[h])).length}return i.chart.appeared&&i.chart.isReady()&&n!==void 0&&n.clones.values.length>=o}return!1};break;case V.PieSeries:e=i=>i instanceof ws&&i.slices.length>0;break;case V.BoxPlotSeries:e=X1();break}return e}function pI(s){let{series:t,callbackInfo:e,seriesConfig:i,onReadyEvent:r}=s,{type:a}=e,n=ze([i]),o=Hs(t.uid,"isBoxPlotMeanLineSeries"),l=a==="style"?"updateStyleCallbackDisposer":"updateSelectionCallbackDisposer",h=async d=>{let{type:A,callbackProps:p}=d;A==="selection"?g2(p):d.styleCallback!==void 0&&(Ri(t,i.visible),await d.styleCallback(p))};r===!0&&t.events.once(Ie.Ready,async()=>await h(e));let c=Hs(t.uid,l);c!==void 0&&c.dispose();let u=UH(n,o);c=(n===V.PieSeries?t.chart:t).events.on(Ie.Validated,async()=>{u!==void 0&&u(t,i)&&(c!==void 0&&c.dispose(),await h(e))}),t.dispatchImmediately(Ie.Validated),Po(t.uid,{[l]:c})}function $v(s){let{series:t,styleCallback:e,callbackProps:i,onReadyEvent:r,seriesConfig:a}=s;pI({callbackInfo:{styleCallback:e,callbackProps:i,type:"style"},series:t,seriesConfig:a,onReadyEvent:r})}function VH(s){let{series:t,callbackProps:e,seriesConfig:i,onReadyEvent:r}=s;pI({callbackInfo:{callbackProps:e,type:"selection"},series:t,seriesConfig:i,onReadyEvent:r})}function Hc(s){let{defaultChartItemRole:t}=re.aria;s instanceof wr||s instanceof Ni?(s.columns.template.properties.role=t,s.columns.template.focusable=!0,s.columns.template.hoverOnFocus=!0,s.itemReaderText=tp()):s instanceof pa?s.segments.template.properties.role=t:s instanceof Pi?s.bullets.values.forEach(e=>{e.focusable=!0,e.properties.role=t,e.readerTitle=tp(),e.hoverOnFocus=!0}):s instanceof ws&&(s.slices.template.properties.role=t,s.slices.template.hoverOnFocus=!0,s.itemReaderText="{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%")}function NH(s){let t=ve(s.uid,"config");s.series.each(e=>{let i=t?.series?.find(r=>r.id===e.id);i!==void 0&&i.visible!==!1&&!e.visible&&Ri(e)})}function Ov(s,t){let e=ze(t?.series);return t?.series.find(i=>{let r=!1;return e!==V.BoxPlotSeries||s instanceof wr?r=s.id===i.id:s instanceof pa?r=s.id.replace(`_${ji.Top}`,"")===i.id||s.id.replace(`_${ji.Median}`,"")===i.id||s.id.replace(`_${ji.Bottom}`,"")===i.id:s instanceof Pi&&(r=s.id.replace(`_${ji.Outliers}`,"")===i.id),r})}var aa={CustomActive:"custom-active",CustomInactive:"custom-inactive",Default:"default",Active:"active"};function HH(s,t){let e=!1;if(t!==void 0&&Ef(s)){let i=Tt.spriteRectToSvg(s.bbox,s),r=t.x,a=t.y,n=t.x+t.width,o=t.y+t.height,l=i.x,h=i.y,c=i.x+i.width,u=i.y+i.height;e=!(l>n||c<r||h>o||u<a)}return e}function Qc(s){let{element:t,customSelectionTheme:e,useNativeState:i}=s,r=i===!0?aa.Active:aa.CustomActive,a=t.states.getKey(r)??t.states.create(r),n=t.states.getKey(aa.CustomInactive)??t.states.create(aa.CustomInactive),{selectedElementsTheme:o,nonSelectedElementsTheme:l}=e??re.selectionTheme??{};H1(a,o),H1(n,l)}function Kn(s){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,useNativeState:a,backToDefaultState:n}=s;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=a===!0?aa.Active:aa.CustomActive,h=n===!0?aa.Default:aa.CustomInactive;t.setState(t.isActive?l:h,0),t.isActive&&(t.toFront(),t.dataItem?.component instanceof mo&&t.dataItem.component.toFront())}return t?.isActive??!1}function Ev(s,t){let e=!1;if(t instanceof Wt||t instanceof pr){let i=ve(t.uid,"actionMode");i!==void 0&&(e=i===Vt.MultiSelection||i===Vt.MultiSelectionWithCtrlKey&&(s?.event?.ctrlKey||s?.event?.metaKey))}return e}function fI(s){let t=s instanceof Wt&&s.zoomOutButton.isHover,e=s.legend.isHover,i=!1,r=!1,a=!1,n=!1;if(s instanceof Wt){i=s.xAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),r=s.yAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),a=i||r;let o=ve(s.uid,"config");Ca(o)&&(n=s.series.values.find(l=>l instanceof wr)?.isHover??!1)}return!t&&!e&&!a&&!n}function Bw(s,t){return s.values.filter(e=>{let i=!1,r=!e.isActive;if(!(e.dataItem instanceof fo)){e.isActive=!e.isActive;let a=ve(t.uid,"filterBySelection")!==!0&&r;Kn({element:e,selected:a}),i=r}return i})}function z1(s,t){let e=[],{columns:i,chart:r}=s,a=ve(r.uid,"config");if(a&&i!==void 0&&s.visible){let n=a?.series[0].x,o=s?.dataFields?.customValue??"",l=Dv(s,t),h=Ov(s,a),c=l===V.BoxPlotSeries?h?.y:bu(s),u={element:{},yAxisField:c,xAxisField:n,splitBy:o,seriesIndex:t,chartConfig:a};e=Bw(i,r).map(d=>({...u,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:d.dataItem?.index}))}return e}function G1(s,t){let e=[];if(s.visible){let i=Zr(s)?.clones;if(i!==void 0){let{chart:r}=s,a=ve(r.uid,"config");if(a){let n=a.series[0].x??"",o=bu(s),l=s?.dataFields?.customValue??"",h={element:{},xAxisField:n,yAxisField:o,splitBy:l,seriesIndex:t,chartConfig:a};e=Bw(i,r).map(c=>({...h,element:c,elementDataContext:c.dataItem?.dataContext,elementIndex:c.dataItem?.index}))}}}return e}function QH(s){let t=[];if(s.visible){let{chart:e}=s,i=ve(e.uid,"config");if(i){let r=rI(s),a=bu(s),n={element:{},xAxisField:r,yAxisField:a,seriesIndex:0,chartConfig:i},o;t=Bw(s.slices,e).map(l=>{let h=l.dataItem?.dataContext??{};return ah(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 jH(s){let{chart:t,selectionSource:e,chartConfig:i}=s,r=!1,a=[];if($l(i)){if(r=Ca(i),a=t.series.values.filter(n=>!(n instanceof pa)),e===Pr.SelectionByClick){let n=new Set,o=a.find(l=>l instanceof wr&&l.isHover);o===void 0?a.forEach(l=>{l instanceof Pi&&(l.id.includes(ji.Outliers)&&l.tooltip?.visible===!0||Hs(l.uid,"isBoxPlotMeanLineSeries"))&&n.add(l)}):n.add(o),a=Array.from(n)}}else a=t.series.values;return a=a.filter(n=>n.visible&&(!r||!(n instanceof wr||Hs(n.uid,"isBoxPlotOutliersSeries")))),a}async function mI(s){let{chart:t,cursorSelectionRectangle:e,multiSelect:i,selectionSource:r,hitElement:a,queryObject:n}=s,o=ve(t.uid,"config"),l=o?.series[0]?.x??"",h=[];ni(t.uid,{pendingSelectionQueries:!0});let c=[],u=!0;jH({chart:t,selectionSource:r,chartConfig:o}).forEach((d,A)=>{let p=Ov(d,o);if(o&&d.visible&&d instanceof Wr){let f=Dv(d,A)===V.BoxPlotSeries?p?.y:bu(d),m=d.dataFields?.customValue??"",g={element:{},yAxisField:f,xAxisField:l,splitBy:m,seriesIndex:A,chartConfig:o},y;d instanceof Ni||d instanceof wr?y=d.columns?.values:d instanceof pa?y=d.segments.values:d instanceof Pi&&(y=Zr(d)?.clones?.values,g.uniqueFeature=!0),y!==void 0&&(c=[...c,...y],y.forEach((_,w)=>{if(!(_.dataItem instanceof fo)){let S=_.isActive,P=_===a||HH(_,e);P&&(u=!1);let T=!1;S?P?T=r!==Pr.SelectionByClick:T=i===!0:T=P,T&&h.push({...g,element:_,elementDataContext:_.dataItem?.dataContext,elementIndex:w}),Kn({element:_,selected:T})}}))}}),u&&(h=[]),await Wf({chart:t,listSelectedElements:h,selectionSource:r,queryObject:n})}function WH(s,t){let e=async i=>{let r=i.target.cursor;if(r.xRange!==void 0){r.selection.isMeasured=!0,r.validate(),r.selection.validate();let a=Tt.spriteRectToSvg(r.selection.bbox,r.selection);if(r.selection.hide(),a.width>0||a.height>0){let n=Ev(i,s);await mI({chart:s,cursorSelectionRectangle:a,multiSelect:n,selectionSource:Pr.SelectionByRange,queryObject:t})}}r.selection.hide()};qn(s)&&s.events.on(Ie.Up,async i=>{let r=i.target.cursor,a=IN(s.uid,"selectEndedCallbackDisposer");if(a!==void 0&&a.dispose(),r.xRange!==void 0&&i.event instanceof TouchEvent)await e(i);else{let n=r.events.once(Ie.SelectEnded,async()=>{await e(i)});kN(s.uid,{selectEndedCallbackDisposer:n})}})}async function Cv(s){let{hitEvent:t,chart:e,queryObject:i}=s,{target:r}=t,a=ve(e.uid,"actionMode");if(e!==void 0&&fI(e)&&a!==Vt.None&&a!==Vt.Zoom&&(r instanceof Wt||t.point===void 0)){let n=t.svgPoint?{x:t.svgPoint.x,y:t.svgPoint.y,width:0,height:0}:void 0,o=Ev(t,e);await mI({chart:e,cursorSelectionRectangle:n,multiSelect:o,selectionSource:Pr.SelectionByClick,hitElement:r,queryObject:i})}}function XH(s,t){qn(s)&&(s.zoomOutButton.hoverable=!0,s.events.on(Ie.Hit,async e=>await Cv({hitEvent:e,chart:s,queryObject:t})),s.events.on(Ie.DoubleHit,async e=>await Cv({hitEvent:e,chart:s,queryObject:t})))}function Qf(s){let{chart:t,element:e,queryObject:i}=s;e.events.on(Ie.Hit,async r=>await Cv({hitEvent:r,chart:t,queryObject:i})),e.events.on(Ie.DoubleHit,async r=>await Cv({hitEvent:r,chart:t,queryObject:i}))}async function zH(s,t){let{series:e}=s;if(e.length>0){ni(s.uid,{pendingSelectionQueries:!0});let i=ve(s.uid,"config"),r=e.values.map((a,n)=>{let o=[];if(a.visible){let l=ze(i?.series,n);l===V.BarSeries?o=z1(a,n):l===V.LineSeries?o=G1(a,n):l===V.PieSeries?o=QH(a):l===V.BoxPlotSeries&&(a instanceof wr?o=z1(a,n):a instanceof Pi&&!(a instanceof pa)&&(o=G1(a,n)))}return o}).flat();await Wf({chart:s,listSelectedElements:r,selectionSource:Pr.ProgrammaticSelection,queryObject:t}),s instanceof pr&&s.feedLegend()}}function XC(s){if(qn(s))if(s.events.disableType(Ie.Hit),s.events.disableType(Ie.DoubleHit),s instanceof pr){let t=s.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 s instanceof Wt&&(s.xAxes.each(t=>wv(t,!0)),s.yAxes.each(t=>wv(t,!0)),s.events.disableType(Ie.Up))}function GH(s){if(qn(s))if(s.events.enableType(Ie.Hit),s.events.enableType(Ie.DoubleHit),s instanceof pr){let t=s.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 s instanceof Wt&&(s.xAxes.each(t=>wv(t,!1)),s.yAxes.each(t=>wv(t,!1)),s.events.enableType(Ie.Up))}function gu(s){let{element:t,stylingInfo:e,stateKey:i="default"}=s;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:a}=e;r.stroke=a.stroke,r.strokeOpacity=a.stroke.alpha===0?0:1,r.strokeDasharray=a.strokeDasharray,r.strokeLinecap=a.strokeLinecap,r.strokeWidth=a.strokeWidth}}}function Sw(s){return s.values.every(t=>t.isReady())}function jc(s,t){s.events.on(Ie.Ready,()=>{let{chart:e}=s;e!==void 0&&Sw(s.chart.series)&&(NH(e),t(),xh(s.chart.htmlContainer))})}function mA(s,t){return t!=null&&t!==""?t:s}function gI(s,t){let e;switch(s){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 Fw(s){let{config:t,fieldName:e="",utilsStrings:i}=s,r=t.series[0].query?.outStatistics?.[0].statisticType??Ub.statisticType,a=gI(r,i);return fA(i.statistics.aggregation,{statistics:a,fieldName:e})}function yI(s){let{config:t,fieldList:e,objectIdField:i,seriesIndex:r,isStacked100:a,utilsStrings:n}=s,o="",l=t.series[r].name,h=t.series[r],c=[h.y].flat()[0],u=t.axes,d=kt(t.series),A=i??Eu.outStatistics.onStatisticField,p=h.query?.outStatistics?.[0].onStatisticField??A,f=Er(e,p),m=h.query?.outStatistics?.[0].statisticType??Ub.statisticType,g=gI(m,n);return d===Ee.BarAndLineNoAggregation?o=l??Er(e,c):d===Ee.BarAndLineSplitByNoAggregation?o=Er(e,c):(o=m===Pn.Count&&p===A?n.statistics.count:fA(n.statistics.aggregation,{statistics:g,fieldName:f??l}),d===Ee.BarAndLineMonoField&&!a&&(o=mA(o,u[1].title?.content?.text))),o}function vI(s,t){let{dataTooltipStyle:e,dataTooltipStyleReversed:i}=re;if(t===!0){let r=s.background.fill;if(r!==void 0){s.background.stroke=r,s.background.strokeWidth=i?.outline?.width??Number.NaN,s.background.fill=xn(i?.color);let a=s.background.fill.rgb;if(a!==void 0){let n=s.label.fill;s.label.fill=Fg(a)?n?.darkColor:n?.lightColor}}}else s.getStrokeFromObject=!0,s.getFillFromObject=!0,s.background.strokeWidth=e?.outline?.width??Number.NaN,s.background.stroke=xn(e?.outline?.color)}function YH(s){let t=s.tooltip??new Ao;t.pointerOrientation="vertical",s instanceof wr||s instanceof pa?t.label.maxWidth=re.boxPlot.boxPlotTooltipLabelWidth:t.label.maxWidth=re.tooltipWidth,t.label.wrap=!0,t.events.on(Ie.Shown,e=>{let i=ve(s.chart.uid,"config");if(i!==void 0){let r=Ov(s,i),{dataTooltipReverseColor:a}=r??{};vI(e.target,a)}})}function KH(s){s instanceof qs||s.series.each(t=>{YH(t)})}function bI(s,t){s.tooltipHTML=re.htmlEmptyContent,s.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:a}=t;if(a!==void 0){let n=ve(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)r="";else{let l=Hs(t.uid,"barAndLineTooltipFormatter");if(l!==void 0&&t.isReady()){let{dataItem:h}=i;if(h instanceof Bs||h instanceof Xa){let c=n?.series.find(u=>u.id===t.id);if(c!==void 0){let u=_n({config:n}),d=u?h.valueX:h.valueY,A=(u?h.values.valueX.totalPercent:h.values.valueY.totalPercent)/100,p=h.dataContext??{};if(p!==void 0){let f=ve(a.uid,"rendererFieldNames"),m=Mo({value:p[c.x],dataContext:p,useRendererLabel:JA(n,f),specificField:rp(kt([c]),c)}),g=so(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 Mr(r)}),s.tooltipPosition=t instanceof Pi?re.markerTooltipPosition:re.columnTooltipPosition,t.cursorTooltipEnabled=!1}function ZH(s){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:a,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=s,l=n;l===void 0&&(xa(a)&&a?(l=a,t&&(l.intlOptions.style="decimal")):l=Qm());let h=ve(e.chart.uid,"formatLocale"),c=i!==void 0?Rf({value:i,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:h}):"",u="";if(t&&r!==void 0){let d=o;d===void 0&&(d=zb(),d.intlOptions.minimumFractionDigits=2,d.intlOptions.maximumFractionDigits=2),u=Rf({value:r,valueFormat:d,iLocale:e.chart.language.locale,formatLocale:h})}return{formattedStatValue:c,formattedPercentValue:u}}function qH(s){let{series:t,dateRange:e,xAxisValueFormat:i}=s,r,a=ve(t.chart.uid,"timeIntervalInfo");if(e!==void 0&&e.length>0){let n={};switch(a?.unit){case tr.Second:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case tr.Minute:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Hour:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Day:case tr.Week:case tr.Month:case tr.Year:n={month:"numeric",day:"numeric",year:"numeric"};break}n.timeZone=i.intlOptions.timeZone;let o=new Date(e[0]),l=new Date(e[1]);if(!Number.isNaN(o.valueOf())){let h=ve(t.chart.uid,"formatLocale"),c=yl({type:V.DateAxisFormat,iLocale:t.chart.language.locale,formatLocale:h}),u=c.format(o,n);if(r=u,!Number.isNaN(l.valueOf())){let d=c.format(l,n);d!==u&&(r=`${r} - ${d}`)}}}return r?.toString()??""}function xI(s){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:a,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:c}=s,u,d=ve(n.chart.uid,"formatLocale");return qm({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:c})&&l!==void 0&&e?.type===V.DateAxisFormat?u=qH({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?u=new Date(o).toLocaleTimeString(d):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(u=Rf({value:o,valueFormat:a??e,iLocale:n.chart.language.locale,formatLocale:d})):typeof o=="number"&&xa(e)?u=Rf({value:o,valueFormat:r??e,iLocale:n.chart.language.locale,formatLocale:d}):u=o,u?.toString()??""}function JH(s){let{series:t,fieldList:e,queryObject:i,setTimeBinningInfoWhenNotProvided:r,seriesIndex:a,seriesConfig:n,utilsStrings:o}=s,{dataTooltipValueFormat:l,dataTooltipPercentFormat:h,dataTooltipDateFormat:c}=n,u=()=>"",{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)u=()=>"";else{let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,_=kt(A.series),w=e?.find(M=>M.name===n.x)?.type===GA.TimeOnly,S=Ua(A)===Gi.Stacked100,P=_h(Ys(i)).idField,T=Er(e,n.x),L=mA(T,m[0].title?.content.text),$=yI({config:A,fieldList:e,objectIdField:P,seriesIndex:a,utilsStrings:o,isStacked100:S}),I=Ra(d.rtl);u=M=>{let{statValue:F,percentValue:Q,xValue:Y,dateBinningRange:z}=M,ee=xI({seriesConfig:n,xAxisValueFormat:g,dataTooltipValueFormat:l,dataTooltipDateFormat:c,setTimeBinningInfoWhenNotProvided:r,series:t,xValue:Y,dateBinningRange:z,isTimeOnlyField:w,queryObject:i}),{formattedStatValue:ie,formattedPercentValue:de}=ZH({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:l,dataTooltipPercentFormat:h,series:t,statValue:F,percentValue:Q}),K=[`<b>${L}${I} </b>${ee}`];switch(_){case Ee.BarAndLineFromFields:{K.pop();let G=Fw({config:A,fieldName:Er(e,ee??""),utilsStrings:o});K.push(`<b>${G}${I} </b>${ie}`);break}case Ee.BarAndLineMonoField:case Ee.BarAndLineNoAggregation:case Ee.BarAndLineMultiFields:K.push(`<b>${$}${I} </b>${ie}`);break;case Ee.BarAndLineSplitByNoAggregation:case Ee.BarAndLineSplitBy:{let G=Vo(n.query?.where,!1),xe=hx({value:Er(e,G)});K.push(`<b>${xe}${I} </b>${t.name}<br /><b>${$}${I} </b>${ie}`)}break}return S&&K.push(`<b>${o.statistics.percent}${I} </b>${de}`),K.join("<br />")}}}}return u}function _I(s){let{series:t,tooltipFormatter:e}=s;Po(t.uid,{barAndLineTooltipFormatter:e??JH(s)})}function Tw(s){let{target:t,defaultTooltipHTML:e,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,tooltipCallback:n}=s,o=e,l=i??r;if(l!==void 0){let{chart:h}=l;if(h!==void 0){let c=ve(h.uid,"config"),{dataTooltipVisible:u}=c?.series[0]??{};if(u===!1)o="";else{let d=Hs(l.uid,"boxPlotTooltipFormatter");d!==void 0&&l.isReady()&&c&&(o=n({target:t,defaultTooltipHTML:e,config:c,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,boxPlotTooltipFormatter:d}))}}}return Mr(o)}function eQ(s){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,outliersSeries:a,boxPlotTooltipFormatter:n}=s,o=e;if(r!==void 0&&a!==void 0){let l=r.dataItems.values.find(c=>(c.categories.categoryX??c.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY)),h=i.series.find(c=>c.id===r.id);if(h!==void 0){let c=l?.dataContext??{};if(c!==void 0){let u=Mo({value:c[h.x],dataContext:c,useRendererLabel:Ol(i),specificField:lt.xAxisField}),d=so(c);d===void 0&&(d=u),o=n({seriesName:a.name,xValue:u,originalXValue:d,dataContext:c})}}}return o}function tQ(s){let{target:t,defaultTooltipHTML:e,config:i,meanLineSeries:r,boxPlotTooltipFormatter:a}=s,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 Xa){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let c=Mo({value:h[l.x],dataContext:h,useRendererLabel:Ol(i),specificField:lt.xAxisField}),u=so(h);u===void 0&&(u=c),n=a({seriesName:r.name,xValue:c,originalXValue:u,dataContext:h})}}}}return n}function iQ(s){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,boxPlotTooltipFormatter:a}=s,n=e;if(r!==void 0){let o=t.dataItem;if(o instanceof Ac){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let c=Mo({value:h[l.x],dataContext:h,useRendererLabel:Ol(i),specificField:lt.xAxisField}),u=so(h);u===void 0&&(u=c),n=a({seriesName:r.name,xValue:c,originalXValue:u,dataContext:h})}}}}return n}function rQ(s){s.cursorTooltipEnabled=!1,s.tooltipPosition=re.columnTooltipPosition,s.columns.template.tooltipHTML=re.htmlEmptyContent,s.columns.template.adapter.add("tooltipHTML",(t,e)=>Tw({target:e,defaultTooltipHTML:t??"",candleStickSeries:s,tooltipCallback:iQ}))}function sQ(s,t){let e=Zr(s);e!==void 0&&(e.tooltipPosition=re.markerTooltipPosition,e.tooltipHTML=re.htmlEmptyContent,s.cursorTooltipEnabled=!1,e.adapter.add("tooltipHTML",(i,r)=>Tw({target:r,defaultTooltipHTML:i??"",candleStickSeries:t,outliersSeries:s,tooltipCallback:eQ})))}function aQ(s){let t=Zr(s);t!==void 0&&(s.cursorTooltipEnabled=!1,t.tooltipPosition=re.markerTooltipPosition,t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>Tw({target:i,defaultTooltipHTML:e??"",meanLineSeries:s,tooltipCallback:tQ})))}function du(s){let{label:t,value:e,strongColon:i,useTable:r}=s,a=`<b>${t}${i}</b> ${e}`;return r!==!1?`<tr><td>${a}</td></tr>`:a}function nQ(s){let{dataContext:t,series:e,dataTooltipValueFormat:i,y:r,splitBy:a,utilsStrings:n,useTable:o}=s,l=i??Qm(),h=Object.values(Kt),c=Ra(e.rtl),u=o!==!1?['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>']:[""];return h.forEach(d=>{let A=er({key:d,y:r,splitBy:a}),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 Kt.Min:g=n.statistics.minimum;break;case Kt.FirstQuartile:g=n.statistics.firstQuartile;break;case Kt.Median:g=n.statistics.median;break;case Kt.ThirdQuartile:g=n.statistics.thirdQuartile;break;case Kt.Max:g=n.statistics.maximum;break;case Kt.IQR:g=n.statistics.iqr;break;case Kt.Average:g=n.statistics.mean;break;case Kt.StandardDeviation:}Lu(g)||u.push(du({label:g,value:m,strongColon:c,useTable:o}))}}),u}function oQ(s){let{series:t,fieldList:e,seriesConfig:i,utilsStrings:r,queryObject:a}=s,{dataTooltipValueFormat:n}=i,o=()=>"",{chart:l}=t;if(l!==void 0){let h=ve(l.uid,"config");if(h!==void 0){let c=h.axes,u=c?.[0].valueFormat,{showMean:d}=h,A=kt(h.series),p=Vo(i.query?.where),f=Er(e,p),m=Ch({where:i.query?.where,escape:!1}),g=Er(e,i.x),y;i.x!==Hm&&(y=mA(g,c?.[0].title?.content.text));let _=Ra(l.rtl);o=w=>{let{dataContext:S,xValue:P}=w,T=xI({seriesConfig:i,xAxisValueFormat:u,series:t,xValue:P,queryObject:a}),L=[],$=T!==void 0&&!Lu(T)?Er(e,T):"",I=d===!0?[h.series[0].y].flat()[0]:[i.y].flat()[0],M=Er(e,I);switch(A){case Ee.BoxPlotMonoField:case Ee.BoxPlotMultiFields:case Ee.BoxPlotMonoFieldAndSplitBy:case Ee.BoxPlotMultiFieldsAndSplitBy:{if(T!==void 0&&!Lu(T)){let ee=A===Ee.BoxPlotMonoField?i.name??$:$;L.push(du({label:r.field,strongColon:_,value:ee}))}Yi(f)||L.push(du({label:f,strongColon:_,value:i.name??m?.toString()}));break}case Ee.BoxPlotMonoFieldAndCategory:case Ee.BoxPlotMultiFieldsAndCategory:{L.push(du({label:r.field,strongColon:_,value:i.name??M})),T!==void 0&&!Lu(T)&&L.push(du({label:y,strongColon:_,value:$}));break}case Ee.BoxPlotMonoFieldAndCategoryAndSplitBy:L.push(du({label:r.field,strongColon:_,value:M})),T!==void 0&&!Lu(T)&&L.push(du({label:y,strongColon:_,value:$})),Yi(f)||L.push(du({label:f,strongColon:_,value:i.name??m?.toString()}));break}let F=[Ee.BoxPlotMultiFieldsAndCategory],Q=S[re.boxPlot.boxPlotMeanLineMarkerId]!==void 0,Y=L.length>0&&!Q,z=nQ({dataContext:S,series:t,dataTooltipValueFormat:n,splitBy:i.query?.where,y:F.includes(A)?[i.y].flat()[0]:void 0,utilsStrings:r,useTable:Y});return Y?`${L.join("<br>")}<table>${z.join("")}</table>`:`${L.join("<br>")}${z.join("<br>")}`}}}return o}function lQ(s){let{series:t,tooltipFormatter:e}=s;Po(t.uid,{boxPlotTooltipFormatter:e??oQ(s)})}function hQ(s){let t=vl(re.dataLabelInitialize);return mu(t.uid,{isDataLabel:!0}),s.bullets.push(t),uI(t),oI(V.LineSeries,t),lI(V.LineSeries,t),rw(t,s),t.html="{valueX}",t}function uQ(s){let{series:t}=s,e=iw(t,"bullets");cI({...s,dataLabel:e,defaultDataLabelFormatter:hI})}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},CI=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 cQ(s,t){t!==void 0&&(t.layout!==void 0&&(s.layout=t.layout),t.width!==void 0&&(s.width=N1(t.width)),t.height!==void 0&&(s.height=N1(t.height)),t.paddingTop!==void 0&&(s.paddingTop=t.paddingTop),t.paddingBottom!==void 0&&(s.paddingBottom=t.paddingBottom))}function dQ(s){let t=!1,e=s.legend?.visible,i=s.legend?.title?.content.text,r=s.legend?.title?.visible;return t=e!==!1&&r!==!1&&i!==void 0&&i.length>0,t}function wI(s,t){let e=new Pe;return cQ(e,s),e.parent=t,e}function BI(s,t){s.disabled=t}function AQ(s,t){s.toBack()}function pQ(s){if(s instanceof qs){let{paddingTop:t,paddingRight:e,paddingBottom:i,paddingLeft:r}=re.gauge;s.padding(t,e,i,r)}else{let{paddingMinSize:t,marginMinSize:e,chartPaddingMinSize:i,chartContainer:r}=re;s.padding(i,i,i,i),s.chartAndLegendContainer.margin(e,e,e,e),s.chartAndLegendContainer.padding(t,t,t,t),s.chartContainer.margin(e,e,e,e),s.chartContainer.padding(r.paddingTop,t,t,t)}}function fQ(s,t){let e=(i,r)=>{let{chartContainer:a,chartAndLegendContainer:n}=re,o=ve(i.uid,"config");if(o!==void 0){let l=dQ(o),h=o.legend?.position;if(l)switch(h){case rt.Top:i.chartAndLegendContainer.paddingTop=r.bbox.height??0,i.chartContainer.paddingBottom=a.paddingBottom??0;break;case rt.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=a.paddingBottom??0;break}else i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=a.paddingBottom??0}};t.events.on(Ie.PositionChanged,()=>{e(s,t)})}function Pw(s){let{iLocale:t,pieChart:e,valueIntlOptions:i,percentageIntlOptions:r,displayNumericValue:a,displayPercentage:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c}=s,u=ve(e.uid,"formatLocale"),d=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:u}),A=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:u});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 _=`${o??""}${d.format(m)}${l??""}`,w=`${h??""}${A.format(Math.abs(g/100))}${c??""}`;Number.isFinite(m)?a===!0&&n===!0?y=`${w}${p}(${_})`:a===!0?y=_:n===!0&&(y=w):y=""}return y}}function SI(s){let t=!1;if(s.position===rt.Right||s.position===rt.Left)t=!0;else{let e=s.labels.getIndex(0)?.parent?.x;e!==void 0&&(t=!s.labels.values.some(i=>i.parent?.x!==e))}return t}function mQ(s){let t=!1,e=s.labels.getIndex(0)?.parent?.y;return e!==void 0&&(t=!s.labels.values.some(i=>i.parent?.y!==e)),t}function gQ(s){s.events.on(Ie.LayoutValidated,()=>{let t=SI(s),e=mQ(s),i=t||!e?bi.Right:bi.Center;s.valueLabels.template.horizontalCenter=yw(i),s.valueLabels.template.align=QL(i)})}function yQ(s){mu(s.valueLabels.template.uid,{isLegendValueLabel:!0}),s.valueLabels.template.adapter.add("htmlOutput",(t,e)=>{let i=t,r=$N(s.uid,"pieChartLegendValueLabelsFormatter");if(r!==void 0&&(i=r(e.dataItem?.values?.value?.value??0,e.dataItem?.values?.value?.percent??0)),Yi(i)&&(i=re.htmlEmptyContent),s.baseSprite instanceof jl){let a=ve(s.baseSprite.uid,"config");a?.legend?.body!==void 0&&(i=_a({textSymbol:{...a.legend.body,text:i},format:"html"}))}return Mr(i)}),s.valueLabels.template.html=re.htmlEmptyContent,gQ(s)}function vQ(s){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i,pieChartLegendValueLabelFormatter:r}=s,{visible:a,body:n,displayNumericValue:o,displayPercentage:l,displayCategory:h}=i??{};if(ze(e)===V.PieSeries){let{numericValueFormat:c,percentValueFormat:u,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,_=r;if(r===void 0){let P=Pw({iLocale:t.language.locale,pieChart:t.baseSprite,valueIntlOptions:c?.intlOptions,percentageIntlOptions:u?.intlOptions,displayNumericValue:g,displayPercentage:y,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f});_=(T,L)=>P("",T,L)}ON(t.uid,{pieChartLegendValueLabelsFormatter:_});let w=SI(t),S={type:V.Text,visible:a,content:{...n,type:Dt.TS,text:".",verticalAlignment:Yt.Middle,horizontalAlignment:w?bi.Right:bi.Center}};Cn({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 bQ(s){let{dataContext:t}=s.target.dataItem??{};if(t instanceof Ta){let{component:e}=t;e instanceof ws&&e.showTooltip()}}function xQ(s){let t=()=>{let e=s.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,a=e.children.getIndex(r)?.clonedFrom;a!==void 0&&gs(a.uid,"isLegendValueLabel")!==!0&&s.children.each(n=>{n.className==="Container"&&n.children.swap(1,r)})}}};s.events.on(Ie.Validated,t),t()}function Y1(s,t){let{legendLabelReducedOpacity:e}=re.legendProperties;s!==void 0&&(s.fillOpacity=t===!1?e:1)}function kf(s){let{labels:t,seriesId:e,sliceCategory:i}=s;t.each(r=>{i!==void 0?i===r.dataItem.category&&Y1(r,r.dataItem.slice.visible??!0):e===r.dataItem?.component?.id&&Y1(r,r.dataItem?.component?.visible??!0)})}function Dw(s){s instanceof ws?(s.slices.template.events.on(Ie.Shown,t=>{let e=t.target.dataItem.category;kf({labels:s.chart?.legend?.labels,sliceCategory:e}),kf({labels:s.chart?.legend?.valueLabels,sliceCategory:e})}),s.slices.template.events.on(Ie.Hidden,t=>{let e=t.target.dataItem.category;kf({labels:s.chart?.legend?.labels,sliceCategory:e}),kf({labels:s.chart?.legend?.valueLabels,sliceCategory:e})})):s.events.on(Ie.VisibilityChanged,t=>{let e=t.target.id;kf({labels:s.chart?.legend?.labels,seriesId:e})})}function FI(s){let{title:t,visible:e}=s;return t!==void 0&&e!==!1&&t?.visible!==!1}function _Q(s,t){let{legendProperties:e}=re;if(s.position===rt.Bottom)s.marginTop=e.marginTop??0,s.marginBottom=0,s.dy=0;else if(s.position===rt.Top)s.marginBottom=e.marginBottom??0,s.marginTop=0,s.dy=0;else if(s.marginTop=0,s.marginBottom=0,!(s.baseSprite instanceof pr)){let i=FI(t),r=t.title?.content?.font?.size??re.generalFontSize;s.dy=-(i?r:15)}}function CQ(s){let t=s.baseSprite,e;if(t!==void 0){let i=ve(t?.uid,"config");e=t?.rtl&&(i?.legend?.position===rt.Top||i?.legend?.position===rt.Bottom)}return e??!1}function wQ(s){let t=s.baseSprite,e="";if(t instanceof Wt){let i=ve(t.uid,"config"),r=ks(i),a=r?B.Rotated:B.NonRotated,n=Ua(i),o=B.SideBySide;n===Gi.Stacked?o=B.Stacked:n===Gi.Stacked100&&(o=B.Stacked100);let l=t.rtl?B.RTL:B.LTR,h;switch(i?.legend?.position){case rt.Left:h=B.LegendLeft;break;case rt.Top:h=B.LegendTop;break;case rt.Bottom:h=B.LegendBottom;break;case rt.Right:default:h=B.LegendRight;break}let c=r?t.yAxes.getIndex(0):t.xAxes.getIndex(0),u;c instanceof Ct?u=B.DateAxis:c instanceof He?u=B.ValueAxis:u=B.CategoryAxis;let d=i?.orderOptions?.data&&"orderBy"in i.orderOptions.data&&i.orderOptions.data.orderBy===zA.Descending?B.OrderByFieldsDESC:B.OrderByFieldsASC;e=`${a}-${l}-${o}-${h}-${u}-${d}`}return e}function BQ(s){let t=wQ(s);return CI.has(t)}function TI(s,t){let{legend:e,legendTitle:i}=s??{};switch(t){case V.PieSeries:e.reverseOrder=CQ(e);break;case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:e.reverseOrder=BQ(e);break}let r=e.reverseOrder===!0?e.children.length-1:0;e.children.moveValue(i,r)}function SQ(s){if(s.visible){let t=ve(s.chart.uid,"config")?.series.find(e=>e.id===s.id);if(t!==void 0&&ze([t])===V.LineSeries){let{markerVisible:e}=t;e!==!1&&s.bulletsContainer.show()}}}function FQ(s,t){let e=s.target.dataItem,i=s.target.isActive;if(e?.dataContext!==void 0){let{dataContext:r}=e,a={visible:i};if(r instanceof Ta)ve(t.uid,"isNonAggregatedChart")===!0?a.sliceData=r.dataContext:a.sliceId=r.category;else if(r instanceof wr){let o=r.id,l=jf(t,o);if(l!==void 0){let d=ve(t.uid,"config"),A=Iw(d?.showOutliers,i),p=Zr(l);p!==void 0&&(p.disabled=!A),Ri(l,A)}let{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t,o);h!==void 0&&Ri(h,i),c!==void 0&&Ri(c,i),u!==void 0&&Ri(u,i),a.seriesId=r.id}else a.seriesId=r.id;let n=r instanceof Ta?r.component:r;(n instanceof Wr||n instanceof ws)&&n.events.once(Ie.Validated,()=>{n instanceof Wr&&(UI(n),n.events.dispatchImmediately(Ie.Validated,{type:Ie.Validated,target:n}));let o=n instanceof ws,l=ve(t.uid,"currentSelectionDataItems"),h=l!==void 0&&l.length>0,c=ve(t.uid,"actionMode")??re.actionMode,u;n instanceof Ni?u=n.columns:o?u=n.slices:n instanceof Pi&&(SQ(n),u=Zr(n)?.clones),u?.each(d=>{d.dataItem instanceof fo||(Kn({element:d,selected:d.isActive,useNativeState:o,backToDefaultState:!h}),o&&c===Vt.None&&(d.clickable=!1))})}),Jb(a,t.htmlContainer)}}function TQ(s){let{legendProperties:t,legendProperties:e}=re;s.adapter.add("paddingRight",()=>s.scrollbar.visible?e.legendPaddingRightWithScrollbarVisible:t.paddingRight),s.adapter.add("paddingLeft",()=>t.paddingLeft),s.adapter.add("paddingTop",()=>t.paddingTop),s.adapter.add("paddingBottom",()=>t.paddingBottom)}function PQ(s){s.scrollable=!0}function DQ(s){let t=vl(void 0,s);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:a}=re.legendProperties.legendTitle;switch(ve(s.baseSprite.uid,"config")?.legend?.title?.content?.horizontalAlignment){case bi.Left:i=t.measuredWidth+(r??0);break;case bi.Right:i=s.measuredWidth-t.measuredWidth-(a??0);break;case bi.Center:case bi.Justify:default:i=s.measuredWidth/2;break}return i}),t.adapter.add("disabled",e=>(e===!1&&t.validate(),e)),t}function LQ(s){let{legendConfig:t,legendTitle:e}=s,{title:i,position:r}=t,{legendTitle:a}=re.legendProperties,n=FI(t);if(i!==void 0){let o={...i,visible:n};Cn({label:e,labelConfig:o,defaults:a}),e.marginLeft=a.marginLeft??0}r===rt.Top||r===rt.Bottom?(e.maxWidth=Number.NaN,e.isMeasured=!1):(e.maxWidth=a.maxWidth??Number.NaN,e.marginTop=n?e.bbox?.height??i?.content?.font?.size??re.generalFontSize:0,e.isMeasured=!0)}function IQ(s){let t=re.legendProperties;s.labels.template=vl(t.legendLabels),s.valueLabels.template=vl(t.legendLabels),s.markers.template.width=t.legendMarkersSize,s.markers.template.height=t.legendMarkersSize,s.labels.template.adapter.add("wrap",()=>!0),s.labels.template.adapter.add("maxWidth",e=>{let i=e,r;if(s.baseSprite instanceof pr&&(r=ve(s.baseSprite.uid,"config")?.legend?.labelMaxWidth),s.position===rt.Right||s.position===rt.Left)i=r??re.legendProperties.legendLabels.maxWidth;else if(r!==void 0)i=r;else{let a=0;s.valueLabels.template.disabled||s.valueLabels.each(n=>{a=Math.max(a,n.measuredWidth)}),i=s.measuredWidth-a-45}return i}),s.labels.template.adapter.add("textOutput",(e,i)=>{let r=i.dataItem?.label?.currentText,a,n=ve(s.baseSprite.uid,"config");if(n!==void 0){let{series:o}=n;if(ze(o)===V.PieSeries){let l=kt(o)===Ee.PieFromFields?io:o[0].x,h=i.dataItem?.dataContext?.[l];typeof h=="string"?a=h:h&&typeof h!="object"&&(a=h.toString())}else i.dataItem?.component instanceof mo&&(a=i.dataItem.component.name)}return(a!==void 0&&!Yi(a)?zm(a):a)??r}),s.valueLabels.template.adapter.add("maxWidth",e=>{let i=e,r;return s.baseSprite instanceof pr&&(r=ve(s.baseSprite.uid,"config")?.legend?.valueLabelMaxWidth),s.position===rt.Right||s.position===rt.Left?i=r??re.legendProperties.valueLabels.maxWidth:i=r??Number.NaN,i})}function kQ(s,t){s.itemContainers.template.events.on(Ie.Hit,e=>FQ(e,t)),t instanceof pr&&s.itemContainers.template.events.on(Ie.Over,e=>bQ(e))}function $Q(s){s.itemContainers.template.reverseOrder=s.rtl}function fv(s,t){s.adapter.keys().includes(t)||s.adapter.add(t,e=>{let i=e,r=s.dataItem?.dataContext;if(r!==void 0){let a=r instanceof Ta?r.component?.chart:r.chart;if(a!==void 0){let n=ve(a.uid,"config"),{rectangleMarkerRadius:o,roundedMarkerRadius:l}=re.legendProperties;i=n?.legend?.roundMarkers===!0?l:o}}return i})}function K1(s){s.markers.each(t=>{let e=t.children.getIndex(0);e instanceof jr&&(fv(e,"cornerRadiusBottomLeft"),fv(e,"cornerRadiusBottomRight"),fv(e,"cornerRadiusTopLeft"),fv(e,"cornerRadiusTopRight"),e.validate())})}function OQ(s){s.markers.template.events.on(Ie.Inited,()=>{K1(s)}),s.events.once(Ie.Validated,()=>{K1(s)})}function EQ(s){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i}=s,{visible:r,body:a}=i??{},n=ze(e),o={type:V.Text,visible:r,content:{...a,type:Dt.TS,text:" "}};Cn({label:t.labels.template,labelConfig:o,defaults:re.legendProperties.legendLabels}),t.labels.template.valign=Yt.Middle,t.valueLabels.template.valign=Yt.Middle,n===V.PieSeries&&vQ(s),t.valueLabels.template.width=Number.NaN}function MQ(s,t){t.chartContainer.events.on(Ie.SizeChanged,zs(()=>{let e=ve(t.uid,"config")?.legend?.maxHeight??Number.NaN;Number.isFinite(e)||(s.position===rt.Top||s.position===rt.Bottom?e=re.legendProperties.maxHeight:e=t instanceof pr?t.chartContainer.measuredHeight:t.seriesContainer.measuredHeight),s.maxHeight=e,s.invalidateLayout()}),re.debounceTime)}function RQ(s,t){let{position:e}=t;e===rt.Top||e===rt.Bottom?s.contentAlign=bi.Center:s.contentAlign="none"}function UQ(s,t){let{legend:e}=s;e.events.on(Ie.DataItemsValidated,()=>{e.dataItems.length>0&&TI(s,t)})}function VQ(s,t){t===rt.Right||t===rt.Left?s.width=Number.NaN:s.maxWidth=Number.MAX_SAFE_INTEGER}function PI(s,t){let e=ai.pointer;t===!0?(s.itemContainers.template.clickable=!1,s.itemContainers.template.focusable=!1,e=ai.default):(s.itemContainers.template.clickable=!0,s.itemContainers.template.focusable=!0),s.itemContainers.values.forEach(i=>{i.cursorOverStyle=e})}function NQ(s,t){let e=new rc;s.legend=e,PQ(e);let i=DQ(e);return IQ(e),yQ(e),kQ(e,s),$Q(e),TQ(e),UQ({legend:e,legendTitle:i},ze(t)),MQ(e,s),fQ(s,i),xQ(e),s.legend.events.on(Ie.ChildAdded,()=>{let r=ve(s.uid,"options");PI(e,r?.disableTogglingLegendItems)}),{legend:e,legendTitle:i}}function Lw(s){let{legendElements:t,seriesConfig:e,webChartLegend:i}=s,{legend:r,legendTitle:a}=t,n=r.baseSprite,o=(n===void 0?!0:ux(e))&&i?.visible!==!1;if(n&&i&&o){let{position:l=re.legendProperties.position}=i;Ri(r,!0),LQ({legendConfig:i,legendTitle:a}),OQ(r),EQ(s),RQ(r,i),TI(t,ze(e)),r.position=l,VQ(r,l),_Q(r,i),PI(r,ve(n.uid,"options")?.disableTogglingLegendItems)}else r.position=rt.Right,r.width=0,Ri(r,!1)}function HQ(s){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],queryObject:a,hideLoaderHandle:n,selectionTheme:o,ignoreSmoothRenderingLimit:l}=s,h=e.series.length,{rotated:c}=e,u=e.series[i],{y:d,name:A,id:p,assignToSecondValueAxis:f}=u,m=new Pi;m.id=p,jc(m,n),xA(m,A);let g,y;c!==!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 _=_n({chart:t}),w=kt(e.series),S=w===Ee.BarAndLineSplitByNoAggregation?`${d.toString()}_${Ch({where:u.query?.where,keepSurroundingQuotes:!1,escape:!1})}`:[d].flat()[0];_?m.dataFields.valueX=S:m.dataFields.valueY=S;let P=_?r[1]:r[0];if(P!==void 0){let $=dI(P,_);m.dataFields[$]=re.xAxisField}m.dataFields.customValue=u?.query?.where;let T=Ys(a);DI({series:m,seriesConfig:u,seriesIndex:i,chartSubType:w,colorMatch:e.colorMatch===!0,rendererType:Gm(e.chartRenderer,T?.renderer)}),LI(u,m);let L=Cw({chart:t,lineSeries:m,applyPropertiesToClones:!1});return bI(L,m),hQ(m),Qc({element:L,customSelectionTheme:o}),Qf({chart:t,element:L,queryObject:a}),EH({chart:t,numberOfChartSeries:h,series:m,seriesType:V.LineSeries,marker:L,ignoreSmoothRenderingLimit:l}),Dw(m),Hc(m),m}function QQ(s){let{series:t,seriesIndex:e,chartSubType:i,seriesConfig:r,colorMatch:a,lineColor:n,rendererType:o}=s,l=Zr(t),h=!1,c;if(l!==void 0){r.markerVisible!==!1&&r.visible!==!1?t.bulletsContainer.show():t.bulletsContainer.hide();let{markerSymbol:u}=r;u===void 0&&(u=Gb(),u.color=n),a?u.color=n:u.color??=n;let d=new Set,A;_v({element:l,markerSymbol:u}),l.clones.each(p=>{if(p.dataItem instanceof fo)_v({element:p,markerSymbol:u}),p.states.getKey(aa.CustomActive)?.reset(),p.states.getKey(aa.CustomInactive)?.reset();else{let f=p.dataItem?.dataContext,m=on({seriesConfig:r,dataItem:f,chartSubType:i,colorMatch:a,rendererType:o}),g=Mc({seriesConfig:r,seriesIndex:e,seriesSymbol:u,element:p,colorMatch:a,rendererSymbol:m});c=g.symbolWithColorInfo,A=g.stylingInfo,gu({element:p,stylingInfo:A}),d.add(JSON.stringify(A))}}),h=d.size>1,h||gu({element:l,stylingInfo:A})}return h?void 0:c}function jQ(s){let{series:t,seriesConfig:e,chartSubType:i,colorMatch:r,rendererType:a}=s,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:a}),n!==void 0&&(l=!1),l}),n}function DI(s){let{series:t,seriesIndex:e,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}=s,o=t,l=jQ({series:o,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}),h=Mc({seriesConfig:i,seriesIndex:e,seriesSymbol:i.lineSymbol??Yb(e),element:o,colorMatch:a,rendererSymbol:l});return Ri(o,i.visible),h.symbolWithColorInfo}function LI(s,t){s.showArea===!0?s.areaColor!==void 0?(t.fill=xn(s.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 II(s){let{series:t,seriesIndexMapper:e,seriesSymbolMapForEvent:i,seriesIndex:r,colorMatch:a,rendererType:n}=s,o=s.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,c=kt(l?.series);Ri(t,o.visible);let u=DI({series:t,seriesConfig:o,seriesIndex:r,chartSubType:c,colorMatch:a,rendererType:n}),d=QQ({series:t,seriesIndex:r,seriesConfig:o,chartSubType:c,colorMatch:a,lineColor:u.color,rendererType:n});i.set(e.get(o.id)??r,{lineSymbol:u,markerSymbol:d}),LI(o,t),i.size===h&&(nn({data:i,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)}),t.chart.feedLegend())}function WQ(s){let{seriesConfig:t,lineSeries:e,isRotated:i}=s;t.lineSmoothed===!0?e.smoothing=i?Vb.MonotoneY:Vb.MonotoneX:e.smoothing=re.lineSeries.lineSmoothedKind}function Z1(s,t){let{connectLines:e,temporalBinning:i}=t,r=i?.nullPolicy;s.connect=e!==!1&&r!==Nb.Null}function XQ(s){let{seriesConfig:t,series:e,axes:i,rotationChanged:r,seriesIndex:a,fieldList:n,stackedType:o,queryObject:l,options:h,utilsStrings:c}=s,{visible:u,name:d}=t,A=i[1].valueFormat,p=ve(e.chart.uid,"config"),f=_n({config:p}),m=kt(p?.series);e.id=t.id,Ri(e,u);let g=d,y=e.dataFields?.customValue??"";(m===Ee.BarAndLineSplitBy||m===Ee.BarAndLineSplitByNoAggregation)&&(g=Zm({queryObject:l,fieldName:Vo(y),fieldValue:g})??g),xA(e,g),Z1(e,t),ww({series:e,seriesConfig:t,rotationChanged:r,stackedType:o,isRotated:f}),Z1(e,t),$v({styleCallback:II,callbackProps:s,series:e,seriesConfig:t,onReadyEvent:!0}),WQ({seriesConfig:t,lineSeries:e,isRotated:f}),_I({series:e,seriesConfig:t,fieldList:n,queryObject:l,seriesIndex:a,setTimeBinningInfoWhenNotProvided:h?.setTimeBinningInfoWhenNotProvided,utilsStrings:c,tooltipFormatter:h?.tooltipFormatter}),uQ({series:e,seriesType:V.LineSeries,stackedType:o,dataLabelsConfig:t.dataLabels,yAxisValueFormat:A,customDataLabelFormatter:h?.dataLabelFormatter})}function Mv(s,t){let e=s.series.values.find(a=>a.id===`${t}_${ji.Top}`),i=s.series.values.find(a=>a.id===`${t}_${ji.Median}`),r=s.series.values.find(a=>a.id===`${t}_${ji.Bottom}`);return{topStepLineSeries:e,medianStepLineSeries:i,bottomStepLineSeries:r}}function jf(s,t){return s.series.values.find(e=>e.id===`${t}_${ji.Outliers}`)}function Iw(s,t){return(s??re.boxPlot.boxPlotOutliersVisibility)&&t!==!1}function zQ(s){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,hideLoaderHandle:a,selectionTheme:n,queryObject:o}=s,l=Ca(i),h=i.series[r],[c,u]=e,d=new wr;return d.hoverable=!0,jc(d,a),l||(Qc({element:d.columns.template,customSelectionTheme:n}),Qf({chart:t,element:d.columns.template,queryObject:o})),d.id=h.id,c!==void 0&&(d.xAxis=c),u!==void 0&&(d.yAxis=u),d.simplifiedProcessing=!0,d.columns.template.applyOnClones=!0,d.riseFromOpenState.reset(),d.riseFromPreviousState.reset(),d.dropFromOpenState.reset(),d.dropFromPreviousState.reset(),xA(d,h.name),Hc(d),d}function zC(s){let{axisList:t=[],chartConfig:e,seriesIndex:i,type:r,hideLoaderHandle:a,selectionTheme:n}=s,o=e.series[i],[l,h]=t,c=new pa;return c.hoverable=!0,jc(c,a),c.id=`${o.id}_${r}`,l!==void 0&&(c.xAxis=l),h!==void 0&&(c.yAxis=h),c.noRisers=!0,c.simplifiedProcessing=!0,Qc({element:c.segments.template,customSelectionTheme:n}),c.hiddenInLegend=!0,Hc(c),c}function GQ(s){let{chart:t,axisList:e=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o}=s,l=i.series[a],h=Ca(i),[c,u]=e,d=new Pi;Po(d.uid,{isBoxPlotOutliersSeries:!0}),jc(d,r),d.id=`${l.id}_${ji.Outliers}`,c!==void 0&&(d.xAxis=c),u!==void 0&&(d.yAxis=u),d.simplifiedProcessing=!0,d.hiddenInLegend=!0,d.strokeOpacity=0;let A=Cw({chart:t,lineSeries:d});return h||(Qc({element:A,customSelectionTheme:n}),Qf({chart:t,element:A,queryObject:o})),Hc(d),d}function _A(s){let{chartConfig:t,seriesConfig:e,meanLineSeries:i,candleStickSeries:r,topStepLineSeries:a,medianStepLineSeries:n,bottomStepLineSeries:o,outliersSeries:l,creation:h=!1,rotationChanged:c,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:d}=s,{x:A,y:p}=e,f=h||c===!0||d===!0,m=f||u===!0,g=f,y=f;if(t!==void 0){let{showOutliers:_,standardizeValues:w,showMean:S}=t,P=_n({config:t});if(i instanceof Pi&&y){let F=kt(t.series),Q=e?.query?.where,Y=er({y:F===Ee.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:F,splitBy:Q,showOutliers:_,standardizeValues:pd(F)?w:!1,key:Kt.Average});P?(i.dataFields.valueX=Y,i.dataFields.categoryY=A):(i.dataFields.valueY=Y,i.dataFields.categoryX=A),i.dataFields.customValue=Q}let T=tg(t),L=kt(T.series),$=S===!0?void 0:e?.query?.where,I={y:L===Ee.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:L,splitBy:$,showOutliers:_,standardizeValues:pd(L)?w:!1};if(m){if(r instanceof wr){let F=er({...I,key:Kt.Min}),Q=er({...I,key:Kt.FirstQuartile}),Y=er({...I,key:Kt.Max}),z=er({...I,key:Kt.ThirdQuartile});P?(r.dataFields.lowValueX=F,r.dataFields.openValueX=Q,r.dataFields.highValueX=Y,r.dataFields.valueX=z,r.dataFields.categoryY=A):(r.dataFields.lowValueY=F,r.dataFields.openValueY=Q,r.dataFields.highValueY=Y,r.dataFields.valueY=z,r.dataFields.categoryX=A),r.dataFields.customValue=$}if(a instanceof pa&&n instanceof pa&&o instanceof pa){let F=er({key:Kt.Max,...I}),Q=er({key:Kt.Median,...I}),Y=er({key:Kt.Min,...I});P?(a.dataFields.valueX=F,n.dataFields.valueX=Q,o.dataFields.valueX=Y,a.dataFields.categoryY=A,n.dataFields.categoryY=A,o.dataFields.categoryY=A):(a.dataFields.valueY=F,n.dataFields.valueY=Q,o.dataFields.valueY=Y,a.dataFields.categoryX=A,n.dataFields.categoryX=A,o.dataFields.categoryX=A),a.dataFields.customValue=$,o.dataFields.customValue=$,n.dataFields.customValue=$}}if(l instanceof Pi&&g){let F=er({...I,key:Kt.Outlier});P?(l.dataFields.valueX=F,l.dataFields.categoryY=A):(l.dataFields.valueY=F,l.dataFields.categoryX=A),l.dataFields.customValue=$,l.invalidateRawData()}let M=i?.chart??r?.chart;M!==void 0&&(m||y)&&M.invalidateRawData()}}function YQ(s){let{chart:t,axisList:e=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o}=s,l=i.series[a],[h,c]=e,u=new Pi;Po(u.uid,{isBoxPlotMeanLineSeries:!0}),jc(u,r),u.id=l.id,h!==void 0&&(u.xAxis=h),c!==void 0&&(u.yAxis=c),u.simplifiedProcessing=!0;let d=Cw({chart:t,lineSeries:u});return Qc({element:d,customSelectionTheme:n}),Qf({chart:t,element:d,queryObject:o}),Hc(u),aQ(u),_A({chartConfig:i,seriesConfig:l,meanLineSeries:u,creation:!0}),u}function KQ(s){let{chartConfig:t,seriesIndex:e}=s,i=t.series[e],r=ze([i]),a=[];if(r===V.BoxPlotSeries){let n=zQ(s),o=zC({...s,type:ji.Top}),l=zC({...s,type:ji.Median}),h=zC({...s,type:ji.Bottom}),c=GQ(s);rQ(n),sQ(c,n),_A({chartConfig:t,seriesConfig:i,candleStickSeries:n,topStepLineSeries:o,medianStepLineSeries:l,bottomStepLineSeries:h,outliersSeries:c,creation:!0}),a.push(n,o,l,h,c)}else if(r===V.LineSeries){let n=YQ(s);a.push(n)}return a}function ZQ(s){let{candleStickSeries:t,seriesConfig:e,stylingInfo:i,chartSubType:r,colorMatch:a,rendererType:n}=s;if(i!==void 0){let o={...i},l=aI({data:t.chart.data,colorMatch:a,chartSubType:r,rendererType:n});i?.outline!==void 0&&l&&(o.outline.stroke=Ec(re.boxPlot.boxPlotWhiskersColor));let{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t.chart,t.id);if(h!==void 0&&c!==void 0&&u!==void 0&&o.outline!==void 0){o.outline.strokeWidth=re.boxPlot.boxPlotLineWidth,AA(h,o.outline),AA(c,o.outline),AA(u,o.outline);let d=e.visible!==!1;Ri(h,d),Ri(c,d),Ri(u,d)}}}function qQ(s){let{candleStickSeries:t,seriesConfig:e,showOutliers:i,seriesSymbol:r}=s;if(r!==void 0){let a=jf(t.chart,t.id);if(a!==void 0){let n=Zr(a);if(n!==void 0){let o=Iw(i,e.visible),l={type:Dt.SMS,style:YA.Circle,color:r.color,size:re.boxPlot.boxPlotOutliersSize};n.clones.each(h=>{let c=t.dataItems.values.find(u=>(u.categories.categoryX??u.categories.categoryY)===(h.dataItem?.categories.categoryX??h.dataItem?.categories.categoryY))?.column.fill;_v({element:h,markerSymbol:{...l,color:VL(c)??l.color},visible:o})})}}}}function JQ(s){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,showMean:o,rendererType:l}=s,h,c,u,d=new Set,A=!1,p=e.fillSymbol??jm(i);if(t.columns.length===0?(u=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:new Oe,colorMatch:n,isChartFillSymbol:!0}),h=u.symbolWithColorInfo,c=u.stylingInfo):t.columns.each(f=>{u=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:f,colorMatch:n,isChartFillSymbol:!0,rendererSymbol:o?void 0:on({dataItem:f.dataItem?.dataContext,seriesConfig:e,chartSubType:a,colorMatch:n,rendererType:l})}),h=u.symbolWithColorInfo,c=u.stylingInfo,d.add(JSON.stringify(h))}),A=d.size>1,r>1){let f=t.legendDataItem?.marker.children.getIndex(0);f!==void 0?gu({element:f,stylingInfo:c}):t.chart.legend.events.once(Ie.Validated,()=>{gu({element:t.legendDataItem?.marker.children.getIndex(0),stylingInfo:c}),t.chart.legend.invalidate()})}return{multipleSymbolsForOneSeries:A,seriesSymbol:h,stylingInfo:c}}function e2(s){let{series:t,showOutliers:e,colorMatch:i,seriesIndex:r,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesConfig:o,rendererType:l,queryObject:h}=s,c=ve(t.chart.uid,"config"),u=Ca(c),d=c?.series.length??0,A=kt(c?.series),p=!1,f;if(t instanceof wr&&o.type===V.BoxPlotSeries){let m=JQ({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:d,chartSubType:A,colorMatch:i,showMean:u,rendererType:l}),{stylingInfo:g}=m;({multipleSymbolsForOneSeries:p,seriesSymbol:f}=m),n.set(a.get(o.id)??r,p?void 0:{fillSymbol:f??o.fillSymbol}),ZQ({candleStickSeries:t,seriesConfig:o,colorMatch:i,stylingInfo:g,chartSubType:A,rendererType:l}),qQ({candleStickSeries:t,seriesConfig:o,showOutliers:e,seriesSymbol:f})}else t instanceof Pi&&o.type===V.LineSeries&&II({series:t,seriesConfig:o,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesIndex:r,colorMatch:i,rendererType:l});n.size===d&&nn({data:n,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)})}function t2(s){let{numberOfSeries:t,chart:e,showMean:i}=s,r=_n({chart:e}),a=r?e.yAxes.getIndex(0)?.renderer:e.xAxes.getIndex(0)?.renderer;if(a!==void 0){let{cellStartLocation:n,cellEndLocation:o}=a,l=n/(i===!0?1:t),h=e.series.values.filter(c=>c instanceof wr);h.forEach((c,u)=>{let d=n+u/h.length*(o-n)+l,A=n+(u+1)/h.length*(o-n)-l,{topStepLineSeries:p,medianStepLineSeries:f,bottomStepLineSeries:m}=Mv(e,c.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=jf(e,c.id);if(g!==void 0){let y=(d+A)/2;r?g.dataItems.template.locations.categoryY=y:g.dataItems.template.locations.categoryX=y}})}}function i2(s){let{outliersSeries:t,chartData:e,dataWasUpdated:i,rotationChanged:r,seriesReordered:a}=s;(r===!0||i===!0||a===!0)&&(t.data=e?.outliers??[])}function r2(s){let{meanLineSeries:t,chartData:e,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesReordered:n}=s;(i===!0||a===!0||r===!0||n===!0)&&(t.data=e?.meanLines??[],t.invalidateData())}function s2(s){let{chart:t,chartConfig:e,seriesConfig:i,chartData:r,candleStickSeriesId:a,showOutliers:n,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:u}=s,d=jf(t,a);if(d!==void 0){let A=Zr(d);if(A!==void 0){let p=Iw(n,i.visible);A.disabled=!p,i2({outliersSeries:d,chartData:r,dataWasUpdated:o,rotationChanged:l,seriesReordered:h})}_A({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:u,rotationChanged:l,outliersSeries:d})}}function a2(s){let{meanLineSeries:t,seriesConfig:e,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o,chartConfig:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c}=s;xA(t,e?.name),_A({chartConfig:l,seriesConfig:e,meanLineSeries:t,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c,rotationChanged:o}),r2({meanLineSeries:t,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o})}function n2(s){let{series:t,chartConfig:e,seriesConfig:i,rotationChanged:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n}=s;xA(t,i?.name),t.hiddenInLegend=Ca(e),_A({chartConfig:e,seriesConfig:i,candleStickSeries:t,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:r})}function o2(s){let{chart:t,chartConfig:e,seriesConfig:i,candleStickSeriesId:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o}=s,l=i.visible!==!1,{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t,r);h!==void 0&&Ri(h,l),c!==void 0&&Ri(c,l),u!==void 0&&Ri(u,l),_A({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o,topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u})}function l2(s){let{chart:t,series:e,chartData:i,utilsStrings:r,dataWasUpdated:a,sortChanged:n,seriesReordered:o,fieldList:l,outliersVisibilityChanged:h,showMean:c,seriesConfig:u,showOutliers:d,standardizeValuesVisibilityChanged:A,rotationChanged:p,options:f,queryObject:m}=s,{tooltipFormatter:g}=f??{};t2({numberOfSeries:s.numberOfSeries,chart:t,showMean:c});let y=ve(t.uid,"config");if(y!==void 0){if(e instanceof wr&&u.type===V.BoxPlotSeries){let{id:_}=e;n2({series:e,chartConfig:y,seriesConfig:u,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A}),o2({chart:t,chartConfig:y,seriesConfig:u,candleStickSeriesId:_,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,rotationChanged:p}),s2({chart:t,chartConfig:y,seriesConfig:u,chartData:i,showOutliers:d,candleStickSeriesId:_,dataWasUpdated:a,rotationChanged:p,seriesReordered:o,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A})}else e instanceof Pi&&u.type===V.LineSeries&&a2({chartConfig:y,chartData:i,meanLineSeries:e,seriesConfig:u,dataWasUpdated:a,seriesReordered:o,sortChanged:n,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A});$v({styleCallback:e2,callbackProps:s,series:e,seriesConfig:u,onReadyEvent:!0}),lQ({series:e,seriesConfig:u,fieldList:l,tooltipFormatter:g,utilsStrings:r,queryObject:m})}}function h2(s){let t=s.series.getIndex(0);if(t!==void 0){let e=!1;t.slices.each(i=>{i.isActive&&(e=!0),Kn({element:i,selected:!1,backToDefaultState:!0})}),e&&s.feedLegend()}}function u2(s,t=!0){let e;s.series.each((i,r)=>{if(!t||i.visible){e=Dv(i,r);let a=[];if(e===V.BarSeries)a=i.columns?.values;else if(e===V.LineSeries)a=Zr(i)?.clones?.values;else if(e===V.BoxPlotSeries){if(i instanceof wr)a.push(...i.columns.values);else if(i instanceof pa)a.push(...i.segments.values);else if(i instanceof Pi){let n=Zr(i)?.clones?.values;n!==void 0&&a.push(...n)}}a!==void 0&&a.forEach(n=>{Kn({element:n,selected:!1,backToDefaultState:!0})})}})}function CA(s){let{chart:t,selectionSource:e,clearOnlyVisibleSeries:i,disposeStyleAndSelection:r}=s,a=ve(t.uid,"currentSelectionDataItems");r!==!1&&AI(t,"updateSelectionCallbackDisposer"),ni(t.uid,{currentSelectionDataItems:void 0,currentSelectionOIDs:void 0,currentSelectionIndexes:void 0,computedSelectionDataItems:void 0,computedSelectionIndexes:void 0,pendingSelectionQueries:!1}),qn(t)&&(t instanceof Wt?u2(t,i??!0):t instanceof pr&&h2(t)),a&&Mu({data:{selectionSource:e??Pr.ClearSelection},htmlContainer:t.htmlContainer})}function c2(s){dx(),ex(s.htmlContainer),CA({chart:s})}function d2(s){let{chart:t,chartType:e,showMean:i}=s;return t.series.values.filter(r=>e!==V.BoxPlotSeries||!i&&r instanceof wr||i&&Hs(r.uid,"isBoxPlotMeanLineSeries")).every(r=>Hs(r.uid,"isSelectionApplied")===!0)}function A2(s){s.series.each(t=>Po(t.uid,{isSelectionApplied:void 0}))}function kI(s,t){let e=ve(s.uid,"actionMode");if((e===Vt.MonoSelection||e===Vt.None)&&t.length>1)CA({chart:s});else{let i=s instanceof pr;t.forEach(r=>{Kn({element:r,useNativeState:i,selected:!0})})}}function p2(s){let{chart:t,chartConfig:e,series:i,options:r,elementsToApplySelectionTo:a,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,queryObject:c}=s,u=ze(e.series),d=kt(e.series),A=Ro(e),p=[],f=[],m=[],g=No(e.series),y=i instanceof Wr?i.dataFields?.customValue??"":"";return a.forEach(_=>{if(!(_ instanceof fo)){let w=_.dataItem?.dataContext;if(w!==void 0&&(u===V.BoxPlotSeries&&w[re.boxPlot.boxPlotOutlierId]!==!0||d===Ee.BarAndLineMultiFields)&&(w=sh({dataContext:w,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:u,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Uo(c)})),Lv({elementDataContext:w,options:r,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,chartType:u,splitBy:y,chartSubType:d,showOutliers:A}))if(p.push(_),_.dataItem!==void 0&&f.push(_.dataItem.index),_?.dataItem instanceof Xa&&w!==void 0)m.push(w);else{let S=new Set;u===V.PieSeries&&ah(w)?(Hf({groupOfSlicesDataContext:w})??[]).forEach(P=>{n.forEach(T=>{_w({layerOidField:o,sliceDataContext:P,selectionDataContext:T,xAxisField:l})&&S.add(P)})}):S.add(w),Array.from(S)?.forEach(P=>{let T=sh({dataContext:P,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:u,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Uo(c)});T!==void 0&&m.push(T)})}else Kn({element:_,useNativeState:t instanceof pr,selected:!1})}}),kI(t,p),{selectedIndexes:f,newSelectionDataItems:m}}function f2(s){let{chart:t,selectionIndexes:e,queryObject:i}=s,r=[],a=[],n=ve(t.uid,"config"),o=Ro(n),l=No(n?.series??[]),h=kt(n?.series);return t.series.each((c,u)=>{if(n&&c.visible){let d=n.series[0].x,A=bu(c),p=c instanceof Wr?c.dataFields?.customValue??"":"",f=Dv(c,u),m=e.get(u);if(m!==void 0){let g;if(c instanceof Ni?g=c.columns:c instanceof ws?g=c.slices:g=Zr(c)?.clones,g!==void 0){let{indexesToSelect:y}=m;g.each((_,w)=>{if(_&&(y===void 0||y.includes(w))){let S;f===V.BoxPlotSeries&&_.dataItem instanceof Xa?S=_.dataItem.dataContext:_.dataItem instanceof fo||(S=sh({dataContext:_.dataItem?.dataContext,yList:l,yAxisField:A,xAxisField:d,splitBy:p,chartType:f,chartSubType:h,showOutliers:o,isFeatureCollectionLayer:Uo(i)})),S!==void 0&&r.push(S),a.push(_)}else Kn({element:_,useNativeState:t instanceof pr,selected:!1})})}}}}),kI(t,a),r}function m2(s){let{series:t,chartType:e,showMean:i}=s,r;switch(e){case V.ComboLineAndBarSeries:if(t instanceof Ni)r=t.columns.values;else if(t instanceof Pi){let a=Zr(t);a!==void 0&&(r=a.clones.values)}break;case V.BarSeries:t instanceof Ni&&(r=t.columns.values);break;case V.LineSeries:if(t instanceof Pi){let a=Zr(t);a!==void 0&&(r=a.clones.values)}break;case V.PieSeries:r=t.slices.values;break;case V.BoxPlotSeries:if(t.chart instanceof Wt){if(t instanceof wr&&i!==!0){r=[...t.columns.values];let a=jf(t.chart,t.id);if(a!==void 0&&a.visible){let n=Zr(a);n!==void 0&&r.push(...n.clones.values)}}else if(i===!0&&t instanceof Pi&&Hs(t.uid,"isBoxPlotMeanLineSeries")){let a=Zr(t);a!==void 0&&(r=a.clones.values)}}break}return r}function g2(s){let{series:t,seriesIndex:e,queryObject:i,options:r,dataWasUpdated:a,sortChanged:n,groupOfSlicesWasUpdated:o,xAxisField:l,yAxisField:h,rotationChanged:c}=s,{filterBySelection:u,selectionData:d,returnSelectionIndexes:A,returnSelectionOIDs:p}=r??{},{selectionIndexes:f}=d??{},{chart:m}=t,g=ve(m.uid,"config"),y=Ro(g),_=Ca(g),w=ze(g?.series);if(u!==!0&&g!==void 0){let S=m2({series:t,chartType:w,showMean:_}),P=kt(g?.series),T=Ys(i),L=_h(T).idField,$=ve(m.uid,"currentSelectionDataItems"),I=!1,M=!1,F,Q=!1;if(S?.[0]!==void 0){if(r?.viewExtentUpdated!==!0){F=r?.selectionData?.selectionItems??$;let Y=ve(m.uid,"currentSelectionIndexes");Q=xx({itemsA:F,itemsB:$,isPieFromFields:P===Ee.PieFromFields,x:g.series[0].x});let z=f?.keys.length!==Y?.keys.length||!Ll(f,Y);I=n===!0||a===!0||o===!0||c===!0||F!==void 0&&Q;let ee=!0;if(f!==void 0&&f.size>0){let{indexesToSelect:ie}=f.get(e??0)??{};ee=ie!==void 0&&ie[0]===void 0}M=a===!0||o===!0||c===!0||!ee&&z}if(I&&F!==void 0&&F.length>0){let{selectedIndexes:Y,newSelectionDataItems:z}=p2({chart:m,chartConfig:g,options:r,series:t,elementsToApplySelectionTo:S,selectionDataItems:F,layerOidField:L,xAxisField:l,yAxisField:h}),ee=ve(m.uid,"computedSelectionDataItems")??[];if(ee.push(...z),g.series.length>1&&P!==Ee.BarAndLineNoAggregation&&P!==Ee.BarAndLineSplitByNoAggregation&&(ee=Cx({data:ee,x:g.series[0].x,splitByField:Vo(g.series[0].query?.where)})),ni(m.uid,{computedSelectionDataItems:ee}),A===!0){let ie=Array.from(new Set(Y)),de=ve(m.uid,"computedSelectionIndexes");de===void 0&&(de=new Map),ie.length===S.length?de.set(e??0,{}):de.set(e??0,{indexesToSelect:ie}),ni(m.uid,{computedSelectionIndexes:de})}}else if(f!==void 0&&M)F=f2({chart:m,selectionIndexes:f,queryObject:i});else{let Y=F===void 0||F.length===0,z=t instanceof Wr?t.dataFields?.customValue??"":"",ee=ie=>{let de=ie.dataItem?.dataContext;return de!==void 0&&w===V.BoxPlotSeries&&de[re.boxPlot.boxPlotOutlierId]!==!0&&(de=sh({dataContext:de,yAxisField:h,yList:No(g.series),xAxisField:l,splitBy:z,chartType:w,chartSubType:P,showOutliers:y,isFeatureCollectionLayer:Uo(i)})),Lv({elementDataContext:de,options:r,selectionDataItems:F??$??[],layerOidField:L,xAxisField:l,yAxisField:h,chartType:w,splitBy:z,chartSubType:P,showOutliers:y})};S.forEach(ie=>{let de=ie.isActive||ee(ie);Kn({element:ie,selected:de,useNativeState:m instanceof pr,backToDefaultState:Y})})}}if(Po(t.uid,{isSelectionApplied:!0}),d2({chart:m,chartType:w,showMean:_})&&(A2(m),Q||M)){let Y=ve(m.uid,"computedSelectionDataItems")??F;Y=Array.from(new Set(Y?.map(ee=>JSON.stringify(ee)))).map(ee=>JSON.parse(ee)),F!==void 0&&ni(m.uid,{currentSelectionDataItems:Y}),d?.selectionOIDs!==void 0&&ni(m.uid,{currentSelectionOIDs:d.selectionOIDs});let z;if(A===!0&&(z=ve(m.uid,"computedSelectionIndexes")??f,z!==void 0&&ni(m.uid,{currentSelectionIndexes:z})),Y===void 0||Y.length===0)CA({chart:m,selectionSource:Pr.ProgrammaticSelection});else{let ee={selectionItems:Y,selectionSource:Pr.ProgrammaticSelection};A===!0&&(ee.selectionIndexes=z),p!==!1&&(ee.selectionOIDs=d?.selectionOIDs??ve(m.uid,"currentSelectionOIDs")),Mu({data:ee,htmlContainer:m.htmlContainer})}ni(m.uid,{computedSelectionIndexes:void 0,computedSelectionDataItems:void 0})}}}function y2(s){let{chart:t,chartConfig:e,rotationChanged:i}=s;for(let r=0;r<t.series.length;r+=1){let a=t.series.getIndex(r);if(a){let n=Ov(a,e);if(n){let o=ze([n]);if(o===V.BoxPlotSeries&&(a=t.series.values.find(l=>l.id===n.id)),a!==void 0){let l=n.x,h=o===V.BoxPlotSeries?n.y.toString():bu(a);VH({callbackProps:{...s,series:a,seriesIndex:r,xAxisField:l,yAxisField:h},series:a,seriesConfig:n,onReadyEvent:i===!0})}}}}}async function Wf(s){let{chart:t,listSelectedElements:e,selectionSource:i,queryObject:r}=s,a=ve(t.uid,"options"),n=ve(t.uid,"config"),o=Gs(r);if(n)if(e.length===0)CA({chart:t,selectionSource:i,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1});else try{AI(t,"updateSelectionCallbackDisposer");let l=Ro(n),h=[],c=[],u=[],d=new Map,{xAxisField:A}=e[0]??{},p=ze(n?.series),f=kt(n?.series),m=No(n?.series??[]),g=ln(r).find(_=>_.name===A)?.type;if(e.forEach(_=>{let{elementDataContext:w,yAxisField:S,splitBy:P}=_,T=sh({dataContext:w,yAxisField:S,yList:m,xAxisField:A,splitBy:P,chartType:p,chartSubType:f,showOutliers:l,isFeatureCollectionLayer:Uo(r)});T!==void 0&&c.push(T);let{seriesIndex:L,elementIndex:$}=_;if($!==void 0){let I=d.get(L)?.indexesToSelect??[];I.push($),d.set(L,{indexesToSelect:Array.from(new Set(I))})}if(!o&&w!==void 0){let I=w[Eu.uniqueIdsName]!==void 0?[w[Eu.uniqueIdsName]].flat():[];if(I.length>0)u.push(...I);else if(a?.returnSelectionOIDs!==!1){let M=_x({dataContext:w,options:a,xAxisField:A,yAxisField:S??"",splitBy:P,xAxisFieldType:g,chartConfig:n,queryObject:r});h.push(M)}}}),!o&&a?.returnSelectionOIDs!==!1&&h.length>0){let _={...ve(t.uid,"queryConfig")};delete _.groupByFieldsForStatistics,delete _.orderByFields,delete _.outStatistics;let w=await sI({whereList:h,queryObject:r,queryConfig:_});if(h.length===e.length)u=w;else for(let S=0;S<w.length;S+=1)u.push(w[S])}ni(t.uid,{currentSelectionDataItems:c,currentSelectionOIDs:u,currentSelectionIndexes:d});let y={selectionItems:c,selectionSource:i};a?.returnSelectionIndexes===!0&&(y.selectionIndexes=d),a?.returnSelectionOIDs!==!1&&(y.selectionOIDs=u),Mu({data:y,htmlContainer:t.htmlContainer})}catch(l){ni(t.uid,{pendingSelectionQueries:!1});let{httpStatus:h}=l instanceof Ln?l.details.details:l.details??{};if(h===429)c2(t);else throw l}ni(t.uid,{pendingSelectionQueries:!1})}function v2(s){let{axis:t}=s,e=t.chart;return{axis:t,chart:e}}async function b2(s,t){let e=s.target,{axis:i,chart:r}=v2(e),a=[],{seriesDataItems:n}=s.target.dataItem;Object.keys(n).forEach(u=>{if(Object.hasOwn(n,u)){let d=n[u];for(let A of d)if(A instanceof Bs)a.push(A.column);else{let p=A.sprites.find(f=>!(f instanceof Mi));p!==void 0&&a.push(p)}}});let o=Ev(s,r),l=i instanceof Ct||i instanceof Ot,h=[],c=ve(r.uid,"config");if(c){let u=c.series[0].x??"";r.series.each((d,A)=>{let p;if(d instanceof Ni?p=d.columns:p=Zr(d)?.clones,d.visible){let f=bu(d),m=d.dataFields?.customValue??"";p?.each((g,y)=>{let _=a.includes(g);Kn({element:g,selected:_,multiSelect:o,isDateOrCategoryAxis:l})&&h.push({element:g,elementDataContext:g.dataItem?.dataContext,yAxisField:f,xAxisField:u,splitBy:m,seriesIndex:A,elementIndex:y,chartConfig:c})})}}),await Wf({chart:r,listSelectedElements:h,selectionSource:Pr.SelectionByClick,queryObject:t})}}function x2(s,t){if(qn(s.renderer.labels.template)){s.renderer.labels.template.events.on(Ie.Hit,async i=>{s.renderer.labels.template.events.isEnabled(Ie.Hit)&&await b2(i,t)});let e=ve(s.chart.uid,"filterBySelection")===!0?ai.default:ai.pointer;ew(s,e)}}function wv(s,t){if(qn(s?.renderer?.labels?.template)&&(s instanceof Ot||s instanceof Ct))if(t)s.renderer.labels.template.events.disableType(Ie.Hit),ew(s,ai.default);else{s.renderer.labels.template.events.enableType(Ie.Hit);let e=ve(s.chart.uid,"filterBySelection")===!0?ai.default:ai.pointer;ew(s,e)}}var vr={Guides:"guides",Ticks:"ticks",GaugeFirstAndLastGuides:"firstAndLast",GaugeTicksWithLabels:"gaugeTicksWithLabels"};function Rc(s){let{chart:t,label:e,labelType:i}=s,r=Number.NaN;switch(i){case ii.GuideLabel:!(t instanceof qs)&&t instanceof Wt&&(e.rotation===90||e.rotation===270?r=t.seriesContainer.measuredHeight:r=t.seriesContainer.measuredWidth);break;case ii.XAxisTitle:t instanceof Wt&&(r=t.seriesContainer.measuredWidth);break;case ii.YAxisTitle:t instanceof Wt&&(r=t.seriesContainer.measuredHeight);break;case ii.ChartTitle:case ii.ChartSubTitle:case ii.ChartFooter:r=t.measuredWidth-20;break}r>0&&(e.maxWidth=r,t.invalidateLabels(),t instanceof Wt&&(t.xAxes.getIndex(0)?.invalidateLabels(),t.xAxes.getIndex(1)?.invalidateLabels(),t.yAxes.getIndex(0)?.invalidateLabels(),t.yAxes.getIndex(1)?.invalidateLabels()))}function Uf(s){let{chart:t,labelType:e}=s;Rc(s);let i=e===ii.YAxisTitle?1:0;t.events.on(Ie.Validated,zs(()=>Rc(s),re.debounceTime),i)}function Bv(s,t){s.events.on(Ie.Validated,zs(()=>{t.visible=s.measuredWidth!==0},re.debounceTime))}function _2(s,t){s.chart instanceof qs||(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 C2(s,t){let e=s.renderer instanceof zl?new Un:new Jo;return e.disabled=!0,e.axis=s,Iv(e),mu(e.uid,{isGuide:t}),Uf({chart:s.chart,label:e,labelType:ii.GuideLabel}),_2(s,e),e}function w2(s){let{label:t,labelConfig:e,guideType:i}=s,r=t.axis.renderer instanceof Ar,a;t instanceof Un||(r?i===Dt.SFS?a=re.verticalSurfaceGuideLabels:a=re.verticalLineGuideLabels:i===Dt.SFS?a=re.horizontalSurfaceGuideLabels:a=re.horizontalLineGuideLabels);let n={...e};n.content.rightToLeft=t.axis.rtl,Cn({label:t,labelConfig:n,defaults:a}),t.axis.invalidateLabels()}function B2(s,t,e){let i=e.chart;s.axisFill.tooltip=new Ao,s.axisFill.interactionsEnabled=!0,s.axisFill.tooltipPosition=re.guideTooltipPosition,s.axisFill.tooltip.label.wrap=!0,s.axisFill.tooltip.adapter.add("maxWidth",()=>Math.min(re.tooltipWidth,i.seriesContainer.maxWidth)),s.axisFill.tooltip.boundingContainer=i.chartAndLegendContainer,s.axisFill.adapter.add("tooltipHTML",(r,a)=>{let n=r,{dataItem:o,axis:l}=a;if(!(l.renderer instanceof zl)){let h=Vs(l.uid,"guideTooltipFormatter");if(h!==void 0){let c="",u;o instanceof yo?(c=o.value,u=o.endValue):o instanceof il?(c=o.category,u=o.endCategory):o instanceof Vh&&(c=o.date,u=o.endDate),n=h({guideName:o.id??"",start:c,end:u,guideIndex:t})}}return n}),s.axisFill.tooltip.events.on(Ie.Shown,r=>{let a=ve(s.axisFill.axis.chart.uid,"config");if(a!==void 0){let n=ve(s.axisFill.axis.chart.uid,"isRotated"),o=Xf(s.axisFill.axis.renderer,n)?0:1,l=a.axes?.[o]?.guides,{tooltipReverseColor:h}=l?.[t]??{};vI(r.target,h)}})}function S2(s,t){return e=>{let{guideName:i,start:r,end:a,guideIndex:n}=e,{chart:o}=s,l="";if(o!==void 0){let h=ve(o.uid,"config"),c=ve(o.uid,"isRotated"),u=Xf(s.renderer,c)?0:1,d=h?.axes?.[u]?.guides,A=r,p=a;if(s instanceof Ct){let y=new cn,_;if(o!==void 0){let w=ve(s.chart.uid,"formatLocale");y=yl({type:V.DateAxisFormat,iLocale:o.language.locale,formatLocale:w}),_=h?.axes?.[0]?.valueFormat?.intlOptions}A=y.format(r,_),a!==void 0&&(p=y.format(a,_))}else if(s instanceof He&&!(r instanceof Date)&&!(a instanceof Date)){let{start:y,end:_}=kw(s,d?.[n]);Number.isFinite(y)&&(A=y),Number.isFinite(_)&&(p=_);let w=Vs(s.uid,"numberFormatter")??(S=>new Hl().format(S));A=w(A),p!==void 0&&(p=w(p))}else s instanceof Ot&&(A=r,p=a);let f=A.toString(),m=p?.toString()??"";!Yi(m)&&f!==m?l=fA(t.guideTooltipLabel,{guideStart:f,guideEnd:m}):l=f;let g=Ra(o.rtl);l=`${i}${g} ${l}`}return l}}function F2(s){let{axis:t,guideTooltipFormatter:e,utilsStrings:i}=s;Ls(t.uid,{guideTooltipFormatter:e??S2(t,i)})}function T2(s){let t=ku.Value;return s instanceof Ct?t=ku.Date:s instanceof Ot&&(t=ku.Category),t}function q1(s){let{inputValue:t,axisType:e,axisMin:i,axisMax:r}=s,a=t;if(t!=null)switch(e){case ku.Date:a=t instanceof Date?t:new Date(t);break;case ku.Category:a=t.toString();break;case ku.Value:if(typeof t!="number"){let n=t.toString().trim(),o=qA(n);o!==void 0?i!==void 0&&r!==void 0?a=o/100*(r-i)+i:a=null:a=Number.parseFloat(n)}break}return a}function kw(s,t){let{start:e,end:i}=t??{},r;if(t!==void 0&&e!==void 0&&e!==null){let a=T2(s),n=s instanceof He?s.min:void 0,o=s instanceof He?s.max:void 0,l=q1({inputValue:e,axisType:a,axisMin:n,axisMax:o}),h=t.style?.type===Dt.SFS&&i!==null&&i!==void 0?q1({inputValue:i,axisType:a,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 P2(s){let{axis:t,tickOrGuide:e,numberOfElementsToBeDeleted:i}=s,r=[],a=t.axisRanges.length-1,n=i;for(;n>0&&a>=0;){let o=t.axisRanges.getIndex(a);o!==void 0&&(gs(o.label?.uid,"isGuide")??!1)===!0&&e===vr.Guides&&(r.push(o),n-=1),a-=1}for(let o=0;o<r.length;o+=1)t.axisRanges.removeValue(r[o])}function tn(s,t){return s.axisRanges?.values?.filter(e=>{let i=gs(e.label?.uid,"isGuide")??!1,r=gs(e.label?.uid,"isGaugeAxisLabel")??!1,a=!1;switch(t){case vr.Ticks:a=i===!1;break;case vr.Guides:a=i===!0;break;case vr.GaugeTicksWithLabels:a=r===!0&&e.value!==void 0;break;case vr.GaugeFirstAndLastGuides:a=i===!0&&(e.id===re.gaugeFirstLabelId||e.id===re.gaugeLastLabelId);break}return a})??[]}function D2(s,t){let e=s.axisRanges.length;{let r=s.axisRanges.values.findIndex(a=>a.id===re.gaugeFirstLabelId);r!==-1&&(e=r)}let i;return s instanceof Ot?i=new il:s instanceof Ct?i=new Vh:i=new yo,s.axisRanges.insertIndex(e,i),i.label=C2(s,t),i.axisFill.fillOpacity=1,i.axisFill.disabled=!0,i.grid.strokeOpacity=1,i}function L2(s,t){let e=D2(s,!0);B2(e,t,s),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 I2(s,t){let{start:e,end:i}=t,r=ve(s.uid,"config"),a=eg(r),n=e!==null?e:void 0;n=s.data.find(l=>l[re.originalCategoryValue]===e)?.[a]??n;let o=i!==null?i:void 0;if(o!==void 0)for(let l=s.data.length-1;l>=0;l-=1){let h=s.data[l];if(h[re.originalCategoryValue]===i){o=h[a];break}}return{modifiedStart:n,modifiedEnd:o}}function k2(s,t){let{start:e,end:i}=t;if(e!==void 0){let{chart:r}=s?.component??{},a;if(s instanceof il&&r instanceof Wt&&ve(r.uid,"isNonAggregatedChart")===!0){let{modifiedStart:n,modifiedEnd:o}=I2(r,t);a={isValidGuide:!0,start:n??e,end:o??i}}else a=kw(s.axisFill.axis,t);a.isValidGuide&&(s instanceof il?(s.category=`${a.start?.toString()}`,s.endCategory=`${a.end?.toString()}`):s instanceof Vh?(s.date=a.start,s.endDate=a.end):(s.value=a.start,s.endValue=a.end))}}function $2(s,t){s.axisFill.above=t??re.guideAbove,s.grid.above=t??re.guideAbove}function O2(s,t){let{axisFill:e,label:i}=s;if(t!==void 0){if(s.id=t.name,s.visible=t.visible!==void 0?t.visible:s.visible,k2(s,t),t.style.type===Dt.SLS?Mf({element:e,fillSymbol:{type:Dt.SFS,color:t.style?.color,outline:t.style},visible:t.visible}):t.style.type===Dt.SFS&&Mf({element:e,fillSymbol:t.style,visible:t.visible}),$2(s,t.above),t.label!==void 0){let a={type:V.Text,visible:t.visible,content:t.label};w2({label:i,labelConfig:a,guideType:t.style.type})}let r=s.component?.chart;r!==void 0&&Rc({chart:r,label:i,labelType:ii.GuideLabel})}else e.disabled=!0,i.disabled=!0}function E2(s,t){let e=tn(s,vr.Guides).length,i=t?.length??e;for(let r=e;r<i;r+=1)L2(s,r)}function M2(s){let{axis:t,guides:e,guideTooltipFormatter:i,utilsStrings:r}=s;if(e!==void 0){for(let a=0;a<e.length;a+=1){let n=tn(t,vr.Guides)[a];n!==void 0&&O2(n,e[a])}F2({axis:t,guideTooltipFormatter:i,utilsStrings:r})}}function R2(s,t){let e=tn(s,vr.Guides).length,i=t?.length??0,r=e-i;P2({axis:s,numberOfElementsToBeDeleted:r,tickOrGuide:vr.Guides})}function U2(s){let{axis:t,guides:e}=s;E2(t,e),M2(s),R2(t,e)}function V2(s){let{axis:t,labels:e,restoreLabelsVisibility:i=!0}=s;(e??t.renderer.labels.values).forEach(r=>{r.x instanceof qe?r.x.value:r.x,i&&Ri(r,!0)})}function $I(s){let t=s.renderer.labels.values.filter(e=>gs(e.uid,"isGuide")!==!0&&e.measuredWidth>0).length;return s.pixelWidth/t}function N2(s){let{target:t}=s;if((ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior??ir.Rotate)===ir.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 H2(s){let{axis:t,labelsConfig:e,horizontalAxisLabelsBehavior:i,isSecondValueAxis:r,tickSpacing:a}=s,n=t.renderer.minGridDistance;if(typeof a=="number"&&Number.isFinite(a))n=a;else if(t.renderer instanceof zl)n=re.gauge.gaugeMinGridDistance;else if(t instanceof He)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===ir.Rotate){let o=e.content.font?.size??re.generalFontSize,l=t instanceof Ot?re.categoryAxisLabelPadding:re.axisLabelPadding;n=o*l}else if(i===ir.Wrap){let o=zs(N2,re.debounceTime);Ls(t.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:o}),t.events.on(Ie.SizeChanged,o),t.dispatchImmediately(Ie.SizeChanged)}else i===ir.Stagger?n=re.staggerMinGridDistance:n=t instanceof Ot?re.xCategoryAxisMinGridDistance:re.xAxisMinGridDistance;else n=t instanceof Ot?re.yCategoryAxisMinGridDistance:re.yAxisMinGridDistance;t.renderer.minGridDistance=n}function Q2(s){let t=s.renderer.labels.template;qn(t)&&(t.adapter.add("rotation",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.uid,"labelsSymbol")?.angle??e:e),t.adapter.add("verticalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.uid,"labelsSymbol")?.verticalCenter??e:e),t.adapter.add("horizontalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.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?Vs(s.uid,"labelsSymbol")?.yOffset??r:r),r}))}function j2(s){let{target:t}=s;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=Vs(t.uid,"labelsSymbol")?.angle??0,a=$I(t)>=i+5;if(!a&&r===0||a&&r===re.rotatedAxisLabel.rotation){let n=a?xv(e.content,t.rtl,re.axisLabel):xv({type:Dt.TS},t.rtl,re.rotatedAxisLabel);Ls(t.uid,{labelsSymbol:n}),t.renderer.invalidateLabels()}}}}function W2(s,t=1){let{target:e}=s,i=$I(e);Number.isFinite(i)&&(e.renderer.labels.template.maxWidth=Math.min(i*t,e.renderer.minGridDistance))}function X2(s){let{target:t}=s;if(ve(t.chart.uid,"config")?.axes?.[0].labels?.visible!==!1){let e=0;t.dataItems.each(i=>{let{label:r,itemIndex:a}=i;gs(r.uid,"isGuide")!==!0&&r.currentText!==void 0&&r.measuredWidth>0&&a%2===0&&r.bbox.height>e&&(e=r.bbox.height)}),t.dataItems.each(i=>{let{tick:r,label:a,itemIndex:n}=i;if(gs(a.uid,"isGuide")!==!0&&a.currentText!==void 0&&a.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 z2(s){let{chart:t}=s;s.renderer.labels.template.paddingLeft=Number.NaN,s.renderer.labels.template.paddingRight=Number.NaN;let e=Vs(s.uid,"debouncedAxisLabelRotationCallback");if(e!==void 0&&(s.events.off(Ie.Validated,e),Ls(s.uid,{debouncedAxisLabelRotationCallback:void 0})),t!==void 0){let i=ve(t.uid,"config")?.axes?.[0].labels;if(i!==void 0){let r=xv(i.content,t.rtl,re.axisLabel),a=s.renderer.labels.template;a.rotation=r.angle,a.verticalCenter=r.verticalCenter,a.horizontalCenter=r.horizontalCenter,Number.isFinite(r.yOffset)&&(a.dy=r.yOffset)}Ls(s.uid,{labelsSymbol:void 0})}}function OI(s){s.renderer.labels.template.wrap=!1,s.renderer.labels.template.textAlign="start"}function G2(s){OI(s),s.renderer.labels.template.paddingLeft=Number.NaN,s.renderer.labels.template.paddingRight=Number.NaN;let t=Vs(s.uid,"debouncedAxisLabelWrapCallback");t!==void 0&&(s.events.off(Ie.DataRangeChanged,t),Ls(s.uid,{debouncedAxisLabelWrapCallback:void 0}))}function Y2(s){OI(s);let t=Vs(s.uid,"debouncedUpdateMinGridDistanceForWrapBehavior");t!==void 0&&(s.events.off(Ie.SizeChanged,t),Ls(s.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:void 0}))}function K2(s){let t=Vs(s.uid,"debouncedAxisLabelStaggerCallback");t!==void 0&&(s.events.off(Ie.DataRangeChanged,t),Ls(s.uid,{debouncedAxisLabelStaggerCallback:void 0})),s.renderer.ticks.each(e=>{e.length=re.axisTickLength,e.dataItem?.label&&(e.dataItem.label.dy=re.axisLabel.dy??0)})}function Z2(s){z2(s),G2(s),K2(s)}function J1(s){Q2(s),s.renderer.labels.template.paddingLeft=0,s.renderer.labels.template.paddingRight=0,s.renderer.labels.template.maxWidth=Number.NaN;let t=zs(j2,re.debounceTime,{leading:!0});Ls(s.uid,{debouncedAxisLabelRotationCallback:t}),s.events.on(Ie.Validated,t),s.dispatchImmediately(Ie.Validated)}function eL(s,t=1){s.renderer.labels.template.wrap=!0,s.renderer.labels.template.paddingLeft=.5,s.renderer.labels.template.paddingRight=.5,s.renderer.labels.template.textAlign="middle";let e=zs(i=>W2(i,t),re.debounceTime);Ls(s.uid,{debouncedAxisLabelWrapCallback:e}),s.events.on(Ie.DataRangeChanged,e)}function q2(s){s.renderer.labels.template.maxWidth=re.yAxisLabelMaxWidth,s.renderer.labels.template.wrap=!0,s.renderer.labels.template.textAlign="end"}function J2(s){let t=zs(X2,re.debounceTime);Ls(s.uid,{debouncedAxisLabelStaggerCallback:t}),s.events.on(Ie.DataRangeChanged,t)}function ej(s){let{axis:t,horizontalAxisLabelsBehavior:e,verticalAxisLabelsBehavior:i,labelsConfig:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=s;if(t.renderer instanceof Ar&&a?.[0]!==!1){if(Z2(t),n!==!0)switch(e){case ir.Hide:break;case ir.Stagger:J2(t),eL(t,1.5);break;case ir.Wrap:eL(t);break;case ir.Rotate:J1(t);break;default:r.content.angle!==null&&r.content.angle===void 0&&J1(t);break}}else t.renderer instanceof Lr&&(i!==ir.Hide?q2(t):Y2(t))}function tj(s){let{axis:t,axisConfig:e,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=s,o=t.renderer.labels.template;o.axis=t;let{labels:l}=e,h=t.renderer instanceof Ar&&o.rotation===re.rotatedAxisLabel.rotation,c=l,u;h?(c.content.angle=void 0,c.content.horizontalAlignment=void 0,c.content.verticalAlignment=void 0,c.content.yoffset=void 0,u=re.rotatedAxisLabel):t.renderer instanceof Ar&&(i===ir.Stagger||i===ir.Wrap)&&(u={wrap:!0,dy:re.axisLabel.dy}),t.renderer instanceof Lr&&r!==ir.Hide&&(u={wrap:!0}),Cn({label:o,labelConfig:c,defaults:u}),t.renderer.labels.template.paddingTop=t.renderer instanceof Ar?0:re.axisLabel.dy,o.align="none",o.valign="none",ej({axis:t,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelsConfig:l,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}),o.axis.invalidateLabels()}function $w(s){return(s??qb())===Gi.Side}function EI(s,t){let e,i,r=iw(s,"bullets"),a=iw(s,"columns"),n=$w(t);return n&&r!==void 0?(e=r,i=a):n||(e=a,i=r),{labelToRender:e,labelToHide:i}}function ij(s,t=!0){s.hideOversized=t}function rj(s,t){let e,i,r=vl(re.dataLabelInitialize);mu(r.uid,{isDataLabel:!0}),s.bullets.push(r);let a=vl(re.dataLabelInitialize,s.columns.template);return mu(a.uid,{isDataLabel:!0}),rw(a,s),rw(r,s),s.events.on(Ie.Validated,zs(()=>{Ef(a)&&a.clones.each(n=>{Ef(n)&&n.validate()})},re.debounceTime)),a.html="{valueX}",r.html="{valueX}",uI(r),$w(t)?(e=r,i=a):(e=a,i=r),oI(V.BarSeries,r),lI(V.BarSeries,e),{newLabelToRender:e,newLabelToHide:i}}function sj(s){let{series:t,stackedType:e,isRotated:i,hideOversizedStackedLabels:r,hideOversizedSideBySideLabels:a}=s,{labelToRender:n,labelToHide:o}=EI(t,e);if(n===void 0){let{newLabelToRender:c,newLabelToHide:u}=rj(t,e);n=c,o=u}let l=re.dataLabel,h=!0;$w(e)?(l=i===!0?re.dataLabelRotated:re.dataLabel,h=a===!0):(l=i===!0?re.dataLabelStackedRotated:re.dataLabelStackedNonRotated,h=r!==!1),ij(n,h),o!==void 0&&(o.visible=!1,o.disabled=!0),n.html="{valueX}",cI({...s,dataLabel:n,labelDefaults:l,defaultDataLabelFormatter:hI})}function aj(s){let t=s.tooltip;t!==void 0&&!(s instanceof Ct)&&(t.label.adapter.add("html",(e,i)=>{let r=e??"";return s instanceof He?r=YL(s,i.properties?.text??e??""):s instanceof Ot&&(r=KL({axis:s,defaultOutput:e??"",dataItem:t.dataItem})),Mr(r)}),t.label.html=re.htmlEmptyContent)}function sw(s){let{axis:t,start:e,end:i}=s;t.zoom({start:e??0,end:i??1})}function tL(s){s!==void 0&&(s.start=0,s.end=1)}function Rv(s){s!==void 0&&(s.xAxes!==void 0&&s.xAxes.each(t=>sw({axis:t})),s.yAxes!==void 0&&s.yAxes.each(t=>sw({axis:t})),tL(s.scrollbarX),tL(s.scrollbarY),Ri(s.zoomOutButton,!1))}function Xf(s,t){return s instanceof Ar&&t!==!0||s instanceof Lr&&t===!0}function nj(s){qn(s.labels.template)&&(s.labels.template.events.on(Ie.Over,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??1)*e}),s.labels.template.events.on(Ie.Out,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??.5)/e}))}function oj(s){let{axis:t,valueFormat:e,axisRenderer:i,queryObject:r}=s;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,Iv(i.labels.template,re.axisLabel),i.ticks.template.disabled=!1,i.labels.template.disabled=!0,aj(t),ld(e)&&(nj(i),x2(t,r)),Bv(t.chart,t.title),Uf({chart:t.chart,label:t.title,labelType:t.renderer instanceof Ar?ii.XAxisTitle:ii.YAxisTitle}),t.renderer instanceof Ar&&t.events.on(Ie.Validated,zs(()=>{V2({axis:t,restoreLabelsVisibility:!0})},re.debounceTime))}function lj(s){let t=s.target,e=ve(t.chart.uid,"isRotated"),i=[];if(t instanceof He){if(t.renderer instanceof zl)i.push({isXAxis:!0,minimum:t.min,maximum:t.max});else if(t.renderer instanceof(e!==!0?Lr:Ar)){t.maxZoomFactor=1;let r=s.target,a=r.chart,n=e!==!0?a.xAxes.getIndex(0):a.yAxes.getIndex(0),o=a.yAxes.getIndex(1)??a.xAxes.getIndex(1);i=[{isXAxis:!1,minimum:r.min,maximum:r.max},{isXAxis:!0,minimum:n instanceof He?n.min:void 0,maximum:n instanceof He?n.max:void 0}],o instanceof He&&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))&&tx(i,t.chart.htmlContainer)}}function hj(s){s.events.on(Ie.Validated,zs(lj,re.debounceTime))}function uj(s){let{axis:t,isNonAggregatedChart:e}=s,i,r,a,n=t.dataItems.values,o=t.axisRanges.values;if(t instanceof Ot)for(let l=0;l<o.length;l+=1){i=!1,r=!1,a=!1;let h=o[l],{category:c,endCategory:u,axisFill:d,grid:A,label:p}=h;if(h instanceof il&&h.visible)for(let f=0;f<n.length;f+=1){let m;e===!0?m=Mo({value:n[f].category,dataContext:n[f].dataContext}):m=n[f].category.toString(),c===m&&(r=!0),u===m&&(a=!0)}r&&a&&(i=!0),Ri(d,i),Ri(A,i),Ri(p,i)}}function iL(s){let{axis:t,axisMinimum:e,axisMaximum:i}=s,r;if(t instanceof He&&i!==void 0&&e!==void 0){let a=t.axisRanges.values,n=ve(t.chart.uid,"config"),o=ve(t.chart.uid,"isRotated"),l=Xf(t.renderer,o)?0:1,h=n?.axes?.[l]?.guides;for(let c=0;c<a.length;c+=1){let u=a[c],{value:d,endValue:A,axisFill:p,grid:f,label:m}=u;if(gs(m?.uid,"isGuide")===!0){if(r=u.visible,r&&u instanceof yo){let{start:g,end:y}=kw(t,h?.[c]),_=Math.min(d,A,g??d,y??A),w=Math.max(d,A,g??d,y??A);_<e&&w<e||_>i&&w>i?r=!1:(u.value=_<e?e:_,u.endValue=w>i?i:w)}Ri(p,r),Ri(f,r),Ri(m,r)}}}}function cj(s){s instanceof He?(s.adapter.add("min",t=>(iL({axis:s,axisMinimum:t,axisMaximum:s.max}),t)),s.adapter.add("max",t=>(iL({axis:s,axisMinimum:s.min,axisMaximum:t}),t))):s instanceof Ot&&s.events.on(Ie.Validated,()=>{let t=ve(s.chart.uid,"isNonAggregatedChart");uj({axis:s,isNonAggregatedChart:t})})}function Of(s){let{axes:t,isSecondValueAxis:e=!1,isXAxis:i,valueFormat:r,chartType:a,queryObject:n}=s,o;if(Um({isXAxis:i,chartType:a,valueFormat:r})&&!e)o=t.push(new Ot);else if(ro(r))o=t.push(new Ct);else if(xa(r)){o=t.push(new He);let l=ve(o.chart.uid,"formatLocale");o.numberFormatter=yl({type:V.NumberAxisFormat,iLocale:o.chart.language.locale,formatLocale:l}),o.numberFormatter.numberFormat="#",e?(o.renderer.opposite=!0,o.renderer.grid.template.disabled=!0):hj(o)}o!==void 0&&(oH(o),oj({axis:o,valueFormat:r,axisRenderer:o.renderer,queryObject:n}),cj(o))}function MI(s){let{chart:t,axesConfig:e,isRotated:i,chartType:r,queryObject:a}=s;ni(t.uid,{isRotated:i===!0});let n=i===!0?e?.[1]:e?.[0],o=i===!0?e?.[0]:e?.[1],l=n?.valueFormat,h=o?.valueFormat;l!==void 0&&h!==void 0&&(t.xAxes.clear(),t.yAxes.clear(),Of({chartType:r,isXAxis:i!==!0,axes:t.xAxes,valueFormat:l,queryObject:a}),Of({chartType:r,isXAxis:i===!0,axes:t.yAxes,valueFormat:h,queryObject:a}),e?.[2]!==void 0&&Of({chartType:r,isXAxis:i===!0,axes:i===!0?t.xAxes:t.yAxes,valueFormat:e[2].valueFormat,isSecondValueAxis:!0,queryObject:a}))}function dj(s){let{axis:t,isLogarithmic:e,axisConfigIndex:i}=s,r=ve(t.chart.uid,"config"),a=e===!0&&ag({chartConfig:r,chartData:t.chart.data,axisConfigIndex:i});(t instanceof Ct||t instanceof He)&&(t.logarithmic=a,t.treatZeroAs=a?re.treatZeroValueAs:0)}function Aj(s,t){let{minimum:e,maximum:i,isLogarithmic:r}=t??{},{buffer:a}=t??{};return a??=re.buffer,s instanceof He&&!(s instanceof Ct)&&!a&&(r!==!0||i!=null||e!=null)}function pj(s,t){let e=!1;return s instanceof He&&!(s instanceof Ct)&&(e=Aj(s,t),s.strictMinMax=e),e}function fj(s){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=s,a=e?.minimum,n=e?.maximum,o=e?.isLogarithmic??!1,l=a,h=n,{chart:c}=t,u=ve(c.uid,"isRotated"),d=ve(c.uid,"config"),A=0;if(c instanceof Wt&&d!==void 0){let p=Ua(d),f=Xf(t.renderer,u),m=MH(c),g=sg({chartConfig:d,isSecondValueAxis:r,seriesIds:m}),y=wx({chartConfig:d,chartData:c.data,filteredSeriesIds:g});if(p===Gi.Stacked100)l=Number.NaN,h=Number.NaN;else{let{minX:_,maxX:w,minY:S,maxY:P}=y,[T,L]=f?[_??Number.NaN,w??Number.NaN]:[S,P];A=T,i===V.BarSeries||i===V.ComboLineAndBarSeries||i===V.LineSeries&&p===Gi.Stacked&&!f?(l=Math.min(T,0),h=Math.max(L,0)):(l=T,h=L)}l=a??l,h=n??h}return o&&l!==void 0&&l!==null&&l<=0&&(l=AH(A)),{min:l,max:h}}function RI(s){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=s,{minimum:a,maximum:n,isLogarithmic:o}=e??{};if(t instanceof He||t instanceof Ct)if(pj(t,e)){let l=a,h=n;if(ZL({minimumFromConfig:a,maximumFromConfig:n,isLogarithmic:o})){let c=fj({axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r});l=c.min,h=c.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 mj(s){let{axis:t,timeIntervalInfo:e,dateBaseInterval:i}=s;if(t instanceof Ct){let{size:r,unit:a}=e??{};if(a||({size:r,unit:a}=i??{}),r&&a!==void 0){let n;switch(a){case tr.Second:n="second";break;case tr.Minute:n="minute";break;case tr.Hour:n="hour";break;case tr.Day:n="day";break;case tr.Week:n="week";break;case tr.Month:n="month";break;case tr.Year:n="year";break}n!==void 0&&(t.baseInterval={timeUnit:n,count:r})}}}function gj(s,t){s instanceof He&&(s.renderer.baseGrid.disabled=t!==!0)}function yj(s,t){s.cursorTooltipEnabled=t===!0}function vj(s,t){let e=s.renderer instanceof Ar;s.events.once(Ie.Validated,()=>{let i=s.renderer instanceof Lr?re.yAxisTitleLabel:re.xAxisTitleLabel;e&&(i={...i,dy:i.dy??0}),Cn({label:s.title,labelConfig:t,defaults:i}),Rc({chart:s.chart,label:s.title,labelType:s.renderer instanceof Ar?ii.XAxisTitle:ii.YAxisTitle})})}function bj(s,t){let e=!0;return t===V.BoxPlotSeries&&(e=s instanceof wr),e}function UI(s){let t=zs(()=>{let{chart:e}=s,i=ve(e.uid,"config");if(e!==void 0&&i!==void 0){let r=ze(i?.series);if(bj(s,r)){let a=ve(e.uid,"isRotated"),n=Hs(s.uid,"stackedType");n===Gi.Stacked100&&!s.visible&&Ri(s,!1);let o=e.xAxes.getIndex(0),l=e.yAxes.getIndex(0),h=e.yAxes.getIndex(1),c=a===!0?1:0,u=i.axes?.[c],d=a===!0?0:1,A=i.axes?.[d],p=i.axes?.[2];[{axis:o,axisConfig:u,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:_}=f;m!==void 0&&(RI({axis:m,chartType:r,axisConfig:g,isSecondValueAxis:_}),y!==void 0&&m.events.once(Ie.Validated,()=>{let{labelToRender:w}=EI(s,n);w&&(w.html=a===!0?"{valueX}":"{valueY}")}))})}}},re.debounceTime);s.events.once(Ie.Validated,t)}function xj(s,t){if(s instanceof He){let{integerOnlyValues:e,valueFormat:i}=t,r=Px(i)?i.intlOptions.maximumFractionDigits:void 0;s.maxPrecision=e===!0||r===0?0:Number.NaN}}function vv(s){let{axis:t,axisConfig:e,axisConfigIndex:i,timeIntervalInfo:r,chartType:a,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,guideTooltipFormatter:h,stackedType:c,axisValueFormatter:u,isSecondValueAxis:d,isRotated:A,isTimeOnlyField:p,utilsStrings:f,errorStrings:m}=s,{visible:g,isLogarithmic:y,title:_,grid:w,lineSymbol:S,labels:P,guides:T,valueFormat:L,displayZeroLine:$,displayCursorTooltip:I,tickSpacing:M,dateBaseInterval:F}=e;mj({axis:t,timeIntervalInfo:r,dateBaseInterval:F}),Oc({element:t.renderer.grid.template,lineSymbol:w,visible:g}),Oc({element:t.renderer.line,lineSymbol:{color:[...re.color],...S??ZA()},visible:g}),Oc({element:t.renderer.ticks.template,lineSymbol:S,visible:g}),tj({axis:t,axisConfig:e,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,isSecondValueAxis:d}),xj(t,e),H2({axis:t,labelsConfig:P,horizontalAxisLabelsBehavior:n,isSecondValueAxis:d,tickSpacing:M}),dH({axis:t,isXAxis:Xf(t.renderer,A),chartType:a,labelsTextSymbol:e.labels.content,formatOptions:L,overridePercentMultiplication:c===Gi.Stacked100,axisValueFormatter:u,isTimeOnlyField:p,errorStrings:m}),RI({axis:t,axisConfig:e,chartType:a,isSecondValueAxis:d}),dj({axis:t,isLogarithmic:y,axisConfigIndex:i}),vj(t,_),yj(t,I),d!==!0&&(U2({axis:t,guides:T,guideTooltipFormatter:h,utilsStrings:f}),gj(t,$))}function _j(s){let{chart:t,rotationChanged:e,isRotated:i,dualAxisChanged:r,timeIntervalInfoWasReset:a,timeIntervalInfo:n,guideTooltipFormatter:o,xAxisLabelFormatter:l,yAxisLabelFormatter:h,secondaryYAxisLabelFormatter:c,utilsStrings:u,errorStrings:d,queryObject:A}=s,{axisLabelsBehaviorChanged:p}=s,f=ve(t.uid,"config"),m=f.axes,{horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:y}=f,_=ze(f.series),w=Ua(f),S=ve(t.uid,"fieldList")?.some(G=>G.name===f.series[0].x&&G.type===GA.TimeOnly)??!1,P=i===!0?1:0,T=i===!0?0:1,L=m?.[P],$=m?.[T],I=t.xAxes.getIndex(0);VI({chart:t,dualAxisChanged:r,rotationChanged:e,timeIntervalInfoWasReset:a,axisLabelsBehaviorChanged:p})&&(MI({chart:t,axesConfig:m,isRotated:i,chartType:_,queryObject:A}),p=[!0,!0]),I=t.xAxes.getIndex(0);let M=t.yAxes.getIndex(0),F=t.xAxes.getIndex(1)??t.yAxes.getIndex(1),Q=I?.start,Y=I?.end,z=M?.start,ee=M?.end,ie=F?.start,de=F?.end,K={timeIntervalInfo:n,chartType:_,horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:y,axisLabelsBehaviorChanged:p,guideTooltipFormatter:o,stackedType:w,isRotated:i,utilsStrings:u,errorStrings:d};I!==void 0&&L!==void 0&&vv({...K,axis:I,axisConfig:L,axisConfigIndex:P,axisValueFormatter:P===0?l:h,isTimeOnlyField:S}),M!==void 0&&$!==void 0&&vv({...K,axis:M,axisConfig:$,axisConfigIndex:T,axisValueFormatter:T===1?h:l,isTimeOnlyField:S}),F!==void 0&&m?.[2]!==void 0&&vv({...K,axis:F,axisConfig:m[2],axisConfigIndex:2,axisValueFormatter:c,isSecondValueAxis:!0,isTimeOnlyField:S}),e===!0&&[{axis:I,start:Q,end:Y},{axis:M,start:z,end:ee},{axis:F,start:ie,end:de}].forEach(G=>{let{axis:xe,start:ae,end:ne}=G;xe!==void 0&&xe.events.once(Ie.Validated,()=>{sw({axis:xe,start:ae,end:ne})})}),I!==void 0&&I.ghostLabel.setPropertyValue("disabled",!0),M!==void 0&&M.ghostLabel.setPropertyValue("disabled",!0),F!==void 0&&F.ghostLabel.setPropertyValue("disabled",!0)}function VI(s){let{chart:t,dualAxisChanged:e,rotationChanged:i,timeIntervalInfoWasReset:r,axisLabelsBehaviorChanged:a}=s,n=ve(t.uid,"config"),{rotated:o,series:l}=n,h=n.axes,c=ze(l),u=o===!0?1:0,d=o===!0?0:1,A=h?.[u]?.valueFormat,p=h?.[d]?.valueFormat,f=t.xAxes.getIndex(0),m=t.yAxes.getIndex(0),g=f===void 0||i||A!==void 0&&JC({axis:f,valueFormat:A,chartType:c}),y=m===void 0||i||p!==void 0&&JC({axis:m,valueFormat:p,chartType:c});return e===!0||i===!0||r===!0||a?.[0]||a?.[1]||g||y}function Cj(s){MI(s)}function wj(s){let{chart:t,chartConfig:e,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:c,yAxisLabelFormatter:u,secondaryYAxisLabelFormatter:d,utilsStrings:A,errorStrings:p,queryObject:f}=s,m=Ua(e);_j({chart:t,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:c,yAxisLabelFormatter:u,secondaryYAxisLabelFormatter:d,utilsStrings:A,errorStrings:p,queryObject:f});let g=a===!0?t.yAxes.getIndex(0):t.xAxes.getIndex(0);if(g!==void 0){g instanceof Ot&&(g.dataFields.category=eg(e));let w=g.renderer,S=w.grid.template;S.location=0,w.cellStartLocation=.1,w.cellEndLocation=.9;let P=e.orderOptions?.data&&"orderBy"in e.orderOptions.data&&e.orderOptions.data.orderBy===zA.Descending,T=a===!0;P&&g instanceof Ct&&(T=!T),w.inversed=T}let y=a===!0?t.xAxes.getIndex(0):t.yAxes.getIndex(0),_=a===!0?t.xAxes.getIndex(1):t.yAxes.getIndex(1);m===Gi.Stacked100?(y instanceof He&&(y.calculateTotals=!0),_ instanceof He&&(_.calculateTotals=!0)):(y instanceof He&&(y.calculateTotals=!1),_ instanceof He&&(_.calculateTotals=!1))}function Vf(s){let{value:t,axisMin:e,axisMax:i}=s,r=Number.NaN,a=i-e;return a!==0&&(r=(t-e)/a),r}function aw(s){return s!=null&&s!==0}function NI(s){let{minimum:t,maximum:e,labelsIncrement:i,minimumValueConversion:r,maximumValueConversion:a}=s,n=t??lt.gauge.axisMinimum,o=e??lt.gauge.axisMaximum;n=sx(n,r),o=sx(o,a);let l=aw(i),h=aw(i)?i:Math.abs(o-n)/lt.gauge.numberOfLabelIntervals,c=l?Math.round(Math.abs(o-n)/h):lt.gauge.numberOfLabelIntervals;if(l)if(c>lt.gauge.maximumNumberOfLabelIntervals)h=Math.abs(o-n),c=1;else{let u=n+c*h;u<o?(c+=1,o=n+c*h):u>o&&(o=u)}return{min:n,max:o,labelsIncrement:h,numberOfIntervals:c}}function HI(s){let{axisConfig:t,axisMin:e,axisMax:i}=s;typeof e=="number"&&typeof i=="number"&&i-e!==0&&t.guides?.forEach(r=>{let{start:a,end:n}=r;typeof a=="number"&&(r.start=Vf({value:a,axisMin:e,axisMax:i})),typeof n=="number"&&(r.end=Vf({value:n,axisMin:e,axisMax:i}))})}function Bj(s){let{featureIndex:t,chartData:e,chartConfig:i}=s,{minimumFromField:r,maximumFromField:a}=i?.axes?.[0]??{},n,o;if(t>=0&&t<e.length){let l=e[t];typeof r=="string"&&!Yi(r)&&Number.isFinite(l[r])&&(n=l[r]),typeof a=="string"&&!Yi(a)&&Number.isFinite(l[a])&&(o=l[a])}return{minimumFromData:n,maximumFromData:o}}function Sj(s){let{featureIndex:t,chartData:e,x:i}=s,r=-1;if(t>=0&&t<e.length){let a=e[t];i!==void 0&&!Yi(i)&&Number.isFinite(a[i])&&(r=a[i])}return r}async function QI(s){let{featureIndex:t=0,chartData:e,queryConfig:i,chartConfig:r,queryObject:a}=s,{axes:n,series:o}=r,l=rg(r),{minimum:h,maximum:c}=n?.[0]??{},{x:u}=o?.[0]??{},d=lt.gauge,A,p;l?{minimumFromData:A,maximumFromData:p}=Bj({featureIndex:t,chartData:e,chartConfig:r}):i!==void 0&&({minimumFromData:A,maximumFromData:p}=await rT({queryObject:a,chartConfig:r,queryConfig:i}));let f=A??h??d.axisMinimum,m=p??c??d.axisMaximum,g=Sj({chartData:e,featureIndex:t,x:u});return{minimum:f,maximum:m,dataValue:g}}function Fj(s){let{oldConfig:t,axisMax:e,min:i,max:r,labelsIncrement:a,numberOfIntervals:n,valueFormat:o,minimumFromField:l}=s,h=Ou(o),c=!0;if(t!==void 0){let{minimum:u,minimumFromField:d,labelsIncrement:A,valueFormat:p}=t.axes[0],f=p?.intlOptions?.style!==o?.intlOptions?.style,m=aw(A)?A!==a:n!==lt.gauge.numberOfLabelIntervals;c=f||i!==u||l!==d||!h&&r!==e||m}return c}var Ds={InnerLabel:0,InnerLabelSecondary:1,AxisLabels:2,FirstAndLastLabels:3};function pu(s,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(s.uid,e);i!==void 0&&(i.dispose(),i=void 0,ni(s.uid,{[e]:void 0}))}}function Tj(s){let{chart:t,labelList:e,scaleToAdjust:i,fontSize:r,type:a,axisConfig:n}=s,o=Number.NaN,l=Number.NaN,h=i;if(a===Ds.InnerLabel){let u=e[0],d=n?.innerLabel?.content?.verticalAlignment??Yt.Middle,A=u.dy??0,p=Math.round(t.chartContainer.measuredHeight-t.radarContainer.pixelY-A),f=u.bbox.height*i,m=0;switch(d){case Yt.Bottom:m=f;break;case Yt.Top:m=-f;break;case Yt.Middle:case Yt.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 c=r*h;return c<o?h*=o/c:c>l&&(h*=l/c),h}function Ow(s){let{chart:t,type:e,labelList:i,currentScale:r,currentFontSize:a,axisConfig:n}=s,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(c=>c.measuredWidth>0&&c.measuredHeight>0)?.measuredHeight??0;if(h>0){let c=h/l;if(c>0){let{axisLabelToInnerChartRatio:u,innerLabelToInnerChartRatio:d}=re.gauge,A=e===Ds.InnerLabel?d:u;o=r*(A/c),o=Tj({chart:t,labelList:i,axisConfig:n,scaleToAdjust:o,fontSize:a,type:e}),o=Number(o.toFixed(2))}}}return Number.isFinite(o)||(o=r),o}function Pj(s){return s?.labels.content.font?.size===void 0||s?.innerLabel?.visible!==!1&&s?.innerLabel?.content?.font?.size===void 0}function Uv(s){return s.some(t=>op(t)&&t.value!==void 0)}function Dj(s){let{chart:t,axisConfig:e,axis:i}=s;if(e.labels.content.font?.size===void 0&&e.onlyShowFirstAndLastLabels!==!0){pu(t,Ds.AxisLabels),pu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{let n=tn(i,vr.GaugeTicksWithLabels);if(Uv(n)){let o=n.map(d=>d.label),l=o[0].scale,h=o[0].fontSize,c=Ow({chart:t,type:Ds.AxisLabels,labelList:o,currentScale:l,currentFontSize:h,axisConfig:e}),u=c/l;Number.isFinite(c)&&c>0&&(u<=.98||u>1.02)&&o.forEach(d=>{d.scale=c})}}),i.validate()};t.events.once(Ie.Validated,r);let a=t.events.on(Ie.SizeChanged,r);ni(t.uid,{gaugeAutoResizeAxisLabelsDisposer:a}),r()}else{pu(t,Ds.AxisLabels);let r=tn(i,vr.GaugeTicksWithLabels);r.length>0&&r.map(a=>a.label).forEach(a=>{a.scale=1})}}function Lj(s,t){let e=ve(s.uid,"config")?.axes?.[0];if(e?.innerLabel?.visible!==!1&&e?.innerLabel?.content?.font?.size===void 0){let i=s.xAxes.getIndex(0)?.measuredWidth;if(i!==void 0&&i>0){let r=Ow({chart:s,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 Ij(s,t){pu(s,Ds.InnerLabel),pu(s,Ds.InnerLabelSecondary);let e=s.xAxes.getIndex(0),i=()=>{e?.events.once(Ie.Validated,()=>{Lj(s,t)})},r=s.events.on(Ie.Validated,i),a=s.events.on(Ie.SizeChanged,i);ni(s.uid,{gaugeAutoResizeInnerLabelFirstDisposer:a,gaugeAutoResizeInnerLabelSecondDisposer:r}),i()}function nw(s){return s?.labels.content.font?.size===void 0&&s?.onlyShowFirstAndLastLabels===!0}function kj(s){let t=s.chart,e=ve(t.uid,"config")?.axes?.[0],i=tn(s,vr.GaugeFirstAndLastGuides);if(Uv(i)){let r=i.map(l=>l.label),a=r[0].scale,n=r[0].fontSize,o=Ow({chart:t,type:Ds.FirstAndLastLabels,labelList:r,currentScale:a,currentFontSize:n,axisConfig:e});Number.isFinite(o)&&o>0&&r.forEach(l=>{mu(l.uid,{originalWidth:l.measuredWidth/l.scale,originalHeight:l.measuredHeight/l.scale}),l.scale=o,l.validate()})}}function $j(s){let{chart:t,axisConfig:e,axis:i}=s;if(nw(e)){pu(t,Ds.AxisLabels),pu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{kj(i)})},a=t.events.on(Ie.SizeChanged,r);ni(t.uid,{gaugeAutoResizeFirstAndLastLabelsDisposer:a}),r()}else pu(t,Ds.FirstAndLastLabels),tn(i,vr.GaugeFirstAndLastGuides).map(r=>r.label).forEach(r=>{r.scale=1})}function ow(s,t){let e=s.xAxes.getIndex(0);if(e!==void 0){let i=t??ve(s.uid,"config"),{onlyShowFirstAndLastLabels:r}=i?.axes?.[0]??{};if(!e.renderer.labels.template.visible||r===!0)s.radius=new qe(re.gauge.radius);else{let a=tn(e,vr.GaugeTicksWithLabels),{furthestLabelX:n,furthestLabelY:o}=a.reduce(({furthestLabelX:l,furthestLabelY:h,furthestPixelX:c,furthestPixelY:u},{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>c&&(c=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>u&&(u=y,h=d)}return{furthestLabelX:l,furthestLabelY:h,furthestPixelX:c,furthestPixelY:u}},{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,c=typeof e.renderer.labels.template.radius=="number"?e.renderer.labels.template.radius:e.renderer.labels.template.radius.value,u=(l+c)*2+s.radarContainer.measuredWidth+pv(s.paddingLeft)+pv(s.paddingRight),d=80,A=170,p=s.htmlContainer?.clientHeight??0,f=Math.max(0,Math.min(1,(p-d)/(A-d))),m=s.radarContainer.measuredHeight+(h+c*f)*2+pv(s.paddingTop)+pv(s.paddingBottom),g=s.measuredWidth,y=s.measuredHeight,_=g/u,w=y/m,S=(typeof s.radius=="number"?s.radius:s.radius.value)*100,P=Number((S*_).toFixed(2)),T=Number((S*w).toFixed(2)),L=P/S,$=T/S,I=s.radarContainer.measuredWidth*L,M=s.radarContainer.measuredWidth*$,[F,Q]=I<M?[P,L]:[T,$];Number.isFinite(F)&&F>=10&&F<=re.gauge.radius&&(Q<.98||Q>1.02)&&(s.radius=new qe(F))}}}}function Oj(s){let t=s.xAxes.getIndex(0);t!==void 0&&(t.events.on(Ie.SizeChanged,()=>ow(s)),t.events.on(Ie.Validated,zs(()=>ow(s),re.debounceTime)))}function jI(s){let t=s.hands.push(new Zd),e=re.gaugeNeedle,{startWidth:i,endWidth:r,innerRadius:a}=e;t.pin.disabled=!0,t.startWidth=i??Number.NaN,t.endWidth=r??Number.NaN,t.innerRadius=he(a??Number.NaN);let n=s.xAxes.getIndex(0);return n!==void 0&&(t.axis=n),t}function Ej(s){let{x:t,data:e,chart:i,valueFormat:r,minimum:a,maximum:n}=s,o=Number.NaN;if(e!==void 0&&t!==void 0){let l=e.find(c=>t in c),h=Number.parseFloat(l[t]);Number.isFinite(h)&&(o=h,ni(i.uid,{gaugeData:o}))}else{let l=ve(i.uid,"gaugeData");Number.isFinite(l)&&(o=l)}return Ou(r)&&a!==void 0&&n!==void 0&&a!==null&&n!==null&&o!==null&&n-a!==0&&(o=Vf({value:o,axisMin:a,axisMax:n})),o}function Mj(s,t){let e=t??null;if(t!=null){let i=s.xAxes.getIndex(0),r=ve(s.uid,"config"),a=i.min??r?.axes?.[0].minimum??re.gauge.axisMinimum,n=i.max??r?.axes?.[0].maximum??re.gauge.axisMaximum;t<a?e=a:t>n&&(e=n)}return e}function Rj(s){let{chart:t,needle:e,gaugeValue:i}=s,r=t.hands.getIndex(0)??jI(t);if(r!==void 0){Mf({element:r,fillSymbol:e?.symbol});let{startWidth:a,endWidth:n,innerRadius:o}=re.gaugeNeedle;r.value=Mj(t,i),r.pin.disabled=e?.displayPin!==!0,r.visible=e?.visible??!0,r.startWidth=e?.startWidth??a,r.endWidth=e?.endWidth??n,r.innerRadius=he(e?.innerRadius??o)}}function Uj(s){let t=vl(void 0,s.radarContainer);t.isMeasured=!1,mu(t.uid,{isGaugeAxisInnerLabel:!0}),Ij(s,t)}function Vj(s){let{chart:t,innerLabelConfig:e,valueFormat:i,gaugeValue:r,gaugeInnerLabelFormatter:a}=s,n=t.radarContainer.children.values.find(o=>gs(o.uid,"isGaugeAxisInnerLabel")===!0);if(n!==void 0){Cn({label:n,labelConfig:e,defaults:re.gaugeInnerLabel});let o=ve(t.uid,"formatLocale");n.html=Zj({valueFormat:i,iLocale:t.language.locale,formatLocale:o,gaugeValue:r,innerLabelConfigContent:e?.content,gaugeInnerLabelFormatter:a}),t.radarContainer.invalidateLabels()}}function Nj(s){let t=s.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 Hj(s){let t=new Un;return t.disabled=!0,t.axis=s,Iv(t),t.padding(10,10,10,10),mu(t.uid,{isGaugeAxisLabel:!0}),t}function Qj(s){let{axis:t,min:e,max:i,labelsIncrement:r,numberOfIntervals:a,valueFormat:n}=s,o=Ou(n),l=1,h=tn(t,vr.Ticks);h.length>0&&(l=h[0].label?.scale,h.forEach(d=>{if(op(d)){let A=t.axisRanges.values.indexOf(d);A>=0&&t.axisRanges.removeIndex(A)}}));let c=re.gauge.numberOfTicksBetweenTwoLabels+1,u=a*c+1;for(let d=0;d<u;d+=1){let A=d===u-1,p=Nj(t),f=A?i:e+d/c*r;p.value=o?Vf({value:f,axisMin:e,axisMax:i}):f,d%c===0&&(p.label=Hj(t),p.label.text=String(f),p.grid.disabled=!0,Number.isFinite(l)&&(p.label.scale=l))}}function jj(s){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,axisLabelConfigContent:a,axisValueFormatter:n}=s;if(!i){let o=tn(e,vr.GaugeTicksWithLabels);if(Uv(o)){let l=ve(t.uid,"formatLocale");o.forEach(h=>{Cn({label:h.label,labelConfig:a}),op(h)&&(h.label.html=WI({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))})}}}function Wj(s,t){let e=t?.ticks?.visible??!0,i=tn(s,vr.Ticks);for(let r=0;r<i.length;r+=1){let a=i[r];Ri(a.tick,e)}}function Xj(s,t){if(s instanceof He&&s.chart instanceof qs){let e=tn(s,vr.GaugeTicksWithLabels);if(Uv(e)){let{onlyShowFirstAndLastLabels:i,labels:r}=t,a=(r?.visible??!0)&&i!==!0;e.forEach(n=>{Ri(n.label,a)})}}}function zj(s){let{labels:t,guides:e,onlyShowFirstAndLastLabels:i}=s,r=e??[];if(i===!0){let a={type:V.Guide,start:Number.NaN,style:{type:"esriSLS"},name:""};r.push({...a,start:s.minimum??Number.NaN,name:re.gaugeFirstLabelId,label:{...t.content,text:`${s.minimum}`}},{...a,start:s.maximum??Number.NaN,name:re.gaugeLastLabelId,label:{...t.content,text:`${s.maximum}`}})}s.guides=r}function Gj(s){tn(s,vr.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(s.chart.uid,"config")?.axes?.[0],a=gs(t.label.uid,"originalWidth"),n=nw(r)&&a!==void 0&&a===t.label.measuredWidth&&t.label.scale!==1;i=Math.round((n?a*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(s.chart.uid,"config")?.axes?.[0],a=gs(t.label.uid,"originalHeight"),n=nw(r)&&a!==void 0&&a===t.label.measuredHeight&&t.label.scale!==1;i=Math.round((n?a*t.label.scale:t.label.measuredHeight)/2)}return i})})}function Yj(s){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,gaugeLabelConfigContent:a,axisValueFormatter:n}=s;if(i){let o=tn(e,vr.GaugeFirstAndLastGuides),l=ve(t.uid,"formatLocale");o.forEach(h=>{h?.label!==void 0&&op(h)&&(h.label.html=WI({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))}),Gj(e)}}function Kj(s){let{chart:t,valueFormat:e,queryObject:i}=s;t.xAxes.clear(),Of({isXAxis:!0,axes:t.xAxes,valueFormat:e,queryObject:i});let r=t.xAxes.getIndex(0);r instanceof He&&(r.renderer.labels.template.disabled=!0,r.renderer.ticks.template.disabled=!0,jI(t),Uj(t),Oj(t),r.maxZoomFactor=1)}function Zj(s){let{valueFormat:t,iLocale:e,formatLocale:i,innerLabelConfigContent:r,gaugeValue:a,gaugeInnerLabelFormatter:n}=s,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let l=Eo(t),h=yl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${a}`),o=_a({textSymbol:{type:Dt.TS,...r,text:o},format:"html"}),o=Mr(o)}return o}function WI(s){let{valueFormat:t,iLocale:e,formatLocale:i,gaugeLabelConfigContent:r,itemLabelValue:a,axisValueFormatter:n}=s,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let l=Eo(t),h=yl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${a}`),o=_a({textSymbol:{type:Dt.TS,...r,text:o},format:"html"}),o=Mr(o)}return o}async function qj(s){let{chart:t,chartConfig:e,data:i,queryObject:r,axisValueFormatter:a,gaugeInnerLabelFormatter:n,utilsStrings:o,errorStrings:l}=s,{axes:h,series:c}=e,u=rg(e),d=ze(e.series),{featureIndex:A,x:p}=c[0],f=h?.[0],m=t.xAxes.getIndex(0),g={...f};if(m!==void 0&&g!==void 0){let{valueFormat:y,needle:_,innerLabel:w,onlyShowFirstAndLastLabels:S}=g;JC({axis:m,valueFormat:y,chartType:d})&&Of({isXAxis:!0,axes:t.xAxes,valueFormat:y,queryObject:r});let P=await QI({featureIndex:A,chartData:t.data,chartConfig:e,queryObject:r,queryConfig:ve(t.uid,"queryConfig")});g.minimum=P.minimum,g.maximum=P.maximum;let{min:T,max:L,labelsIncrement:$,numberOfIntervals:I}=NI(g);Fj({oldConfig:ve(m.chart.uid,"config"),axisMax:m.max,min:T,max:L,labelsIncrement:$,numberOfIntervals:I,valueFormat:y})&&Qj({axis:m,min:T,max:L,labelsIncrement:$,numberOfIntervals:I,valueFormat:y});let M={...g};Ou(y)?(M.minimum=0,M.maximum=1,HI({axisConfig:M,axisMin:g.minimum,axisMax:g.maximum})):(M.minimum=T,M.maximum=L),zj(M),vv({axis:m,axisConfig:M,axisConfigIndex:0,chartType:V.GaugeSeries,axisValueFormatter:a,isTimeOnlyField:!1,utilsStrings:o,errorStrings:l}),m.renderer.labels.template.disabled||(m.renderer.labels.template.disabled=!0),m.renderer.ticks.template.disabled||(m.renderer.ticks.template.disabled=!0),Dj({chart:m.chart,axis:m,axisConfig:g}),$j({chart:t,axis:m,axisConfig:g}),Wj(m,g),jj({chart:t,axis:m,onlyShowFirstAndLastLabels:S??!1,valueFormat:y,axisLabelConfigContent:g.labels,axisValueFormatter:a}),Yj({chart:t,axis:m,onlyShowFirstAndLastLabels:S??!1,valueFormat:y,gaugeLabelConfigContent:g.labels,axisValueFormatter:a});let F=u?P?.dataValue:Ej({x:p,data:i,chart:t,minimum:g.minimum,maximum:g.maximum,valueFormat:y});Rj({chart:t,needle:_,gaugeValue:F}),Vj({chart:t,innerLabelConfig:w,valueFormat:y,gaugeValue:F,gaugeInnerLabelFormatter:n}),Xj(m,g),ow(t,e),t.validateData()}}function Jj(s){s.background.fill=xn(re.backgroundColor)}function Vv(s,t){s.background.fill=xn(t??re.backgroundColor)}function eW(s){let t=wI(re.headerContainer,s),e=vl(re.title,t),i=vl(re.subtitle,t);return s instanceof An&&(Bv(s,e),Bv(s,i),Uf({chart:s,label:e,labelType:ii.ChartTitle}),Uf({chart:s,label:i,labelType:ii.ChartSubTitle})),AQ(t),{headerContainer:t,title:e,subtitle:i}}function Nv(s,t){let{title:e,subtitle:i,headerContainer:r}=s;Cn({label:e,labelConfig:t?.title,defaults:re.titleLabel}),Cn({label:i,labelConfig:t?.subtitle,defaults:re.titleLabel}),BI(r,e.disabled&&i.disabled),Rc({chart:e.parent,label:e,labelType:ii.ChartTitle}),Rc({chart:i.parent,label:i,labelType:ii.ChartSubTitle})}function tW(s){let t=wI(re.footerContainer,s),e=vl(re.footer,t);return s instanceof An&&(Bv(s,e),Uf({chart:s,label:e,labelType:ii.ChartFooter})),{footerContainer:t,footer:e}}function Hv(s,t){let{footer:e,footerContainer:i}=s;Cn({label:e,labelConfig:t,defaults:re.footer}),BI(i,e.disabled||t?.content.text===""),Rc({chart:e.parent,label:e,labelType:ii.ChartFooter})}function XI(s){if(s instanceof Wt){let t=new po,e=new po;t.disabled=!0,e.disabled=!0,t.marginTop=-10,e.marginRight=0,s.scrollbarX=t,s.scrollbarY=e}}function iW(s,t){let e=t?0:-1;s.thumb.tabindex=e,s.startGrip.tabindex=e,s.endGrip.tabindex=e}function rW(s,t){if(t!==void 0){let e=Ec(t);[s.background,s.startGrip.background,s.endGrip.background,s.thumb.background,s.background.states.getKey("default")?.properties,s.startGrip.background.states.getKey("default")?.properties,s.endGrip.background.states.getKey("default")?.properties,s.thumb.background.states.getKey("default")?.properties,s.startGrip.background.states.getKey("hover")?.properties,s.endGrip.background.states.getKey("hover")?.properties,s.thumb.background.states.getKey("hover")?.properties,s.startGrip.background.states.getKey("down")?.properties,s.endGrip.background.states.getKey("down")?.properties,s.thumb.background.states.getKey("down")?.properties].forEach(i=>{i!==void 0&&(i.fill=e)})}}function sW(s,t){typeof t=="number"&&Number.isFinite(t)&&(s.orientation==="horizontal"?(s.height=t,s.minHeight=t):(s.width=t,s.minWidth=t))}function aW(s,t){if(typeof t=="number"&&Number.isFinite(t)){let e=t/30;s.startGrip.scale=e,s.endGrip.scale=e}}function nW(s,t){typeof t=="number"&&Number.isFinite(t)&&(s.orientation==="horizontal"?s.marginBottom=t:s.marginLeft=t,s.parent?.invalidateLayout())}function zI(s){let{chart:t,scrollbarXConfig:e,scrollbarYConfig:i}=s;if(t instanceof Wt){let r=ve(t.uid,"isRotated");(t.scrollbarX===void 0||t.scrollbarY===void 0)&&XI(t);let{scrollbarX:a,scrollbarY:n}=t;[a,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,iW(o,!h),l!==void 0&&!h){let{width:c,color:u,gripSize:d,margin:A}=l;nW(o,A),rW(o,u),aW(o,d),sW(o,c)}})}}function oW(s,t){s.columns.each(e=>{(e.dataItem?.dataContext)[t]===0&&(e.strokeOpacity=0)})}function lW(s,t){let e=s.chart.legend.events.on(Ie.Validated,()=>{gu({element:s.legendDataItem?.marker.children.getIndex(0),stylingInfo:t}),s.chart.legend.isReady()&&(e.dispose(),s.chart.legend.invalidate())})}function hW(s){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,rendererType:o}=s,l=t.dataFields.valueY??t.dataFields.valueX??e.y,h=!1,c=new Set,u,d=e.fillSymbol,A={seriesConfig:e,seriesIndex:i,seriesSymbol:d,colorMatch:n,isChartFillSymbol:!0},p={},f={},m=Zb(i);if(t.columns.length===0?p=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:d??m,element:new Oe,colorMatch:n,isChartFillSymbol:!0}):t.columns.each(g=>{let y=g.dataItem?.dataContext;if(Number.isFinite(y?.[l])){let _=on({dataItem:y,seriesConfig:e,chartSubType:a,colorMatch:n,rendererType:o}),w=y[re.xAxisField]===re.nullValue,S=(w&&e.nullCategory?.symbol!==void 0?e.nullCategory.symbol:d)??m;p=Mc({...A,seriesSymbol:S,element:g,rendererSymbol:_}),gu({element:g,stylingInfo:p.stylingInfo}),w||(c.add(JSON.stringify(p.symbolWithColorInfo)),f=p)}}),r>1){let g=t.chart.legend.markers.values;g.length!==0?g.forEach(y=>{if(y.dataItem instanceof fo){let _=y.dataItem.marker.children.getIndex(0);_!==void 0&&_.baseSprite?.parent instanceof Ni?gu({element:_,stylingInfo:f.stylingInfo}):h=!0}}):h=!0}return h&&lW(t,f.stylingInfo),c.size<=1&&(u=f.symbolWithColorInfo??d),oW(t,l),u}function uW(s){let{series:t,seriesSymbolMapForEvent:e,seriesIndexMapper:i,seriesIndex:r,colorMatch:a,rendererType:n}=s,o=s.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,c=kt(l?.series),u=hW({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:h,chartSubType:c,colorMatch:a,rendererType:n});e.set(i.get(o.id)??r,u),e.size===h&&nn({data:e,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)})}function GI(s){let{seriesConfig:t,series:e,seriesIndexMapper:i,rotationChanged:r,colorMatch:a,stackedType:n,rendererType:o,seriesIndex:l,seriesSymbolMapForEvent:h,queryObject:c}=s,{name:u}=t,d=ve(e.chart.uid,"config"),A=_n({config:d}),p=kt(d?.series);Ri(e,t.visible);let f=u,m=e.dataFields?.customValue??"";(p===Ee.BarAndLineSplitBy||p===Ee.BarAndLineSplitByNoAggregation)&&(f=Zm({queryObject:c,fieldName:Vo(m),fieldValue:f})??f),xA(e,f),ww({series:e,seriesConfig:t,rotationChanged:r,stackedType:n,isRotated:A}),uW({series:e,seriesConfig:t,seriesIndex:l,seriesIndexMapper:i,colorMatch:a,rendererType:o,seriesSymbolMapForEvent:h}),Po(e.uid,{barSeriesLastUpdate:{numberOfColumnsUpdated:e.columns.length,updateProps:s}})}function cW(s){s.events.on(Ie.Validated,()=>{let t=Hs(s.uid,"barSeriesLastUpdate");if(t!==void 0){let{numberOfColumnsUpdated:e,updateProps:i}=t;s.columns.length>e&&GI(i)}})}function dW(s){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],hideLoaderHandle:a,selectionTheme:n,queryObject:o}=s,{rotated:l}=e,h=e.series[i],{y:c,assignToSecondValueAxis:u}=h,d=new Ni;jc(d,a),d.id=h.id;let A,p;l!==!0?(A=r[0],p=u===!0&&r[2]?r[2]:r[1]):(A=u===!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 Wt?_n({chart:t}):!1,m=kt(e.series)!==Ee.BarAndLineSplitByNoAggregation?c:`${c}_${Ch({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=dI(g,f);d.dataFields[y]=re.xAxisField,d.baseAxis=g}return ww({series:d,seriesConfig:h,rotationChanged:!1,stackedType:e.stackedType,isRotated:f}),d.dataFields.customValue=h?.query?.where,bI(d.columns.template,d),d.columns.template.width=he(100),Qc({element:d.columns.template,customSelectionTheme:n}),Qf({chart:t,element:d.columns.template,queryObject:o}),Dw(d),cW(d),Hc(d),d}function AW(s){let{seriesConfig:t,series:e,seriesIndex:i,axes:r,utilsStrings:a,fieldList:n,queryObject:o,stackedType:l,options:h}=s;e.id=t.id;let c=_n({chart:e.chart});sj({series:e,seriesType:V.BarSeries,isRotated:c,stackedType:l,hideOversizedSideBySideLabels:t.hideOversizedSideBySideLabels,hideOversizedStackedLabels:t.hideOversizedStackedLabels,dataLabelsConfig:t.dataLabels,yAxisValueFormat:r[1].valueFormat,customDataLabelFormatter:h?.dataLabelFormatter}),$v({styleCallback:GI,callbackProps:s,series:e,seriesConfig:t,onReadyEvent:!0}),_I({series:e,seriesConfig:t,fieldList:n,queryObject:o,utilsStrings:a,seriesIndex:i,tooltipFormatter:h?.tooltipFormatter})}function pW(s){s.labels.template.adapter.add("html",(t,e)=>{let i=Hs(s.uid,"pieChartDataLabelFormatter"),r=t??"",{dataItem:a}=e;if(a instanceof Ta){let{slice:n}=a;if(n!==void 0&&!Ef(n))r="";else if(i!==void 0){let{value:o,percent:l}=a.values?.value??{};if(o!==void 0&&o!==0){let h=`${a.properties?.category??t}`;r=i(h,o,l)}}}return Yi(r)&&(r=re.htmlEmptyContent),Mr(r)})}function fW(s){let t=s.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 Ta&&i.slice.showTooltip()}),pW(s)}function mW(s,t){let{numericValueFormat:e,percentValueFormat:i,displayCategoryOnDataLabel:r,displayNumericValueOnDataLabel:a,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c,dataLabelsCharacterLimit:u}=t,d=Pw({iLocale:s.chart.language.locale,pieChart:s.chart,valueIntlOptions:e?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:a??re.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??re.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c}),A=Xm(u),p=Ra(s.rtl," ");return(f,m,g)=>{let y=d(f,m,g),_=r??re.pieChart.displayCategoryOnDataLabel?A(f):"",w=Yi(_)?"":`${_}${p}`;return w=`${w}${y}`,t.dataLabels?.content!==void 0&&(w=_a({textSymbol:{...t.dataLabels.content,text:w},format:"html",defaults:{...re.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??re.pieChart.dataLabels.wrap}})),w}}function gW(s){let{pieSeries:t,seriesConfig:e,dataLabelFormatter:i}=s,{dataLabels:r}=e,a=e.dataLabelsOffset??re.pieChart.dataLabelsOffset,n=e.dataLabelsInside??re.pieChart.dataLabelsInside;Po(t.uid,{pieChartDataLabelFormatter:i??mW(t,e)}),Cn({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)||a!==void 0&&Number.isFinite(a)&&o!==a)&&(t.labels.template.radius=n?he(-40):a,t.invalidate())}function yW(s,t){let e=(p,f,m)=>re.htmlEmptyContent,{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:a,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g=re.htmlEmptyContent,y=Pw({iLocale:s.chart.language.locale,pieChart:s.chart,valueIntlOptions:(a??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??re.pieChart.displayNumericValueOnTooltip,displayPercentage:h??re.pieChart.displayPercentageOnTooltip,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A})("",f,m),_=!Yi(p)&&(o??re.pieChart.displayCategoryOnTooltip);if(_&&(g=`<b>${p}</b>`),!Yi(y)){let w=zm(y);g=_?`${g}<br />${w}`:w}return g},e}function vW(s){if(s.tooltip!==void 0){let t=s.fill;t instanceof fc?t=t.stroke:t instanceof mc&&(t=t.backgroundFill),s.tooltip.background.fill=t}}function bW(s){let t=s.slices.template;t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:a}=s;if(a!==void 0&&i.tooltip!==void 0){let n=ve(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)i.tooltip.disabled=!0;else{let l=Hs(s.uid,"pieChartTooltipFormatter");if(l!==void 0){let{dataItem:h}=i;if(h instanceof Ta){let c=h.properties.category??"",u=h.dataContext,d=so(u);d===void 0&&(d=c);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,vW(i),r=l(`${c}`,A,p,d)):i.tooltip.disabled=!0}}}}return Mr(r)})}function xW(s){let{series:t,seriesConfig:e,tooltipFormatter:i}=s;Po(t.uid,{pieChartTooltipFormatter:i??yW(t,e)})}function _W(s){s.ticks.template.adapter.add("disabled",(t,e)=>e.dataItem?.values?.value?.value===0||!Number.isFinite(e.dataItem?.values?.value?.value)||t===!0)}function CW(s){let{chartData:t,pieSeries:e,pieSlicesSymbols:i,seriesConfig:r}=s;if(e.slices.length===0){let a=[];t?.forEach(n=>{let o=xw({dataContext:n,pieSlicesSymbols:i,seriesConfig:r});a.push(Ec(o.color))}),a.length>0&&(e.colors.list=a)}}function wW(s){let{seriesConfig:t,hideLoaderHandle:e,selectionTheme:i}=s,{x:r,y:a,id:n,visible:o}=t,l=new ws;l.id=n,jc(l,e),l.dataFields.value=a,l.dataFields.category=r;let h=re.pieChart;l.startAngle=h.min,l.endAngle=360+l.startAngle,_W(l),bW(l),fW(l);let c=i!==void 0&&i.selectedElementsTheme?.transformation?.opacity===void 0?{...i,selectedElementsTheme:{...i?.selectedElementsTheme,transformation:{...i?.selectedElementsTheme?.transformation,opacity:1}}}:i;return Qc({element:l.slices.template,useNativeState:!0,customSelectionTheme:c}),l.slices.template.states.removeKey("hover"),Hc(l),l.hidden=o===!1,Dw(l),l}function BW(s){let{series:t,pieSlicesSymbols:e,seriesConfig:i,selectionTheme:r}=s;t.defaultState.reset(),t.slices.each((a,n)=>{let o=a.dataItem?.dataContext,l=xw({dataContext:o,pieSlicesSymbols:e,seriesConfig:i}),h=Mf({element:a,fillSymbol:l,defaultToColorFromRamp:!0,colorRampIndex:n,isChartFillSymbol:!0});r!==void 0&&r.selectedElementsTheme===void 0&&gu({element:a,stylingInfo:h,stateKey:aa.Active})})}function SW(s,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;s.ticks.template.disabled=i,s.ticks.template.strokeOpacity=re.pieChart.ticksOpacity;let r=e?.lineSymbol??ZA({color:Wb});i&&(r.width=0),Oc({element:s.ticks.template,lineSymbol:r,visible:!i})}function FW(s){let{chart:t,seriesConfig:e,series:i,pieSlicesSymbols:r,options:a,utilsStrings:n,queryObject:o}=s,{tooltipFormatter:l,dataLabelFormatter:h}=a??{},{x:c,y:u,id:d,innerRadius:A,startAngle:p,endAngle:f}=e;i.id=d;let m=kt([e]),g=re.pieChart;i.dataFields.value=m!==Ee.PieFromFields?u:$u,i.dataFields.category=m!==Ee.PieFromFields?c:io;let y=t.radius instanceof qe?t.radius.value:t.radius;t.innerRadius=he((A??g.innerRadius)*y),i.startAngle=p??g.min,i.endAngle=f??360+i.startAngle,gW({pieSeries:i,seriesConfig:e,dataLabelFormatter:h}),CW({chartData:t.data,pieSeries:i,pieSlicesSymbols:r,seriesConfig:e}),$v({styleCallback:BW,callbackProps:s,series:i,seriesConfig:e}),SW(i,e),xW({series:i,seriesConfig:e,tooltipFormatter:l})}async function rL(s){let{chart:t,hitSlice:e,multiSelect:i=!1,queryObject:r}=s,a=[],n=ve(t.uid,"config"),o=t.series.getIndex(0);if(n&&o!==void 0){let l=rI(o),h=bu(o),c={element:{},xAxisField:l,yAxisField:h,seriesIndex:0,chartConfig:n};o.slices.each((u,d)=>{u.isActive&&(u===e||i||u.dataItem instanceof Ta&&u.dataItem.label.isHover)?ah(u.dataItem?.dataContext)?(Hf({groupOfSlicesDataContext:u.dataItem?.dataContext})??[]).forEach(A=>{a.push({...c,element:void 0,elementDataContext:A,elementIndex:d})}):a.push({...c,element:u,elementDataContext:u.dataItem?.dataContext,elementIndex:d}):Kn({element:u,selected:!1,useNativeState:!0})}),a.forEach(u=>{Kn({element:u.element,selected:!0,useNativeState:!0})}),await Wf({chart:t,listSelectedElements:a,selectionSource:Pr.SelectionByClick,queryObject:r})}t.feedLegend()}function TW(s,t){let e=async a=>{let{target:n}=a;if(fI(s)&&s.series.getIndex(0)?.slices.template.togglable){let o=Ev(a,s);if(n instanceof Fa)await rL({chart:s,multiSelect:o,hitSlice:n,queryObject:t});else if(n instanceof Mi){let l=n.dataItem;if(l instanceof Ta){let{slice:h}=l;h.isActive=!h.isActive,await rL({chart:s,multiSelect:o,hitSlice:h,queryObject:t})}}else n===s.background&&await Wf({chart:s,listSelectedElements:[],selectionSource:Pr.SelectionByClick,queryObject:t})}},i=s.series.getIndex(0)?.slices.template;i!==void 0&&(i.events.on(Ie.Hit,e),i.events.on(Ie.DoubleHit,e));let r=s.series.getIndex(0)?.labels.template;r!==void 0&&r.events.on(Ie.Hit,e),s.background.events.on(Ie.Hit,e),s.background.events.on(Ie.DoubleHit,e)}function sL(s){return s?.offsetParent!==null}function PW(s,t){s!==void 0&&t!==void 0&&window.IntersectionObserver!==void 0&&new IntersectionObserver(e=>{e[0].intersectionRatio>0&&(ve(s.uid,"chartWasCreatedWhileHidden")===!0?(s.reinit(),s.events.once(Ie.Validated,()=>{s.reinit()}),s instanceof Wt&&Rv(s),ni(s.uid,{chartWasCreatedWhileHidden:!1})):ve(s.uid,"chartWasUpdatedWhileHidden")===!0&&(s.reinit(),ni(s.uid,{chartWasUpdatedWhileHidden:!1})))},{root:null}).observe(t)}function DW(s,t){let e=re.pieChart.dataLabels.maxWidth??100;if(s!=null){let{alignDataLabels:i,dataLabelsOffset:r=re.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:a,dataLabels:n,dataLabelsInside:o}=s;if(n?.visible===!0&&i===!0&&o!==!0&&a===!0){let l=typeof t.radius=="number"?t.radius/100:t.radius.value,h=t.chartContainer.measuredWidth,c=t.chartContainer.measuredHeight,u=l*Math.min(h,c),d=5,A=Math.floor((h-u)/2)-d-r;e=Math.min(A,e-d);let p=30;e<p&&(e=p)}}return e}function YI(s){if(qn(s)){let t=typeof s.radius=="number"?s.radius:s.radius.percent;ni(s.uid,{pieChartRadius:t});let e=()=>{let i=he(ve(s.uid,"pieChartRadius")??re.pieChart.chartOptimizedRadius),r=i,a=ve(s.uid,"config");if(a!==void 0){let{series:n}=a,{innerRadius:o,optimizeDataLabelsOverlapping:l,alignDataLabels:h,dataLabelsOffset:c=re.pieChart.dataLabelsOffset,dataLabels:u,dataLabelsInside:d}=n[0];if(u?.visible===!0&&h===!0&&l===!0&&d!==!0){let p=re.pieChart.chartOptimizedRadius/100,f=500,m=150,g=.6,y=.5,_=1,w=s.chartContainer.measuredWidth-c*2,S=Math.max(w-m,0)/(f-m),P=S<1?Math.max(S**_*g,.4):Math.min(S**y*g,p);r=he(P*100)}else r=he(re.pieChart.chartRadius);i.value.toFixed(1)!==r.value.toFixed(1)&&(ni(s.uid,{pieChartRadius:r.percent}),s.radius=r,s.innerRadius=he((o??re.pieChart.innerRadius)*r.value));let A=s.series?.values?.[0];A instanceof ws&&(A.labels.template.maxWidth=DW(a?.series[0],s))}return r};s.events.on(Ie.SizeChanged,zs(e,re.debounceTime)),e(),s.validate()}}function KI(s){if(s instanceof pr)YI(s);else if(!(s instanceof qs)){let t=()=>{let i=ve(s.uid,"config"),{chartPaddingMinSize:r,chartPaddingRightWhenLegendNotOnRight:a,chartContainerPaddingTopWhenRotated:n,chartContainer:o}=re,l=i?.series,h=ze(l),c=_n({config:i}),u=l?.[0]?.dataLabels?.visible??!0,d=re.chartDefaultPaddingRight;if(c&&u&&(h===V.LineSeries||h===V.ComboLineAndBarSeries||h===V.BarSeries&&(i?.stackedType??qb())===Gi.Side)){let p=0,f=m=>gs(m.uid,"isDataLabel")??!1;s.series.each(m=>{let g=m.bullets.values.find(f);g!==void 0&&g.clones.each(y=>{let _=y.measuredWidth;switch(y.horizontalCenter){case Yt.Middle:_/=2;break;case bi.Right:_*=-1;break;case bi.Left:}let w=y.pixelX+_;w>p&&(p=w,d=_)})})}d>=0&&(s.chartContainer.paddingRight=d),s.chartContainer.paddingTop=c?n:o.paddingTop;let A=i?.legend?.visible!==!1&&i?.legend?.position===rt.Right;s.paddingRight=A?r:a},e=0;s.series.each(i=>{i.events.once(Ie.Validated,()=>{e+=1,e===s.series.length&&t()})})}}function LW(s,t){s.adapter.add("criticalError",e=>(e.message=t.errors.simpleError,e))}function IW(s){let{data:t,seriesConfig:e,utilsStrings:i}=s,r=e[0],a=t?.reduce((d,A)=>{let p=A[$u]??A[r.y];return Number.isFinite(p)||(p=0),p+d},0),n=r?.sliceGrouping?.percentageThreshold??0,o=[],l,h=0,c=t?.find(d=>d[an.defaultGroupOfSlicesId]===!0)?.[lt.pieChart.technicalFieldGroupedSlices]??[],u=[...t,...c].filter(d=>{let A=!0,p=d[$u]??d[r.y];if(Number.isFinite(p)){let f=p/a*100;d[lt.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/a*100,A=kt(e)===Ee.PieFromFields,p={...l,[an.defaultGroupOfSlicesId]:!0,[A?io:r.x]:r.sliceGrouping?.label??i?.pieChart.defaultSliceGroupingLabel,[A?$u:r.y]:h,[lt.pieChart.technicalFieldSlicePercent]:d,[lt.pieChart.technicalFieldGroupedSlices]:o};u.push(p)}return u}function aL(s){let{creation:t,previousConfig:e,newConfig:i,dataInfo:r,dataUpdateNeeded:a,utilsStrings:n}=s,o=!1;if(r.data&&"dataItems"in r.data&&e?.series[0].type===V.PieSeries&&i?.series[0].type===V.PieSeries){let l=t||bw([e.series[0]],[i?.series[0]]);(a||l)&&(r.data.dataItems=IW({data:r.data.dataItems,seriesConfig:[i.series[0]],utilsStrings:n}),ig({arrayToSort:r.data.dataItems,chartConfig:i}),o=!0)}return o}function kW(s,t){let e=s.reduce((i,r)=>{if(r[an.defaultGroupOfSlicesId]===!0){let a=r[lt.pieChart.technicalFieldGroupedSlices];a!==void 0&&a.forEach(n=>{i.push(n)})}else i.push(r);return i},[]);return ig({arrayToSort:e,chartConfig:t}),e=ng({data:{dataItems:e},seriesConfig:t.series})?.dataItems??[],e}function ZI(s,t){let e=s?.filter(i=>!ah(i));return!Ll(e,t)}function $W(s){let{dataContext:t,newLabel:e,x:i}=s;e===void 0?t[lt.originalCategoryValue]!==void 0&&(t[i]=t[lt.originalCategoryValue]):t[i]!==e&&(t[lt.originalCategoryValue]===void 0&&(t[lt.originalCategoryValue]=t[i]),t[i]=e)}function OW(s){let{data:t,newChartConfig:e,pieSlicesSymbols:i,fieldList:r}=s,a=e.series[0],n=kt(e.series)===Ee.PieFromFields?io:a.x;t.forEach(o=>{let l=ah(o),h=o[lt.pieChart.technicalFieldSliceId],c=l?a.sliceGrouping?.label:qC(i?.slices,h)?.label;$W({dataContext:o,x:n,newLabel:c})}),JN({chartConfig:e,chartData:t,fieldList:r})}tt.classNamePrefix="arcgis-charts-";function Ew(s){let{chart:t,localeInfo:e,chartLocale:i}=s;tt.defaultLocale=i,t.language.locale=i,ni(t.uid,{formatLocale:e.formatLocale}),t.rtl=e.rtl}function Qv(s){let{chart:t,actionMode:e,cursorRange:i}=s;if(qn(t)){let r=e??ve(t.uid,"actionMode")??re.actionMode;ni(t.uid,{actionMode:r});let a=ve(t.uid,"filterBySelection");switch(r){case Vt.MonoSelection:case Vt.MultiSelection:case Vt.MultiSelectionWithCtrlKey:a!==!0?GH(t):XC(t);break;case Vt.Zoom:XC(t);break;case Vt.None:CA({chart:t,selectionSource:Pr.ClearSelection,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1}),XC(t);break}yH({chart:t,actionMode:r,cursorRange:i})}}function EW(s,t){t&&(s.tapToActivate=!0,s.tapTimeout=3e3,s.responsive.enabled=!0)}function MW(s){let{chart:t,axesConfig:e,chartType:i,isRotated:r,errorStrings:a,queryObject:n}=s;switch(Il({chartType:i,axesConfig:e,errorStrings:a}),i){case V.GaugeSeries:{ao(n),t instanceof qs&&e?.[0]?.valueFormat!==void 0&&Kj({chart:t,valueFormat:e[0].valueFormat,queryObject:n});break}case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{Cj({chart:t,chartType:i,isRotated:r,axesConfig:e,queryObject:n});break}}}async function Mw(s){let{chart:t,chartConfig:e,chartConfig:{axes:i},rotationChanged:r,axisLabelsBehaviorChanged:a,chartType:n,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,data:c,queryObject:u,guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,utilsStrings:g,errorStrings:y}=s;switch(Il({chartType:n,axesConfig:i,errorStrings:y}),n){case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{t instanceof Wt&&wj({chart:t,chartConfig:e,rotationChanged:r,axisLabelsBehaviorChanged:a,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,timeIntervalInfo:c?.timeIntervalInfo??ve(t.uid,"timeIntervalInfo"),guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,utilsStrings:g,errorStrings:y,queryObject:u});break}case V.GaugeSeries:{t instanceof qs&&(ao(u),await qj({chart:t,chartConfig:e,data:(c??t.data).dataItems,queryObject:u,axisValueFormatter:A,gaugeInnerLabelFormatter:m,utilsStrings:g,errorStrings:y}));break}}}function qI(s){let{chart:t,chartConfig:e,hideLoaderHandle:i,options:r,utilsStrings:a,queryObject:n}=s,{selectionTheme:o,ignoreSmoothRenderingLimit:l}=r??{};t.series.clear();let h,c,u=[],d=t instanceof Wt?[t.xAxes.getIndex(0),t.yAxes.getIndex(0),t.xAxes.getIndex(1)??t.yAxes.getIndex(1)]:void 0,A={hideLoaderHandle:i,selectionTheme:o,utilsStrings:a},p={...A,axisList:d};if(t instanceof Wt)for(let m=0;m<e.series.length;m+=1){let g=e.series[m];if(c=ze([g]),$l(e))h=KQ({...p,chart:t,axisList:d,chartConfig:e,seriesIndex:m,queryObject:n}),u.push(...h.flat());else switch(c){case V.BarSeries:{h=dW({...p,chart:t,chartConfig:e,seriesIndex:m,queryObject:n}),u.push(h);break}case V.LineSeries:{ao(n),h=HQ({...p,chart:t,chartConfig:e,seriesIndex:m,ignoreSmoothRenderingLimit:l,queryObject:n}),u.push(h);break}}}else t instanceof pr&&e.series[0].type===V.PieSeries&&(h=wW({...A,seriesConfig:e.series[0]}),u.push(h));let f=CF({chartConfig:e,queryObject:n,chartData:t.data});f.length>0&&(t.colors.list=f.map(m=>{let[g,y,_,w]=m;return new xt({r:g,g:y,b:_,a:w})})),u.length>0&&t.series.pushAll(u),KH(t)}function Rw(s){let{chart:t,chartConfig:e,chartConfig:{series:i,axes:r,chartRenderer:a},seriesIndexMapper:n,rotationChanged:o,seriesReordered:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c,chartData:u,queryObject:d,options:A,dataWasUpdated:p,sortChanged:f,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,utilsStrings:y,errorStrings:_}=s,w=t.series.values,S=new Map,P=e.series.length,T=Ol(e),L=Ua(e),$=ln(d,A?.usePopupTemplateFieldsInfo),I=Ys(d),M=Gm(a,Gs(I)?void 0:I?.renderer);for(let[F,Q]of i.entries()){let Y=ze([Q]),z=w[F],ee={numberOfSeries:P,series:z,seriesConfig:Q,seriesIndex:F,colorMatch:T,queryObject:d,rendererType:M,options:A,dataWasUpdated:p,fieldList:$,sortChanged:f,utilsStrings:y},ie={...ee,axes:r,seriesIndexMapper:n},de=z;if(t instanceof Wt&&$l(e))de=w.find(K=>K.id===Q.id),z!==void 0&&(de instanceof wr||de instanceof Pi)&&l2({...ee,chart:t,series:de,seriesIndexMapper:n,seriesSymbolMapForEvent:S,chartData:u,showOutliers:e.showOutliers,showMean:e.showMean,outliersVisibilityChanged:h,seriesReordered:l,standardizeValuesVisibilityChanged:c,rotationChanged:o,options:A});else switch(Y){case V.BarSeries:AW({...ie,stackedType:L,seriesSymbolMapForEvent:S,rotationChanged:o});break;case V.LineSeries:XQ({...ie,stackedType:L,seriesSymbolMapForEvent:S,rotationChanged:o});break;case V.PieSeries:FW({...ee,chart:t,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,selectionTheme:A?.selectionTheme});break}}y2({chart:t,options:A,dataWasUpdated:p,chartData:u,chartConfig:e,queryObject:d,rotationChanged:o,sortChanged:f,groupOfSlicesWasUpdated:m,errorStrings:_})}async function Uw(s){let{chartConfig:t}=s,{chart:e,options:i,globalOptions:r,colorMatchApplied:a,pieSlicesSymbols:n,queryObject:o,utilsStrings:l,errorStrings:h,dataInfo:c,loaderHandle:u}=s,{disableTogglingLegendItems:d,cursorRange:A,actionMode:p,pieChartLegendValueLabelFormatter:f,guideTooltipFormatter:m,xAxisLabelFormatter:g,yAxisLabelFormatter:y,secondaryYAxisLabelFormatter:_,gaugeInnerLabelFormatter:w,usePopupTemplateFieldsInfo:S}=i??{},{data:P,count:T,queryConfig:L}=c??{},$,I,M,F=ze(t.series),Q=ln(o,S);ni(e.uid,{fieldList:Q,options:i,elementCount:T,queryConfig:L,timeIntervalInfo:P?.timeIntervalInfo,serverLimitReached:P?.serverLimitReached});let Y=new Map;t.series.forEach(($e,Je)=>{Y.set($e.id,Je)});let z=In(P);z!==void 0&&(e.data=z);let ee=kt(t.series);e instanceof pr&&nn({data:n,htmlContainer:e.htmlContainer,chartId:e.id,colorMatchApplied:a===!0});let{title:ie,subtitle:de,footer:K,series:G,background:xe}=t;$=eW(e),Nv($,{title:ie,subtitle:de}),I=tW(e),Hv(I,K),M=NQ(e,G),pQ(e);let ae=_n({config:t});ni(e.uid,{config:t,isRotated:ae,isNonAggregatedChart:!ep(ee)}),t.axes!==void 0&&(MW({chart:e,axesConfig:t.axes,chartType:F,isRotated:ae,errorStrings:h,queryObject:o}),await Mw({chart:e,chartConfig:t,chartType:F,isRotated:ae,data:P,queryObject:o,guideTooltipFormatter:m,xAxisLabelFormatter:g,yAxisLabelFormatter:y,secondaryYAxisLabelFormatter:_,gaugeInnerLabelFormatter:w,utilsStrings:l,errorStrings:h})),qI({chart:e,chartConfig:t,hideLoaderHandle:u.hideLoader,utilsStrings:l,options:i,queryObject:o}),Rw({chart:e,chartConfig:t,seriesIndexMapper:Y,rotationChanged:!1,queryObject:o,chartData:P,groupOfSlicesWasUpdated:!0,pieSlicesSymbols:n,dataWasUpdated:!0,options:i,utilsStrings:l,errorStrings:h}),Lw({legendElements:M,seriesConfig:G,webChartLegend:t.legend,pieChartLegendValueLabelFormatter:f}),XI(e),Jj(e),Vv(e,xe),zI({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),JL(e),eI(e,t?.cursorCrosshair),Qv({chart:e,actionMode:p,cursorRange:A});let ne=fd(e.htmlContainer??document.documentElement);return e.dateFormatter.intlLocales=ne,EW(e,r?.enableResponsiveFeatures),(e instanceof qs||Sw(e.series))&&xh(e.htmlContainer),KI(e),$!==void 0&&I!==void 0&&M!==void 0?{headerElements:$,footerElements:I,legendElements:M}:void 0}function JI(s){s.series.each(t=>{t.events.on(Ie.Ready,()=>{Sw(s.series)&&Rv(s)})})}async function RW(s){let{chartContainer:t,chartConfig:e,queryObject:i,colorMatchApplied:r,dataInfo:a,t9nStrings:n,options:o,globalOptions:l,loaderHandle:h}=s,{errorStrings:c,utilsStrings:u,amChartsStrings:d}=n,A=lf(t,Wt);A.id=e?.id??A.uid,ni(A.uid,{queryObject:i});let{t9nLocale:p}=Du(A.htmlContainer??document.documentElement),f=fd(A.htmlContainer??document.documentElement),m=Om(A.htmlContainer??document.documentElement)==="rtl";Ew({chart:A,localeInfo:{locale:p,formatLocale:f,rtl:m},chartLocale:d}),A.events.on(Ie.Inited,()=>A.zoomOutButton.deepInvalidate());let g=ze(e?.series);A instanceof Wt&&g!==V.BoxPlotSeries&&(A.maskBullets=!1);let y=await Uw({chartConfig:e,chart:A,queryObject:i,colorMatchApplied:r,options:o,globalOptions:l,utilsStrings:u,errorStrings:c,dataInfo:a,loaderHandle:h});return ni(A.uid,{config:Tr(e)}),JI(A),WH(A,i),XH(A,i),{chart:A,chartElements:y}}async function UW(s){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,colorMatchApplied:a,pieSlicesSymbols:n,t9nStrings:{errorStrings:o,utilsStrings:l,amChartsStrings:h},options:c,globalOptions:u,loaderHandle:d}=s,A=lf(t,pr);A.id=e?.id??A.uid;let p=Sx(A.htmlContainer);Ew({chart:A,localeInfo:p,chartLocale:h}),A.radius=he(re.pieChart.chartRadius);let f=await Uw({chartConfig:e,chart:A,queryObject:i,colorMatchApplied:a,pieSlicesSymbols:n,dataInfo:r,options:c,globalOptions:u,utilsStrings:l,errorStrings:o,loaderHandle:d});return ni(A.uid,{config:Tr(e),filterBySelection:c?.filterBySelection}),TW(A,i),{chart:A,chartElements:f}}async function VW(s){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,t9nStrings:{errorStrings:a,utilsStrings:n,amChartsStrings:o},options:l,globalOptions:h,loaderHandle:c}=s,u=lf(t,qs);u.id=e?.id??u.uid;let d=Sx(u.htmlContainer);Ew({chart:u,localeInfo:d,chartLocale:o}),u.maskBullets=!1;let A=re.gauge,p=Number.isFinite(e?.innerRadius)?e?.innerRadius:A.innerRadius,f=Number.isFinite(e?.startAngle)?e?.startAngle:A.startAngle,m=Number.isFinite(e?.endAngle)?e?.endAngle:A.endAngle;u.radius=he(A.radius),typeof p=="number"&&(u.innerRadius=he(p)),typeof f=="number"&&(u.startAngle=f),typeof m=="number"&&(u.endAngle=m);let g=await Uw({chartConfig:e,chart:u,queryObject:i,dataInfo:r,options:l,globalOptions:h,utilsStrings:n,errorStrings:a,loaderHandle:c});return ni(u.uid,{config:Tr(e)}),JI(u),t?.ownerDocument.addEventListener("visibilitychange",()=>{let y=t.ownerDocument.hidden;u&&!y&&Pj(e?.axes?.[0])&&(u.svgContainer?.measure(),u.invalidateData())}),{chart:u,chartElements:g}}async function NW(s){let{newConfig:t}=s,{chart:e,chartElements:i,dataWasUpdated:r,dataUpdateDetails:a,dataInfo:n,options:o,configWithAllSeries:l,hasSeriesFilteredOut:h,queryObject:c,utilsStrings:u,errorStrings:d,loaderHandle:A}=s,{guideTooltipFormatter:p}=o??{},f=ve(e.uid,"config"),m=f?.series,g=t.series,y=ze(g),_=_n({config:t});ni(e.uid,{config:Tr(t),isRotated:_}),ni(e.uid,{filterBySelection:o?.filterBySelection}),Qv({chart:e,actionMode:o?.actionMode,cursorRange:o?.cursorRange});let{xOrYChanged:w,layerChanged:S}=a?.common??{},{numberOfSeriesChanged:P}=a?.common??{},T=gx(f,t),L=yx(f,t),$=zF(f,t),I=GF(f,t),M=JSON.stringify(ip(m))!==JSON.stringify(ip(g)),F=!1,Q=!1;$l(t)&&$l(f)&&(F=KF(f,t),Q=ZF(f,t));let Y=ap({oldConfig:h?l:f,newConfig:t,dataWasUpdated:r}),z=jb({oldConfig:f,newConfig:t,rotationChanged:L}),ee=VI({chart:e,dualAxisChanged:$,rotationChanged:L,timeIntervalInfoWasReset:T,axisLabelsBehaviorChanged:z}),ie=!1,de=In(n?.data),K=kt(g);if(ni(e.uid,{isNonAggregatedChart:!ep(K)}),r){let{count:ne,data:$e,queryConfig:Je}=n??{};ni(e.uid,{elementCount:ne,queryConfig:Je,timeIntervalInfo:$e?.timeIntervalInfo,serverLimitReached:$e?.serverLimitReached}),xh(e.htmlContainer)}else if(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries||y===V.BoxPlotSeries){let ne=vx(m,g);if(ne.length>0&&(RN(e.series,ne),e.feedLegend(),ie=!0),EF(g[0])){let{binTemporalData:$e}=g[0],{unit:Je,size:Xe}=g[0].temporalBinning??{};$e===!1&&Je!==void 0&&Xe!==void 0&&ni(e.uid,{timeIntervalInfo:{unit:Je,size:Xe}})}}Y&&(r||(e.validateData(),y===V.BoxPlotSeries&&e.series.each(ne=>{ne instanceof Pi&&!(ne instanceof pa)&&ne.id.includes(ji.Outliers)&&ne.validateData()})));let G=new Map;t.series.forEach((ne,$e)=>{G.set(ne.id,$e)}),P=P||h,de&&(r||Y)&&(e.data=de),t.axes!==void 0&&await Mw({chart:e,chartConfig:t,rotationChanged:L,timeIntervalInfoWasReset:T,axisLabelsBehaviorChanged:z,chartType:y,isRotated:_,dualAxisChanged:$,guideTooltipFormatter:p,xAxisLabelFormatter:o?.xAxisLabelFormatter,yAxisLabelFormatter:o?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:o?.secondaryYAxisLabelFormatter,queryObject:c,utilsStrings:u,errorStrings:d});let xe=y===V.BoxPlotSeries&&(XF(g,m)||WF(g,m));(e.series===void 0||e.series.length===0||w||S||P||M||(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries)&&e.series.length!==t.series.length||ee||I||xe||a?.boxPlot?.showMeanChanged)&&(!r&&(L||xe||ee)&&e.invalidateData(),qI({chart:e,chartConfig:t,hideLoaderHandle:A.hideLoader,utilsStrings:u,queryObject:c,options:o})),Rw({chart:e,chartConfig:t,seriesIndexMapper:G,rotationChanged:L,seriesReordered:ie,outliersVisibilityChanged:F,standardizeValuesVisibilityChanged:Q,queryObject:c,chartData:n.data,options:o,dataWasUpdated:r,sortChanged:Y,utilsStrings:u,errorStrings:d}),Nv(i.headerElements,{title:t.title,subtitle:t.subtitle}),Hv(i.footerElements,t.footer),Lw({legendElements:i.legendElements,seriesConfig:t.series,webChartLegend:t.legend,disableTogglingLegendItems:o?.disableTogglingLegendItems}),Vv(e,t.background),zI({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),eI(e,t?.cursorCrosshair);let ae=mH(e);(ae.behavior===Qi.SelectX||ae.behavior===Qi.SelectXY||ae.behavior===Qi.SelectY||ae.behavior===Qi.None)&&e.scrollbarX.start===0&&e.scrollbarX.end===1&&e.scrollbarY.start===0&&e.scrollbarY.end===1&&Rv(e),KI(e),UI(e.series.values[0])}function HW(s){let{chart:t,chartElements:e,dataWasUpdated:i,newConfig:r,pieSlicesSymbols:a,queryObject:n,options:o,dataInfo:l,utilsStrings:h,errorStrings:c}=s,u=ve(t.uid,"config"),d=u?.series,A=r?.series,p=ap({oldConfig:u,newConfig:r,dataWasUpdated:i}),f=bw(d,A),{count:m,data:g,queryConfig:y}=l??{},_=In(g);ni(t.uid,{filterBySelection:o?.filterBySelection,config:Tr(r)});let w=_!==void 0&&(t.data.length!==_.length||ZI(t.data,_));w&&(ni(t.uid,{elementCount:m,queryConfig:y}),t.data=_,xh(t.htmlContainer)),(p||f)&&t.validateData(),nn({data:a,htmlContainer:t.htmlContainer,chartId:t.id,colorMatchApplied:kv(t,r)}),Rw({chart:t,queryObject:n,chartConfig:r,seriesIndexMapper:new Map,options:o,dataWasUpdated:w,sortChanged:p,chartData:g,groupOfSlicesWasUpdated:f,pieSlicesSymbols:a,utilsStrings:h,errorStrings:c}),Nv(e.headerElements,{title:r.title,subtitle:r.subtitle}),Hv(e.footerElements,r.footer),Lw({legendElements:e.legendElements,seriesConfig:r.series,webChartLegend:r.legend,disableTogglingLegendItems:o?.disableTogglingLegendItems,pieChartLegendValueLabelFormatter:o?.pieChartLegendValueLabelFormatter}),Vv(t,r.background),Qv({chart:t,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),YI(t)}async function QW(s){let{chart:t,chartElements:e,newConfig:i,queryObject:r,dataInfo:a,dataWasUpdated:n,options:o,utilsStrings:l,errorStrings:h}=s,{xAxisLabelFormatter:c,gaugeInnerLabelFormatter:u,guideTooltipFormatter:d}=o??{},A=i.series,p=ze(A),f;if(n){let{count:w,data:S,queryConfig:P}=a??{};f=S,f?.dataItems!==void 0&&(t.data=f.dataItems),xh(t.htmlContainer),ni(t.uid,{elementCount:w,queryConfig:P})}i.axes!==void 0&&await Mw({chart:t,chartConfig:i,chartType:p,data:f,queryObject:r,xAxisLabelFormatter:c,gaugeInnerLabelFormatter:u,guideTooltipFormatter:d,utilsStrings:l,errorStrings:h});let m=re.gauge,g=Number.isFinite(i?.innerRadius)?i.innerRadius:m.innerRadius,y=Number.isFinite(i?.startAngle)?i.startAngle:m.startAngle,_=Number.isFinite(i?.endAngle)?i.endAngle:m.endAngle;t.innerRadius=he(g),t.startAngle=y,t.endAngle=_,Nv(e.headerElements,{title:i.title,subtitle:i.subtitle}),Hv(e.footerElements,i.footer),Vv(t,i.background),ni(t.uid,{config:Tr(i)})}async function jW(s){let{chartContainer:t,chartConfig:e,colorMatchApplied:i,pieSlicesSymbols:r,queryObject:a,dataInfo:n,t9nStrings:o,options:l,globalOptions:h,loaderHandle:c}=s;tt.commercialLicense=!(h?.showLicenseWatermark??h?.hideLicenseWatermark===!1),tt.queue=h?.queueChartCreation!==!1,tt.autoDispose=h?.autoDisposeChart===!0,h?.useAnimatedCharts===!0?y_(_y):v_(_y);let u;switch(ze(e?.series)){case V.PieSeries:ao(a),u=await UW({chartContainer:t,chartConfig:e,queryObject:a,dataInfo:n,colorMatchApplied:i,pieSlicesSymbols:r,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break;case V.GaugeSeries:ao(a),u=await VW({chartContainer:t,chartConfig:e,queryObject:a,dataInfo:n,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break;default:u=await RW({chartContainer:t,chartConfig:e,dataInfo:n,colorMatchApplied:i,queryObject:a,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break}return u}async function WW(s){let{chartContainer:t,chartConfig:e,t9nStrings:i,queryObject:r,options:a,colorMatchApplied:n,rendererFieldNames:o,pieSlicesSymbols:l,globalOptions:h,dataInfo:c,uniqueInternalID:u,loaderHandle:d}=s,{errorStrings:A}=i,p=!sL(t),f=await jW({chartContainer:t,chartConfig:e,dataInfo:c,colorMatchApplied:n,pieSlicesSymbols:l,queryObject:r,t9nStrings:i,options:a,globalOptions:h,loaderHandle:d}),{chart:m,chartElements:g}=f;ni(m.uid,{chartWasCreatedWhileHidden:p,queryObject:r,filterBySelection:a?.filterBySelection,options:a,colorMatchApplied:n,rendererFieldNames:o}),LW(m,A),PW(m,t);function y(){u&&BF.delete(u),m.isDisposed()||(PH(m),g!==void 0&&(f.chartElements=void 0),m.dispose())}async function _(T){let{newChartConfig:L,dataWasUpdated:$,dataUpdateDetails:I,queryObject:M,updateOptions:F,t9nStrings:{utilsStrings:Q},configWithAllSeries:Y,hasSeriesFilteredOut:z,pieSlicesSymbols:ee,dataInfo:ie,loaderHandle:de}=T,K=ve(m.uid,"config"),G=L?.series,xe=G!==void 0?ze(G):void 0;if(m.isDisposed()||g===void 0||!lx(K,L))throw new Ln(cd.ChartDisposed);switch(xe){case V.BoxPlotSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:m instanceof Wt&&await NW({chart:m,chartElements:g,queryObject:M,dataWasUpdated:$,dataUpdateDetails:I,dataInfo:ie,newConfig:L,configWithAllSeries:Y,hasSeriesFilteredOut:z,options:F,utilsStrings:Q,errorStrings:A,loaderHandle:de});break;case V.PieSeries:ao(M),HW({chart:m,chartElements:g,queryObject:M,dataWasUpdated:$,dataInfo:ie,newConfig:L,pieSlicesSymbols:ee,options:F,utilsStrings:Q,errorStrings:A});break;case V.GaugeSeries:ao(M),await QW({chart:m,chartElements:g,newConfig:L,queryObject:M,dataWasUpdated:$,dataInfo:ie,options:F,utilsStrings:Q,errorStrings:A});break}}async function w(T){let{newChartConfig:L,updateOptions:$,dataWasUpdated:I,dataUpdateDetails:M,configWithAllSeries:F,hasSeriesFilteredOut:Q,pieSlicesSymbols:Y,colorMatchApplied:z,rendererFieldNames:ee,updateGlobalOptions:ie,t9nStrings:de,queryObject:K,dataInfo:G,loaderHandle:xe}=T,ae=!sL(t),ne=ln(K,a?.usePopupTemplateFieldsInfo);ni(m.uid,{chartWasUpdatedWhileHidden:ae,options:$,fieldList:ne,queryObject:K,colorMatchApplied:z,rendererFieldNames:ee}),await _({newChartConfig:L,updateOptions:$,dataWasUpdated:I,dataUpdateDetails:M,pieSlicesSymbols:Y,t9nStrings:de,configWithAllSeries:F,hasSeriesFilteredOut:Q,queryObject:K,dataInfo:G,loaderHandle:xe})}async function S(T){if(qn(m)&&(m instanceof Wt||m instanceof pr)){let L=ve(m.uid,"actionMode");L!==Vt.MonoSelection&&L!==Vt.None&&await zH(m,T)}}function P(){Rv(m)}return{update:w,dispose:y,resetZoom:P,clearSelection:()=>CA({chart:m}),switchSelection:async T=>await S(T),exportImage:async T=>await DH({chart:m,exportOptions:T}),setActionMode:(T,L)=>Qv({chart:m,actionMode:T,cursorRange:L}),loaderHandle:d}}var XW="AM5C241025748",Ai={SelectEnded:"selectended",DataValidated:"datavalidated",BoundsChanged:"boundschanged",PointerUp:"pointerup",FrameEnded:"frameended",Click:"click"},lw=new Map;function zW(s,t){return Xc(s,t)}function GW(s,t){Wc(s,t)}function Wc(s,t){let e=lw.get(s)??{};lw.set(s,{...e,...t})}function Xc(s,t){return lw.get(s)?.[t]}function fe(s,t){return Xc(s,t)}function Kr(s,t){Wc(s,t)}function Rt(s,t){return Xc(s,t)}function hs(s,t){Wc(s,t)}function To(s,t){return Xc(s,t)}function wA(s,t){Wc(s,t)}function _l(s,t){return Xc(s,t)}function YW(s,t){Wc(s,t)}function rn(s,t){return Xc(s,t)}function Vw(s,t){Wc(s,t)}function KW(s,t){return Xc(s,t)}function ZW(s,t){Wc(s,t)}function Nw(s){return s!=null&&!s.isDisposed()}function qW(s){let t;if(s!=null){let e=s;if(e instanceof Yr)t=e.chart;else{let i=e.dataItem?.component;i instanceof Yr&&(t=i.chart)}}return t}function ek(s){let t;if(s){let e=s.get("background")?.get("fill");if(e){let{r:i,g:r,b:a}=e;t=[Math.round(i),Math.round(r),Math.round(a),255]}}return t}function tk(s){let t=ia(s),{r:e,g:i,b:r}=t;return{r:e,g:i,b:r}}function JW(s,t){t&&s.setThemes([R1.new(s)])}function e4(s,t){t===!0&&s.setThemes([M1.new(s)])}function Xt(s){let t=ia("#000000"),e=hd;if(s!=null){let[i,r,a,n]=s;e=n/255,t=ia(`rgba(${i}, ${r}, ${a}, ${e})`)}return{color:t,opacity:e}}function Zi(s,t){t===!1&&(!("isHiding"in s)||!s.isHiding())?(s.set("visible",!1),"hide"in s&&s.hide()):t!==!1&&(!("isShowing"in s)||!s.isShowing())&&(s.set("visible",!0),"show"in s&&s.show())}function Ii(s){let{childId:t,parent:e,useChildId:i}=s,r=i?t:Ns(t,e.uid);return e.children.values.find(a=>a.get("id")===r)}function Ns(s,t){return`${s}${t}`}function yu(s,t=100){return setTimeout(()=>s(),t)}function nL(s){let t=Number.NaN;if(typeof s=="number")t=s;else if(s.includes("%")){let e=Number.parseFloat(s.trim().replace("%","").trim());Number.isFinite(e)&&(t=Bt(e))}return t}function t4(s,t){return t!==!0||s?.includes("Dot")===!0?"round":"square"}function i4(s,t){let e=s??As.Solid,i=t??q.lineWidth,r={[As.Solid]:[],[As.Dot]:[1,i],[As.DashDotDot]:[4*i,i,1,i,1,i],[As.Dash]:[4*i,3*i],[As.DashDot]:[4*i,3*i,1,3*i],[As.Null]:[]};return r[e]??r[As.Null]}function r4(s){let{root:t,fill:e,rotation:i,isLinePattern:r,chartBackgroundFill:a}=s,n;if(r!==!1){let{tileSize:o,diagonalTileSize:l}=q.patternLineProperties,h=i===45||i===135,c=h?l:o;n=ih.new(t,{width:c,height:c,strokeWidth:q.patternLineProperties.strokeWidth??1,gap:6,color:e,...h?{angle:i}:{rotation:i??Number.NaN},...a!==void 0&&{fill:a,fillOpacity:1}})}else{let o=a!==void 0?1:q.patternRectProperties.fillOpacity??Number.NaN;n=su.new(t,{width:q.patternRectProperties.width??Number.NaN,height:q.patternRectProperties.height??Number.NaN,strokeWidth:q.patternRectProperties.strokeWidth??Number.NaN,fillOpacity:o,color:a??e,fill:e,gap:1,maxWidth:q.patternRectProperties.rectWidth??Number.NaN,maxHeight:q.patternRectProperties.rectHeight??Number.NaN,rotation:i??Number.NaN})}return n}function s4(s){let{fill:t,root:e,style:i,chartBackgroundFill:r}=s,a,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&&(a=r4({root:e,fill:t,rotation:n,isLinePattern:o,chartBackgroundFill:r})),a}function ik(s,t=0){return(s??t)%360}function rk(s,t){let e={stroke:Xt().color,strokeWidth:q.lineWidth,strokeDasharray:[],linecap:t!==!0?"round":"square",strokeOpacity:hd};if(s!=null){let i=Xt(s.color);e.stroke=i.color,e.strokeOpacity=i.opacity,s.width!==void 0&&(e.strokeWidth=s.width,e.strokeOpacity=s.width===0?0:i.opacity),s.style!==void 0&&s.style!==As.Null&&(e.strokeDasharray=i4(s.style,e.strokeWidth),e.linecap=t4(s.style,t))}return e}function sk(s,t){let e=s,[i,r,a,n]=s?.color??t??q.color,o=[i,r,a,n];return e==null?e={type:Dt.SLS,color:o}:e.color===void 0&&(e.color=o),rk(e,!1)}function a4(s,t,e){let{color:i,outline:r,style:a}=s,n=Xt(i),o=ix(a),l;return e!==void 0?l=Xt(e).color:o&&(l=Xt(q.backgroundColor).color),{pattern:s4({root:t,fill:n.color,style:a,chartBackgroundFill:l}),fill:n.color,outline:sk(r,i),fillOpacity:n.opacity}}function n4(s){let{color:t,style:e,size:i,outline:r,xoffset:a,yoffset:n,angle:o}=s,l=ik(o),h=e!==void 0?rx(e,i):"",c=Xt(t),u=r;return e!==YA.Cross&&e!==YA.X&&i!==void 0&&i<=q.lineSeries.marker.markerSizeThresholdForTooltipDisplay&&(r?.width===void 0||r.width===0)&&(u={type:Dt.SLS,style:r?.style??As.Solid,color:[0,0,0,0],width:q.lineSeries.marker.markerSizeThresholdForTooltipDisplay-i}),{path:h,fill:c.color,outline:sk(u,t),xOffset:a??0,yOffset:n??0,angle:l,fillOpacity:c.opacity}}function o4(s){let t;switch(s){case Em.LineThrough:case Em.Underline:t=s;break;case Em.None:}return t}function l4(s){return s===!0?"wrap":"none"}function ak(s,t){let e=Qe;switch(s??t){case bi.Right:e=ge;break;case bi.Left:e=Xr;break;case bi.Center:case bi.Justify:}return e}function nk(s,t){let e=Qe;switch(s??t){case Yt.Top:e=Xr;break;case Yt.Bottom:e=ge;break;case Yt.Baseline:case Yt.Middle:}return e}function h4(s){let{angle:t,mappedHAlignment:e,mappedVAlignment:i,isGuideLabel:r}=s,a=e,n=i,o=e,l=i;return(Math.abs(t)===270||Math.abs(t)===90)&&(r||(o=void 0,n=void 0),l===Xr?a=ge:l===ge?a=Xr:l===Qe&&(a=Qe)),{align:a,valign:n,horizontalCenter:o,verticalCenter:l}}function Hw(s){let{root:t,symbol:e,defaultToColorFromRamp:i,colorRampIndex:r,isChartFillSymbol:a=!1,chartBackgroundColor:n}=s,o;if(i===!0){let l=a?Nm:hd;if(e.color=e.color??bh({colorIndex:r,opacity:l}),md(e)||np(e)){let{outline:h}=e;h!==void 0&&(h.color=h?.color??bh({colorIndex:r}),e.outline={...h})}}return Tx(e)?o=rk(e,!0):np(e)?(e.style??=q.lineSeries.marker.markerStyle,e.size??=q.lineSeries.marker.markerBigSize,o=n4(e)):md(e)&&(o=a4(e,t,n)),o}function u4(s){let{input:t,isGuideLabel:e,defaults:i}=s,r=ik(t.angle,i?.rotation),a=ak(t.horizontalAlignment,i?.horizontalCenter),n=nk(t.verticalAlignment,i?.verticalCenter),{align:o,valign:l,horizontalCenter:h,verticalCenter:c}=h4({angle:r,mappedHAlignment:a,mappedVAlignment:n,isGuideLabel:e});return{fill:Xt(t.color).color,fontFamily:t.font?.family??"Arial, Helvetica, sans-serif",fontSize:t.font?.size??q.generalFontSize,fontWeight:t.font?.weight??"400",textDecoration:o4(t.font?.decoration),align:o,valign:l,verticalCenter:c,horizontalCenter:h,text:_a({textSymbol:t,format:"amChartsV5"}),angle:r,xOffset:t.xoffset??i?.dx??0,yOffset:t.yoffset??i?.dy??0,backgroundFill:Xt(t.backgroundColor).color,borderFill:Xt(t.borderLineColor).color,borderWidth:t.borderLineSize??1,haloColor:Xt(t.haloColor).color,rtl:(t.rightToLeft??Om(document.documentElement))==="rtl"?"rtl":"ltr",wrap:l4(i?.wrap),maxWidth:i?.maxWidth??Number.NaN}}function ok(s,t){t!==void 0&&(t.marginBottom!==void 0&&s.set("marginBottom",t.marginBottom),t.marginTop!==void 0&&s.set("marginTop",t.marginTop),t.marginRight!==void 0&&s.set("marginRight",t.marginRight),t.marginLeft!==void 0&&s.set("marginLeft",t.marginLeft),t.verticalCenter!==void 0&&s.set("y",nk(t.verticalCenter)),t.horizontalCenter!==void 0&&s.set("x",ak(t.horizontalCenter)),t.strokeWidth!==void 0&&s.get("background")?.set("strokeWidth",t.strokeWidth),t.paddingBottom!==void 0&&s.set("paddingBottom",t.paddingBottom),t.paddingTop!==void 0&&s.set("paddingTop",t.paddingTop),t.paddingLeft!==void 0&&s.set("paddingLeft",t.paddingLeft),t.paddingRight!==void 0&&s.set("paddingRight",t.paddingRight),t.maxWidth!==void 0&&s.set("maxWidth",t.maxWidth))}function gA(s){let{root:t,parent:e,defaults:i,index:r,id:a}=s,n=Zt.new(t,{text:"",textAlign:"center",background:nr.new(t,{}),paddingBottom:0,paddingTop:0,paddingLeft:0,paddingRight:0});return a!==void 0&&n.set("id",a),ok(n,i),e!==void 0&&e.children.insertIndex(r??e.children.length,n),n}function oL(s){let{label:t,offset:e,offsetProperty:i}=s;t.adapters.remove(i),(t instanceof Zt?[t]:t.entities).forEach(r=>{if(typeof e=="string"&&!Number.isFinite(Number(e))){let a=qA(e);typeof a=="number"&&(a/=100,r.adapters.add(i,()=>(i==="dx"?r.width():r.height())*(a??0)))}else{let a=Number(e);Number.isFinite(a)&&r.set(i,a)}})}function wn(s){let{label:t,labelConfig:e,defaults:i,skipSettingText:r,skipSettingXAndY:a}=s,n=e?.visible??!0;if(t!==void 0&&!t.isDisposed()&&e!==void 0){let o=t instanceof Zt&&rn(t.uid,"isGuide"),l=u4({input:e.content,isGuideLabel:o,defaults:i});t.setAll({fill:l.fill,fontFamily:l.fontFamily,fontWeight:l.fontWeight,fontSize:l.fontSize,textDecoration:l.textDecoration,rotation:l.angle,direction:l.rtl,oversizedBehavior:l.wrap,maxWidth:l.maxWidth}),r||t.setAll({text:l.text}),a||(oL({label:t,offset:l.xOffset,offsetProperty:"dx"}),oL({label:t,offset:l.yOffset,offsetProperty:"dy"}),t.setAll({centerX:l.align,centerY:l.valign,x:l.horizontalCenter,y:l.verticalCenter})),t.get("background")?.setAll({strokeWidth:l.borderWidth,strokeOpacity:1}),t.set("visible",n),t instanceof Zt?Zi(t,n):t.entities.forEach(h=>{Zi(h,n)})}}function bl(s){let{chart:t,label:e,labelType:i}=s,{legendTitle:r}=q.legendProperties,a=fe(t.uid,"config"),n=r.maxWidth??Number.NaN,o=Number.NaN;switch(i){case ii.GuideLabel:if(t instanceof Ci){let l=e.get("rotation");l===90||l===270?n=t.seriesContainer.height():n=t.seriesContainer.width()}break;case ii.XAxisTitle:t instanceof Ci&&(n=t.seriesContainer.width());break;case ii.YAxisTitle:t instanceof Ci&&(o=t.seriesContainer.height());break;case ii.ChartTitle:case ii.ChartSubTitle:case ii.ChartFooter:n=t.chartContainer.width()-20;break;case ii.LegendTitle:a?.legend?.position!==void 0&&(a?.legend?.position===rt.Top||a?.legend?.position===rt.Bottom)&&(n=t.chartContainer.width()-20);break}n>0&&e.setAll({maxWidth:n,oversizedBehavior:"wrap"}),o>0&&i===ii.YAxisTitle&&e.setAll({maxHeight:o,oversizedBehavior:"wrap"})}function yA(s){let{chart:t}=s;bl(s),t.events.onDebounced(Ai.BoundsChanged,()=>bl(s),q.debounceTime)}function lk(s){let{hour:t,minute:e=0,format:i,locale:r="en-US"}=s,a=i&&Object.keys(i).length>0?i:{hour:"numeric",minute:"2-digit",hour12:!1},n=t.toString();if(Number.isInteger(t)&&t>=0&&t<=23&&Number.isInteger(e)&&e>=0&&e<=59){let o=new Date(2e3,0,1,t,e);n=new Intl.DateTimeFormat(r,a).format(o),n.includes(":")||n.startsWith("0")&&(n=n.slice(1))}return n}function hk(s){let{weekdayNumber:t,format:e,locale:i="en-US",firstDayOfWeek:r=7}=s,a=e&&Object.keys(e).length>0?e:{weekday:"long"},n=t.toString();if(Number.isInteger(t)&&t>0&&t<=7&&Number.isInteger(r)&&r>0&&r<=7){let o=(t+r-1)%7,l=new Date(2e3,0,2+o);n=new Intl.DateTimeFormat(i,a).format(l)}return n}function uk(s){let{monthNumber:t,format:e,locale:i="en-US"}=s,r=e&&Object.keys(e).length>0?e:{month:"long"},a=t.toString();if(Number.isInteger(t)&&t>0&&t<=12){let n=new Date(2e3,t-1);a=new Intl.DateTimeFormat(i,r).format(n)}return a}function Sv(s,t){let e=t.get("axisFill"),i=t.get("label");if(e!==void 0&&i!==void 0){let r=rn(i.uid,"guideLabelConfig"),a=s.get("renderer")instanceof ls,n=Math.round(e.width()),o=Math.round(e.height()),l=Math.round(i.height()),h=Math.round(i.width()),{horizontalAlignment:c,verticalAlignment:u}=r??{},d=0,A=0;if(a){let p=n!==0;switch(c){case bi.Left:p?d=-h/2:d=-h;break;case bi.Right:p?d=h/2:d=h;break;case bi.Center:case bi.Justify:break;default:p||(d=h/2);break}switch(u){case Yt.Bottom:p?A=-l:A=-l/2;break;case Yt.Middle:A=-o/2;break;case Yt.Top:default:A=-o+l/2;break}}else{let p=o!==0;switch(c){case bi.Center:d=n/2;break;case bi.Left:d=h/2;break;case bi.Right:default:d=n-h/2;break}switch(u){case Yt.Bottom:p?A=o/2:A=l;break;case Yt.Top:p?A=-o/2+l/2:A=-l;break;case Yt.Middle:default:p||(A=-l/2);break}}i.setAll({dx:d,dy:A})}}function c4(s){let{axis:t,guide:e,label:i}=s,{chart:r}=t;if(r){let a=t.get("renderer")instanceof ls?r.yAxes.getIndex(0):r.xAxes.getIndex(0);a&&(a.events.onDebounced(Ai.BoundsChanged,()=>Sv(t,e),q.debounceTime),t.events.onDebounced(Ai.BoundsChanged,()=>Sv(t,e),q.debounceTime))}i.setAll({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}function d4(s){let{guide:t,axis:e,guideLabelConfig:i}=s,r=t.get("label");if(r!==void 0){ok(r),Vw(r.uid,{isGuide:!0,guideLabelConfig:i});let{chart:a}=e;a!==void 0&&yA({chart:a,label:r,labelType:ii.GuideLabel}),c4({axis:e,guide:t,label:r})}}function A4(s){let{axis:t,guide:e,guideConfig:i,guideType:r}=s,a=e?.get("label");if(a!==void 0)if(i.label!==void 0){let n=t.get("renderer")instanceof ls,o;t instanceof Us||(n?r===Dt.SFS?o=q.verticalSurfaceGuideLabels:o=q.verticalLineGuideLabels:r===Dt.SFS?o=q.horizontalSurfaceGuideLabels:o=q.horizontalLineGuideLabels),Vw(a.uid,{guideLabelConfig:i.label});let l={type:V.Text,visible:i.visible,content:{...i.label,verticalAlignment:Yt.Middle,horizontalAlignment:bi.Center,rightToLeft:a.get("direction")==="rtl"}};wn({label:a,labelConfig:l,defaults:o});let h=i.label?.text;typeof h=="string"&&/<\/?[a-z][\s\S]*>/iu.test(h)&&(a.set("html",Mr(h)),a.set("text","")),a.events.once(Ai.BoundsChanged,()=>{Sv(t,e)}),Sv(t,e)}else Zi(a,!1)}function p4(s){let t=s.dataItem?.component;t instanceof qt?(t.uid!==void 0?Rt(t.uid,"bulletTemplate"):void 0)?.adapters?.remove?.("fill"):t instanceof Li?t.columns?.template?.adapters?.remove?.("fill"):t instanceof Hr&&t.slices?.template?.adapters?.remove?.("fill")}function ck(s){let{element:t,fill:e,fillOpacity:i,pattern:r,chartBackgroundFill:a}=s,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=a??e;l.set("fill",h),l.set("fillOpacity",1),p4(l)}else l.set("fill",e),l.remove("fillPattern"),l.set("fillOpacity",i);n!==void 0&&n.set("getFillFromSprite",o)}function Fv(s,t){s.setAll({stroke:t.stroke,strokeDasharray:t.strokeDasharray,strokeOpacity:t.strokeOpacity,strokeWidth:t.strokeWidth,lineCap:t.linecap})}function dk(s){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return t!==void 0&&e!==void 0&&(n=Hw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(t.setAll({svgPath:n.path,rotation:n.angle,dx:n.xOffset,dy:n.yOffset}),ck({element:t,fill:n.fill,fillOpacity:n.fillOpacity}),Fv(t,n.outline)),Zi(t,i)),n}function vu(s){let{root:t,element:e,fillSymbol:i,visible:r,defaultToColorFromRamp:a,colorRampIndex:n,isChartFillSymbol:o,keepCurrentVisibility:l,chartBackgroundColor:h}=s,c=ix(i?.style),u=qW(e),d=h??(c?ek(u)??[...q.backgroundColor]:void 0),A;if(e!==void 0&&!e.isDisposed()){if(i!==void 0&&(A=Hw({root:t,symbol:i,defaultToColorFromRamp:a,colorRampIndex:n,isChartFillSymbol:o,chartBackgroundColor:d}),A!==void 0)){let p=d!==void 0?Xt(d).color:void 0;ck({element:e,fill:A.fill,fillOpacity:A.fillOpacity,pattern:A.pattern,chartBackgroundFill:p}),Fv(e,A.outline)}l||Zi(e,r)}return A}function So(s){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return t!==void 0&&!t.isDisposed()&&(e!==void 0&&(n=Hw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(Fv(t,n),t instanceof qt&&Fv(t.strokes.template,n))),Zi(t,i)),n}function en(s){let{root:t,element:e,seriesIndex:i,seriesSymbol:r,isChartFillSymbol:a,colorMatch:n,rendererSymbol:o,keepCurrentVisibility:l}=s,h,c;n&&o!==void 0&&(h=ox({rendererSymbol:o,seriesSymbol:r,colorIndex:i}));let u={root:t,element:e,defaultToColorFromRamp:!0,colorRampIndex:i},d=h??{...r};switch(r.type){case Dt.SLS:c=So({...u,lineSymbol:d});break;case Dt.SFS:c=vu({...u,fillSymbol:d,isChartFillSymbol:a,keepCurrentVisibility:l});break;case Dt.SMS:c=dk({...u,markerSymbol:d});break}return{symbolWithColorInfo:d,stylingInfo:c}}function lL(s,t){if(t!==void 0){let{elementColor:e,elementOutlineColor:i,elementOutlineWidth:r,rotation:a,transformation:n}=t,{opacity:o,scale:l}=n??{};e!==void 0&&s.setAll({fill:Xt(e).color,fillOpacity:1}),i!==void 0&&s.setAll({stroke:Xt(i).color,strokeOpacity:1}),r!==void 0&&s.setAll({strokeWidth:r}),a!==void 0&&s.setAll({rotation:a}),l!==void 0&&s.setAll({scale:l}),o!==void 0&&s.setAll({fillOpacity:o,strokeOpacity:o})}}function Zn(s){let{root:t,type:e,intlOptions:i,formatLocale:r}=s,a;switch(e){case V.NumberAxisFormat:{a=Jh.new(t,{}),a.set("intlLocales",r),a.set("numberFormat",i);break}case V.DateAxisFormat:{a=wc.new(t,{}),a.set("intlLocales",r);break}}return a}function f4(s,t,e){let i=t-s,r=[];if(i!==0){if(e===1)r=[s];else if(e>1){let a=i/(e-1);r=[...PF(s,t,a),t]}}return r}function m4({x:s,mean:t,stddev:e,scalingFactor:i}){let r=-1/(2*e**2);return(i??1)*Math.exp(r*(s-t)**2)}function g4(s){let t=0;if(s.length>0)for(let e=0;e<s.length;e+=1)s[e].count>t&&(t=s[e].count);return t}function Ak(s){let t=!1,e;if(s.target.dataItem?.component instanceof Yr?{chart:e}=s.target.dataItem.component:(s.target instanceof Gn||s.target instanceof ml)&&({chart:e}=s.target),e instanceof Ci||e instanceof Rs){let i=fe(e.uid,"actionMode");if(i!==void 0){let{originalEvent:r}=s;t=i===Vt.MultiSelection||i===Vt.MultiSelectionWithCtrlKey&&("ctrlKey"in r&&r.ctrlKey||"metaKey"in r&&r.metaKey)}}return t}function na(s){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,backToDefaultState:a}=s,n=!1;if(t!==void 0){let o=_l(t.uid,"selected")??!1;n=o,i!==!0?r===!0?n=o?!1:o!==e:n=e:n=o!==e;let l=a===!0?aa.Default:aa.CustomInactive;t.states.apply(aa.Default),t.states.apply(n?aa.CustomActive:l),n!==o&&(YW(t.uid,{selected:n}),n&&(t.toFront(),t.dataItem?.component instanceof Yr&&t.dataItem.component.toFront()))}return n}function y4(s,t){let e=fe(t.chart?.uid??Number.NaN,"actionMode"),i=Ak(s);return e===Vt.MonoSelection||e===Vt.MultiSelectionWithCtrlKey&&!i}function us(s,t){let{selectedElementsTheme:e,nonSelectedElementsTheme:i}=t??q.selectionTheme??{},r=s.states.create(aa.CustomActive,{}),a=s.states.create(aa.CustomInactive,{});lL(r,e),lL(a,i)}function vA(s){let{value:t,valueFormat:e,formatLocale:i,root:r}=s,a=t?.toString(),n=Zn({type:e.type,intlOptions:e.intlOptions,formatLocale:i,root:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?a=n.format(t,Eo(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(a=n.format(t,Eo(e))),a}async function v4(s){let{root:t,exportOptions:e}=s,{format:i,quality:r=1,...a}=e,n=r<0||r>1?1:r,o=await cu.new(t,{}).exportImage(i,{quality:n,...a}),l=nI(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function pA(s,t){if(s!==void 0&&t!==void 0&&(s.states.lookup("default")?.setAll({fill:t.fill,fillOpacity:t.fillOpacity}),t.outline!==void 0)){let{outline:e}=t;s.states.lookup("default")?.setAll({stroke:e.stroke,strokeOpacity:e.strokeOpacity,strokeDasharray:e.strokeDasharray,lineCap:e.linecap,strokeWidth:e.strokeWidth})}}function pk(s){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i,externalDataLabelFormatter:r}=s;return(a,n)=>{let o=i===Gi.Stacked100&&n!==void 0?n:a;return t.get("numberFormat").style==="percent"&&(o/=100),_a({textSymbol:{...e,text:t.format(o)},format:r===void 0?"amChartsV5":"html"})}}function b4(s,t){let e=s.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??s,a=i?.x??r?.get("x")??0,n=i?.y??r?.get("y")??0;return{x:a,y:n}}function fk(s){let{label:t,chart:e,seriesType:i}=s,r=n=>{if(e instanceof Ci){let o=b4(n,i),l=e.plotContainer,h=l.x(),c=l.y(),u=o.x<h||o.x>h+l.width()||o.y<c||o.y>c+l.height();n.setAll({visible:!u,forceHidden:u})}},a=zs((n,o)=>{o&&r(o)},q.debounceTime);t.on("x",a),t.on("y",a)}function x4(s){let{series:t,label:e,isHeatChart:i}=s;e.adapters.add("y",(r,a)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=a.dataItem;if(h!==void 0&&l!==void 0&&l!==null){let c=h?.get("valueY"),u=a.localBounds().bottom;if(o!==!0){let d=q.dataLabelNegative?.paddingTop??0;if(t.get("stacked")||i)if(c<0)l+=u-d;else{let A=i?q.heatChartLabelPadding.paddingTop:0;l+=u/2+A}}else{let d=q.rotatedChartPadding?.paddingTop??0;l+=u/2+d}}return l}),e.adapters.add("x",(r,a)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=a.dataItem;if(h!==void 0&&l!==void 0&&l!==null&&o===!0){let c=h?.get("valueX"),u=a.width()/2,d=q.rotatedChartPadding?.paddingRight??0,A=u+d;t.get("stacked")||(c<0?l-=A:l+=A)}return l})}function _4(s){let{series:t,isRotated:e,externalDataLabelFormatter:i}=s;t.bullets.push(()=>{let r=fe(t.chart?.uid??Number.NaN,"config")?.series?.find(l=>l.id===t.get("id"))?.dataLabels??s.dataLabelsConfig,a=t.get("stacked"),n=ma.new(t.root,{locationY:!a&&!e?1:void 0,locationX:!a&&e?1:void 0,sprite:Zt.new(t.root,{text:e?"{valueX}":"{valueY}",populateText:!0,centerY:ge,centerX:Xr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:Xt(r?.content.color).color,fontSize:r?.content.font?.size})}),o=n.get("sprite");if(o){let l=o;gk({dataLabel:l,series:t,externalDataLabelFormatter:i}),yk({...s,dataLabelsConfig:r,dataLabel:l,dataLabelFormatter:pk})}return n})}function Qw(s,t=1){s.bullets.removeIndex(t)}function mk(s){let{textBackgroundColor:t,chartBackgroundColor:e,fillOpacity:i}=s,r;return sp({r:t.r,g:t.g,b:t.b,a:i})?r=sp({r:e.r,g:e.g,b:e.b,a:i})?Xt(fF).color:e:r=sp({r:e.r,g:e.g,b:e.b,a:i})?e:Xt(pF).color,r}function C4(s){let{dataLabel:t,labelConfigColor:e,seriesColor:i,backgroundColor:r,autoInverseDataLabelTextColor:a,isHeatChart:n}=s,o=r??Xt(q.backgroundColor).color;a===!0&&i&&t.adapters.add("fill",(l,h,c)=>{let u=e??h.text.get("fill"),d=(h.dataItem?.component).get("stacked"),A=u;if(u&&(d||n)){let p=h.dataItem.get("graphics"),f=p?.get("fillOpacity");A=mk({textBackgroundColor:p?.get("fill")??i,chartBackgroundColor:o,fillOpacity:f})}return A})}function gk(s){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=s;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Nf({label:t,labelOutputProp:r}),t.adapters.add(r,(a,n)=>{let o=a??"",l=n.dataItem,h=Rt(e.uid,e instanceof Li?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(h!==void 0&&e.chart&&l){let c=fe(e.chart.uid,"isRotated"),u=c===!0?l.get("valueX"):l.get("valueY"),d=c===!0?l.get("valueXTotalPercent"):l.get("valueYTotalPercent"),A=e.get("valueYShow")==="valueYTotalPercent"||e.get("valueXShow")==="valueXTotalPercent";o=h(A?d:u)}return r==="html"?Mr(o):o})}function Nf(s){let{label:t,labelOutputProp:e}=s,i=t;e==="html"?i.set("html",q.htmlEmptyContent):i.set("html",void 0)}function jv(s){let{series:t,seriesConfig:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:a,yAxisValueFormat:n,stackedType:o,isRotated:l,seriesType:h,defaultDataLabelFormatter:c,externalDataLabelFormatter:u}=s,{chart:d}=t;if(i!==void 0){let A=u,p=a?.content??{type:Dt.TS};if(u===void 0&&c!==void 0&&n?.type===V.NumberAxisFormat&&d){let _=fe(d.uid,"formatLocale"),w=Zn({root:d.root,type:n.type,formatLocale:_,intlOptions:n.intlOptions});A=c({numberFormatter:w,dataLabelsConfigContent:p,stackedType:o,externalDataLabelFormatter:u})}let f;switch(h){case V.BarSeries:f="barSeriesDataLabelFormatter";break;case V.LineSeries:f="lineSeriesDataLabelFormatter";break;case V.HistogramSeries:f="histogramDataLabelFormatter";break;case V.ScatterSeries:f="scatterplotDataLabelFormatter";break;case V.HeatSeries:f="heatChartDataLabelFormatter";break}f!==void 0&&hs(t.uid,{[f]:A}),a!==void 0&&(h===V.HeatSeries?a.content.text="{value}":a.content.text=l===!0?"{valueX}":"{valueY}",a.visible=a.visible!==!1),wn({label:i,labelConfig:a,defaults:r??q.dataLabel,skipSettingText:!0});let m=t.get("stacked"),g=m&&h===V.BarSeries&&e?.hideOversizedStackedLabels!==!1,y=!m&&h===V.BarSeries&&e?.hideOversizedSideBySideLabels===!0;y||g?i.setAll({oversizedBehavior:"hide",maxWidth:void 0,maxHeight:y?100:void 0}):i.setAll({oversizedBehavior:"none"})}}function w4(s){let{series:t,labelDefaults:e,externalDataLabelFormatter:i}=s;t.dataItems.forEach(r=>{let a=r.bullets?.[1];if(a){a.set("locationY",t.get("stacked")?void 0:1);let n=a.get("sprite");n&&(gk({dataLabel:n,series:t,externalDataLabelFormatter:i}),jv({...s,dataLabel:n,labelDefaults:e,defaultDataLabelFormatter:pk,externalDataLabelFormatter:i}))}})}function yk(s){let{series:t,dataLabelsConfig:e,autoInverseDataLabelTextColor:i,externalDataLabelFormatter:r,labelDefaults:a,seriesType:n,dataLabel:o,isHeatChart:l,dataLabelFormatter:h}=s;o&&(t.chart&&e?.visible&&fk({label:o,chart:t.chart,seriesType:n}),x4({series:t,label:o,isHeatChart:l}),jv({...s,dataLabel:o,labelDefaults:a,defaultDataLabelFormatter:h,externalDataLabelFormatter:r}),C4({dataLabel:o,labelConfigColor:Xt(e?.content.color).color,seriesColor:t.get("fill"),backgroundColor:t.chart?.get("background")?.get("fill"),autoInverseDataLabelTextColor:i,isHeatChart:l}))}function vk(s){let{series:t,dataLabelsConfig:e}=s,i=e?.visible,r=t.bullets.hasIndex(1);i!==!0?r&&Qw(t):(r||_4(s),w4(s))}function B4(s){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=s;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Nf({label:t,labelOutputProp:r}),t.adapters.add(r,(a,n)=>{let o=a??"",l=n.dataItem,h=Rt(e.uid,"heatChartDataLabelFormatter"),c=fe(e.chart?.uid??NaN,"config");if(h!==void 0&&l){let u=l.get("value"),d=l.get("categoryX"),A=l.get("categoryY");u===null?o=c?.series[0].emptyCells?.text??q.heatChart.emptyCells?.text??"":u!==void 0&&(o=h(u,d,A))}return r==="html"?Mr(o):o})}function S4(s){let{numberFormatter:t,dataLabelsConfigContent:e}=s;return i=>_a({textSymbol:{...e,text:t.format(i)},format:"amChartsV5"})}function F4(s){let{series:t,externalDataLabelFormatter:e}=s;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config")?.series?.[0]?.dataLabels??s.dataLabelsConfig,r=ma.new(t.root,{sprite:Zt.new(t.root,{text:"{value}",populateText:!0,centerY:ge,centerX:Xr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:Xt(i?.content.color).color,fontSize:i?.content.font?.size,oversizedBehavior:"hide"})}),a=r.get("sprite");if(a){let n=a;B4({dataLabel:n,series:t,externalDataLabelFormatter:e}),yk({...s,dataLabelsConfig:i,dataLabel:n,isHeatChart:!0,dataLabelFormatter:S4}),n.set("oversizedBehavior","hide"),n.set("maxWidth",void 0),n.set("maxHeight",void 0)}return r})}function T4(s){let{series:t,dataLabelsConfig:e}=s,i=e?.visible;t.bullets.hasIndex(0)&&Qw(t,0),i===!0&&F4(s)}var Ps={nameField:"name",fillField:"fill",strokeField:"stroke",fillOpacityField:"fillOpacity",strokeOpacityField:"strokeOpacity"};function jw(s,t){let e=zf(s);s.columns.template.set("tooltip",e);let i=t!==void 0||Rt(s.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";xl({element:s.columns.template,labelOutputProp:r}),s.columns.template.setAll({tooltipPosition:q.columnTooltipPosition}),s.columns.template.adapters.remove("tooltipText"),s.columns.template.adapters.remove("tooltipHTML"),s.columns.template.adapters.add(r,(a,n)=>Fo({element:n,series:s,isHTML:i})),s.columns.each(a=>{a.set("tooltip",e),xl({element:a,labelOutputProp:r}),a.adapters.remove("tooltipText"),a.adapters.remove("tooltipHTML"),a.adapters.add(r,(n,o)=>Fo({element:o,series:s,isHTML:i}))})}function bk(s){let{axesConfig:t,currentSeries:e,tooltipValueFormat:i}=s,{root:r,chart:a}=e;if(a){let n=t?.[1]?.valueFormat,o=t?.[0].valueFormat,l=fe(a.uid,"formatLocale");if(n?.type===V.NumberAxisFormat){let h=Zn({root:r,type:n.type,formatLocale:l,intlOptions:n.intlOptions});hs(e.uid,{tooltipValueYNumberFormatCallback:c=>h.format(c,i?.intlOptions??n.intlOptions)})}if(o?.type===V.NumberAxisFormat){let h=Zn({root:r,type:o.type,formatLocale:l,intlOptions:o.intlOptions});hs(e.uid,{tooltipValueXNumberFormatCallback:c=>h.format(c,i?.intlOptions??o.intlOptions)})}}}function P4(s){let{axes:t,seriesConfig:e,series:i,fieldList:r,utilsStrings:a}=s,{dataTooltipVisible:n}=e,o,l=fe(i.chart?.uid??0,"rtl")??!1,h=Ra(l);return n===!1?o=(c,u,d)=>"":o=(c,u,d)=>{let A=Er(r,e.x),p=mA(A,t?.[0].title?.content?.text),f=mA(a?.statistics.count??"",t?.[1]?.title?.content?.text??""),m=Rt(i.uid,"tooltipValueXNumberFormatCallback"),g=Rt(i.uid,"tooltipValueYNumberFormatCallback"),y=m?m(u):u,_=m?m(d):d,w=g?g(c):c;return`[bold]${p}${h} [/]${y} - ${_}
46
+ </tr>`,n}exportXLSX(t){return We(this,void 0,void 0,function*(){return"data:"+this.getContentType("xlsx")+";"+this.get("charset","utf-8")+","+encodeURIComponent(yield this.getXLSX(t))})}getXLSX(t){return We(this,void 0,void 0,function*(){let e=this._getFormatOptions("xlsx",t),i=yield this.getXLSXLib(),r={bookType:"xlsx",bookSST:!1,type:"base64"},a=this._normalizeExcelSheetName(this.get("title",this._t("Data"))),n={SheetNames:[a],Sheets:{}},o=[],l=this.getData("html",e),h=this.getDataFields(l);if(e.pivot){let c=this.get("dataFieldsOrder",[]);Yl(h,(u,d)=>{let A=[];e.addColumnNames&&A.push(d);for(let p=l.length,f=0;f<p;f++){let m=l[f][u];A.push(this.convertToSpecialFormat(u,m,e,!0))}o.push(this.getXLSXRow(A,e,void 0,!0))},(u,d)=>{let A=c.indexOf(u),p=c.indexOf(d);return A>p?1:A<p?-1:0})}else{e.addColumnNames&&o.push(this.getXLSXRow(h,e,void 0,!0));for(let c=l.length,u=0;u<c;u++)o.push(this.getXLSXRow(l[u],e,h))}return n.Sheets[a]=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 a=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Yl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),c=r?h:this.convertToSpecialFormat(o,h,e,!0);a.push(c)},(o,l)=>{let h=n.indexOf(o),c=n.indexOf(l);return h>c?1:h<c?-1:0}),a}_xlsx(){return We(this,void 0,void 0,function*(){return yield import("./KBDOBMB5.js")})}getXLSXLib(){return this._xlsx()}exportPDF(t){return We(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 We(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 We(this,void 0,void 0,function*(){let r=this._getFormatOptions("pdf",t),a=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),_=yield this.getCanvas(y);l.width=_.clientWidth,l.height=_.clientHeight,o=_.toDataURL(this.getContentType(g),r.quality||1),this.disposeCanvas(_)}let h=yield this.getPdfmake(),c=[30,30,30,30],u={pageSize:r.pageSize||"A4",pageOrientation:n,pageMargins:r.pageMargins||c,defaultStyle:{font:r.font?r.font.name:void 0},content:[]},d=this.get("title"),A=0;if(d&&(u.content.push({text:d,fontSize:r.fontSize||14,bold:!0,margin:[0,0,0,15]}),A+=50),r.addURL&&(u.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(u.pageSize,u.pageMargins,A,n);l.width>g[0]||l.height>g[1]?u.content.push({image:o,alignment:r.align||"left",fit:g}):u.content.push({image:o,alignment:r.align||"left"})}(i||r.includeData)&&this.hasData()&&u.content.push({table:yield this.getPDFData(a),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)),this.events.dispatch("pdfdocready",{type:"pdfdocready",format:"pdf",options:r,doc:u,target:this}),new Promise((g,y)=>{h.createPdf(u,null,p,f).getBase64(_=>{g(_)})})})}getPDFData(t){return We(this,void 0,void 0,function*(){let e=this._getFormatOptions("pdfdata",t),i={body:[]},r=this.getData("html",e),a=this.getDataFields(r);if(e.pivot){let n=this.get("dataFieldsOrder",[]);Yl(a,(o,l)=>{let h=[];e.addColumnNames&&h.push(l);for(let c=r.length,u=0;u<c;u++){let d=r[u][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),c=n.indexOf(l);return h>c?1:h<c?-1:0})}else{e.addColumnNames&&(i.body.push(this.getPDFDataRow(a,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,a))}return i})}getPDFDataRow(t,e,i,r=!1){let a=[];i||(i=t);let n=this.get("dataFieldsOrder",[]);return Yl(i,(o,l)=>{let h=this.convertEmptyValue(o,t[o],e),c=r?h:this.convertToSpecialFormat(o,h,e);c=""+c,a.push(c)},(o,l)=>{let h=n.indexOf(o),c=n.indexOf(l);return h>c?1:h<c?-1:0}),a}getPdfmake(){return HC===void 0&&(HC=TN()),HC}getPageSizeFit(t,e,i=0,r="portrait"){let a=[0,0,0,0];te(e)?a=[e,e,e,e]:e.length==2?a=[e[0],e[1],e[0],e[1]]:e.length==4&&(a=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]-=a[0]+a[2],o[1]-=a[1]+a[3]+i,o}hasData(){let t=this.get("dataSource");return!!(By(t)&&t.length)}getData(t,e,i=!1){let r=this._getFormatOptions(t,e),a=this.get("dataSource",[]),n=a,o=this.get("dataFields");o&&By(a)&&(n=[],J(a,h=>{if(Vn(h)){let c={};Et(o,(u,d)=>{o[u]!=null&&(c[i?d:u]=this.convertToSpecialFormat(u,h[u],r))}),n.push(c)}}));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={},By(t)&&t.length&&J(t,i=>{Et(i,(r,a)=>{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):nt.fromHex(16777215)}else return nt.fromCSS(i)}streamFile(t,e,i=!1){if(this.blobDownloadSupport()){let r=document.createElement("a");r.download=e,document.body.appendChild(r);let a=t.split(";"),n=a.shift().replace(/data:/,"");if(t=decodeURIComponent(a.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 c=new Blob([t],{type:n}),u=window.URL.createObjectURL(c);return r.href=u,r.download=e,r.click(),setTimeout(()=>{document.body.removeChild(r),window.URL.revokeObjectURL(u)},100),!0}let o=new Array(t.length);for(let c=0;c<t.length;++c){let u=t.charCodeAt(c);o[c]=u}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 a=this._getFormatOptions("print",e).delay||500,n=document.documentElement.scrollTop||document.body.scrollTop,o=new ff(P_(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(P_(this._root.dom),"body",{padding:"0",margin:"0"},this._root.nonce),h;i&&document&&document.title&&(h=document.title,document.title=i);let c=new Image;c.src=t,c.style.maxWidth="100%",c.style.display="block",c.style.position="relative",c.style.visibility="visible",c.style.opacity="1",c.style.clipPath="none",document.body.appendChild(c),this.setTimeout(()=>{window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&a<1e3?a=1e3:a<100&&(a=100),this.setTimeout(()=>{document.body.removeChild(c),o.dispose(),l.dispose(),h&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},a||500)}_printViaIframe(t,e,i){let a=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()}},a||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&a<1e3?a=1e3:a<100&&(a=100),this.setTimeout(()=>{document.body.removeChild(n)},a+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=gi.classNames.concat([cu.className]);var dv={exports:{}},jC,U1;function PN(){if(U1)return jC;U1=1;function s(t){var e=new t,i=e;function r(){var n=e;return n.next?e=n.next:(e=new t,i=e),n.next=null,n}function a(n){i.next=n,i=n}return{get:r,release:a}}return jC=s,jC}var V1;function DN(){if(V1)return dv.exports;V1=1;var s=PN();function t(a,n,o){if(typeof a=="function"&&(o=n,n=a,a=null),o<1)throw new Error("fastqueue concurrency must be greater than 1");var l=s(i),h=null,c=null,u=0,d=null,A={push:w,drain:e,saturated:e,pause:f,paused:!1,concurrency:o,running:p,resume:y,idle:_,length:m,getQueue:g,unshift:S,empty:e,kill:T,killAndDrain:L,error:$};return A;function p(){return u}function f(){A.paused=!0}function m(){for(var I=h,M=0;I;)I=I.next,M++;return M}function g(){for(var I=h,M=[];I;)M.push(I.value),I=I.next;return M}function y(){if(A.paused){A.paused=!1;for(var I=0;I<A.concurrency;I++)u++,P()}}function _(){return u===0&&A.length()===0}function w(I,M){var F=l.get();F.context=a,F.release=P,F.value=I,F.callback=M||e,F.errorHandler=d,u===A.concurrency||A.paused?c?(c.next=F,c=F):(h=F,c=F,A.saturated()):(u++,n.call(a,F.value,F.worked))}function S(I,M){var F=l.get();F.context=a,F.release=P,F.value=I,F.callback=M||e,u===A.concurrency||A.paused?h?(F.next=h,h=F):(h=F,c=F,A.saturated()):(u++,n.call(a,F.value,F.worked))}function P(I){I&&l.release(I);var M=h;M?A.paused?u--:(c===h&&(c=null),h=M.next,M.next=null,n.call(a,M.value,M.worked),c===null&&A.empty()):--u===0&&A.drain()}function T(){h=null,c=null,A.drain=e}function L(){h=null,c=null,A.drain(),A.drain=e}function $(I){d=I}}function e(){}function i(){this.value=null,this.callback=e,this.next=null,this.release=e,this.context=null,this.errorHandler=null;var a=this;this.worked=function(n,o){var l=a.callback,h=a.errorHandler,c=a.value;a.value=null,a.callback=e,a.errorHandler&&h(n,c),l.call(a.context,n,o),a.release(a)}}function r(a,n,o){typeof a=="function"&&(o=n,n=a,a=null);function l(f,m){n.call(this,f).then(function(g){m(null,g)},m)}var h=t(a,l,o),c=h.push,u=h.unshift;return h.push=d,h.unshift=A,h.drained=p,h;function d(f){var m=new Promise(function(g,y){c(f,function(_,w){if(_){y(_);return}g(w)})});return m.catch(e),m}function A(f){var m=new Promise(function(g,y){u(f,function(_,w){if(_){y(_);return}g(w)})});return m.catch(e),m}function p(){var f=h.drain,m=new Promise(function(g){h.drain=function(){f(),g()}});return m}}return dv.exports=t,dv.exports.promise=r,dv.exports}var LN=DN(),Qi={SelectXY:"selectXY",SelectX:"selectX",SelectY:"selectY",ZoomXY:"zoomXY",ZoomX:"zoomX",ZoomY:"zoomY",None:"none"},ji={Top:"top",Bottom:"bottom",Median:"median",Outliers:"outliers"},bv=new Map;function Yn(s){s!==void 0&&bv.delete(s)}function Vc(s,t){let e=bv.get(s)??{};bv.set(s,{...e,...t})}function Nc(s,t){return bv.get(s)?.[t]}function IN(s,t){return Nc(s,t)}function kN(s,t){Vc(s,t)}function $N(s,t){return Nc(s,t)}function ON(s,t){Vc(s,t)}function ve(s,t){return Nc(s,t)}function ni(s,t){Vc(s,t)}function Hs(s,t){return Nc(s,t)}function Po(s,t){Vc(s,t)}function Vs(s,t){return Nc(s,t)}function Ls(s,t){Vc(s,t)}function EN(s,t){return Nc(s,t)}function MN(s,t){Vc(s,t)}function gs(s,t){return Nc(s,t)}function mu(s,t){Vc(s,t)}function Ri(s,t){t===!1&&!s.isHiding?(s.visible=!1,s.hide()):s.isShowing||(s.visible=!0,s.show())}function RN(s,t){for(let e=0;e<t.length;e+=1){let i=t[e][0],r=t[e][1],a=s.length;i>=0&&i<a&&r>=0&&r<a&&s.swap(t[e][0],t[e][1])}}function VL(s,t){let e;if(s!==void 0&&"rgb"in s&&s.rgb!==void 0){let i=s.rgb;if(i!==void 0){let{r,g:a,b:n}=i;e=[r,a,n,255]}}return e}function Ec(s){let t=s??[0,0,0,255];return new xt({a:t[3]/255,b:t[2],g:t[1],r:t[0]})}function Zr(s){return s.bullets.values.find(t=>EN(t.uid,"isBulletMarker"))}function qn(s){return s!=null&&!s.isDisposed()}function Ef(s){return(s.isShowing||s.visible)&&!s.isHidden&&!s.isHiding&&!s.disabled&&!s.__disabled}function NL(s,t){return s.pixelX<0||s.pixelX>t?.plotContainer?.measuredWidth||s.pixelY<0||s.pixelY>t?.plotContainer?.measuredHeight}function UN(s){let t;return s.baseSprite instanceof Wt||s.baseSprite instanceof pr?t=s.baseSprite:(s instanceof Mh||s instanceof Yd)&&(t=s.axis.chart),t}function VN(s){return VL(s.background.fill)}var re={...lt};function NN(s){let{fill:t,rotation:e,isLinePattern:i,chartBackgroundColor:r}=s,a;return i!==!1?(a=new fc,a.width=re.patternLineProperties.width??Number.NaN,a.height=re.patternLineProperties.height??Number.NaN,a.strokeWidth=re.patternLineProperties.strokeWidth??Number.NaN,a.stroke=t,a.rotation=e??Number.NaN):(a=new mc,a.rectWidth=re.patternRectProperties.rectWidth??Number.NaN,a.rectHeight=re.patternRectProperties.rectHeight??Number.NaN,a.width=re.patternRectProperties.width??Number.NaN,a.height=re.patternRectProperties.height??Number.NaN,a.fillOpacity=re.patternRectProperties.fillOpacity??Number.NaN,a.strokeWidth=re.patternRectProperties.strokeWidth??Number.NaN,a.fill=Ec(r),a.stroke=t,a.rotation=e??Number.NaN),a}function N1(s){let t=Number.NaN;if(typeof s=="number")t=s;else if(s.includes("%")){let e=Number.parseFloat(s.trim().replace("%","").trim());Number.isFinite(e)&&(t=he(e))}return t}function HN(s){let{fill:t,style:e,chartBackgroundColor:i}=s,r,a,n=!0;switch(e){case bs.Horizontal:{a=0;break}case bs.Vertical:{a=90;break}case bs.ForwardDiagonal:{a=45;break}case bs.BackwardDiagonal:{a=135;break}case bs.Cross:{a=0,n=!1;break}case bs.DiagonalCross:{a=135,n=!1;break}case bs.Solid:}return a!==void 0&&(r=NN({fill:t,rotation:a,isLinePattern:n,chartBackgroundColor:i})),r}function xn(s,t){let e;t!==void 0&&(e=Ec(t));let i=e??new xt({r:0,g:0,b:0,a:0});if(s!=null){let[r,a,n,o]=s;i=new xt({r,g:a,b:n,a:o/255})}return i}function HL(s,t=0){return(s??t)%360}function QN(s,t){return t!==!0||s?.includes("Dot")===!0?"round":"square"}function QL(s,t){let e="none";switch(s??t){case bi.Justify:case bi.Center:e="center";break;case bi.Left:e="left";break;case bi.Right:e="right";break}return e}function yw(s,t){let e="middle";switch(s??t){case bi.Right:e="left";break;case bi.Left:e="right";break;case bi.Center:case bi.Justify:}return e}function jN(s,t){let e="none";switch(s??t){case Yt.Baseline:case Yt.Middle:e="middle";break;case Yt.Top:e="top";break;case Yt.Bottom:e="bottom";break}return e}function jL(s,t){let e=Yt.Middle;switch(s??t){case Yt.Top:e="bottom";break;case Yt.Bottom:e="top";break;case Yt.Baseline:case Yt.Middle:default:e="middle";break}return e}function WN(s,t){let e=s??As.Solid,i=t??re.lineWidth,r={[As.Solid]:"none",[As.Dot]:[1,i],[As.DashDotDot]:[4*i,i,1,i,1,i],[As.Dash]:[4*i,3*i],[As.DashDot]:[4*i,3*i,1,3*i],[As.Null]:"none"};return(r[e]??r[As.Null]).toString()}function WL(s,t){let e={stroke:xn(),strokeWidth:re.lineWidth,strokeDasharray:"",strokeLinecap:t!==!0?"round":"square",strokeOpacity:hd};return s!=null&&(e.stroke=xn(s.color),e.strokeOpacity=1,s.width!==void 0&&(e.strokeWidth=s.width),s.style!==void 0&&s.style!==As.Null&&(e.strokeDasharray=WN(s.style,e.strokeWidth),e.strokeLinecap=QN(s.style,t))),e}function XL(s,t){let e=s,[i,r,a,n]=s?.color??t??re.color,o=[i,r,a,n];return e==null?e={type:Dt.SLS,color:o}:e.color===void 0&&(e.color=o),WL(e,!1)}function XN(s,t){let{color:e,outline:i,style:r}=s,a=xn(e);return{pattern:HN({fill:a,style:r,chartBackgroundColor:t}),fill:a,outline:XL(i,e)}}function zN(s){let{color:t,outline:e,xoffset:i,yoffset:r,style:a,size:n,angle:o}=s,l=a!==void 0?rx(a,n):"",h=HL(o);return{path:l,fill:xn(t),outline:XL(e,t),xOffset:i??0,yOffset:r??0,angle:h}}function vw(s){let{symbol:t,defaultToColorFromRamp:e,colorRampIndex:i,isChartFillSymbol:r=!1,chartBackgroundColor:a}=s,n;if(e===!0){let o=r?Nm:hd;if(t.color=t.color??bh({colorIndex:i,opacity:o}),md(t)||np(t)){let{outline:l}=t;l!==void 0&&(l.color=l?.color??bh({colorIndex:i}),t.outline={...l})}}return Tx(t)?n=WL(t,!0):np(t)?(t.style??=re.lineSeries.marker.markerStyle,t.size??=re.lineSeries.marker.markerBigSize,n=zN(t)):md(t)&&(n=XN(t,a)),n}function xv(s,t,e){let i=yw(s.horizontalAlignment,e?.horizontalCenter),r=QL(s.horizontalAlignment,e?.align),a=jL(s.verticalAlignment,e?.verticalCenter),n=jN(s.verticalAlignment,e?.valign);return{fill:xn(s.color,re.color),fontFamily:s.font?.family??"Arial, Helvetica, sans-serif",fontSize:s.font?.size??re.generalFontSize,fontWeight:s.font?.weight??"400",textDecoration:s.font?.decoration??"none",align:r,valign:n,verticalCenter:a,horizontalCenter:i,text:_a({textSymbol:s,format:"amChartsV4"}),angle:HL(s.angle,e?.rotation),xOffset:s.xoffset??e?.dx??0,yOffset:s.yoffset??e?.dy??0,backgroundFill:xn(s.backgroundColor),borderFill:xn(s.borderLineColor),borderWidth:s.borderLineSize??1,haloSize:s.haloSize??-1,haloColor:xn(s.haloColor),rtl:s.rightToLeft??t,wrap:e?.wrap??!1,maxWidth:e?.maxWidth??Number.NaN}}function zL(s,t,e){e!==void 0&&s.tooltip!==void 0&&(s.tooltip.getFillFromObject=!1,s.tooltip.background.fill=t),s.fill=e??t,s.fillOpacity=Ne(s.fill.toString()).alpha===0?0:1}function AA(s,t){s.stroke=t.stroke,s.strokeOpacity=t.stroke.alpha===0?0:1,s.strokeDasharray=t.strokeDasharray,s.strokeLinecap=t.strokeLinecap,s.strokeWidth=t.strokeWidth}function _v(s){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return e!==void 0?(n=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(t.path=n.path,t.rotation=n.angle,t.dx=n.xOffset,t.dy=n.yOffset,zL(t,n.fill),AA(t,n.outline)),Ri(t,i),t.disabled=i===!1):t.disabled=!0,n}function Oc(s){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return e!==void 0?(n=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&AA(t,n),Ri(t,i)):Ri(t,!1),n}function Mf(s){let{element:t,fillSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a,isChartFillSymbol:n}=s,o,l;if(e!==void 0){if(e.style===bs.Cross||e.style===bs.DiagonalCross){let h=UN(t);h!==void 0&&(l=VN(h))}o=vw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a,isChartFillSymbol:n,chartBackgroundColor:l}),o!==void 0&&(zL(t,o.fill,o.pattern),AA(t,o.outline)),t.disabled=i===!1}else t.disabled=!0;return o}function Mc(s){let{element:t,seriesIndex:e,colorMatch:i,seriesSymbol:r,isChartFillSymbol:a,rendererSymbol:n,seriesConfig:o}=s,l,h;i===!0&&n&&(l=ox({rendererSymbol:n,seriesSymbol:r,colorIndex:e}));let c={element:t,defaultToColorFromRamp:!0,colorRampIndex:e,seriesConfig:o},u=l??{...r};switch(r.type){case Dt.SLS:h=Oc({...c,lineSymbol:u});break;case Dt.SFS:h=Mf({...c,fillSymbol:u,isChartFillSymbol:a});break;case Dt.SMS:h=_v({...c,markerSymbol:u});break}return{symbolWithColorInfo:u,stylingInfo:h}}function H1(s,t){if(t!==void 0){let e=s.properties,{elementColor:i,elementOutlineColor:r,elementOutlineWidth:a,rotation:n,transformation:o}=t,{opacity:l,scale:h}=o??{};i!==void 0&&(e.fill=Ec(i),e.fillOpacity=Ne(e.fill.toString()).alpha===0?0:1),r!==void 0&&(e.stroke=Ec(r)),a!==void 0&&(e.strokeWidth=a),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 GN(s,t,e){let i=new Set(Array.from(t)),r=s.findIndex(a=>!i.has(ZC(a)));return r!==-1?r:e}function ZC(s){return`${s[0]},${s[1]},${s[2]}`}function YN(s){let{chartConfig:t,queryObject:e,usePopupTemplateFieldsInfo:i,labelUpdateNeeded:r,utilsStrings:a}=s,{series:n}=t,o=n[0],{x:l}=o,h=!bF({chartConfig:t}),c=kt([o]),u=c===Ee.PieFromFields,d=Ys(e),A=_h(d).idField,p=ln(e,i);return{x:l,isNonAggregatedChart:h,objectIdField:A,isPieFromFields:u,seriesConfig:o,fieldList:p,labelUpdateNeeded:r,chartSubType:c,colorMatch:Ol(t),utilsStrings:a}}function KN(s){let{dataContext:t,seriesConfig:e,existingSlicesColors:i,isGroupOfSlices:r,sliceFromConfig:a,dataIndex:n,colorMatch:o,chartSubType:l}=s,h=r?{...lt.pieChart.sliceGrouping.fillSymbol,...e.sliceGrouping?.fillSymbol}:Tr(a?.fillSymbol??e.fillSymbol),c=on({dataItem:t,seriesConfig:e,chartSubType:l,colorMatch:o}),u=n;h?.color||(u=GN(AF,i,n));let d={dataItem:{dataContext:t}},{symbolWithColorInfo:A}=Mc({element:d,seriesConfig:e,y:e.y,seriesSymbol:h??Wm(),seriesIndex:u,rendererSymbol:c,colorMatch:o,isChartFillSymbol:!0});return A}function Q1(s,t){let{x:e,isNonAggregatedChart:i,objectIdField:r,isPieFromFields:a,seriesConfig:n,fieldList:o,labelUpdateNeeded:l,colorMatch:h,chartSubType:c,utilsStrings:u}=s,d=[],A,p,f=new Set;return t?.forEach((m,g)=>{let y=eH({dataContext:m,x:e,isNonAggregatedChart:i,dataIndex:g,objectIdField:r,isPieFromFields:a});m[lt.pieChart.technicalFieldSliceId]=y;let _=qC(n.slices,y);_?.fillSymbol?.color!==void 0&&f.add(ZC(_.fillSymbol.color))}),t?.forEach((m,g)=>{let y=m[lt.pieChart.technicalFieldSliceId],_=qC(n.slices,y),w=ah(m),S=KN({dataContext:m,seriesConfig:n,existingSlicesColors:f,isGroupOfSlices:w,sliceFromConfig:_,dataIndex:g,colorMatch:h,chartSubType:c});S.color&&f.add(ZC(S.color));let P=tH({dataContext:m,sliceFromConfig:_,isGroupOfSlices:w,seriesConfig:n,fieldList:o,isPieFromFields:a,labelUpdateNeeded:l,colorMatch:h,utilsStrings:u}),T={sliceId:y,label:P,fillSymbol:S};T.originalLabel=_?.originalLabel??(m?.[lt.originalCategoryValue]!==void 0?m?.[lt.originalCategoryValue]:T.label),w?(p=m[lt.pieChart.technicalFieldGroupedSlices],n.sliceGrouping!==void 0&&(A={sliceId:n.sliceGrouping.sliceId,percentageThreshold:n.sliceGrouping.percentageThreshold,label:P,originalLabel:n.sliceGrouping.originalLabel??P,fillSymbol:S})):d.push(T)}),{slices:d,groupOfSlicesSymbols:A,groupOfSlices:p}}function GL(s){let{creation:t,dataInfo:e,pieChartDataActuallyChanged:i,chartConfig:r,previousConfig:a,queryObject:n,usePopupTemplateFieldsInfo:o,utilsStrings:l}=s,h;if(r.series[0].type===V.PieSeries){let c=In(e.data),u=mx({oldConfig:a,newConfig:r}),d=fx(a,r),A=Jm(a,r),p=YN({chartConfig:r,queryObject:n,usePopupTemplateFieldsInfo:o,labelUpdateNeeded:t||i||u||A||d,utilsStrings:l}),{slices:f,groupOfSlicesSymbols:m,groupOfSlices:g}=Q1(p,c),{slices:y}=Q1(p,g??[]);h={slices:f,groupedSlices:y,groupOfSlices:m}}return h}async function ZN(s){let{creation:t,dataInfo:e,dataInfo:{data:i},pieChartDataActuallyChanged:r,chartConfig:a,previousConfig:n,pieSlicesSymbols:o,queryObject:l,options:h,utilsStrings:c}=s,{slices:u}=o??{},{chartWillRender:d}=h??{},A=ze(a.series),p=!1,f=a,m=Tr(o),g,y;if(d&&(A===V.PieSeries||A===V.GaugeSeries)){p=!0,f=Tr(a);let _=ng({data:i,seriesConfig:a.series});f=await d({chartConfig:f,data:_,slices:u}),!Gs(l)&&A===V.PieSeries&&i&&"dataItems"in i&&({colorMatchApplied:g,rendererFieldNames:y}=await bx({data:i.dataItems,queryObject:l,chartConfig:f,allowColorMatch:nx({chartConfig:f,queryObject:l})}),m=GL({creation:t,dataInfo:e,chartConfig:f,previousConfig:n,queryObject:l,pieChartDataActuallyChanged:r,usePopupTemplateFieldsInfo:h?.usePopupTemplateFieldsInfo,utilsStrings:c}))}return{changesApplied:p,alteredConfig:f,alteredPieSlicesSymbols:m,colorMatchApplied:g,rendererFieldNames:y}}function ah(s){return s?.[an.defaultGroupOfSlicesId]===!0}function qN(s){let{dataContext:t,dataIndex:e,objectIdField:i}=s;return`${an.sliceIdPrefix}-${t[i??""]?.toString()??e}`}function JN(s){let{chartConfig:t,chartData:e,fieldList:i}=s,r=kt(t.series)===Ee.PieFromFields;if(t.orderOptions?.data!==void 0||r){ig({arrayToSort:e,chartConfig:t,fieldList:i});let{slices:a}=t.series[0];a!==void 0&&a.sort((n,o)=>{let l=e.findIndex(c=>c[lt.pieChart.technicalFieldSliceId]===n.sliceId),h=e.findIndex(c=>c[lt.pieChart.technicalFieldSliceId]===o.sliceId);return l-h})}}function qC(s,t){let e;return s!==void 0&&t!==void 0&&(e=s.find(i=>i.sliceId===t)),e}function eH(s){let{dataContext:t,isNonAggregatedChart:e,x:i,dataIndex:r,objectIdField:a,isPieFromFields:n}=s,o="";return n===!0?o=t[lt.originalCategoryValue]??t[io]:e?o=qN({dataContext:t,dataIndex:r,objectIdField:a}):(o=t[lt.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 tH(s){let{dataContext:t,sliceFromConfig:e,isGroupOfSlices:i,seriesConfig:r,fieldList:a,isPieFromFields:n,labelUpdateNeeded:o,colorMatch:l,utilsStrings:h}=s,{sliceGrouping:c}=r,{x:u}=r;n&&(u=io);let d=t[u]??t[lt.originalCategoryValue],A=t[lt.originalCategoryValue]??d,p=d;return o&&(i?p=c?.label??c?.originalLabel?.toString()??h.pieChart.defaultSliceGroupingLabel:l&&t[lt.rendererSymbolField]?.label!==void 0?p=t[lt.rendererSymbolField].label:e!==void 0||a!==void 0?(e?.label&&e.label!==e?.sliceId&&(p=e?.label),p===A&&A!==void 0&&A!==null&&(p=Er(a,A))):e===void 0&&(p=A),p===lt.nullValue?p="null":p!=null&&(p=p.toString())),p}function bw(s,t){return s?.[0]?.sliceGrouping?.percentageThreshold!==t?.[0]?.sliceGrouping?.percentageThreshold}function Hf(s){let{groupOfSlicesDataContext:t,chartData:e}=s;return(t??e?.find(i=>i[an.defaultGroupOfSlicesId]===!0))?.[lt.pieChart.technicalFieldGroupedSlices]}function xw(s){let{dataContext:t,pieSlicesSymbols:e,seriesConfig:i}=s,r=i.fillSymbol?{...i.fillSymbol}:Wm();if(ah(t))r={...lt.pieChart.sliceGrouping.fillSymbol,...e?.groupOfSlices?.fillSymbol};else{let a=t[lt.pieChart.technicalFieldSliceId],n=e?.slices?.find(o=>o.sliceId===a);r=Tr(n?.fillSymbol??i.fillSymbol??Wm())}return r}function yl(s){let{type:t,iLocale:e,formatLocale:i=fd(document.documentElement)}=s,r;switch(t){case V.NumberAxisFormat:{r=new Hl,r.language.locale=e,r.intlLocales=i;break}case V.DateAxisFormat:{r=new cn,r.language!==void 0&&(r.language.locale=e),r.intlLocales=i;break}}return r}function JC(s){let{axis:t,valueFormat:e,chartType:i}=s,r=Um({isXAxis:!0,chartType:i,valueFormat:e}),a=ro(e)&&t instanceof Ct,n=xa(e)&&t instanceof He&&!(t instanceof Ct),o=r&&t instanceof Ot;return!a&&!n&&!o}function YL(s,t){let e=typeof t=="number"?`${t}`:t,i=Vs(s.uid,"numberFormatter");return i!==void 0&&(e=i(t)),Yi(e)&&(e=re.htmlEmptyContent),Mr(e)}function iH(s){s.renderer.labels.template.html=re.htmlEmptyContent,s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>YL(s,e?.dataItem?.value??t),0)}function KL(s){let{axis:t,defaultOutput:e,dataItem:i}=s,r=e,a=Vs(t.uid,"categoryFormatter"),n=Vs(t.uid,"numberFormatter");if((n!==void 0||a!==void 0)&&i instanceof il){let o=ve(t.chart.uid,"config"),l=kt(o?.series),h=ve(t.chart.uid,"rendererFieldNames"),c=Mo({value:i.category,dataContext:i.dataContext,useRendererLabel:JA(o,h),specificField:rp(l,o?.series?.[0]),config:o});if(typeof c=="number"&&n!==void 0)r=n(c);else if(a!==void 0){if([Ee.BoxPlotMonoField,Ee.BoxPlotMultiFields,Ee.BoxPlotMonoFieldAndSplitBy,Ee.BoxPlotMultiFieldsAndSplitBy,Ee.BarAndLineFromFields].includes(l)&&typeof c=="string"){let d=ve(t.chart.uid,"fieldList");c=Er(d,c)}let u=so(i.dataContext);u===void 0&&(u=c),r=a(c,u)}}return Yi(r)&&(r=re.htmlEmptyContent),Mr(r)}function rH(s){s.renderer.labels.template.html=re.htmlEmptyContent,s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>KL({axis:s,defaultOutput:t,dataItem:e?.dataItem}),0)}function sH(s){let{axis:t,defaultOutput:e,dataItem:i}=s,r=e,a=Vs(t.uid,"dateFormatter");return a!==void 0&&i instanceof Vh&&(r=a(i.value??e)),Yi(r)&&(r=re.htmlEmptyContent),Mr(r)}function aH(s){s.renderer.labels.template.adapter.add("htmlOutput",(t,e)=>sH({axis:s,dataItem:e?.dataItem,defaultOutput:t}),0),s.renderer.labels.template.adapter.disableKey("htmlOutput")}function nH(s){s.renderer.labels.template.adapter.add("htmlOutput",t=>{let e=t,i=Vs(s.uid,"fontStyleCallback");return i!==void 0&&(e=i(e)),Mr(e)},1)}function oH(s){s instanceof He&&!(s instanceof Ct)?iH(s):s instanceof Ot?rH(s):s instanceof Ct&&aH(s),nH(s)}function lH(s){let{axis:t,formatOptions:e,dateAxisFormatter:i,isTimeOnlyField:r}=s;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(o=>{o.element instanceof Op&&o.element.removeChildren()}));let a={...Eo(e)};r&&(a={hour:r?"numeric":void 0,minute:r?"numeric":void 0,...a});let n=["year","month","day","hour","minute","second"];t.timezone!==a.timeZone&&(t.setPropertyValue("timezone",a.timeZone),t.chart.validateData()),t.dateFormatter.timezone=a.timeZone,delete a.timeZone;for(let o=0;o<n.length;o+=1){let l=n[o],h=o===0?l:n[o-1],c=e?.formatPerDateTimeUnit?.[l]??a,u=e?.formatPerDateTimeUnit?.[h];Lu(c)||(t.dateFormats.setKey(l,c),t.periodChangeDateFormats.setKey(l,u??c))}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 hH(s,t,e,i){let r=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:e});return r.numberFormat=s,a=>{let n=0;return a instanceof Date?a.toLocaleString(void 0,s):(n=typeof a!="string"?a??0:Fx(a,r.intlLocales),i===!0&&s.style==="percent"&&(n/=100),r.format(n))}}function j1(s){let{axis:t,formatOptions:e,overridePercentMultiplication:i,valueAxisFormatter:r}=s,a=Eo(e),n=ve(t.chart.uid,"formatLocale");Ls(t.uid,{numberFormatter:r??hH(a,t.chart.language.locale,n,i)})}function uH(s){let{axis:t,formatOptions:e,categoryAxisFormatter:i}=s,r=i!==void 0?i:Xm(e.characterLimit);Ls(t.uid,{categoryFormatter:r})}function cH(s){let{axis:t,labelsTextSymbol:e,axisValueFormatter:i}=s,r=ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior;if(Ls(t.uid,{axisLabelsBehavior:r}),i!==void 0)Ls(t.uid,{fontStyleCallback:void 0});else if(Vs(t.uid,"fontStyleCallback")===void 0){let a=n=>{let o=Vs(t.uid,"axisLabelsBehavior");return _a({textSymbol:e,placeholderString:n,format:"html",axisLabelsBehavior:o,defaults:{maxWidth:t.renderer.labels.template.maxWidth}})};Ls(t.uid,{fontStyleCallback:a})}}function dH(s){let{axis:t,isXAxis:e,formatOptions:i,labelsTextSymbol:r,overridePercentMultiplication:a,chartType:n,axisValueFormatter:o,isTimeOnlyField:l,errorStrings:h}=s,c=Um({isXAxis:e,chartType:n,valueFormat:i}),u=!1;!(t instanceof Ct)&&xa(i)?j1({axis:t,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}):t instanceof Ct&&ro(i)?lH({axis:t,formatOptions:i,dateAxisFormatter:o,isTimeOnlyField:l}):t instanceof Ot?ld(i)||c?(uH({axis:t,formatOptions:i,categoryAxisFormatter:o}),Ls(t.uid,{numberFormatter:void 0})):xa(i)?(j1({axis:t,formatOptions:i,overridePercentMultiplication:a,valueAxisFormatter:o}),Ls(t.uid,{categoryFormatter:void 0})):u=!0:u=!0,u&&Rm("mismatchAxisAndValueFormat",h),cH({axis:t,labelsTextSymbol:r,axisValueFormatter:o}),t.invalidateLabels()}function AH(s){let t=s;return s>=1?t=10**(s.toFixed(0).length-1):s<1&&s>0&&(t=10**-Math.abs(Math.floor(Math.log10(s)))),t}function ZL(s){let{minimumFromConfig:t,maximumFromConfig:e,isLogarithmic:i}=s,r=i===!0&&t!==null&&t!==void 0&&t<=0,a=!Number.isFinite(t)||!Number.isFinite(e);return r||a}var pH="arcgis-charts-randomization-seed";Cy(pH,Cy.URL);var ii={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 qL(s){let{actionMode:t,cursorRange:e,isRotated:i}=s,r=Qi.None;switch(e){case Vm.MultiAxes:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=Qi.SelectXY:t===Vt.Zoom&&(r=Qi.ZoomXY);break;case Vm.XAxis:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=i===!0?Qi.SelectY:Qi.SelectX:t===Vt.Zoom&&(r=i===!0?Qi.ZoomY:Qi.ZoomX);break;case Vm.YAxis:t===Vt.MultiSelectionWithCtrlKey||t===Vt.MultiSelection?r=i===!0?Qi.SelectX:Qi.SelectY:t===Vt.Zoom&&(r=i===!0?Qi.ZoomX:Qi.ZoomY);break}return r}function fH(s,t){let e=re.cursorCrosshair.style,i={type:Dt.SLS,style:t.style??e.style,color:t.color??e.color,width:t.width??e.width};Oc({element:s.cursor.lineX,lineSymbol:i}),Oc({element:s.cursor.lineY,lineSymbol:i})}function JL(s){if(!(s instanceof qs)&&!(s instanceof pr)){s.cursor=new pc;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);s.cursor.hideSeriesTooltipsOnSelection=!t}}function eI(s,t){if(!(s instanceof qs)&&!(s instanceof pr)){let e=s,i=e.cursor??new pc;t?.style!==void 0&&fH(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 mH(s){return!(s instanceof qs)&&s.cursor===void 0&&JL(s),s.cursor}function ew(s,t){let e=s.renderer.labels.template;e.events.hasListenersByType(Ie.Hit)&&(e.cursorOverStyle=t),s.renderer.labels.each(i=>{i.cursorOverStyle=t})}function gH(s){let{chart:t,chartType:e,showMean:i,enabled:r}=s,a=r?ai.pointer:ai.default;switch(e){case V.ComboLineAndBarSeries:case V.BarSeries:case V.PieSeries:t.series.each(n=>{(n instanceof Ni||n instanceof ws)&&(n.cursorOverStyle=a)});break;case V.BoxPlotSeries:t.series.each(n=>{let o=a;if(n instanceof Pi){let l=Zr(n);l!==void 0&&(i&&Hs(n.uid,"isBoxPlotOutliersSeries")&&(o=ai.default),l.cursorOverStyle=o,l.clones.each(h=>{h.cursorOverStyle=o}))}else n.cursorOverStyle=i?ai.default:a});break;case V.LineSeries:t.series.each(n=>{if(n instanceof Pi){let o=Zr(n);o!==void 0&&(o.cursorOverStyle=a,o.clones.each(l=>{l.cursorOverStyle=a}))}});break}}function yH(s){let{chart:t,actionMode:e,cursorRange:i}=s,r=ve(t.uid,"isRotated"),a=ve(t.uid,"config"),n=Ca(a),o=ze(a?.series),l=o===V.LineSeries&&xa(a?.axes?.[0]?.valueFormat),h=o===V.LineSeries&&ld(a?.axes?.[0]?.valueFormat),c=o===V.LineSeries&&ro(a?.axes?.[0]?.valueFormat),u,d=!1,A=e??ve(t.uid,"actionMode")??re.actionMode;if(ve(t.uid,"filterBySelection")===!0)u=Qi.None,d=!1;else if(i!==void 0)u=qL({actionMode:A,cursorRange:i,isRotated:r});else switch(A){case Vt.Zoom:l||c?u=Qi.ZoomXY:u=r===!0?Qi.ZoomY:Qi.ZoomX,d=!1;break;case Vt.MultiSelection:case Vt.MultiSelectionWithCtrlKey:h?u=r===!0?Qi.SelectY:Qi.SelectX:u=Qi.SelectXY,d=!0;break;case Vt.MonoSelection:u=Qi.None,d=!0;break;case Vt.None:u=Qi.None,d=!1;break}t instanceof Wt&&t.cursor!==void 0&&u!==void 0&&(t.cursor.behavior=u),gH({chart:t,chartType:o,enabled:d,showMean:n})}function tI(s){let t="";return s instanceof Wr?t=s.dataFields?.categoryX??s.dataFields?.dateX??s.dataFields?.valueX??"":s instanceof ws&&(t=s.dataFields?.category??""),t}function iI(s){let t="";return s instanceof Wr?t=s.dataFields?.categoryY??s.dataFields?.dateY??s.dataFields?.valueY??"":s instanceof ws&&(t=s.dataFields?.value??""),t}function rI(s){return ve(s.chart.uid,"isRotated")===!0?iI(s):tI(s)}function bu(s){return ve(s.chart.uid,"isRotated")===!0?tI(s):iI(s)}function Dv(s,t=0){let e=ve(s.chart.uid,"config");return ze(e?.series,t)}function*vH(s){let{filterList:t,queryObject:e,queryConfig:i}=s;for(let r=0;r<t.length;r+=1){let a={...i};a.where=Km([a.where,t[r]]),yield FF({queryObject:e,queryConfig:a,uniqueFeature:!0})}}async function sI(s){let{whereList:t,queryObject:e,queryFilter:i,queryConfig:r}=s,a=[];if(t.length>0){let n=yF().maxElementsPerSelectionQuery,o=[],l=Math.ceil(t.length/n);for(let c=0;c<l;c+=1){let u=c*n,d=(c+1)*n,A=t.slice(u===0?0:u-1,d),p=Km(A,"OR");p=Km([i,p]),o.push(p)}let h=vH({filterList:o,queryObject:e,queryConfig:r});a=(await Promise.all(h)).flat(),a=Array.from(new Set(a))}return a}var Au={Outlier:"outlier",Box:"box",OutlierToOutlier:"outlier-outlier",OutlierToBox:"outlier-box",BoxToOutlier:"box-outlier",BoxToBox:"box-box"};function bH(s,t){let e=s[lt.boxPlot.boxPlotOutlierId]===!0?Au.Outlier:Au.Box,i=typeof t=="number"?Au.Outlier:Au.Box;return`${e}-${i}`}function xH(s){let{oneSelectedItem:t,dataContext:e,selectedOutlierKey:i}=s;return t[i]===e[i]}function _H(s){let{elementMin:t,elementMax:e,selectedOutlierValue:i}=s,r;return typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(r=i>=t&&i<=e),r}function CH(s){let{selectedMin:t,selectedMax:e,elementOutlierValue:i,oneSelectedItem:r,iqrField:a}=s,n;typeof t=="number"&&typeof e=="number"&&typeof i=="number"&&(n=i>=t&&i<=e);let o=a in r;return n!==!1&&o}function wH(s){let{selectedMin:t,selectedMax:e,elementMin:i,oneSelectedItem:r,elementMax:a,iqrField:n}=s,o;typeof i=="number"&&typeof a=="number"&&typeof t=="number"&&typeof e=="number"&&(o=!(i>=e||a<=t));let l=n in r;return o!==!1&&l}function BH(s){let{oneSelectedItem:t,dataContext:e,xAxisField:i}=s,r=e[lt.originalCategoryValue]??e[lt.boxPlot.boxPlotCategory]??e[i],a=t[lt.originalCategoryValue]??t[lt.boxPlot.boxPlotCategory]??t[i];return r===a}function SH(s){let{chartSubType:t,yAxisField:e,splitBy:i,showOutliers:r}=s,a=t===Ee.BoxPlotMultiFieldsAndCategory?e:void 0,n={y:a,splitBy:i},o=er({...n,key:Kt.Outlier}),l=er({...n,key:Kt.Max,showOutliers:r}),h=er({...n,key:Kt.Min,showOutliers:r}),c=er({...n,key:Kt.Max,showOutliers:!1}),u=er({...n,key:Kt.Min,showOutliers:!1}),d=er({...n,key:Kt.Max,showOutliers:!0}),A=er({...n,key:Kt.Min,showOutliers:!0}),p=er({splitBy:i,y:a,key:Kt.IQR});return{selectedOutlierKey:o,maxField:l,minField:h,selectedMaxFieldWoOutliers:c,selectedMinFieldWoOutliers:u,selectedMaxFieldWithOutliers:d,selectedMinFieldWithOutliers:A,iqrField:p}}function FH(s){let{elementDataContext:t,layerOidField:e,xAxisField:i,splitBy:r,yAxisField:a,chartSubType:n,showOutliers:o}=s,l=t,h;if(l?.[lt.boxPlot.boxPlotMeanLineMarkerId]===!0){let c=er({splitBy:r,key:Kt.Average});h=u=>{let d=!i||!(i in u&&i in l)||u[i]===l[i],A=c in u&&c in l;return d&&A}}else i!==void 0&&a!==void 0&&(h=c=>{let u;if(e!==void 0&&e in c&&e in l)u=c[e]===l[e];else{let{selectedOutlierKey:d,maxField:A,minField:p,selectedMaxFieldWoOutliers:f,selectedMinFieldWoOutliers:m,selectedMaxFieldWithOutliers:g,selectedMinFieldWithOutliers:y,iqrField:_}=SH({chartSubType:n,yAxisField:a,splitBy:r,showOutliers:o}),w=l[d],S=c[d],P=l[p],T=l[A],L=c[m]??c[y],$=c[f]??c[g],I=BH({oneSelectedItem:c,dataContext:l,xAxisField:i});if(I)switch(bH(c,w)){case Au.OutlierToOutlier:I=xH({oneSelectedItem:c,dataContext:l,selectedOutlierKey:d});break;case Au.OutlierToBox:I=_H({elementMin:P,elementMax:T,selectedOutlierValue:S});break;case Au.BoxToOutlier:I=CH({selectedMin:L,selectedMax:$,elementOutlierValue:w,oneSelectedItem:c,iqrField:_});break;case Au.BoxToBox:I=wH({selectedMin:L,selectedMax:$,elementMin:P,oneSelectedItem:c,elementMax:T,iqrField:_});break}u=I===!0}return u});return h}function _w(s){let{layerOidField:t,sliceDataContext:e,selectionDataContext:i,xAxisField:r}=s,a=!1;if(t!==void 0&&t in e&&t in i)a=i[t]?.toString()===e[t]?.toString();else{let n=e[lt.originalCategoryValue];n===void 0&&(n=e[r]),n===void 0&&(n=e[io]);let o=i[lt.originalCategoryValue];o===void 0&&(o=i[r]),o===void 0&&(o=i[io]),a=n!==void 0&&o!==void 0&&n===o}return a}function Av(s){let{dataContext:t,specificField:e,xOrY:i}=s,r=t[i==="x"?lt.originalCategoryValue:lt.originalYCategoryValue];return r===void 0&&e&&(r=t[e]),r===void 0&&(r=t[i==="x"?Cr.xField:Cr.yField]),r}function Lv(s){let{options:t,elementDataContext:e,selectionDataItems:i,layerOidField:r,xAxisField:a,yAxisField:n,chartType:o,splitBy:l,chartSubType:h}=s,c=!1,u;if(e!==void 0&&i!==void 0)switch(o){case V.HeatSeries:let d=e,A=Av({dataContext:d,specificField:a,xOrY:"x"}),p=Av({dataContext:d,specificField:n,xOrY:"y"});u=f=>{let m=Av({dataContext:f,specificField:a,xOrY:"x"}),g=Av({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(a!==void 0&&n!==void 0){let f=e;u=m=>{let g,y=r;if(h===Ee.BarAndLineSplitByNoAggregation){let _=Ch({where:l,keepSurroundingQuotes:!1,escape:!1});y=`${r}_${_}`}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(lt.dateBinningRange in f&&typeof m[a]=="number"){let _=m[a],w=m[lt.dateBinningRange],S=Array.isArray(w)&&Number.isFinite(w[0])&&Number.isFinite(w[1]),[P,T]=S?w:[0,0],[L,$]=f[lt.dateBinningRange],I=f[lt.lastTemporalBin]===!0?_<=$:_<$;g=(S?P<$&&L<T:_>=L&&I)&&n in m&&Number.isFinite(m[n])}else{let _=S=>{let P=S[lt.originalCategoryValue];return P===void 0&&(P=S[a]),P=P===null?lt.nullValue:P,P},w=_(f);g=_(m)===w&&n in m}return g}}break;case V.BoxPlotSeries:u=FH(s);break;case V.ScatterSeries:if(a!==void 0&&n!==void 0){let f=e;if(!vF({dataContext:f,chartLimits:t?.chartLimits}))u=m=>{let g;return r!==void 0&&r in f&&r in m?g=m[r]===f[r]:g=m[a]===f[a]&&m[n]===f[n],g};else{let{dataContextXMinField:m,dataContextXMaxField:g,dataContextYMinField:y,dataContextYMaxField:_}=lt.scatterplotAggregationFields,{[m]:w,[g]:S}=f,P=a!==n?f[y]:w,T=a!==n?f[_]:S,L=I=>{let M=I[a]??Number.NaN,F=w??Number.NaN,Q=S??Number.NaN;return w===S?M===F:(M??Number.NaN)>=F&&(M??Number.NaN)<Q},$=I=>{let M=I[n]??Number.NaN,F=P??Number.NaN,Q=T??Number.NaN;return P===T?M===F:M>=F&&M<Q};u=I=>L(I)&&$(I)}}break;case V.HistogramSeries:u=f=>{let m=!1,{minValue:g,maxValue:y}=e,{isLastBin:_}=e;if(a!==void 0&&a in f){let w=f[a];m=typeof w=="number"&&w>=g&&(_&&w<=y||!_&&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:a!==void 0&&(u=f=>{let m=e,g=ah(m),y=[m];return g&&y.push(...Hf({groupOfSlicesDataContext:m})??[]),y.some(_=>_w({sliceDataContext:_,selectionDataContext:f,layerOidField:r,xAxisField:a}))});break}return u!==void 0&&(c=i.some(u)),c}function sh(s){let{isFeatureCollectionLayer:t,dataContext:e,yAxisField:i,yList:r,xAxisField:a,splitBy:n,chartType:o,chartSubType:l,showOutliers:h}=s,c={...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!==Ee.BarAndLineNoAggregation&&l!==Ee.BarAndLineSplitByNoAggregation)&&r.forEach(d=>{d!==i&&delete c[d]});let u=Mo({value:e[a],dataContext:e,keepNullValues:!0});c[a]=u,!Yi(n)&&!OF(n)&&(c[Vo(n)]=Ch({where:n,escape:!1}))}else if(o===V.BoxPlotSeries){c={[a]:e[a]},[Eu.uniqueIdsName,lt.boxPlot.boxPlotMeanLineMarkerId,lt.boxPlot.boxPlotOutlierId,lt.originalCategoryValue,lt.originalYCategoryValue].forEach(d=>{e[d]&&(c[d]=e[d])});let u=l===Ee.BoxPlotMultiFieldsAndCategory?i:void 0;Object.values(Kt).forEach(d=>{let A=er({key:d,y:u,splitBy:n,showOutliers:h});e[A]!==void 0&&(c[A]=e[A])})}}return c}function aI(s){let{data:t,colorMatch:e,chartSubType:i,rendererType:r}=s;return t!==void 0&&e&&r!==void 0&&(i===Ee.BoxPlotMultiFields&&(r===Mm.UniqueValue||r===Mm.PieChart)||i===Ee.BoxPlotMonoFieldAndCategory&&r===Mm.UniqueValue)&&t.some(a=>Object.keys(a).some(n=>n.includes(lt.rendererSymbolField)))}function TH(s){return!!/^data:[a-z]+\/[a-z+.-]+;base64/u.test(s)}function nI(s,t=512){if(!TH(s))throw new Error("Cannot convert a string that is not a data uri to a blob");let e=s.split(",")[0].split(":")[1].split(";")[0],i=atob(s.split(",")[1]),r=[];for(let a=0;a<i.length;a+=t){let n=i.slice(a,a+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(s){let{value:t,valueFormat:e,iLocale:i,formatLocale:r}=s,a=t?.toString(),n=yl({type:e.type,iLocale:i,formatLocale:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?a=n.format(t,Eo(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(a=n.format(t,Eo(e))),a}function _n(s){let{chart:t,config:e}=s,i=e;return e===void 0&&t!==void 0&&(i=ve(t.uid,"config")),ks(i)}function PH(s){s instanceof jl&&s.series.each(t=>{Yn(t.uid),t instanceof Pi&&Yn(Zr(t)?.uid),t.bullets.each(e=>{Yn(e.uid)}),t instanceof Ni&&t.columns.template.children.each(e=>{Yn(e.uid)})}),s instanceof Wt&&[s.xAxes.getIndex(0),s.xAxes.getIndex(1),s.yAxes.getIndex(0),s.yAxes.getIndex(1)].forEach(t=>{t!==void 0&&(Yn(t.uid??""),t.axisRanges.each(e=>{Yn(e.label?.uid)}))}),s instanceof qs&&s.radarContainer.children.each(t=>{Yn(t.uid)}),s instanceof pr&&s.series.getIndex(0)?.slices.each(t=>{Yn(t.uid)}),"cursor"in s&&s.cursor instanceof rA&&Yn(s.cursor?.uid),"legend"in s&&s.legend!==void 0&&(Yn(s.legend.uid),Yn(s.legend.valueLabels?.template?.uid)),Yn(s.uid)}function pv(s){return typeof s=="number"?s:s.value}async function DH(s){let{chart:t,exportOptions:e}=s,{format:i,quality:r=1,...a}=e,n=r<0||r>1?1:r,o=await t.exporting.getImage(i,{quality:n,...a}),l=nI(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function Iv(s,t){t!==void 0&&(t.marginBottom!==void 0&&(s.marginBottom=t.marginBottom),t.marginTop!==void 0&&(s.marginTop=t.marginTop),t.marginRight!==void 0&&(s.marginRight=t.marginRight),t.marginLeft!==void 0&&(s.marginLeft=t.marginLeft),t.verticalCenter!==void 0&&(s.verticalCenter=jL(t.verticalCenter)),t.horizontalCenter!==void 0&&(s.horizontalCenter=yw(t.horizontalCenter)),t.strokeWidth!==void 0&&(s.strokeWidth=t.strokeWidth),t.wrap!==void 0&&(s.wrap=t.wrap),t.truncate!==void 0&&(s.truncate=t.truncate),t.maxWidth!==void 0&&(s.maxWidth=t.maxWidth),t.applyOnClones!==void 0&&(s.applyOnClones=t.applyOnClones,s.background.applyOnClones=t.applyOnClones))}function vl(s,t){let e=t?.createChild(Mi)??new Mi;return Iv(e,s),e}function LH(s){let t=s.push(new Xd);t.dx=1,t.dy=1,t.opacity=1}function IH(s,t,e){if(e.alpha>0&&t>=0){s.length===0&&LH(s);let i=s.getIndex(0);i.blur=t,i.color=e}else s.clear()}function kH(s,t){let e=gs(s.uid,"isGuide"),i=t.visible===!1;return!i&&(e===!0||!(s instanceof Jo))&&t.content.text===""&&(i=!0),i}function W1(s){let{label:t,offset:e,offsetProperty:i}=s,r=99;if(t.adapter.remove(i,r),typeof e=="string"&&!Number.isFinite(Number(e))){let a=qA(e);a!==void 0&&(a/=100,t.adapter.add(i,()=>(t.parent?.[i==="dx"?"measuredWidth":"measuredHeight"]??0)*a,r))}else t[i]=e}function Cn(s){let{label:t,labelConfig:e,defaults:i,skipSettingText:r}=s;if(e!==void 0){let a=xv(e.content,t.rtl,i);t.fill=a.fill,t.fontFamily=a.fontFamily,t.fontWeight=a.fontWeight,t.fontSize=a.fontSize,t.textDecoration=a.textDecoration,t.align=a.align,t.valign=a.valign,t.verticalCenter=a.verticalCenter,t.horizontalCenter=a.horizontalCenter,t.background.fill=a.backgroundFill,t.background.stroke=a.borderFill,t.background.strokeWidth=a.borderWidth,t.rotation=a.angle,W1({label:t,offset:a.xOffset,offsetProperty:"dx"}),W1({label:t,offset:a.yOffset,offsetProperty:"dy"}),t.rtl=a.rtl,t.wrap=a.wrap,t instanceof Jo||(t.maxWidth=a.maxWidth),r||(t.text=a.text),IH(t.filters,a.haloSize,a.haloColor);let n=kH(t,e);t.disabled=n,Ri(t,e.visible!==!1&&!n)}else t.disabled=!0}function oI(s,t){t!==void 0&&(s===V.BarSeries||s===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=i.dataItem,{chart:a}=r?.component??{};return a instanceof Wt&&(i.visible=!NL(i,a)),e??0})}function lI(s,t){t!==void 0&&(s===V.BarSeries&&t.adapter.add("dx",(e,i)=>{let r=e??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)===!0&&(a.valueX??a.valueY)<0&&(r-=i.measuredWidth+re.dataLabelNegative.paddingRight),r}),(s===V.BarSeries||s===V.LineSeries)&&t.adapter.add("dy",(e,i)=>{let r=e??0,a=i.dataItem,{chart:n}=a?.component??{};return(n!==void 0?ve(n.uid,"isRotated"):!1)!==!0&&(a.valueX??a.valueY)<0&&(r+=i.measuredHeight+re.dataLabelNegative.paddingTop),r}))}function tw(s){s.bulletsContainer.invalidateLabels(),s instanceof Ni&&s.columns?.template.invalidateLabels()}function $H(s){let{dataValue:t,series:e,seriesType:i,stackedType:r,axisMin:a}=s,n=t===void 0;return t!==void 0&&(a!==void 0&&t<a?n=!0:e instanceof Ni&&(i===V.BarSeries||i===V.ComboLineAndBarSeries)&&(n=t===0&&r!==void 0&&r!==Gi.Side)),n}function iw(s,t){let e,i=r=>gs(r.uid,"isDataLabel")??!1;return t==="bullets"?e=s.bullets.values.find(i):s instanceof Ni&&(e=s.columns.template.children.values.find(i)),e}function rw(s,t){s.adapter.add("htmlOutput",(e,i)=>{let r=e,{dataItem:a}=i;if(Ef(s)&&(t instanceof Ni&&a instanceof Bs||t instanceof Pi&&a instanceof Xa)){let n=Hs(t.uid,t instanceof Ni?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(n!==void 0){let o=ve(t.chart.uid,"isRotated"),l=Hs(t.uid,"stackedType"),h=o===!0?a.valueX:a.valueY,c=o===!0?a.values?.valueX?.totalPercent:a.values?.valueY?.totalPercent,u=o===!0?(a.component?.xAxis).min:(a.component?.yAxis).min;r=$H({dataValue:h,series:t,seriesType:t instanceof Ni?V.BarSeries:V.LineSeries,stackedType:l,axisMin:u})?"":n(h,c)}}return Mr(r)},0)}function hI(s){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i}=s;return(r,a)=>{let n=i===Gi.Stacked100&&a!==void 0?a:r;return t.numberFormat.style==="percent"&&(n/=100),_a({textSymbol:{...e,text:t.format(n)},format:"html"})}}function uI(s){s.tabindex=-1}function cI(s){let{series:t,seriesType:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:a,yAxisValueFormat:n,stackedType:o,isRotated:l,defaultDataLabelFormatter:h,customDataLabelFormatter:c}=s;if(i!==void 0){let u=c,d=a?.content??{type:Dt.TS};if(c===void 0&&h!==void 0&&n?.type===V.NumberAxisFormat){let p=ve(t.chart.uid,"formatLocale"),f=yl({type:n.type,iLocale:t.chart.language.locale,formatLocale:p});f.numberFormat=n.intlOptions,u=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&&Po(t.uid,{[A]:u}),a!==void 0&&(a.content.text=l===!0?"{valueX}":"{valueY}",a.visible=a.visible!==!1),Cn({label:i,labelConfig:a,defaults:r??re.dataLabel}),tw(t)}}function kv(s,t){let e=t;e===void 0&&(e=ve(s.uid,"config"));let i=ve(s.uid,"colorMatchApplied")??!1;return(e?.colorMatch??!1)&&i}function dI(s,t){let e;return s instanceof Ct?e=t===!0?"dateY":"dateX":s instanceof Ot?e=t===!0?"categoryY":"categoryX":e=t===!0?"valueY":"valueX",e}function xA(s,t){s.name=t}function Cw(s){let{chart:t,lineSeries:e,applyPropertiesToClones:i}=s,r=e.bullets.push(new Oe);return MN(r.uid,{isBulletMarker:!0}),i!==!1&&(r.applyOnClones=!0),e.bulletsContainer.parent=t.seriesContainer,r}function ww(s){let{series:t,seriesConfig:e,rotationChanged:i,stackedType:r,isRotated:a}=s;switch(r){case Gi.Stacked:{t.stacked=!0,t instanceof Pi&&(t.stackToNegative=e.stackNegativeValuesToBaseline??re.lineSeries.stackNegativeValuesToBaseline),i===a?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0,t.updateStacking();break}case Gi.Stacked100:{t.stacked=!0,a?t.dataFields.valueXShow="totalPercent":t.dataFields.valueYShow="totalPercent",t.updateStacking();break}case Gi.Side:default:{t.stacked=!1,i===a?t.dataFields.valueYShow=void 0:t.dataFields.valueXShow=void 0;break}}}function OH(s){return()=>{let{chart:t,marker:e}=s;e.clones.each(i=>{Ri(i,!NL(i,t))})}}function EH(s){let{chart:t,series:e,seriesType:i,marker:r,numberOfChartSeries:a,ignoreSmoothRenderingLimit:n}=s,o=OH({marker:r,chart:t}),l=a??1,h=t.data.length*l+l;n!==!0&&h>re.elementLimitForSmoothRendering&&(o=zs(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,()=>{tw(e)}),t.yAxes.getIndex(0)?.events.on(Ie.Validated,()=>{tw(e)}))}function AI(s,t){s.series.each(e=>{let i=Hs(e.uid,t);i!==void 0&&!i.isDisposed()&&i.dispose()})}function MH(s){let t;return s!==void 0&&s.series.length>0&&(t=s.series.values.map(e=>e.visible?e.id:"").filter(e=>e!=="")),t}function WC(s){let{dataItem:t,y:e,splitBy:i,showOutliers:r}=s,a=er({key:Kt.Min,y:e,splitBy:i,showOutliers:r}),n=er({key:Kt.Max,y:e,splitBy:i,showOutliers:r}),o=er({key:Kt.FirstQuartile,y:e,splitBy:i,showOutliers:r}),l=er({key:Kt.ThirdQuartile,y:e,splitBy:i,showOutliers:r});return Number.isFinite(t[a])&&Number.isFinite(t[n])&&Number.isFinite(t[o])&&Number.isFinite(t[l])}function RH(s,t){let e=0;if(s!==void 0&&t!==void 0){let i=No(t.series),r=kt(t.series),a=Ro(t);s.data.forEach(n=>{switch(r){case Ee.BoxPlotMonoField:case Ee.BoxPlotMultiFields:case Ee.BoxPlotMonoFieldAndCategory:WC({dataItem:n,showOutliers:a})&&(e+=1);break;case Ee.BoxPlotMultiFieldsAndCategory:i.forEach(o=>{WC({dataItem:n,y:o,showOutliers:a})&&(e+=1)});break;case Ee.BoxPlotMonoFieldAndSplitBy:case Ee.BoxPlotMultiFieldsAndSplitBy:case Ee.BoxPlotMonoFieldAndCategoryAndSplitBy:t.series.forEach(o=>{WC({dataItem:n,splitBy:o.query?.where,showOutliers:a})&&(e+=1)});break}})}return e}function X1(){return s=>{let t=ve(s.chart.uid,"config"),e=!1;if(t!==void 0&&s instanceof Wr){let i=RH(s.chart,t),r=0,a=0,n=0,o=0,l=0;s.chart.series.values.forEach(u=>{if(u instanceof wr)r+=u.columns.length;else if(u instanceof Pi&&!(u instanceof pa)){let d=Zr(u);if(d!==void 0&&!d.disabled){let A=d.clones.values.filter(p=>!(p.dataItem instanceof fo))?.length??0;if(Hs(u.uid,"isBoxPlotMeanLineSeries")===!0){o+=A;let p=u.data.filter(f=>Number.isFinite(f[u.dataFields.valueX??u.dataFields.valueY??""])).length;l+=p}else{let p=u.data.filter(f=>Number.isFinite(f[u.dataFields.valueX??u.dataFields.valueY??""])).length;n+=p,a+=A}}}});let h=n===0||a>=n,c=l===0||o>=l;e=r>=i&&h&&c&&s.chart.appeared&&s.isReady()&&s.chart.isReady()}return e}}function UH(s,t){let e;switch(s){case V.BarSeries:e=(i,r)=>{if(i instanceof Ni){let a=_n({chart:i.chart}),n=0;if(r.type===V.BarSeries){let o=(a?i.dataFields.valueX:i.dataFields.valueY)??r.y;n=i.chart?.data?.filter(l=>Number.isFinite(l[o])).length}return i.chart.isReady()&&i.columns.length===n}return!1};break;case V.LineSeries:t===!0?e=X1():e=(i,r)=>{if(i instanceof Pi){let a=_n({chart:i.chart}),n=Zr(i),o=0;if(r.type===V.LineSeries){let{y:l}=r,h=(a?i.dataFields.valueX:i.dataFields.valueY)??[l].flat()[0];o=i.chart?.data?.filter(c=>Number.isFinite(c[h])).length}return i.chart.appeared&&i.chart.isReady()&&n!==void 0&&n.clones.values.length>=o}return!1};break;case V.PieSeries:e=i=>i instanceof ws&&i.slices.length>0;break;case V.BoxPlotSeries:e=X1();break}return e}function pI(s){let{series:t,callbackInfo:e,seriesConfig:i,onReadyEvent:r}=s,{type:a}=e,n=ze([i]),o=Hs(t.uid,"isBoxPlotMeanLineSeries"),l=a==="style"?"updateStyleCallbackDisposer":"updateSelectionCallbackDisposer",h=async d=>{let{type:A,callbackProps:p}=d;A==="selection"?g2(p):d.styleCallback!==void 0&&(Ri(t,i.visible),await d.styleCallback(p))};r===!0&&t.events.once(Ie.Ready,async()=>await h(e));let c=Hs(t.uid,l);c!==void 0&&c.dispose();let u=UH(n,o);c=(n===V.PieSeries?t.chart:t).events.on(Ie.Validated,async()=>{u!==void 0&&u(t,i)&&(c!==void 0&&c.dispose(),await h(e))}),t.dispatchImmediately(Ie.Validated),Po(t.uid,{[l]:c})}function $v(s){let{series:t,styleCallback:e,callbackProps:i,onReadyEvent:r,seriesConfig:a}=s;pI({callbackInfo:{styleCallback:e,callbackProps:i,type:"style"},series:t,seriesConfig:a,onReadyEvent:r})}function VH(s){let{series:t,callbackProps:e,seriesConfig:i,onReadyEvent:r}=s;pI({callbackInfo:{callbackProps:e,type:"selection"},series:t,seriesConfig:i,onReadyEvent:r})}function Hc(s){let{defaultChartItemRole:t}=re.aria;s instanceof wr||s instanceof Ni?(s.columns.template.properties.role=t,s.columns.template.focusable=!0,s.columns.template.hoverOnFocus=!0,s.itemReaderText=tp()):s instanceof pa?s.segments.template.properties.role=t:s instanceof Pi?s.bullets.values.forEach(e=>{e.focusable=!0,e.properties.role=t,e.readerTitle=tp(),e.hoverOnFocus=!0}):s instanceof ws&&(s.slices.template.properties.role=t,s.slices.template.hoverOnFocus=!0,s.itemReaderText="{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%")}function NH(s){let t=ve(s.uid,"config");s.series.each(e=>{let i=t?.series?.find(r=>r.id===e.id);i!==void 0&&i.visible!==!1&&!e.visible&&Ri(e)})}function Ov(s,t){let e=ze(t?.series);return t?.series.find(i=>{let r=!1;return e!==V.BoxPlotSeries||s instanceof wr?r=s.id===i.id:s instanceof pa?r=s.id.replace(`_${ji.Top}`,"")===i.id||s.id.replace(`_${ji.Median}`,"")===i.id||s.id.replace(`_${ji.Bottom}`,"")===i.id:s instanceof Pi&&(r=s.id.replace(`_${ji.Outliers}`,"")===i.id),r})}var aa={CustomActive:"custom-active",CustomInactive:"custom-inactive",Default:"default",Active:"active"};function HH(s,t){let e=!1;if(t!==void 0&&Ef(s)){let i=Tt.spriteRectToSvg(s.bbox,s),r=t.x,a=t.y,n=t.x+t.width,o=t.y+t.height,l=i.x,h=i.y,c=i.x+i.width,u=i.y+i.height;e=!(l>n||c<r||h>o||u<a)}return e}function Qc(s){let{element:t,customSelectionTheme:e,useNativeState:i}=s,r=i===!0?aa.Active:aa.CustomActive,a=t.states.getKey(r)??t.states.create(r),n=t.states.getKey(aa.CustomInactive)??t.states.create(aa.CustomInactive),{selectedElementsTheme:o,nonSelectedElementsTheme:l}=e??re.selectionTheme??{};H1(a,o),H1(n,l)}function Kn(s){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,useNativeState:a,backToDefaultState:n}=s;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=a===!0?aa.Active:aa.CustomActive,h=n===!0?aa.Default:aa.CustomInactive;t.setState(t.isActive?l:h,0),t.isActive&&(t.toFront(),t.dataItem?.component instanceof mo&&t.dataItem.component.toFront())}return t?.isActive??!1}function Ev(s,t){let e=!1;if(t instanceof Wt||t instanceof pr){let i=ve(t.uid,"actionMode");i!==void 0&&(e=i===Vt.MultiSelection||i===Vt.MultiSelectionWithCtrlKey&&(s?.event?.ctrlKey||s?.event?.metaKey))}return e}function fI(s){let t=s instanceof Wt&&s.zoomOutButton.isHover,e=s.legend.isHover,i=!1,r=!1,a=!1,n=!1;if(s instanceof Wt){i=s.xAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),r=s.yAxes.values.some(l=>l.renderer.labels.template.events.has(Ie.Hit)&&l.renderer.isHover),a=i||r;let o=ve(s.uid,"config");Ca(o)&&(n=s.series.values.find(l=>l instanceof wr)?.isHover??!1)}return!t&&!e&&!a&&!n}function Bw(s,t){return s.values.filter(e=>{let i=!1,r=!e.isActive;if(!(e.dataItem instanceof fo)){e.isActive=!e.isActive;let a=ve(t.uid,"filterBySelection")!==!0&&r;Kn({element:e,selected:a}),i=r}return i})}function z1(s,t){let e=[],{columns:i,chart:r}=s,a=ve(r.uid,"config");if(a&&i!==void 0&&s.visible){let n=a?.series[0].x,o=s?.dataFields?.customValue??"",l=Dv(s,t),h=Ov(s,a),c=l===V.BoxPlotSeries?h?.y:bu(s),u={element:{},yAxisField:c,xAxisField:n,splitBy:o,seriesIndex:t,chartConfig:a};e=Bw(i,r).map(d=>({...u,element:d,elementDataContext:d.dataItem?.dataContext,elementIndex:d.dataItem?.index}))}return e}function G1(s,t){let e=[];if(s.visible){let i=Zr(s)?.clones;if(i!==void 0){let{chart:r}=s,a=ve(r.uid,"config");if(a){let n=a.series[0].x??"",o=bu(s),l=s?.dataFields?.customValue??"",h={element:{},xAxisField:n,yAxisField:o,splitBy:l,seriesIndex:t,chartConfig:a};e=Bw(i,r).map(c=>({...h,element:c,elementDataContext:c.dataItem?.dataContext,elementIndex:c.dataItem?.index}))}}}return e}function QH(s){let t=[];if(s.visible){let{chart:e}=s,i=ve(e.uid,"config");if(i){let r=rI(s),a=bu(s),n={element:{},xAxisField:r,yAxisField:a,seriesIndex:0,chartConfig:i},o;t=Bw(s.slices,e).map(l=>{let h=l.dataItem?.dataContext??{};return ah(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 jH(s){let{chart:t,selectionSource:e,chartConfig:i}=s,r=!1,a=[];if($l(i)){if(r=Ca(i),a=t.series.values.filter(n=>!(n instanceof pa)),e===Pr.SelectionByClick){let n=new Set,o=a.find(l=>l instanceof wr&&l.isHover);o===void 0?a.forEach(l=>{l instanceof Pi&&(l.id.includes(ji.Outliers)&&l.tooltip?.visible===!0||Hs(l.uid,"isBoxPlotMeanLineSeries"))&&n.add(l)}):n.add(o),a=Array.from(n)}}else a=t.series.values;return a=a.filter(n=>n.visible&&(!r||!(n instanceof wr||Hs(n.uid,"isBoxPlotOutliersSeries")))),a}async function mI(s){let{chart:t,cursorSelectionRectangle:e,multiSelect:i,selectionSource:r,hitElement:a,queryObject:n}=s,o=ve(t.uid,"config"),l=o?.series[0]?.x??"",h=[];ni(t.uid,{pendingSelectionQueries:!0});let c=[],u=!0;jH({chart:t,selectionSource:r,chartConfig:o}).forEach((d,A)=>{let p=Ov(d,o);if(o&&d.visible&&d instanceof Wr){let f=Dv(d,A)===V.BoxPlotSeries?p?.y:bu(d),m=d.dataFields?.customValue??"",g={element:{},yAxisField:f,xAxisField:l,splitBy:m,seriesIndex:A,chartConfig:o},y;d instanceof Ni||d instanceof wr?y=d.columns?.values:d instanceof pa?y=d.segments.values:d instanceof Pi&&(y=Zr(d)?.clones?.values,g.uniqueFeature=!0),y!==void 0&&(c=[...c,...y],y.forEach((_,w)=>{if(!(_.dataItem instanceof fo)){let S=_.isActive,P=_===a||HH(_,e);P&&(u=!1);let T=!1;S?P?T=r!==Pr.SelectionByClick:T=i===!0:T=P,T&&h.push({...g,element:_,elementDataContext:_.dataItem?.dataContext,elementIndex:w}),Kn({element:_,selected:T})}}))}}),u&&(h=[]),await Wf({chart:t,listSelectedElements:h,selectionSource:r,queryObject:n})}function WH(s,t){let e=async i=>{let r=i.target.cursor;if(r.xRange!==void 0){r.selection.isMeasured=!0,r.validate(),r.selection.validate();let a=Tt.spriteRectToSvg(r.selection.bbox,r.selection);if(r.selection.hide(),a.width>0||a.height>0){let n=Ev(i,s);await mI({chart:s,cursorSelectionRectangle:a,multiSelect:n,selectionSource:Pr.SelectionByRange,queryObject:t})}}r.selection.hide()};qn(s)&&s.events.on(Ie.Up,async i=>{let r=i.target.cursor,a=IN(s.uid,"selectEndedCallbackDisposer");if(a!==void 0&&a.dispose(),r.xRange!==void 0&&i.event instanceof TouchEvent)await e(i);else{let n=r.events.once(Ie.SelectEnded,async()=>{await e(i)});kN(s.uid,{selectEndedCallbackDisposer:n})}})}async function Cv(s){let{hitEvent:t,chart:e,queryObject:i}=s,{target:r}=t,a=ve(e.uid,"actionMode");if(e!==void 0&&fI(e)&&a!==Vt.None&&a!==Vt.Zoom&&(r instanceof Wt||t.point===void 0)){let n=t.svgPoint?{x:t.svgPoint.x,y:t.svgPoint.y,width:0,height:0}:void 0,o=Ev(t,e);await mI({chart:e,cursorSelectionRectangle:n,multiSelect:o,selectionSource:Pr.SelectionByClick,hitElement:r,queryObject:i})}}function XH(s,t){qn(s)&&(s.zoomOutButton.hoverable=!0,s.events.on(Ie.Hit,async e=>await Cv({hitEvent:e,chart:s,queryObject:t})),s.events.on(Ie.DoubleHit,async e=>await Cv({hitEvent:e,chart:s,queryObject:t})))}function Qf(s){let{chart:t,element:e,queryObject:i}=s;e.events.on(Ie.Hit,async r=>await Cv({hitEvent:r,chart:t,queryObject:i})),e.events.on(Ie.DoubleHit,async r=>await Cv({hitEvent:r,chart:t,queryObject:i}))}async function zH(s,t){let{series:e}=s;if(e.length>0){ni(s.uid,{pendingSelectionQueries:!0});let i=ve(s.uid,"config"),r=e.values.map((a,n)=>{let o=[];if(a.visible){let l=ze(i?.series,n);l===V.BarSeries?o=z1(a,n):l===V.LineSeries?o=G1(a,n):l===V.PieSeries?o=QH(a):l===V.BoxPlotSeries&&(a instanceof wr?o=z1(a,n):a instanceof Pi&&!(a instanceof pa)&&(o=G1(a,n)))}return o}).flat();await Wf({chart:s,listSelectedElements:r,selectionSource:Pr.ProgrammaticSelection,queryObject:t}),s instanceof pr&&s.feedLegend()}}function XC(s){if(qn(s))if(s.events.disableType(Ie.Hit),s.events.disableType(Ie.DoubleHit),s instanceof pr){let t=s.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 s instanceof Wt&&(s.xAxes.each(t=>wv(t,!0)),s.yAxes.each(t=>wv(t,!0)),s.events.disableType(Ie.Up))}function GH(s){if(qn(s))if(s.events.enableType(Ie.Hit),s.events.enableType(Ie.DoubleHit),s instanceof pr){let t=s.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 s instanceof Wt&&(s.xAxes.each(t=>wv(t,!1)),s.yAxes.each(t=>wv(t,!1)),s.events.enableType(Ie.Up))}function gu(s){let{element:t,stylingInfo:e,stateKey:i="default"}=s;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:a}=e;r.stroke=a.stroke,r.strokeOpacity=a.stroke.alpha===0?0:1,r.strokeDasharray=a.strokeDasharray,r.strokeLinecap=a.strokeLinecap,r.strokeWidth=a.strokeWidth}}}function Sw(s){return s.values.every(t=>t.isReady())}function jc(s,t){s.events.on(Ie.Ready,()=>{let{chart:e}=s;e!==void 0&&Sw(s.chart.series)&&(NH(e),t(),xh(s.chart.htmlContainer))})}function mA(s,t){return t!=null&&t!==""?t:s}function gI(s,t){let e;switch(s){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 Fw(s){let{config:t,fieldName:e="",utilsStrings:i}=s,r=t.series[0].query?.outStatistics?.[0].statisticType??Ub.statisticType,a=gI(r,i);return fA(i.statistics.aggregation,{statistics:a,fieldName:e})}function yI(s){let{config:t,fieldList:e,objectIdField:i,seriesIndex:r,isStacked100:a,utilsStrings:n}=s,o="",l=t.series[r].name,h=t.series[r],c=[h.y].flat()[0],u=t.axes,d=kt(t.series),A=i??Eu.outStatistics.onStatisticField,p=h.query?.outStatistics?.[0].onStatisticField??A,f=Er(e,p),m=h.query?.outStatistics?.[0].statisticType??Ub.statisticType,g=gI(m,n);return d===Ee.BarAndLineNoAggregation?o=l??Er(e,c):d===Ee.BarAndLineSplitByNoAggregation?o=Er(e,c):(o=m===Pn.Count&&p===A?n.statistics.count:fA(n.statistics.aggregation,{statistics:g,fieldName:f??l}),d===Ee.BarAndLineMonoField&&!a&&(o=mA(o,u[1].title?.content?.text))),o}function vI(s,t){let{dataTooltipStyle:e,dataTooltipStyleReversed:i}=re;if(t===!0){let r=s.background.fill;if(r!==void 0){s.background.stroke=r,s.background.strokeWidth=i?.outline?.width??Number.NaN,s.background.fill=xn(i?.color);let a=s.background.fill.rgb;if(a!==void 0){let n=s.label.fill;s.label.fill=Fg(a)?n?.darkColor:n?.lightColor}}}else s.getStrokeFromObject=!0,s.getFillFromObject=!0,s.background.strokeWidth=e?.outline?.width??Number.NaN,s.background.stroke=xn(e?.outline?.color)}function YH(s){let t=s.tooltip??new Ao;t.pointerOrientation="vertical",s instanceof wr||s instanceof pa?t.label.maxWidth=re.boxPlot.boxPlotTooltipLabelWidth:t.label.maxWidth=re.tooltipWidth,t.label.wrap=!0,t.events.on(Ie.Shown,e=>{let i=ve(s.chart.uid,"config");if(i!==void 0){let r=Ov(s,i),{dataTooltipReverseColor:a}=r??{};vI(e.target,a)}})}function KH(s){s instanceof qs||s.series.each(t=>{YH(t)})}function bI(s,t){s.tooltipHTML=re.htmlEmptyContent,s.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:a}=t;if(a!==void 0){let n=ve(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)r="";else{let l=Hs(t.uid,"barAndLineTooltipFormatter");if(l!==void 0&&t.isReady()){let{dataItem:h}=i;if(h instanceof Bs||h instanceof Xa){let c=n?.series.find(u=>u.id===t.id);if(c!==void 0){let u=_n({config:n}),d=u?h.valueX:h.valueY,A=(u?h.values.valueX.totalPercent:h.values.valueY.totalPercent)/100,p=h.dataContext??{};if(p!==void 0){let f=ve(a.uid,"rendererFieldNames"),m=Mo({value:p[c.x],dataContext:p,useRendererLabel:JA(n,f),specificField:rp(kt([c]),c)}),g=so(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 Mr(r)}),s.tooltipPosition=t instanceof Pi?re.markerTooltipPosition:re.columnTooltipPosition,t.cursorTooltipEnabled=!1}function ZH(s){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:a,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=s,l=n;l===void 0&&(xa(a)&&a?(l=a,t&&(l.intlOptions.style="decimal")):l=Qm());let h=ve(e.chart.uid,"formatLocale"),c=i!==void 0?Rf({value:i,valueFormat:l,iLocale:e.chart.language.locale,formatLocale:h}):"",u="";if(t&&r!==void 0){let d=o;d===void 0&&(d=zb(),d.intlOptions.minimumFractionDigits=2,d.intlOptions.maximumFractionDigits=2),u=Rf({value:r,valueFormat:d,iLocale:e.chart.language.locale,formatLocale:h})}return{formattedStatValue:c,formattedPercentValue:u}}function qH(s){let{series:t,dateRange:e,xAxisValueFormat:i}=s,r,a=ve(t.chart.uid,"timeIntervalInfo");if(e!==void 0&&e.length>0){let n={};switch(a?.unit){case tr.Second:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case tr.Minute:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Hour:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Day:case tr.Week:case tr.Month:case tr.Year:n={month:"numeric",day:"numeric",year:"numeric"};break}n.timeZone=i.intlOptions.timeZone;let o=new Date(e[0]),l=new Date(e[1]);if(!Number.isNaN(o.valueOf())){let h=ve(t.chart.uid,"formatLocale"),c=yl({type:V.DateAxisFormat,iLocale:t.chart.language.locale,formatLocale:h}),u=c.format(o,n);if(r=u,!Number.isNaN(l.valueOf())){let d=c.format(l,n);d!==u&&(r=`${r} - ${d}`)}}}return r?.toString()??""}function xI(s){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:a,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:c}=s,u,d=ve(n.chart.uid,"formatLocale");return qm({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:c})&&l!==void 0&&e?.type===V.DateAxisFormat?u=qH({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?u=new Date(o).toLocaleTimeString(d):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(u=Rf({value:o,valueFormat:a??e,iLocale:n.chart.language.locale,formatLocale:d})):typeof o=="number"&&xa(e)?u=Rf({value:o,valueFormat:r??e,iLocale:n.chart.language.locale,formatLocale:d}):u=o,u?.toString()??""}function JH(s){let{series:t,fieldList:e,queryObject:i,setTimeBinningInfoWhenNotProvided:r,seriesIndex:a,seriesConfig:n,utilsStrings:o}=s,{dataTooltipValueFormat:l,dataTooltipPercentFormat:h,dataTooltipDateFormat:c}=n,u=()=>"",{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)u=()=>"";else{let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,_=kt(A.series),w=e?.find(M=>M.name===n.x)?.type===GA.TimeOnly,S=Ua(A)===Gi.Stacked100,P=_h(Ys(i)).idField,T=Er(e,n.x),L=mA(T,m[0].title?.content.text),$=yI({config:A,fieldList:e,objectIdField:P,seriesIndex:a,utilsStrings:o,isStacked100:S}),I=Ra(d.rtl);u=M=>{let{statValue:F,percentValue:Q,xValue:Y,dateBinningRange:z}=M,ee=xI({seriesConfig:n,xAxisValueFormat:g,dataTooltipValueFormat:l,dataTooltipDateFormat:c,setTimeBinningInfoWhenNotProvided:r,series:t,xValue:Y,dateBinningRange:z,isTimeOnlyField:w,queryObject:i}),{formattedStatValue:ie,formattedPercentValue:de}=ZH({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:l,dataTooltipPercentFormat:h,series:t,statValue:F,percentValue:Q}),K=[`<b>${L}${I} </b>${ee}`];switch(_){case Ee.BarAndLineFromFields:{K.pop();let G=Fw({config:A,fieldName:Er(e,ee??""),utilsStrings:o});K.push(`<b>${G}${I} </b>${ie}`);break}case Ee.BarAndLineMonoField:case Ee.BarAndLineNoAggregation:case Ee.BarAndLineMultiFields:K.push(`<b>${$}${I} </b>${ie}`);break;case Ee.BarAndLineSplitByNoAggregation:case Ee.BarAndLineSplitBy:{let G=Vo(n.query?.where,!1),xe=hx({value:Er(e,G),escape:!0});K.push(`<b>${xe}${I} </b>${t.name}<br /><b>${$}${I} </b>${ie}`)}break}return S&&K.push(`<b>${o.statistics.percent}${I} </b>${de}`),K.join("<br />")}}}}return u}function _I(s){let{series:t,tooltipFormatter:e}=s;Po(t.uid,{barAndLineTooltipFormatter:e??JH(s)})}function Tw(s){let{target:t,defaultTooltipHTML:e,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,tooltipCallback:n}=s,o=e,l=i??r;if(l!==void 0){let{chart:h}=l;if(h!==void 0){let c=ve(h.uid,"config"),{dataTooltipVisible:u}=c?.series[0]??{};if(u===!1)o="";else{let d=Hs(l.uid,"boxPlotTooltipFormatter");d!==void 0&&l.isReady()&&c&&(o=n({target:t,defaultTooltipHTML:e,config:c,candleStickSeries:i,meanLineSeries:r,outliersSeries:a,boxPlotTooltipFormatter:d}))}}}return Mr(o)}function eQ(s){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,outliersSeries:a,boxPlotTooltipFormatter:n}=s,o=e;if(r!==void 0&&a!==void 0){let l=r.dataItems.values.find(c=>(c.categories.categoryX??c.categories.categoryY)===(t.dataItem?.categories.categoryX??t.dataItem?.categories.categoryY)),h=i.series.find(c=>c.id===r.id);if(h!==void 0){let c=l?.dataContext??{};if(c!==void 0){let u=Mo({value:c[h.x],dataContext:c,useRendererLabel:Ol(i),specificField:lt.xAxisField}),d=so(c);d===void 0&&(d=u),o=n({seriesName:a.name,xValue:u,originalXValue:d,dataContext:c})}}}return o}function tQ(s){let{target:t,defaultTooltipHTML:e,config:i,meanLineSeries:r,boxPlotTooltipFormatter:a}=s,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 Xa){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let c=Mo({value:h[l.x],dataContext:h,useRendererLabel:Ol(i),specificField:lt.xAxisField}),u=so(h);u===void 0&&(u=c),n=a({seriesName:r.name,xValue:c,originalXValue:u,dataContext:h})}}}}return n}function iQ(s){let{target:t,defaultTooltipHTML:e,config:i,candleStickSeries:r,boxPlotTooltipFormatter:a}=s,n=e;if(r!==void 0){let o=t.dataItem;if(o instanceof Ac){let l=i.series.find(h=>h.id===r.id);if(l!==void 0){let h=o.dataContext??{};if(h!==void 0){let c=Mo({value:h[l.x],dataContext:h,useRendererLabel:Ol(i),specificField:lt.xAxisField}),u=so(h);u===void 0&&(u=c),n=a({seriesName:r.name,xValue:c,originalXValue:u,dataContext:h})}}}}return n}function rQ(s){s.cursorTooltipEnabled=!1,s.tooltipPosition=re.columnTooltipPosition,s.columns.template.tooltipHTML=re.htmlEmptyContent,s.columns.template.adapter.add("tooltipHTML",(t,e)=>Tw({target:e,defaultTooltipHTML:t??"",candleStickSeries:s,tooltipCallback:iQ}))}function sQ(s,t){let e=Zr(s);e!==void 0&&(e.tooltipPosition=re.markerTooltipPosition,e.tooltipHTML=re.htmlEmptyContent,s.cursorTooltipEnabled=!1,e.adapter.add("tooltipHTML",(i,r)=>Tw({target:r,defaultTooltipHTML:i??"",candleStickSeries:t,outliersSeries:s,tooltipCallback:eQ})))}function aQ(s){let t=Zr(s);t!==void 0&&(s.cursorTooltipEnabled=!1,t.tooltipPosition=re.markerTooltipPosition,t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>Tw({target:i,defaultTooltipHTML:e??"",meanLineSeries:s,tooltipCallback:tQ})))}function du(s){let{label:t,value:e,strongColon:i,useTable:r}=s,a=`<b>${t}${i}</b> ${e}`;return r!==!1?`<tr><td>${a}</td></tr>`:a}function nQ(s){let{dataContext:t,series:e,dataTooltipValueFormat:i,y:r,splitBy:a,utilsStrings:n,useTable:o}=s,l=i??Qm(),h=Object.values(Kt),c=Ra(e.rtl),u=o!==!1?['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>']:[""];return h.forEach(d=>{let A=er({key:d,y:r,splitBy:a}),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 Kt.Min:g=n.statistics.minimum;break;case Kt.FirstQuartile:g=n.statistics.firstQuartile;break;case Kt.Median:g=n.statistics.median;break;case Kt.ThirdQuartile:g=n.statistics.thirdQuartile;break;case Kt.Max:g=n.statistics.maximum;break;case Kt.IQR:g=n.statistics.iqr;break;case Kt.Average:g=n.statistics.mean;break;case Kt.StandardDeviation:}Lu(g)||u.push(du({label:g,value:m,strongColon:c,useTable:o}))}}),u}function oQ(s){let{series:t,fieldList:e,seriesConfig:i,utilsStrings:r,queryObject:a}=s,{dataTooltipValueFormat:n}=i,o=()=>"",{chart:l}=t;if(l!==void 0){let h=ve(l.uid,"config");if(h!==void 0){let c=h.axes,u=c?.[0].valueFormat,{showMean:d}=h,A=kt(h.series),p=Vo(i.query?.where),f=Er(e,p),m=Ch({where:i.query?.where,escape:!1}),g=Er(e,i.x),y;i.x!==Hm&&(y=mA(g,c?.[0].title?.content.text));let _=Ra(l.rtl);o=w=>{let{dataContext:S,xValue:P}=w,T=xI({seriesConfig:i,xAxisValueFormat:u,series:t,xValue:P,queryObject:a}),L=[],$=T!==void 0&&!Lu(T)?Er(e,T):"",I=d===!0?[h.series[0].y].flat()[0]:[i.y].flat()[0],M=Er(e,I);switch(A){case Ee.BoxPlotMonoField:case Ee.BoxPlotMultiFields:case Ee.BoxPlotMonoFieldAndSplitBy:case Ee.BoxPlotMultiFieldsAndSplitBy:{if(T!==void 0&&!Lu(T)){let ee=A===Ee.BoxPlotMonoField?i.name??$:$;L.push(du({label:r.field,strongColon:_,value:ee}))}Yi(f)||L.push(du({label:f,strongColon:_,value:i.name??m?.toString()}));break}case Ee.BoxPlotMonoFieldAndCategory:case Ee.BoxPlotMultiFieldsAndCategory:{L.push(du({label:r.field,strongColon:_,value:i.name??M})),T!==void 0&&!Lu(T)&&L.push(du({label:y,strongColon:_,value:$}));break}case Ee.BoxPlotMonoFieldAndCategoryAndSplitBy:L.push(du({label:r.field,strongColon:_,value:M})),T!==void 0&&!Lu(T)&&L.push(du({label:y,strongColon:_,value:$})),Yi(f)||L.push(du({label:f,strongColon:_,value:i.name??m?.toString()}));break}let F=[Ee.BoxPlotMultiFieldsAndCategory],Q=S[re.boxPlot.boxPlotMeanLineMarkerId]!==void 0,Y=L.length>0&&!Q,z=nQ({dataContext:S,series:t,dataTooltipValueFormat:n,splitBy:i.query?.where,y:F.includes(A)?[i.y].flat()[0]:void 0,utilsStrings:r,useTable:Y});return Y?`${L.join("<br>")}<table>${z.join("")}</table>`:`${L.join("<br>")}${z.join("<br>")}`}}}return o}function lQ(s){let{series:t,tooltipFormatter:e}=s;Po(t.uid,{boxPlotTooltipFormatter:e??oQ(s)})}function hQ(s){let t=vl(re.dataLabelInitialize);return mu(t.uid,{isDataLabel:!0}),s.bullets.push(t),uI(t),oI(V.LineSeries,t),lI(V.LineSeries,t),rw(t,s),t.html="{valueX}",t}function uQ(s){let{series:t}=s,e=iw(t,"bullets");cI({...s,dataLabel:e,defaultDataLabelFormatter:hI})}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},CI=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 cQ(s,t){t!==void 0&&(t.layout!==void 0&&(s.layout=t.layout),t.width!==void 0&&(s.width=N1(t.width)),t.height!==void 0&&(s.height=N1(t.height)),t.paddingTop!==void 0&&(s.paddingTop=t.paddingTop),t.paddingBottom!==void 0&&(s.paddingBottom=t.paddingBottom))}function dQ(s){let t=!1,e=s.legend?.visible,i=s.legend?.title?.content.text,r=s.legend?.title?.visible;return t=e!==!1&&r!==!1&&i!==void 0&&i.length>0,t}function wI(s,t){let e=new Pe;return cQ(e,s),e.parent=t,e}function BI(s,t){s.disabled=t}function AQ(s,t){s.toBack()}function pQ(s){if(s instanceof qs){let{paddingTop:t,paddingRight:e,paddingBottom:i,paddingLeft:r}=re.gauge;s.padding(t,e,i,r)}else{let{paddingMinSize:t,marginMinSize:e,chartPaddingMinSize:i,chartContainer:r}=re;s.padding(i,i,i,i),s.chartAndLegendContainer.margin(e,e,e,e),s.chartAndLegendContainer.padding(t,t,t,t),s.chartContainer.margin(e,e,e,e),s.chartContainer.padding(r.paddingTop,t,t,t)}}function fQ(s,t){let e=(i,r)=>{let{chartContainer:a,chartAndLegendContainer:n}=re,o=ve(i.uid,"config");if(o!==void 0){let l=dQ(o),h=o.legend?.position;if(l)switch(h){case rt.Top:i.chartAndLegendContainer.paddingTop=r.bbox.height??0,i.chartContainer.paddingBottom=a.paddingBottom??0;break;case rt.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=a.paddingBottom??0;break}else i.chartAndLegendContainer.paddingTop=n.paddingTop??0,i.chartContainer.paddingBottom=a.paddingBottom??0}};t.events.on(Ie.PositionChanged,()=>{e(s,t)})}function Pw(s){let{iLocale:t,pieChart:e,valueIntlOptions:i,percentageIntlOptions:r,displayNumericValue:a,displayPercentage:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c}=s,u=ve(e.uid,"formatLocale"),d=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:u}),A=yl({type:V.NumberAxisFormat,iLocale:t,formatLocale:u});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 _=`${o??""}${d.format(m)}${l??""}`,w=`${h??""}${A.format(Math.abs(g/100))}${c??""}`;Number.isFinite(m)?a===!0&&n===!0?y=`${w}${p}(${_})`:a===!0?y=_:n===!0&&(y=w):y=""}return y}}function SI(s){let t=!1;if(s.position===rt.Right||s.position===rt.Left)t=!0;else{let e=s.labels.getIndex(0)?.parent?.x;e!==void 0&&(t=!s.labels.values.some(i=>i.parent?.x!==e))}return t}function mQ(s){let t=!1,e=s.labels.getIndex(0)?.parent?.y;return e!==void 0&&(t=!s.labels.values.some(i=>i.parent?.y!==e)),t}function gQ(s){s.events.on(Ie.LayoutValidated,()=>{let t=SI(s),e=mQ(s),i=t||!e?bi.Right:bi.Center;s.valueLabels.template.horizontalCenter=yw(i),s.valueLabels.template.align=QL(i)})}function yQ(s){mu(s.valueLabels.template.uid,{isLegendValueLabel:!0}),s.valueLabels.template.adapter.add("htmlOutput",(t,e)=>{let i=t,r=$N(s.uid,"pieChartLegendValueLabelsFormatter");if(r!==void 0&&(i=r(e.dataItem?.values?.value?.value??0,e.dataItem?.values?.value?.percent??0)),Yi(i)&&(i=re.htmlEmptyContent),s.baseSprite instanceof jl){let a=ve(s.baseSprite.uid,"config");a?.legend?.body!==void 0&&(i=_a({textSymbol:{...a.legend.body,text:i},format:"html"}))}return Mr(i)}),s.valueLabels.template.html=re.htmlEmptyContent,gQ(s)}function vQ(s){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i,pieChartLegendValueLabelFormatter:r}=s,{visible:a,body:n,displayNumericValue:o,displayPercentage:l,displayCategory:h}=i??{};if(ze(e)===V.PieSeries){let{numericValueFormat:c,percentValueFormat:u,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,_=r;if(r===void 0){let P=Pw({iLocale:t.language.locale,pieChart:t.baseSprite,valueIntlOptions:c?.intlOptions,percentageIntlOptions:u?.intlOptions,displayNumericValue:g,displayPercentage:y,valuePrefix:d,valueSuffix:A,percentagePrefix:p,percentageSuffix:f});_=(T,L)=>P("",T,L)}ON(t.uid,{pieChartLegendValueLabelsFormatter:_});let w=SI(t),S={type:V.Text,visible:a,content:{...n,type:Dt.TS,text:".",verticalAlignment:Yt.Middle,horizontalAlignment:w?bi.Right:bi.Center}};Cn({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 bQ(s){let{dataContext:t}=s.target.dataItem??{};if(t instanceof Ta){let{component:e}=t;e instanceof ws&&e.showTooltip()}}function xQ(s){let t=()=>{let e=s.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,a=e.children.getIndex(r)?.clonedFrom;a!==void 0&&gs(a.uid,"isLegendValueLabel")!==!0&&s.children.each(n=>{n.className==="Container"&&n.children.swap(1,r)})}}};s.events.on(Ie.Validated,t),t()}function Y1(s,t){let{legendLabelReducedOpacity:e}=re.legendProperties;s!==void 0&&(s.fillOpacity=t===!1?e:1)}function kf(s){let{labels:t,seriesId:e,sliceCategory:i}=s;t.each(r=>{i!==void 0?i===r.dataItem.category&&Y1(r,r.dataItem.slice.visible??!0):e===r.dataItem?.component?.id&&Y1(r,r.dataItem?.component?.visible??!0)})}function Dw(s){s instanceof ws?(s.slices.template.events.on(Ie.Shown,t=>{let e=t.target.dataItem.category;kf({labels:s.chart?.legend?.labels,sliceCategory:e}),kf({labels:s.chart?.legend?.valueLabels,sliceCategory:e})}),s.slices.template.events.on(Ie.Hidden,t=>{let e=t.target.dataItem.category;kf({labels:s.chart?.legend?.labels,sliceCategory:e}),kf({labels:s.chart?.legend?.valueLabels,sliceCategory:e})})):s.events.on(Ie.VisibilityChanged,t=>{let e=t.target.id;kf({labels:s.chart?.legend?.labels,seriesId:e})})}function FI(s){let{title:t,visible:e}=s;return t!==void 0&&e!==!1&&t?.visible!==!1}function _Q(s,t){let{legendProperties:e}=re;if(s.position===rt.Bottom)s.marginTop=e.marginTop??0,s.marginBottom=0,s.dy=0;else if(s.position===rt.Top)s.marginBottom=e.marginBottom??0,s.marginTop=0,s.dy=0;else if(s.marginTop=0,s.marginBottom=0,!(s.baseSprite instanceof pr)){let i=FI(t),r=t.title?.content?.font?.size??re.generalFontSize;s.dy=-(i?r:15)}}function CQ(s){let t=s.baseSprite,e;if(t!==void 0){let i=ve(t?.uid,"config");e=t?.rtl&&(i?.legend?.position===rt.Top||i?.legend?.position===rt.Bottom)}return e??!1}function wQ(s){let t=s.baseSprite,e="";if(t instanceof Wt){let i=ve(t.uid,"config"),r=ks(i),a=r?B.Rotated:B.NonRotated,n=Ua(i),o=B.SideBySide;n===Gi.Stacked?o=B.Stacked:n===Gi.Stacked100&&(o=B.Stacked100);let l=t.rtl?B.RTL:B.LTR,h;switch(i?.legend?.position){case rt.Left:h=B.LegendLeft;break;case rt.Top:h=B.LegendTop;break;case rt.Bottom:h=B.LegendBottom;break;case rt.Right:default:h=B.LegendRight;break}let c=r?t.yAxes.getIndex(0):t.xAxes.getIndex(0),u;c instanceof Ct?u=B.DateAxis:c instanceof He?u=B.ValueAxis:u=B.CategoryAxis;let d=i?.orderOptions?.data&&"orderBy"in i.orderOptions.data&&i.orderOptions.data.orderBy===zA.Descending?B.OrderByFieldsDESC:B.OrderByFieldsASC;e=`${a}-${l}-${o}-${h}-${u}-${d}`}return e}function BQ(s){let t=wQ(s);return CI.has(t)}function TI(s,t){let{legend:e,legendTitle:i}=s??{};switch(t){case V.PieSeries:e.reverseOrder=CQ(e);break;case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:e.reverseOrder=BQ(e);break}let r=e.reverseOrder===!0?e.children.length-1:0;e.children.moveValue(i,r)}function SQ(s){if(s.visible){let t=ve(s.chart.uid,"config")?.series.find(e=>e.id===s.id);if(t!==void 0&&ze([t])===V.LineSeries){let{markerVisible:e}=t;e!==!1&&s.bulletsContainer.show()}}}function FQ(s,t){let e=s.target.dataItem,i=s.target.isActive;if(e?.dataContext!==void 0){let{dataContext:r}=e,a={visible:i};if(r instanceof Ta)ve(t.uid,"isNonAggregatedChart")===!0?a.sliceData=r.dataContext:a.sliceId=r.category;else if(r instanceof wr){let o=r.id,l=jf(t,o);if(l!==void 0){let d=ve(t.uid,"config"),A=Iw(d?.showOutliers,i),p=Zr(l);p!==void 0&&(p.disabled=!A),Ri(l,A)}let{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t,o);h!==void 0&&Ri(h,i),c!==void 0&&Ri(c,i),u!==void 0&&Ri(u,i),a.seriesId=r.id}else a.seriesId=r.id;let n=r instanceof Ta?r.component:r;(n instanceof Wr||n instanceof ws)&&n.events.once(Ie.Validated,()=>{n instanceof Wr&&(UI(n),n.events.dispatchImmediately(Ie.Validated,{type:Ie.Validated,target:n}));let o=n instanceof ws,l=ve(t.uid,"currentSelectionDataItems"),h=l!==void 0&&l.length>0,c=ve(t.uid,"actionMode")??re.actionMode,u;n instanceof Ni?u=n.columns:o?u=n.slices:n instanceof Pi&&(SQ(n),u=Zr(n)?.clones),u?.each(d=>{d.dataItem instanceof fo||(Kn({element:d,selected:d.isActive,useNativeState:o,backToDefaultState:!h}),o&&c===Vt.None&&(d.clickable=!1))})}),Jb(a,t.htmlContainer)}}function TQ(s){let{legendProperties:t,legendProperties:e}=re;s.adapter.add("paddingRight",()=>s.scrollbar.visible?e.legendPaddingRightWithScrollbarVisible:t.paddingRight),s.adapter.add("paddingLeft",()=>t.paddingLeft),s.adapter.add("paddingTop",()=>t.paddingTop),s.adapter.add("paddingBottom",()=>t.paddingBottom)}function PQ(s){s.scrollable=!0}function DQ(s){let t=vl(void 0,s);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:a}=re.legendProperties.legendTitle;switch(ve(s.baseSprite.uid,"config")?.legend?.title?.content?.horizontalAlignment){case bi.Left:i=t.measuredWidth+(r??0);break;case bi.Right:i=s.measuredWidth-t.measuredWidth-(a??0);break;case bi.Center:case bi.Justify:default:i=s.measuredWidth/2;break}return i}),t.adapter.add("disabled",e=>(e===!1&&t.validate(),e)),t}function LQ(s){let{legendConfig:t,legendTitle:e}=s,{title:i,position:r}=t,{legendTitle:a}=re.legendProperties,n=FI(t);if(i!==void 0){let o={...i,visible:n};Cn({label:e,labelConfig:o,defaults:a}),e.marginLeft=a.marginLeft??0}r===rt.Top||r===rt.Bottom?(e.maxWidth=Number.NaN,e.isMeasured=!1):(e.maxWidth=a.maxWidth??Number.NaN,e.marginTop=n?e.bbox?.height??i?.content?.font?.size??re.generalFontSize:0,e.isMeasured=!0)}function IQ(s){let t=re.legendProperties;s.labels.template=vl(t.legendLabels),s.valueLabels.template=vl(t.legendLabels),s.markers.template.width=t.legendMarkersSize,s.markers.template.height=t.legendMarkersSize,s.labels.template.adapter.add("wrap",()=>!0),s.labels.template.adapter.add("maxWidth",e=>{let i=e,r;if(s.baseSprite instanceof pr&&(r=ve(s.baseSprite.uid,"config")?.legend?.labelMaxWidth),s.position===rt.Right||s.position===rt.Left)i=r??re.legendProperties.legendLabels.maxWidth;else if(r!==void 0)i=r;else{let a=0;s.valueLabels.template.disabled||s.valueLabels.each(n=>{a=Math.max(a,n.measuredWidth)}),i=s.measuredWidth-a-45}return i}),s.labels.template.adapter.add("textOutput",(e,i)=>{let r=i.dataItem?.label?.currentText,a,n=ve(s.baseSprite.uid,"config");if(n!==void 0){let{series:o}=n;if(ze(o)===V.PieSeries){let l=kt(o)===Ee.PieFromFields?io:o[0].x,h=i.dataItem?.dataContext?.[l];typeof h=="string"?a=h:h&&typeof h!="object"&&(a=h.toString())}else i.dataItem?.component instanceof mo&&(a=i.dataItem.component.name)}return(a!==void 0&&!Yi(a)?zm(a):a)??r}),s.valueLabels.template.adapter.add("maxWidth",e=>{let i=e,r;return s.baseSprite instanceof pr&&(r=ve(s.baseSprite.uid,"config")?.legend?.valueLabelMaxWidth),s.position===rt.Right||s.position===rt.Left?i=r??re.legendProperties.valueLabels.maxWidth:i=r??Number.NaN,i})}function kQ(s,t){s.itemContainers.template.events.on(Ie.Hit,e=>FQ(e,t)),t instanceof pr&&s.itemContainers.template.events.on(Ie.Over,e=>bQ(e))}function $Q(s){s.itemContainers.template.reverseOrder=s.rtl}function fv(s,t){s.adapter.keys().includes(t)||s.adapter.add(t,e=>{let i=e,r=s.dataItem?.dataContext;if(r!==void 0){let a=r instanceof Ta?r.component?.chart:r.chart;if(a!==void 0){let n=ve(a.uid,"config"),{rectangleMarkerRadius:o,roundedMarkerRadius:l}=re.legendProperties;i=n?.legend?.roundMarkers===!0?l:o}}return i})}function K1(s){s.markers.each(t=>{let e=t.children.getIndex(0);e instanceof jr&&(fv(e,"cornerRadiusBottomLeft"),fv(e,"cornerRadiusBottomRight"),fv(e,"cornerRadiusTopLeft"),fv(e,"cornerRadiusTopRight"),e.validate())})}function OQ(s){s.markers.template.events.on(Ie.Inited,()=>{K1(s)}),s.events.once(Ie.Validated,()=>{K1(s)})}function EQ(s){let{legendElements:{legend:t},seriesConfig:e,webChartLegend:i}=s,{visible:r,body:a}=i??{},n=ze(e),o={type:V.Text,visible:r,content:{...a,type:Dt.TS,text:" "}};Cn({label:t.labels.template,labelConfig:o,defaults:re.legendProperties.legendLabels}),t.labels.template.valign=Yt.Middle,t.valueLabels.template.valign=Yt.Middle,n===V.PieSeries&&vQ(s),t.valueLabels.template.width=Number.NaN}function MQ(s,t){t.chartContainer.events.on(Ie.SizeChanged,zs(()=>{let e=ve(t.uid,"config")?.legend?.maxHeight??Number.NaN;Number.isFinite(e)||(s.position===rt.Top||s.position===rt.Bottom?e=re.legendProperties.maxHeight:e=t instanceof pr?t.chartContainer.measuredHeight:t.seriesContainer.measuredHeight),s.maxHeight=e,s.invalidateLayout()}),re.debounceTime)}function RQ(s,t){let{position:e}=t;e===rt.Top||e===rt.Bottom?s.contentAlign=bi.Center:s.contentAlign="none"}function UQ(s,t){let{legend:e}=s;e.events.on(Ie.DataItemsValidated,()=>{e.dataItems.length>0&&TI(s,t)})}function VQ(s,t){t===rt.Right||t===rt.Left?s.width=Number.NaN:s.maxWidth=Number.MAX_SAFE_INTEGER}function PI(s,t){let e=ai.pointer;t===!0?(s.itemContainers.template.clickable=!1,s.itemContainers.template.focusable=!1,e=ai.default):(s.itemContainers.template.clickable=!0,s.itemContainers.template.focusable=!0),s.itemContainers.values.forEach(i=>{i.cursorOverStyle=e})}function NQ(s,t){let e=new rc;s.legend=e,PQ(e);let i=DQ(e);return IQ(e),yQ(e),kQ(e,s),$Q(e),TQ(e),UQ({legend:e,legendTitle:i},ze(t)),MQ(e,s),fQ(s,i),xQ(e),s.legend.events.on(Ie.ChildAdded,()=>{let r=ve(s.uid,"options");PI(e,r?.disableTogglingLegendItems)}),{legend:e,legendTitle:i}}function Lw(s){let{legendElements:t,seriesConfig:e,webChartLegend:i}=s,{legend:r,legendTitle:a}=t,n=r.baseSprite,o=(n===void 0?!0:ux(e))&&i?.visible!==!1;if(n&&i&&o){let{position:l=re.legendProperties.position}=i;Ri(r,!0),LQ({legendConfig:i,legendTitle:a}),OQ(r),EQ(s),RQ(r,i),TI(t,ze(e)),r.position=l,VQ(r,l),_Q(r,i),PI(r,ve(n.uid,"options")?.disableTogglingLegendItems)}else r.position=rt.Right,r.width=0,Ri(r,!1)}function HQ(s){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],queryObject:a,hideLoaderHandle:n,selectionTheme:o,ignoreSmoothRenderingLimit:l}=s,h=e.series.length,{rotated:c}=e,u=e.series[i],{y:d,name:A,id:p,assignToSecondValueAxis:f}=u,m=new Pi;m.id=p,jc(m,n),xA(m,A);let g,y;c!==!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 _=_n({chart:t}),w=kt(e.series),S=w===Ee.BarAndLineSplitByNoAggregation?`${d.toString()}_${Ch({where:u.query?.where,keepSurroundingQuotes:!1,escape:!1})}`:[d].flat()[0];_?m.dataFields.valueX=S:m.dataFields.valueY=S;let P=_?r[1]:r[0];if(P!==void 0){let $=dI(P,_);m.dataFields[$]=re.xAxisField}m.dataFields.customValue=u?.query?.where;let T=Ys(a);DI({series:m,seriesConfig:u,seriesIndex:i,chartSubType:w,colorMatch:e.colorMatch===!0,rendererType:Gm(e.chartRenderer,T?.renderer)}),LI(u,m);let L=Cw({chart:t,lineSeries:m,applyPropertiesToClones:!1});return bI(L,m),hQ(m),Qc({element:L,customSelectionTheme:o}),Qf({chart:t,element:L,queryObject:a}),EH({chart:t,numberOfChartSeries:h,series:m,seriesType:V.LineSeries,marker:L,ignoreSmoothRenderingLimit:l}),Dw(m),Hc(m),m}function QQ(s){let{series:t,seriesIndex:e,chartSubType:i,seriesConfig:r,colorMatch:a,lineColor:n,rendererType:o}=s,l=Zr(t),h=!1,c;if(l!==void 0){r.markerVisible!==!1&&r.visible!==!1?t.bulletsContainer.show():t.bulletsContainer.hide();let{markerSymbol:u}=r;u===void 0&&(u=Gb(),u.color=n),a?u.color=n:u.color??=n;let d=new Set,A;_v({element:l,markerSymbol:u}),l.clones.each(p=>{if(p.dataItem instanceof fo)_v({element:p,markerSymbol:u}),p.states.getKey(aa.CustomActive)?.reset(),p.states.getKey(aa.CustomInactive)?.reset();else{let f=p.dataItem?.dataContext,m=on({seriesConfig:r,dataItem:f,chartSubType:i,colorMatch:a,rendererType:o}),g=Mc({seriesConfig:r,seriesIndex:e,seriesSymbol:u,element:p,colorMatch:a,rendererSymbol:m});c=g.symbolWithColorInfo,A=g.stylingInfo,gu({element:p,stylingInfo:A}),d.add(JSON.stringify(A))}}),h=d.size>1,h||gu({element:l,stylingInfo:A})}return h?void 0:c}function jQ(s){let{series:t,seriesConfig:e,chartSubType:i,colorMatch:r,rendererType:a}=s,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:a}),n!==void 0&&(l=!1),l}),n}function DI(s){let{series:t,seriesIndex:e,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}=s,o=t,l=jQ({series:o,seriesConfig:i,chartSubType:r,colorMatch:a,rendererType:n}),h=Mc({seriesConfig:i,seriesIndex:e,seriesSymbol:i.lineSymbol??Yb(e),element:o,colorMatch:a,rendererSymbol:l});return Ri(o,i.visible),h.symbolWithColorInfo}function LI(s,t){s.showArea===!0?s.areaColor!==void 0?(t.fill=xn(s.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 II(s){let{series:t,seriesIndexMapper:e,seriesSymbolMapForEvent:i,seriesIndex:r,colorMatch:a,rendererType:n}=s,o=s.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,c=kt(l?.series);Ri(t,o.visible);let u=DI({series:t,seriesConfig:o,seriesIndex:r,chartSubType:c,colorMatch:a,rendererType:n}),d=QQ({series:t,seriesIndex:r,seriesConfig:o,chartSubType:c,colorMatch:a,lineColor:u.color,rendererType:n});i.set(e.get(o.id)??r,{lineSymbol:u,markerSymbol:d}),LI(o,t),i.size===h&&(nn({data:i,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)}),t.chart.feedLegend())}function WQ(s){let{seriesConfig:t,lineSeries:e,isRotated:i}=s;t.lineSmoothed===!0?e.smoothing=i?Vb.MonotoneY:Vb.MonotoneX:e.smoothing=re.lineSeries.lineSmoothedKind}function Z1(s,t){let{connectLines:e,temporalBinning:i}=t,r=i?.nullPolicy;s.connect=e!==!1&&r!==Nb.Null}function XQ(s){let{seriesConfig:t,series:e,axes:i,rotationChanged:r,seriesIndex:a,fieldList:n,stackedType:o,queryObject:l,options:h,utilsStrings:c}=s,{visible:u,name:d}=t,A=i[1].valueFormat,p=ve(e.chart.uid,"config"),f=_n({config:p}),m=kt(p?.series);e.id=t.id,Ri(e,u);let g=d,y=e.dataFields?.customValue??"";(m===Ee.BarAndLineSplitBy||m===Ee.BarAndLineSplitByNoAggregation)&&(g=Zm({queryObject:l,fieldName:Vo(y),fieldValue:g})??g),xA(e,g),Z1(e,t),ww({series:e,seriesConfig:t,rotationChanged:r,stackedType:o,isRotated:f}),Z1(e,t),$v({styleCallback:II,callbackProps:s,series:e,seriesConfig:t,onReadyEvent:!0}),WQ({seriesConfig:t,lineSeries:e,isRotated:f}),_I({series:e,seriesConfig:t,fieldList:n,queryObject:l,seriesIndex:a,setTimeBinningInfoWhenNotProvided:h?.setTimeBinningInfoWhenNotProvided,utilsStrings:c,tooltipFormatter:h?.tooltipFormatter}),uQ({series:e,seriesType:V.LineSeries,stackedType:o,dataLabelsConfig:t.dataLabels,yAxisValueFormat:A,customDataLabelFormatter:h?.dataLabelFormatter})}function Mv(s,t){let e=s.series.values.find(a=>a.id===`${t}_${ji.Top}`),i=s.series.values.find(a=>a.id===`${t}_${ji.Median}`),r=s.series.values.find(a=>a.id===`${t}_${ji.Bottom}`);return{topStepLineSeries:e,medianStepLineSeries:i,bottomStepLineSeries:r}}function jf(s,t){return s.series.values.find(e=>e.id===`${t}_${ji.Outliers}`)}function Iw(s,t){return(s??re.boxPlot.boxPlotOutliersVisibility)&&t!==!1}function zQ(s){let{chart:t,axisList:e=[],chartConfig:i,seriesIndex:r,hideLoaderHandle:a,selectionTheme:n,queryObject:o}=s,l=Ca(i),h=i.series[r],[c,u]=e,d=new wr;return d.hoverable=!0,jc(d,a),l||(Qc({element:d.columns.template,customSelectionTheme:n}),Qf({chart:t,element:d.columns.template,queryObject:o})),d.id=h.id,c!==void 0&&(d.xAxis=c),u!==void 0&&(d.yAxis=u),d.simplifiedProcessing=!0,d.columns.template.applyOnClones=!0,d.riseFromOpenState.reset(),d.riseFromPreviousState.reset(),d.dropFromOpenState.reset(),d.dropFromPreviousState.reset(),xA(d,h.name),Hc(d),d}function zC(s){let{axisList:t=[],chartConfig:e,seriesIndex:i,type:r,hideLoaderHandle:a,selectionTheme:n}=s,o=e.series[i],[l,h]=t,c=new pa;return c.hoverable=!0,jc(c,a),c.id=`${o.id}_${r}`,l!==void 0&&(c.xAxis=l),h!==void 0&&(c.yAxis=h),c.noRisers=!0,c.simplifiedProcessing=!0,Qc({element:c.segments.template,customSelectionTheme:n}),c.hiddenInLegend=!0,Hc(c),c}function GQ(s){let{chart:t,axisList:e=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o}=s,l=i.series[a],h=Ca(i),[c,u]=e,d=new Pi;Po(d.uid,{isBoxPlotOutliersSeries:!0}),jc(d,r),d.id=`${l.id}_${ji.Outliers}`,c!==void 0&&(d.xAxis=c),u!==void 0&&(d.yAxis=u),d.simplifiedProcessing=!0,d.hiddenInLegend=!0,d.strokeOpacity=0;let A=Cw({chart:t,lineSeries:d});return h||(Qc({element:A,customSelectionTheme:n}),Qf({chart:t,element:A,queryObject:o})),Hc(d),d}function _A(s){let{chartConfig:t,seriesConfig:e,meanLineSeries:i,candleStickSeries:r,topStepLineSeries:a,medianStepLineSeries:n,bottomStepLineSeries:o,outliersSeries:l,creation:h=!1,rotationChanged:c,outliersVisibilityChanged:u,standardizeValuesVisibilityChanged:d}=s,{x:A,y:p}=e,f=h||c===!0||d===!0,m=f||u===!0,g=f,y=f;if(t!==void 0){let{showOutliers:_,standardizeValues:w,showMean:S}=t,P=_n({config:t});if(i instanceof Pi&&y){let F=kt(t.series),Q=e?.query?.where,Y=er({y:F===Ee.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:F,splitBy:Q,showOutliers:_,standardizeValues:pd(F)?w:!1,key:Kt.Average});P?(i.dataFields.valueX=Y,i.dataFields.categoryY=A):(i.dataFields.valueY=Y,i.dataFields.categoryX=A),i.dataFields.customValue=Q}let T=tg(t),L=kt(T.series),$=S===!0?void 0:e?.query?.where,I={y:L===Ee.BoxPlotMultiFieldsAndCategory?p:void 0,chartSubType:L,splitBy:$,showOutliers:_,standardizeValues:pd(L)?w:!1};if(m){if(r instanceof wr){let F=er({...I,key:Kt.Min}),Q=er({...I,key:Kt.FirstQuartile}),Y=er({...I,key:Kt.Max}),z=er({...I,key:Kt.ThirdQuartile});P?(r.dataFields.lowValueX=F,r.dataFields.openValueX=Q,r.dataFields.highValueX=Y,r.dataFields.valueX=z,r.dataFields.categoryY=A):(r.dataFields.lowValueY=F,r.dataFields.openValueY=Q,r.dataFields.highValueY=Y,r.dataFields.valueY=z,r.dataFields.categoryX=A),r.dataFields.customValue=$}if(a instanceof pa&&n instanceof pa&&o instanceof pa){let F=er({key:Kt.Max,...I}),Q=er({key:Kt.Median,...I}),Y=er({key:Kt.Min,...I});P?(a.dataFields.valueX=F,n.dataFields.valueX=Q,o.dataFields.valueX=Y,a.dataFields.categoryY=A,n.dataFields.categoryY=A,o.dataFields.categoryY=A):(a.dataFields.valueY=F,n.dataFields.valueY=Q,o.dataFields.valueY=Y,a.dataFields.categoryX=A,n.dataFields.categoryX=A,o.dataFields.categoryX=A),a.dataFields.customValue=$,o.dataFields.customValue=$,n.dataFields.customValue=$}}if(l instanceof Pi&&g){let F=er({...I,key:Kt.Outlier});P?(l.dataFields.valueX=F,l.dataFields.categoryY=A):(l.dataFields.valueY=F,l.dataFields.categoryX=A),l.dataFields.customValue=$,l.invalidateRawData()}let M=i?.chart??r?.chart;M!==void 0&&(m||y)&&M.invalidateRawData()}}function YQ(s){let{chart:t,axisList:e=[],chartConfig:i,hideLoaderHandle:r,seriesIndex:a,selectionTheme:n,queryObject:o}=s,l=i.series[a],[h,c]=e,u=new Pi;Po(u.uid,{isBoxPlotMeanLineSeries:!0}),jc(u,r),u.id=l.id,h!==void 0&&(u.xAxis=h),c!==void 0&&(u.yAxis=c),u.simplifiedProcessing=!0;let d=Cw({chart:t,lineSeries:u});return Qc({element:d,customSelectionTheme:n}),Qf({chart:t,element:d,queryObject:o}),Hc(u),aQ(u),_A({chartConfig:i,seriesConfig:l,meanLineSeries:u,creation:!0}),u}function KQ(s){let{chartConfig:t,seriesIndex:e}=s,i=t.series[e],r=ze([i]),a=[];if(r===V.BoxPlotSeries){let n=zQ(s),o=zC({...s,type:ji.Top}),l=zC({...s,type:ji.Median}),h=zC({...s,type:ji.Bottom}),c=GQ(s);rQ(n),sQ(c,n),_A({chartConfig:t,seriesConfig:i,candleStickSeries:n,topStepLineSeries:o,medianStepLineSeries:l,bottomStepLineSeries:h,outliersSeries:c,creation:!0}),a.push(n,o,l,h,c)}else if(r===V.LineSeries){let n=YQ(s);a.push(n)}return a}function ZQ(s){let{candleStickSeries:t,seriesConfig:e,stylingInfo:i,chartSubType:r,colorMatch:a,rendererType:n}=s;if(i!==void 0){let o={...i},l=aI({data:t.chart.data,colorMatch:a,chartSubType:r,rendererType:n});i?.outline!==void 0&&l&&(o.outline.stroke=Ec(re.boxPlot.boxPlotWhiskersColor));let{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t.chart,t.id);if(h!==void 0&&c!==void 0&&u!==void 0&&o.outline!==void 0){o.outline.strokeWidth=re.boxPlot.boxPlotLineWidth,AA(h,o.outline),AA(c,o.outline),AA(u,o.outline);let d=e.visible!==!1;Ri(h,d),Ri(c,d),Ri(u,d)}}}function qQ(s){let{candleStickSeries:t,seriesConfig:e,showOutliers:i,seriesSymbol:r}=s;if(r!==void 0){let a=jf(t.chart,t.id);if(a!==void 0){let n=Zr(a);if(n!==void 0){let o=Iw(i,e.visible),l={type:Dt.SMS,style:YA.Circle,color:r.color,size:re.boxPlot.boxPlotOutliersSize};n.clones.each(h=>{let c=t.dataItems.values.find(u=>(u.categories.categoryX??u.categories.categoryY)===(h.dataItem?.categories.categoryX??h.dataItem?.categories.categoryY))?.column.fill;_v({element:h,markerSymbol:{...l,color:VL(c)??l.color},visible:o})})}}}}function JQ(s){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,showMean:o,rendererType:l}=s,h,c,u,d=new Set,A=!1,p=e.fillSymbol??jm(i);if(t.columns.length===0?(u=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:new Oe,colorMatch:n,isChartFillSymbol:!0}),h=u.symbolWithColorInfo,c=u.stylingInfo):t.columns.each(f=>{u=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:p,element:f,colorMatch:n,isChartFillSymbol:!0,rendererSymbol:o?void 0:on({dataItem:f.dataItem?.dataContext,seriesConfig:e,chartSubType:a,colorMatch:n,rendererType:l})}),h=u.symbolWithColorInfo,c=u.stylingInfo,d.add(JSON.stringify(h))}),A=d.size>1,r>1){let f=t.legendDataItem?.marker.children.getIndex(0);f!==void 0?gu({element:f,stylingInfo:c}):t.chart.legend.events.once(Ie.Validated,()=>{gu({element:t.legendDataItem?.marker.children.getIndex(0),stylingInfo:c}),t.chart.legend.invalidate()})}return{multipleSymbolsForOneSeries:A,seriesSymbol:h,stylingInfo:c}}function e2(s){let{series:t,showOutliers:e,colorMatch:i,seriesIndex:r,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesConfig:o,rendererType:l,queryObject:h}=s,c=ve(t.chart.uid,"config"),u=Ca(c),d=c?.series.length??0,A=kt(c?.series),p=!1,f;if(t instanceof wr&&o.type===V.BoxPlotSeries){let m=JQ({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:d,chartSubType:A,colorMatch:i,showMean:u,rendererType:l}),{stylingInfo:g}=m;({multipleSymbolsForOneSeries:p,seriesSymbol:f}=m),n.set(a.get(o.id)??r,p?void 0:{fillSymbol:f??o.fillSymbol}),ZQ({candleStickSeries:t,seriesConfig:o,colorMatch:i,stylingInfo:g,chartSubType:A,rendererType:l}),qQ({candleStickSeries:t,seriesConfig:o,showOutliers:e,seriesSymbol:f})}else t instanceof Pi&&o.type===V.LineSeries&&II({series:t,seriesConfig:o,seriesIndexMapper:a,seriesSymbolMapForEvent:n,seriesIndex:r,colorMatch:i,rendererType:l});n.size===d&&nn({data:n,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)})}function t2(s){let{numberOfSeries:t,chart:e,showMean:i}=s,r=_n({chart:e}),a=r?e.yAxes.getIndex(0)?.renderer:e.xAxes.getIndex(0)?.renderer;if(a!==void 0){let{cellStartLocation:n,cellEndLocation:o}=a,l=n/(i===!0?1:t),h=e.series.values.filter(c=>c instanceof wr);h.forEach((c,u)=>{let d=n+u/h.length*(o-n)+l,A=n+(u+1)/h.length*(o-n)-l,{topStepLineSeries:p,medianStepLineSeries:f,bottomStepLineSeries:m}=Mv(e,c.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=jf(e,c.id);if(g!==void 0){let y=(d+A)/2;r?g.dataItems.template.locations.categoryY=y:g.dataItems.template.locations.categoryX=y}})}}function i2(s){let{outliersSeries:t,chartData:e,dataWasUpdated:i,rotationChanged:r,seriesReordered:a}=s;(r===!0||i===!0||a===!0)&&(t.data=e?.outliers??[])}function r2(s){let{meanLineSeries:t,chartData:e,rotationChanged:i,sortChanged:r,dataWasUpdated:a,seriesReordered:n}=s;(i===!0||a===!0||r===!0||n===!0)&&(t.data=e?.meanLines??[],t.invalidateData())}function s2(s){let{chart:t,chartConfig:e,seriesConfig:i,chartData:r,candleStickSeriesId:a,showOutliers:n,dataWasUpdated:o,rotationChanged:l,seriesReordered:h,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:u}=s,d=jf(t,a);if(d!==void 0){let A=Zr(d);if(A!==void 0){let p=Iw(n,i.visible);A.disabled=!p,i2({outliersSeries:d,chartData:r,dataWasUpdated:o,rotationChanged:l,seriesReordered:h})}_A({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:c,standardizeValuesVisibilityChanged:u,rotationChanged:l,outliersSeries:d})}}function a2(s){let{meanLineSeries:t,seriesConfig:e,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o,chartConfig:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c}=s;xA(t,e?.name),_A({chartConfig:l,seriesConfig:e,meanLineSeries:t,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c,rotationChanged:o}),r2({meanLineSeries:t,chartData:i,dataWasUpdated:r,seriesReordered:a,sortChanged:n,rotationChanged:o})}function n2(s){let{series:t,chartConfig:e,seriesConfig:i,rotationChanged:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n}=s;xA(t,i?.name),t.hiddenInLegend=Ca(e),_A({chartConfig:e,seriesConfig:i,candleStickSeries:t,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:r})}function o2(s){let{chart:t,chartConfig:e,seriesConfig:i,candleStickSeriesId:r,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o}=s,l=i.visible!==!1,{topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u}=Mv(t,r);h!==void 0&&Ri(h,l),c!==void 0&&Ri(c,l),u!==void 0&&Ri(u,l),_A({chartConfig:e,seriesConfig:i,outliersVisibilityChanged:a,standardizeValuesVisibilityChanged:n,rotationChanged:o,topStepLineSeries:h,medianStepLineSeries:c,bottomStepLineSeries:u})}function l2(s){let{chart:t,series:e,chartData:i,utilsStrings:r,dataWasUpdated:a,sortChanged:n,seriesReordered:o,fieldList:l,outliersVisibilityChanged:h,showMean:c,seriesConfig:u,showOutliers:d,standardizeValuesVisibilityChanged:A,rotationChanged:p,options:f,queryObject:m}=s,{tooltipFormatter:g}=f??{};t2({numberOfSeries:s.numberOfSeries,chart:t,showMean:c});let y=ve(t.uid,"config");if(y!==void 0){if(e instanceof wr&&u.type===V.BoxPlotSeries){let{id:_}=e;n2({series:e,chartConfig:y,seriesConfig:u,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A}),o2({chart:t,chartConfig:y,seriesConfig:u,candleStickSeriesId:_,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A,rotationChanged:p}),s2({chart:t,chartConfig:y,seriesConfig:u,chartData:i,showOutliers:d,candleStickSeriesId:_,dataWasUpdated:a,rotationChanged:p,seriesReordered:o,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A})}else e instanceof Pi&&u.type===V.LineSeries&&a2({chartConfig:y,chartData:i,meanLineSeries:e,seriesConfig:u,dataWasUpdated:a,seriesReordered:o,sortChanged:n,rotationChanged:p,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:A});$v({styleCallback:e2,callbackProps:s,series:e,seriesConfig:u,onReadyEvent:!0}),lQ({series:e,seriesConfig:u,fieldList:l,tooltipFormatter:g,utilsStrings:r,queryObject:m})}}function h2(s){let t=s.series.getIndex(0);if(t!==void 0){let e=!1;t.slices.each(i=>{i.isActive&&(e=!0),Kn({element:i,selected:!1,backToDefaultState:!0})}),e&&s.feedLegend()}}function u2(s,t=!0){let e;s.series.each((i,r)=>{if(!t||i.visible){e=Dv(i,r);let a=[];if(e===V.BarSeries)a=i.columns?.values;else if(e===V.LineSeries)a=Zr(i)?.clones?.values;else if(e===V.BoxPlotSeries){if(i instanceof wr)a.push(...i.columns.values);else if(i instanceof pa)a.push(...i.segments.values);else if(i instanceof Pi){let n=Zr(i)?.clones?.values;n!==void 0&&a.push(...n)}}a!==void 0&&a.forEach(n=>{Kn({element:n,selected:!1,backToDefaultState:!0})})}})}function CA(s){let{chart:t,selectionSource:e,clearOnlyVisibleSeries:i,disposeStyleAndSelection:r}=s,a=ve(t.uid,"currentSelectionDataItems");r!==!1&&AI(t,"updateSelectionCallbackDisposer"),ni(t.uid,{currentSelectionDataItems:void 0,currentSelectionOIDs:void 0,currentSelectionIndexes:void 0,computedSelectionDataItems:void 0,computedSelectionIndexes:void 0,pendingSelectionQueries:!1}),qn(t)&&(t instanceof Wt?u2(t,i??!0):t instanceof pr&&h2(t)),a&&Mu({data:{selectionSource:e??Pr.ClearSelection},htmlContainer:t.htmlContainer})}function c2(s){dx(),ex(s.htmlContainer),CA({chart:s})}function d2(s){let{chart:t,chartType:e,showMean:i}=s;return t.series.values.filter(r=>e!==V.BoxPlotSeries||!i&&r instanceof wr||i&&Hs(r.uid,"isBoxPlotMeanLineSeries")).every(r=>Hs(r.uid,"isSelectionApplied")===!0)}function A2(s){s.series.each(t=>Po(t.uid,{isSelectionApplied:void 0}))}function kI(s,t){let e=ve(s.uid,"actionMode");if((e===Vt.MonoSelection||e===Vt.None)&&t.length>1)CA({chart:s});else{let i=s instanceof pr;t.forEach(r=>{Kn({element:r,useNativeState:i,selected:!0})})}}function p2(s){let{chart:t,chartConfig:e,series:i,options:r,elementsToApplySelectionTo:a,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,queryObject:c}=s,u=ze(e.series),d=kt(e.series),A=Ro(e),p=[],f=[],m=[],g=No(e.series),y=i instanceof Wr?i.dataFields?.customValue??"":"";return a.forEach(_=>{if(!(_ instanceof fo)){let w=_.dataItem?.dataContext;if(w!==void 0&&(u===V.BoxPlotSeries&&w[re.boxPlot.boxPlotOutlierId]!==!0||d===Ee.BarAndLineMultiFields)&&(w=sh({dataContext:w,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:u,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Uo(c)})),Lv({elementDataContext:w,options:r,selectionDataItems:n,layerOidField:o,xAxisField:l,yAxisField:h,chartType:u,splitBy:y,chartSubType:d,showOutliers:A}))if(p.push(_),_.dataItem!==void 0&&f.push(_.dataItem.index),_?.dataItem instanceof Xa&&w!==void 0)m.push(w);else{let S=new Set;u===V.PieSeries&&ah(w)?(Hf({groupOfSlicesDataContext:w})??[]).forEach(P=>{n.forEach(T=>{_w({layerOidField:o,sliceDataContext:P,selectionDataContext:T,xAxisField:l})&&S.add(P)})}):S.add(w),Array.from(S)?.forEach(P=>{let T=sh({dataContext:P,yAxisField:h,yList:g,xAxisField:l,splitBy:y,chartType:u,chartSubType:d,showOutliers:A,isFeatureCollectionLayer:Uo(c)});T!==void 0&&m.push(T)})}else Kn({element:_,useNativeState:t instanceof pr,selected:!1})}}),kI(t,p),{selectedIndexes:f,newSelectionDataItems:m}}function f2(s){let{chart:t,selectionIndexes:e,queryObject:i}=s,r=[],a=[],n=ve(t.uid,"config"),o=Ro(n),l=No(n?.series??[]),h=kt(n?.series);return t.series.each((c,u)=>{if(n&&c.visible){let d=n.series[0].x,A=bu(c),p=c instanceof Wr?c.dataFields?.customValue??"":"",f=Dv(c,u),m=e.get(u);if(m!==void 0){let g;if(c instanceof Ni?g=c.columns:c instanceof ws?g=c.slices:g=Zr(c)?.clones,g!==void 0){let{indexesToSelect:y}=m;g.each((_,w)=>{if(_&&(y===void 0||y.includes(w))){let S;f===V.BoxPlotSeries&&_.dataItem instanceof Xa?S=_.dataItem.dataContext:_.dataItem instanceof fo||(S=sh({dataContext:_.dataItem?.dataContext,yList:l,yAxisField:A,xAxisField:d,splitBy:p,chartType:f,chartSubType:h,showOutliers:o,isFeatureCollectionLayer:Uo(i)})),S!==void 0&&r.push(S),a.push(_)}else Kn({element:_,useNativeState:t instanceof pr,selected:!1})})}}}}),kI(t,a),r}function m2(s){let{series:t,chartType:e,showMean:i}=s,r;switch(e){case V.ComboLineAndBarSeries:if(t instanceof Ni)r=t.columns.values;else if(t instanceof Pi){let a=Zr(t);a!==void 0&&(r=a.clones.values)}break;case V.BarSeries:t instanceof Ni&&(r=t.columns.values);break;case V.LineSeries:if(t instanceof Pi){let a=Zr(t);a!==void 0&&(r=a.clones.values)}break;case V.PieSeries:r=t.slices.values;break;case V.BoxPlotSeries:if(t.chart instanceof Wt){if(t instanceof wr&&i!==!0){r=[...t.columns.values];let a=jf(t.chart,t.id);if(a!==void 0&&a.visible){let n=Zr(a);n!==void 0&&r.push(...n.clones.values)}}else if(i===!0&&t instanceof Pi&&Hs(t.uid,"isBoxPlotMeanLineSeries")){let a=Zr(t);a!==void 0&&(r=a.clones.values)}}break}return r}function g2(s){let{series:t,seriesIndex:e,queryObject:i,options:r,dataWasUpdated:a,sortChanged:n,groupOfSlicesWasUpdated:o,xAxisField:l,yAxisField:h,rotationChanged:c}=s,{filterBySelection:u,selectionData:d,returnSelectionIndexes:A,returnSelectionOIDs:p}=r??{},{selectionIndexes:f}=d??{},{chart:m}=t,g=ve(m.uid,"config"),y=Ro(g),_=Ca(g),w=ze(g?.series);if(u!==!0&&g!==void 0){let S=m2({series:t,chartType:w,showMean:_}),P=kt(g?.series),T=Ys(i),L=_h(T).idField,$=ve(m.uid,"currentSelectionDataItems"),I=!1,M=!1,F,Q=!1;if(S?.[0]!==void 0){if(r?.viewExtentUpdated!==!0){F=r?.selectionData?.selectionItems??$;let Y=ve(m.uid,"currentSelectionIndexes");Q=xx({itemsA:F,itemsB:$,isPieFromFields:P===Ee.PieFromFields,x:g.series[0].x});let z=f?.keys.length!==Y?.keys.length||!Ll(f,Y);I=n===!0||a===!0||o===!0||c===!0||F!==void 0&&Q;let ee=!0;if(f!==void 0&&f.size>0){let{indexesToSelect:ie}=f.get(e??0)??{};ee=ie!==void 0&&ie[0]===void 0}M=a===!0||o===!0||c===!0||!ee&&z}if(I&&F!==void 0&&F.length>0){let{selectedIndexes:Y,newSelectionDataItems:z}=p2({chart:m,chartConfig:g,options:r,series:t,elementsToApplySelectionTo:S,selectionDataItems:F,layerOidField:L,xAxisField:l,yAxisField:h}),ee=ve(m.uid,"computedSelectionDataItems")??[];if(ee.push(...z),g.series.length>1&&P!==Ee.BarAndLineNoAggregation&&P!==Ee.BarAndLineSplitByNoAggregation&&(ee=Cx({data:ee,x:g.series[0].x,splitByField:Vo(g.series[0].query?.where)})),ni(m.uid,{computedSelectionDataItems:ee}),A===!0){let ie=Array.from(new Set(Y)),de=ve(m.uid,"computedSelectionIndexes");de===void 0&&(de=new Map),ie.length===S.length?de.set(e??0,{}):de.set(e??0,{indexesToSelect:ie}),ni(m.uid,{computedSelectionIndexes:de})}}else if(f!==void 0&&M)F=f2({chart:m,selectionIndexes:f,queryObject:i});else{let Y=F===void 0||F.length===0,z=t instanceof Wr?t.dataFields?.customValue??"":"",ee=ie=>{let de=ie.dataItem?.dataContext;return de!==void 0&&w===V.BoxPlotSeries&&de[re.boxPlot.boxPlotOutlierId]!==!0&&(de=sh({dataContext:de,yAxisField:h,yList:No(g.series),xAxisField:l,splitBy:z,chartType:w,chartSubType:P,showOutliers:y,isFeatureCollectionLayer:Uo(i)})),Lv({elementDataContext:de,options:r,selectionDataItems:F??$??[],layerOidField:L,xAxisField:l,yAxisField:h,chartType:w,splitBy:z,chartSubType:P,showOutliers:y})};S.forEach(ie=>{let de=ie.isActive||ee(ie);Kn({element:ie,selected:de,useNativeState:m instanceof pr,backToDefaultState:Y})})}}if(Po(t.uid,{isSelectionApplied:!0}),d2({chart:m,chartType:w,showMean:_})&&(A2(m),Q||M)){let Y=ve(m.uid,"computedSelectionDataItems")??F;Y=Array.from(new Set(Y?.map(ee=>JSON.stringify(ee)))).map(ee=>JSON.parse(ee)),F!==void 0&&ni(m.uid,{currentSelectionDataItems:Y}),d?.selectionOIDs!==void 0&&ni(m.uid,{currentSelectionOIDs:d.selectionOIDs});let z;if(A===!0&&(z=ve(m.uid,"computedSelectionIndexes")??f,z!==void 0&&ni(m.uid,{currentSelectionIndexes:z})),Y===void 0||Y.length===0)CA({chart:m,selectionSource:Pr.ProgrammaticSelection});else{let ee={selectionItems:Y,selectionSource:Pr.ProgrammaticSelection};A===!0&&(ee.selectionIndexes=z),p!==!1&&(ee.selectionOIDs=d?.selectionOIDs??ve(m.uid,"currentSelectionOIDs")),Mu({data:ee,htmlContainer:m.htmlContainer})}ni(m.uid,{computedSelectionIndexes:void 0,computedSelectionDataItems:void 0})}}}function y2(s){let{chart:t,chartConfig:e,rotationChanged:i}=s;for(let r=0;r<t.series.length;r+=1){let a=t.series.getIndex(r);if(a){let n=Ov(a,e);if(n){let o=ze([n]);if(o===V.BoxPlotSeries&&(a=t.series.values.find(l=>l.id===n.id)),a!==void 0){let l=n.x,h=o===V.BoxPlotSeries?n.y.toString():bu(a);VH({callbackProps:{...s,series:a,seriesIndex:r,xAxisField:l,yAxisField:h},series:a,seriesConfig:n,onReadyEvent:i===!0})}}}}}async function Wf(s){let{chart:t,listSelectedElements:e,selectionSource:i,queryObject:r}=s,a=ve(t.uid,"options"),n=ve(t.uid,"config"),o=Gs(r);if(n)if(e.length===0)CA({chart:t,selectionSource:i,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1});else try{AI(t,"updateSelectionCallbackDisposer");let l=Ro(n),h=[],c=[],u=[],d=new Map,{xAxisField:A}=e[0]??{},p=ze(n?.series),f=kt(n?.series),m=No(n?.series??[]),g=ln(r).find(_=>_.name===A)?.type;if(e.forEach(_=>{let{elementDataContext:w,yAxisField:S,splitBy:P}=_,T=sh({dataContext:w,yAxisField:S,yList:m,xAxisField:A,splitBy:P,chartType:p,chartSubType:f,showOutliers:l,isFeatureCollectionLayer:Uo(r)});T!==void 0&&c.push(T);let{seriesIndex:L,elementIndex:$}=_;if($!==void 0){let I=d.get(L)?.indexesToSelect??[];I.push($),d.set(L,{indexesToSelect:Array.from(new Set(I))})}if(!o&&w!==void 0){let I=w[Eu.uniqueIdsName]!==void 0?[w[Eu.uniqueIdsName]].flat():[];if(I.length>0)u.push(...I);else if(a?.returnSelectionOIDs!==!1){let M=_x({dataContext:w,options:a,xAxisField:A,yAxisField:S??"",splitBy:P,xAxisFieldType:g,chartConfig:n,queryObject:r});h.push(M)}}}),!o&&a?.returnSelectionOIDs!==!1&&h.length>0){let _={...ve(t.uid,"queryConfig")};delete _.groupByFieldsForStatistics,delete _.orderByFields,delete _.outStatistics;let w=await sI({whereList:h,queryObject:r,queryConfig:_});if(h.length===e.length)u=w;else for(let S=0;S<w.length;S+=1)u.push(w[S])}ni(t.uid,{currentSelectionDataItems:c,currentSelectionOIDs:u,currentSelectionIndexes:d});let y={selectionItems:c,selectionSource:i};a?.returnSelectionIndexes===!0&&(y.selectionIndexes=d),a?.returnSelectionOIDs!==!1&&(y.selectionOIDs=u),Mu({data:y,htmlContainer:t.htmlContainer})}catch(l){ni(t.uid,{pendingSelectionQueries:!1});let{httpStatus:h}=l instanceof Ln?l.details.details:l.details??{};if(h===429)c2(t);else throw l}ni(t.uid,{pendingSelectionQueries:!1})}function v2(s){let{axis:t}=s,e=t.chart;return{axis:t,chart:e}}async function b2(s,t){let e=s.target,{axis:i,chart:r}=v2(e),a=[],{seriesDataItems:n}=s.target.dataItem;Object.keys(n).forEach(u=>{if(Object.hasOwn(n,u)){let d=n[u];for(let A of d)if(A instanceof Bs)a.push(A.column);else{let p=A.sprites.find(f=>!(f instanceof Mi));p!==void 0&&a.push(p)}}});let o=Ev(s,r),l=i instanceof Ct||i instanceof Ot,h=[],c=ve(r.uid,"config");if(c){let u=c.series[0].x??"";r.series.each((d,A)=>{let p;if(d instanceof Ni?p=d.columns:p=Zr(d)?.clones,d.visible){let f=bu(d),m=d.dataFields?.customValue??"";p?.each((g,y)=>{let _=a.includes(g);Kn({element:g,selected:_,multiSelect:o,isDateOrCategoryAxis:l})&&h.push({element:g,elementDataContext:g.dataItem?.dataContext,yAxisField:f,xAxisField:u,splitBy:m,seriesIndex:A,elementIndex:y,chartConfig:c})})}}),await Wf({chart:r,listSelectedElements:h,selectionSource:Pr.SelectionByClick,queryObject:t})}}function x2(s,t){if(qn(s.renderer.labels.template)){s.renderer.labels.template.events.on(Ie.Hit,async i=>{s.renderer.labels.template.events.isEnabled(Ie.Hit)&&await b2(i,t)});let e=ve(s.chart.uid,"filterBySelection")===!0?ai.default:ai.pointer;ew(s,e)}}function wv(s,t){if(qn(s?.renderer?.labels?.template)&&(s instanceof Ot||s instanceof Ct))if(t)s.renderer.labels.template.events.disableType(Ie.Hit),ew(s,ai.default);else{s.renderer.labels.template.events.enableType(Ie.Hit);let e=ve(s.chart.uid,"filterBySelection")===!0?ai.default:ai.pointer;ew(s,e)}}var vr={Guides:"guides",Ticks:"ticks",GaugeFirstAndLastGuides:"firstAndLast",GaugeTicksWithLabels:"gaugeTicksWithLabels"};function Rc(s){let{chart:t,label:e,labelType:i}=s,r=Number.NaN;switch(i){case ii.GuideLabel:!(t instanceof qs)&&t instanceof Wt&&(e.rotation===90||e.rotation===270?r=t.seriesContainer.measuredHeight:r=t.seriesContainer.measuredWidth);break;case ii.XAxisTitle:t instanceof Wt&&(r=t.seriesContainer.measuredWidth);break;case ii.YAxisTitle:t instanceof Wt&&(r=t.seriesContainer.measuredHeight);break;case ii.ChartTitle:case ii.ChartSubTitle:case ii.ChartFooter:r=t.measuredWidth-20;break}r>0&&(e.maxWidth=r,t.invalidateLabels(),t instanceof Wt&&(t.xAxes.getIndex(0)?.invalidateLabels(),t.xAxes.getIndex(1)?.invalidateLabels(),t.yAxes.getIndex(0)?.invalidateLabels(),t.yAxes.getIndex(1)?.invalidateLabels()))}function Uf(s){let{chart:t,labelType:e}=s;Rc(s);let i=e===ii.YAxisTitle?1:0;t.events.on(Ie.Validated,zs(()=>Rc(s),re.debounceTime),i)}function Bv(s,t){s.events.on(Ie.Validated,zs(()=>{t.visible=s.measuredWidth!==0},re.debounceTime))}function _2(s,t){s.chart instanceof qs||(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 C2(s,t){let e=s.renderer instanceof zl?new Un:new Jo;return e.disabled=!0,e.axis=s,Iv(e),mu(e.uid,{isGuide:t}),Uf({chart:s.chart,label:e,labelType:ii.GuideLabel}),_2(s,e),e}function w2(s){let{label:t,labelConfig:e,guideType:i}=s,r=t.axis.renderer instanceof Ar,a;t instanceof Un||(r?i===Dt.SFS?a=re.verticalSurfaceGuideLabels:a=re.verticalLineGuideLabels:i===Dt.SFS?a=re.horizontalSurfaceGuideLabels:a=re.horizontalLineGuideLabels);let n={...e};n.content.rightToLeft=t.axis.rtl,Cn({label:t,labelConfig:n,defaults:a}),t.axis.invalidateLabels()}function B2(s,t,e){let i=e.chart;s.axisFill.tooltip=new Ao,s.axisFill.interactionsEnabled=!0,s.axisFill.tooltipPosition=re.guideTooltipPosition,s.axisFill.tooltip.label.wrap=!0,s.axisFill.tooltip.adapter.add("maxWidth",()=>Math.min(re.tooltipWidth,i.seriesContainer.maxWidth)),s.axisFill.tooltip.boundingContainer=i.chartAndLegendContainer,s.axisFill.adapter.add("tooltipHTML",(r,a)=>{let n=r,{dataItem:o,axis:l}=a;if(!(l.renderer instanceof zl)){let h=Vs(l.uid,"guideTooltipFormatter");if(h!==void 0){let c="",u;o instanceof yo?(c=o.value,u=o.endValue):o instanceof il?(c=o.category,u=o.endCategory):o instanceof Vh&&(c=o.date,u=o.endDate),n=h({guideName:o.id??"",start:c,end:u,guideIndex:t})}}return n}),s.axisFill.tooltip.events.on(Ie.Shown,r=>{let a=ve(s.axisFill.axis.chart.uid,"config");if(a!==void 0){let n=ve(s.axisFill.axis.chart.uid,"isRotated"),o=Xf(s.axisFill.axis.renderer,n)?0:1,l=a.axes?.[o]?.guides,{tooltipReverseColor:h}=l?.[t]??{};vI(r.target,h)}})}function S2(s,t){return e=>{let{guideName:i,start:r,end:a,guideIndex:n}=e,{chart:o}=s,l="";if(o!==void 0){let h=ve(o.uid,"config"),c=ve(o.uid,"isRotated"),u=Xf(s.renderer,c)?0:1,d=h?.axes?.[u]?.guides,A=r,p=a;if(s instanceof Ct){let y=new cn,_;if(o!==void 0){let w=ve(s.chart.uid,"formatLocale");y=yl({type:V.DateAxisFormat,iLocale:o.language.locale,formatLocale:w}),_=h?.axes?.[0]?.valueFormat?.intlOptions}A=y.format(r,_),a!==void 0&&(p=y.format(a,_))}else if(s instanceof He&&!(r instanceof Date)&&!(a instanceof Date)){let{start:y,end:_}=kw(s,d?.[n]);Number.isFinite(y)&&(A=y),Number.isFinite(_)&&(p=_);let w=Vs(s.uid,"numberFormatter")??(S=>new Hl().format(S));A=w(A),p!==void 0&&(p=w(p))}else s instanceof Ot&&(A=r,p=a);let f=A.toString(),m=p?.toString()??"";!Yi(m)&&f!==m?l=fA(t.guideTooltipLabel,{guideStart:f,guideEnd:m}):l=f;let g=Ra(o.rtl);l=`${i}${g} ${l}`}return l}}function F2(s){let{axis:t,guideTooltipFormatter:e,utilsStrings:i}=s;Ls(t.uid,{guideTooltipFormatter:e??S2(t,i)})}function T2(s){let t=ku.Value;return s instanceof Ct?t=ku.Date:s instanceof Ot&&(t=ku.Category),t}function q1(s){let{inputValue:t,axisType:e,axisMin:i,axisMax:r}=s,a=t;if(t!=null)switch(e){case ku.Date:a=t instanceof Date?t:new Date(t);break;case ku.Category:a=t.toString();break;case ku.Value:if(typeof t!="number"){let n=t.toString().trim(),o=qA(n);o!==void 0?i!==void 0&&r!==void 0?a=o/100*(r-i)+i:a=null:a=Number.parseFloat(n)}break}return a}function kw(s,t){let{start:e,end:i}=t??{},r;if(t!==void 0&&e!==void 0&&e!==null){let a=T2(s),n=s instanceof He?s.min:void 0,o=s instanceof He?s.max:void 0,l=q1({inputValue:e,axisType:a,axisMin:n,axisMax:o}),h=t.style?.type===Dt.SFS&&i!==null&&i!==void 0?q1({inputValue:i,axisType:a,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 P2(s){let{axis:t,tickOrGuide:e,numberOfElementsToBeDeleted:i}=s,r=[],a=t.axisRanges.length-1,n=i;for(;n>0&&a>=0;){let o=t.axisRanges.getIndex(a);o!==void 0&&(gs(o.label?.uid,"isGuide")??!1)===!0&&e===vr.Guides&&(r.push(o),n-=1),a-=1}for(let o=0;o<r.length;o+=1)t.axisRanges.removeValue(r[o])}function tn(s,t){return s.axisRanges?.values?.filter(e=>{let i=gs(e.label?.uid,"isGuide")??!1,r=gs(e.label?.uid,"isGaugeAxisLabel")??!1,a=!1;switch(t){case vr.Ticks:a=i===!1;break;case vr.Guides:a=i===!0;break;case vr.GaugeTicksWithLabels:a=r===!0&&e.value!==void 0;break;case vr.GaugeFirstAndLastGuides:a=i===!0&&(e.id===re.gaugeFirstLabelId||e.id===re.gaugeLastLabelId);break}return a})??[]}function D2(s,t){let e=s.axisRanges.length;{let r=s.axisRanges.values.findIndex(a=>a.id===re.gaugeFirstLabelId);r!==-1&&(e=r)}let i;return s instanceof Ot?i=new il:s instanceof Ct?i=new Vh:i=new yo,s.axisRanges.insertIndex(e,i),i.label=C2(s,t),i.axisFill.fillOpacity=1,i.axisFill.disabled=!0,i.grid.strokeOpacity=1,i}function L2(s,t){let e=D2(s,!0);B2(e,t,s),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 I2(s,t){let{start:e,end:i}=t,r=ve(s.uid,"config"),a=eg(r),n=e!==null?e:void 0;n=s.data.find(l=>l[re.originalCategoryValue]===e)?.[a]??n;let o=i!==null?i:void 0;if(o!==void 0)for(let l=s.data.length-1;l>=0;l-=1){let h=s.data[l];if(h[re.originalCategoryValue]===i){o=h[a];break}}return{modifiedStart:n,modifiedEnd:o}}function k2(s,t){let{start:e,end:i}=t;if(e!==void 0){let{chart:r}=s?.component??{},a;if(s instanceof il&&r instanceof Wt&&ve(r.uid,"isNonAggregatedChart")===!0){let{modifiedStart:n,modifiedEnd:o}=I2(r,t);a={isValidGuide:!0,start:n??e,end:o??i}}else a=kw(s.axisFill.axis,t);a.isValidGuide&&(s instanceof il?(s.category=`${a.start?.toString()}`,s.endCategory=`${a.end?.toString()}`):s instanceof Vh?(s.date=a.start,s.endDate=a.end):(s.value=a.start,s.endValue=a.end))}}function $2(s,t){s.axisFill.above=t??re.guideAbove,s.grid.above=t??re.guideAbove}function O2(s,t){let{axisFill:e,label:i}=s;if(t!==void 0){if(s.id=t.name,s.visible=t.visible!==void 0?t.visible:s.visible,k2(s,t),t.style.type===Dt.SLS?Mf({element:e,fillSymbol:{type:Dt.SFS,color:t.style?.color,outline:t.style},visible:t.visible}):t.style.type===Dt.SFS&&Mf({element:e,fillSymbol:t.style,visible:t.visible}),$2(s,t.above),t.label!==void 0){let a={type:V.Text,visible:t.visible,content:t.label};w2({label:i,labelConfig:a,guideType:t.style.type})}let r=s.component?.chart;r!==void 0&&Rc({chart:r,label:i,labelType:ii.GuideLabel})}else e.disabled=!0,i.disabled=!0}function E2(s,t){let e=tn(s,vr.Guides).length,i=t?.length??e;for(let r=e;r<i;r+=1)L2(s,r)}function M2(s){let{axis:t,guides:e,guideTooltipFormatter:i,utilsStrings:r}=s;if(e!==void 0){for(let a=0;a<e.length;a+=1){let n=tn(t,vr.Guides)[a];n!==void 0&&O2(n,e[a])}F2({axis:t,guideTooltipFormatter:i,utilsStrings:r})}}function R2(s,t){let e=tn(s,vr.Guides).length,i=t?.length??0,r=e-i;P2({axis:s,numberOfElementsToBeDeleted:r,tickOrGuide:vr.Guides})}function U2(s){let{axis:t,guides:e}=s;E2(t,e),M2(s),R2(t,e)}function V2(s){let{axis:t,labels:e,restoreLabelsVisibility:i=!0}=s;(e??t.renderer.labels.values).forEach(r=>{r.x instanceof qe?r.x.value:r.x,i&&Ri(r,!0)})}function $I(s){let t=s.renderer.labels.values.filter(e=>gs(e.uid,"isGuide")!==!0&&e.measuredWidth>0).length;return s.pixelWidth/t}function N2(s){let{target:t}=s;if((ve(t.chart.uid,"config")?.horizontalAxisLabelsBehavior??ir.Rotate)===ir.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 H2(s){let{axis:t,labelsConfig:e,horizontalAxisLabelsBehavior:i,isSecondValueAxis:r,tickSpacing:a}=s,n=t.renderer.minGridDistance;if(typeof a=="number"&&Number.isFinite(a))n=a;else if(t.renderer instanceof zl)n=re.gauge.gaugeMinGridDistance;else if(t instanceof He)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===ir.Rotate){let o=e.content.font?.size??re.generalFontSize,l=t instanceof Ot?re.categoryAxisLabelPadding:re.axisLabelPadding;n=o*l}else if(i===ir.Wrap){let o=zs(N2,re.debounceTime);Ls(t.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:o}),t.events.on(Ie.SizeChanged,o),t.dispatchImmediately(Ie.SizeChanged)}else i===ir.Stagger?n=re.staggerMinGridDistance:n=t instanceof Ot?re.xCategoryAxisMinGridDistance:re.xAxisMinGridDistance;else n=t instanceof Ot?re.yCategoryAxisMinGridDistance:re.yAxisMinGridDistance;t.renderer.minGridDistance=n}function Q2(s){let t=s.renderer.labels.template;qn(t)&&(t.adapter.add("rotation",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.uid,"labelsSymbol")?.angle??e:e),t.adapter.add("verticalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.uid,"labelsSymbol")?.verticalCenter??e:e),t.adapter.add("horizontalCenter",(e,i)=>gs(i.uid,"isGuide")!==!0?Vs(s.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?Vs(s.uid,"labelsSymbol")?.yOffset??r:r),r}))}function j2(s){let{target:t}=s;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=Vs(t.uid,"labelsSymbol")?.angle??0,a=$I(t)>=i+5;if(!a&&r===0||a&&r===re.rotatedAxisLabel.rotation){let n=a?xv(e.content,t.rtl,re.axisLabel):xv({type:Dt.TS},t.rtl,re.rotatedAxisLabel);Ls(t.uid,{labelsSymbol:n}),t.renderer.invalidateLabels()}}}}function W2(s,t=1){let{target:e}=s,i=$I(e);Number.isFinite(i)&&(e.renderer.labels.template.maxWidth=Math.min(i*t,e.renderer.minGridDistance))}function X2(s){let{target:t}=s;if(ve(t.chart.uid,"config")?.axes?.[0].labels?.visible!==!1){let e=0;t.dataItems.each(i=>{let{label:r,itemIndex:a}=i;gs(r.uid,"isGuide")!==!0&&r.currentText!==void 0&&r.measuredWidth>0&&a%2===0&&r.bbox.height>e&&(e=r.bbox.height)}),t.dataItems.each(i=>{let{tick:r,label:a,itemIndex:n}=i;if(gs(a.uid,"isGuide")!==!0&&a.currentText!==void 0&&a.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 z2(s){let{chart:t}=s;s.renderer.labels.template.paddingLeft=Number.NaN,s.renderer.labels.template.paddingRight=Number.NaN;let e=Vs(s.uid,"debouncedAxisLabelRotationCallback");if(e!==void 0&&(s.events.off(Ie.Validated,e),Ls(s.uid,{debouncedAxisLabelRotationCallback:void 0})),t!==void 0){let i=ve(t.uid,"config")?.axes?.[0].labels;if(i!==void 0){let r=xv(i.content,t.rtl,re.axisLabel),a=s.renderer.labels.template;a.rotation=r.angle,a.verticalCenter=r.verticalCenter,a.horizontalCenter=r.horizontalCenter,Number.isFinite(r.yOffset)&&(a.dy=r.yOffset)}Ls(s.uid,{labelsSymbol:void 0})}}function OI(s){s.renderer.labels.template.wrap=!1,s.renderer.labels.template.textAlign="start"}function G2(s){OI(s),s.renderer.labels.template.paddingLeft=Number.NaN,s.renderer.labels.template.paddingRight=Number.NaN;let t=Vs(s.uid,"debouncedAxisLabelWrapCallback");t!==void 0&&(s.events.off(Ie.DataRangeChanged,t),Ls(s.uid,{debouncedAxisLabelWrapCallback:void 0}))}function Y2(s){OI(s);let t=Vs(s.uid,"debouncedUpdateMinGridDistanceForWrapBehavior");t!==void 0&&(s.events.off(Ie.SizeChanged,t),Ls(s.uid,{debouncedUpdateMinGridDistanceForWrapBehavior:void 0}))}function K2(s){let t=Vs(s.uid,"debouncedAxisLabelStaggerCallback");t!==void 0&&(s.events.off(Ie.DataRangeChanged,t),Ls(s.uid,{debouncedAxisLabelStaggerCallback:void 0})),s.renderer.ticks.each(e=>{e.length=re.axisTickLength,e.dataItem?.label&&(e.dataItem.label.dy=re.axisLabel.dy??0)})}function Z2(s){z2(s),G2(s),K2(s)}function J1(s){Q2(s),s.renderer.labels.template.paddingLeft=0,s.renderer.labels.template.paddingRight=0,s.renderer.labels.template.maxWidth=Number.NaN;let t=zs(j2,re.debounceTime,{leading:!0});Ls(s.uid,{debouncedAxisLabelRotationCallback:t}),s.events.on(Ie.Validated,t),s.dispatchImmediately(Ie.Validated)}function eL(s,t=1){s.renderer.labels.template.wrap=!0,s.renderer.labels.template.paddingLeft=.5,s.renderer.labels.template.paddingRight=.5,s.renderer.labels.template.textAlign="middle";let e=zs(i=>W2(i,t),re.debounceTime);Ls(s.uid,{debouncedAxisLabelWrapCallback:e}),s.events.on(Ie.DataRangeChanged,e)}function q2(s){s.renderer.labels.template.maxWidth=re.yAxisLabelMaxWidth,s.renderer.labels.template.wrap=!0,s.renderer.labels.template.textAlign="end"}function J2(s){let t=zs(X2,re.debounceTime);Ls(s.uid,{debouncedAxisLabelStaggerCallback:t}),s.events.on(Ie.DataRangeChanged,t)}function ej(s){let{axis:t,horizontalAxisLabelsBehavior:e,verticalAxisLabelsBehavior:i,labelsConfig:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=s;if(t.renderer instanceof Ar&&a?.[0]!==!1){if(Z2(t),n!==!0)switch(e){case ir.Hide:break;case ir.Stagger:J2(t),eL(t,1.5);break;case ir.Wrap:eL(t);break;case ir.Rotate:J1(t);break;default:r.content.angle!==null&&r.content.angle===void 0&&J1(t);break}}else t.renderer instanceof Lr&&(i!==ir.Hide?q2(t):Y2(t))}function tj(s){let{axis:t,axisConfig:e,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}=s,o=t.renderer.labels.template;o.axis=t;let{labels:l}=e,h=t.renderer instanceof Ar&&o.rotation===re.rotatedAxisLabel.rotation,c=l,u;h?(c.content.angle=void 0,c.content.horizontalAlignment=void 0,c.content.verticalAlignment=void 0,c.content.yoffset=void 0,u=re.rotatedAxisLabel):t.renderer instanceof Ar&&(i===ir.Stagger||i===ir.Wrap)&&(u={wrap:!0,dy:re.axisLabel.dy}),t.renderer instanceof Lr&&r!==ir.Hide&&(u={wrap:!0}),Cn({label:o,labelConfig:c,defaults:u}),t.renderer.labels.template.paddingTop=t.renderer instanceof Ar?0:re.axisLabel.dy,o.align="none",o.valign="none",ej({axis:t,horizontalAxisLabelsBehavior:i,verticalAxisLabelsBehavior:r,labelsConfig:l,axisLabelsBehaviorChanged:a,isSecondValueAxis:n}),o.axis.invalidateLabels()}function $w(s){return(s??qb())===Gi.Side}function EI(s,t){let e,i,r=iw(s,"bullets"),a=iw(s,"columns"),n=$w(t);return n&&r!==void 0?(e=r,i=a):n||(e=a,i=r),{labelToRender:e,labelToHide:i}}function ij(s,t=!0){s.hideOversized=t}function rj(s,t){let e,i,r=vl(re.dataLabelInitialize);mu(r.uid,{isDataLabel:!0}),s.bullets.push(r);let a=vl(re.dataLabelInitialize,s.columns.template);return mu(a.uid,{isDataLabel:!0}),rw(a,s),rw(r,s),s.events.on(Ie.Validated,zs(()=>{Ef(a)&&a.clones.each(n=>{Ef(n)&&n.validate()})},re.debounceTime)),a.html="{valueX}",r.html="{valueX}",uI(r),$w(t)?(e=r,i=a):(e=a,i=r),oI(V.BarSeries,r),lI(V.BarSeries,e),{newLabelToRender:e,newLabelToHide:i}}function sj(s){let{series:t,stackedType:e,isRotated:i,hideOversizedStackedLabels:r,hideOversizedSideBySideLabels:a}=s,{labelToRender:n,labelToHide:o}=EI(t,e);if(n===void 0){let{newLabelToRender:c,newLabelToHide:u}=rj(t,e);n=c,o=u}let l=re.dataLabel,h=!0;$w(e)?(l=i===!0?re.dataLabelRotated:re.dataLabel,h=a===!0):(l=i===!0?re.dataLabelStackedRotated:re.dataLabelStackedNonRotated,h=r!==!1),ij(n,h),o!==void 0&&(o.visible=!1,o.disabled=!0),n.html="{valueX}",cI({...s,dataLabel:n,labelDefaults:l,defaultDataLabelFormatter:hI})}function aj(s){let t=s.tooltip;t!==void 0&&!(s instanceof Ct)&&(t.label.adapter.add("html",(e,i)=>{let r=e??"";return s instanceof He?r=YL(s,i.properties?.text??e??""):s instanceof Ot&&(r=KL({axis:s,defaultOutput:e??"",dataItem:t.dataItem})),Mr(r)}),t.label.html=re.htmlEmptyContent)}function sw(s){let{axis:t,start:e,end:i}=s;t.zoom({start:e??0,end:i??1})}function tL(s){s!==void 0&&(s.start=0,s.end=1)}function Rv(s){s!==void 0&&(s.xAxes!==void 0&&s.xAxes.each(t=>sw({axis:t})),s.yAxes!==void 0&&s.yAxes.each(t=>sw({axis:t})),tL(s.scrollbarX),tL(s.scrollbarY),Ri(s.zoomOutButton,!1))}function Xf(s,t){return s instanceof Ar&&t!==!0||s instanceof Lr&&t===!0}function nj(s){qn(s.labels.template)&&(s.labels.template.events.on(Ie.Over,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??1)*e}),s.labels.template.events.on(Ie.Out,t=>{let{axisLabelOveredOpacity:e}=re;t.target.fillOpacity=(t.target.fillOpacity??.5)/e}))}function oj(s){let{axis:t,valueFormat:e,axisRenderer:i,queryObject:r}=s;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,Iv(i.labels.template,re.axisLabel),i.ticks.template.disabled=!1,i.labels.template.disabled=!0,aj(t),ld(e)&&(nj(i),x2(t,r)),Bv(t.chart,t.title),Uf({chart:t.chart,label:t.title,labelType:t.renderer instanceof Ar?ii.XAxisTitle:ii.YAxisTitle}),t.renderer instanceof Ar&&t.events.on(Ie.Validated,zs(()=>{V2({axis:t,restoreLabelsVisibility:!0})},re.debounceTime))}function lj(s){let t=s.target,e=ve(t.chart.uid,"isRotated"),i=[];if(t instanceof He){if(t.renderer instanceof zl)i.push({isXAxis:!0,minimum:t.min,maximum:t.max});else if(t.renderer instanceof(e!==!0?Lr:Ar)){t.maxZoomFactor=1;let r=s.target,a=r.chart,n=e!==!0?a.xAxes.getIndex(0):a.yAxes.getIndex(0),o=a.yAxes.getIndex(1)??a.xAxes.getIndex(1);i=[{isXAxis:!1,minimum:r.min,maximum:r.max},{isXAxis:!0,minimum:n instanceof He?n.min:void 0,maximum:n instanceof He?n.max:void 0}],o instanceof He&&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))&&tx(i,t.chart.htmlContainer)}}function hj(s){s.events.on(Ie.Validated,zs(lj,re.debounceTime))}function uj(s){let{axis:t,isNonAggregatedChart:e}=s,i,r,a,n=t.dataItems.values,o=t.axisRanges.values;if(t instanceof Ot)for(let l=0;l<o.length;l+=1){i=!1,r=!1,a=!1;let h=o[l],{category:c,endCategory:u,axisFill:d,grid:A,label:p}=h;if(h instanceof il&&h.visible)for(let f=0;f<n.length;f+=1){let m;e===!0?m=Mo({value:n[f].category,dataContext:n[f].dataContext}):m=n[f].category.toString(),c===m&&(r=!0),u===m&&(a=!0)}r&&a&&(i=!0),Ri(d,i),Ri(A,i),Ri(p,i)}}function iL(s){let{axis:t,axisMinimum:e,axisMaximum:i}=s,r;if(t instanceof He&&i!==void 0&&e!==void 0){let a=t.axisRanges.values,n=ve(t.chart.uid,"config"),o=ve(t.chart.uid,"isRotated"),l=Xf(t.renderer,o)?0:1,h=n?.axes?.[l]?.guides;for(let c=0;c<a.length;c+=1){let u=a[c],{value:d,endValue:A,axisFill:p,grid:f,label:m}=u;if(gs(m?.uid,"isGuide")===!0){if(r=u.visible,r&&u instanceof yo){let{start:g,end:y}=kw(t,h?.[c]),_=Math.min(d,A,g??d,y??A),w=Math.max(d,A,g??d,y??A);_<e&&w<e||_>i&&w>i?r=!1:(u.value=_<e?e:_,u.endValue=w>i?i:w)}Ri(p,r),Ri(f,r),Ri(m,r)}}}}function cj(s){s instanceof He?(s.adapter.add("min",t=>(iL({axis:s,axisMinimum:t,axisMaximum:s.max}),t)),s.adapter.add("max",t=>(iL({axis:s,axisMinimum:s.min,axisMaximum:t}),t))):s instanceof Ot&&s.events.on(Ie.Validated,()=>{let t=ve(s.chart.uid,"isNonAggregatedChart");uj({axis:s,isNonAggregatedChart:t})})}function Of(s){let{axes:t,isSecondValueAxis:e=!1,isXAxis:i,valueFormat:r,chartType:a,queryObject:n}=s,o;if(Um({isXAxis:i,chartType:a,valueFormat:r})&&!e)o=t.push(new Ot);else if(ro(r))o=t.push(new Ct);else if(xa(r)){o=t.push(new He);let l=ve(o.chart.uid,"formatLocale");o.numberFormatter=yl({type:V.NumberAxisFormat,iLocale:o.chart.language.locale,formatLocale:l}),o.numberFormatter.numberFormat="#",e?(o.renderer.opposite=!0,o.renderer.grid.template.disabled=!0):hj(o)}o!==void 0&&(oH(o),oj({axis:o,valueFormat:r,axisRenderer:o.renderer,queryObject:n}),cj(o))}function MI(s){let{chart:t,axesConfig:e,isRotated:i,chartType:r,queryObject:a}=s;ni(t.uid,{isRotated:i===!0});let n=i===!0?e?.[1]:e?.[0],o=i===!0?e?.[0]:e?.[1],l=n?.valueFormat,h=o?.valueFormat;l!==void 0&&h!==void 0&&(t.xAxes.clear(),t.yAxes.clear(),Of({chartType:r,isXAxis:i!==!0,axes:t.xAxes,valueFormat:l,queryObject:a}),Of({chartType:r,isXAxis:i===!0,axes:t.yAxes,valueFormat:h,queryObject:a}),e?.[2]!==void 0&&Of({chartType:r,isXAxis:i===!0,axes:i===!0?t.xAxes:t.yAxes,valueFormat:e[2].valueFormat,isSecondValueAxis:!0,queryObject:a}))}function dj(s){let{axis:t,isLogarithmic:e,axisConfigIndex:i}=s,r=ve(t.chart.uid,"config"),a=e===!0&&ag({chartConfig:r,chartData:t.chart.data,axisConfigIndex:i});(t instanceof Ct||t instanceof He)&&(t.logarithmic=a,t.treatZeroAs=a?re.treatZeroValueAs:0)}function Aj(s,t){let{minimum:e,maximum:i,isLogarithmic:r}=t??{},{buffer:a}=t??{};return a??=re.buffer,s instanceof He&&!(s instanceof Ct)&&!a&&(r!==!0||i!=null||e!=null)}function pj(s,t){let e=!1;return s instanceof He&&!(s instanceof Ct)&&(e=Aj(s,t),s.strictMinMax=e),e}function fj(s){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=s,a=e?.minimum,n=e?.maximum,o=e?.isLogarithmic??!1,l=a,h=n,{chart:c}=t,u=ve(c.uid,"isRotated"),d=ve(c.uid,"config"),A=0;if(c instanceof Wt&&d!==void 0){let p=Ua(d),f=Xf(t.renderer,u),m=MH(c),g=sg({chartConfig:d,isSecondValueAxis:r,seriesIds:m}),y=wx({chartConfig:d,chartData:c.data,filteredSeriesIds:g});if(p===Gi.Stacked100)l=Number.NaN,h=Number.NaN;else{let{minX:_,maxX:w,minY:S,maxY:P}=y,[T,L]=f?[_??Number.NaN,w??Number.NaN]:[S,P];A=T,i===V.BarSeries||i===V.ComboLineAndBarSeries||i===V.LineSeries&&p===Gi.Stacked&&!f?(l=Math.min(T,0),h=Math.max(L,0)):(l=T,h=L)}l=a??l,h=n??h}return o&&l!==void 0&&l!==null&&l<=0&&(l=AH(A)),{min:l,max:h}}function RI(s){let{axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r}=s,{minimum:a,maximum:n,isLogarithmic:o}=e??{};if(t instanceof He||t instanceof Ct)if(pj(t,e)){let l=a,h=n;if(ZL({minimumFromConfig:a,maximumFromConfig:n,isLogarithmic:o})){let c=fj({axis:t,axisConfig:e,chartType:i,isSecondValueAxis:r});l=c.min,h=c.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 mj(s){let{axis:t,timeIntervalInfo:e,dateBaseInterval:i}=s;if(t instanceof Ct){let{size:r,unit:a}=e??{};if(a||({size:r,unit:a}=i??{}),r&&a!==void 0){let n;switch(a){case tr.Second:n="second";break;case tr.Minute:n="minute";break;case tr.Hour:n="hour";break;case tr.Day:n="day";break;case tr.Week:n="week";break;case tr.Month:n="month";break;case tr.Year:n="year";break}n!==void 0&&(t.baseInterval={timeUnit:n,count:r})}}}function gj(s,t){s instanceof He&&(s.renderer.baseGrid.disabled=t!==!0)}function yj(s,t){s.cursorTooltipEnabled=t===!0}function vj(s,t){let e=s.renderer instanceof Ar;s.events.once(Ie.Validated,()=>{let i=s.renderer instanceof Lr?re.yAxisTitleLabel:re.xAxisTitleLabel;e&&(i={...i,dy:i.dy??0}),Cn({label:s.title,labelConfig:t,defaults:i}),Rc({chart:s.chart,label:s.title,labelType:s.renderer instanceof Ar?ii.XAxisTitle:ii.YAxisTitle})})}function bj(s,t){let e=!0;return t===V.BoxPlotSeries&&(e=s instanceof wr),e}function UI(s){let t=zs(()=>{let{chart:e}=s,i=ve(e.uid,"config");if(e!==void 0&&i!==void 0){let r=ze(i?.series);if(bj(s,r)){let a=ve(e.uid,"isRotated"),n=Hs(s.uid,"stackedType");n===Gi.Stacked100&&!s.visible&&Ri(s,!1);let o=e.xAxes.getIndex(0),l=e.yAxes.getIndex(0),h=e.yAxes.getIndex(1),c=a===!0?1:0,u=i.axes?.[c],d=a===!0?0:1,A=i.axes?.[d],p=i.axes?.[2];[{axis:o,axisConfig:u,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:_}=f;m!==void 0&&(RI({axis:m,chartType:r,axisConfig:g,isSecondValueAxis:_}),y!==void 0&&m.events.once(Ie.Validated,()=>{let{labelToRender:w}=EI(s,n);w&&(w.html=a===!0?"{valueX}":"{valueY}")}))})}}},re.debounceTime);s.events.once(Ie.Validated,t)}function xj(s,t){if(s instanceof He){let{integerOnlyValues:e,valueFormat:i}=t,r=Px(i)?i.intlOptions.maximumFractionDigits:void 0;s.maxPrecision=e===!0||r===0?0:Number.NaN}}function vv(s){let{axis:t,axisConfig:e,axisConfigIndex:i,timeIntervalInfo:r,chartType:a,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,guideTooltipFormatter:h,stackedType:c,axisValueFormatter:u,isSecondValueAxis:d,isRotated:A,isTimeOnlyField:p,utilsStrings:f,errorStrings:m}=s,{visible:g,isLogarithmic:y,title:_,grid:w,lineSymbol:S,labels:P,guides:T,valueFormat:L,displayZeroLine:$,displayCursorTooltip:I,tickSpacing:M,dateBaseInterval:F}=e;mj({axis:t,timeIntervalInfo:r,dateBaseInterval:F}),Oc({element:t.renderer.grid.template,lineSymbol:w,visible:g}),Oc({element:t.renderer.line,lineSymbol:{color:[...re.color],...S??ZA()},visible:g}),Oc({element:t.renderer.ticks.template,lineSymbol:S,visible:g}),tj({axis:t,axisConfig:e,horizontalAxisLabelsBehavior:n,verticalAxisLabelsBehavior:o,axisLabelsBehaviorChanged:l,isSecondValueAxis:d}),xj(t,e),H2({axis:t,labelsConfig:P,horizontalAxisLabelsBehavior:n,isSecondValueAxis:d,tickSpacing:M}),dH({axis:t,isXAxis:Xf(t.renderer,A),chartType:a,labelsTextSymbol:e.labels.content,formatOptions:L,overridePercentMultiplication:c===Gi.Stacked100,axisValueFormatter:u,isTimeOnlyField:p,errorStrings:m}),RI({axis:t,axisConfig:e,chartType:a,isSecondValueAxis:d}),dj({axis:t,isLogarithmic:y,axisConfigIndex:i}),vj(t,_),yj(t,I),d!==!0&&(U2({axis:t,guides:T,guideTooltipFormatter:h,utilsStrings:f}),gj(t,$))}function _j(s){let{chart:t,rotationChanged:e,isRotated:i,dualAxisChanged:r,timeIntervalInfoWasReset:a,timeIntervalInfo:n,guideTooltipFormatter:o,xAxisLabelFormatter:l,yAxisLabelFormatter:h,secondaryYAxisLabelFormatter:c,utilsStrings:u,errorStrings:d,queryObject:A}=s,{axisLabelsBehaviorChanged:p}=s,f=ve(t.uid,"config"),m=f.axes,{horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:y}=f,_=ze(f.series),w=Ua(f),S=ve(t.uid,"fieldList")?.some(G=>G.name===f.series[0].x&&G.type===GA.TimeOnly)??!1,P=i===!0?1:0,T=i===!0?0:1,L=m?.[P],$=m?.[T],I=t.xAxes.getIndex(0);VI({chart:t,dualAxisChanged:r,rotationChanged:e,timeIntervalInfoWasReset:a,axisLabelsBehaviorChanged:p})&&(MI({chart:t,axesConfig:m,isRotated:i,chartType:_,queryObject:A}),p=[!0,!0]),I=t.xAxes.getIndex(0);let M=t.yAxes.getIndex(0),F=t.xAxes.getIndex(1)??t.yAxes.getIndex(1),Q=I?.start,Y=I?.end,z=M?.start,ee=M?.end,ie=F?.start,de=F?.end,K={timeIntervalInfo:n,chartType:_,horizontalAxisLabelsBehavior:g,verticalAxisLabelsBehavior:y,axisLabelsBehaviorChanged:p,guideTooltipFormatter:o,stackedType:w,isRotated:i,utilsStrings:u,errorStrings:d};I!==void 0&&L!==void 0&&vv({...K,axis:I,axisConfig:L,axisConfigIndex:P,axisValueFormatter:P===0?l:h,isTimeOnlyField:S}),M!==void 0&&$!==void 0&&vv({...K,axis:M,axisConfig:$,axisConfigIndex:T,axisValueFormatter:T===1?h:l,isTimeOnlyField:S}),F!==void 0&&m?.[2]!==void 0&&vv({...K,axis:F,axisConfig:m[2],axisConfigIndex:2,axisValueFormatter:c,isSecondValueAxis:!0,isTimeOnlyField:S}),e===!0&&[{axis:I,start:Q,end:Y},{axis:M,start:z,end:ee},{axis:F,start:ie,end:de}].forEach(G=>{let{axis:xe,start:ae,end:ne}=G;xe!==void 0&&xe.events.once(Ie.Validated,()=>{sw({axis:xe,start:ae,end:ne})})}),I!==void 0&&I.ghostLabel.setPropertyValue("disabled",!0),M!==void 0&&M.ghostLabel.setPropertyValue("disabled",!0),F!==void 0&&F.ghostLabel.setPropertyValue("disabled",!0)}function VI(s){let{chart:t,dualAxisChanged:e,rotationChanged:i,timeIntervalInfoWasReset:r,axisLabelsBehaviorChanged:a}=s,n=ve(t.uid,"config"),{rotated:o,series:l}=n,h=n.axes,c=ze(l),u=o===!0?1:0,d=o===!0?0:1,A=h?.[u]?.valueFormat,p=h?.[d]?.valueFormat,f=t.xAxes.getIndex(0),m=t.yAxes.getIndex(0),g=f===void 0||i||A!==void 0&&JC({axis:f,valueFormat:A,chartType:c}),y=m===void 0||i||p!==void 0&&JC({axis:m,valueFormat:p,chartType:c});return e===!0||i===!0||r===!0||a?.[0]||a?.[1]||g||y}function Cj(s){MI(s)}function wj(s){let{chart:t,chartConfig:e,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:c,yAxisLabelFormatter:u,secondaryYAxisLabelFormatter:d,utilsStrings:A,errorStrings:p,queryObject:f}=s,m=Ua(e);_j({chart:t,rotationChanged:i,axisLabelsBehaviorChanged:r,isRotated:a,dualAxisChanged:n,timeIntervalInfoWasReset:o,timeIntervalInfo:l,guideTooltipFormatter:h,xAxisLabelFormatter:c,yAxisLabelFormatter:u,secondaryYAxisLabelFormatter:d,utilsStrings:A,errorStrings:p,queryObject:f});let g=a===!0?t.yAxes.getIndex(0):t.xAxes.getIndex(0);if(g!==void 0){g instanceof Ot&&(g.dataFields.category=eg(e));let w=g.renderer,S=w.grid.template;S.location=0,w.cellStartLocation=.1,w.cellEndLocation=.9;let P=e.orderOptions?.data&&"orderBy"in e.orderOptions.data&&e.orderOptions.data.orderBy===zA.Descending,T=a===!0;P&&g instanceof Ct&&(T=!T),w.inversed=T}let y=a===!0?t.xAxes.getIndex(0):t.yAxes.getIndex(0),_=a===!0?t.xAxes.getIndex(1):t.yAxes.getIndex(1);m===Gi.Stacked100?(y instanceof He&&(y.calculateTotals=!0),_ instanceof He&&(_.calculateTotals=!0)):(y instanceof He&&(y.calculateTotals=!1),_ instanceof He&&(_.calculateTotals=!1))}function Vf(s){let{value:t,axisMin:e,axisMax:i}=s,r=Number.NaN,a=i-e;return a!==0&&(r=(t-e)/a),r}function aw(s){return s!=null&&s!==0}function NI(s){let{minimum:t,maximum:e,labelsIncrement:i,minimumValueConversion:r,maximumValueConversion:a}=s,n=t??lt.gauge.axisMinimum,o=e??lt.gauge.axisMaximum;n=sx(n,r),o=sx(o,a);let l=aw(i),h=aw(i)?i:Math.abs(o-n)/lt.gauge.numberOfLabelIntervals,c=l?Math.round(Math.abs(o-n)/h):lt.gauge.numberOfLabelIntervals;if(l)if(c>lt.gauge.maximumNumberOfLabelIntervals)h=Math.abs(o-n),c=1;else{let u=n+c*h;u<o?(c+=1,o=n+c*h):u>o&&(o=u)}return{min:n,max:o,labelsIncrement:h,numberOfIntervals:c}}function HI(s){let{axisConfig:t,axisMin:e,axisMax:i}=s;typeof e=="number"&&typeof i=="number"&&i-e!==0&&t.guides?.forEach(r=>{let{start:a,end:n}=r;typeof a=="number"&&(r.start=Vf({value:a,axisMin:e,axisMax:i})),typeof n=="number"&&(r.end=Vf({value:n,axisMin:e,axisMax:i}))})}function Bj(s){let{featureIndex:t,chartData:e,chartConfig:i}=s,{minimumFromField:r,maximumFromField:a}=i?.axes?.[0]??{},n,o;if(t>=0&&t<e.length){let l=e[t];typeof r=="string"&&!Yi(r)&&Number.isFinite(l[r])&&(n=l[r]),typeof a=="string"&&!Yi(a)&&Number.isFinite(l[a])&&(o=l[a])}return{minimumFromData:n,maximumFromData:o}}function Sj(s){let{featureIndex:t,chartData:e,x:i}=s,r=-1;if(t>=0&&t<e.length){let a=e[t];i!==void 0&&!Yi(i)&&Number.isFinite(a[i])&&(r=a[i])}return r}async function QI(s){let{featureIndex:t=0,chartData:e,queryConfig:i,chartConfig:r,queryObject:a}=s,{axes:n,series:o}=r,l=rg(r),{minimum:h,maximum:c}=n?.[0]??{},{x:u}=o?.[0]??{},d=lt.gauge,A,p;l?{minimumFromData:A,maximumFromData:p}=Bj({featureIndex:t,chartData:e,chartConfig:r}):i!==void 0&&({minimumFromData:A,maximumFromData:p}=await rT({queryObject:a,chartConfig:r,queryConfig:i}));let f=A??h??d.axisMinimum,m=p??c??d.axisMaximum,g=Sj({chartData:e,featureIndex:t,x:u});return{minimum:f,maximum:m,dataValue:g}}function Fj(s){let{oldConfig:t,axisMax:e,min:i,max:r,labelsIncrement:a,numberOfIntervals:n,valueFormat:o,minimumFromField:l}=s,h=Ou(o),c=!0;if(t!==void 0){let{minimum:u,minimumFromField:d,labelsIncrement:A,valueFormat:p}=t.axes[0],f=p?.intlOptions?.style!==o?.intlOptions?.style,m=aw(A)?A!==a:n!==lt.gauge.numberOfLabelIntervals;c=f||i!==u||l!==d||!h&&r!==e||m}return c}var Ds={InnerLabel:0,InnerLabelSecondary:1,AxisLabels:2,FirstAndLastLabels:3};function pu(s,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(s.uid,e);i!==void 0&&(i.dispose(),i=void 0,ni(s.uid,{[e]:void 0}))}}function Tj(s){let{chart:t,labelList:e,scaleToAdjust:i,fontSize:r,type:a,axisConfig:n}=s,o=Number.NaN,l=Number.NaN,h=i;if(a===Ds.InnerLabel){let u=e[0],d=n?.innerLabel?.content?.verticalAlignment??Yt.Middle,A=u.dy??0,p=Math.round(t.chartContainer.measuredHeight-t.radarContainer.pixelY-A),f=u.bbox.height*i,m=0;switch(d){case Yt.Bottom:m=f;break;case Yt.Top:m=-f;break;case Yt.Middle:case Yt.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 c=r*h;return c<o?h*=o/c:c>l&&(h*=l/c),h}function Ow(s){let{chart:t,type:e,labelList:i,currentScale:r,currentFontSize:a,axisConfig:n}=s,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(c=>c.measuredWidth>0&&c.measuredHeight>0)?.measuredHeight??0;if(h>0){let c=h/l;if(c>0){let{axisLabelToInnerChartRatio:u,innerLabelToInnerChartRatio:d}=re.gauge,A=e===Ds.InnerLabel?d:u;o=r*(A/c),o=Tj({chart:t,labelList:i,axisConfig:n,scaleToAdjust:o,fontSize:a,type:e}),o=Number(o.toFixed(2))}}}return Number.isFinite(o)||(o=r),o}function Pj(s){return s?.labels.content.font?.size===void 0||s?.innerLabel?.visible!==!1&&s?.innerLabel?.content?.font?.size===void 0}function Uv(s){return s.some(t=>op(t)&&t.value!==void 0)}function Dj(s){let{chart:t,axisConfig:e,axis:i}=s;if(e.labels.content.font?.size===void 0&&e.onlyShowFirstAndLastLabels!==!0){pu(t,Ds.AxisLabels),pu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{let n=tn(i,vr.GaugeTicksWithLabels);if(Uv(n)){let o=n.map(d=>d.label),l=o[0].scale,h=o[0].fontSize,c=Ow({chart:t,type:Ds.AxisLabels,labelList:o,currentScale:l,currentFontSize:h,axisConfig:e}),u=c/l;Number.isFinite(c)&&c>0&&(u<=.98||u>1.02)&&o.forEach(d=>{d.scale=c})}}),i.validate()};t.events.once(Ie.Validated,r);let a=t.events.on(Ie.SizeChanged,r);ni(t.uid,{gaugeAutoResizeAxisLabelsDisposer:a}),r()}else{pu(t,Ds.AxisLabels);let r=tn(i,vr.GaugeTicksWithLabels);r.length>0&&r.map(a=>a.label).forEach(a=>{a.scale=1})}}function Lj(s,t){let e=ve(s.uid,"config")?.axes?.[0];if(e?.innerLabel?.visible!==!1&&e?.innerLabel?.content?.font?.size===void 0){let i=s.xAxes.getIndex(0)?.measuredWidth;if(i!==void 0&&i>0){let r=Ow({chart:s,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 Ij(s,t){pu(s,Ds.InnerLabel),pu(s,Ds.InnerLabelSecondary);let e=s.xAxes.getIndex(0),i=()=>{e?.events.once(Ie.Validated,()=>{Lj(s,t)})},r=s.events.on(Ie.Validated,i),a=s.events.on(Ie.SizeChanged,i);ni(s.uid,{gaugeAutoResizeInnerLabelFirstDisposer:a,gaugeAutoResizeInnerLabelSecondDisposer:r}),i()}function nw(s){return s?.labels.content.font?.size===void 0&&s?.onlyShowFirstAndLastLabels===!0}function kj(s){let t=s.chart,e=ve(t.uid,"config")?.axes?.[0],i=tn(s,vr.GaugeFirstAndLastGuides);if(Uv(i)){let r=i.map(l=>l.label),a=r[0].scale,n=r[0].fontSize,o=Ow({chart:t,type:Ds.FirstAndLastLabels,labelList:r,currentScale:a,currentFontSize:n,axisConfig:e});Number.isFinite(o)&&o>0&&r.forEach(l=>{mu(l.uid,{originalWidth:l.measuredWidth/l.scale,originalHeight:l.measuredHeight/l.scale}),l.scale=o,l.validate()})}}function $j(s){let{chart:t,axisConfig:e,axis:i}=s;if(nw(e)){pu(t,Ds.AxisLabels),pu(t,Ds.FirstAndLastLabels);let r=()=>{i.events.once(Ie.Validated,()=>{kj(i)})},a=t.events.on(Ie.SizeChanged,r);ni(t.uid,{gaugeAutoResizeFirstAndLastLabelsDisposer:a}),r()}else pu(t,Ds.FirstAndLastLabels),tn(i,vr.GaugeFirstAndLastGuides).map(r=>r.label).forEach(r=>{r.scale=1})}function ow(s,t){let e=s.xAxes.getIndex(0);if(e!==void 0){let i=t??ve(s.uid,"config"),{onlyShowFirstAndLastLabels:r}=i?.axes?.[0]??{};if(!e.renderer.labels.template.visible||r===!0)s.radius=new qe(re.gauge.radius);else{let a=tn(e,vr.GaugeTicksWithLabels),{furthestLabelX:n,furthestLabelY:o}=a.reduce(({furthestLabelX:l,furthestLabelY:h,furthestPixelX:c,furthestPixelY:u},{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>c&&(c=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>u&&(u=y,h=d)}return{furthestLabelX:l,furthestLabelY:h,furthestPixelX:c,furthestPixelY:u}},{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,c=typeof e.renderer.labels.template.radius=="number"?e.renderer.labels.template.radius:e.renderer.labels.template.radius.value,u=(l+c)*2+s.radarContainer.measuredWidth+pv(s.paddingLeft)+pv(s.paddingRight),d=80,A=170,p=s.htmlContainer?.clientHeight??0,f=Math.max(0,Math.min(1,(p-d)/(A-d))),m=s.radarContainer.measuredHeight+(h+c*f)*2+pv(s.paddingTop)+pv(s.paddingBottom),g=s.measuredWidth,y=s.measuredHeight,_=g/u,w=y/m,S=(typeof s.radius=="number"?s.radius:s.radius.value)*100,P=Number((S*_).toFixed(2)),T=Number((S*w).toFixed(2)),L=P/S,$=T/S,I=s.radarContainer.measuredWidth*L,M=s.radarContainer.measuredWidth*$,[F,Q]=I<M?[P,L]:[T,$];Number.isFinite(F)&&F>=10&&F<=re.gauge.radius&&(Q<.98||Q>1.02)&&(s.radius=new qe(F))}}}}function Oj(s){let t=s.xAxes.getIndex(0);t!==void 0&&(t.events.on(Ie.SizeChanged,()=>ow(s)),t.events.on(Ie.Validated,zs(()=>ow(s),re.debounceTime)))}function jI(s){let t=s.hands.push(new Zd),e=re.gaugeNeedle,{startWidth:i,endWidth:r,innerRadius:a}=e;t.pin.disabled=!0,t.startWidth=i??Number.NaN,t.endWidth=r??Number.NaN,t.innerRadius=he(a??Number.NaN);let n=s.xAxes.getIndex(0);return n!==void 0&&(t.axis=n),t}function Ej(s){let{x:t,data:e,chart:i,valueFormat:r,minimum:a,maximum:n}=s,o=Number.NaN;if(e!==void 0&&t!==void 0){let l=e.find(c=>t in c),h=Number.parseFloat(l[t]);Number.isFinite(h)&&(o=h,ni(i.uid,{gaugeData:o}))}else{let l=ve(i.uid,"gaugeData");Number.isFinite(l)&&(o=l)}return Ou(r)&&a!==void 0&&n!==void 0&&a!==null&&n!==null&&o!==null&&n-a!==0&&(o=Vf({value:o,axisMin:a,axisMax:n})),o}function Mj(s,t){let e=t??null;if(t!=null){let i=s.xAxes.getIndex(0),r=ve(s.uid,"config"),a=i.min??r?.axes?.[0].minimum??re.gauge.axisMinimum,n=i.max??r?.axes?.[0].maximum??re.gauge.axisMaximum;t<a?e=a:t>n&&(e=n)}return e}function Rj(s){let{chart:t,needle:e,gaugeValue:i}=s,r=t.hands.getIndex(0)??jI(t);if(r!==void 0){Mf({element:r,fillSymbol:e?.symbol});let{startWidth:a,endWidth:n,innerRadius:o}=re.gaugeNeedle;r.value=Mj(t,i),r.pin.disabled=e?.displayPin!==!0,r.visible=e?.visible??!0,r.startWidth=e?.startWidth??a,r.endWidth=e?.endWidth??n,r.innerRadius=he(e?.innerRadius??o)}}function Uj(s){let t=vl(void 0,s.radarContainer);t.isMeasured=!1,mu(t.uid,{isGaugeAxisInnerLabel:!0}),Ij(s,t)}function Vj(s){let{chart:t,innerLabelConfig:e,valueFormat:i,gaugeValue:r,gaugeInnerLabelFormatter:a}=s,n=t.radarContainer.children.values.find(o=>gs(o.uid,"isGaugeAxisInnerLabel")===!0);if(n!==void 0){Cn({label:n,labelConfig:e,defaults:re.gaugeInnerLabel});let o=ve(t.uid,"formatLocale");n.html=Zj({valueFormat:i,iLocale:t.language.locale,formatLocale:o,gaugeValue:r,innerLabelConfigContent:e?.content,gaugeInnerLabelFormatter:a}),t.radarContainer.invalidateLabels()}}function Nj(s){let t=s.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 Hj(s){let t=new Un;return t.disabled=!0,t.axis=s,Iv(t),t.padding(10,10,10,10),mu(t.uid,{isGaugeAxisLabel:!0}),t}function Qj(s){let{axis:t,min:e,max:i,labelsIncrement:r,numberOfIntervals:a,valueFormat:n}=s,o=Ou(n),l=1,h=tn(t,vr.Ticks);h.length>0&&(l=h[0].label?.scale,h.forEach(d=>{if(op(d)){let A=t.axisRanges.values.indexOf(d);A>=0&&t.axisRanges.removeIndex(A)}}));let c=re.gauge.numberOfTicksBetweenTwoLabels+1,u=a*c+1;for(let d=0;d<u;d+=1){let A=d===u-1,p=Nj(t),f=A?i:e+d/c*r;p.value=o?Vf({value:f,axisMin:e,axisMax:i}):f,d%c===0&&(p.label=Hj(t),p.label.text=String(f),p.grid.disabled=!0,Number.isFinite(l)&&(p.label.scale=l))}}function jj(s){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,axisLabelConfigContent:a,axisValueFormatter:n}=s;if(!i){let o=tn(e,vr.GaugeTicksWithLabels);if(Uv(o)){let l=ve(t.uid,"formatLocale");o.forEach(h=>{Cn({label:h.label,labelConfig:a}),op(h)&&(h.label.html=WI({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))})}}}function Wj(s,t){let e=t?.ticks?.visible??!0,i=tn(s,vr.Ticks);for(let r=0;r<i.length;r+=1){let a=i[r];Ri(a.tick,e)}}function Xj(s,t){if(s instanceof He&&s.chart instanceof qs){let e=tn(s,vr.GaugeTicksWithLabels);if(Uv(e)){let{onlyShowFirstAndLastLabels:i,labels:r}=t,a=(r?.visible??!0)&&i!==!0;e.forEach(n=>{Ri(n.label,a)})}}}function zj(s){let{labels:t,guides:e,onlyShowFirstAndLastLabels:i}=s,r=e??[];if(i===!0){let a={type:V.Guide,start:Number.NaN,style:{type:"esriSLS"},name:""};r.push({...a,start:s.minimum??Number.NaN,name:re.gaugeFirstLabelId,label:{...t.content,text:`${s.minimum}`}},{...a,start:s.maximum??Number.NaN,name:re.gaugeLastLabelId,label:{...t.content,text:`${s.maximum}`}})}s.guides=r}function Gj(s){tn(s,vr.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(s.chart.uid,"config")?.axes?.[0],a=gs(t.label.uid,"originalWidth"),n=nw(r)&&a!==void 0&&a===t.label.measuredWidth&&t.label.scale!==1;i=Math.round((n?a*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(s.chart.uid,"config")?.axes?.[0],a=gs(t.label.uid,"originalHeight"),n=nw(r)&&a!==void 0&&a===t.label.measuredHeight&&t.label.scale!==1;i=Math.round((n?a*t.label.scale:t.label.measuredHeight)/2)}return i})})}function Yj(s){let{chart:t,axis:e,onlyShowFirstAndLastLabels:i,valueFormat:r,gaugeLabelConfigContent:a,axisValueFormatter:n}=s;if(i){let o=tn(e,vr.GaugeFirstAndLastGuides),l=ve(t.uid,"formatLocale");o.forEach(h=>{h?.label!==void 0&&op(h)&&(h.label.html=WI({valueFormat:r,iLocale:t.language.locale,formatLocale:l,gaugeLabelConfigContent:a?.content,itemLabelValue:h.value,axisValueFormatter:n}))}),Gj(e)}}function Kj(s){let{chart:t,valueFormat:e,queryObject:i}=s;t.xAxes.clear(),Of({isXAxis:!0,axes:t.xAxes,valueFormat:e,queryObject:i});let r=t.xAxes.getIndex(0);r instanceof He&&(r.renderer.labels.template.disabled=!0,r.renderer.ticks.template.disabled=!0,jI(t),Uj(t),Oj(t),r.maxZoomFactor=1)}function Zj(s){let{valueFormat:t,iLocale:e,formatLocale:i,innerLabelConfigContent:r,gaugeValue:a,gaugeInnerLabelFormatter:n}=s,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let l=Eo(t),h=yl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${a}`),o=_a({textSymbol:{type:Dt.TS,...r,text:o},format:"html"}),o=Mr(o)}return o}function WI(s){let{valueFormat:t,iLocale:e,formatLocale:i,gaugeLabelConfigContent:r,itemLabelValue:a,axisValueFormatter:n}=s,o="";if(Number.isFinite(a))if(n!==void 0)o=n(a);else{let l=Eo(t),h=yl({type:V.NumberAxisFormat,iLocale:e,formatLocale:i});h.numberFormat=l,o=h.format(`${a}`),o=_a({textSymbol:{type:Dt.TS,...r,text:o},format:"html"}),o=Mr(o)}return o}async function qj(s){let{chart:t,chartConfig:e,data:i,queryObject:r,axisValueFormatter:a,gaugeInnerLabelFormatter:n,utilsStrings:o,errorStrings:l}=s,{axes:h,series:c}=e,u=rg(e),d=ze(e.series),{featureIndex:A,x:p}=c[0],f=h?.[0],m=t.xAxes.getIndex(0),g={...f};if(m!==void 0&&g!==void 0){let{valueFormat:y,needle:_,innerLabel:w,onlyShowFirstAndLastLabels:S}=g;JC({axis:m,valueFormat:y,chartType:d})&&Of({isXAxis:!0,axes:t.xAxes,valueFormat:y,queryObject:r});let P=await QI({featureIndex:A,chartData:t.data,chartConfig:e,queryObject:r,queryConfig:ve(t.uid,"queryConfig")});g.minimum=P.minimum,g.maximum=P.maximum;let{min:T,max:L,labelsIncrement:$,numberOfIntervals:I}=NI(g);Fj({oldConfig:ve(m.chart.uid,"config"),axisMax:m.max,min:T,max:L,labelsIncrement:$,numberOfIntervals:I,valueFormat:y})&&Qj({axis:m,min:T,max:L,labelsIncrement:$,numberOfIntervals:I,valueFormat:y});let M={...g};Ou(y)?(M.minimum=0,M.maximum=1,HI({axisConfig:M,axisMin:g.minimum,axisMax:g.maximum})):(M.minimum=T,M.maximum=L),zj(M),vv({axis:m,axisConfig:M,axisConfigIndex:0,chartType:V.GaugeSeries,axisValueFormatter:a,isTimeOnlyField:!1,utilsStrings:o,errorStrings:l}),m.renderer.labels.template.disabled||(m.renderer.labels.template.disabled=!0),m.renderer.ticks.template.disabled||(m.renderer.ticks.template.disabled=!0),Dj({chart:m.chart,axis:m,axisConfig:g}),$j({chart:t,axis:m,axisConfig:g}),Wj(m,g),jj({chart:t,axis:m,onlyShowFirstAndLastLabels:S??!1,valueFormat:y,axisLabelConfigContent:g.labels,axisValueFormatter:a}),Yj({chart:t,axis:m,onlyShowFirstAndLastLabels:S??!1,valueFormat:y,gaugeLabelConfigContent:g.labels,axisValueFormatter:a});let F=u?P?.dataValue:Ej({x:p,data:i,chart:t,minimum:g.minimum,maximum:g.maximum,valueFormat:y});Rj({chart:t,needle:_,gaugeValue:F}),Vj({chart:t,innerLabelConfig:w,valueFormat:y,gaugeValue:F,gaugeInnerLabelFormatter:n}),Xj(m,g),ow(t,e),t.validateData()}}function Jj(s){s.background.fill=xn(re.backgroundColor)}function Vv(s,t){s.background.fill=xn(t??re.backgroundColor)}function eW(s){let t=wI(re.headerContainer,s),e=vl(re.title,t),i=vl(re.subtitle,t);return s instanceof An&&(Bv(s,e),Bv(s,i),Uf({chart:s,label:e,labelType:ii.ChartTitle}),Uf({chart:s,label:i,labelType:ii.ChartSubTitle})),AQ(t),{headerContainer:t,title:e,subtitle:i}}function Nv(s,t){let{title:e,subtitle:i,headerContainer:r}=s;Cn({label:e,labelConfig:t?.title,defaults:re.titleLabel}),Cn({label:i,labelConfig:t?.subtitle,defaults:re.titleLabel}),BI(r,e.disabled&&i.disabled),Rc({chart:e.parent,label:e,labelType:ii.ChartTitle}),Rc({chart:i.parent,label:i,labelType:ii.ChartSubTitle})}function tW(s){let t=wI(re.footerContainer,s),e=vl(re.footer,t);return s instanceof An&&(Bv(s,e),Uf({chart:s,label:e,labelType:ii.ChartFooter})),{footerContainer:t,footer:e}}function Hv(s,t){let{footer:e,footerContainer:i}=s;Cn({label:e,labelConfig:t,defaults:re.footer}),BI(i,e.disabled||t?.content.text===""),Rc({chart:e.parent,label:e,labelType:ii.ChartFooter})}function XI(s){if(s instanceof Wt){let t=new po,e=new po;t.disabled=!0,e.disabled=!0,t.marginTop=-10,e.marginRight=0,s.scrollbarX=t,s.scrollbarY=e}}function iW(s,t){let e=t?0:-1;s.thumb.tabindex=e,s.startGrip.tabindex=e,s.endGrip.tabindex=e}function rW(s,t){if(t!==void 0){let e=Ec(t);[s.background,s.startGrip.background,s.endGrip.background,s.thumb.background,s.background.states.getKey("default")?.properties,s.startGrip.background.states.getKey("default")?.properties,s.endGrip.background.states.getKey("default")?.properties,s.thumb.background.states.getKey("default")?.properties,s.startGrip.background.states.getKey("hover")?.properties,s.endGrip.background.states.getKey("hover")?.properties,s.thumb.background.states.getKey("hover")?.properties,s.startGrip.background.states.getKey("down")?.properties,s.endGrip.background.states.getKey("down")?.properties,s.thumb.background.states.getKey("down")?.properties].forEach(i=>{i!==void 0&&(i.fill=e)})}}function sW(s,t){typeof t=="number"&&Number.isFinite(t)&&(s.orientation==="horizontal"?(s.height=t,s.minHeight=t):(s.width=t,s.minWidth=t))}function aW(s,t){if(typeof t=="number"&&Number.isFinite(t)){let e=t/30;s.startGrip.scale=e,s.endGrip.scale=e}}function nW(s,t){typeof t=="number"&&Number.isFinite(t)&&(s.orientation==="horizontal"?s.marginBottom=t:s.marginLeft=t,s.parent?.invalidateLayout())}function zI(s){let{chart:t,scrollbarXConfig:e,scrollbarYConfig:i}=s;if(t instanceof Wt){let r=ve(t.uid,"isRotated");(t.scrollbarX===void 0||t.scrollbarY===void 0)&&XI(t);let{scrollbarX:a,scrollbarY:n}=t;[a,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,iW(o,!h),l!==void 0&&!h){let{width:c,color:u,gripSize:d,margin:A}=l;nW(o,A),rW(o,u),aW(o,d),sW(o,c)}})}}function oW(s,t){s.columns.each(e=>{(e.dataItem?.dataContext)[t]===0&&(e.strokeOpacity=0)})}function lW(s,t){let e=s.chart.legend.events.on(Ie.Validated,()=>{gu({element:s.legendDataItem?.marker.children.getIndex(0),stylingInfo:t}),s.chart.legend.isReady()&&(e.dispose(),s.chart.legend.invalidate())})}function hW(s){let{series:t,seriesConfig:e,seriesIndex:i,numberOfSeries:r,chartSubType:a,colorMatch:n,rendererType:o}=s,l=t.dataFields.valueY??t.dataFields.valueX??e.y,h=!1,c=new Set,u,d=e.fillSymbol,A={seriesConfig:e,seriesIndex:i,seriesSymbol:d,colorMatch:n,isChartFillSymbol:!0},p={},f={},m=Zb(i);if(t.columns.length===0?p=Mc({seriesConfig:e,seriesIndex:i,seriesSymbol:d??m,element:new Oe,colorMatch:n,isChartFillSymbol:!0}):t.columns.each(g=>{let y=g.dataItem?.dataContext;if(Number.isFinite(y?.[l])){let _=on({dataItem:y,seriesConfig:e,chartSubType:a,colorMatch:n,rendererType:o}),w=y[re.xAxisField]===re.nullValue,S=(w&&e.nullCategory?.symbol!==void 0?e.nullCategory.symbol:d)??m;p=Mc({...A,seriesSymbol:S,element:g,rendererSymbol:_}),gu({element:g,stylingInfo:p.stylingInfo}),w||(c.add(JSON.stringify(p.symbolWithColorInfo)),f=p)}}),r>1){let g=t.chart.legend.markers.values;g.length!==0?g.forEach(y=>{if(y.dataItem instanceof fo){let _=y.dataItem.marker.children.getIndex(0);_!==void 0&&_.baseSprite?.parent instanceof Ni?gu({element:_,stylingInfo:f.stylingInfo}):h=!0}}):h=!0}return h&&lW(t,f.stylingInfo),c.size<=1&&(u=f.symbolWithColorInfo??d),oW(t,l),u}function uW(s){let{series:t,seriesSymbolMapForEvent:e,seriesIndexMapper:i,seriesIndex:r,colorMatch:a,rendererType:n}=s,o=s.seriesConfig,l=ve(t.chart.uid,"config"),h=l?.series.length??0,c=kt(l?.series),u=hW({series:t,seriesConfig:o,seriesIndex:r,numberOfSeries:h,chartSubType:c,colorMatch:a,rendererType:n});e.set(i.get(o.id)??r,u),e.size===h&&nn({data:e,htmlContainer:t.chart.htmlContainer,chartId:t.chart.id,colorMatchApplied:kv(t.chart)})}function GI(s){let{seriesConfig:t,series:e,seriesIndexMapper:i,rotationChanged:r,colorMatch:a,stackedType:n,rendererType:o,seriesIndex:l,seriesSymbolMapForEvent:h,queryObject:c}=s,{name:u}=t,d=ve(e.chart.uid,"config"),A=_n({config:d}),p=kt(d?.series);Ri(e,t.visible);let f=u,m=e.dataFields?.customValue??"";(p===Ee.BarAndLineSplitBy||p===Ee.BarAndLineSplitByNoAggregation)&&(f=Zm({queryObject:c,fieldName:Vo(m),fieldValue:f})??f),xA(e,f),ww({series:e,seriesConfig:t,rotationChanged:r,stackedType:n,isRotated:A}),uW({series:e,seriesConfig:t,seriesIndex:l,seriesIndexMapper:i,colorMatch:a,rendererType:o,seriesSymbolMapForEvent:h}),Po(e.uid,{barSeriesLastUpdate:{numberOfColumnsUpdated:e.columns.length,updateProps:s}})}function cW(s){s.events.on(Ie.Validated,()=>{let t=Hs(s.uid,"barSeriesLastUpdate");if(t!==void 0){let{numberOfColumnsUpdated:e,updateProps:i}=t;s.columns.length>e&&GI(i)}})}function dW(s){let{chart:t,chartConfig:e,seriesIndex:i,axisList:r=[],hideLoaderHandle:a,selectionTheme:n,queryObject:o}=s,{rotated:l}=e,h=e.series[i],{y:c,assignToSecondValueAxis:u}=h,d=new Ni;jc(d,a),d.id=h.id;let A,p;l!==!0?(A=r[0],p=u===!0&&r[2]?r[2]:r[1]):(A=u===!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 Wt?_n({chart:t}):!1,m=kt(e.series)!==Ee.BarAndLineSplitByNoAggregation?c:`${c}_${Ch({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=dI(g,f);d.dataFields[y]=re.xAxisField,d.baseAxis=g}return ww({series:d,seriesConfig:h,rotationChanged:!1,stackedType:e.stackedType,isRotated:f}),d.dataFields.customValue=h?.query?.where,bI(d.columns.template,d),d.columns.template.width=he(100),Qc({element:d.columns.template,customSelectionTheme:n}),Qf({chart:t,element:d.columns.template,queryObject:o}),Dw(d),cW(d),Hc(d),d}function AW(s){let{seriesConfig:t,series:e,seriesIndex:i,axes:r,utilsStrings:a,fieldList:n,queryObject:o,stackedType:l,options:h}=s;e.id=t.id;let c=_n({chart:e.chart});sj({series:e,seriesType:V.BarSeries,isRotated:c,stackedType:l,hideOversizedSideBySideLabels:t.hideOversizedSideBySideLabels,hideOversizedStackedLabels:t.hideOversizedStackedLabels,dataLabelsConfig:t.dataLabels,yAxisValueFormat:r[1].valueFormat,customDataLabelFormatter:h?.dataLabelFormatter}),$v({styleCallback:GI,callbackProps:s,series:e,seriesConfig:t,onReadyEvent:!0}),_I({series:e,seriesConfig:t,fieldList:n,queryObject:o,utilsStrings:a,seriesIndex:i,tooltipFormatter:h?.tooltipFormatter})}function pW(s){s.labels.template.adapter.add("html",(t,e)=>{let i=Hs(s.uid,"pieChartDataLabelFormatter"),r=t??"",{dataItem:a}=e;if(a instanceof Ta){let{slice:n}=a;if(n!==void 0&&!Ef(n))r="";else if(i!==void 0){let{value:o,percent:l}=a.values?.value??{};if(o!==void 0&&o!==0){let h=`${a.properties?.category??t}`;r=i(h,o,l)}}}return Yi(r)&&(r=re.htmlEmptyContent),Mr(r)})}function fW(s){let t=s.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 Ta&&i.slice.showTooltip()}),pW(s)}function mW(s,t){let{numericValueFormat:e,percentValueFormat:i,displayCategoryOnDataLabel:r,displayNumericValueOnDataLabel:a,displayPercentageOnDataLabel:n,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c,dataLabelsCharacterLimit:u}=t,d=Pw({iLocale:s.chart.language.locale,pieChart:s.chart,valueIntlOptions:e?.intlOptions,percentageIntlOptions:i?.intlOptions,displayNumericValue:a??re.pieChart.displayNumericValueOnDataLabel,displayPercentage:n??re.pieChart.displayPercentageOnDataLabel,valuePrefix:o,valueSuffix:l,percentagePrefix:h,percentageSuffix:c}),A=Xm(u),p=Ra(s.rtl," ");return(f,m,g)=>{let y=d(f,m,g),_=r??re.pieChart.displayCategoryOnDataLabel?A(f):"",w=Yi(_)?"":`${_}${p}`;return w=`${w}${y}`,t.dataLabels?.content!==void 0&&(w=_a({textSymbol:{...t.dataLabels.content,text:w},format:"html",defaults:{...re.pieChart.dataLabels,wrap:t.optimizeDataLabelsOverlapping??re.pieChart.dataLabels.wrap}})),w}}function gW(s){let{pieSeries:t,seriesConfig:e,dataLabelFormatter:i}=s,{dataLabels:r}=e,a=e.dataLabelsOffset??re.pieChart.dataLabelsOffset,n=e.dataLabelsInside??re.pieChart.dataLabelsInside;Po(t.uid,{pieChartDataLabelFormatter:i??mW(t,e)}),Cn({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)||a!==void 0&&Number.isFinite(a)&&o!==a)&&(t.labels.template.radius=n?he(-40):a,t.invalidate())}function yW(s,t){let e=(p,f,m)=>re.htmlEmptyContent,{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:a,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g=re.htmlEmptyContent,y=Pw({iLocale:s.chart.language.locale,pieChart:s.chart,valueIntlOptions:(a??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??re.pieChart.displayNumericValueOnTooltip,displayPercentage:h??re.pieChart.displayPercentageOnTooltip,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A})("",f,m),_=!Yi(p)&&(o??re.pieChart.displayCategoryOnTooltip);if(_&&(g=`<b>${p}</b>`),!Yi(y)){let w=zm(y);g=_?`${g}<br />${w}`:w}return g},e}function vW(s){if(s.tooltip!==void 0){let t=s.fill;t instanceof fc?t=t.stroke:t instanceof mc&&(t=t.backgroundFill),s.tooltip.background.fill=t}}function bW(s){let t=s.slices.template;t.tooltipHTML=re.htmlEmptyContent,t.adapter.add("tooltipHTML",(e,i)=>{let r=e??"",{chart:a}=s;if(a!==void 0&&i.tooltip!==void 0){let n=ve(a.uid,"config"),{dataTooltipVisible:o}=n?.series[0]??{};if(o===!1)i.tooltip.disabled=!0;else{let l=Hs(s.uid,"pieChartTooltipFormatter");if(l!==void 0){let{dataItem:h}=i;if(h instanceof Ta){let c=h.properties.category??"",u=h.dataContext,d=so(u);d===void 0&&(d=c);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,vW(i),r=l(`${c}`,A,p,d)):i.tooltip.disabled=!0}}}}return Mr(r)})}function xW(s){let{series:t,seriesConfig:e,tooltipFormatter:i}=s;Po(t.uid,{pieChartTooltipFormatter:i??yW(t,e)})}function _W(s){s.ticks.template.adapter.add("disabled",(t,e)=>e.dataItem?.values?.value?.value===0||!Number.isFinite(e.dataItem?.values?.value?.value)||t===!0)}function CW(s){let{chartData:t,pieSeries:e,pieSlicesSymbols:i,seriesConfig:r}=s;if(e.slices.length===0){let a=[];t?.forEach(n=>{let o=xw({dataContext:n,pieSlicesSymbols:i,seriesConfig:r});a.push(Ec(o.color))}),a.length>0&&(e.colors.list=a)}}function wW(s){let{seriesConfig:t,hideLoaderHandle:e,selectionTheme:i}=s,{x:r,y:a,id:n,visible:o}=t,l=new ws;l.id=n,jc(l,e),l.dataFields.value=a,l.dataFields.category=r;let h=re.pieChart;l.startAngle=h.min,l.endAngle=360+l.startAngle,_W(l),bW(l),fW(l);let c=i!==void 0&&i.selectedElementsTheme?.transformation?.opacity===void 0?{...i,selectedElementsTheme:{...i?.selectedElementsTheme,transformation:{...i?.selectedElementsTheme?.transformation,opacity:1}}}:i;return Qc({element:l.slices.template,useNativeState:!0,customSelectionTheme:c}),l.slices.template.states.removeKey("hover"),Hc(l),l.hidden=o===!1,Dw(l),l}function BW(s){let{series:t,pieSlicesSymbols:e,seriesConfig:i,selectionTheme:r}=s;t.defaultState.reset(),t.slices.each((a,n)=>{let o=a.dataItem?.dataContext,l=xw({dataContext:o,pieSlicesSymbols:e,seriesConfig:i}),h=Mf({element:a,fillSymbol:l,defaultToColorFromRamp:!0,colorRampIndex:n,isChartFillSymbol:!0});r!==void 0&&r.selectedElementsTheme===void 0&&gu({element:a,stylingInfo:h,stateKey:aa.Active})})}function SW(s,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;s.ticks.template.disabled=i,s.ticks.template.strokeOpacity=re.pieChart.ticksOpacity;let r=e?.lineSymbol??ZA({color:Wb});i&&(r.width=0),Oc({element:s.ticks.template,lineSymbol:r,visible:!i})}function FW(s){let{chart:t,seriesConfig:e,series:i,pieSlicesSymbols:r,options:a,utilsStrings:n,queryObject:o}=s,{tooltipFormatter:l,dataLabelFormatter:h}=a??{},{x:c,y:u,id:d,innerRadius:A,startAngle:p,endAngle:f}=e;i.id=d;let m=kt([e]),g=re.pieChart;i.dataFields.value=m!==Ee.PieFromFields?u:$u,i.dataFields.category=m!==Ee.PieFromFields?c:io;let y=t.radius instanceof qe?t.radius.value:t.radius;t.innerRadius=he((A??g.innerRadius)*y),i.startAngle=p??g.min,i.endAngle=f??360+i.startAngle,gW({pieSeries:i,seriesConfig:e,dataLabelFormatter:h}),CW({chartData:t.data,pieSeries:i,pieSlicesSymbols:r,seriesConfig:e}),$v({styleCallback:BW,callbackProps:s,series:i,seriesConfig:e}),SW(i,e),xW({series:i,seriesConfig:e,tooltipFormatter:l})}async function rL(s){let{chart:t,hitSlice:e,multiSelect:i=!1,queryObject:r}=s,a=[],n=ve(t.uid,"config"),o=t.series.getIndex(0);if(n&&o!==void 0){let l=rI(o),h=bu(o),c={element:{},xAxisField:l,yAxisField:h,seriesIndex:0,chartConfig:n};o.slices.each((u,d)=>{u.isActive&&(u===e||i||u.dataItem instanceof Ta&&u.dataItem.label.isHover)?ah(u.dataItem?.dataContext)?(Hf({groupOfSlicesDataContext:u.dataItem?.dataContext})??[]).forEach(A=>{a.push({...c,element:void 0,elementDataContext:A,elementIndex:d})}):a.push({...c,element:u,elementDataContext:u.dataItem?.dataContext,elementIndex:d}):Kn({element:u,selected:!1,useNativeState:!0})}),a.forEach(u=>{Kn({element:u.element,selected:!0,useNativeState:!0})}),await Wf({chart:t,listSelectedElements:a,selectionSource:Pr.SelectionByClick,queryObject:r})}t.feedLegend()}function TW(s,t){let e=async a=>{let{target:n}=a;if(fI(s)&&s.series.getIndex(0)?.slices.template.togglable){let o=Ev(a,s);if(n instanceof Fa)await rL({chart:s,multiSelect:o,hitSlice:n,queryObject:t});else if(n instanceof Mi){let l=n.dataItem;if(l instanceof Ta){let{slice:h}=l;h.isActive=!h.isActive,await rL({chart:s,multiSelect:o,hitSlice:h,queryObject:t})}}else n===s.background&&await Wf({chart:s,listSelectedElements:[],selectionSource:Pr.SelectionByClick,queryObject:t})}},i=s.series.getIndex(0)?.slices.template;i!==void 0&&(i.events.on(Ie.Hit,e),i.events.on(Ie.DoubleHit,e));let r=s.series.getIndex(0)?.labels.template;r!==void 0&&r.events.on(Ie.Hit,e),s.background.events.on(Ie.Hit,e),s.background.events.on(Ie.DoubleHit,e)}function sL(s){return s?.offsetParent!==null}function PW(s,t){s!==void 0&&t!==void 0&&window.IntersectionObserver!==void 0&&new IntersectionObserver(e=>{e[0].intersectionRatio>0&&(ve(s.uid,"chartWasCreatedWhileHidden")===!0?(s.reinit(),s.events.once(Ie.Validated,()=>{s.reinit()}),s instanceof Wt&&Rv(s),ni(s.uid,{chartWasCreatedWhileHidden:!1})):ve(s.uid,"chartWasUpdatedWhileHidden")===!0&&(s.reinit(),ni(s.uid,{chartWasUpdatedWhileHidden:!1})))},{root:null}).observe(t)}function DW(s,t){let e=re.pieChart.dataLabels.maxWidth??100;if(s!=null){let{alignDataLabels:i,dataLabelsOffset:r=re.pieChart.dataLabelsOffset,optimizeDataLabelsOverlapping:a,dataLabels:n,dataLabelsInside:o}=s;if(n?.visible===!0&&i===!0&&o!==!0&&a===!0){let l=typeof t.radius=="number"?t.radius/100:t.radius.value,h=t.chartContainer.measuredWidth,c=t.chartContainer.measuredHeight,u=l*Math.min(h,c),d=5,A=Math.floor((h-u)/2)-d-r;e=Math.min(A,e-d);let p=30;e<p&&(e=p)}}return e}function YI(s){if(qn(s)){let t=typeof s.radius=="number"?s.radius:s.radius.percent;ni(s.uid,{pieChartRadius:t});let e=()=>{let i=he(ve(s.uid,"pieChartRadius")??re.pieChart.chartOptimizedRadius),r=i,a=ve(s.uid,"config");if(a!==void 0){let{series:n}=a,{innerRadius:o,optimizeDataLabelsOverlapping:l,alignDataLabels:h,dataLabelsOffset:c=re.pieChart.dataLabelsOffset,dataLabels:u,dataLabelsInside:d}=n[0];if(u?.visible===!0&&h===!0&&l===!0&&d!==!0){let p=re.pieChart.chartOptimizedRadius/100,f=500,m=150,g=.6,y=.5,_=1,w=s.chartContainer.measuredWidth-c*2,S=Math.max(w-m,0)/(f-m),P=S<1?Math.max(S**_*g,.4):Math.min(S**y*g,p);r=he(P*100)}else r=he(re.pieChart.chartRadius);i.value.toFixed(1)!==r.value.toFixed(1)&&(ni(s.uid,{pieChartRadius:r.percent}),s.radius=r,s.innerRadius=he((o??re.pieChart.innerRadius)*r.value));let A=s.series?.values?.[0];A instanceof ws&&(A.labels.template.maxWidth=DW(a?.series[0],s))}return r};s.events.on(Ie.SizeChanged,zs(e,re.debounceTime)),e(),s.validate()}}function KI(s){if(s instanceof pr)YI(s);else if(!(s instanceof qs)){let t=()=>{let i=ve(s.uid,"config"),{chartPaddingMinSize:r,chartPaddingRightWhenLegendNotOnRight:a,chartContainerPaddingTopWhenRotated:n,chartContainer:o}=re,l=i?.series,h=ze(l),c=_n({config:i}),u=l?.[0]?.dataLabels?.visible??!0,d=re.chartDefaultPaddingRight;if(c&&u&&(h===V.LineSeries||h===V.ComboLineAndBarSeries||h===V.BarSeries&&(i?.stackedType??qb())===Gi.Side)){let p=0,f=m=>gs(m.uid,"isDataLabel")??!1;s.series.each(m=>{let g=m.bullets.values.find(f);g!==void 0&&g.clones.each(y=>{let _=y.measuredWidth;switch(y.horizontalCenter){case Yt.Middle:_/=2;break;case bi.Right:_*=-1;break;case bi.Left:}let w=y.pixelX+_;w>p&&(p=w,d=_)})})}d>=0&&(s.chartContainer.paddingRight=d),s.chartContainer.paddingTop=c?n:o.paddingTop;let A=i?.legend?.visible!==!1&&i?.legend?.position===rt.Right;s.paddingRight=A?r:a},e=0;s.series.each(i=>{i.events.once(Ie.Validated,()=>{e+=1,e===s.series.length&&t()})})}}function LW(s,t){s.adapter.add("criticalError",e=>(e.message=t.errors.simpleError,e))}function IW(s){let{data:t,seriesConfig:e,utilsStrings:i}=s,r=e[0],a=t?.reduce((d,A)=>{let p=A[$u]??A[r.y];return Number.isFinite(p)||(p=0),p+d},0),n=r?.sliceGrouping?.percentageThreshold??0,o=[],l,h=0,c=t?.find(d=>d[an.defaultGroupOfSlicesId]===!0)?.[lt.pieChart.technicalFieldGroupedSlices]??[],u=[...t,...c].filter(d=>{let A=!0,p=d[$u]??d[r.y];if(Number.isFinite(p)){let f=p/a*100;d[lt.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/a*100,A=kt(e)===Ee.PieFromFields,p={...l,[an.defaultGroupOfSlicesId]:!0,[A?io:r.x]:r.sliceGrouping?.label??i?.pieChart.defaultSliceGroupingLabel,[A?$u:r.y]:h,[lt.pieChart.technicalFieldSlicePercent]:d,[lt.pieChart.technicalFieldGroupedSlices]:o};u.push(p)}return u}function aL(s){let{creation:t,previousConfig:e,newConfig:i,dataInfo:r,dataUpdateNeeded:a,utilsStrings:n}=s,o=!1;if(r.data&&"dataItems"in r.data&&e?.series[0].type===V.PieSeries&&i?.series[0].type===V.PieSeries){let l=t||bw([e.series[0]],[i?.series[0]]);(a||l)&&(r.data.dataItems=IW({data:r.data.dataItems,seriesConfig:[i.series[0]],utilsStrings:n}),ig({arrayToSort:r.data.dataItems,chartConfig:i}),o=!0)}return o}function kW(s,t){let e=s.reduce((i,r)=>{if(r[an.defaultGroupOfSlicesId]===!0){let a=r[lt.pieChart.technicalFieldGroupedSlices];a!==void 0&&a.forEach(n=>{i.push(n)})}else i.push(r);return i},[]);return ig({arrayToSort:e,chartConfig:t}),e=ng({data:{dataItems:e},seriesConfig:t.series})?.dataItems??[],e}function ZI(s,t){let e=s?.filter(i=>!ah(i));return!Ll(e,t)}function $W(s){let{dataContext:t,newLabel:e,x:i}=s;e===void 0?t[lt.originalCategoryValue]!==void 0&&(t[i]=t[lt.originalCategoryValue]):t[i]!==e&&(t[lt.originalCategoryValue]===void 0&&(t[lt.originalCategoryValue]=t[i]),t[i]=e)}function OW(s){let{data:t,newChartConfig:e,pieSlicesSymbols:i,fieldList:r}=s,a=e.series[0],n=kt(e.series)===Ee.PieFromFields?io:a.x;t.forEach(o=>{let l=ah(o),h=o[lt.pieChart.technicalFieldSliceId],c=l?a.sliceGrouping?.label:qC(i?.slices,h)?.label;$W({dataContext:o,x:n,newLabel:c})}),JN({chartConfig:e,chartData:t,fieldList:r})}tt.classNamePrefix="arcgis-charts-";function Ew(s){let{chart:t,localeInfo:e,chartLocale:i}=s;tt.defaultLocale=i,t.language.locale=i,ni(t.uid,{formatLocale:e.formatLocale}),t.rtl=e.rtl}function Qv(s){let{chart:t,actionMode:e,cursorRange:i}=s;if(qn(t)){let r=e??ve(t.uid,"actionMode")??re.actionMode;ni(t.uid,{actionMode:r});let a=ve(t.uid,"filterBySelection");switch(r){case Vt.MonoSelection:case Vt.MultiSelection:case Vt.MultiSelectionWithCtrlKey:a!==!0?GH(t):XC(t);break;case Vt.Zoom:XC(t);break;case Vt.None:CA({chart:t,selectionSource:Pr.ClearSelection,clearOnlyVisibleSeries:!1,disposeStyleAndSelection:!1}),XC(t);break}yH({chart:t,actionMode:r,cursorRange:i})}}function EW(s,t){t&&(s.tapToActivate=!0,s.tapTimeout=3e3,s.responsive.enabled=!0)}function MW(s){let{chart:t,axesConfig:e,chartType:i,isRotated:r,errorStrings:a,queryObject:n}=s;switch(Il({chartType:i,axesConfig:e,errorStrings:a}),i){case V.GaugeSeries:{ao(n),t instanceof qs&&e?.[0]?.valueFormat!==void 0&&Kj({chart:t,valueFormat:e[0].valueFormat,queryObject:n});break}case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{Cj({chart:t,chartType:i,isRotated:r,axesConfig:e,queryObject:n});break}}}async function Mw(s){let{chart:t,chartConfig:e,chartConfig:{axes:i},rotationChanged:r,axisLabelsBehaviorChanged:a,chartType:n,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,data:c,queryObject:u,guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,gaugeInnerLabelFormatter:m,utilsStrings:g,errorStrings:y}=s;switch(Il({chartType:n,axesConfig:i,errorStrings:y}),n){case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:case V.BoxPlotSeries:{t instanceof Wt&&wj({chart:t,chartConfig:e,rotationChanged:r,axisLabelsBehaviorChanged:a,isRotated:o,dualAxisChanged:l,timeIntervalInfoWasReset:h,timeIntervalInfo:c?.timeIntervalInfo??ve(t.uid,"timeIntervalInfo"),guideTooltipFormatter:d,xAxisLabelFormatter:A,yAxisLabelFormatter:p,secondaryYAxisLabelFormatter:f,utilsStrings:g,errorStrings:y,queryObject:u});break}case V.GaugeSeries:{t instanceof qs&&(ao(u),await qj({chart:t,chartConfig:e,data:(c??t.data).dataItems,queryObject:u,axisValueFormatter:A,gaugeInnerLabelFormatter:m,utilsStrings:g,errorStrings:y}));break}}}function qI(s){let{chart:t,chartConfig:e,hideLoaderHandle:i,options:r,utilsStrings:a,queryObject:n}=s,{selectionTheme:o,ignoreSmoothRenderingLimit:l}=r??{};t.series.clear();let h,c,u=[],d=t instanceof Wt?[t.xAxes.getIndex(0),t.yAxes.getIndex(0),t.xAxes.getIndex(1)??t.yAxes.getIndex(1)]:void 0,A={hideLoaderHandle:i,selectionTheme:o,utilsStrings:a},p={...A,axisList:d};if(t instanceof Wt)for(let m=0;m<e.series.length;m+=1){let g=e.series[m];if(c=ze([g]),$l(e))h=KQ({...p,chart:t,axisList:d,chartConfig:e,seriesIndex:m,queryObject:n}),u.push(...h.flat());else switch(c){case V.BarSeries:{h=dW({...p,chart:t,chartConfig:e,seriesIndex:m,queryObject:n}),u.push(h);break}case V.LineSeries:{ao(n),h=HQ({...p,chart:t,chartConfig:e,seriesIndex:m,ignoreSmoothRenderingLimit:l,queryObject:n}),u.push(h);break}}}else t instanceof pr&&e.series[0].type===V.PieSeries&&(h=wW({...A,seriesConfig:e.series[0]}),u.push(h));let f=CF({chartConfig:e,queryObject:n,chartData:t.data});f.length>0&&(t.colors.list=f.map(m=>{let[g,y,_,w]=m;return new xt({r:g,g:y,b:_,a:w})})),u.length>0&&t.series.pushAll(u),KH(t)}function Rw(s){let{chart:t,chartConfig:e,chartConfig:{series:i,axes:r,chartRenderer:a},seriesIndexMapper:n,rotationChanged:o,seriesReordered:l,outliersVisibilityChanged:h,standardizeValuesVisibilityChanged:c,chartData:u,queryObject:d,options:A,dataWasUpdated:p,sortChanged:f,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,utilsStrings:y,errorStrings:_}=s,w=t.series.values,S=new Map,P=e.series.length,T=Ol(e),L=Ua(e),$=ln(d,A?.usePopupTemplateFieldsInfo),I=Ys(d),M=Gm(a,Gs(I)?void 0:I?.renderer);for(let[F,Q]of i.entries()){let Y=ze([Q]),z=w[F],ee={numberOfSeries:P,series:z,seriesConfig:Q,seriesIndex:F,colorMatch:T,queryObject:d,rendererType:M,options:A,dataWasUpdated:p,fieldList:$,sortChanged:f,utilsStrings:y},ie={...ee,axes:r,seriesIndexMapper:n},de=z;if(t instanceof Wt&&$l(e))de=w.find(K=>K.id===Q.id),z!==void 0&&(de instanceof wr||de instanceof Pi)&&l2({...ee,chart:t,series:de,seriesIndexMapper:n,seriesSymbolMapForEvent:S,chartData:u,showOutliers:e.showOutliers,showMean:e.showMean,outliersVisibilityChanged:h,seriesReordered:l,standardizeValuesVisibilityChanged:c,rotationChanged:o,options:A});else switch(Y){case V.BarSeries:AW({...ie,stackedType:L,seriesSymbolMapForEvent:S,rotationChanged:o});break;case V.LineSeries:XQ({...ie,stackedType:L,seriesSymbolMapForEvent:S,rotationChanged:o});break;case V.PieSeries:FW({...ee,chart:t,groupOfSlicesWasUpdated:m,pieSlicesSymbols:g,selectionTheme:A?.selectionTheme});break}}y2({chart:t,options:A,dataWasUpdated:p,chartData:u,chartConfig:e,queryObject:d,rotationChanged:o,sortChanged:f,groupOfSlicesWasUpdated:m,errorStrings:_})}async function Uw(s){let{chartConfig:t}=s,{chart:e,options:i,globalOptions:r,colorMatchApplied:a,pieSlicesSymbols:n,queryObject:o,utilsStrings:l,errorStrings:h,dataInfo:c,loaderHandle:u}=s,{disableTogglingLegendItems:d,cursorRange:A,actionMode:p,pieChartLegendValueLabelFormatter:f,guideTooltipFormatter:m,xAxisLabelFormatter:g,yAxisLabelFormatter:y,secondaryYAxisLabelFormatter:_,gaugeInnerLabelFormatter:w,usePopupTemplateFieldsInfo:S}=i??{},{data:P,count:T,queryConfig:L}=c??{},$,I,M,F=ze(t.series),Q=ln(o,S);ni(e.uid,{fieldList:Q,options:i,elementCount:T,queryConfig:L,timeIntervalInfo:P?.timeIntervalInfo,serverLimitReached:P?.serverLimitReached});let Y=new Map;t.series.forEach(($e,Je)=>{Y.set($e.id,Je)});let z=In(P);z!==void 0&&(e.data=z);let ee=kt(t.series);e instanceof pr&&nn({data:n,htmlContainer:e.htmlContainer,chartId:e.id,colorMatchApplied:a===!0});let{title:ie,subtitle:de,footer:K,series:G,background:xe}=t;$=eW(e),Nv($,{title:ie,subtitle:de}),I=tW(e),Hv(I,K),M=NQ(e,G),pQ(e);let ae=_n({config:t});ni(e.uid,{config:t,isRotated:ae,isNonAggregatedChart:!ep(ee)}),t.axes!==void 0&&(MW({chart:e,axesConfig:t.axes,chartType:F,isRotated:ae,errorStrings:h,queryObject:o}),await Mw({chart:e,chartConfig:t,chartType:F,isRotated:ae,data:P,queryObject:o,guideTooltipFormatter:m,xAxisLabelFormatter:g,yAxisLabelFormatter:y,secondaryYAxisLabelFormatter:_,gaugeInnerLabelFormatter:w,utilsStrings:l,errorStrings:h})),qI({chart:e,chartConfig:t,hideLoaderHandle:u.hideLoader,utilsStrings:l,options:i,queryObject:o}),Rw({chart:e,chartConfig:t,seriesIndexMapper:Y,rotationChanged:!1,queryObject:o,chartData:P,groupOfSlicesWasUpdated:!0,pieSlicesSymbols:n,dataWasUpdated:!0,options:i,utilsStrings:l,errorStrings:h}),Lw({legendElements:M,seriesConfig:G,webChartLegend:t.legend,pieChartLegendValueLabelFormatter:f}),XI(e),Jj(e),Vv(e,xe),zI({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),JL(e),eI(e,t?.cursorCrosshair),Qv({chart:e,actionMode:p,cursorRange:A});let ne=fd(e.htmlContainer??document.documentElement);return e.dateFormatter.intlLocales=ne,EW(e,r?.enableResponsiveFeatures),(e instanceof qs||Sw(e.series))&&xh(e.htmlContainer),KI(e),$!==void 0&&I!==void 0&&M!==void 0?{headerElements:$,footerElements:I,legendElements:M}:void 0}function JI(s){s.series.each(t=>{t.events.on(Ie.Ready,()=>{Sw(s.series)&&Rv(s)})})}async function RW(s){let{chartContainer:t,chartConfig:e,queryObject:i,colorMatchApplied:r,dataInfo:a,t9nStrings:n,options:o,globalOptions:l,loaderHandle:h}=s,{errorStrings:c,utilsStrings:u,amChartsStrings:d}=n,A=lf(t,Wt);A.id=e?.id??A.uid,ni(A.uid,{queryObject:i});let{t9nLocale:p}=Du(A.htmlContainer??document.documentElement),f=fd(A.htmlContainer??document.documentElement),m=Om(A.htmlContainer??document.documentElement)==="rtl";Ew({chart:A,localeInfo:{locale:p,formatLocale:f,rtl:m},chartLocale:d}),A.events.on(Ie.Inited,()=>A.zoomOutButton.deepInvalidate());let g=ze(e?.series);A instanceof Wt&&g!==V.BoxPlotSeries&&(A.maskBullets=!1);let y=await Uw({chartConfig:e,chart:A,queryObject:i,colorMatchApplied:r,options:o,globalOptions:l,utilsStrings:u,errorStrings:c,dataInfo:a,loaderHandle:h});return ni(A.uid,{config:Tr(e)}),JI(A),WH(A,i),XH(A,i),{chart:A,chartElements:y}}async function UW(s){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,colorMatchApplied:a,pieSlicesSymbols:n,t9nStrings:{errorStrings:o,utilsStrings:l,amChartsStrings:h},options:c,globalOptions:u,loaderHandle:d}=s,A=lf(t,pr);A.id=e?.id??A.uid;let p=Sx(A.htmlContainer);Ew({chart:A,localeInfo:p,chartLocale:h}),A.radius=he(re.pieChart.chartRadius);let f=await Uw({chartConfig:e,chart:A,queryObject:i,colorMatchApplied:a,pieSlicesSymbols:n,dataInfo:r,options:c,globalOptions:u,utilsStrings:l,errorStrings:o,loaderHandle:d});return ni(A.uid,{config:Tr(e),filterBySelection:c?.filterBySelection}),TW(A,i),{chart:A,chartElements:f}}async function VW(s){let{chartContainer:t,chartConfig:e,queryObject:i,dataInfo:r,t9nStrings:{errorStrings:a,utilsStrings:n,amChartsStrings:o},options:l,globalOptions:h,loaderHandle:c}=s,u=lf(t,qs);u.id=e?.id??u.uid;let d=Sx(u.htmlContainer);Ew({chart:u,localeInfo:d,chartLocale:o}),u.maskBullets=!1;let A=re.gauge,p=Number.isFinite(e?.innerRadius)?e?.innerRadius:A.innerRadius,f=Number.isFinite(e?.startAngle)?e?.startAngle:A.startAngle,m=Number.isFinite(e?.endAngle)?e?.endAngle:A.endAngle;u.radius=he(A.radius),typeof p=="number"&&(u.innerRadius=he(p)),typeof f=="number"&&(u.startAngle=f),typeof m=="number"&&(u.endAngle=m);let g=await Uw({chartConfig:e,chart:u,queryObject:i,dataInfo:r,options:l,globalOptions:h,utilsStrings:n,errorStrings:a,loaderHandle:c});return ni(u.uid,{config:Tr(e)}),JI(u),t?.ownerDocument.addEventListener("visibilitychange",()=>{let y=t.ownerDocument.hidden;u&&!y&&Pj(e?.axes?.[0])&&(u.svgContainer?.measure(),u.invalidateData())}),{chart:u,chartElements:g}}async function NW(s){let{newConfig:t}=s,{chart:e,chartElements:i,dataWasUpdated:r,dataUpdateDetails:a,dataInfo:n,options:o,configWithAllSeries:l,hasSeriesFilteredOut:h,queryObject:c,utilsStrings:u,errorStrings:d,loaderHandle:A}=s,{guideTooltipFormatter:p}=o??{},f=ve(e.uid,"config"),m=f?.series,g=t.series,y=ze(g),_=_n({config:t});ni(e.uid,{config:Tr(t),isRotated:_}),ni(e.uid,{filterBySelection:o?.filterBySelection}),Qv({chart:e,actionMode:o?.actionMode,cursorRange:o?.cursorRange});let{xOrYChanged:w,layerChanged:S}=a?.common??{},{numberOfSeriesChanged:P}=a?.common??{},T=gx(f,t),L=yx(f,t),$=zF(f,t),I=GF(f,t),M=JSON.stringify(ip(m))!==JSON.stringify(ip(g)),F=!1,Q=!1;$l(t)&&$l(f)&&(F=KF(f,t),Q=ZF(f,t));let Y=ap({oldConfig:h?l:f,newConfig:t,dataWasUpdated:r}),z=jb({oldConfig:f,newConfig:t,rotationChanged:L}),ee=VI({chart:e,dualAxisChanged:$,rotationChanged:L,timeIntervalInfoWasReset:T,axisLabelsBehaviorChanged:z}),ie=!1,de=In(n?.data),K=kt(g);if(ni(e.uid,{isNonAggregatedChart:!ep(K)}),r){let{count:ne,data:$e,queryConfig:Je}=n??{};ni(e.uid,{elementCount:ne,queryConfig:Je,timeIntervalInfo:$e?.timeIntervalInfo,serverLimitReached:$e?.serverLimitReached}),xh(e.htmlContainer)}else if(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries||y===V.BoxPlotSeries){let ne=vx(m,g);if(ne.length>0&&(RN(e.series,ne),e.feedLegend(),ie=!0),EF(g[0])){let{binTemporalData:$e}=g[0],{unit:Je,size:Xe}=g[0].temporalBinning??{};$e===!1&&Je!==void 0&&Xe!==void 0&&ni(e.uid,{timeIntervalInfo:{unit:Je,size:Xe}})}}Y&&(r||(e.validateData(),y===V.BoxPlotSeries&&e.series.each(ne=>{ne instanceof Pi&&!(ne instanceof pa)&&ne.id.includes(ji.Outliers)&&ne.validateData()})));let G=new Map;t.series.forEach((ne,$e)=>{G.set(ne.id,$e)}),P=P||h,de&&(r||Y)&&(e.data=de),t.axes!==void 0&&await Mw({chart:e,chartConfig:t,rotationChanged:L,timeIntervalInfoWasReset:T,axisLabelsBehaviorChanged:z,chartType:y,isRotated:_,dualAxisChanged:$,guideTooltipFormatter:p,xAxisLabelFormatter:o?.xAxisLabelFormatter,yAxisLabelFormatter:o?.yAxisLabelFormatter,secondaryYAxisLabelFormatter:o?.secondaryYAxisLabelFormatter,queryObject:c,utilsStrings:u,errorStrings:d});let xe=y===V.BoxPlotSeries&&(XF(g,m)||WF(g,m));(e.series===void 0||e.series.length===0||w||S||P||M||(y===V.BarSeries||y===V.LineSeries||y===V.RadarSeries||y===V.ComboLineAndBarSeries)&&e.series.length!==t.series.length||ee||I||xe||a?.boxPlot?.showMeanChanged)&&(!r&&(L||xe||ee)&&e.invalidateData(),qI({chart:e,chartConfig:t,hideLoaderHandle:A.hideLoader,utilsStrings:u,queryObject:c,options:o})),Rw({chart:e,chartConfig:t,seriesIndexMapper:G,rotationChanged:L,seriesReordered:ie,outliersVisibilityChanged:F,standardizeValuesVisibilityChanged:Q,queryObject:c,chartData:n.data,options:o,dataWasUpdated:r,sortChanged:Y,utilsStrings:u,errorStrings:d}),Nv(i.headerElements,{title:t.title,subtitle:t.subtitle}),Hv(i.footerElements,t.footer),Lw({legendElements:i.legendElements,seriesConfig:t.series,webChartLegend:t.legend,disableTogglingLegendItems:o?.disableTogglingLegendItems}),Vv(e,t.background),zI({chart:e,scrollbarXConfig:t.axes?.[0]?.scrollbar,scrollbarYConfig:t.axes?.[1]?.scrollbar}),eI(e,t?.cursorCrosshair);let ae=mH(e);(ae.behavior===Qi.SelectX||ae.behavior===Qi.SelectXY||ae.behavior===Qi.SelectY||ae.behavior===Qi.None)&&e.scrollbarX.start===0&&e.scrollbarX.end===1&&e.scrollbarY.start===0&&e.scrollbarY.end===1&&Rv(e),KI(e),UI(e.series.values[0])}function HW(s){let{chart:t,chartElements:e,dataWasUpdated:i,newConfig:r,pieSlicesSymbols:a,queryObject:n,options:o,dataInfo:l,utilsStrings:h,errorStrings:c}=s,u=ve(t.uid,"config"),d=u?.series,A=r?.series,p=ap({oldConfig:u,newConfig:r,dataWasUpdated:i}),f=bw(d,A),{count:m,data:g,queryConfig:y}=l??{},_=In(g);ni(t.uid,{filterBySelection:o?.filterBySelection,config:Tr(r)});let w=_!==void 0&&(t.data.length!==_.length||ZI(t.data,_));w&&(ni(t.uid,{elementCount:m,queryConfig:y}),t.data=_,xh(t.htmlContainer)),(p||f)&&t.validateData(),nn({data:a,htmlContainer:t.htmlContainer,chartId:t.id,colorMatchApplied:kv(t,r)}),Rw({chart:t,queryObject:n,chartConfig:r,seriesIndexMapper:new Map,options:o,dataWasUpdated:w,sortChanged:p,chartData:g,groupOfSlicesWasUpdated:f,pieSlicesSymbols:a,utilsStrings:h,errorStrings:c}),Nv(e.headerElements,{title:r.title,subtitle:r.subtitle}),Hv(e.footerElements,r.footer),Lw({legendElements:e.legendElements,seriesConfig:r.series,webChartLegend:r.legend,disableTogglingLegendItems:o?.disableTogglingLegendItems,pieChartLegendValueLabelFormatter:o?.pieChartLegendValueLabelFormatter}),Vv(t,r.background),Qv({chart:t,actionMode:o?.actionMode,cursorRange:o?.cursorRange}),YI(t)}async function QW(s){let{chart:t,chartElements:e,newConfig:i,queryObject:r,dataInfo:a,dataWasUpdated:n,options:o,utilsStrings:l,errorStrings:h}=s,{xAxisLabelFormatter:c,gaugeInnerLabelFormatter:u,guideTooltipFormatter:d}=o??{},A=i.series,p=ze(A),f;if(n){let{count:w,data:S,queryConfig:P}=a??{};f=S,f?.dataItems!==void 0&&(t.data=f.dataItems),xh(t.htmlContainer),ni(t.uid,{elementCount:w,queryConfig:P})}i.axes!==void 0&&await Mw({chart:t,chartConfig:i,chartType:p,data:f,queryObject:r,xAxisLabelFormatter:c,gaugeInnerLabelFormatter:u,guideTooltipFormatter:d,utilsStrings:l,errorStrings:h});let m=re.gauge,g=Number.isFinite(i?.innerRadius)?i.innerRadius:m.innerRadius,y=Number.isFinite(i?.startAngle)?i.startAngle:m.startAngle,_=Number.isFinite(i?.endAngle)?i.endAngle:m.endAngle;t.innerRadius=he(g),t.startAngle=y,t.endAngle=_,Nv(e.headerElements,{title:i.title,subtitle:i.subtitle}),Hv(e.footerElements,i.footer),Vv(t,i.background),ni(t.uid,{config:Tr(i)})}async function jW(s){let{chartContainer:t,chartConfig:e,colorMatchApplied:i,pieSlicesSymbols:r,queryObject:a,dataInfo:n,t9nStrings:o,options:l,globalOptions:h,loaderHandle:c}=s;tt.commercialLicense=!(h?.showLicenseWatermark??h?.hideLicenseWatermark===!1),tt.queue=h?.queueChartCreation!==!1,tt.autoDispose=h?.autoDisposeChart===!0,h?.useAnimatedCharts===!0?y_(_y):v_(_y);let u;switch(ze(e?.series)){case V.PieSeries:ao(a),u=await UW({chartContainer:t,chartConfig:e,queryObject:a,dataInfo:n,colorMatchApplied:i,pieSlicesSymbols:r,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break;case V.GaugeSeries:ao(a),u=await VW({chartContainer:t,chartConfig:e,queryObject:a,dataInfo:n,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break;default:u=await RW({chartContainer:t,chartConfig:e,dataInfo:n,colorMatchApplied:i,queryObject:a,options:l,globalOptions:h,t9nStrings:o,loaderHandle:c});break}return u}async function WW(s){let{chartContainer:t,chartConfig:e,t9nStrings:i,queryObject:r,options:a,colorMatchApplied:n,rendererFieldNames:o,pieSlicesSymbols:l,globalOptions:h,dataInfo:c,uniqueInternalID:u,loaderHandle:d}=s,{errorStrings:A}=i,p=!sL(t),f=await jW({chartContainer:t,chartConfig:e,dataInfo:c,colorMatchApplied:n,pieSlicesSymbols:l,queryObject:r,t9nStrings:i,options:a,globalOptions:h,loaderHandle:d}),{chart:m,chartElements:g}=f;ni(m.uid,{chartWasCreatedWhileHidden:p,queryObject:r,filterBySelection:a?.filterBySelection,options:a,colorMatchApplied:n,rendererFieldNames:o}),LW(m,A),PW(m,t);function y(){u&&BF.delete(u),m.isDisposed()||(PH(m),g!==void 0&&(f.chartElements=void 0),m.dispose())}async function _(T){let{newChartConfig:L,dataWasUpdated:$,dataUpdateDetails:I,queryObject:M,updateOptions:F,t9nStrings:{utilsStrings:Q},configWithAllSeries:Y,hasSeriesFilteredOut:z,pieSlicesSymbols:ee,dataInfo:ie,loaderHandle:de}=T,K=ve(m.uid,"config"),G=L?.series,xe=G!==void 0?ze(G):void 0;if(m.isDisposed()||g===void 0||!lx(K,L))throw new Ln(cd.ChartDisposed);switch(xe){case V.BoxPlotSeries:case V.BarSeries:case V.LineSeries:case V.ComboLineAndBarSeries:m instanceof Wt&&await NW({chart:m,chartElements:g,queryObject:M,dataWasUpdated:$,dataUpdateDetails:I,dataInfo:ie,newConfig:L,configWithAllSeries:Y,hasSeriesFilteredOut:z,options:F,utilsStrings:Q,errorStrings:A,loaderHandle:de});break;case V.PieSeries:ao(M),HW({chart:m,chartElements:g,queryObject:M,dataWasUpdated:$,dataInfo:ie,newConfig:L,pieSlicesSymbols:ee,options:F,utilsStrings:Q,errorStrings:A});break;case V.GaugeSeries:ao(M),await QW({chart:m,chartElements:g,newConfig:L,queryObject:M,dataWasUpdated:$,dataInfo:ie,options:F,utilsStrings:Q,errorStrings:A});break}}async function w(T){let{newChartConfig:L,updateOptions:$,dataWasUpdated:I,dataUpdateDetails:M,configWithAllSeries:F,hasSeriesFilteredOut:Q,pieSlicesSymbols:Y,colorMatchApplied:z,rendererFieldNames:ee,updateGlobalOptions:ie,t9nStrings:de,queryObject:K,dataInfo:G,loaderHandle:xe}=T,ae=!sL(t),ne=ln(K,a?.usePopupTemplateFieldsInfo);ni(m.uid,{chartWasUpdatedWhileHidden:ae,options:$,fieldList:ne,queryObject:K,colorMatchApplied:z,rendererFieldNames:ee}),await _({newChartConfig:L,updateOptions:$,dataWasUpdated:I,dataUpdateDetails:M,pieSlicesSymbols:Y,t9nStrings:de,configWithAllSeries:F,hasSeriesFilteredOut:Q,queryObject:K,dataInfo:G,loaderHandle:xe})}async function S(T){if(qn(m)&&(m instanceof Wt||m instanceof pr)){let L=ve(m.uid,"actionMode");L!==Vt.MonoSelection&&L!==Vt.None&&await zH(m,T)}}function P(){Rv(m)}return{update:w,dispose:y,resetZoom:P,clearSelection:()=>CA({chart:m}),switchSelection:async T=>await S(T),exportImage:async T=>await DH({chart:m,exportOptions:T}),setActionMode:(T,L)=>Qv({chart:m,actionMode:T,cursorRange:L}),loaderHandle:d}}var XW="AM5C241025748",Ai={SelectEnded:"selectended",DataValidated:"datavalidated",BoundsChanged:"boundschanged",PointerUp:"pointerup",FrameEnded:"frameended",Click:"click"},lw=new Map;function zW(s,t){return Xc(s,t)}function GW(s,t){Wc(s,t)}function Wc(s,t){let e=lw.get(s)??{};lw.set(s,{...e,...t})}function Xc(s,t){return lw.get(s)?.[t]}function fe(s,t){return Xc(s,t)}function Kr(s,t){Wc(s,t)}function Rt(s,t){return Xc(s,t)}function hs(s,t){Wc(s,t)}function To(s,t){return Xc(s,t)}function wA(s,t){Wc(s,t)}function _l(s,t){return Xc(s,t)}function YW(s,t){Wc(s,t)}function rn(s,t){return Xc(s,t)}function Vw(s,t){Wc(s,t)}function KW(s,t){return Xc(s,t)}function ZW(s,t){Wc(s,t)}function Nw(s){return s!=null&&!s.isDisposed()}function qW(s){let t;if(s!=null){let e=s;if(e instanceof Yr)t=e.chart;else{let i=e.dataItem?.component;i instanceof Yr&&(t=i.chart)}}return t}function ek(s){let t;if(s){let e=s.get("background")?.get("fill");if(e){let{r:i,g:r,b:a}=e;t=[Math.round(i),Math.round(r),Math.round(a),255]}}return t}function tk(s){let t=ia(s),{r:e,g:i,b:r}=t;return{r:e,g:i,b:r}}function JW(s,t){t&&s.setThemes([R1.new(s)])}function e4(s,t){t===!0&&s.setThemes([M1.new(s)])}function Xt(s){let t=ia("#000000"),e=hd;if(s!=null){let[i,r,a,n]=s;e=n/255,t=ia(`rgba(${i}, ${r}, ${a}, ${e})`)}return{color:t,opacity:e}}function Zi(s,t){t===!1&&(!("isHiding"in s)||!s.isHiding())?(s.set("visible",!1),"hide"in s&&s.hide()):t!==!1&&(!("isShowing"in s)||!s.isShowing())&&(s.set("visible",!0),"show"in s&&s.show())}function Ii(s){let{childId:t,parent:e,useChildId:i}=s,r=i?t:Ns(t,e.uid);return e.children.values.find(a=>a.get("id")===r)}function Ns(s,t){return`${s}${t}`}function yu(s,t=100){return setTimeout(()=>s(),t)}function nL(s){let t=Number.NaN;if(typeof s=="number")t=s;else if(s.includes("%")){let e=Number.parseFloat(s.trim().replace("%","").trim());Number.isFinite(e)&&(t=Bt(e))}return t}function t4(s,t){return t!==!0||s?.includes("Dot")===!0?"round":"square"}function i4(s,t){let e=s??As.Solid,i=t??q.lineWidth,r={[As.Solid]:[],[As.Dot]:[1,i],[As.DashDotDot]:[4*i,i,1,i,1,i],[As.Dash]:[4*i,3*i],[As.DashDot]:[4*i,3*i,1,3*i],[As.Null]:[]};return r[e]??r[As.Null]}function r4(s){let{root:t,fill:e,rotation:i,isLinePattern:r,chartBackgroundFill:a}=s,n;if(r!==!1){let{tileSize:o,diagonalTileSize:l}=q.patternLineProperties,h=i===45||i===135,c=h?l:o;n=ih.new(t,{width:c,height:c,strokeWidth:q.patternLineProperties.strokeWidth??1,gap:6,color:e,...h?{angle:i}:{rotation:i??Number.NaN},...a!==void 0&&{fill:a,fillOpacity:1}})}else{let o=a!==void 0?1:q.patternRectProperties.fillOpacity??Number.NaN;n=su.new(t,{width:q.patternRectProperties.width??Number.NaN,height:q.patternRectProperties.height??Number.NaN,strokeWidth:q.patternRectProperties.strokeWidth??Number.NaN,fillOpacity:o,color:a??e,fill:e,gap:1,maxWidth:q.patternRectProperties.rectWidth??Number.NaN,maxHeight:q.patternRectProperties.rectHeight??Number.NaN,rotation:i??Number.NaN})}return n}function s4(s){let{fill:t,root:e,style:i,chartBackgroundFill:r}=s,a,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&&(a=r4({root:e,fill:t,rotation:n,isLinePattern:o,chartBackgroundFill:r})),a}function ik(s,t=0){return(s??t)%360}function rk(s,t){let e={stroke:Xt().color,strokeWidth:q.lineWidth,strokeDasharray:[],linecap:t!==!0?"round":"square",strokeOpacity:hd};if(s!=null){let i=Xt(s.color);e.stroke=i.color,e.strokeOpacity=i.opacity,s.width!==void 0&&(e.strokeWidth=s.width,e.strokeOpacity=s.width===0?0:i.opacity),s.style!==void 0&&s.style!==As.Null&&(e.strokeDasharray=i4(s.style,e.strokeWidth),e.linecap=t4(s.style,t))}return e}function sk(s,t){let e=s,[i,r,a,n]=s?.color??t??q.color,o=[i,r,a,n];return e==null?e={type:Dt.SLS,color:o}:e.color===void 0&&(e.color=o),rk(e,!1)}function a4(s,t,e){let{color:i,outline:r,style:a}=s,n=Xt(i),o=ix(a),l;return e!==void 0?l=Xt(e).color:o&&(l=Xt(q.backgroundColor).color),{pattern:s4({root:t,fill:n.color,style:a,chartBackgroundFill:l}),fill:n.color,outline:sk(r,i),fillOpacity:n.opacity}}function n4(s){let{color:t,style:e,size:i,outline:r,xoffset:a,yoffset:n,angle:o}=s,l=ik(o),h=e!==void 0?rx(e,i):"",c=Xt(t),u=r;return e!==YA.Cross&&e!==YA.X&&i!==void 0&&i<=q.lineSeries.marker.markerSizeThresholdForTooltipDisplay&&(r?.width===void 0||r.width===0)&&(u={type:Dt.SLS,style:r?.style??As.Solid,color:[0,0,0,0],width:q.lineSeries.marker.markerSizeThresholdForTooltipDisplay-i}),{path:h,fill:c.color,outline:sk(u,t),xOffset:a??0,yOffset:n??0,angle:l,fillOpacity:c.opacity}}function o4(s){let t;switch(s){case Em.LineThrough:case Em.Underline:t=s;break;case Em.None:}return t}function l4(s){return s===!0?"wrap":"none"}function ak(s,t){let e=Qe;switch(s??t){case bi.Right:e=ge;break;case bi.Left:e=Xr;break;case bi.Center:case bi.Justify:}return e}function nk(s,t){let e=Qe;switch(s??t){case Yt.Top:e=Xr;break;case Yt.Bottom:e=ge;break;case Yt.Baseline:case Yt.Middle:}return e}function h4(s){let{angle:t,mappedHAlignment:e,mappedVAlignment:i,isGuideLabel:r}=s,a=e,n=i,o=e,l=i;return(Math.abs(t)===270||Math.abs(t)===90)&&(r||(o=void 0,n=void 0),l===Xr?a=ge:l===ge?a=Xr:l===Qe&&(a=Qe)),{align:a,valign:n,horizontalCenter:o,verticalCenter:l}}function Hw(s){let{root:t,symbol:e,defaultToColorFromRamp:i,colorRampIndex:r,isChartFillSymbol:a=!1,chartBackgroundColor:n}=s,o;if(i===!0){let l=a?Nm:hd;if(e.color=e.color??bh({colorIndex:r,opacity:l}),md(e)||np(e)){let{outline:h}=e;h!==void 0&&(h.color=h?.color??bh({colorIndex:r}),e.outline={...h})}}return Tx(e)?o=rk(e,!0):np(e)?(e.style??=q.lineSeries.marker.markerStyle,e.size??=q.lineSeries.marker.markerBigSize,o=n4(e)):md(e)&&(o=a4(e,t,n)),o}function u4(s){let{input:t,isGuideLabel:e,defaults:i}=s,r=ik(t.angle,i?.rotation),a=ak(t.horizontalAlignment,i?.horizontalCenter),n=nk(t.verticalAlignment,i?.verticalCenter),{align:o,valign:l,horizontalCenter:h,verticalCenter:c}=h4({angle:r,mappedHAlignment:a,mappedVAlignment:n,isGuideLabel:e});return{fill:Xt(t.color).color,fontFamily:t.font?.family??"Arial, Helvetica, sans-serif",fontSize:t.font?.size??q.generalFontSize,fontWeight:t.font?.weight??"400",textDecoration:o4(t.font?.decoration),align:o,valign:l,verticalCenter:c,horizontalCenter:h,text:_a({textSymbol:t,format:"amChartsV5"}),angle:r,xOffset:t.xoffset??i?.dx??0,yOffset:t.yoffset??i?.dy??0,backgroundFill:Xt(t.backgroundColor).color,borderFill:Xt(t.borderLineColor).color,borderWidth:t.borderLineSize??1,haloColor:Xt(t.haloColor).color,rtl:(t.rightToLeft??Om(document.documentElement))==="rtl"?"rtl":"ltr",wrap:l4(i?.wrap),maxWidth:i?.maxWidth??Number.NaN}}function ok(s,t){t!==void 0&&(t.marginBottom!==void 0&&s.set("marginBottom",t.marginBottom),t.marginTop!==void 0&&s.set("marginTop",t.marginTop),t.marginRight!==void 0&&s.set("marginRight",t.marginRight),t.marginLeft!==void 0&&s.set("marginLeft",t.marginLeft),t.verticalCenter!==void 0&&s.set("y",nk(t.verticalCenter)),t.horizontalCenter!==void 0&&s.set("x",ak(t.horizontalCenter)),t.strokeWidth!==void 0&&s.get("background")?.set("strokeWidth",t.strokeWidth),t.paddingBottom!==void 0&&s.set("paddingBottom",t.paddingBottom),t.paddingTop!==void 0&&s.set("paddingTop",t.paddingTop),t.paddingLeft!==void 0&&s.set("paddingLeft",t.paddingLeft),t.paddingRight!==void 0&&s.set("paddingRight",t.paddingRight),t.maxWidth!==void 0&&s.set("maxWidth",t.maxWidth))}function gA(s){let{root:t,parent:e,defaults:i,index:r,id:a}=s,n=Zt.new(t,{text:"",textAlign:"center",background:nr.new(t,{}),paddingBottom:0,paddingTop:0,paddingLeft:0,paddingRight:0});return a!==void 0&&n.set("id",a),ok(n,i),e!==void 0&&e.children.insertIndex(r??e.children.length,n),n}function oL(s){let{label:t,offset:e,offsetProperty:i}=s;t.adapters.remove(i),(t instanceof Zt?[t]:t.entities).forEach(r=>{if(typeof e=="string"&&!Number.isFinite(Number(e))){let a=qA(e);typeof a=="number"&&(a/=100,r.adapters.add(i,()=>(i==="dx"?r.width():r.height())*(a??0)))}else{let a=Number(e);Number.isFinite(a)&&r.set(i,a)}})}function wn(s){let{label:t,labelConfig:e,defaults:i,skipSettingText:r,skipSettingXAndY:a}=s,n=e?.visible??!0;if(t!==void 0&&!t.isDisposed()&&e!==void 0){let o=t instanceof Zt&&rn(t.uid,"isGuide"),l=u4({input:e.content,isGuideLabel:o,defaults:i});t.setAll({fill:l.fill,fontFamily:l.fontFamily,fontWeight:l.fontWeight,fontSize:l.fontSize,textDecoration:l.textDecoration,rotation:l.angle,direction:l.rtl,oversizedBehavior:l.wrap,maxWidth:l.maxWidth}),r||t.setAll({text:l.text}),a||(oL({label:t,offset:l.xOffset,offsetProperty:"dx"}),oL({label:t,offset:l.yOffset,offsetProperty:"dy"}),t.setAll({centerX:l.align,centerY:l.valign,x:l.horizontalCenter,y:l.verticalCenter})),t.get("background")?.setAll({strokeWidth:l.borderWidth,strokeOpacity:1}),t.set("visible",n),t instanceof Zt?Zi(t,n):t.entities.forEach(h=>{Zi(h,n)})}}function bl(s){let{chart:t,label:e,labelType:i}=s,{legendTitle:r}=q.legendProperties,a=fe(t.uid,"config"),n=r.maxWidth??Number.NaN,o=Number.NaN;switch(i){case ii.GuideLabel:if(t instanceof Ci){let l=e.get("rotation");l===90||l===270?n=t.seriesContainer.height():n=t.seriesContainer.width()}break;case ii.XAxisTitle:t instanceof Ci&&(n=t.seriesContainer.width());break;case ii.YAxisTitle:t instanceof Ci&&(o=t.seriesContainer.height());break;case ii.ChartTitle:case ii.ChartSubTitle:case ii.ChartFooter:n=t.chartContainer.width()-20;break;case ii.LegendTitle:a?.legend?.position!==void 0&&(a?.legend?.position===rt.Top||a?.legend?.position===rt.Bottom)&&(n=t.chartContainer.width()-20);break}n>0&&e.setAll({maxWidth:n,oversizedBehavior:"wrap"}),o>0&&i===ii.YAxisTitle&&e.setAll({maxHeight:o,oversizedBehavior:"wrap"})}function yA(s){let{chart:t}=s;bl(s),t.events.onDebounced(Ai.BoundsChanged,()=>bl(s),q.debounceTime)}function lk(s){let{hour:t,minute:e=0,format:i,locale:r="en-US"}=s,a=i&&Object.keys(i).length>0?i:{hour:"numeric",minute:"2-digit",hour12:!1},n=t.toString();if(Number.isInteger(t)&&t>=0&&t<=23&&Number.isInteger(e)&&e>=0&&e<=59){let o=new Date(2e3,0,1,t,e);n=new Intl.DateTimeFormat(r,a).format(o),n.includes(":")||n.startsWith("0")&&(n=n.slice(1))}return n}function hk(s){let{weekdayNumber:t,format:e,locale:i="en-US",firstDayOfWeek:r=7}=s,a=e&&Object.keys(e).length>0?e:{weekday:"long"},n=t.toString();if(Number.isInteger(t)&&t>0&&t<=7&&Number.isInteger(r)&&r>0&&r<=7){let o=(t+r-1)%7,l=new Date(2e3,0,2+o);n=new Intl.DateTimeFormat(i,a).format(l)}return n}function uk(s){let{monthNumber:t,format:e,locale:i="en-US"}=s,r=e&&Object.keys(e).length>0?e:{month:"long"},a=t.toString();if(Number.isInteger(t)&&t>0&&t<=12){let n=new Date(2e3,t-1);a=new Intl.DateTimeFormat(i,r).format(n)}return a}function Sv(s,t){let e=t.get("axisFill"),i=t.get("label");if(e!==void 0&&i!==void 0){let r=rn(i.uid,"guideLabelConfig"),a=s.get("renderer")instanceof ls,n=Math.round(e.width()),o=Math.round(e.height()),l=Math.round(i.height()),h=Math.round(i.width()),{horizontalAlignment:c,verticalAlignment:u}=r??{},d=0,A=0;if(a){let p=n!==0;switch(c){case bi.Left:p?d=-h/2:d=-h;break;case bi.Right:p?d=h/2:d=h;break;case bi.Center:case bi.Justify:break;default:p||(d=h/2);break}switch(u){case Yt.Bottom:p?A=-l:A=-l/2;break;case Yt.Middle:A=-o/2;break;case Yt.Top:default:A=-o+l/2;break}}else{let p=o!==0;switch(c){case bi.Center:d=n/2;break;case bi.Left:d=h/2;break;case bi.Right:default:d=n-h/2;break}switch(u){case Yt.Bottom:p?A=o/2:A=l;break;case Yt.Top:p?A=-o/2+l/2:A=-l;break;case Yt.Middle:default:p||(A=-l/2);break}}i.setAll({dx:d,dy:A})}}function c4(s){let{axis:t,guide:e,label:i}=s,{chart:r}=t;if(r){let a=t.get("renderer")instanceof ls?r.yAxes.getIndex(0):r.xAxes.getIndex(0);a&&(a.events.onDebounced(Ai.BoundsChanged,()=>Sv(t,e),q.debounceTime),t.events.onDebounced(Ai.BoundsChanged,()=>Sv(t,e),q.debounceTime))}i.setAll({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}function d4(s){let{guide:t,axis:e,guideLabelConfig:i}=s,r=t.get("label");if(r!==void 0){ok(r),Vw(r.uid,{isGuide:!0,guideLabelConfig:i});let{chart:a}=e;a!==void 0&&yA({chart:a,label:r,labelType:ii.GuideLabel}),c4({axis:e,guide:t,label:r})}}function A4(s){let{axis:t,guide:e,guideConfig:i,guideType:r}=s,a=e?.get("label");if(a!==void 0)if(i.label!==void 0){let n=t.get("renderer")instanceof ls,o;t instanceof Us||(n?r===Dt.SFS?o=q.verticalSurfaceGuideLabels:o=q.verticalLineGuideLabels:r===Dt.SFS?o=q.horizontalSurfaceGuideLabels:o=q.horizontalLineGuideLabels),Vw(a.uid,{guideLabelConfig:i.label});let l={type:V.Text,visible:i.visible,content:{...i.label,verticalAlignment:Yt.Middle,horizontalAlignment:bi.Center,rightToLeft:a.get("direction")==="rtl"}};wn({label:a,labelConfig:l,defaults:o});let h=i.label?.text;typeof h=="string"&&/<\/?[a-z][\s\S]*>/iu.test(h)&&(a.set("html",Mr(h)),a.set("text","")),a.events.once(Ai.BoundsChanged,()=>{Sv(t,e)}),Sv(t,e)}else Zi(a,!1)}function p4(s){let t=s.dataItem?.component;t instanceof qt?(t.uid!==void 0?Rt(t.uid,"bulletTemplate"):void 0)?.adapters?.remove?.("fill"):t instanceof Li?t.columns?.template?.adapters?.remove?.("fill"):t instanceof Hr&&t.slices?.template?.adapters?.remove?.("fill")}function ck(s){let{element:t,fill:e,fillOpacity:i,pattern:r,chartBackgroundFill:a}=s,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=a??e;l.set("fill",h),l.set("fillOpacity",1),p4(l)}else l.set("fill",e),l.remove("fillPattern"),l.set("fillOpacity",i);n!==void 0&&n.set("getFillFromSprite",o)}function Fv(s,t){s.setAll({stroke:t.stroke,strokeDasharray:t.strokeDasharray,strokeOpacity:t.strokeOpacity,strokeWidth:t.strokeWidth,lineCap:t.linecap})}function dk(s){let{element:t,markerSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return t!==void 0&&e!==void 0&&(n=Hw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(t.setAll({svgPath:n.path,rotation:n.angle,dx:n.xOffset,dy:n.yOffset}),ck({element:t,fill:n.fill,fillOpacity:n.fillOpacity}),Fv(t,n.outline)),Zi(t,i)),n}function vu(s){let{root:t,element:e,fillSymbol:i,visible:r,defaultToColorFromRamp:a,colorRampIndex:n,isChartFillSymbol:o,keepCurrentVisibility:l,chartBackgroundColor:h}=s,c=ix(i?.style),u=qW(e),d=h??(c?ek(u)??[...q.backgroundColor]:void 0),A;if(e!==void 0&&!e.isDisposed()){if(i!==void 0&&(A=Hw({root:t,symbol:i,defaultToColorFromRamp:a,colorRampIndex:n,isChartFillSymbol:o,chartBackgroundColor:d}),A!==void 0)){let p=d!==void 0?Xt(d).color:void 0;ck({element:e,fill:A.fill,fillOpacity:A.fillOpacity,pattern:A.pattern,chartBackgroundFill:p}),Fv(e,A.outline)}l||Zi(e,r)}return A}function So(s){let{element:t,lineSymbol:e,visible:i,defaultToColorFromRamp:r,colorRampIndex:a}=s,n;return t!==void 0&&!t.isDisposed()&&(e!==void 0&&(n=Hw({symbol:e,defaultToColorFromRamp:r,colorRampIndex:a}),n!==void 0&&(Fv(t,n),t instanceof qt&&Fv(t.strokes.template,n))),Zi(t,i)),n}function en(s){let{root:t,element:e,seriesIndex:i,seriesSymbol:r,isChartFillSymbol:a,colorMatch:n,rendererSymbol:o,keepCurrentVisibility:l}=s,h,c;n&&o!==void 0&&(h=ox({rendererSymbol:o,seriesSymbol:r,colorIndex:i}));let u={root:t,element:e,defaultToColorFromRamp:!0,colorRampIndex:i},d=h??{...r};switch(r.type){case Dt.SLS:c=So({...u,lineSymbol:d});break;case Dt.SFS:c=vu({...u,fillSymbol:d,isChartFillSymbol:a,keepCurrentVisibility:l});break;case Dt.SMS:c=dk({...u,markerSymbol:d});break}return{symbolWithColorInfo:d,stylingInfo:c}}function lL(s,t){if(t!==void 0){let{elementColor:e,elementOutlineColor:i,elementOutlineWidth:r,rotation:a,transformation:n}=t,{opacity:o,scale:l}=n??{};e!==void 0&&s.setAll({fill:Xt(e).color,fillOpacity:1}),i!==void 0&&s.setAll({stroke:Xt(i).color,strokeOpacity:1}),r!==void 0&&s.setAll({strokeWidth:r}),a!==void 0&&s.setAll({rotation:a}),l!==void 0&&s.setAll({scale:l}),o!==void 0&&s.setAll({fillOpacity:o,strokeOpacity:o})}}function Zn(s){let{root:t,type:e,intlOptions:i,formatLocale:r}=s,a;switch(e){case V.NumberAxisFormat:{a=Jh.new(t,{}),a.set("intlLocales",r),a.set("numberFormat",i);break}case V.DateAxisFormat:{a=wc.new(t,{}),a.set("intlLocales",r);break}}return a}function f4(s,t,e){let i=t-s,r=[];if(i!==0){if(e===1)r=[s];else if(e>1){let a=i/(e-1);r=[...PF(s,t,a),t]}}return r}function m4({x:s,mean:t,stddev:e,scalingFactor:i}){let r=-1/(2*e**2);return(i??1)*Math.exp(r*(s-t)**2)}function g4(s){let t=0;if(s.length>0)for(let e=0;e<s.length;e+=1)s[e].count>t&&(t=s[e].count);return t}function Ak(s){let t=!1,e;if(s.target.dataItem?.component instanceof Yr?{chart:e}=s.target.dataItem.component:(s.target instanceof Gn||s.target instanceof ml)&&({chart:e}=s.target),e instanceof Ci||e instanceof Rs){let i=fe(e.uid,"actionMode");if(i!==void 0){let{originalEvent:r}=s;t=i===Vt.MultiSelection||i===Vt.MultiSelectionWithCtrlKey&&("ctrlKey"in r&&r.ctrlKey||"metaKey"in r&&r.metaKey)}}return t}function na(s){let{element:t,selected:e,multiSelect:i,isDateOrCategoryAxis:r,backToDefaultState:a}=s,n=!1;if(t!==void 0){let o=_l(t.uid,"selected")??!1;n=o,i!==!0?r===!0?n=o?!1:o!==e:n=e:n=o!==e;let l=a===!0?aa.Default:aa.CustomInactive;t.states.apply(aa.Default),t.states.apply(n?aa.CustomActive:l),n!==o&&(YW(t.uid,{selected:n}),n&&(t.toFront(),t.dataItem?.component instanceof Yr&&t.dataItem.component.toFront()))}return n}function y4(s,t){let e=fe(t.chart?.uid??Number.NaN,"actionMode"),i=Ak(s);return e===Vt.MonoSelection||e===Vt.MultiSelectionWithCtrlKey&&!i}function us(s,t){let{selectedElementsTheme:e,nonSelectedElementsTheme:i}=t??q.selectionTheme??{},r=s.states.create(aa.CustomActive,{}),a=s.states.create(aa.CustomInactive,{});lL(r,e),lL(a,i)}function vA(s){let{value:t,valueFormat:e,formatLocale:i,root:r}=s,a=t?.toString(),n=Zn({type:e.type,intlOptions:e.intlOptions,formatLocale:i,root:r});return typeof t=="number"&&e.type===V.NumberAxisFormat?a=n.format(t,Eo(e)):(typeof t=="number"||t instanceof Date)&&e.type===V.DateAxisFormat&&(a=n.format(t,Eo(e))),a}async function v4(s){let{root:t,exportOptions:e}=s,{format:i,quality:r=1,...a}=e,n=r<0||r>1?1:r,o=await cu.new(t,{}).exportImage(i,{quality:n,...a}),l=nI(o),h=i==="jpg"?"image/jpeg":"image/png";return new File([l],`chart.${i}`,{type:h})}function pA(s,t){if(s!==void 0&&t!==void 0&&(s.states.lookup("default")?.setAll({fill:t.fill,fillOpacity:t.fillOpacity}),t.outline!==void 0)){let{outline:e}=t;s.states.lookup("default")?.setAll({stroke:e.stroke,strokeOpacity:e.strokeOpacity,strokeDasharray:e.strokeDasharray,lineCap:e.linecap,strokeWidth:e.strokeWidth})}}function pk(s){let{numberFormatter:t,dataLabelsConfigContent:e,stackedType:i,externalDataLabelFormatter:r}=s;return(a,n)=>{let o=i===Gi.Stacked100&&n!==void 0?n:a;return t.get("numberFormat").style==="percent"&&(o/=100),_a({textSymbol:{...e,text:t.format(o)},format:r===void 0?"amChartsV5":"html"})}}function b4(s,t){let e=s.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??s,a=i?.x??r?.get("x")??0,n=i?.y??r?.get("y")??0;return{x:a,y:n}}function fk(s){let{label:t,chart:e,seriesType:i}=s,r=n=>{if(e instanceof Ci){let o=b4(n,i),l=e.plotContainer,h=l.x(),c=l.y(),u=o.x<h||o.x>h+l.width()||o.y<c||o.y>c+l.height();n.setAll({visible:!u,forceHidden:u})}},a=zs((n,o)=>{o&&r(o)},q.debounceTime);t.on("x",a),t.on("y",a)}function x4(s){let{series:t,label:e,isHeatChart:i}=s;e.adapters.add("y",(r,a)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=a.dataItem;if(h!==void 0&&l!==void 0&&l!==null){let c=h?.get("valueY"),u=a.localBounds().bottom;if(o!==!0){let d=q.dataLabelNegative?.paddingTop??0;if(t.get("stacked")||i)if(c<0)l+=u-d;else{let A=i?q.heatChartLabelPadding.paddingTop:0;l+=u/2+A}}else{let d=q.rotatedChartPadding?.paddingTop??0;l+=u/2+d}}return l}),e.adapters.add("x",(r,a)=>{let{chart:n}=t,o=n!==void 0?fe(n.uid,"isRotated"):!1,l=typeof r=="number"?r:r?.value,h=a.dataItem;if(h!==void 0&&l!==void 0&&l!==null&&o===!0){let c=h?.get("valueX"),u=a.width()/2,d=q.rotatedChartPadding?.paddingRight??0,A=u+d;t.get("stacked")||(c<0?l-=A:l+=A)}return l})}function _4(s){let{series:t,isRotated:e,externalDataLabelFormatter:i}=s;t.bullets.push(()=>{let r=fe(t.chart?.uid??Number.NaN,"config")?.series?.find(l=>l.id===t.get("id"))?.dataLabels??s.dataLabelsConfig,a=t.get("stacked"),n=ma.new(t.root,{locationY:!a&&!e?1:void 0,locationX:!a&&e?1:void 0,sprite:Zt.new(t.root,{text:e?"{valueX}":"{valueY}",populateText:!0,centerY:ge,centerX:Xr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:Xt(r?.content.color).color,fontSize:r?.content.font?.size})}),o=n.get("sprite");if(o){let l=o;gk({dataLabel:l,series:t,externalDataLabelFormatter:i}),yk({...s,dataLabelsConfig:r,dataLabel:l,dataLabelFormatter:pk})}return n})}function Qw(s,t=1){s.bullets.removeIndex(t)}function mk(s){let{textBackgroundColor:t,chartBackgroundColor:e,fillOpacity:i}=s,r;return sp({r:t.r,g:t.g,b:t.b,a:i})?r=sp({r:e.r,g:e.g,b:e.b,a:i})?Xt(fF).color:e:r=sp({r:e.r,g:e.g,b:e.b,a:i})?e:Xt(pF).color,r}function C4(s){let{dataLabel:t,labelConfigColor:e,seriesColor:i,backgroundColor:r,autoInverseDataLabelTextColor:a,isHeatChart:n}=s,o=r??Xt(q.backgroundColor).color;a===!0&&i&&t.adapters.add("fill",(l,h,c)=>{let u=e??h.text.get("fill"),d=(h.dataItem?.component).get("stacked"),A=u;if(u&&(d||n)){let p=h.dataItem.get("graphics"),f=p?.get("fillOpacity");A=mk({textBackgroundColor:p?.get("fill")??i,chartBackgroundColor:o,fillOpacity:f})}return A})}function gk(s){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=s;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Nf({label:t,labelOutputProp:r}),t.adapters.add(r,(a,n)=>{let o=a??"",l=n.dataItem,h=Rt(e.uid,e instanceof Li?"barSeriesDataLabelFormatter":"lineSeriesDataLabelFormatter");if(h!==void 0&&e.chart&&l){let c=fe(e.chart.uid,"isRotated"),u=c===!0?l.get("valueX"):l.get("valueY"),d=c===!0?l.get("valueXTotalPercent"):l.get("valueYTotalPercent"),A=e.get("valueYShow")==="valueYTotalPercent"||e.get("valueXShow")==="valueXTotalPercent";o=h(A?d:u)}return r==="html"?Mr(o):o})}function Nf(s){let{label:t,labelOutputProp:e}=s,i=t;e==="html"?i.set("html",q.htmlEmptyContent):i.set("html",void 0)}function jv(s){let{series:t,seriesConfig:e,dataLabel:i,labelDefaults:r,dataLabelsConfig:a,yAxisValueFormat:n,stackedType:o,isRotated:l,seriesType:h,defaultDataLabelFormatter:c,externalDataLabelFormatter:u}=s,{chart:d}=t;if(i!==void 0){let A=u,p=a?.content??{type:Dt.TS};if(u===void 0&&c!==void 0&&n?.type===V.NumberAxisFormat&&d){let _=fe(d.uid,"formatLocale"),w=Zn({root:d.root,type:n.type,formatLocale:_,intlOptions:n.intlOptions});A=c({numberFormatter:w,dataLabelsConfigContent:p,stackedType:o,externalDataLabelFormatter:u})}let f;switch(h){case V.BarSeries:f="barSeriesDataLabelFormatter";break;case V.LineSeries:f="lineSeriesDataLabelFormatter";break;case V.HistogramSeries:f="histogramDataLabelFormatter";break;case V.ScatterSeries:f="scatterplotDataLabelFormatter";break;case V.HeatSeries:f="heatChartDataLabelFormatter";break}f!==void 0&&hs(t.uid,{[f]:A}),a!==void 0&&(h===V.HeatSeries?a.content.text="{value}":a.content.text=l===!0?"{valueX}":"{valueY}",a.visible=a.visible!==!1),wn({label:i,labelConfig:a,defaults:r??q.dataLabel,skipSettingText:!0});let m=t.get("stacked"),g=m&&h===V.BarSeries&&e?.hideOversizedStackedLabels!==!1,y=!m&&h===V.BarSeries&&e?.hideOversizedSideBySideLabels===!0;y||g?i.setAll({oversizedBehavior:"hide",maxWidth:void 0,maxHeight:y?100:void 0}):i.setAll({oversizedBehavior:"none"})}}function w4(s){let{series:t,labelDefaults:e,externalDataLabelFormatter:i}=s;t.dataItems.forEach(r=>{let a=r.bullets?.[1];if(a){a.set("locationY",t.get("stacked")?void 0:1);let n=a.get("sprite");n&&(gk({dataLabel:n,series:t,externalDataLabelFormatter:i}),jv({...s,dataLabel:n,labelDefaults:e,defaultDataLabelFormatter:pk,externalDataLabelFormatter:i}))}})}function yk(s){let{series:t,dataLabelsConfig:e,autoInverseDataLabelTextColor:i,externalDataLabelFormatter:r,labelDefaults:a,seriesType:n,dataLabel:o,isHeatChart:l,dataLabelFormatter:h}=s;o&&(t.chart&&e?.visible&&fk({label:o,chart:t.chart,seriesType:n}),x4({series:t,label:o,isHeatChart:l}),jv({...s,dataLabel:o,labelDefaults:a,defaultDataLabelFormatter:h,externalDataLabelFormatter:r}),C4({dataLabel:o,labelConfigColor:Xt(e?.content.color).color,seriesColor:t.get("fill"),backgroundColor:t.chart?.get("background")?.get("fill"),autoInverseDataLabelTextColor:i,isHeatChart:l}))}function vk(s){let{series:t,dataLabelsConfig:e}=s,i=e?.visible,r=t.bullets.hasIndex(1);i!==!0?r&&Qw(t):(r||_4(s),w4(s))}function B4(s){let{dataLabel:t,series:e,externalDataLabelFormatter:i}=s;t.adapters.remove("text"),t.adapters.remove("html");let r=i!==void 0?"html":"text";Nf({label:t,labelOutputProp:r}),t.adapters.add(r,(a,n)=>{let o=a??"",l=n.dataItem,h=Rt(e.uid,"heatChartDataLabelFormatter"),c=fe(e.chart?.uid??NaN,"config");if(h!==void 0&&l){let u=l.get("value"),d=l.get("categoryX"),A=l.get("categoryY");u===null?o=c?.series[0].emptyCells?.text??q.heatChart.emptyCells?.text??"":u!==void 0&&(o=h(u,d,A))}return r==="html"?Mr(o):o})}function S4(s){let{numberFormatter:t,dataLabelsConfigContent:e}=s;return i=>_a({textSymbol:{...e,text:t.format(i)},format:"amChartsV5"})}function F4(s){let{series:t,externalDataLabelFormatter:e}=s;t.bullets.push(()=>{let i=fe(t.chart?.uid??Number.NaN,"config")?.series?.[0]?.dataLabels??s.dataLabelsConfig,r=ma.new(t.root,{sprite:Zt.new(t.root,{text:"{value}",populateText:!0,centerY:ge,centerX:Xr,paddingBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,fill:Xt(i?.content.color).color,fontSize:i?.content.font?.size,oversizedBehavior:"hide"})}),a=r.get("sprite");if(a){let n=a;B4({dataLabel:n,series:t,externalDataLabelFormatter:e}),yk({...s,dataLabelsConfig:i,dataLabel:n,isHeatChart:!0,dataLabelFormatter:S4}),n.set("oversizedBehavior","hide"),n.set("maxWidth",void 0),n.set("maxHeight",void 0)}return r})}function T4(s){let{series:t,dataLabelsConfig:e}=s,i=e?.visible;t.bullets.hasIndex(0)&&Qw(t,0),i===!0&&F4(s)}var Ps={nameField:"name",fillField:"fill",strokeField:"stroke",fillOpacityField:"fillOpacity",strokeOpacityField:"strokeOpacity"};function jw(s,t){let e=zf(s);s.columns.template.set("tooltip",e);let i=t!==void 0||Rt(s.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";xl({element:s.columns.template,labelOutputProp:r}),s.columns.template.setAll({tooltipPosition:q.columnTooltipPosition}),s.columns.template.adapters.remove("tooltipText"),s.columns.template.adapters.remove("tooltipHTML"),s.columns.template.adapters.add(r,(a,n)=>Fo({element:n,series:s,isHTML:i})),s.columns.each(a=>{a.set("tooltip",e),xl({element:a,labelOutputProp:r}),a.adapters.remove("tooltipText"),a.adapters.remove("tooltipHTML"),a.adapters.add(r,(n,o)=>Fo({element:o,series:s,isHTML:i}))})}function bk(s){let{axesConfig:t,currentSeries:e,tooltipValueFormat:i}=s,{root:r,chart:a}=e;if(a){let n=t?.[1]?.valueFormat,o=t?.[0].valueFormat,l=fe(a.uid,"formatLocale");if(n?.type===V.NumberAxisFormat){let h=Zn({root:r,type:n.type,formatLocale:l,intlOptions:n.intlOptions});hs(e.uid,{tooltipValueYNumberFormatCallback:c=>h.format(c,i?.intlOptions??n.intlOptions)})}if(o?.type===V.NumberAxisFormat){let h=Zn({root:r,type:o.type,formatLocale:l,intlOptions:o.intlOptions});hs(e.uid,{tooltipValueXNumberFormatCallback:c=>h.format(c,i?.intlOptions??o.intlOptions)})}}}function P4(s){let{axes:t,seriesConfig:e,series:i,fieldList:r,utilsStrings:a}=s,{dataTooltipVisible:n}=e,o,l=fe(i.chart?.uid??0,"rtl")??!1,h=Ra(l);return n===!1?o=(c,u,d)=>"":o=(c,u,d)=>{let A=Er(r,e.x),p=mA(A,t?.[0].title?.content?.text),f=mA(a?.statistics.count??"",t?.[1]?.title?.content?.text??""),m=Rt(i.uid,"tooltipValueXNumberFormatCallback"),g=Rt(i.uid,"tooltipValueYNumberFormatCallback"),y=m?m(u):u,_=m?m(d):d,w=g?g(c):c;return`[bold]${p}${h} [/]${y} - ${_}
47
47
  [bold]${f}${h} [/]${w}`},o}function D4(s){let{seriesConfig:t,series:e,tooltip:i}=s,{dataTooltipVisible:r}=t;if(r!==!1){let a=Rt(e.uid,"histogramTooltipFormatter");if(a!==void 0){let n=i.dataItem;if(n!==void 0){let o=n.dataContext;return a(n.get("valueY")??0,o.minValue,o.maxValue)}}}return""}function Ww(s,t){let e=zf(s);s.columns.template.set("tooltip",e);let i=t!==void 0||Rt(s.uid,"hasExternalTooltipFormatter")===!0,r=i?"tooltipHTML":"tooltipText";xl({element:s.columns.template,labelOutputProp:r}),s.columns.template.setAll({tooltipPosition:q.columnTooltipPosition}),s.columns.template.adapters.remove("tooltipText"),s.columns.template.adapters.remove("tooltipHTML"),s.columns.template.adapters.add(r,(a,n)=>Fo({element:n,series:s,isHTML:i})),s.columns.each(a=>{a.set("tooltip",e),a.set("tooltipPosition","pointer"),xl({element:a,labelOutputProp:r}),a.adapters.remove("tooltipText"),a.adapters.remove("tooltipHTML"),a.adapters.add(r,(n,o)=>Fo({element:o,series:s,isHTML:i}))})}function L4(s){let{series:t,tooltipFormatter:e,axesConfig:i,seriesConfig:r}=s,a=Rt(t.uid,"hasExternalTooltipFormatter")===!0,n=e!==void 0;bk({axesConfig:i,currentSeries:t,tooltipValueFormat:r.dataTooltipValueFormat}),hs(t.uid,{histogramTooltipFormatter:e??P4(s),hasExternalTooltipFormatter:n}),a!==n&&Ww(t,e)}function Xw(s){let{pieChart:t,valueIntlOptions:e,percentageIntlOptions:i,displayNumericValue:r,displayPercentage:a,valuePrefix:n,valueSuffix:o,percentagePrefix:l,percentageSuffix:h}=s,{root:c}=t,u=fe(t.uid,"formatLocale"),d=Zn({root:c,type:V.NumberAxisFormat,intlOptions:e,formatLocale:u}),A=Zn({root:c,type:V.NumberAxisFormat,intlOptions:{...i,style:"percent"},formatLocale:u}),p=Ra(fe(t.uid,"rtl")??!1," ");return(f,m,g)=>{let y="";if(m!==void 0&&g!==void 0){let _=`${n??""}${d.format(m)}${o??""}`,w=`${l??""}${A.format(Math.abs(g/100))}${h??""}`;Number.isFinite(m)?r===!0&&a===!0?y=`${w}${p}(${_})`:r===!0?y=_:a===!0&&(y=w):y=""}return y}}function I4(s,t){let e=(p,f,m)=>"",{numericValueFormat:i,percentValueFormat:r,dataTooltipValueFormat:a,dataTooltipPercentFormat:n,displayCategoryOnTooltip:o,displayNumericValueOnTooltip:l,displayPercentageOnTooltip:h,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A}=t;return e=(p,f,m)=>{let g="",{chart:y}=s;if(y){let _=Xw({pieChart:y,valueIntlOptions:(a??i)?.intlOptions,percentageIntlOptions:(n??r)?.intlOptions,displayNumericValue:l??q.pieChart.displayNumericValueOnTooltip,displayPercentage:h??q.pieChart.displayPercentageOnTooltip,valuePrefix:c,valueSuffix:u,percentagePrefix:d,percentageSuffix:A})("",f,m),w=!Yi(p)&&(o??q.pieChart.displayCategoryOnTooltip);if(w&&(g=`[bold]${p}[/]`),!Yi(_)){let S=zm(_);g=w?`${g}
48
48
  ${S}`:S}}return g},e}function k4(s){let t=s.get("tooltip");if(t!==void 0){let e=s.get("fill");e instanceof ih&&(e=e.get("fill")),t.get("background")?.set("fill",e)}}function $4(s){let{pieSeries:t,tooltip:e}=s,i="",{chart:r}=t;if(r!==void 0&&e!==void 0){let a=fe(r.uid,"config"),{dataTooltipVisible:n}=a?.series[0]??{};if(n!==!1){let o=Rt(t.uid,"pieChartTooltipFormatter");if(o){let l=e.dataItem;if(l!==void 0){let h=l,c=h.get("category")??"",u=l.dataContext,d=so(u);d===void 0&&(d=c);let A=h.get("value"),p=h.get("valuePercentTotal");typeof A=="number"&&A!==0&&a?.series?.[0]?.dataTooltipVisible!==!1?(e.set("disabled",!1),k4(h.get("slice")),i=o(c,A,p,d)):e.set("disabled",!0)}}}else return}return i}function zw(s,t){let e=s.slices.template,i=zf(s),r=t!==void 0||Rt(s.uid,"hasExternalTooltipFormatter")===!0,a=r?"tooltipHTML":"tooltipText";xl({element:e,labelOutputProp:a}),e.setAll({tooltip:i,tooltipPosition:q.sliceTooltipPosition}),e.adapters.remove("tooltipText"),e.adapters.remove("tooltipHTML"),e.adapters.add(a,(n,o)=>{let l=" ";try{let h=o.get("tooltip");h&&(h.dataItem=o.dataItem,l=Fo({element:h,series:s,isHTML:r}))}catch{}return l}),e.set(a," "),s.slices.each(n=>{n.set("tooltip",i),n.set("tooltipPosition","fixed"),xl({element:n,labelOutputProp:a}),n.adapters.remove("tooltipText"),n.adapters.remove("tooltipHTML"),n.adapters.add(a,(o,l)=>{let h=" ";try{let c=l.get("tooltip");c&&(c.dataItem=l.dataItem,h=Fo({element:c,series:s,isHTML:r}))}catch{}return h})})}function O4(s){let{series:t,seriesConfig:e,tooltipFormatter:i}=s,r=Rt(t.uid,"hasExternalTooltipFormatter")===!0,a=i!==void 0;hs(t.uid,{pieChartTooltipFormatter:i??I4(t,e),hasExternalTooltipFormatter:a}),r!==a&&zw(t,i)}function E4(s){let{axesConfig:t,seriesConfig:e,series:i,fieldList:r}=s,{dataTooltipVisible:a}=e,n,{chart:o}=i,l=o?.uid!==void 0?fe(o.uid,"rtl"):!1,h=Ra(l??!1);return a===!1?n=(c,u,d,A)=>"":n=(c,u,d,A)=>{let p=Er(r,e.x),f=Yi(t?.[0].title?.content?.text)?p:t?.[0].title?.content?.text,m=Er(r,e.y),g=Yi(t?.[1]?.title?.content?.text)?m:t?.[1]?.title?.content?.text,y=Rt(i.uid,"tooltipValueXNumberFormatCallback"),_=y?y(c):c,w=Rt(i.uid,"tooltipValueYNumberFormatCallback"),S=w?w(u):u,P=`[bold]${f}${h} [/]${_}
49
49
  [bold]${g}${h} [/]${S}`;if(d!==void 0&&e.sizePolicy?.field!==void 0){let T=Er(r,e.sizePolicy?.field),L=w?w(d):d;P+=`
50
50
  [bold]${T}${h} [/]${L}`}return e.additionalTooltipFields?.forEach(T=>{let L=Er(r,T),$=r?.find(F=>F.name===T),I=A?.[T],M="";if(I!=null&&I!==void 0&&$)if(LF($)&&typeof I=="number")M=String(w?w(I):I);else if(IF($)){let F=new Date(I),Q=o?fe(o.uid,"formatLocale"):void 0;M=new Intl.DateTimeFormat(Q,{}).format(F)}else $.type===GA.String&&typeof I=="string"&&(M=I);P+=l?`
51
51
  ${M}[bold]${L}${h} [/]`:`
52
- [bold]${L}${h} [/]${M}`}),P},n}function M4(s){let{seriesConfig:t,markerSeries:e,tooltip:i}=s,{x:r,y:a,sizePolicy:n,dataTooltipVisible:o}=t,{field:l}=n??{};if(o!==!1){let h=Rt(e.uid,"scatterplotTooltipFormatter");if(!i.isHidden()&&h){let{dataItem:c}=i;if(c){let u=c.dataContext;if(u){let d=r in u&&typeof u[r]=="number"?Number(u[r]):Number.NaN,A=a in u&&typeof u[a]=="number"?Number(u[a]):Number.NaN,p=l&&l in u&&typeof u[l]=="number"?Number(u[l]):void 0;return h(d,A,p,u)}}}}}function R4(s){let{axesConfig:t,series:e,seriesConfig:i,tooltipFormatter:r}=s;bk({axesConfig:t,currentSeries:e,tooltipValueFormat:i.dataTooltipValueFormat}),hs(e.uid,{scatterplotTooltipFormatter:r??E4(s),hasExternalTooltipFormatter:r!==void 0});let a=Rt(e.uid,"bulletTemplate");a&&BA({series:e,element:a,tooltipFormatter:r})}function hL(s,t){if(t!==void 0){let e=tk(t);e!==void 0&&s.label.setAll({fill:sp({r:e.r,g:e.g,b:e.b,a:1})?ia("#000000"):ia("#ffffff")})}}function xk(s){s.label.setAll({paddingTop:4,paddingBottom:4})}function _k(s,t){let{dataTooltipStyleReversed:e,dataTooltipStyle:i}=q;if(t===!0){let r=s.get("background")?.get("fill");if(r!==void 0)if(hL(s,s.get("background")?.get("fill")?.toCSS()),e?.color!==void 0&&r.toCSSHex()!==Xt(e.color).color.toCSSHex()){s.get("background")?.setAll({fill:Xt(e.color).color,stroke:r,strokeWidth:e.outline?.width??Number.NaN});let a=s.get("background");if(a instanceof ft&&a.parent instanceof Gr){let n=a.parent.get("tooltipTarget");a.set("strokeOpacity",n instanceof ft?n.get("fillOpacity"):void 0)}s.get("background")?.adapters.enable("fillOpacity")}else r.toCSSHex()===Xt(e?.color).color.toCSSHex()&&s.get("background")?.adapters.disable("fillOpacity")}else hL(s,s.get("background")?.get("fill")?.toCSS()),s.setAll({getStrokeFromSprite:!0,getFillFromSprite:!0}),s.get("background")?.adapters.enable("fillOpacity"),s.get("background")?.setAll({strokeWidth:i?.outline?.width??Number.NaN,stroke:Xt(i?.outline?.color).color})}function U4(s){s.get("background")?.adapters.add("fillOpacity",(t,e)=>{let i=t;if(e.parent instanceof Gr){let r=e.parent.get("tooltipTarget");i=r instanceof ft?r.get("fillOpacity"):i}return i})}function zf(s){let{root:t,chart:e}=s,i=Gr.new(t,{});return i.label.setAll({oversizedBehavior:"wrap",maxWidth:q.tooltipWidth}),i.adapters.add("visible",(r,a)=>(r&&N4(a,s),r)),U4(i),V4(i,e),i}function BA(s){let{series:t,element:e,tooltipFormatter:i}=s,r,a=zf(t);e&&e.get("tooltip")===void 0?(r=e,e.setAll({tooltip:a,tooltipPosition:q.markerTooltipPosition})):r=a;let n=i!==void 0||Rt(t.uid,"hasExternalTooltipFormatter")===!0,o=n?"tooltipHTML":"tooltipText";xl({element:r,labelOutputProp:o}),r instanceof Gr?(r.adapters.remove("tooltipText"),r.adapters.remove("tooltipHTML"),r.adapters.add(o,(h,c)=>Fo({element:c,series:t,isHTML:n}))):r instanceof Pt&&(r.adapters.remove("tooltipText"),r.adapters.remove("tooltipHTML"),r.adapters.add(o,(h,c)=>Fo({element:c,series:t,isHTML:n})));let l=h=>{h.set("tooltip",a),h.set("tooltipPosition","fixed"),xl({element:h,labelOutputProp:o}),h.adapters.remove("tooltipText"),h.adapters.remove("tooltipHTML"),h.adapters.add(o,(c,u)=>Fo({element:u,series:t,isHTML:n}))};return t.bulletsContainer.children.each(h=>{h instanceof ss&&l(h)}),a}function xl(s){let{element:t,labelOutputProp:e}=s,i=e==="tooltipHTML";if(t instanceof Gr)i?(t.label.set("html",q.htmlEmptyContent),t.label.set("text","")):t.label.set("html",void 0);else if(t instanceof ss){let r=t.get("tooltip");r&&(i?(r.label.set("html",q.htmlEmptyContent),r.label.set("text","")):r.label.set("html",void 0)),t.set("tooltipText",i?void 0:q.htmlEmptyContent),t.set("tooltipHTML",i?q.htmlEmptyContent:void 0)}else t instanceof Pt&&(t.set("tooltipText",i?void 0:q.htmlEmptyContent),t.set("tooltipHTML",i?q.htmlEmptyContent:void 0))}function V4(s,t){if(s){let e=fe(t?.uid??0,"rtl");s.label.set("direction",e?"rtl":"ltr"),xk(s)}}function N4(s,t){let{chart:e}=t;if(e&&s){let i=fe(e.uid,"config");if(i){let{seriesConfig:r}=Gv(t,i);if(r){let{dataTooltipReverseColor:a}=r;_k(s,a)}}}}function H4(s){let{seriesConfig:t,series:e,tooltip:i,isRotated:r}=s,a=Rt(e.uid,"barAndLineTooltipFormatter");if(a!==void 0){let n=i.dataItem;if(n!==void 0){let o=n.get("valueX"),l=n.get("valueY"),h=n.get("valueXTotalPercent"),c=n.get("valueYTotalPercent"),u=r?o:l,d;r&&typeof h=="number"?d=h:!r&&typeof c=="number"&&(d=c),d&&(d/=100);let A=n.dataContext??{},p=fe(e.chart?.uid??0,"config"),f=fe(e.chart?.uid??0,"rendererFieldNames"),m=Mo({value:A[t.x],dataContext:A,useRendererLabel:JA(p,f),specificField:rp(kt([t]),t)}),g=so(A);g===void 0&&(g=m);let y=A[q.dateBinningRange];if(g!==void 0||u!==void 0||d!==void 0||y!==void 0)return a({seriesName:e.get("name")??t.name,xValue:m,originalXValue:g,dateBinningRange:y,statValue:u,percentValue:d})}}}function uL(s,t){if(s instanceof Gr)s.set("forceHidden",t);else{let e=s.get("tooltip");e&&e.set("forceHidden",t)}}function Fo(s){let{element:t,series:e,isHTML:i}=s,r,{chart:a}=e;if(a!==void 0){let o=fe(a.uid,"config"),{seriesConfig:l}=Gv(e,o),{dataTooltipVisible:h}=o?.series[0]??{};if(h===!1||!l)r="",uL(t,!0);else switch(uL(t,!1),l.type){case V.ScatterSeries:e instanceof qt&&(r=M4({seriesConfig:l,markerSeries:e,tooltip:t}));break;case V.BarSeries:case V.LineSeries:case V.RadarSeries:r=H4({seriesConfig:l,series:e,tooltip:t,isRotated:o?.rotated??!1});break;case V.HistogramSeries:r=D4({seriesConfig:l,series:e,tooltip:t});break;case V.HeatSeries:r=Y4({heatSeries:e,tooltip:t});break;case V.PieSeries:e instanceof Hr&&t instanceof Gr&&(r=$4({pieSeries:e,tooltip:t}));break}}let n=r??"";if(i){let o=Mr(n),l=t instanceof Gr?t:t.get("tooltip");return l&&l.label.setAll({html:o,text:""}),o}return n}function Q4(s){let{series:t,dateRange:e,xAxisValueFormat:i}=s,r,a=fe(t.chart?.uid??Number.NaN,"timeIntervalInfo");if(e!==void 0&&e.length>0){let n={};switch(a?.unit){case tr.Second:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case tr.Minute:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Hour:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Day:case tr.Week:case tr.Month:case tr.Year:n={month:"numeric",day:"numeric",year:"numeric"};break}n.timeZone=i.intlOptions.timeZone;let o=new Date(e[0]),l=new Date(e[1]),{root:h}=t;if(!Number.isNaN(o.valueOf())&&t.chart!==void 0){let c=fe(t.chart.uid,"formatLocale"),u=Zn({root:h,type:V.DateAxisFormat,formatLocale:c,intlOptions:n}),d=u.format(o,n);if(r=d,!Number.isNaN(l.valueOf())){let A=u.format(l,n);A!==d&&(r=`${r} - ${A}`)}}}return r?.toString()??""}function j4(s){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:a,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:c}=s,{root:u}=n,d,A=fe(n.chart?.uid??0,"formatLocale");return qm({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:c})&&l!==void 0&&e?.type===V.DateAxisFormat?d=Q4({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?d=new Date(o).toLocaleTimeString(A):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(d=vA({root:u,value:o,valueFormat:a??e,formatLocale:A})):typeof o=="number"&&xa(e)?d=vA({root:u,value:o,valueFormat:r??e,formatLocale:A}):d=o,d?.toString()??""}function W4(s){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:a,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=s,l=e.chart?.uid??0,{root:h}=e,c=n;c===void 0&&(xa(a)&&a?(c=a,t&&(c.intlOptions.style="decimal")):c=Qm());let u=fe(l,"formatLocale"),d=i!==void 0?vA({root:h,value:i,valueFormat:c,formatLocale:u}):"",A="";if(t&&r!==void 0&&h!==void 0){let p=o;p===void 0&&(p=zb(),p.intlOptions.minimumFractionDigits=2,p.intlOptions.maximumFractionDigits=2),A=vA({root:h,value:r,valueFormat:p,formatLocale:u})}return{formattedStatValue:d,formattedPercentValue:A}}function X4(s){let{utilsStrings:t,fieldList:e,queryObject:i,series:r,seriesConfig:a,seriesIndex:n,setTimeBinningInfoWhenNotProvided:o}=s,{chart:l}=r,{dataTooltipDateFormat:h,dataTooltipPercentFormat:c,dataTooltipValueFormat:u}=a,d=()=>"";if(l!==void 0){let A=fe(l.uid,"config");if(A!==void 0){let{dataTooltipVisible:p}=a,f=r instanceof qt?a.markerVisible:void 0;if(p!==!1&&f!==!1){let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,_=e?.find(Q=>Q.name===a.x)?.type===GA.TimeOnly,w=kt(A.series),S=Ua(A)===Gi.Stacked100,P=Ys(i),T=_h(P).idField,L=Er(e,a.x),$=mA(L,m[0].title?.content.text),I=yI({config:A,fieldList:e,objectIdField:T,seriesIndex:n,utilsStrings:t,isStacked100:S}),M=fe(l.uid,"rtl"),F=Ra(M??!1);d=Q=>{let{seriesName:Y,statValue:z,percentValue:ee,xValue:ie,dateBinningRange:de}=Q,K=j4({seriesConfig:a,xAxisValueFormat:g,dataTooltipValueFormat:u,dataTooltipDateFormat:h,setTimeBinningInfoWhenNotProvided:o,series:r,xValue:ie,dateBinningRange:de,isTimeOnlyField:_,queryObject:i}),{formattedStatValue:G,formattedPercentValue:xe}=W4({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:u,dataTooltipPercentFormat:c,series:r,statValue:z,percentValue:ee}),ae=[`[bold]${$}${F} [/]${K}`];switch(w){case Ee.BarAndLineFromFields:{ae.pop();let ne=Fw({config:A,fieldName:Er(e,K??""),utilsStrings:t});ae.push(`[bold]${ne}${F} [/]${G}`);break}case Ee.BarAndLineMonoField:case Ee.BarAndLineNoAggregation:case Ee.BarAndLineMultiFields:ae.push(`[bold]${I}${F} [/]${G}`);break;case Ee.BarAndLineSplitByNoAggregation:case Ee.BarAndLineSplitBy:{let ne=Vo(a.query?.where,!1),$e=hx({value:Er(e,ne)});ae.push(`[bold]${$e}${F} [/]${Y}
52
+ [bold]${L}${h} [/]${M}`}),P},n}function M4(s){let{seriesConfig:t,markerSeries:e,tooltip:i}=s,{x:r,y:a,sizePolicy:n,dataTooltipVisible:o}=t,{field:l}=n??{};if(o!==!1){let h=Rt(e.uid,"scatterplotTooltipFormatter");if(!i.isHidden()&&h){let{dataItem:c}=i;if(c){let u=c.dataContext;if(u){let d=r in u&&typeof u[r]=="number"?Number(u[r]):Number.NaN,A=a in u&&typeof u[a]=="number"?Number(u[a]):Number.NaN,p=l&&l in u&&typeof u[l]=="number"?Number(u[l]):void 0;return h(d,A,p,u)}}}}}function R4(s){let{axesConfig:t,series:e,seriesConfig:i,tooltipFormatter:r}=s;bk({axesConfig:t,currentSeries:e,tooltipValueFormat:i.dataTooltipValueFormat}),hs(e.uid,{scatterplotTooltipFormatter:r??E4(s),hasExternalTooltipFormatter:r!==void 0});let a=Rt(e.uid,"bulletTemplate");a&&BA({series:e,element:a,tooltipFormatter:r})}function hL(s,t){if(t!==void 0){let e=tk(t);e!==void 0&&s.label.setAll({fill:sp({r:e.r,g:e.g,b:e.b,a:1})?ia("#000000"):ia("#ffffff")})}}function xk(s){s.label.setAll({paddingTop:4,paddingBottom:4})}function _k(s,t){let{dataTooltipStyleReversed:e,dataTooltipStyle:i}=q;if(t===!0){let r=s.get("background")?.get("fill");if(r!==void 0)if(hL(s,s.get("background")?.get("fill")?.toCSS()),e?.color!==void 0&&r.toCSSHex()!==Xt(e.color).color.toCSSHex()){s.get("background")?.setAll({fill:Xt(e.color).color,stroke:r,strokeWidth:e.outline?.width??Number.NaN});let a=s.get("background");if(a instanceof ft&&a.parent instanceof Gr){let n=a.parent.get("tooltipTarget");a.set("strokeOpacity",n instanceof ft?n.get("fillOpacity"):void 0)}s.get("background")?.adapters.enable("fillOpacity")}else r.toCSSHex()===Xt(e?.color).color.toCSSHex()&&s.get("background")?.adapters.disable("fillOpacity")}else hL(s,s.get("background")?.get("fill")?.toCSS()),s.setAll({getStrokeFromSprite:!0,getFillFromSprite:!0}),s.get("background")?.adapters.enable("fillOpacity"),s.get("background")?.setAll({strokeWidth:i?.outline?.width??Number.NaN,stroke:Xt(i?.outline?.color).color})}function U4(s){s.get("background")?.adapters.add("fillOpacity",(t,e)=>{let i=t;if(e.parent instanceof Gr){let r=e.parent.get("tooltipTarget");i=r instanceof ft?r.get("fillOpacity"):i}return i})}function zf(s){let{root:t,chart:e}=s,i=Gr.new(t,{});return i.label.setAll({oversizedBehavior:"wrap",maxWidth:q.tooltipWidth}),i.adapters.add("visible",(r,a)=>(r&&N4(a,s),r)),U4(i),V4(i,e),i}function BA(s){let{series:t,element:e,tooltipFormatter:i}=s,r,a=zf(t);e&&e.get("tooltip")===void 0?(r=e,e.setAll({tooltip:a,tooltipPosition:q.markerTooltipPosition})):r=a;let n=i!==void 0||Rt(t.uid,"hasExternalTooltipFormatter")===!0,o=n?"tooltipHTML":"tooltipText";xl({element:r,labelOutputProp:o}),r instanceof Gr?(r.adapters.remove("tooltipText"),r.adapters.remove("tooltipHTML"),r.adapters.add(o,(h,c)=>Fo({element:c,series:t,isHTML:n}))):r instanceof Pt&&(r.adapters.remove("tooltipText"),r.adapters.remove("tooltipHTML"),r.adapters.add(o,(h,c)=>Fo({element:c,series:t,isHTML:n})));let l=h=>{h.set("tooltip",a),h.set("tooltipPosition","fixed"),xl({element:h,labelOutputProp:o}),h.adapters.remove("tooltipText"),h.adapters.remove("tooltipHTML"),h.adapters.add(o,(c,u)=>Fo({element:u,series:t,isHTML:n}))};return t.bulletsContainer.children.each(h=>{h instanceof ss&&l(h)}),a}function xl(s){let{element:t,labelOutputProp:e}=s,i=e==="tooltipHTML";if(t instanceof Gr)i?(t.label.set("html",q.htmlEmptyContent),t.label.set("text","")):t.label.set("html",void 0);else if(t instanceof ss){let r=t.get("tooltip");r&&(i?(r.label.set("html",q.htmlEmptyContent),r.label.set("text","")):r.label.set("html",void 0)),t.set("tooltipText",i?void 0:q.htmlEmptyContent),t.set("tooltipHTML",i?q.htmlEmptyContent:void 0)}else t instanceof Pt&&(t.set("tooltipText",i?void 0:q.htmlEmptyContent),t.set("tooltipHTML",i?q.htmlEmptyContent:void 0))}function V4(s,t){if(s){let e=fe(t?.uid??0,"rtl");s.label.set("direction",e?"rtl":"ltr"),xk(s)}}function N4(s,t){let{chart:e}=t;if(e&&s){let i=fe(e.uid,"config");if(i){let{seriesConfig:r}=Gv(t,i);if(r){let{dataTooltipReverseColor:a}=r;_k(s,a)}}}}function H4(s){let{seriesConfig:t,series:e,tooltip:i,isRotated:r}=s,a=Rt(e.uid,"barAndLineTooltipFormatter");if(a!==void 0){let n=i.dataItem;if(n!==void 0){let o=n.get("valueX"),l=n.get("valueY"),h=n.get("valueXTotalPercent"),c=n.get("valueYTotalPercent"),u=r?o:l,d;r&&typeof h=="number"?d=h:!r&&typeof c=="number"&&(d=c),d&&(d/=100);let A=n.dataContext??{},p=fe(e.chart?.uid??0,"config"),f=fe(e.chart?.uid??0,"rendererFieldNames"),m=Mo({value:A[t.x],dataContext:A,useRendererLabel:JA(p,f),specificField:rp(kt([t]),t)}),g=so(A);g===void 0&&(g=m);let y=A[q.dateBinningRange];if(g!==void 0||u!==void 0||d!==void 0||y!==void 0)return a({seriesName:e.get("name")??t.name,xValue:m,originalXValue:g,dateBinningRange:y,statValue:u,percentValue:d})}}}function uL(s,t){if(s instanceof Gr)s.set("forceHidden",t);else{let e=s.get("tooltip");e&&e.set("forceHidden",t)}}function Fo(s){let{element:t,series:e,isHTML:i}=s,r,{chart:a}=e;if(a!==void 0){let o=fe(a.uid,"config"),{seriesConfig:l}=Gv(e,o),{dataTooltipVisible:h}=o?.series[0]??{};if(h===!1||!l)r="",uL(t,!0);else switch(uL(t,!1),l.type){case V.ScatterSeries:e instanceof qt&&(r=M4({seriesConfig:l,markerSeries:e,tooltip:t}));break;case V.BarSeries:case V.LineSeries:case V.RadarSeries:r=H4({seriesConfig:l,series:e,tooltip:t,isRotated:o?.rotated??!1});break;case V.HistogramSeries:r=D4({seriesConfig:l,series:e,tooltip:t});break;case V.HeatSeries:r=Y4({heatSeries:e,tooltip:t});break;case V.PieSeries:e instanceof Hr&&t instanceof Gr&&(r=$4({pieSeries:e,tooltip:t}));break}}let n=r??"";if(i){let o=Mr(n),l=t instanceof Gr?t:t.get("tooltip");return l&&l.label.setAll({html:o,text:""}),o}return n}function Q4(s){let{series:t,dateRange:e,xAxisValueFormat:i}=s,r,a=fe(t.chart?.uid??Number.NaN,"timeIntervalInfo");if(e!==void 0&&e.length>0){let n={};switch(a?.unit){case tr.Second:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};break;case tr.Minute:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Hour:n={month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"};break;case tr.Day:case tr.Week:case tr.Month:case tr.Year:n={month:"numeric",day:"numeric",year:"numeric"};break}n.timeZone=i.intlOptions.timeZone;let o=new Date(e[0]),l=new Date(e[1]),{root:h}=t;if(!Number.isNaN(o.valueOf())&&t.chart!==void 0){let c=fe(t.chart.uid,"formatLocale"),u=Zn({root:h,type:V.DateAxisFormat,formatLocale:c,intlOptions:n}),d=u.format(o,n);if(r=d,!Number.isNaN(l.valueOf())){let A=u.format(l,n);A!==d&&(r=`${r} - ${A}`)}}}return r?.toString()??""}function j4(s){let{seriesConfig:t,xAxisValueFormat:e,setTimeBinningInfoWhenNotProvided:i,dataTooltipValueFormat:r,dataTooltipDateFormat:a,series:n,xValue:o,dateBinningRange:l,isTimeOnlyField:h,queryObject:c}=s,{root:u}=n,d,A=fe(n.chart?.uid??0,"formatLocale");return qm({seriesConfig:t,xAxisValueFormatType:e?.type,setTimeBinningInfoWhenNotProvided:i,queryObject:c})&&l!==void 0&&e?.type===V.DateAxisFormat?d=Q4({series:n,dateRange:l,xAxisValueFormat:e}):ro(e)?h&&typeof o=="number"?d=new Date(o).toLocaleTimeString(A):(o instanceof Date||typeof o=="number"&&Number.isFinite(o))&&(d=vA({root:u,value:o,valueFormat:a??e,formatLocale:A})):typeof o=="number"&&xa(e)?d=vA({root:u,value:o,valueFormat:r??e,formatLocale:A}):d=o,d?.toString()??""}function W4(s){let{isStacked100:t,series:e,statValue:i,percentValue:r,yAxisValueFormat:a,dataTooltipValueFormat:n,dataTooltipPercentFormat:o}=s,l=e.chart?.uid??0,{root:h}=e,c=n;c===void 0&&(xa(a)&&a?(c=a,t&&(c.intlOptions.style="decimal")):c=Qm());let u=fe(l,"formatLocale"),d=i!==void 0?vA({root:h,value:i,valueFormat:c,formatLocale:u}):"",A="";if(t&&r!==void 0&&h!==void 0){let p=o;p===void 0&&(p=zb(),p.intlOptions.minimumFractionDigits=2,p.intlOptions.maximumFractionDigits=2),A=vA({root:h,value:r,valueFormat:p,formatLocale:u})}return{formattedStatValue:d,formattedPercentValue:A}}function X4(s){let{utilsStrings:t,fieldList:e,queryObject:i,series:r,seriesConfig:a,seriesIndex:n,setTimeBinningInfoWhenNotProvided:o}=s,{chart:l}=r,{dataTooltipDateFormat:h,dataTooltipPercentFormat:c,dataTooltipValueFormat:u}=a,d=()=>"";if(l!==void 0){let A=fe(l.uid,"config");if(A!==void 0){let{dataTooltipVisible:p}=a,f=r instanceof qt?a.markerVisible:void 0;if(p!==!1&&f!==!1){let m=A.axes,g=m[0].valueFormat,y=m[1].valueFormat,_=e?.find(Q=>Q.name===a.x)?.type===GA.TimeOnly,w=kt(A.series),S=Ua(A)===Gi.Stacked100,P=Ys(i),T=_h(P).idField,L=Er(e,a.x),$=mA(L,m[0].title?.content.text),I=yI({config:A,fieldList:e,objectIdField:T,seriesIndex:n,utilsStrings:t,isStacked100:S}),M=fe(l.uid,"rtl"),F=Ra(M??!1);d=Q=>{let{seriesName:Y,statValue:z,percentValue:ee,xValue:ie,dateBinningRange:de}=Q,K=j4({seriesConfig:a,xAxisValueFormat:g,dataTooltipValueFormat:u,dataTooltipDateFormat:h,setTimeBinningInfoWhenNotProvided:o,series:r,xValue:ie,dateBinningRange:de,isTimeOnlyField:_,queryObject:i}),{formattedStatValue:G,formattedPercentValue:xe}=W4({isStacked100:S,yAxisValueFormat:y,dataTooltipValueFormat:u,dataTooltipPercentFormat:c,series:r,statValue:z,percentValue:ee}),ae=[`[bold]${$}${F} [/]${K}`];switch(w){case Ee.BarAndLineFromFields:{ae.pop();let ne=Fw({config:A,fieldName:Er(e,K??""),utilsStrings:t});ae.push(`[bold]${ne}${F} [/]${G}`);break}case Ee.BarAndLineMonoField:case Ee.BarAndLineNoAggregation:case Ee.BarAndLineMultiFields:ae.push(`[bold]${I}${F} [/]${G}`);break;case Ee.BarAndLineSplitByNoAggregation:case Ee.BarAndLineSplitBy:{let ne=Vo(a.query?.where,!1),$e=hx({value:Er(e,ne),escape:!0});ae.push(`[bold]${$e}${F} [/]${Y}
53
53
  [bold]${I}${F} [/]${G}`)}break}return S&&ae.push(`[bold]${t.statistics.percent}${F} [/]${xe}`),ae.join(`
54
54
  `)}}}}return d}function Gw(s){let{series:t,tooltipFormatter:e,seriesConfig:i}=s,r=Rt(t.uid,"hasExternalTooltipFormatter")===!0,a=e!==void 0;if(hs(t.uid,{barAndLineTooltipFormatter:e??X4(s),hasExternalTooltipFormatter:a}),r!==a)switch(i.type){case V.BarSeries:{t instanceof Li&&jw(t,e);break}case V.LineSeries:case V.RadarSeries:{if(t instanceof qt){let n=Rt(t.uid,"bulletTemplate");n&&BA({series:t,element:n,tooltipFormatter:e})}break}}}function z4(s){let{chartType:t,series:e,tooltipFormatter:i}=s;switch(!0){case(t===V.HistogramSeries&&e instanceof Li):{Ww(e,i);break}case(t===V.PieSeries&&e instanceof Hr):{let r=Rt(e.uid,"tooltipCallback");r&&r.dispose();let a=e.events.on(Ai.DataValidated,()=>{zw(e,i)});hs(e.uid,{tooltipCallback:a});break}case(t===V.HeatSeries&&e instanceof Li):{Yw(e,i);break}case((t===V.ComboLineAndBarSeries||t===V.BarSeries)&&e instanceof Li):{jw(e,i);break}case(e instanceof qt&&(t===V.ComboLineAndBarSeries||t===V.LineSeries||t===V.RadarSeries||t===V.ScatterSeries)):{let r=Rt(e.uid,"bulletTemplate");r&&BA({series:e,element:r,tooltipFormatter:i});break}}}function cL(s){let{value:t,formatLocale:e,unit:i,config:r,utilsStrings:a}=s,n={label:"",value:t.toString()};switch(i){case Dn.DayOfWeek:n={label:a.heatChartCalendarDatePartsUnits.dayOfWeek,value:hk({weekdayNumber:t,firstDayOfWeek:"firstDayOfWeek"in r?r.firstDayOfWeek:q.heatChartFirstDayOfWeek,locale:e})};break;case Dn.MonthOfYear:n={label:a.heatChartCalendarDatePartsUnits.monthOfYear,value:uk({monthNumber:t,locale:e})};break;case Dn.HourOfDay:n={label:a.heatChartCalendarDatePartsUnits.hourOfDay,value:lk({hour:t,format:{hour:"numeric",hour12:!1},locale:e})};break;case Dn.DayOfMonth:n={label:a.heatChartCalendarDatePartsUnits.dayOfMonth,value:typeof t=="string"?t:t?.toString()??""};break;case Dn.DayOfYear:n={label:a.heatChartCalendarDatePartsUnits.dayOfYear,value:typeof t=="string"?t:t?.toString()??""};break;case Dn.MinuteOfDay:n={label:a.heatChartCalendarDatePartsUnits.minuteOfDay,value:typeof t=="string"?t:t?.toString()??""};break;case Dn.WeekOfYear:n={label:a.heatChartCalendarDatePartsUnits.weekOfYear,value:typeof t=="string"?t:t?.toString()??""};break;case Dn.QuarterOfYear:n={label:a.heatChartCalendarDatePartsUnits.quarterOfYear,value:typeof t=="string"?t:t?.toString()??""};break}return n}function G4(s){let{columnSeries:t,seriesConfig:e,utilsStrings:i,fieldList:r,queryObject:a}=s;return(n,o,l)=>{let h="",c=n,u=fe(t.chart?.uid??0,"rtl"),d=fe(t.chart?.uid??0,"config");if(kl(d)){c!==null?t.chart&&(c=Zn({root:t.chart.root,type:"number",intlOptions:{}}).format(n)):c=d.series[0].emptyCells?.text??q.heatChart.emptyCells?.text??"";let A=Ra(u??!1),p=e.query?.outStatistics?.[0].onStatisticField,f=Ys(a),m=i.statistics.count;p!==_h(f).idField&&(m=Fw({config:d,fieldName:Er(r,e.query?.outStatistics?.[0].onStatisticField??""),utilsStrings:i}));let g=fe(t.chart?.uid??0,"formatLocale"),y={label:e.x,value:o},_={label:e.y,value:l};if(e.xTemporalBinning!==void 0){let{label:w,value:S}=cL({value:Number(o),config:d,formatLocale:g,unit:e.xTemporalBinning.unit,utilsStrings:i});!Yi(w)&&!Yi(S)&&(y={label:w,value:S})}if(e.yTemporalBinning!==void 0){let{label:w,value:S}=cL({value:Number(l),config:d,formatLocale:g,unit:e.yTemporalBinning.unit,utilsStrings:i});!Yi(w)&&!Yi(S)&&(_={label:w,value:S})}Yi(h)&&(h=`[bold]${y.label}${A} [/]${y.value}
55
55
  [bold]${_.label}${A} [/]${_.value}