@aquera/data-visualizer-sdk 0.0.1

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 (46) hide show
  1. package/ask-aquera/src/ask-aquera-config.d.ts +182 -0
  2. package/chunk-4PS3OAOS.js +1 -0
  3. package/chunk-5CTM6JVQ.js +1 -0
  4. package/chunk-6B33KNVC.js +13 -0
  5. package/chunk-6JUHOJCQ.js +5 -0
  6. package/chunk-6Q3P5YXE.js +2 -0
  7. package/chunk-7ROJSOMZ.js +1 -0
  8. package/chunk-ATIVRRY6.js +2 -0
  9. package/chunk-AYEY6YSX.js +1 -0
  10. package/chunk-BTDKTIE6.js +2 -0
  11. package/chunk-CFURBIBO.js +1 -0
  12. package/chunk-DPG6F2YZ.js +1 -0
  13. package/chunk-ECNT4X4C.js +8 -0
  14. package/chunk-F6ZDDRJ7.js +21 -0
  15. package/chunk-FK6H3RFT.js +1 -0
  16. package/chunk-FZDVALWH.js +1 -0
  17. package/chunk-GE5TYRBE.js +18 -0
  18. package/chunk-GHVB7A27.js +2 -0
  19. package/chunk-H2YEWK77.js +1 -0
  20. package/chunk-HIPUXYQH.js +18 -0
  21. package/chunk-IWMWQ3LG.js +12 -0
  22. package/chunk-JP5QY5S6.js +2 -0
  23. package/chunk-JXQ2DURN.js +40813 -0
  24. package/chunk-LSC4KQ4U.js +1 -0
  25. package/chunk-MMU63XDX.js +1 -0
  26. package/chunk-ORMWZQE4.js +1 -0
  27. package/chunk-P6Z3OD2O.js +26 -0
  28. package/chunk-QAUTHFGS.js +1 -0
  29. package/chunk-QDERNBJG.js +12 -0
  30. package/chunk-RB5CGMJ7.js +1 -0
  31. package/chunk-REQTBAAZ.js +1 -0
  32. package/chunk-RLJG3U7S.js +23 -0
  33. package/chunk-THFIOYOT.js +1 -0
  34. package/chunk-W25JWAKD.js +1 -0
  35. package/chunk-W7JUPIHD.js +1 -0
  36. package/chunk-XEG2ZCTG.js +1 -0
  37. package/chunk-XRJ2TFI3.js +1 -0
  38. package/chunk-Y42W4DYB.js +4 -0
  39. package/chunk-YOMAZ3ZR.js +1 -0
  40. package/chunk-ZAZ2JO4L.js +1 -0
  41. package/chunk-ZW5NV4UO.js +1 -0
  42. package/dashboards/src/dashboards-config.d.ts +138 -0
  43. package/index.d.ts +49 -0
  44. package/main.js +1 -0
  45. package/package.json +27 -0
  46. package/styles.css +1 -0
@@ -0,0 +1,5 @@
1
+ import"./chunk-ZW5NV4UO.js";var Z=(function(){var t={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EndOfExpression:5,"-":6,"+":7,"*":8,"/":9,"^":10,mod:11,and:12,or:13,not:14,if:15,then:16,else:17,in:18,notIn:19,"(":20,")":21,Arguments:22,",":23,Number:24,Symbol:25,String:26,of:27,Relation:28,"%":29,"?":30,":":31,RelationalOperator:32,"==":33,"!=":34,"~=":35,"<":36,"<=":37,">=":38,">":39,$accept:0,$end:1},terminals_:{2:"error",5:"EndOfExpression",6:"-",7:"+",8:"*",9:"/",10:"^",11:"mod",12:"and",13:"or",14:"not",15:"if",16:"then",17:"else",18:"in",19:"notIn",20:"(",21:")",23:",",24:"Number",25:"Symbol",26:"String",27:"of",29:"%",30:"?",31:":",33:"==",34:"!=",35:"~=",36:"<",37:"<=",38:">=",39:">"},productions_:[0,[3,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,6],[4,3],[4,3],[4,3],[4,5],[4,1],[4,1],[4,1],[4,3],[4,3],[4,4],[4,1],[4,3],[4,5],[32,1],[32,1],[32,1],[32,1],[32,1],[32,1],[32,1],[28,3],[28,3],[22,1],[22,3]],performAction:function(i,o,a,f,u,e,x){var n=e.length-1;switch(u){case 1:return e[n-1];case 2:this.$=["(","ops['-'](",e[n],")",")"];break;case 3:this.$=["(","ops['",e[n-1],"'](",e[n-2],", ",e[n],")",")"];break;case 4:this.$=["(","ops['",e[n-1],"'](",e[n-2],", ",e[n],")",")"];break;case 5:this.$=["(","ops['",e[n-1],"'](",e[n-2],", ",e[n],")",")"];break;case 6:this.$=["(","ops['",e[n-1],"'](",e[n-2],", ",e[n],")",")"];break;case 7:this.$=["(","ops['",e[n-1],"'](",e[n-2],", ",e[n],")",")"];break;case 8:this.$=["(","ops.mod(",e[n-2],", ",e[n],")",")"];break;case 9:this.$=["(","","std.coerceBoolean","(",e[n-2],") && ","std.coerceBoolean","(",e[n],")",")"];break;case 10:this.$=["(","","std.coerceBoolean","(",e[n-2],") || ","std.coerceBoolean","(",e[n],")",")"];break;case 11:this.$=["(","! ","std.coerceBoolean","(",e[n],")",")"];break;case 12:this.$=["(","","std.coerceBoolean","(",e[n-4],") ? ",e[n-2]," : ",e[n],"",")"];break;case 13:this.$=["(","std.isSubset(",e[n-2],", ",e[n],")",")"];break;case 14:this.$=["(","!std.isSubset(",e[n-2],", ",e[n],")",")"];break;case 15:this.$=["(","",e[n-1],"",")"];break;case 16:this.$=["(","[ ",e[n-3],", ",e[n-1]," ]",")"];break;case 17:this.$=["",e[n],""];break;case 18:this.$=["prop(",e[n],", data)"];break;case 19:this.$=["",e[n],""];break;case 20:this.$=["prop(",e[n-2],", ",e[n],")"];break;case 21:this.$=["call(",e[n-2],")"];break;case 22:this.$=["call(",e[n-3],", ",e[n-1],")"];break;case 23:this.$=f.reduceRelation(e[n]);break;case 24:this.$=["std.warnDeprecated('modulo', ops['mod'](",e[n-2],", ",e[n],"))"];break;case 25:this.$=["std.warnDeprecated('ternary', ","std.coerceBoolean","(",e[n-4],") ? ",e[n-2]," : ",e[n],")"];break;case 26:this.$=["=="];break;case 27:this.$=["!="];break;case 28:this.$=["~="];break;case 29:this.$=["<"];break;case 30:this.$=["<="];break;case 31:this.$=[">="];break;case 32:this.$=[">"];break;case 33:this.$=[e[n-2],e[n-1],...e[n]];break;case 34:this.$=[e[n-2],e[n-1],e[n]];break;case 35:this.$=["",e[n],""];break;case 36:this.$=["",e[n-2],", ",e[n],""];break}},table:[{3:1,4:2,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{1:[3]},{5:[1,11],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{4:32,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:33,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:34,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:35,6:[1,3],14:[1,4],15:[1,5],20:[1,6],22:36,24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,17],6:[2,17],7:[2,17],8:[2,17],9:[2,17],10:[2,17],11:[2,17],12:[2,17],13:[2,17],16:[2,17],17:[2,17],18:[2,17],19:[2,17],21:[2,17],23:[2,17],29:[2,17],30:[2,17],31:[2,17],33:[2,17],34:[2,17],35:[2,17],36:[2,17],37:[2,17],38:[2,17],39:[2,17]},{5:[2,18],6:[2,18],7:[2,18],8:[2,18],9:[2,18],10:[2,18],11:[2,18],12:[2,18],13:[2,18],16:[2,18],17:[2,18],18:[2,18],19:[2,18],20:[1,38],21:[2,18],23:[2,18],27:[1,37],29:[2,18],30:[2,18],31:[2,18],33:[2,18],34:[2,18],35:[2,18],36:[2,18],37:[2,18],38:[2,18],39:[2,18]},{5:[2,19],6:[2,19],7:[2,19],8:[2,19],9:[2,19],10:[2,19],11:[2,19],12:[2,19],13:[2,19],16:[2,19],17:[2,19],18:[2,19],19:[2,19],21:[2,19],23:[2,19],29:[2,19],30:[2,19],31:[2,19],33:[2,19],34:[2,19],35:[2,19],36:[2,19],37:[2,19],38:[2,19],39:[2,19]},{5:[2,23],6:[2,23],7:[2,23],8:[2,23],9:[2,23],10:[2,23],11:[2,23],12:[2,23],13:[2,23],16:[2,23],17:[2,23],18:[2,23],19:[2,23],21:[2,23],23:[2,23],29:[2,23],30:[2,23],31:[2,23],33:[2,23],34:[2,23],35:[2,23],36:[2,23],37:[2,23],38:[2,23],39:[2,23]},{1:[2,1]},{4:39,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:40,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:41,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:42,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:43,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:44,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:45,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:46,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:47,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:48,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:49,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:50,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:52,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:51},{6:[2,26],14:[2,26],15:[2,26],20:[2,26],24:[2,26],25:[2,26],26:[2,26]},{6:[2,27],14:[2,27],15:[2,27],20:[2,27],24:[2,27],25:[2,27],26:[2,27]},{6:[2,28],14:[2,28],15:[2,28],20:[2,28],24:[2,28],25:[2,28],26:[2,28]},{6:[2,29],14:[2,29],15:[2,29],20:[2,29],24:[2,29],25:[2,29],26:[2,29]},{6:[2,30],14:[2,30],15:[2,30],20:[2,30],24:[2,30],25:[2,30],26:[2,30]},{6:[2,31],14:[2,31],15:[2,31],20:[2,31],24:[2,31],25:[2,31],26:[2,31]},{6:[2,32],14:[2,32],15:[2,32],20:[2,32],24:[2,32],25:[2,32],26:[2,32]},{5:[2,2],6:[2,2],7:[2,2],8:[2,2],9:[2,2],10:[1,16],11:[2,2],12:[2,2],13:[2,2],16:[2,2],17:[2,2],18:[2,2],19:[2,2],21:[2,2],23:[2,2],29:[2,2],30:[2,2],31:[2,2],32:24,33:[2,2],34:[2,2],35:[2,2],36:[2,2],37:[2,2],38:[2,2],39:[2,2]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[1,16],11:[2,11],12:[2,11],13:[2,11],16:[2,11],17:[2,11],18:[2,11],19:[2,11],21:[2,11],23:[2,11],29:[2,11],30:[2,11],31:[2,11],32:24,33:[2,11],34:[2,11],35:[2,11],36:[2,11],37:[2,11],38:[2,11],39:[2,11]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],16:[1,53],18:[1,20],19:[1,21],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],21:[1,54],23:[2,35],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{23:[1,55]},{4:56,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{4:59,6:[1,3],14:[1,4],15:[1,5],20:[1,6],21:[1,57],22:58,24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,3],6:[2,3],7:[2,3],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,3],13:[2,3],16:[2,3],17:[2,3],18:[2,3],19:[2,3],21:[2,3],23:[2,3],29:[1,22],30:[2,3],31:[2,3],32:24,33:[2,3],34:[2,3],35:[2,3],36:[2,3],37:[2,3],38:[2,3],39:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,4],13:[2,4],16:[2,4],17:[2,4],18:[2,4],19:[2,4],21:[2,4],23:[2,4],29:[1,22],30:[2,4],31:[2,4],32:24,33:[2,4],34:[2,4],35:[2,4],36:[2,4],37:[2,4],38:[2,4],39:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[1,16],11:[2,5],12:[2,5],13:[2,5],16:[2,5],17:[2,5],18:[2,5],19:[2,5],21:[2,5],23:[2,5],29:[2,5],30:[2,5],31:[2,5],32:24,33:[2,5],34:[2,5],35:[2,5],36:[2,5],37:[2,5],38:[2,5],39:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[1,16],11:[2,6],12:[2,6],13:[2,6],16:[2,6],17:[2,6],18:[2,6],19:[2,6],21:[2,6],23:[2,6],29:[2,6],30:[2,6],31:[2,6],32:24,33:[2,6],34:[2,6],35:[2,6],36:[2,6],37:[2,6],38:[2,6],39:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[1,16],11:[2,7],12:[2,7],13:[2,7],16:[2,7],17:[2,7],18:[2,7],19:[2,7],21:[2,7],23:[2,7],29:[2,7],30:[2,7],31:[2,7],32:24,33:[2,7],34:[2,7],35:[2,7],36:[2,7],37:[2,7],38:[2,7],39:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[1,16],11:[2,8],12:[2,8],13:[2,8],16:[2,8],17:[2,8],18:[2,8],19:[2,8],21:[2,8],23:[2,8],29:[2,8],30:[2,8],31:[2,8],32:24,33:[2,8],34:[2,8],35:[2,8],36:[2,8],37:[2,8],38:[2,8],39:[2,8]},{5:[2,9],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,9],13:[2,9],16:[2,9],17:[2,9],18:[1,20],19:[1,21],21:[2,9],23:[2,9],29:[1,22],30:[2,9],31:[2,9],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,10],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[2,10],16:[2,10],17:[2,10],18:[1,20],19:[1,21],21:[2,10],23:[2,10],29:[1,22],30:[2,10],31:[2,10],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,13],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,13],13:[2,13],16:[2,13],17:[2,13],18:[2,13],19:[2,13],21:[2,13],23:[2,13],29:[1,22],30:[2,13],31:[2,13],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,14],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,14],13:[2,14],16:[2,14],17:[2,14],18:[2,14],19:[2,14],21:[2,14],23:[2,14],29:[1,22],30:[2,14],31:[2,14],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,24],6:[2,24],7:[2,24],8:[2,24],9:[2,24],10:[1,16],11:[2,24],12:[2,24],13:[2,24],16:[2,24],17:[2,24],18:[2,24],19:[2,24],21:[2,24],23:[2,24],29:[2,24],30:[2,24],31:[2,24],32:24,33:[2,24],34:[2,24],35:[2,24],36:[2,24],37:[2,24],38:[2,24],39:[2,24]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],29:[1,22],30:[1,23],31:[1,60],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,33],6:[2,33],7:[2,33],8:[2,33],9:[2,33],10:[2,33],11:[2,33],12:[2,33],13:[2,33],16:[2,33],17:[2,33],18:[2,33],19:[2,33],21:[2,33],23:[2,33],29:[2,33],30:[2,33],31:[2,33],33:[2,33],34:[2,33],35:[2,33],36:[2,33],37:[2,33],38:[2,33],39:[2,33]},{5:[2,34],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[2,34],13:[2,34],16:[2,34],17:[2,34],18:[2,34],19:[2,34],21:[2,34],23:[2,34],29:[1,22],30:[2,34],31:[2,34],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{4:61,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,15],6:[2,15],7:[2,15],8:[2,15],9:[2,15],10:[2,15],11:[2,15],12:[2,15],13:[2,15],16:[2,15],17:[2,15],18:[2,15],19:[2,15],21:[2,15],23:[2,15],29:[2,15],30:[2,15],31:[2,15],33:[2,15],34:[2,15],35:[2,15],36:[2,15],37:[2,15],38:[2,15],39:[2,15]},{4:62,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,20],6:[2,20],7:[2,20],8:[2,20],9:[2,20],10:[2,20],11:[2,20],12:[2,20],13:[2,20],16:[2,20],17:[2,20],18:[2,20],19:[2,20],21:[2,20],23:[2,20],29:[2,20],30:[2,20],31:[2,20],32:24,33:[2,20],34:[2,20],35:[2,20],36:[2,20],37:[2,20],38:[2,20],39:[2,20]},{5:[2,21],6:[2,21],7:[2,21],8:[2,21],9:[2,21],10:[2,21],11:[2,21],12:[2,21],13:[2,21],16:[2,21],17:[2,21],18:[2,21],19:[2,21],21:[2,21],23:[2,21],29:[2,21],30:[2,21],31:[2,21],33:[2,21],34:[2,21],35:[2,21],36:[2,21],37:[2,21],38:[2,21],39:[2,21]},{21:[1,63],23:[1,64]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],21:[2,35],23:[2,35],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{4:65,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],17:[1,66],18:[1,20],19:[1,21],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],21:[1,67],23:[2,36],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,22],6:[2,22],7:[2,22],8:[2,22],9:[2,22],10:[2,22],11:[2,22],12:[2,22],13:[2,22],16:[2,22],17:[2,22],18:[2,22],19:[2,22],21:[2,22],23:[2,22],29:[2,22],30:[2,22],31:[2,22],33:[2,22],34:[2,22],35:[2,22],36:[2,22],37:[2,22],38:[2,22],39:[2,22]},{4:68,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,25],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],16:[2,25],17:[2,25],18:[1,20],19:[1,21],21:[2,25],23:[2,25],29:[1,22],30:[1,23],31:[2,25],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{4:69,6:[1,3],14:[1,4],15:[1,5],20:[1,6],24:[1,7],25:[1,8],26:[1,9],28:10},{5:[2,16],6:[2,16],7:[2,16],8:[2,16],9:[2,16],10:[2,16],11:[2,16],12:[2,16],13:[2,16],16:[2,16],17:[2,16],18:[2,16],19:[2,16],21:[2,16],23:[2,16],29:[2,16],30:[2,16],31:[2,16],33:[2,16],34:[2,16],35:[2,16],36:[2,16],37:[2,16],38:[2,16],39:[2,16]},{6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],18:[1,20],19:[1,21],21:[2,36],23:[2,36],29:[1,22],30:[1,23],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]},{5:[2,12],6:[1,13],7:[1,12],8:[1,14],9:[1,15],10:[1,16],11:[1,17],12:[1,18],13:[1,19],16:[2,12],17:[2,12],18:[1,20],19:[1,21],21:[2,12],23:[2,12],29:[1,22],30:[1,23],31:[2,12],32:24,33:[1,25],34:[1,26],35:[1,27],36:[1,28],37:[1,29],38:[1,30],39:[1,31]}],defaultActions:{11:[2,1]},parseError:function(i,o){throw new Error(i)},parse:function(i){var o=this,a=[0],f=[null],u=[],e=this.table,x="",n=0,T=0,S=0,P=2,r=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var c=this.lexer.yylloc;u.push(c);var d=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function w(b){a.length=a.length-2*b,f.length=f.length-b,u.length=u.length-b}function N(){var b;return b=o.lexer.lex()||1,typeof b!="number"&&(b=o.symbols_[b]||b),b}for(var y,k,g,m,C,O={},F,_,K,D;;){if(g=a[a.length-1],this.defaultActions[g]?m=this.defaultActions[g]:((y===null||typeof y>"u")&&(y=N()),m=e[g]&&e[g][y]),typeof m>"u"||!m.length||!m[0]){var R="";if(!S){D=[];for(F in e[g])this.terminals_[F]&&F>2&&D.push("'"+this.terminals_[F]+"'");this.lexer.showPosition?R="Parse error on line "+(n+1)+`:
2
+ `+this.lexer.showPosition()+`
3
+ Expecting `+D.join(", ")+", got '"+(this.terminals_[y]||y)+"'":R="Parse error on line "+(n+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(R,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:c,expected:D})}if(S==3){if(y==r)throw new Error(R||"Parsing halted.");T=this.lexer.yyleng,x=this.lexer.yytext,n=this.lexer.yylineno,c=this.lexer.yylloc,y=N()}for(;!(P.toString()in e[g]);){if(g===0)throw new Error(R||"Parsing halted.");w(1),g=a[a.length-1]}k=y==2?null:y,y=P,g=a[a.length-1],m=e[g]&&e[g][P],S=3}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+y);switch(m[0]){case 1:a.push(y),f.push(this.lexer.yytext),u.push(this.lexer.yylloc),a.push(m[1]),y=null,k?(y=k,k=null):(T=this.lexer.yyleng,x=this.lexer.yytext,n=this.lexer.yylineno,c=this.lexer.yylloc,S>0&&S--);break;case 2:if(_=this.productions_[m[1]][1],O.$=f[f.length-_],O._$={first_line:u[u.length-(_||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(_||1)].first_column,last_column:u[u.length-1].last_column},d&&(O._$.range=[u[u.length-(_||1)].range[0],u[u.length-1].range[1]]),C=this.performAction.call(O,x,T,n,this.yy,m[1],f,u),typeof C<"u")return C;_&&(a=a.slice(0,-1*_*2),f=f.slice(0,-1*_),u=u.slice(0,-1*_)),a.push(this.productions_[m[1]][0]),f.push(O.$),u.push(O._$),K=e[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},s=(function(){var l={EOF:1,parseError:function(o,a){if(this.yy.parser)this.yy.parser.parseError(o,a);else throw new Error(o)},setInput:function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===f.length?this.yylloc.first_column:0)+f[f.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
4
+ `+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,o,a,f,u;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),x=0;x<e.length&&(a=this._input.match(this.rules[e[x]]),!(a&&(!o||a[0].length>o[0].length)&&(o=a,f=x,!this.options.flex)));x++);return o?(u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],i=this.performAction.call(this,this.yy,this,e[f],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
5
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(o){this.begin(o)}};return l.options={},l.performAction=function(o,a,f,u){switch(f){case 0:return"*";case 1:return"/";case 2:return"-";case 3:return"+";case 4:return"^";case 5:return"(";case 6:return")";case 7:return",";case 8:return"==";case 9:return"!=";case 10:return"~=";case 11:return">=";case 12:return"<=";case 13:return"<";case 14:return">";case 15:return"notIn";case 16:return"and";case 17:return"or";case 18:return"not";case 19:return"in";case 20:return"of";case 21:return"if";case 22:return"then";case 23:return"else";case 24:return"mod";case 25:break;case 26:return"Number";case 27:return a.yytext=JSON.stringify({name:a.yytext,type:"unescaped"}),"Symbol";case 28:return a.yytext=JSON.stringify({name:o.buildString("'",a.yytext),type:"single-quoted"}),"Symbol";case 29:return a.yytext=JSON.stringify(o.buildString('"',a.yytext)),"String";case 30:return"%";case 31:return"?";case 32:return":";case 33:return"EndOfExpression"}},l.rules=[/^(?:\*)/,/^(?:\/)/,/^(?:-)/,/^(?:\+)/,/^(?:\^)/,/^(?:\()/,/^(?:\))/,/^(?:\,)/,/^(?:==)/,/^(?:\!=)/,/^(?:\~=)/,/^(?:>=)/,/^(?:<=)/,/^(?:<)/,/^(?:>)/,/^(?:not\s+in[^\w])/,/^(?:and[^\w])/,/^(?:or[^\w])/,/^(?:not[^\w])/,/^(?:in[^\w])/,/^(?:of[^\w])/,/^(?:if[^\w])/,/^(?:then[^\w])/,/^(?:else[^\w])/,/^(?:mod[^\w])/,/^(?:\s+)/,/^(?:[0-9]+(?:\.[0-9]+)?(?![0-9\.]))/,/^(?:[a-zA-Z$_][\.a-zA-Z0-9$_]*)/,/^(?:'(?:\\'|\\\\|[^'\\])*')/,/^(?:"(?:\\"|\\\\|[^"\\])*")/,/^(?:\%)/,/^(?:\?)/,/^(?::)/,/^(?:$)/],l.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],inclusive:!0}},l})();t.lexer=s;function h(){this.yy={}}return h.prototype=t,t.Parser=h,new h})(),j=Z;Z.Parser;var G=class extends ReferenceError{I18N_STRING="UNKNOWN_FUNCTION";constructor(s){super(`Unknown function: ${s}()`),this.functionName=s}},M=class extends ReferenceError{I18N_STRING="UNKNOWN_PROPERTY";constructor(s){super(`Property \u201C${s}\u201D does not exist.`),this.propertyName=s}},Y=class extends TypeError{I18N_STRING="UNKNOWN_OPTION";constructor(s){super(`Unknown option: ${s}`),this.keyName=s}},E=class extends TypeError{I18N_STRING="UNEXPECTED_TYPE";constructor(s,h){super(`Expected a ${s}, but got a ${h} instead.`),this.expectedType=s,this.recievedType=h}},A=class extends Error{I18N_STRING="INTERNAL";constructor(s){super(s)}};function I(t,s){return typeof t=="object"||typeof t=="function"?Object.prototype.hasOwnProperty.call(t,s):!1}function V(t,s){return(t%s+s)%s}function X(t){if(typeof t!="object")return t;if(t instanceof Number||t instanceof String||t instanceof Boolean)return t.valueOf()}function B(t){return Array.isArray(t)&&t.length===1&&(t=t[0]),X(t)}function U(t){return t=B(t),t===void 0?"undefined":t===null?"null":t===!0?"true":t===!1?"false":typeof t=="number"?"number":typeof t=="string"?"text":typeof t!="object"&&typeof t!="function"?"unknown type":Array.isArray(t)?"list":"object"}function p(t){if(t=B(t),typeof t=="number")return t;throw new E("number",U(t))}function W(t){if(t=B(t),typeof t=="string")return t;throw new E("text",U(t))}function z(t){if(t=B(t),typeof t=="string"||typeof t=="number")return t;throw new E("text or number",U(t))}function H(t){if(t=B(t),typeof t=="boolean")return t;throw new E("logical value (\u201Ctrue\u201D or \u201Cfalse\u201D)",U(t))}function L(t){if(t==null)throw new E("list",U(t));return Array.isArray(t)?t:[t]}function J(t){let s=[...t],h=[];for(;s.length;){let l=s.pop();Array.isArray(l)?s.push(...l):h.push(l)}return h.reverse()}var q={isfn(t,s){return I(t,s)&&typeof t[s]=="function"},unknown(t){throw new G(t)},coerceArray:L,coerceNumber:p,coerceNumberOrString:z,coerceBoolean:H,isSubset(t,s){let h=L(t),l=L(s);return h.every(i=>l.includes(i))},warnDeprecated:(function(){let s={ternary:0,modulo:0};return(h,l)=>{switch(h){case"ternary":if(s.ternary++>=3)break;console.warn("The use of ? and : as conditional operators has been deprecated in Filtrex v3 in favor of the if..then..else ternary operator. See issue #34 for more information.");break;case"modulo":if(s.modulo++>=3)break;console.warn("The use of '%' as a modulo operator has been deprecated in Filtrex v3 in favor of the 'mod' operator. You can use it like this: '3 mod 2 == 1'. See issue #48 for more information.");break}return l}})(),buildString(t,s){t=String(t)[0],s=String(s);let h="";if(s[0]!==t||s[s.length-1]!==t)throw new A("Unexpected internal error: String literal doesn't begin/end with the right quotation mark.");for(let l=1;l<s.length-1;l++)if(s[l]==="\\"){if(l++,l>=s.length-1)throw new A("Unexpected internal error: Unescaped backslash at the end of string literal.");if(s[l]==="\\")h+="\\";else if(s[l]===t)h+=t;else throw new A(`Unexpected internal error: Invalid escaped character in string literal: ${s[l]}`)}else{if(s[l]===t)throw new A("Unexpected internal error: String literal contains unescaped quotation mark.");h+=s[l]}return h},reduceRelation(t){let s=[],h=[],l=J([t[0]]).join(""),i=0;for(let o=1;o<t.length-1;o+=2){let a=J([t[o+1]]).join(""),f=`tmp${i++}`;h.push(`ops["${t[o]}"](${l}, ${f} = ${a})`),l=f,s.push(f)}return`(function(){ var ${s.join(", ")}; return ${h.join(" && ")};})()`}};j.yy=Object.create(q);function Q(t,s,h,l){return h==null?h:s(t)}function v(t,s,h,l){if(l==="single-quoted")return s(t);let i=t.split(".");for(let o of i)if(I(h??{},o))h=h[o];else throw new M(o);return h}function $(t,s,h,l){if(h==null)return h;if(l==="single-quoted")return s(t);let i=t.split(".");for(let o of i){if(h==null)return h;h=h[o]}return h}function t1(t,s){if(arguments.length>2)throw new TypeError("Too many arguments.");s=typeof s=="object"?s:{};let h=["extraFunctions","constants","customProp","operators"],{extraFunctions:l,constants:i,customProp:o,operators:a}=s;for(let r of Object.keys(s))if(!h.includes(r))throw new Y(r);let f={abs:Math.abs,ceil:Math.ceil,floor:Math.floor,log:Math.log,log2:Math.log2,log10:Math.log10,max:Math.max,min:Math.min,round:Math.round,sqrt:Math.sqrt,exists:r=>r!=null,empty:r=>r==null||r===""||Array.isArray(r)&&r.length===0};if(l)for(let r of Object.keys(l))f[r]=l[r];let u={"+":(r,c)=>z(r)+z(c),"-":(r,c)=>c===void 0?-p(r):p(r)-p(c),"*":(r,c)=>p(r)*p(c),"/":(r,c)=>p(r)/p(c),"^":(r,c)=>Math.pow(p(r),p(c)),mod:(r,c)=>V(p(r),p(c)),"==":(r,c)=>r===c,"!=":(r,c)=>r!==c,"<":(r,c)=>p(r)<p(c),"<=":(r,c)=>p(r)<=p(c),">=":(r,c)=>p(r)>=p(c),">":(r,c)=>p(r)>p(c),"~=":(r,c)=>RegExp(W(c)).test(W(r))};if(a)for(let r of Object.keys(a))u[r]=a[r];a=u,i=i??{};let e=J(j.parse(t));e.unshift("return "),e.push(";");function x(r,c,d){if(I(c??{},r))return c[r];throw new M(r)}function n(r){return function(d){if(I(r??{},d))return r[d];throw new M(d)}}typeof o=="function"&&(x=(r,c,d)=>o(r,n(c),c,d));function T(r){return function(d){let{name:w}=d;for(var N=arguments.length,y=new Array(N>1?N-1:0),k=1;k<N;k++)y[k-1]=arguments[k];if(I(r,w)&&typeof r[w]=="function")return r[w](...y);throw new G(w)}}function S(r,c){let{name:d,type:w}=r;return w==="unescaped"&&I(i,d)?i[d]:x(d,c,w)}let P=new Function("call","ops","std","prop","data",e.join(""));return function(r){try{return P(T(f),a,q,S,r)}catch(c){return c}}}export{t1 as compileExpression,v as useDotAccessOperator,$ as useDotAccessOperatorAndOptionalChaining,Q as useOptionalChaining};
@@ -0,0 +1,2 @@
1
+ import{a as X,e as jt}from"./chunk-ZW5NV4UO.js";var Bt=jt((B,Y)=>{(function(E,L){typeof B=="object"&&typeof Y=="object"?Y.exports=L(E._Highcharts,E._Highcharts.AST,E._Highcharts.Chart):typeof define=="function"&&define.amd?define("highcharts/modules/exporting",["highcharts/highcharts"],function(D){return L(D,D.AST,D.Chart)}):typeof B=="object"?B["highcharts/modules/exporting"]=L(E._Highcharts,E._Highcharts.AST,E._Highcharts.Chart):E.Highcharts=L(E.Highcharts,E.Highcharts.AST,E.Highcharts.Chart)})("u"<typeof window?B:window,(E,L,D)=>(()=>{"use strict";var q,W,pt={660:s=>{s.exports=L},944:s=>{s.exports=E},960:s=>{s.exports=D}},Z={};function v(s){var t=Z[s];if(t!==void 0)return t.exports;var e=Z[s]={exports:{}};return pt[s](e,e.exports,v),e.exports}v.n=s=>{var t=s&&s.__esModule?()=>s.default:()=>s;return v.d(t,{a:t}),t},v.d=(s,t)=>{for(var e in t)v.o(t,e)&&!v.o(s,e)&&Object.defineProperty(s,e,{enumerable:!0,get:t[e]})},v.o=(s,t)=>Object.prototype.hasOwnProperty.call(s,t);var Q={};v.d(Q,{default:()=>It});var ht=v(944),C=v.n(ht),dt=v(660),G=v.n(dt),ut=v(960),gt=v.n(ut),_=q||(q={});_.compose=function(s){return s.navigation||(s.navigation=new tt(s)),s};class tt{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,e){this.updates.forEach(o=>{o.call(this.chart,t,e)})}}_.Additions=tt;let ft=q,{isSafari:mt,win:S,win:{document:U}}=C(),{error:yt}=C(),et=S.URL||S.webkitURL||S;function z(s,t){let e=S.navigator,o=U.createElement("a");if(typeof s!="string"&&!(s instanceof String)&&e.msSaveOrOpenBlob)return void e.msSaveOrOpenBlob(s,t);if(s=""+s,e.userAgent.length>1e3)throw Error("Input too long");let n=/Edge\/\d+/.test(e.userAgent);if((mt&&typeof s=="string"&&s.indexOf("data:application/pdf")===0||n||s.length>2e6)&&!(s=(function(i){let r=i.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(r&&r.length>3&&S.atob&&S.ArrayBuffer&&S.Uint8Array&&S.Blob&&et.createObjectURL){let c=S.atob(r[3]),a=new S.ArrayBuffer(c.length),l=new S.Uint8Array(a);for(let d=0;d<l.length;++d)l[d]=c.charCodeAt(d);return et.createObjectURL(new S.Blob([l],{type:r[1]}))}})(s)||""))throw Error("Failed to convert to blob");if(o.download!==void 0)o.href=s,o.download=t,U.body.appendChild(o),o.click(),U.body.removeChild(o);else try{if(!S.open(s,"chart"))throw Error("Failed to open window")}catch{S.location.href=s}}let{isTouchDevice:xt}=C(),wt={exporting:{allowTableSorting:!0,libURL:"https://code.highcharts.com/12.5.0/lib/",local:!0,type:"image/png",url:`https://export-svg.highcharts.com?v=${C().version}`,pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen?.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.exporting?.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:async function(){await this.exporting?.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:async function(){await this.exporting?.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:async function(){await this.exporting?.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:async function(){await this.exporting?.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:5,height:28,y:-5,verticalAlign:"top",width:28,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"#ffffff",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"#333333",padding:"0.5em",fontSize:xt?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#f2f2f2"}}};(function(s){let t=[];function e(n,i,r,c){return[["M",n,i+2.5],["L",n+r,i+2.5],["M",n,i+c/2+.5],["L",n+r,i+c/2+.5],["M",n,i+c-1.5],["L",n+r,i+c-1.5]]}function o(n,i,r,c){let a=c/3-2;return[].concat(this.circle(r-a,i,a,a),this.circle(r-a,i+a+4,a,a),this.circle(r-a,i+2*(a+4),a,a))}s.compose=function(n){if(t.indexOf(n)===-1){t.push(n);let i=n.prototype.symbols;i.menu=e,i.menuball=o.bind(i)}}})(W||(W={}));let bt=W,{composed:vt}=C(),{addEvent:K,fireEvent:nt,pushUnique:St}=C();function Ct(){this.fullscreen=new it(this)}class it{static compose(t){St(vt,"Fullscreen")&&K(t,"beforeRender",Ct)}constructor(t){this.chart=t,this.isOpen=!1;let e=t.renderTo;!this.browserProps&&(typeof e.requestFullscreen=="function"?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:e.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:e.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:e.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let t=this,e=t.chart,o=e.options.chart;nt(e,"fullscreenClose",void 0,function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,o.width=t.origWidthOption,o.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()})}open(){let t=this,e=t.chart,o=e.options.chart;nt(e,"fullscreenOpen",void 0,function(){if(o&&(t.origWidthOption=o.width,t.origHeightOption=o.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){let n=K(e.container.ownerDocument,t.browserProps.fullscreenChange,function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())}),i=K(e,"destroy",n);t.unbindFullscreenEvent=()=>{n(),i()};let r=e.renderTo[t.browserProps.requestFullscreen]();r&&r.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let t=this.chart,e=t.exporting?.divElements,o=t.options.exporting,n=o&&o.buttons&&o.buttons.contextButton.menuItems,i=t.options.lang;if(o?.menuItemDefinitions&&i?.exitFullscreen&&i.viewFullscreen&&n&&e){let r=e[n.indexOf("viewFullscreen")];r&&G().setElementHTML(r,this.isOpen?i.exitFullscreen:o.menuItemDefinitions.viewFullscreen?.textKey||i.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}let{win:ot}=C(),{discardElement:Et,objectEach:rt}=C(),$={ajax:function(s){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},e=new XMLHttpRequest;function o(n,i){s.error&&s.error(n,i)}if(!s.url)return!1;e.open((s.type||"get").toUpperCase(),s.url,!0),s.headers?.["Content-Type"]||e.setRequestHeader("Content-Type",t[s.dataType||"json"]||t.text),rt(s.headers,function(n,i){e.setRequestHeader(i,n)}),s.responseType&&(e.responseType=s.responseType),e.onreadystatechange=function(){let n;if(e.readyState===4){if(e.status===200){if(s.responseType!=="blob"&&(n=e.responseText,s.dataType==="json"))try{n=JSON.parse(n)}catch(i){if(i instanceof Error)return o(e,i)}return s.success?.(n,e)}o(e,e.responseText)}},s.data&&typeof s.data!="string"&&(s.data=JSON.stringify(s.data)),e.send(s.data)},getJSON:function(s,t){$.ajax({url:s,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};$.post=async function(s,t,e){let o=new ot.FormData;rt(t,function(i,r){o.append(r,i)}),o.append("b64","true");let n=await ot.fetch(s,X({method:"POST",body:o},e));if(n.ok){let i=await n.text(),r=document.createElement("a");r.href=`data:${t.type};base64,${i}`,r.download=t.filename,r.click(),Et(r)}};let{defaultOptions:Ot,setOptions:Tt}=C(),{composed:kt,doc:P,isFirefox:Ft,isMS:I,isSafari:V,SVG_NS:Rt,win:w}=C(),{addEvent:F,clearTimeout:J,createElement:A,css:O,discardElement:st,error:Nt,extend:H,find:Pt,fireEvent:M,isObject:Ht,merge:T,objectEach:Lt,pick:j,pushUnique:At,removeEvent:Mt,splat:Dt,uniqueKey:Ut}=C();G().allowedAttributes.push("data-z-index","fill-opacity","filter","preserveAspectRatio","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","transform-origin","version","viewBox","visibility","xmlns","xmlns:xlink"),G().allowedTags.push("desc","clippath","fedropshadow","femorphology","g","image");let at=w.URL||w.webkitURL||w;class u{constructor(t,e){this.options={},this.chart=t,this.options=e,this.btnCount=0,this.buttonOffset=0,this.divElements=[],this.svgElements=[]}static hyphenate(t){return t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}static async imageToDataURL(t,e,o){let n=await u.loadImage(t),i=P.createElement("canvas"),r=i?.getContext("2d");if(r)return i.height=n.height*e,i.width=n.width*e,r.drawImage(n,0,0,i.width,i.height),i.toDataURL(o);throw Error("No canvas found!")}static async fetchCSS(t){let e=await fetch(t).then(n=>n.text()),o=new CSSStyleSheet;return o.replaceSync(e),o}static async handleStyleSheet(t,e){try{for(let o of Array.from(t.cssRules)){if(o instanceof CSSImportRule){let n=await u.fetchCSS(o.href);await u.handleStyleSheet(n,e)}if(o instanceof CSSFontFaceRule){let n=o.cssText;if(t.href){let i=t.href,r=/url\(\s*(['"]?)(?![a-z]+:|\/\/)([^'")]+?)\1\s*\)/gi;n=n.replace(r,(c,a,l)=>{let d=new URL(l,i).href;return`url(${a}${d}${a})`})}e.push(n)}}}catch{if(t.href){let o=await u.fetchCSS(t.href);await u.handleStyleSheet(o,e)}}}static async fetchStyleSheets(){let t=[];for(let e of Array.from(P.styleSheets))await u.handleStyleSheet(e,t);return t}static async inlineFonts(t){let e=await u.fetchStyleSheets(),o=/url\(([^)]+)\)/g,n=[],i=e.join(`
2
+ `),r;for(;r=o.exec(i);){let d=r[1].replace(/['"]/g,"");n.includes(d)||n.push(d)}let c=d=>{let f="",h=new Uint8Array(d);for(let p=0;p<h.byteLength;p++)f+=String.fromCharCode(h[p]);return btoa(f)},a={};for(let d of n)try{let f=await fetch(d),h=f.headers.get("Content-Type")||"",p=c(await f.arrayBuffer());a[d]=`data:${h};base64,${p}`}catch{}i=i.replace(o,(d,f)=>{let h=f.replace(/['"]/g,"");return`url(${a[h]||h})`});let l=document.createElementNS("http://www.w3.org/2000/svg","style");return l.textContent=i,t.append(l),t}static loadImage(t){return new Promise((e,o)=>{let n=new w.Image;n.crossOrigin="Anonymous",n.onload=()=>{setTimeout(()=>{e(n)},u.loadEventDeferDelay)},n.onerror=i=>{o(i)},n.src=t})}static prepareImageOptions(t){let e=t?.type||"image/png",o=t?.libURL||Ot.exporting?.libURL;return{type:e,filename:(t?.filename||"chart")+"."+(e==="image/svg+xml"?"svg":e.split("/")[1]),scale:t?.scale||1,libURL:o?.slice(-1)!=="/"?o+"/":o}}static sanitizeSVG(t,e){let o=t.indexOf("</svg>")+6,n=t.indexOf("<foreignObject")>-1,i=t.substr(o);return t=t.substr(0,o),n?t=t.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />"):i&&e?.exporting?.allowHTML&&(i='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+i.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",i+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;)\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/\n+/g," ").replace(/&nbsp;/g,"\xA0").replace(/&shy;/g,"\xAD")}static svgToDataURL(t){let e=w.navigator.userAgent,o=e.indexOf("WebKit")>-1&&0>e.indexOf("Chrome");try{if(!o&&t.indexOf("<foreignObject")===-1)return at.createObjectURL(new w.Blob([t],{type:"image/svg+xml;charset-utf-16"}))}catch{}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(t)}addButton(t){let e,o=this,n=o.chart,i=n.renderer,r=T(n.options.navigation?.buttonOptions,t),c=r.onclick,a=r.menuItems,l=r.symbolSize||12;if(r.enabled===!1||!r.theme)return;let d=n.styledMode?{}:r.theme,f=()=>{};c?f=function(p){p&&p.stopPropagation(),c.call(n,p)}:a&&(f=function(p){p&&p.stopPropagation(),o.contextMenu(h.menuClassName,a,h.translateX||0,h.translateY||0,h.width||0,h.height||0,h),h.setState(2)}),r.text&&r.symbol?d.paddingLeft=j(d.paddingLeft,30):r.text||H(d,{width:r.width,height:r.height,padding:0});let h=i.button(r.text||"",0,0,f,d,void 0,void 0,void 0,void 0,r.useHTML).addClass(t.className||"").attr({title:j(n.options.lang[r._titleKey||r.titleKey],"")});h.menuClassName=t.menuClassName||"highcharts-menu-"+o.btnCount++,r.symbol&&(e=i.symbol(r.symbol,Math.round((r.symbolX||0)-l/2),Math.round((r.symbolY||0)-l/2),l,l,{width:l,height:l}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(h),n.styledMode||e.attr({stroke:r.symbolStroke,fill:r.symbolFill,"stroke-width":r.symbolStrokeWidth||1})),h.add(o.group).align(H(r,{width:h.width,x:j(r.x,o.buttonOffset)}),!0,"spacingBox"),o.buttonOffset+=((h.width||0)+(r.buttonSpacing||0))*(r.align==="right"?-1:1),o.svgElements.push(h,e)}afterPrint(){let t=this.chart;if(!this.printReverseInfo)return;let{childNodes:e,origDisplay:o,resetParams:n}=this.printReverseInfo;this.moveContainers(t.renderTo),[].forEach.call(e,function(i,r){i.nodeType===1&&(i.style.display=o[r]||"")}),this.isPrinting=!1,n&&t.setSize.apply(t,n),delete this.printReverseInfo,u.printingChart=void 0,M(t,"afterPrint")}beforePrint(){let t=this.chart,e=P.body,o=this.options.printMaxWidth,n={childNodes:e.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,t.pointer?.reset(void 0,0),M(t,"beforePrint"),o&&t.chartWidth>o&&(n.resetParams=[t.options.chart.width,void 0,!1],t.setSize(o,void 0,!1)),[].forEach.call(n.childNodes,function(i,r){i.nodeType===1&&(n.origDisplay[r]=i.style.display,i.style.display="none")}),this.moveContainers(e),this.printReverseInfo=n}contextMenu(t,e,o,n,i,r,c){let a=this,l=a.chart,d=l.options.navigation,f=l.chartWidth,h=l.chartHeight,p="cache-"+t,x=Math.max(i,r),b,m=l[p];m||(a.contextMenuEl=l[p]=m=A("div",{className:t},X({position:"absolute",zIndex:1e3,padding:x+"px",pointerEvents:"auto"},l.renderer.style),l.scrollablePlotArea?.fixedDiv||l.container),b=A("ul",{className:"highcharts-menu"},l.styledMode?{}:{listStyle:"none",margin:0,padding:0},m),l.styledMode||O(b,H({MozBoxShadow:"3px 3px 10px #0008",WebkitBoxShadow:"3px 3px 10px #0008",boxShadow:"3px 3px 10px #0008"},d?.menuStyle||{})),m.hideMenu=function(){O(m,{display:"none"}),c&&c.setState(0),l.exporting&&(l.exporting.openMenu=!1),O(l.renderTo,{overflow:"hidden"}),O(l.container,{overflow:"hidden"}),J(m.hideTimer),M(l,"exportMenuHidden")},a.events?.push(F(m,"mouseleave",function(){m.hideTimer=w.setTimeout(m.hideMenu,500)}),F(m,"mouseenter",function(){J(m.hideTimer)}),F(P,"mouseup",function(g){l.pointer?.inClass(g.target,t)||m.hideMenu()}),F(m,"click",function(){l.exporting?.openMenu&&m.hideMenu()})),e.forEach(function(g){if(typeof g=="string"&&a.options.menuItemDefinitions?.[g]&&(g=a.options.menuItemDefinitions[g]),Ht(g,!0)){let R;g.separator?R=A("hr",void 0,void 0,b):(g.textKey==="viewData"&&a.isDataTableVisible&&(g.textKey="hideData"),R=A("li",{className:"highcharts-menu-item",onclick:function(N){N&&N.stopPropagation(),m.hideMenu(),typeof g!="string"&&g.onclick&&g.onclick.apply(l,arguments)}},void 0,b),G().setElementHTML(R,g.text||l.options.lang[g.textKey]),l.styledMode||(R.onmouseover=function(){O(this,d?.menuItemHoverStyle||{})},R.onmouseout=function(){O(this,d?.menuItemStyle||{})},O(R,H({cursor:"pointer"},d?.menuItemStyle||{})))),a.divElements.push(R)}}),a.divElements.push(b,m),a.menuHeight=m.offsetHeight,a.menuWidth=m.offsetWidth);let y={display:"block"};o+(a.menuWidth||0)>f?y.right=f-o-i-x+"px":y.left=o-x+"px",n+r+(a.menuHeight||0)>h&&c.alignOptions?.verticalAlign!=="top"?y.bottom=h-n-x+"px":y.top=n+r-x+"px",O(m,y),O(l.renderTo,{overflow:""}),O(l.container,{overflow:""}),l.exporting&&(l.exporting.openMenu=!0),M(l,"exportMenuShown")}destroy(t){let e,o=t?t.target:this.chart,{divElements:n,events:i,svgElements:r}=this;r.forEach((c,a)=>{c&&(c.onclick=c.ontouchstart=null,o[e="cache-"+c.menuClassName]&&delete o[e],r[a]=c.destroy())}),r.length=0,this.group&&(this.group.destroy(),delete this.group),n.forEach(function(c,a){c&&(J(c.hideTimer),Mt(c,"mouseleave"),n[a]=c.onmouseout=c.onmouseover=c.ontouchstart=c.onclick=null,st(c))}),n.length=0,i&&(i.forEach(function(c){c()}),i.length=0)}async downloadSVG(t,e){let o,n={svg:t,exportingOptions:e,exporting:this};if(M(u.prototype,"downloadSVG",n),n.defaultPrevented)return;let{type:i,filename:r,scale:c,libURL:a}=u.prepareImageOptions(e);if(i==="application/pdf")throw Error("Offline exporting logic for PDF type is not found.");if(i==="image/svg+xml"){if(w.MSBlobBuilder!==void 0){let d=new w.MSBlobBuilder;d.append(t),o=d.getBlob("image/svg+xml")}else o=u.svgToDataURL(t);z(o,r)}else{o=u.svgToDataURL(t);try{u.objectURLRevoke=!0;let d=await u.imageToDataURL(o,c,i);z(d,r)}catch(d){if(d.message==="No canvas found!")throw d;if(t.length>1e8)throw Error("Input too long");let f=P.createElement("canvas"),h=f.getContext("2d"),p=t.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),x=t.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);if(h&&p&&x){let b=p[1]*c,m=x[1]*c;if(f.width=b,f.height=m,!w.canvg){var l;u.objectURLRevoke=!0,await(l=a+"canvg.js",new Promise((y,g)=>{let R=U.getElementsByTagName("head")[0],N=U.createElement("script");N.type="text/javascript",N.src=l,N.onload=()=>{y()},N.onerror=()=>{let ct=`Error loading script ${l}`;yt(ct),g(Error(ct))},R.appendChild(N)}))}w.canvg.Canvg.fromString(h,t).start(),z(w.navigator.msSaveOrOpenBlob?f.msToBlob():f.toDataURL(i),r)}}finally{if(u.objectURLRevoke)try{at.revokeObjectURL(o)}catch{}}}}async exportChart(t,e){if((t=T(this.options,t)).local)await this.localExport(t,e||{});else{let o=this.getSVGForExport(t,e);t.url&&await $.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width,scale:t.scale,svg:o},t.fetchOptions)}}async fallbackToServer(t,e){t.fallbackToExportServer===!1?t.error?t.error(t,e):Nt(28,!0):t.type==="application/pdf"&&(t.local=!1,await this.exportChart(t))}getChartHTML(t){let e=this.chart;return t&&this.inlineStyles(),this.resolveCSSVariables(),e.container.innerHTML}getFilename(){let t=this.chart.userOptions.title?.text,e=this.options.filename;return e?e.replace(/\//g,"-"):(typeof t=="string"&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||e.length<5)&&(e="chart"),e)}getSVG(t){let e=this.chart,o,n,i=T(e.options,t);i.plotOptions=T(e.userOptions.plotOptions,t?.plotOptions),i.time=T(e.userOptions.time,t?.time);let r=A("div",void 0,{position:"absolute",top:"-9999em",width:e.chartWidth+"px",height:e.chartHeight+"px"},P.body),c=e.renderTo.style.width,a=e.renderTo.style.height,l=i.exporting?.sourceWidth||i.chart.width||/px$/.test(c)&&parseInt(c,10)||(i.isGantt?800:600),d=i.exporting?.sourceHeight||i.chart.height||/px$/.test(a)&&parseInt(a,10)||400;H(i.chart,{animation:!1,renderTo:r,forExport:!0,renderer:"SVGRenderer",width:l,height:d}),i.exporting&&(i.exporting.enabled=!1),delete i.data,i.series=[],e.series.forEach(function(p){(n=T(p.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:p.visible})).isInternal||i?.series?.push(n)});let f={};e.axes.forEach(function(p){p.userOptions.internalKey||(p.userOptions.internalKey=Ut()),i&&!p.options.isInternal&&(f[p.coll]||(f[p.coll]=!0,i[p.coll]=[]),i[p.coll].push(T(p.userOptions,{visible:p.visible,type:p.type,uniqueNames:p.uniqueNames})))}),i.colorAxis=e.userOptions.colorAxis;let h=new e.constructor(i,e.callback);return t&&["xAxis","yAxis","series"].forEach(function(p){t[p]&&h.update({[p]:t[p]})}),e.axes.forEach(function(p){let x=Pt(h.axes,b=>b.options.internalKey===p.userOptions.internalKey);if(x){let b=p.getExtremes(),m=Dt(t?.[p.coll]||{})[0],y="min"in m?m.min:b.userMin,g="max"in m?m.max:b.userMax;(y!==void 0&&y!==x.min||g!==void 0&&g!==x.max)&&x.setExtremes(y??void 0,g??void 0,!0,!1)}}),o=h.exporting?.getChartHTML(e.styledMode||i.exporting?.applyStyleSheets)||"",M(e,"getSVG",{chartCopy:h}),o=u.sanitizeSVG(o,i),i=void 0,h.destroy(),st(r),o}getSVGForExport(t,e){let o=this.options;return this.getSVG(T({chart:{borderRadius:0}},o.chartOptions,e,{exporting:{sourceWidth:t?.sourceWidth||o.sourceWidth,sourceHeight:t?.sourceHeight||o.sourceHeight}}))}inlineStyles(){let t,e=u.inlineDenylist,o=u.inlineAllowlist,n={},i=A("iframe",void 0,{width:"1px",height:"1px",visibility:"hidden"},P.body),r=i.contentWindow?.document;r&&r.body.appendChild(r.createElementNS(Rt,"svg")),(function c(a){let l,d,f,h,p,x,b={};if(r&&a.nodeType===1&&u.unstyledElements.indexOf(a.nodeName)===-1){if(l=w.getComputedStyle(a,null),d=a.nodeName==="svg"?{}:w.getComputedStyle(a.parentNode,null),!n[a.nodeName]){t=r.getElementsByTagName("svg")[0],f=r.createElementNS(a.namespaceURI,a.nodeName),t.appendChild(f);let m=w.getComputedStyle(f,null),y={};for(let g in m)g.length<1e3&&typeof m[g]=="string"&&!/^\d+$/.test(g)&&(y[g]=m[g]);n[a.nodeName]=y,a.nodeName==="text"&&delete n.text.fill,t.removeChild(f)}for(let m in l)(Ft||I||V||Object.hasOwnProperty.call(l,m))&&(function(y,g){if(h=p=!1,o.length){for(x=o.length;x--&&!p;)p=o[x].test(g);h=!p}for(g==="transform"&&y==="none"&&(h=!0),x=e.length;x--&&!h;){if(g.length>1e3)throw Error("Input too long");h=e[x].test(g)||typeof y=="function"}!h&&(d[g]!==y||a.nodeName==="svg")&&n[a.nodeName][g]!==y&&(u.inlineToAttributes&&u.inlineToAttributes.indexOf(g)===-1?b[g]=y:y&&a.setAttribute(u.hyphenate(g),y))})(l[m],m);if(O(a,b),a.nodeName==="svg"&&a.setAttribute("stroke-width","1px"),a.nodeName==="text")return;[].forEach.call(a.children||a.childNodes,c)}})(this.chart.container.querySelector("svg")),t.parentNode.removeChild(t),i.parentNode.removeChild(i)}async localExport(t,e){let o=this.chart,n,i,r=null,c;if(I&&o.styledMode&&!u.inlineAllowlist.length&&u.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),I&&(t.type==="application/pdf"||o.container.getElementsByTagName("image").length&&t.type!=="image/svg+xml")||t.type==="application/pdf"&&[].some.call(o.container.getElementsByTagName("image"),function(l){let d=l.getAttribute("href");return d!==""&&typeof d=="string"&&d.indexOf("data:")!==0}))return void await this.fallbackToServer(t,Error("Image type not supported for this chart/browser."));let a=F(o,"getSVG",l=>{i=l.chartCopy.options,c=(n=l.chartCopy.container.cloneNode(!0))&&n.getElementsByTagName("image")||[]});try{let l;for(let h of(this.getSVGForExport(t,e),c?Array.from(c):[]))if(r=h.getAttributeNS("http://www.w3.org/1999/xlink","href")){u.objectURLRevoke=!1;let p=await u.imageToDataURL(r,t?.scale||1,t?.type||"image/png");h.setAttributeNS("http://www.w3.org/1999/xlink","href",p)}else h.parentNode.removeChild(h);let d=n?.querySelector("svg");d&&!t.chartOptions?.chart?.style?.fontFamily&&await u.inlineFonts(d);let f=(l=n?.innerHTML,u.sanitizeSVG(l||"",i));if(f.indexOf("<foreignObject")>-1&&t.type!=="image/svg+xml"&&(I||t.type==="application/pdf"))throw Error("Image type not supported for charts with embedded HTML");return await this.downloadSVG(f,H({filename:this.getFilename()},t)),f}catch(l){await this.fallbackToServer(t,l)}finally{a()}}moveContainers(t){let e=this.chart,{scrollablePlotArea:o}=e;(o?[o.fixedDiv,o.scrollingContainer]:[e.container]).forEach(function(n){t.appendChild(n)})}print(){let t=this.chart;this.isPrinting||(u.printingChart=t,V||this.beforePrint(),setTimeout(()=>{w.focus(),w.print(),V||setTimeout(()=>{t.exporting?.afterPrint()},1e3)},1))}render(){let t=this,{chart:e,options:o}=t,n=t?.isDirty||!t?.svgElements.length;t.buttonOffset=0,t.isDirty&&t.destroy(),n&&o.enabled!==!1&&(t.events=[],t.group||(t.group=e.renderer.g("exporting-group").attr({zIndex:3}).add()),Lt(o?.buttons,function(i){t.addButton(i)}),t.isDirty=!1)}resolveCSSVariables(){Array.from(this.chart.container.querySelectorAll("*")).forEach(t=>{["color","fill","stop-color","stroke"].forEach(e=>{t.getAttribute(e)?.includes("var(")&&t.setAttribute(e,getComputedStyle(t).getPropertyValue(e)),t.style?.[e]?.includes("var(")&&(t.style[e]=getComputedStyle(t).getPropertyValue(e))})})}update(t,e){this.isDirty=!0,T(!0,this.options,t),j(e,!0)&&this.chart.redraw()}}u.inlineAllowlist=[],u.inlineDenylist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],u.inlineToAttributes=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"],u.loadEventDeferDelay=150*!!I,u.unstyledElements=["clipPath","defs","desc"],(function(s){function t(n){let i=n.exporting;i&&(i.render(),F(n,"redraw",function(){this.exporting?.render()}),F(n,"destroy",function(){this.exporting?.destroy()}))}function e(){let n=this;n.options.exporting&&(n.exporting=new s(n,n.options.exporting),ft.compose(n).navigation.addUpdate((i,r)=>{n.exporting&&(n.exporting.isDirty=!0,T(!0,n.options.navigation,i),j(r,!0)&&n.redraw())}))}function o({alignTo:n,key:i,textPxLength:r}){let c=this.options.exporting,{align:a,buttonSpacing:l=0,verticalAlign:d,width:f=0}=T(this.options.navigation?.buttonOptions,c?.buttons?.contextButton),h=n.width-r,p=f+l;(c?.enabled??!0)&&i==="title"&&a==="right"&&d==="top"&&h<2*p&&(h<p?n.width-=p:this.title?.alignValue!=="left"&&(n.x-=p-h/2))}s.compose=function(n,i){bt.compose(i),it.compose(n),At(kt,"Exporting")&&(H(gt().prototype,{exportChart:async function(r,c){await this.exporting?.exportChart(r,c)},getChartHTML:function(r){return this.exporting?.getChartHTML(r)},getFilename:function(){return this.exporting?.getFilename()},getSVG:function(r){return this.exporting?.getSVG(r)},print:function(){return this.exporting?.print()}}),n.prototype.callbacks.push(t),F(n,"afterInit",e),F(n,"layOutTitle",o),V&&w.matchMedia("print").addListener(function(r){s.printingChart&&(r.matches?s.printingChart.exporting?.beforePrint():s.printingChart.exporting?.afterPrint())}),Tt(wt))}})(u||(u={}));let lt=u,k=C();k.Exporting=lt,k.HttpUtilities=k.HttpUtilities||$,k.ajax=k.HttpUtilities.ajax,k.getJSON=k.HttpUtilities.getJSON,k.post=k.HttpUtilities.post,lt.compose(k.Chart,k.Renderer);let It=C();return Q.default})())});export default Bt();
@@ -0,0 +1 @@
1
+ import{e as it}from"./chunk-ZW5NV4UO.js";var lt=it((v,O)=>{(function(d,f){typeof v=="object"&&typeof O=="object"?O.exports=f(d._Highcharts,d._Highcharts.SeriesRegistry,d._Highcharts.Color):typeof define=="function"&&define.amd?define("highcharts/modules/solid-gauge",["highcharts/highcharts"],function(x){return f(x,x.SeriesRegistry,x.Color)}):typeof v=="object"?v["highcharts/modules/solid-gauge"]=f(d._Highcharts,d._Highcharts.SeriesRegistry,d._Highcharts.Color):d.Highcharts=f(d.Highcharts,d.Highcharts.SeriesRegistry,d.Highcharts.Color)})("u"<typeof window?v:window,(d,f,x)=>(()=>{"use strict";var b,A,W={512:e=>{e.exports=f},620:e=>{e.exports=x},944:e=>{e.exports=d}},P={};function l(e){var t=P[e];if(t!==void 0)return t.exports;var o=P[e]={exports:{}};return W[e](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var S={};l.d(S,{default:()=>at});var F=l(944),p=l.n(F);let{defaultOptions:nt}=p(),{noop:dt}=p(),{addEvent:ht,extend:ct,isObject:G,merge:J,relativeLength:gt}=p(),K={radius:0,scope:"stack",where:void 0};function Q(e,t){return G(e)||(e={radius:e||0}),J(K,t,e)}let U=Q;var X=l(512),T=l.n(X),Y=l(620);let{parse:w}=l.n(Y)(),{merge:Z}=p();(b=A||(A={})).initDataClasses=function(e){let t=this.chart,o=this.legendItem=this.legendItem||{},a=this.options,s=e.dataClasses||[],n,c,i=t.options.chart.colorCount,h=0,r;this.dataClasses=c=[],o.labels=[];for(let g=0,m=s.length;g<m;++g)n=Z(n=s[g]),c.push(n),(t.styledMode||!n.color)&&(a.dataClassColor==="category"?(t.styledMode||(i=(r=t.options.colors||[]).length,n.color=r[h]),n.colorIndex=h,++h===i&&(h=0)):n.color=w(a.minColor).tweenTo(w(a.maxColor),m<2?.5:g/(m-1)))},b.initStops=function(){let e=this.options,t=this.stops=e.stops||[[0,e.minColor||""],[1,e.maxColor||""]];for(let o=0,a=t.length;o<a;++o)t[o].color=w(t[o][1])},b.normalizedValue=function(e){let t=this.max||0,o=this.min||0;return this.logarithmic&&(e=this.logarithmic.log2lin(e)),1-(t-e)/(t-o||1)},b.toColor=function(e,t){let o,a,s,n,c,i,h=this.dataClasses,r=this.stops;if(h){for(i=h.length;i--;)if(a=(c=h[i]).from,s=c.to,(a===void 0||e>=a)&&(s===void 0||e<=s)){n=c.color,t&&(t.dataClass=i,t.colorIndex=c.colorIndex);break}}else{for(o=this.normalizedValue(e),i=r.length;i--&&!(o>r[i][0]););a=r[i]||r[i+1],o=1-((s=r[i+1]||a)[0]-o)/(s[0]-a[0]||1),n=a.color.tweenTo(s.color,o)}return n};let $=A,{extend:tt}=p(),et=function(e){tt(e,$)},{gauge:M,pie:ot}=T().seriesTypes,{clamp:N,extend:st,isNumber:z,merge:rt,pick:H,pInt:D}=p();class V extends M{translate(){let t=this.yAxis;et(t),!t.dataClasses&&t.options.dataClasses&&t.initDataClasses(t.options),t.initStops(),M.prototype.translate.call(this)}drawPoints(){let t,o=this.yAxis,a=o.center,s=this.options,n=this.chart.renderer,c=s.overshoot,i=s.rounded&&s.borderRadius===void 0,h=z(c)?c/180*Math.PI:0;for(let r of(z(s.threshold)&&(t=o.startAngleRad+o.translate(s.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=H(t,o.startAngleRad),this.points))if(!r.isNull){let g=D(H(r.options.radius,s.radius,100))*a[2]/200,m=D(H(r.options.innerRadius,s.innerRadius,60))*a[2]/200,L=Math.min(o.startAngleRad,o.endAngleRad),q=Math.max(o.startAngleRad,o.endAngleRad),u=r.graphic,y=o.startAngleRad+o.translate(r.y,void 0,void 0,void 0,!0),R,I,C=o.toColor(r.y,r),_=r.getClassName();C==="none"&&(C=r.color||this.color||"none"),C!=="none"&&(r.color=C),y=N(y,L-h,q+h),s.wrap===!1&&(y=N(y,L,q));let B=i?(g-m)/2/g:0,j=Math.min(y,this.thresholdAngleRad)-B,k=Math.max(y,this.thresholdAngleRad)+B;k-j>2*Math.PI&&(k=j+2*Math.PI);let E=i?"50%":0;s.borderRadius&&(E=U(s.borderRadius).radius),r.shapeArgs=R={x:a[0],y:a[1],r:g,innerR:m,start:j,end:k,borderRadius:E},r.startR=g,u?(I=R.d,u.animate(st({fill:C},R)),I&&(R.d=I)):r.graphic=u=n.arc(R).attr({fill:C,"sweep-flag":0}).add(this.group),this.chart.styledMode?this.yAxis?.stops&&(_=_.replace(/highcharts-color-\d/gm,"").trim()):(s.linecap!=="square"&&u.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),u.attr({stroke:s.borderColor||"none","stroke-width":s.borderWidth||0})),u&&u.addClass(_)}}animate(t){t||(this.startAngleRad=this.thresholdAngleRad,ot.prototype.animate.call(this,t))}}V.defaultOptions=rt(M.defaultOptions,{colorByPoint:!0,dataLabels:{y:0}}),T().registerSeriesType("solidgauge",V);let at=p();return S.default})())});export default lt();
@@ -0,0 +1,2 @@
1
+ import{e as We}from"./chunk-ZW5NV4UO.js";var _e=We((J,ce)=>{(function(H,X){typeof J=="object"&&typeof ce=="object"?ce.exports=X(H._Highcharts,H._Highcharts.AST,H._Highcharts.Chart):typeof define=="function"&&define.amd?define("highcharts/modules/export-data",["highcharts/highcharts"],function($){return X($,$.AST,$.Chart)}):typeof J=="object"?J["highcharts/modules/export-data"]=X(H._Highcharts,H._Highcharts.AST,H._Highcharts.Chart):H.Highcharts=X(H.Highcharts,H.Highcharts.AST,H.Highcharts.Chart)})("u"<typeof window?J:window,(H,X,$)=>(()=>{"use strict";var ne,ye={660:o=>{o.exports=X},944:o=>{o.exports=H},960:o=>{o.exports=$}},de={};function S(o){var c=de[o];if(c!==void 0)return c.exports;var x=de[o]={exports:{}};return ye[o](x,x.exports,S),x.exports}S.n=o=>{var c=o&&o.__esModule?()=>o.default:()=>o;return S.d(c,{a:c}),c},S.d=(o,c)=>{for(var x in c)S.o(c,x)&&!S.o(o,x)&&Object.defineProperty(o,x,{enumerable:!0,get:c[x]})},S.o=(o,c)=>Object.prototype.hasOwnProperty.call(o,c);var pe={};S.d(pe,{default:()=>Fe});var we=S(944),j=S.n(we);let{isSafari:Te,win:g,win:{document:ie}}=j(),{error:$e}=j(),ue=g.URL||g.webkitURL||g;function ge(o){let c=o.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(c&&c.length>3&&g.atob&&g.ArrayBuffer&&g.Uint8Array&&g.Blob&&ue.createObjectURL){let x=g.atob(c[3]),O=new g.ArrayBuffer(x.length),V=new g.Uint8Array(O);for(let W=0;W<V.length;++W)V[W]=x.charCodeAt(W);return ue.createObjectURL(new g.Blob([V],{type:c[1]}))}}function re(o,c){let x=g.navigator,O=ie.createElement("a");if(typeof o!="string"&&!(o instanceof String)&&x.msSaveOrOpenBlob)return void x.msSaveOrOpenBlob(o,c);if(o=""+o,x.userAgent.length>1e3)throw Error("Input too long");let V=/Edge\/\d+/.test(x.userAgent);if((Te&&typeof o=="string"&&o.indexOf("data:application/pdf")===0||V||o.length>2e6)&&!(o=ge(o)||""))throw Error("Failed to convert to blob");if(O.download!==void 0)O.href=o,O.download=c,ie.body.appendChild(O),O.click(),ie.body.removeChild(O);else try{if(!g.open(o,"chart"))throw Error("Failed to open window")}catch{g.location.href=o}}function fe(o,c){let x=g.navigator,O=g.URL||g.webkitURL||g;try{if(x.msSaveOrOpenBlob&&g.MSBlobBuilder){let V=new g.MSBlobBuilder;return V.append(o),V.getBlob("image/svg+xml")}return O.createObjectURL(new g.Blob(["\uFEFF"+o],{type:c}))}catch{}}var ve=S(660),le=S.n(ve),De=S(960),Se=S.n(De);let Ce={exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:`
2
+ `},menuItemDefinitions:{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.exporting?.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.exporting?.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.exporting?.wrapLoading(this.exporting.toggleDataTable)}}},showExportInProgress:!0,showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table",exportInProgress:"Exporting..."}},{getOptions:Ee,setOptions:Le}=j(),{composed:Ae,doc:He,win:me}=j(),{addEvent:se,defined:Oe,extend:xe,find:ke,fireEvent:Q,isNumber:Ve,pick:P,pushUnique:Ne}=j();(function(o){function c(){this.wrapLoading(()=>{let i=this.getCSV(!0);re(fe(i,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(i),this.getFilename()+".csv")})}function x(){this.wrapLoading(()=>{let i='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";re(fe(i,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+me.btoa(unescape(encodeURIComponent(i))),this.getFilename()+".xls")})}function O(i){let l="",r=this.getDataRows(),t=this.options?.csv,a=P(t?.decimalPoint,t?.itemDelimiter!==","&&i?1.1.toLocaleString()[1]:"."),b=P(t?.itemDelimiter,a===","?";":","),p=t?.lineDelimiter;return r.forEach((s,n)=>{let f="",y=s.length;for(;y--;)typeof(f=s[y])=="string"&&(f=`"${f}"`),typeof f=="number"&&a!=="."&&(f=f.toString().replace(".",a)),s[y]=f;s.length=r.length?r[0].length:0,l+=s.join(b),n<r.length-1&&(l+=p)}),l}function V(i){let l,r,t=this.chart,a=t.hasParallelCoordinates,b=t.time,p=this.options?.csv||{},s=t.xAxis,n={},f=[],y=[],N=[],L=t.options.lang.exportData,C=L?.categoryHeader,q=L?.categoryDatetimeHeader,G=function(e,u,v){if(p.columnHeaderFormatter){let D=p.columnHeaderFormatter(e,u,v);if(D!==!1)return D}return!e&&C?C:!e.bindAxes&&q&&C?e.options.title&&e.options.title.text||(e.dateTime?q:C):i?{columnTitle:((v||0)>1?u:e.name)||"",topLevelColumnTitle:e.name}:e.name+((v||0)>1?" ("+u+")":"")},w=function(e,u,v){let D={},Y={};return u.forEach(function(B){let _=(e.keyToAxis&&e.keyToAxis[B]||B)+"Axis",M=Ve(v)?e.chart[_][v]:e[_];D[B]=M&&M.categories||[],Y[B]=M&&M.dateTime}),{categoryMap:D,dateTimeValueAxisMap:Y}},d=function(e,u){let v=e.pointArrayMap||["y"];return e.data.some(D=>D.y!==void 0&&D.name)&&u&&!u.categories&&e.exportKey!=="name"?["x",...v]:v},m=[],E,h,A,k=0,I,F;for(I in t.series.forEach(function(e){let u=e.options.keys,v=e.xAxis,D=u||d(e,v),Y=D.length,B=!e.requireSorting&&{},_=s.indexOf(v),M=w(e,D),be,R;if(e.options.includeInDataExport!==!1&&!e.options.isInternal&&e.visible!==!1){for(ke(m,function(he){return he[0]===_})||m.push([_,k]),R=0;R<Y;)A=G(e,D[R],D.length),N.push(A.columnTitle||A),i&&y.push(A.topLevelColumnTitle||A),R++;be={chart:e.chart,autoIncrement:e.autoIncrement,options:e.options,pointArrayMap:e.pointArrayMap,index:e.index},e.options.data?.forEach(function(he,ee){let T,te,ae,Z={series:be};a&&(M=w(e,D,ee)),e.pointClass.prototype.applyOptions.apply(Z,[he]);let oe=e.data[ee]&&e.data[ee].name;if(T=(Z.x??"")+","+oe,R=0,(!v||e.exportKey==="name"||!a&&v&&v.hasNames&&oe)&&(T=oe),B&&(B[T]&&(T+="|"+ee),B[T]=!0),n[T]){let U=`${T},${n[T].pointers[e.index]}`,z=T;n[T].pointers[e.index]&&(n[U]||(n[U]=[],n[U].xValues=[],n[U].pointers=[]),T=U),n[z].pointers[e.index]+=1}else{n[T]=[],n[T].xValues=[];let U=[];for(let z=0;z<e.chart.series.length;z++)U[z]=0;n[T].pointers=U,n[T].pointers[e.index]=1}for(n[T].x=Z.x,n[T].name=oe,n[T].xValues[_]=Z.x;R<Y;)te=D[R],ae=e.pointClass.prototype.getNestedProperty.apply(Z,[te]),n[T][k+R]=P(M.categoryMap[te][ae],M.dateTimeValueAxisMap[te]?b.dateFormat(p.dateFormat,ae):null,ae),R++}),k+=R}}),n)Object.hasOwnProperty.call(n,I)&&f.push(n[I]);for(h=i?[y,N]:[N],k=m.length;k--;)l=m[k][0],r=m[k][1],E=s[l],f.sort(function(e,u){return e.xValues[l]-u.xValues[l]}),F=G(E),h[0].splice(r,0,F),i&&h[1]&&h[1].splice(r,0,F),f.forEach(function(e){let u=e.name;E&&!Oe(u)&&(E.dateTime?(e.x instanceof Date&&(e.x=e.x.getTime()),u=b.dateFormat(p.dateFormat,e.x)):u=E.categories?P(E.names[e.x],E.categories[e.x],e.x):e.x),e.splice(r,0,u)});return Q(t,"exportData",{dataRows:h=h.concat(f)}),h}function W(i){let l=r=>{if(!r.tagName||r.tagName==="#text")return r.textContent||"";let t=r.attributes,a=`<${r.tagName}`;return t&&Object.keys(t).forEach(b=>{let p=t[b];a+=` ${b}="${p}"`}),a+=">",a+=r.textContent||"",(r.children||[]).forEach(b=>{a+=l(b)}),a+=`</${r.tagName}>`};return l(this.getTableAST(i))}function Ie(i){let l=0,r=[],t=this,a=t.chart,b=a.options,p=i?1.1.toLocaleString()[1]:".",s=P(t.options.useMultiLevelHeaders,!0),n=t.getDataRows(s),f=s?n.shift():null,y=n.shift(),N=function(w,d){let m=w.length;if(d.length!==m)return!1;for(;m--;)if(w[m]!==d[m])return!1;return!0},L=function(w,d,m,E){let h=P(E,""),A="highcharts-text"+(d?" "+d:"");return typeof h=="number"?(h=a.numberFormatter(h,-1,p,w==="th"?"":void 0),A="highcharts-number"):E||(A="highcharts-empty"),{tagName:w,attributes:m=xe({class:A},m),textContent:h}},{tableCaption:C}=t.options||{};C!==!1&&r.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:typeof C=="string"?C:b.title?.text||b.lang.chartTitle});for(let w=0,d=n.length;w<d;++w)n[w].length>l&&(l=n[w].length);r.push((function(w,d,m){let E=[],h=0,A=m||d&&d.length,k,I=0,F;if(s&&w&&d&&!N(w,d)){let e=[];for(;h<A;++h)if((k=w[h])===w[h+1])++I;else if(I)e.push(L("th","highcharts-table-topheading",{scope:"col",colspan:I+1},k)),I=0;else{k===d[h]?t.options.useRowspanHeaders?(F=2,delete d[h]):(F=1,d[h]=""):F=1;let u=L("th","highcharts-table-topheading",{scope:"col"},k);F>1&&u.attributes&&(u.attributes.valign="top",u.attributes.rowspan=F),e.push(u)}E.push({tagName:"tr",children:e})}if(d){let e=[];for(h=0,A=d.length;h<A;++h)d[h]!==void 0&&e.push(L("th",null,{scope:"col"},d[h]));E.push({tagName:"tr",children:e})}return{tagName:"thead",children:E}})(f,y||[],Math.max(l,y?.length||0)));let q=[];n.forEach(function(w){let d=[];for(let m=0;m<l;m++)d.push(L(m?"td":"th",null,m?{}:{scope:"row"},w[m]));q.push({tagName:"tr",children:d})}),r.push({tagName:"tbody",children:q});let G={tree:{tagName:"table",id:`highcharts-data-table-${a.index}`,children:r}};return Q(a,"afterGetTableAST",G),G.tree}function Be(){this.toggleDataTable(!1)}function Me(i){let l=this.chart,r=(i=P(i,!this.isDataTableVisible))&&!this.dataTableDiv;if(r&&(this.dataTableDiv=He.createElement("div"),this.dataTableDiv.className="highcharts-data-table",l.renderTo.parentNode.insertBefore(this.dataTableDiv,l.renderTo.nextSibling)),this.dataTableDiv){let s=this.dataTableDiv.style,n=s.display;s.display=i?"block":"none",i?(this.dataTableDiv.innerHTML=le().emptyHTML,new(le())([this.getTableAST()]).addToDOM(this.dataTableDiv),Q(l,"afterViewData",{element:this.dataTableDiv,wasHidden:r||n!==s.display})):Q(l,"afterHideData")}this.isDataTableVisible=i;let t=this.divElements,a=this.options,b=a.buttons?.contextButton.menuItems,p=l.options.lang;if(a&&a.menuItemDefinitions&&p&&p.viewData&&p.hideData&&b&&t){let s=t[b.indexOf("viewData")];s&&le().setElementHTML(s,this.isDataTableVisible?p.hideData:p.viewData)}}function Ue(){this.toggleDataTable(!0)}function je(i){let l=this.chart,r=!!this.options.showExportInProgress,t=me.requestAnimationFrame||setTimeout;t(()=>{r&&l.showLoading(l.options.lang.exportInProgress),t(()=>{try{i.call(this)}finally{r&&l.hideLoading()}})})}function Pe(){let i=this.exporting,l=i?.dataTableDiv,r=(t,a)=>t.children[a].textContent;if(l&&i.options.allowTableSorting){let t=l.querySelector("thead tr");t&&t.childNodes.forEach(a=>{let b=l.querySelector("tbody");a.addEventListener("click",function(){let p=[...l.querySelectorAll("tr:not(thead tr)")],s=[...a.parentNode.children];if(i){let n,f;p.sort((n=s.indexOf(a),f=i.ascendingOrderInTable=!i.ascendingOrderInTable,(y,N)=>{let L,C;return L=r(f?y:N,n),C=r(f?N:y,n),L===""||C===""||isNaN(L)||isNaN(C)?L.toString().localeCompare(C):L-C})).forEach(y=>{b?.appendChild(y)}),s.forEach(y=>{["highcharts-sort-ascending","highcharts-sort-descending"].forEach(N=>{y.classList.contains(N)&&y.classList.remove(N)})}),a.classList.add(i.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending")}})})}}function Ke(){this.options?.exporting?.showTable&&!this.options.chart.forExport&&this.exporting?.viewData()}function Xe(){this.exporting?.dataTableDiv?.remove()}o.compose=function(i,l,r){if(!Ne(Ae,"ExportData"))return;xe(Se().prototype,{downloadCSV:function(){return this.exporting?.downloadCSV()},downloadXLS:function(){return this.exporting?.downloadXLS()},getCSV:function(a){return this.exporting?.getCSV(a)},getDataRows:function(a){return this.exporting?.getDataRows(a)},getTable:function(a){return this.exporting?.getTable(a)},getTableAST:function(a){return this.exporting?.getTableAST(a)},hideData:function(){return this.exporting?.hideData()},toggleDataTable:function(a){return this.exporting?.toggleDataTable(a)},viewData:function(){return this.exporting?.viewData()}});let t=l.prototype;if(!t.downloadCSV){se(i,"afterViewData",Pe),se(i,"render",Ke),se(i,"destroy",Xe),t.downloadCSV=c,t.downloadXLS=x,t.getCSV=O,t.getDataRows=V,t.getTable=W,t.getTableAST=Ie,t.hideData=Be,t.toggleDataTable=Me,t.wrapLoading=je,t.viewData=Ue,Le(Ce);let a=Ee().exporting?.buttons?.contextButton?.menuItems;a&&a.push("separator","downloadCSV","downloadXLS","viewData");let{arearange:b,gantt:p,map:s,mapbubble:n,treemap:f,xrange:y}=r.types;b&&(b.prototype.keyToAxis={low:"y",high:"y"}),p&&(p.prototype.exportKey="name",p.prototype.keyToAxis={start:"x",end:"x"}),s&&(s.prototype.exportKey="name"),n&&(n.prototype.exportKey="name"),f&&(f.prototype.exportKey="name"),y&&(y.prototype.keyToAxis={x2:"x"})}}})(ne||(ne={}));let Re=ne,K=j();K.dataURLtoBlob=K.dataURLtoBlob||ge,K.downloadURL=K.downloadURL||re,Re.compose(K.Chart,K.Exporting,K.Series);let Fe=j();return pe.default})())});export default _e();
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-5CTM6JVQ.js";import"./chunk-ZW5NV4UO.js";export default a();