From 2149df159ee82ab499ba527e8908ba97a9243d3e Mon Sep 17 00:00:00 2001 From: netil Date: Wed, 31 Jul 2024 00:46:38 +0000 Subject: [PATCH] skip: 3.12.4-nightly-20240731004602 build [skip ci] --- dist-esm/billboard.js | 6 +++--- dist-esm/plugin/billboardjs-plugin-bubblecompare.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-sparkline.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-stanford.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-tableview.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-textoverlap.js | 4 ++-- dist/billboard.css | 2 +- dist/billboard.js | 4 ++-- dist/billboard.min.css | 2 +- dist/billboard.min.js | 4 ++-- dist/billboard.pkgd.js | 4 ++-- dist/billboard.pkgd.min.js | 4 ++-- dist/plugin/billboardjs-plugin-bubblecompare.js | 4 ++-- dist/plugin/billboardjs-plugin-bubblecompare.min.js | 4 ++-- dist/plugin/billboardjs-plugin-sparkline.js | 4 ++-- dist/plugin/billboardjs-plugin-sparkline.min.js | 4 ++-- dist/plugin/billboardjs-plugin-stanford.js | 4 ++-- dist/plugin/billboardjs-plugin-stanford.min.js | 4 ++-- dist/plugin/billboardjs-plugin-tableview.js | 4 ++-- dist/plugin/billboardjs-plugin-tableview.min.js | 4 ++-- dist/plugin/billboardjs-plugin-textoverlap.js | 4 ++-- dist/plugin/billboardjs-plugin-textoverlap.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js | 4 ++-- .../pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js | 4 ++-- dist/theme/dark.css | 2 +- dist/theme/dark.min.css | 2 +- dist/theme/datalab.css | 2 +- dist/theme/datalab.min.css | 2 +- dist/theme/graph.css | 2 +- dist/theme/graph.min.css | 2 +- dist/theme/insight.css | 2 +- dist/theme/insight.min.css | 2 +- dist/theme/modern.css | 2 +- dist/theme/modern.min.css | 2 +- 42 files changed, 73 insertions(+), 73 deletions(-) diff --git a/dist-esm/billboard.js b/dist-esm/billboard.js index 8ba1ee311..3d437e046 100644 --- a/dist-esm/billboard.js +++ b/dist-esm/billboard.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ import { pointer, select, namespaces, selectAll } from 'd3-selection'; import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format'; @@ -24385,7 +24385,7 @@ var zoomModule = function () { var defaults = {}; /** * @namespace bb - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ var bb = { /** @@ -24395,7 +24395,7 @@ var bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240727004635", + version: "3.12.4-nightly-20240731004602", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist-esm/plugin/billboardjs-plugin-bubblecompare.js b/dist-esm/plugin/billboardjs-plugin-bubblecompare.js index de068dd62..25ec0e462 100644 --- a/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +++ b/dist-esm/plugin/billboardjs-plugin-bubblecompare.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -100,7 +100,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240727004635"; + Plugin.version = "3.12.4-nightly-20240731004602"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-sparkline.js b/dist-esm/plugin/billboardjs-plugin-sparkline.js index 87efd6b31..2af4e7d73 100644 --- a/dist-esm/plugin/billboardjs-plugin-sparkline.js +++ b/dist-esm/plugin/billboardjs-plugin-sparkline.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -443,7 +443,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240727004635"; + Plugin.version = "3.12.4-nightly-20240731004602"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-stanford.js b/dist-esm/plugin/billboardjs-plugin-stanford.js index 89dec0b84..ead48244c 100644 --- a/dist-esm/plugin/billboardjs-plugin-stanford.js +++ b/dist-esm/plugin/billboardjs-plugin-stanford.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -501,7 +501,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240727004635"; + Plugin.version = "3.12.4-nightly-20240731004602"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-tableview.js b/dist-esm/plugin/billboardjs-plugin-tableview.js index 423a56a02..07c926ea1 100644 --- a/dist-esm/plugin/billboardjs-plugin-tableview.js +++ b/dist-esm/plugin/billboardjs-plugin-tableview.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -290,7 +290,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240727004635"; + Plugin.version = "3.12.4-nightly-20240731004602"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-textoverlap.js b/dist-esm/plugin/billboardjs-plugin-textoverlap.js index 379feb2f2..dc0c97e4f 100644 --- a/dist-esm/plugin/billboardjs-plugin-textoverlap.js +++ b/dist-esm/plugin/billboardjs-plugin-textoverlap.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -267,7 +267,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240727004635"; + Plugin.version = "3.12.4-nightly-20240731004602"; return Plugin; }()); diff --git a/dist/billboard.css b/dist/billboard.css index b03e3aa70..e3e30cd4e 100644 --- a/dist/billboard.css +++ b/dist/billboard.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ /*-- Chart --*/ .bb svg { diff --git a/dist/billboard.js b/dist/billboard.js index cad0933e1..04e9dfd93 100644 --- a/dist/billboard.js +++ b/dist/billboard.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') @@ -21639,7 +21639,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240727004635", + version: "3.12.4-nightly-20240731004602", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist/billboard.min.css b/dist/billboard.min.css index 1ca98034a..c6c58a7de 100644 --- a/dist/billboard.min.css +++ b/dist/billboard.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb svg{font:10px sans-serif;-webkit-tap-highlight-color:rgba(0,0,0,0)}.bb path,.bb line{fill:none;stroke:#000}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;user-select:none}.bb-legend-item-tile,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle,.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{font-size:13px;fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:1em;fill:#fff;white-space:nowrap}.bb-grid{pointer-events:none}.bb-grid line{stroke:#aaa}.bb-grid text{fill:#aaa}.bb-xgrid,.bb-ygrid{stroke-dasharray:3 3}.bb-text.bb-empty{fill:gray;font-size:2em}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:1px;stroke:#fff}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{font-size:12px;user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font:14px sans-serif}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;user-select:none}.bb-tooltip{border-collapse:collapse;border-spacing:0;background-color:#fff;empty-cells:show;opacity:.9;box-shadow:7px 7px 12px -9px #777;white-space:nowrap}.bb-tooltip tr{border:1px solid #CCC}.bb-tooltip th{background-color:#aaa;font-size:14px;padding:2px 5px;text-align:left;color:#fff}.bb-tooltip td{font-size:13px;padding:3px 6px;background-color:#fff;border-left:1px dotted #999}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px}.bb-tooltip.value{text-align:right}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{font-size:11px;border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/billboard.min.js b/dist/billboard.min.js index 4ee3a1b6c..34622058b 100644 --- a/dist/billboard.min.js +++ b/dist/billboard.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */(function(dt,Zt){if(typeof exports=="object"&&typeof module=="object")module.exports=Zt(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-hierarchy"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom"));else if(typeof define=="function"&&define.amd)define(["d3-axis","d3-brush","d3-drag","d3-dsv","d3-ease","d3-hierarchy","d3-interpolate","d3-scale","d3-selection","d3-shape","d3-time-format","d3-transition","d3-zoom"],Zt);else{var ue=typeof exports=="object"?Zt(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-hierarchy"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom")):Zt(dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3);for(var he in ue)(typeof exports=="object"?exports:dt)[he]=ue[he]}})(this,function(Ue,dt,Zt,ue,he,Pi,Oi,Ii,Di,zi,Fi,Mi,Xi){return function(){"use strict";var Bi=[,,function(D){D.exports=Di},function(D){D.exports=Fi},function(D){D.exports=dt},function(D){D.exports=ue},function(D){D.exports=Zt},function(D){D.exports=Ii},function(D){D.exports=Mi},function(D){D.exports=zi},function(D){D.exports=Xi},function(D){D.exports=Ue},function(D){D.exports=he},function(D){D.exports=Oi},function(D){D.exports=Pi}],Ze={};function U(D){var xt=Ze[D];if(xt!==void 0)return xt.exports;var S=Ze[D]={exports:{}};return Bi[D](S,S.exports,U),S.exports}(function(){U.d=function(D,xt){for(var S in xt)U.o(xt,S)&&!U.o(D,S)&&Object.defineProperty(D,S,{enumerable:!0,get:xt[S]})}})(),function(){U.o=function(D,xt){return Object.prototype.hasOwnProperty.call(D,xt)}}(),function(){U.r=function(D){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})}}();var Re={};return function(){U.r(Re),U.d(Re,{bb:function(){return ki},default:function(){return ki}});var D={};U.r(D),U.d(D,{selection:function(){return Os},subchart:function(){return Is},zoom:function(){return Ds}});var xt={};U.r(xt),U.d(xt,{area:function(){return di},areaLineRange:function(){return ui},areaSpline:function(){return gi},areaSplineRange:function(){return fi},areaStep:function(){return pi},areaStepRange:function(){return hi},bar:function(){return Ai},bubble:function(){return wi},candlestick:function(){return Si},donut:function(){return $i},funnel:function(){return Ci},gauge:function(){return yi},line:function(){return xi},pie:function(){return bi},polar:function(){return vi},radar:function(){return Ti},scatter:function(){return Ri},spline:function(){return _i},step:function(){return mi},treemap:function(){return Ei}});var S=U(2),ge=U(3),Ni=Object.defineProperty,qe=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Ke=(e,t,s)=>t in e?Ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Z=(e,t)=>{for(var s in t||(t={}))Gi.call(t,s)&&Ke(e,s,t[s]);if(qe)for(var s of qe(t))Vi.call(t,s)&&Ke(e,s,t[s]);return e};const z={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},G={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},fe={area:"bb-area",areas:"bb-areas"},ot={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},bt={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},Et={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},ut={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},Ce={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},Bt={dragarea:"bb-dragarea",INCLUDED:"_included_"},oe={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},_t={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},j={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},kt={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},vt={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},q={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},et={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Dt={level:"bb-level",levels:"bb-levels"},Je={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},re={region:"bb-region",regions:"bb-regions"},J={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},st={shape:"bb-shape",shapes:"bb-shapes"},Qe={brush:"bb-brush",subchart:"bb-subchart"},gt={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},pe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},ts={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Ee={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var B=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z({},z),G),fe),ot),bt),Et),ut),Ce),Bt),_t),j),kt),vt),q),oe),et),Je),re),J),st),Qe),gt),pe),ts),Ee),Yi={boost_useCssRule:!1,boost_useWorker:!1},ji={color_pattern:[],color_tiles:void 0,color_threshold:{},color_onover:void 0},Hi={legend_contents_bindto:void 0,legend_contents_template:"{=TITLE}",legend_equally:!1,legend_hide:!1,legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_interaction:!0,legend_item_dblclick:!1,legend_item_onclick:void 0,legend_item_onover:void 0,legend_item_onout:void 0,legend_item_tile_width:10,legend_item_tile_height:10,legend_item_tile_r:5,legend_item_tile_type:"rectangle",legend_format:void 0,legend_padding:0,legend_position:"bottom",legend_show:!0,legend_tooltip:!1,legend_usePoint:!1},Wi={bindto:"#chart",background:{},clipPath:!0,svg_classname:void 0,size_width:void 0,size_height:void 0,padding:!0,padding_mode:void 0,padding_left:void 0,padding_right:void 0,padding_top:void 0,padding_bottom:void 0,resize_auto:!0,resize_timer:!0,onclick:void 0,onover:void 0,onout:void 0,onresize:void 0,onresized:void 0,onbeforeinit:void 0,oninit:void 0,onafterinit:void 0,onrendered:void 0,transition_duration:250,plugins:[],render:{},regions:[]},Ui={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},Zi={tooltip_show:!0,tooltip_doNotHide:!1,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:{},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:void 0,tooltip_linked:!1,tooltip_linked_name:"",tooltip_onshow:()=>{},tooltip_onhide:()=>{},tooltip_onshown:()=>{},tooltip_onhidden:()=>{},tooltip_order:null},qi={data_x:void 0,data_idConverter:e=>e,data_names:{},data_classes:{},data_type:void 0,data_types:{},data_order:"desc",data_groups:[],data_groupsZeroAs:"positive",data_color:void 0,data_colors:{},data_labels:{},data_labels_backgroundColors:void 0,data_labels_colors:void 0,data_labels_position:{},data_hide:!1,data_filter:void 0,data_onclick:()=>{},data_onover:()=>{},data_onout:()=>{},data_onshown:void 0,data_onhidden:void 0,data_onmin:void 0,data_onmax:void 0,data_url:void 0,data_headers:void 0,data_json:void 0,data_rows:void 0,data_columns:void 0,data_mimeType:"csv",data_keys:void 0,data_empty_label_text:""},Ki={interaction_enabled:!0,interaction_brighten:!0,interaction_inputType_mouse:!0,interaction_inputType_touch:{}},xe=U(4);function Ji(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Qi(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",s=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",i=a=>setTimeout(a,1),n=a=>clearTimeout(a);return[t?e.requestAnimationFrame:i,t?e.cancelAnimationFrame:n,s?e.requestIdleCallback:i,s?e.cancelIdleCallback:n]}const H=Ji(),lt=H==null?void 0:H.document,[tn,mr,es,$r]=Qi(H);var en=Object.defineProperty,ss=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,is=(e,t,s)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ns=(e,t)=>{for(var s in t||(t={}))sn.call(t,s)&&is(e,s,t[s]);if(ss)for(var s of ss(t))nn.call(t,s)&&is(e,s,t[s]);return e};const F=e=>e||e===0,P=e=>typeof e=="function",V=e=>typeof e=="string",L=e=>typeof e=="number",it=e=>typeof e=="undefined",W=e=>typeof e!="undefined",ke=e=>typeof e=="boolean",an=e=>Math.ceil(e/10)*10,_e=e=>Math.ceil(e)+.5,Nt=e=>e[1]-e[0],wt=e=>typeof e=="object",Tt=e=>it(e)||e===null||V(e)&&e.length===0||wt(e)&&!(e instanceof Date)&&Object.keys(e).length===0||L(e)&&isNaN(e),nt=e=>!Tt(e),N=e=>Array.isArray(e),X=e=>e&&!(e!=null&&e.nodeType)&&wt(e)&&!N(e);function zt(e,t,s){return W(e[t])?e[t]:s}function on(e,t){let s=!1;return Object.keys(e).forEach(i=>e[i]===t&&(s=!0)),s}function K(e,t,...s){const i=P(e);return i&&e.call(t,...s),i}function me(e,t){let s=0;const i=function(...n){!--s&&t.apply(this,...n)};"duration"in e?e.each(()=>++s).on("end",i):(++s,e.call(i))}function Le(e){return V(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function le(e,t,s=[-1,1],i=!1){if(!(!e||!V(t)))if(t.indexOf(` `)===-1)e.text(t);else{const n=[e.text(),t].map(a=>a.replace(/[\s\n]/g,""));if(n[0]!==n[1]){const a=t.split(` `),o=i?a.length-1:1;e.html(""),a.forEach((r,l)=>{e.append("tspan").attr("x",0).attr("dy",`${l===0?s[0]*o:s[1]}em`).text(r)})}}}function as(e){const{x:t,y:s,width:i,height:n}=e.getBBox();return[{x:t,y:s+n},{x:t,y:s},{x:t+i,y:s},{x:t+i,y:s+n}]}function os(e){const{width:t,height:s}=e.getBoundingClientRect(),i=as(e),n=i[0].x,a=Math.min(i[0].y,i[1].y);return{x:n,y:a,width:t,height:s}}function $t(e,t){var s;const i=e&&((s=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:s[0]);let n=[0,0];try{n=(0,S.pointer)(i||e,t)}catch(a){}return n.map(a=>isNaN(a)?0:a)}function rs(e){const{event:t,$el:s}=e,i=s.subchart.main||s.main;let n;return t&&t.type==="brush"?n=t.selection:i&&(n=i.select(".bb-brush").node())&&(n=(0,xe.brushSelection)(n)),n}function $e(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Lt(e=!0,t=0,s=1e4){const i=H.crypto||H.msCrypto,n=i?t+i.getRandomValues(new Uint32Array(1))[0]%(s-t+1):Math.floor(Math.random()*(s-t)+t);return e?String(n):n}function Pe(e,t,s,i,n){if(s>i)return-1;const a=Math.floor((s+i)/2);let{x:o,w:r=0}=e[a];return n&&(o=e[a].y,r=e[a].h),t>=o&&t<=o+r?a:t{if(X(s)&&s.constructor){const i=new s.constructor;for(const n in s)i[n]=t(s[n]);return i}return s};return e.map(s=>t(s)).reduce((s,i)=>ns(ns({},s),i))}function ct(e={},t){N(t)&&t.forEach(s=>ct(e,s));for(const s in t)/^\d+$/.test(s)||s in e||(e[s]=t[s]);return e}const ft=e=>e.charAt(0).toUpperCase()+e.slice(1);function ln(e,t="-"){return e.split(t).map((s,i)=>i?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Gt=e=>[].slice.call(e);function cn(e,t,s){const{rootSelector:i="",sheet:n}=e,o=`${i} ${(r=>r.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${s.join(";")}}`;return n[n.insertRule?"insertRule":"addRule"](o,n.cssRules.length)}function dn(e){let t=[];return e.forEach(s=>{var i;try{s.cssRules&&s.cssRules.length&&(t=t.concat(Gt(s.cssRules)))}catch(n){(i=H.console)==null||i.warn(`Error while reading rules from ${s.href}: ${n.toString()}`)}}),t}function cs(e){var t,s,i,n;return{x:((s=(t=H.pageXOffset)!=null?t:H.scrollX)!=null?s:0)+e.scrollLeft,y:((n=(i=H.pageYOffset)!=null?i:H.scrollY)!=null?n:0)+e.scrollTop}}function ds(e){const t=e?e.transform:null,s=t&&t.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oe(e){const t=e[0]instanceof Date,s=(t?e.map(Number):e).filter((i,n,a)=>a.indexOf(i)===n);return t?s.map(i=>new Date(i)):s}function Ie(e){return e&&e.length?e.reduce((t,s)=>t.concat(s)):[]}function qt(e,...t){if(!t.length||t.length===1&&!t[0])return e;const s=t.shift();return X(e)&&X(s)&&Object.keys(s).forEach(i=>{const n=s[i];X(n)?(!e[i]&&(e[i]={}),e[i]=qt(e[i],n)):e[i]=N(n)?n.concat():n}),qt(e,...t)}function Kt(e,t=!0){let s;return e[0]instanceof Date?s=t?(i,n)=>i-n:(i,n)=>n-i:t&&!e.every(isNaN)?s=(i,n)=>i-n:t||(s=(i,n)=>i>n&&-1||int(i));return s.length?L(s[0])?s=Math[e](...s):s[0]instanceof Date&&(s=Kt(s,e==="min")[0]):s=void 0,s}const ye=(e,t,s=1)=>{const i=[],n=Math.max(0,Math.ceil((t-e)/s))|0;for(let a=e;a{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,s,i=e())=>{t.dispatchEvent(new MouseEvent(s,i))}}catch(t){return(s,i,n=e())=>{const a=lt.createEvent("MouseEvent");a.initMouseEvent(i,n.bubbles,n.cancelable,H,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(a)}}})(),touch:(e,t,s)=>{const i=new Touch(qt({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[i],targetTouches:[],changedTouches:[i]}))}};function be(e,t){let s=e;for(const i in t)s=s.replace(new RegExp(`{=${i}}`,"g"),t[i]);return s}function mt(e){var t;let s;if(e instanceof Date)s=e;else if(V(e)){const{config:i,format:n}=this;s=(t=n.dataTime(i.data_xFormat)(e))!=null?t:new Date(e)}else L(e)&&!isNaN(e)&&(s=new Date(+e));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),s}function ce(){var e,t;return((e=lt)==null?void 0:e.hidden)===!1||((t=lt)==null?void 0:t.visibilityState)==="visible"}function hn(e,t){const{DocumentTouch:s,matchMedia:i,navigator:n}=H;let a=!1;if(t)if(n&&"maxTouchPoints"in n)a=n.maxTouchPoints>0;else if("ontouchmove"in H||s&< instanceof s)a=!0;else if(i!=null&&i("(pointer:coarse)").matches)a=!0;else{const r=n.userAgent;a=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(r)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(r)}return e&&((i==null?void 0:i("any-hover:hover").matches)||(i==null?void 0:i("any-pointer:fine").matches))&&"mouse"||a&&"touch"||"mouse"}function us(e,t){t()===!1?tn(()=>us(e,t)):e()}var gn=Object.defineProperty,hs=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,De=(e,t,s)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,gs=(e,t)=>{for(var s in t||(t={}))fn.call(t,s)&&De(e,s,t[s]);if(hs)for(var s of hs(t))pn.call(t,s)&&De(e,s,t[s]);return e},xn=(e,t,s)=>De(e,typeof t!="symbol"?t+"":t,s);const fs=class Li{static setOptions(t){this.data=t.reduce((s,i)=>gs(gs({},s),i),this.data)}constructor(){return rn(Wi,Yi,qi,ji,Ki,Hi,Ui,Zi,Li.data)}};xn(fs,"data",{});let Vt=fs;class _n{constructor(){return{chart:null,main:null,svg:null,axis:{x:null,y:null,y2:null,subX:null},axisTooltip:{x:null,y:null,y2:null},defs:null,tooltip:null,legend:null,title:null,subchart:{main:null,bar:null,line:null,area:null},arcs:null,bar:null,candlestick:null,line:null,area:null,circle:null,radar:null,text:null,grid:{main:null,x:null,y:null},gridLines:{main:null,x:null,y:null},region:{main:null,list:null},eventRect:null,zoomResetBtn:null}}}class mn{constructor(){return{width:0,width2:0,height:0,height2:0,margin:{top:0,bottom:0,left:0,right:0},margin2:{top:0,bottom:0,left:0,right:0},margin3:{top:0,bottom:0,left:0,right:0},arcWidth:0,arcHeight:0,xAxisHeight:0,hasAxis:!1,hasFunnel:!1,hasRadar:!1,hasTreemap:!1,cssRule:{},current:{domain:void 0,width:0,height:0,dataMax:0,maxTickSize:{x:{width:0,height:0,ticks:[],clipPath:0,domain:""},y:{width:0,height:0,domain:""},y2:{width:0,height:0,domain:""}},types:[],needle:void 0},isLegendRight:!1,isLegendInset:!1,isLegendTop:!1,isLegendLeft:!1,legendStep:0,legendItemWidth:0,legendItemHeight:0,legendHasRendered:!1,eventReceiver:{currentIdx:-1,rect:{},data:[],coords:[]},axis:{x:{padding:{left:0,right:0},tickCount:0}},rotatedPadding:{left:30,right:0,top:5},withoutFadeIn:{},inputType:"",datetimeId:"",clip:{id:"",idXAxis:"",idYAxis:"",idXAxisTickTexts:"",idGrid:"",idSubchart:"",path:"",pathXAxis:"",pathYAxis:"",pathXAxisTickTexts:"",pathGrid:""},event:null,dragStart:null,dragging:!1,flowing:!1,cancelClick:!1,mouseover:!1,rendered:!1,transiting:!1,redrawing:!1,resizing:!1,toggling:!1,zooming:!1,hasNegativeValue:!1,hasPositiveValue:!0,orgAreaOpacity:"0.2",orgConfig:{},hiddenTargetIds:[],hiddenLegendIds:[],focusedTargetIds:[],defocusedTargetIds:[],radius:0,innerRadius:0,outerRadius:void 0,innerRadiusRatio:0,gaugeArcWidth:0,radiusExpanded:0,xgridAttr:{x1:null,x2:null,y1:null,y2:null}}}}const ps={element:_n,state:mn};class $n{constructor(){Object.keys(ps).forEach(t=>{this[t]=new ps[t]})}getStore(t){return this[t]}}var yn=Object.defineProperty,bn=(e,t,s)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,vn=(e,t,s)=>bn(e,typeof t!="symbol"?t+"":t,s);const pt={bubbleBaseLength:"$baseLength",colorPattern:"__colorPattern__",dataMinMax:"$dataMinMax",dataTotalSum:"$dataTotalSum",dataTotalPerIndex:"$totalPerIndex",legendItemTextBox:"legendItemTextBox",radarPoints:"$radarPoints",radarTextWidth:"$radarTextWidth",setOverOut:"setOverOut",callOverOutForTouch:"callOverOutForTouch",textRect:"textRect"};class Tn{constructor(){vn(this,"cache",{})}add(t,s,i=!1){return this.cache[t]=i?this.cloneTarget(s):s,this.cache[t]}remove(t){(V(t)?[t]:t).forEach(s=>delete this.cache[s])}get(t,s=!1){if(s&&Array.isArray(t)){const i=[];for(let n=0,a;a=t[n];n++)a in this.cache&&i.push(this.cloneTarget(this.cache[a]));return i}else{const i=this.cache[t];return F(i)?i:null}}reset(t){const s=this;for(const i in s.cache)(t||/^\$/.test(i))&&(s.cache[i]=null)}cloneTarget(t){return{id:t.id,id_org:t.id_org,values:t.values.map(s=>({x:s.x,value:s.value,id:s.id}))}}}const E={AREA:"area",AREA_LINE_RANGE:"area-line-range",AREA_SPLINE:"area-spline",AREA_SPLINE_RANGE:"area-spline-range",AREA_STEP:"area-step",AREA_STEP_RANGE:"area-step-range",BAR:"bar",BUBBLE:"bubble",CANDLESTICK:"candlestick",DONUT:"donut",FUNNEL:"funnel",GAUGE:"gauge",LINE:"line",PIE:"pie",POLAR:"polar",RADAR:"radar",SCATTER:"scatter",SPLINE:"spline",STEP:"step",TREEMAP:"treemap"},ze={AREA:"initArea",AREA_LINE_RANGE:"initArea",AREA_SPLINE:"initArea",AREA_SPLINE_RANGE:"initArea",AREA_STEP:"initArea",AREA_STEP_RANGE:"initArea",BAR:"initBar",BUBBLE:"initCircle",CANDLESTICK:"initCandlestick",DONUT:"initArc",FUNNEL:"initFunnel",GAUGE:"initArc",LINE:"initLine",PIE:"initArc",POLAR:"initPolar",RADAR:"initCircle",SCATTER:"initCircle",SPLINE:"initLine",STEP:"initLine",TREEMAP:"initTreemap"},Ft={Area:[E.AREA,E.AREA_SPLINE,E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.AREA_STEP,E.AREA_STEP_RANGE],AreaRange:[E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.AREA_STEP_RANGE],Arc:[E.PIE,E.DONUT,E.GAUGE,E.POLAR,E.RADAR],Line:[E.LINE,E.SPLINE,E.AREA,E.AREA_SPLINE,E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.STEP,E.AREA_STEP,E.AREA_STEP_RANGE],Step:[E.STEP,E.AREA_STEP,E.AREA_STEP_RANGE],Spline:[E.SPLINE,E.AREA_SPLINE,E.AREA_SPLINE_RANGE]};function An(e){const t=e,{config:s}=t;let i="";if(Tt(s.data_type||s.data_types)&&!t[ze.LINE])i="line";else for(const n in ze){const a=E[n];if(t.hasType(a)&&!t[ze[n]]){i=a;break}}i&&wn(`Please, make sure if %c${ln(i)}`,"module has been imported and specified correctly.")}function wn(e,t){var s;const i="[billboard.js]";throw((s=H.console)==null?void 0:s.error)&&(console.error(`\u274C ${i} ${e}`,"background:red;color:white;display:block;font-size:15px",t),console.info("%c\u2139\uFE0F","font-size:15px","https://github.com/naver/billboard.js/wiki/CHANGELOG-v2#modularization-by-its-functionality")),Error(`${i} ${e.replace(/\%c([a-z-]+)/i,"'$1' ")} ${t}`)}const{setTimeout:Sn,clearTimeout:Rn}=H;function Cn(e){const t=[];let s;const i=function(){i.clear(),e===!1?es(()=>{t.forEach(n=>n())},{timeout:200}):s=Sn(()=>{t.forEach(n=>n())},L(e)?e:200)};return i.clear=()=>{s&&(Rn(s),s=null)},i.add=n=>t.push(n),i.remove=n=>t.splice(t.indexOf(n),1),i}function xs(){let e=[];const t=function(s,i){function n(){var a;let o=0;for(let r=0,l;l=e[r];r++){if(l===!0||(a=l.empty)!=null&&a.call(l)){o++;continue}if(ce()===!1){o=e.length;break}try{l.transition()}catch(c){o++}}return o===e.length}us(()=>{i==null||i()},n)};return t.add=function(s){N(s)?e=e.concat(s):e.push(s)},t}const Fe={};function En(e,t){var s;const i=e.toString(),n=i.replace(/(function|[\s\W\n])/g,"").substring(0,15);return n in Fe||(Fe[n]=new H.Blob([`${(s=t==null?void 0:t.map(String).join(";"))!=null?s:""} @@ -30,4 +30,4 @@ `;return`data:image/svg+xml;base64,${ga(d)}`}function pa(e,t){const{top:s,left:i}=t,{x:n,y:a}=e.getBBox(),{a:o,b:r,c:l,d:c,e:u,f:d}=e.getScreenCTM(),{width:h,height:g}=e.getBoundingClientRect();return{x:o*n+l*a+u-i,y:r*n+c*a+d-s+(g-Math.round(g/4)),width:h,height:g}}function xa(e){const{left:t,top:s}=e.getBoundingClientRect(),i=a=>a.textContent||a.childElementCount,n=[];return Gt(e.querySelectorAll("text")).filter(i).forEach(a=>{const o=r=>{const{fill:l,fontFamily:c,fontSize:u,textAnchor:d,transform:h}=H.getComputedStyle(r),{x:g,y:f,width:p,height:_}=pa(r,{left:t,top:s});return{[r.textContent]:{x:g,y:f,width:p,height:_,fill:l,fontFamily:c,fontSize:u,textAnchor:d,transform:h}}};if(a.childElementCount>1){const r=[];return Gt(a.querySelectorAll("tspan")).filter(i).forEach(l=>{n.push(o(l))}),r}else n.push(o(a))}),n}function _a(e,t){t.forEach(s=>{Object.keys(s).forEach(i=>{const{x:n,y:a,width:o,height:r,fill:l,fontFamily:c,fontSize:u,transform:d}=s[i];if(e.save(),e.font=`${u} ${c}`,e.fillStyle=l,d==="none")e.fillText(i,n,a);else{const h=d.replace(/(matrix|\(|\))/g,"").split(",");h.splice(4).every(g=>+g==0)?(h.push(n+o-o/4),h.push(a-r+r/3)):(h.push(n),h.push(a)),e.transform(...h),e.fillText(i,0,0)}e.restore()})})}var ma={export(e,t){const s=this.internal,{state:i,$el:{chart:n,svg:a}}=s,{width:o,height:r}=i.current,l=qt({width:o,height:r,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},e),c=fa(n.node(),l,{width:o,height:r}),u=l.preserveFontStyle?xa(a.node()):[];if(t&&P(t)){const d=new Image;d.crossOrigin="Anonymous",d.onload=()=>{const h=lt.createElement("canvas"),g=h.getContext("2d");h.width=l.width||o,h.height=l.height||r,g.drawImage(d,0,0),u.length&&(_a(g,u),u.length=0),t.bind(this)(h.toDataURL(l.mimeType))},d.src=c}return c}},$a={focus(e){const t=this.internal,{state:s}=t,i=t.mapToTargetIds(e),n=t.$el.svg.selectAll(t.selectorTargets(i.filter(t.isTargetToShow,t)));this.revert(),this.defocus(),n.classed(q.focused,!0).classed(q.defocused,!1),t.hasArcType()&&!s.hasRadar&&(t.expandArc(i),t.hasType("gauge")&&t.markOverlapped(e,t,`.${_t.gaugeValue}`)),t.toggleFocusLegend(i,!0),s.focusedTargetIds=i,s.defocusedTargetIds=s.defocusedTargetIds.filter(a=>i.indexOf(a)<0)},defocus(e){const t=this.internal,{state:s}=t,i=t.mapToTargetIds(e);t.$el.svg.selectAll(t.selectorTargets(i.filter(t.isTargetToShow,t))).classed(q.focused,!1).classed(q.defocused,!0),t.hasArcType(null,["polar"])&&(t.unexpandArc(i),t.hasType("gauge")&&t.undoMarkOverlapped(t,`.${_t.gaugeValue}`)),t.toggleFocusLegend(i,!1),s.focusedTargetIds=s.focusedTargetIds.filter(a=>i.indexOf(a)<0),s.defocusedTargetIds=i},revert(e){const t=this.internal,{config:s,state:i,$el:n}=t,a=t.mapToTargetIds(e);n.svg.selectAll(t.selectorTargets(a)).classed(q.focused,!1).classed(q.defocused,!1),t.hasArcType(null,["polar"])&&t.unexpandArc(a),s.legend_show&&(t.showLegend(a.filter(t.isLegendToShow.bind(t))),n.legend.selectAll(t.selectorLegends(a)).filter(function(){return(0,S.select)(this).classed(q.legendItemFocused)}).classed(q.legendItemFocused,!1)),i.focusedTargetIds=[],i.defocusedTargetIds=[]}},ya={legend:{show:function(e){const t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},hide:function(e){const t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})}}},ba={load(e){const t=this.internal,{config:s}=t;e.xs&&t.addXs(e.xs),"names"in e&&this.data.names(e.names),"classes"in e&&Object.keys(e.classes).forEach(i=>{s.data_classes[i]=e.classes[i]}),"categories"in e&&t.axis.isCategorized()&&(s.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(i=>{s.data_axes[i]=e.axes[i]}),"colors"in e&&Object.keys(e.colors).forEach(i=>{s.data_colors[i]=e.colors[i]}),"unload"in e&&e.unload!==!1?t.unload(t.mapToTargetIds(e.unload===!0?null:e.unload),()=>{es(()=>t.loadFromArgs(e))}):t.loadFromArgs(e)},unload(e){const t=this.internal;let s=e||{};Tt(s)&&this.tooltip.hide(),N(s)?s={ids:s}:V(s)&&(s={ids:[s]});const i=t.mapToTargetIds(s.ids);t.unload(i,()=>{t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),t.cache.remove(i),ys.call(t,s.done,s.resizeAfter)})}};function Ss(e,t,s){const i=this.internal,n=i.mapToTargetIds(t),a=i.state.hiddenTargetIds.map(l=>n.indexOf(l)>-1&&l).filter(Boolean);i.state.toggling=!0,i[`${e?"remove":"add"}HiddenTargetIds`](n);const o=i.$el.svg.selectAll(i.selectorTargets(n)),r=e?null:"0";e&&a.length&&(o.style("display",null),K(i.config.data_onshown,this,a)),i.$T(o).style("opacity",r,"important").call(me,()=>{!e&&a.length===0&&(o.style("display","none"),K(i.config.data_onhidden,this,n)),o.style("opacity",r)}),s.withLegend&&i[`${e?"show":"hide"}Legend`](n),i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),i.state.toggling=!1}var va={show(e,t={}){Ss.call(this,!0,e,t)},hide(e,t={}){Ss.call(this,!1,e,t)},toggle(e,t={}){const s=this.internal,i={show:[],hide:[]};s.mapToTargetIds(e).forEach(n=>i[s.isTargetToShow(n)?"hide":"show"].push(n)),i.show.length&&this.show(i.show,t),i.hide.length&&setTimeout(()=>this.hide(i.hide,t),0)}},Ta={tooltip:{show:function(e){var t,s,i;const n=this.internal,{$el:a,config:o,state:{eventReceiver:r,hasFunnel:l,hasTreemap:c,inputType:u}}=n;let d,h;if(e.mouse&&(h=e.mouse),e.data){const{data:g}=e,f=(t=n.getYScaleById(g.id))==null?void 0:t(g.value);if((l||c)&&g.id){const p=n.selectorTarget(g.id,void 0,`.${st.shape}`);r.rect=a.main.select(p)}else n.isMultipleX()?h=[n.xx(g),f]:(o.tooltip_grouped||(h=[0,f]),d=(i=g.index)!=null?i:n.hasArcType()&&g.id?(s=n.getArcElementByIdOrIndex(g.id))==null?void 0:s.datum().index:n.getIndexByX(g.x))}else W(e.x)?d=n.getIndexByX(e.x):W(e.index)&&(d=e.index);(u==="mouse"?["mouseover","mousemove"]:["touchstart"]).forEach(g=>{n.dispatchEvent(g,d,h)})},hide:function(){var e,t,s;const i=this.internal,{state:{inputType:n},$el:{tooltip:a}}=i,o=a==null?void 0:a.datum();if(o){const{index:r}=JSON.parse(o.current)[0];(n==="mouse"?["mouseout"]:["touchend"]).forEach(l=>{i.dispatchEvent(l,r)})}n==="touch"&&i.callOverOutForTouch(),i.hideTooltip(!0),(e=i.hideGridFocus)==null||e.call(i),(t=i.unexpandCircles)==null||t.call(i),(s=i.expandBarTypeShapes)==null||s.call(i,!1)}}},Aa=Object.defineProperty,wa=(e,t,s)=>t in e?Aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Rs=(e,t,s)=>wa(e,typeof t!="symbol"?t+"":t,s);class Xt{constructor(t){Rs(this,"plugins",[]),Rs(this,"internal");const s=new jt(this);this.internal=s,function i(n,a,o){Object.keys(n).forEach(r=>{const l=P(n[r]),c=a!==o,u=nt(n[r]),d=u&&Object.keys(n[r]).length>0;l&&(!c&&d||c)?a[r]=n[r].bind(o):u&&!l?a[r]={}:a[r]=n[r],d&&i(n[r],a[r],o)})}(Xt.prototype,this,this),ca.call(s,t),s.beforeInit(),s.init()}}ct(Xt.prototype,[da,ua,ha,ma,$a,ya,ba,va,Ta]);function Cs(e=!1,t,s,i){const n=this,{config:a,$el:{main:o}}=n,r=a.data_selection_grouped,l=a.data_selection_isselectable.bind(n.api);a.data_selection_enabled&&o.selectAll(`.${st.shapes}`).selectAll(`.${st.shape}`).each(function(c){const u=(0,S.select)(this),{id:d,index:h}=c.data?c.data:c,g=n.getToggle(this,c).bind(n),f=r||!t||t.indexOf(d)>=0,p=!s||s.indexOf(h)>=0,_=u.classed(J.SELECTED);u.classed(kt.line)||u.classed(fe.area)||(e?f&&p&&l(c)&&!_?g(!0,u.classed(J.SELECTED,!0),c,h):W(i)&&i&&_&&g(!1,u.classed(J.SELECTED,!1),c,h):f&&p&&l(c)&&_&&g(!1,u.classed(J.SELECTED,!1),c,h))})}var Sa={selected(e){const t=this.internal,s=[];return t.$el.main.selectAll(`.${st.shapes+t.getTargetSelectorSuffix(e)}`).selectAll(`.${st.shape}`).filter(function(){return(0,S.select)(this).classed(J.SELECTED)}).each(i=>s.push(i)),s},select(e,t,s){const i=this.internal;Cs.bind(i)(!0,e,t,s)},unselect(e,t){const s=this.internal;Cs.bind(s)(!1,e,t)}};const Es=function(e){var t;const s=this.internal,{axis:i,brush:n,config:a,scale:{x:o,subX:r},state:l}=s;let c;return a.subchart_show&&(c=e,Array.isArray(c)?(i.isTimeSeries()&&(c=c.map(d=>mt.bind(s)(d))),s.withinRange(c,s.getZoomDomain("subX",!0),s.getZoomDomain("subX"))&&(l.domain=c,n.move(n.getSelection(),c.map(r)))):c=(t=l.domain)!=null?t:o.orgDomain()),c};ct(Es,{show(){var e,t;const s=this.internal,{$el:{subchart:i},config:n}=s,a=n.subchart_show;if(!a){s.unbindZoomEvent(),n.subchart_show=!a,!i.main&&s.initSubchart();let o=i.main.selectAll(`.${z.target}`);s.data.targets.length!==o.size()&&(s.updateSizes(),s.updateTargetsForSubchart(s.data.targets),o=(e=i.main)==null?void 0:e.selectAll(`.${z.target}`)),o==null||o.style("opacity",null),(t=i.main)==null||t.style("display",null),this.resize()}},hide(){const e=this.internal,{$el:{subchart:{main:t}},config:s}=e;s.subchart_show&&(t==null?void 0:t.style("display"))!=="none"&&(s.subchart_show=!1,t.style("display","none"),this.resize())},toggle(){const e=this.internal,{config:t}=e;this.subchart[t.subchart_show?"hide":"show"]()},reset(){const e=this.internal,{brush:t}=e;t.clear(t.getSelection())}});var Ra={subchart:Es},St=U(10);const ks=function(e){var t;const s=this.internal,{axis:i,config:n,org:a,scale:o,state:r}=s,l=i.isCategorized();let c;if(n.zoom_enabled)if(c=e,Array.isArray(c)){if(i.isTimeSeries()&&(c=c.map(d=>mt.bind(s)(d))),s.withinRange(c,s.getZoomDomain("zoom",!0),s.getZoomDomain("zoom"))){if(r.domain=c,c=s.getZoomDomainValue(c),s.api.tooltip.hide(),n.subchart_show){const d=o.zoom||o.x;s.brush.getSelection().call(s.brush.move,c.map(d))}else{const d=l?o.x.orgScale():a.xScale||o.x;s.updateCurrentZoomTransform(d,c)}s.setZoomResetButton()}}else c=s.zoom.getDomain();return(t=r.domain)!=null?t:c};ct(ks,{enable(e){const t=this.internal,{config:s}=t;/^(drag|wheel)$/.test(e)&&(s.zoom_type=e),s.zoom_enabled=!!e,t.zoom?e===!1&&t.bindZoomEvent(!1):(t.initZoom(),t.bindZoomEvent()),t.updateAndRedraw()},max(e){const t=this.internal,{config:s,org:{xDomain:i}}=t;return(e===0||e)&&(s.zoom_x_max=At("max",[i[1],e])),s.zoom_x_max},min(e){const t=this.internal,{config:s,org:{xDomain:i}}=t;return(e===0||e)&&(s.zoom_x_min=At("min",[i[0],e])),s.zoom_x_min},range(e){const t=this.zoom;if(X(e)){const{min:s,max:i}=e;W(s)&&t.min(s),W(i)&&t.max(i)}return{min:t.min(),max:t.max()}}});var Ca={zoom:ks,unzoom(){const e=this.internal,{config:t,$el:{eventRect:s,zoomResetBtn:i},scale:{zoom:n},state:a}=e;n&&(t.subchart_show?e.brush.getSelection().call(e.brush.move,null):e.zoom.updateTransformScale(St.zoomIdentity),e.updateZoom(!0),i==null||i.style("display","none"),(0,St.zoomTransform)(s.node())!==St.zoomIdentity&&e.zoom.transform(s,St.zoomIdentity),a.domain=void 0)}},Ea={initBrush(){const e=this,{config:t,scale:s,$el:{subchart:i},state:n}=e,a=t.axis_rotated,o=t.subchart_size_height;let r,l,c;e.brush=(a?(0,xe.brushY)():(0,xe.brushX)()).handleSize(5),e.brush.on("start brush end",u=>{const{selection:d,sourceEvent:h,target:g,type:f}=u;f==="start"&&(e.state.inputType==="touch"&&e.hideTooltip(),l=h?d:null),/(start|brush)/.test(f)&&(f==="brush"&&h&&n.domain&&(l==null||l.forEach((p,_)=>{p!==d[_]&&(n.domain[_]=s.x.orgDomain()[_])})),e.redrawForBrush(f!=="start")),f==="end"&&(r=s.x.orgDomain()),g!=null&&g.handle&&(d===null?e.brush.handle.attr("display","none"):e.brush.handle.attr("display",null).attr("transform",(p,_)=>{const x=[d[_],o/2];return`translate(${a?x.reverse():x})`}))}),e.brush.updateResize=function(){c&&clearTimeout(c),c=setTimeout(()=>{const u=this.getSelection();r&&(0,xe.brushSelection)(u.node())&&this.move(u,r.map(s.subX.orgScale()))},0)},e.brush.update=function(){var u;return this.extent()()[1].filter(h=>isNaN(h)).length===0&&((u=i.main)==null||u.select(`.${B.brush}`).call(this)),this},e.brush.scale=function(u){const d=t.subchart_size_height;let h=e.getExtent();!h&&u.range?h=[[0,0],[u.range()[1],d]]:N(h)&&(h=h.map((g,f)=>[g,f>0?d:f])),a&&h[1].reverse(),this.extent(h),this.update()},e.brush.getSelection=()=>i.main?i.main.select(`.${B.brush}`):(0,S.select)([])},initSubchart(){const e=this,{config:t,state:{clip:s,hasAxis:i},$el:{defs:n,svg:a,subchart:o,axis:r}}=e;if(!i)return;const l=t.subchart_show?null:"hidden",c=`${s.id}-subchart`,u=e.getClipPath(c);s.idSubchart=c,e.appendClip(n,c),e.initBrush(),o.main=a.append("g").classed(B.subchart,!0).attr("transform",e.getTranslate("context"));const{main:d}=o;d.style("visibility",l),d.append("g").attr("clip-path",u).attr("class",B.chart),["bar","line","bubble","candlestick","scatter"].forEach(g=>{const f=ft(/^(bubble|scatter)$/.test(g)?"circle":g);if(e.hasType(g)||e.hasTypeOf(f)){const p=d.select(`.${B.chart}`),_=B[`chart${f}s`];p.select(`.${_}`).empty()&&p.append("g").attr("class",_)}});const h=d.append("g").attr("clip-path",u).attr("class",B.brush).call(e.brush);t.subchart_showHandle&&e.addBrushHandle(h),r.subX=d.append("g").attr("class",B.axisX).attr("transform",e.getTranslate("subX")).attr("clip-path",t.axis_rotated?"":s.pathXAxis).style("visibility",t.subchart_axis_x_show?l:"hidden")},addBrushHandle(e){const t=this,{config:s}=t,i=s.axis_rotated,n=s.subchart_init_range,a="handle--custom",o=i?["M8.5 0 a6 6 0 0 0 -6 -6.5 H-2.5 a 6 6 0 0 0 -6 6.5 z m-5 -2 H-3.5 m7 -2 H-3.5z","M8.5 0 a6 -6 0 0 1 -6 6.5 H-2.5 a 6 -6 0 0 1 -6 -6.5z m-5 2 H-3.5 m7 2 H-3.5z"]:["M0 -8.5 A6 6 0 0 0 -6.5 -3.5 V2.5 A6 6 0 0 0 0 8.5 Z M-2 -3.5 V3.5 M-4 -3.5 V3.5z","M0 -8.5 A6 6 0 0 1 6.5 -3.5 V2.5 A6 6 0 0 1 0 8.5 Z M2 -3.5 V3.5 M4 -3.5 V3.5z"];t.brush.handle=e.selectAll(`.${a}`).data(i?[{type:"n"},{type:"s"}]:[{type:"w"},{type:"e"}]).enter().append("path").attr("class",a).attr("cursor",`${i?"ns":"ew"}-resize`).attr("d",r=>o[+/[se]/.test(r.type)]).attr("display",n?null:"none")},updateTargetsForSubchart(e){const t=this,{config:s,state:i,$el:{subchart:{main:n}}}=t;s.subchart_show&&(["bar","line","bubble","candlestick","scatter"].filter(a=>t.hasType(a)||t.hasTypeOf(ft(a))).forEach(a=>{const o=/^(bubble|scatter)$/.test(a),r=ft(o?"circle":a),l=t.getChartClass(r,!0),c=t.getClass(o?"circles":`${a}s`,!0),u=n.select(`.${B[`chart${`${r}s`}`]}`);if(o){const d=u.selectAll(`.${B.circles}`).data(e.filter(t[`is${ft(a)}Type`].bind(t))).attr("class",c);d.exit().remove(),d.enter().append("g").attr("class",c)}else{const d=u.selectAll(`.${B[`chart${r}`]}`).attr("class",l).data(e.filter(t[`is${r}Type`].bind(t))),h=d.enter().append("g").style("opacity","0").attr("class",l).append("g").attr("class",c);d.exit().remove(),a==="line"&&t.hasTypeOf("Area")&&h.append("g").attr("class",t.getClass("areas",!0))}}),n.selectAll(`.${B.brush} rect`).attr(s.axis_rotated?"width":"height",s.axis_rotated?i.width2:i.height2))},redrawSubchart(e,t,s){var i;const n=this,{config:a,$el:{subchart:{main:o}},state:r}=n,l=!!t;if(o.style("visibility",a.subchart_show?null:"hidden"),a.subchart_show&&(((i=r.event)==null?void 0:i.type)==="zoom"&&n.brush.update(),e)){const c=a.subchart_init_range;if(!ls(n)&&n.brush.update(),Object.keys(s.type).forEach(u=>{const d=ft(u),h=n[`generateDraw${d}`](s.indices[u],!0);n[`update${d}`](l,!0),n[`redraw${d}`](h,l,!0)}),n.hasType("bubble")||n.hasType("scatter")){const{cx:u}=s.pos,d=n.updateCircleY(!0);n.updateCircle(!0),n.redrawCircle(u,d,l,void 0,!0)}!r.rendered&&c&&(r.domain=c,n.brush.move(n.brush.getSelection(),c.map(n.scale.x)))}},redrawForBrush(e=!0){var t;const s=this,{config:{subchart_onbrush:i,zoom_rescale:n},scale:a,state:o}=s;s.redraw({withTransition:!1,withY:n,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),e&&o.rendered&&i.bind(s.api)((t=o.domain)!=null?t:a.x.orgDomain())},transformContext(e,t){const s=this,{$el:{subchart:i},$T:n}=s,a=t!=null&&t.axisSubX?t.axisSubX:n(i.main.select(`.${B.axisX}`),e);i.main.attr("transform",s.getTranslate("context")),a.attr("transform",s.getTranslate("subX"))},getExtent(){const e=this,{config:t,scale:s}=e;let i=t.axis_x_extent;if(i){if(P(i))i=i.bind(e.api)(e.getXDomain(e.data.targets),s.subX);else if(e.axis.isTimeSeries()&&i.every(isNaN)){const n=mt.bind(e);i=i.map(a=>s.subX(n(a)))}}return i}},ka={initZoom(){const e=this;e.scale.zoom=null,e.generateZoom(),e.initZoomBehaviour()},bindZoomEvent(e=!0){const t=this,{config:s}=t;s.zoom_enabled&&e?!s.subchart_show&&t.bindZoomOnEventRect():e===!1&&(t.api.unzoom(),t.unbindZoomEvent())},generateZoom(){const e=this,{config:t,org:s,scale:i}=e,n=(0,St.zoom)().duration(0).on("start",e.onZoomStart.bind(e)).on("zoom",e.onZoom.bind(e)).on("end",e.onZoomEnd.bind(e));n.orgScaleExtent=()=>{const a=t.zoom_extent||[1,10];return[a[0],Math.max(e.getMaxDataCount()/a[1],a[1])]},n.updateScaleExtent=function(){const a=Nt(e.scale.x.orgDomain())/Nt(e.getZoomDomain()),o=this.orgScaleExtent();return this.scaleExtent([o[0]*a,o[1]*a]),this},n.updateTransformScale=(a,o)=>{var r;const l=t.axis_rotated;(r=s.xScale)==null||r.range(i.x.range());const c=a[l?"rescaleY":"rescaleX"](s.xScale||i.x),u=e.trimXDomain(c.domain()),d=t.zoom_rescale;if(c.domain(u,s.xDomain),o){const h=c(i.x.domain()[0]),g=l?a.x:h,f=l?h:a.y;e.$el.eventRect.property("__zoom",St.zoomIdentity.translate(g,f).scale(a.k))}e.state.xTickOffset||(e.state.xTickOffset=e.axis.x.tickOffset()),i.zoom=e.getCustomizedXScale(c),e.axis.x.scale(i.zoom),d?(!s.xScale&&(s.xScale=i.x.copy()),i.x.domain(u)):s.xScale&&(i.x.domain(s.xScale.domain()),s.xScale=null)},n.getDomain=()=>{const a=i[i.zoom?"zoom":"subX"].domain();return e.axis.isCategorized()&&(a[1]-=2),a},e.zoom=n},onZoomStart(e){const t=this,{sourceEvent:s}=e;s&&(t.zoom.startEvent=s,t.state.zooming=!0,K(t.config.zoom_onzoomstart,t.api,e))},onZoom(e){var t;const s=this,{config:i,scale:n,state:a,org:o}=s,{sourceEvent:r}=e,l=(e==null?void 0:e.transform)===St.zoomIdentity;if(!i.zoom_enabled||s.filterTargetsToShow(s.data.targets).length===0||!n.zoom&&(r==null?void 0:r.type.indexOf("touch"))>-1&&(r==null?void 0:r.touches.length)===1)return;e.sourceEvent&&(a.zooming=!0,a.domain=void 0);const c=(r==null?void 0:r.type)==="mousemove",u=(r==null?void 0:r.wheelDelta)<0,{transform:d}=e;!c&&u&&n.x.domain().every((g,f)=>g!==o.xDomain[f])&&n.x.domain(o.xDomain),s.zoom.updateTransformScale(d,i.zoom_type==="wheel"&&r);const h=i.transition_duration>0&&!i.subchart_show&&(a.dragging||l||!e.sourceEvent);s.redraw({withTransition:h,withY:i.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),s.state.cancelClick=c,!l&&K(i.zoom_onzoom,s.api,(t=s.state.domain)!=null?t:s.zoom.getDomain())},onZoomEnd(e){var t,s;const i=this,{config:n,state:a}=i;let{startEvent:o}=i.zoom,r=e==null?void 0:e.sourceEvent;const l=(e==null?void 0:e.transform)===St.zoomIdentity;(o==null?void 0:o.type.indexOf("touch"))>-1&&(o=o.changedTouches[0],r=(t=r==null?void 0:r.changedTouches)==null?void 0:t[0]),!(n.zoom_type==="drag"&&r&&o.clientX===r.clientX&&o.clientY===r.clientY)&&(a.zooming=!1,i.redrawEventRect(),i.updateZoom(),!l&&(r||a.dragging)&&K(n.zoom_onzoomend,i.api,(s=i.state.domain)!=null?s:i.zoom.getDomain()))},updateZoom(e){const t=this,{subX:s,x:i,zoom:n}=t.scale;if(n){const a=n.domain(),o=s.domain(),r=.015,l=t.config.axis_x_inverted?(a[0]>=o[0]||a[0]+r>=o[0])&&(o[1]>=a[1]||o[1]>=a[1]+r):(a[0]<=o[0]||a[0]-r<=o[0])&&(o[1]<=a[1]||o[1]<=a[1]-r);(e||l)&&(t.axis.x.scale(s),i.domain(s.orgDomain()),t.scale.zoom=null)}},updateCurrentZoomTransform(e,t){const s=this,{$el:{eventRect:i},config:n}=s,a=n.axis_rotated,o=[-e(t[0]),0],r=St.zoomIdentity.scale(e.range()[1]/(e(t[1])-e(t[0]))).translate(...a?o.reverse():o);i.call(s.zoom.transform,r)},bindZoomOnEventRect(){const e=this,{config:t,$el:{eventRect:s,svg:i}}=e,n=t.zoom_type==="drag"?e.zoomBehaviour:e.zoom;H.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test(navigator.userAgent)&&i.on("wheel",()=>{}),s==null||s.call(n).on("dblclick.zoom",null)},initZoomBehaviour(){const e=this,{config:t,state:s}=e,i=t.axis_rotated;let n=0,a=0,o;const r={axis:i?"y":"x",attr:i?"height":"width",index:i?1:0};e.zoomBehaviour=(0,bs.drag)().clickDistance(4).on("start",function(l){s.event=l,e.setDragStatus(!0),e.unselectRect(),o||(o=e.$el.main.append("rect").attr("clip-path",s.clip.path).attr("class",Ee.zoomBrush).attr("width",i?s.width:0).attr("height",i?0:s.height)),n=$t(l,this)[r.index],a=n,o.attr(r.axis,n).attr(r.attr,0),e.onZoomStart(l)}).on("drag",function(l){a=$t(l,this)[r.index],o.attr(r.axis,Math.min(n,a)).attr(r.attr,Math.abs(a-n))}).on("end",l=>{const c=e.scale.zoom||e.scale.x;s.event=l,o.attr(r.axis,0).attr(r.attr,0),n>a&&([n,a]=[a,n]),n<0&&(a+=Math.abs(n),n=0),n!==a&&e.api.zoom([n,a].map(u=>c.invert(u))),e.setDragStatus(!1)})},setZoomResetButton(){const e=this,{config:t,$el:s}=e,i=t.zoom_resetButton;i&&t.zoom_type==="drag"&&(s.zoomResetBtn?s.zoomResetBtn.style("display",null):s.zoomResetBtn=e.$el.chart.append("div").classed(z.button,!0).append("span").on("click",function(){P(i.onclick)&&i.onclick.bind(e.api)(this),e.api.unzoom()}).classed(Ee.buttonZoomReset,!0).text(i.text||"Reset Zoom"))},getZoomTransform(){const e=this,{$el:{eventRect:t}}=e;return t!=null&&t.node()?(0,St.zoomTransform)(t.node()):{k:1}}},La={drag(e){const t=this,{config:s,state:i,$el:{main:n}}=t,a=s.data_selection_grouped,o=s.interaction_enabled&&s.data_selection_isselectable;if(t.hasArcType()||!s.data_selection_enabled||s.zoom_enabled&&!t.zoom.altDomain||!s.data_selection_multiple)return;const[r,l]=i.dragStart||[0,0],[c,u]=e,d=Math.min(r,c),h=Math.max(r,c),g=a?i.margin.top:Math.min(l,u),f=a?i.height:Math.max(l,u);n.select(`.${Bt.dragarea}`).attr("x",d).attr("y",g).attr("width",h-d).attr("height",f-g),n.selectAll(`.${st.shapes}`).selectAll(`.${st.shape}`).filter(p=>o==null?void 0:o.bind(t.api)(p)).each(function(p,_){const x=(0,S.select)(this),m=x.classed(J.SELECTED),$=x.classed(Bt.INCLUDED);let b=!1,A;if(x.classed(ut.circle)){const y=+x.attr("cx")*1,v=+x.attr("cy")*1;A=t.togglePoint,b=dt in e?Pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Fa=(e,t)=>{for(var s in t||(t={}))Da.call(t,s)&&Ps(e,s,t[s]);if(Ls)for(var s of Ls(t))za.call(t,s)&&Ps(e,s,t[s]);return e},Ma=(e,t)=>Oa(e,Ia(t)),Xa=Ma(Fa({},La),{selectPoint(e,t,s){const i=this,{config:n,$el:{main:a},$T:o}=i,r=n.axis_rotated,l=(r?i.circleY:i.circleX).bind(i),c=(r?i.circleX:i.circleY).bind(i),u=i.pointSelectR.bind(i);K(n.data_onselected,i.api,t,e.node()),o(a.select(`.${J.selectedCircles}${i.getTargetSelectorSuffix(t.id)}`).selectAll(`.${J.selectedCircle}-${s}`).data([t]).enter().append("circle").attr("class",()=>i.generateClass(J.selectedCircle,s)).attr("cx",l).attr("cy",c).attr("stroke",i.color).attr("r",d=>i.pointSelectR(d)*1.4)).attr("r",u)},unselectPoint(e,t,s){const i=this,{config:n,$el:{main:a},$T:o}=i;K(n.data_onunselected,i.api,t,e==null?void 0:e.node()),o(a.select(`.${J.selectedCircles}${i.getTargetSelectorSuffix(t.id)}`).selectAll(`.${J.selectedCircle}-${s}`)).attr("r",0).remove()},togglePoint(e,t,s,i){this[`${e?"":"un"}selectPoint`](t,s,i)},selectPath(e,t){const s=this,{config:i}=s;K(i.data_onselected,s.api,t,e.node()),i.interaction_brighten&&e.style("filter","brightness(1.25)")},unselectPath(e,t){const s=this,{config:i}=s;K(i.data_onunselected,s.api,t,e.node()),i.interaction_brighten&&e.style("filter",null)},togglePath(e,t,s,i){this[`${e?"":"un"}selectPath`](t,s,i)},getToggle(e,t){const s=this;return e.nodeName==="path"?s.togglePath:s.isStepType(t)?()=>{}:s.togglePoint},toggleShape(e,t,s){var i;const n=this,{config:a,$el:{main:o}}=n;if(a.data_selection_enabled&&a.data_selection_isselectable.bind(n.api)(t)){const r=(0,S.select)(e),l=r.classed(J.SELECTED),c=n.getToggle(e,t).bind(n);let u;if(!a.data_selection_multiple){const d=(i=n.isPointFocusOnly)==null?void 0:i.call(n);let h=`.${d?J.selectedCircles:st.shapes}`;a.data_selection_grouped&&(h+=n.getTargetSelectorSuffix(t.id)),o.selectAll(h).selectAll(d?`.${J.selectedCircle}`:`.${st.shape}.${J.SELECTED}`).classed(J.SELECTED,!1).each(function(g){const f=(0,S.select)(this);u=f,c(!1,f,g,g.index)})}(!u||u.node()!==r.node())&&(r.classed(J.SELECTED,!l),c(!l,r,t,s))}}}),Ba={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},Na={subchart_show:!1,subchart_showHandle:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_axis_x_tick_show:!0,subchart_axis_x_tick_format:void 0,subchart_axis_x_tick_text_show:!0,subchart_init_range:void 0,subchart_onbrush:()=>{}},Ga={zoom_enabled:!1,zoom_type:"wheel",zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:void 0,zoom_onzoomstart:void 0,zoom_onzoomend:void 0,zoom_resetButton:!0,zoom_x_min:void 0,zoom_x_max:void 0};let Os=()=>(ct(jt.prototype,Xa),ct(Xt.prototype,Sa),Vt.setOptions([Ba]),(Os=()=>!0)()),Is=()=>(ct(jt.prototype,Ea),ct(Xt.prototype,Ra),Vt.setOptions([Na]),(Is=()=>!0)()),Ds=()=>(ct(jt.prototype,ka),ct(Xt.prototype,Ca),Vt.setOptions([Ga]),(Ds=()=>!0)());function zs(e,t,s){const{config:i}=e,n=(a,o)=>{const r=L(o)?o:o===!1?void 0:null;r!==null&&(i[`axis_${a}_${t}`]=r)};W(s)&&(wt(s)?Object.keys(s).forEach(a=>{n(a,s[a])}):(L(s)||s===!1)&&["y","y2"].forEach(a=>{n(a,s)}),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function Fs(e,t){const{config:s}=e;return{x:s[`axis_x_${t}`],y:s[`axis_y_${t}`],y2:s[`axis_y2_${t}`]}}var Va={axis:{labels:function(e){const t=this.internal;let s;return e&&(Object.keys(e).forEach(i=>{t.axis.setLabelText(i,e[i])}),t.axis.updateLabels()),["x","y","y2"].forEach(i=>{const n=t.axis.getLabelText(i);n&&(!s&&(s={}),s[i]=n)}),s},min:function(e){const t=this.internal;return F(e)||e===!1?zs(t,"min",e):Fs(t,"min")},max:function(e){const t=this.internal;return F(e)||e===!1?zs(t,"max",e):Fs(t,"max")},range:function(e){const{axis:t}=this;if(arguments.length){const{min:s,max:i}=e;W(i)&&t.max(i),W(s)&&t.min(s)}else return{max:t.max(),min:t.min()}}}},Ya={category(e,t){const s=this.internal,{config:i}=s;return arguments.length>1&&(i.axis_x_categories[e]=t,s.redraw()),i.axis_x_categories[e]},categories(e){const t=this.internal,{config:s}=t;if(!e||!Array.isArray(e)){const i=s.axis_x_categories;return Tt(i)?Object.values(t.data.xs)[0]:i}return s.axis_x_categories=e,t.redraw(),s.axis_x_categories}},ja={flow(e){const t=this.internal;let s;(e.json||e.rows||e.columns)&&t.convertData(e,n=>{s=n,i()});function i(){let n,a=0,o=0,r,l;if(t.state.redrawing||!s||!ce())return;const c=[],u=t.getMaxDataCount(),d=t.convertDataToTargets(s,!0),h=t.axis.isTimeSeries();t.data.targets.forEach(p=>{let _=!1;for(let x=0;x{for(let _=0;_{const _=[];for(let x=t.data.targets[0].values[0].index;x{x.index+=o,h||(x.x+=o)}),p.values=_.concat(p.values)}),t.data.targets=t.data.targets.concat(d);const g=t.data.targets[0],f=g.values[0];W(e.to)?(a=0,l=h?mt.call(t,e.to):e.to,g.values.forEach(p=>{p.x1?g.values[g.values.length-1].x-f.x:f.x-t.getXDomain(t.data.targets)[0]:r=1,n=[f.x-r,f.x]),n&&t.updateXDomain(null,!0,!0,!1,n),t.updateTargets(t.data.targets),t.redraw({flow:{index:f.index,length:a,duration:F(e.duration)?e.duration:t.config.transition_duration,done:e.done,orgDataCount:u},withLegend:!0,withTransition:u>1,withTrimXDomain:!1,withUpdateXAxis:!0})}}};function Ge(e,t){const s=this.internal,{config:i}=s,n=i.transition_duration&&ce(),a=`grid_${t}_lines`;return e&&(i[a]=e,s.updateGrid(),s.redrawGrid(n)),i[a]}function Ms(e,t){const s=`grid_${t}_lines`;return Ge.bind(this)(this.internal.config[s].concat(e||[]),t)}function Xs(e,t){this.internal.removeGridLines(e,t)}const Bs=function(e){return Ge.bind(this)(e,"x")};ct(Bs,{add(e){return Ms.bind(this)(e,"x")},remove(e){return Xs.bind(this)(e,!0)}});const Ns=function(e){return Ge.bind(this)(e,"y")};ct(Ns,{add(e){return Ms.bind(this)(e,"y")},remove(e){return Xs.bind(this)(e,!1)}});var Ha={xgrids:Bs,ygrids:Ns},Wa={groups(e){const t=this.internal,{config:s}=t;return it(e)||(s.data_groups=e,t.redraw()),s.data_groups}};function Gs(e,t=!1){const s=this.internal,{config:i}=s,n=i.transition_duration&&ce();return e?(i.regions=t?i.regions.concat(e):e,s.updateRegion(),s.redrawRegion(n),t?i.regions:e):i.regions}const Vs=function(e){return Gs.bind(this)(e)};ct(Vs,{add:function(e){return Gs.bind(this)(e,!0)},remove:function(e){const t=this.internal,{config:s,$T:i}=t,n=e||{},a=zt(n,"classes",[re.region]);let o=t.$el.main.select(`.${re.regions}`).selectAll(a.map(r=>`.${r}`));return i(o).style("opacity","0").remove(),o=s.regions,Object.keys(n).length?(o=o.filter(r=>{let l=!1;return r.class?(r.class.split(" ").forEach(c=>{a.indexOf(c)>=0&&(l=!0)}),!l):!0}),s.regions=o):s.regions=[],o}});var Ua={regions:Vs},Za={x(e){const t=this.internal,{axis:s,data:i}=t,n=s.isCustomX()&&s.isCategorized();return N(e)&&(n?this.categories(e):(t.updateTargetX(i.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))),n?this.categories():i.xs},xs(e){const t=this.internal;return X(e)&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs}},Jt=U(11),qa=Object.defineProperty,Ka=(e,t,s)=>t in e?qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ve=(e,t,s)=>Ka(e,typeof t!="symbol"?t+"":t,s);class Ys{constructor(t){Ve(this,"owner"),Ve(this,"config"),Ve(this,"scale");const s=Yt(),{config:i,params:n}=t;this.owner=t,this.config=i,this.scale=s,(i.noTransition||!n.config.transition_duration)&&(i.withoutTransition=!0),i.range=this.scaleExtent((n.orgXScale||s).range())}static getSizeFor1Char(t){const s={w:5.5,h:11.5};return!t.empty()&&t.select("text").text("0").call(i=>{try{const{width:n,height:a}=i.node().getBBox();n&&a&&(s.w=n,s.h=a)}catch(n){}finally{i.text("")}}),this.getSizeFor1Char=()=>s,s}getTickTransformSetter(t){const{config:s}=this,i=t==="x"?n=>`translate(${n+s.tickOffset},0)`:n=>`translate(0,${n})`;return(n,a)=>{n.attr("transform",o=>F(o)?i(Math.ceil(a(o))):null)}}scaleExtent(t){const s=t[0],i=t[t.length-1];return s0?n:1,a]).range(t.range());o=l.ticks();for(let c=a.toFixed().length;o.length>15;c--)o=l.ticks(c);o.splice(0,1,n),o.splice(o.length-1,1,a)}else o=t.ticks(...this.config.tickArguments||[]);o=o.map(l=>V(l)&&L(l)&&!isNaN(l)&&Math.round(l*10)/10||l)}return o}copyScale(){const t=this.scale.copy();return t.domain().length||t.domain(this.scale.domain()),t.type=this.scale.type,t}textFormatted(t){const s=this.config.tickFormat,i=/\d+\.\d+0{5,}\d$/.test(t)?+String(t).replace(/0+\d$/,""):t,n=s?s(i):i;return W(n)?n:""}transitionise(t){const{config:s}=this;let i=t;if(s.withoutTransition)i=t.interrupt();else if(s.transition||!this.owner.params.noTransition)try{i=t.transition(s.transition)}catch(n){}return i}}var Ja=Object.defineProperty,Qa=(e,t,s)=>t in e?Ja(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,de=(e,t,s)=>Qa(e,typeof t!="symbol"?t+"":t,s);class to{constructor(t={}){de(this,"helper"),de(this,"config"),de(this,"params"),de(this,"g"),de(this,"generatedTicks");const s={innerTickSize:6,outerTickSize:t.outerTick?6:0,orient:"bottom",range:[],tickArguments:null,tickCentered:null,tickCulling:!0,tickFormat:null,tickLength:9,tickOffset:0,tickPadding:3,tickValues:null,transition:null,noTransition:t.noTransition};s.tickLength=Math.max(s.innerTickSize,0)+s.tickPadding,this.config=s,this.params=t,this.helper=new Ys(this)}create(t){const s=this,{config:i,helper:n,params:a}=s,{scale:o}=n,{orient:r}=i,l=this.splitTickText.bind(s),c=/^(left|right)$/.test(r),u=/^(top|bottom)$/.test(r),d=n.getTickTransformSetter(u?"x":"y"),h=d===n.axisX?"y":"x",g=/^(top|left)$/.test(r)?-1:1,f=a.tickTextRotate;this.config.range=o.rangeExtent?o.rangeExtent():n.scaleExtent((a.orgXScale||o).range());const{innerTickSize:p,tickLength:_,range:x}=i,m=a.id,$=m&&/^(x|y|y2)$/.test(m)?a.config[`axis_${m}_tick_text_position`]:{x:0,y:0},b=m==="subX"?"subchart_axis_x":`axis_${m}`,A=a.config[`${b}_show`],y={tick:A?a.config[`${b}_tick_show`]:!1,text:A?a.config[`${b}_tick_text_show`]:!1};let v;t.each(function(){const R=(0,S.select)(this);let w=this.__chart__||o,T=n.copyScale();v=R,this.__chart__=T,i.tickOffset=a.isCategory?Math.ceil((T(1)-T(0))/2):0;const C=R.selectAll(".domain").data([0]);if(C.enter().append("path").attr("class","domain").merge(C).attr("d",()=>{const I=i.outerTickSize*g;return u?`M${x[0]},${I}V0H${x[1]}V${I}`:`M${I},${x[0]}H0V${x[1]}H${I}`}),y.tick||y.text){const I=i.tickValues||n.generateTicks(T,c);s.generatedTicks=I;let k=R.selectAll(".tick").data(I,T);const O=k.enter().insert("g",".domain").attr("class","tick"),M=k.exit().remove();k=O.merge(k),y.tick&&O.append("line"),y.text&&O.append("text");const Y=Ys.getSizeFor1Char(k),Q=[];let rt=k.select("text").selectAll("tspan").data((at,Ct)=>{const Wt=a.tickMultiline?l(at,T,I,c,Y.w):N(n.textFormatted(at))?n.textFormatted(at).concat():[n.textFormatted(at)];return Q[Ct]=Wt.length,Wt.map(Ut=>({index:Ct,splitted:Ut}))});rt.exit().remove(),rt=rt.enter().append("tspan").merge(rt).text(at=>at.splitted),rt.attr("x",u?0:_*g).attr("dx",(()=>{let at=0;return/(top|bottom)/.test(r)&&f&&(at=8*Math.sin(Math.PI*(f/180))*(r==="top"?-1:1)),at+($.x||0)})()).attr("dy",(at,Ct)=>{const Wt=".71em";let Ut=0;return r!=="top"&&(Ut=Y.h,Ct===0&&(Ut=c?-((Q[at.index]-1)*(Y.h/2)-3):$.y===0?Wt:0)),L(Ut)&&$.y?Ut+$.y:Ut||Wt});const yt=k.select("line"),Rt=k.select("text");if(O.select("line").attr(`${h}2`,p*g),O.select("text").attr(h,_*g),s.setTickLineTextPosition(yt,Rt),a.tickTitle){const at=Rt.select("title");(at.empty()?Rt.append("title"):at).text(Ct=>a.tickTitle[Ct])}if(T.bandwidth){const at=T,Ct=at.bandwidth()/2;w=Wt=>at(Wt)+Ct,T=w}else w.bandwidth?w=T:d(M,T);k=a.owner.state.flowing?n.transitionise(k):a.owner.$T(k),d(O,w),d(k.style("opacity",null),T)}}),this.g=v}getGeneratedTicks(t){var s;const i=((s=this.generatedTicks)==null?void 0:s.length)-1;let n=this.generatedTicks;if(i>t){const a=Math.round(i/t+.1);n=this.generatedTicks.map((o,r)=>r%a===0?o:null).filter(o=>o!==null).splice(0,t)}return n}getTickXY(){const{config:t}=this,s={x:0,y:0};return this.params.isCategory&&(s.x=t.tickCentered?0:t.tickOffset,s.y=t.tickCentered?t.tickOffset:0),s}getTickSize(t){const{scale:s}=this.helper,{config:i}=this,{innerTickSize:n,range:a}=i,o=s(t)+(i.tickCentered?0:i.tickOffset);return a[0]{const p=["start","end"];return a==="top"&&p.reverse(),f?p[f>0?0:1]:"middle"},u=f=>f?`rotate(${f})`:null,d=f=>{const p=f/(a==="bottom"?15:23);return f?11.5-2.5*p*(f>0?1:-1):o},{config:{axis_rotated:h,axis_x_tick_text_inner:g}}=this.params.owner;switch(a){case"bottom":t.attr("x1",i.x).attr("x2",i.x).attr("y2",this.getTickSize.bind(this)),s.attr("x",0).attr("y",d(l)).style("text-anchor",c(l)).style("text-anchor",(f,p,{length:_})=>!h&&p===0&&(g===!0||g.first)?"start":!h&&p===_-1&&(g===!0||g.last)?"end":c(l)).attr("transform",u(l));break;case"top":t.attr("x2",0).attr("y2",-n),s.attr("x",0).attr("y",-d(l)*2).style("text-anchor",c(l)).attr("transform",u(l));break;case"left":t.attr("x2",-n).attr("y1",i.y).attr("y2",i.y),s.attr("x",-o).attr("y",r).style("text-anchor","end");break;case"right":t.attr("x2",n).attr("y2",0),s.attr("x",o).attr("y",0).style("text-anchor","start")}}splitTickText(t,s,i,n,a){const{params:o}=this,r=this.helper.textFormatted(t),l=V(r)&&r.indexOf(` `)>-1?r.split(` `):[];if(l.length)return l;if(N(r))return r;let c=o.tickWidth;(!c||c<=0)&&(c=n?95:o.isCategory?Math.ceil(o.isInverted?s(i[0])-s(i[1]):s(i[1])-s(i[0]))-12:110);function u(d,h){let g,f,p;for(let _=1;_{const g=d+1;return gt(this.helper.scale.domain());else{if(!arguments.length)return s.tickValues;s.tickValues=t}return this}setTransition(t){return this.config.transition=t,this}}var eo=Object.defineProperty,so=(e,t,s)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Pt=(e,t,s)=>so(e,typeof t!="symbol"?t+"":t,s),io={getAxisInstance:function(){return this.axis||new no(this)}};class no{constructor(t){Pt(this,"owner"),Pt(this,"x"),Pt(this,"subX"),Pt(this,"y"),Pt(this,"y2"),Pt(this,"axesList",{}),Pt(this,"tick",{x:null,y:null,y2:null}),Pt(this,"xs",[]),Pt(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=t,this.setOrient()}getAxisClassName(t){return`${ot.axis} ${ot[`axis${ft(t)}`]}`}isHorizontal(t,s){const i=t.config.axis_rotated;return s?i:!i}isCategorized(){const{config:t,state:s}=this.owner;return t.axis_x_type.indexOf("category")>=0||s.hasRadar}isCustomX(){const{config:t}=this.owner;return!this.isTimeSeries()&&(t.data_x||nt(t.data_xs))}isTimeSeries(t="x"){return this.owner.config[`axis_${t}_type`]==="timeseries"}isLog(t="x"){return this.owner.config[`axis_${t}_type`]==="log"}isTimeSeriesY(){return this.isTimeSeries("y")}getAxisType(t="x"){let s="linear";return this.isTimeSeries(t)?s=this.owner.config.axis_x_localtime?"time":"utc":this.isLog(t)&&(s="log"),s}init(){const t=this.owner,{config:s,$el:{main:i,axis:n},state:{clip:a}}=t,o=s.axis_rotated,r=["x","y"];s.axis_y2_show&&r.push("y2"),r.forEach(l=>{const c=this.getAxisClassName(l),u=ot[`axis${l.toUpperCase()}Label`];n[l]=i.append("g").attr("class",c).attr("clip-path",()=>{let d=null;return l==="x"?d=a.pathXAxis:l==="y"&&(d=a.pathYAxis),d}).attr("transform",t.getTranslate(l)).style("visibility",s[`axis_${l}_show`]?null:"hidden"),n[l].append("text").attr("class",u).attr("transform",["rotate(-90)",null][l==="x"?+!o:+o]).style("text-anchor",()=>this.textAnchorForAxisLabel(l)),this.generateAxes(l)}),s.axis_tooltip&&this.setAxisTooltip()}setOrient(){const t=this.owner,{axis_rotated:s,axis_y_inner:i,axis_y2_inner:n}=t.config;this.orient={x:s?"left":"bottom",y:s?i?"top":"bottom":i?"right":"left",y2:s?n?"bottom":"top":n?"left":"right",subX:s?"left":"bottom"}}generateAxes(t){const s=this.owner,{config:i}=s,n=[],a=i[`axis_${t}_axes`],o=i.axis_rotated;let r;t==="x"?r=o?Jt.axisLeft:Jt.axisBottom:t==="y"?r=o?Jt.axisBottom:Jt.axisLeft:t==="y2"&&(r=o?Jt.axisTop:Jt.axisRight),a.length&&a.forEach(l=>{const c=l.tick||{},u=s.scale[t].copy();l.domain&&u.domain(l.domain),n.push(r(u).ticks(c.count).tickFormat(P(c.format)?c.format.bind(s.api):d=>d).tickValues(c.values).tickSizeOuter(c.outer===!1?0:6))}),this.axesList[t]=n}updateAxes(){const t=this.owner,{config:s,$el:{main:i},$T:n}=t;Object.keys(this.axesList).forEach(a=>{const o=s[`axis_${a}_axes`],r=t.scale[a].copy(),l=r.range();this.axesList[a].forEach((c,u)=>{const d=c.scale().range();l.every((f,p)=>f===d[p])||c.scale().range(l);const h=`${this.getAxisClassName(a)}-${u+1}`;let g=i.select(`.${h.replace(/\s/,".")}`);g.empty()?g=i.append("g").attr("class",h).style("visibility",s[`axis_${a}_show`]?null:"hidden").call(c):(o[u].domain&&r.domain(o[u].domain),n(g).call(c.scale(r))),g.attr("transform",t.getTranslate(a,u+1))})})}setAxis(t,s,i,n){const a=this.owner;t!=="subX"&&(this.tick[t]=this.getTickValues(t)),this[t]=this.getAxis(t,s,i,t==="x"&&(a.scale.zoom||a.config.subchart_show||a.state.resizing)?!0:n)}getAxis(t,s,i,n,a){const o=this.owner,{config:r}=o,l=/^(x|subX)$/.test(t),c=l?"x":t,u=l&&this.isCategorized(),d=this.orient[t],h=a?0:o.getAxisTickRotate(c);let g;if(l)g=t==="subX"?o.format.subXAxisTick:o.format.xAxisTick;else{const m=r[`axis_${t}_tick_format`];P(m)&&(g=m.bind(o.api))}let f=this.tick[c];const p=qt({outerTick:i,noTransition:n,config:r,id:t,tickTextRotate:h,owner:o},l&&{isCategory:u,isInverted:r.axis_x_inverted,tickMultiline:r.axis_x_tick_multiline,tickWidth:r.axis_x_tick_width,tickTitle:u&&r.axis_x_tick_tooltip&&o.api.categories(),orgXScale:o.scale.x});l||(p.tickStepSize=r[`axis_${c}_tick_stepSize`]);const _=new to(p).scale(l&&o.scale.zoom||s).orient(d);if(l&&this.isTimeSeries()&&f&&!P(f)){const m=mt.bind(o);f=f.map($=>m($))}else!l&&this.isTimeSeriesY()&&(_.ticks(r.axis_y_tick_time_value),f=null);f&&_.tickValues(f),_.tickFormat(g||!l&&o.isStackNormalized()&&(m=>`${m}%`)),u&&(_.tickCentered(r.axis_x_tick_centered),Tt(r.axis_x_tick_culling)&&(r.axis_x_tick_culling=!1));const x=r[`axis_${c}_tick_count`];return x&&_.ticks(x),_}updateXAxisTickValues(t,s){var i;const n=this.owner,{config:a}=n,o=a.axis_x_tick_fit;let r=a.axis_x_tick_count,l;return(o||r&&o)&&(l=n.mapTargetsToUniqueXs(t),this.isCategorized()&&r>l.length&&(r=l.length),l=this.generateTickValues(l,r,this.isTimeSeries())),s?s.tickValues(l):this.x&&(this.x.tickValues(l),(i=this.subX)==null||i.tickValues(l)),l}getId(t){const{config:s,scale:i}=this.owner;let n=s.data_axes[t];return(!n||!i[n])&&(n="y"),n}getXAxisTickFormat(t){const s=this.owner,{config:i,format:n}=s,a=t&&i.subchart_axis_x_tick_format||i.axis_x_tick_format,o=this.isTimeSeries(),r=this.isCategorized();let l;return a?P(a)?l=a.bind(s.api):o&&(l=c=>c?n.axisTime(a)(c):""):l=o?n.defaultAxisTime:r?s.categoryName:c=>c<0?c.toFixed(0):c,P(l)?c=>l.apply(s,r?[c,s.categoryName(c)]:[c]):l}getTickValues(t){const s=this.owner,i=s.config[`axis_${t}_tick_values`],n=s[`${t}Axis`];return(P(i)?i.call(s.api):i)||(n?n.tickValues():void 0)}getLabelOptionByAxisId(t){return this.owner.config[`axis_${t}_label`]}getLabelText(t){const s=this.getLabelOptionByAxisId(t);return V(s)?s:s?s.text:null}setLabelText(t,s){const i=this.owner,{config:n}=i,a=this.getLabelOptionByAxisId(t);V(a)?n[`axis_${t}_label`]=s:a&&(a.text=s)}getLabelPosition(t,s){const i=this.owner.config.axis_rotated,n=this.getLabelOptionByAxisId(t),a=wt(n)&&n.position?n.position:s[+!i],o=r=>!!~a.indexOf(r);return{isInner:o("inner"),isOuter:o("outer"),isLeft:o("left"),isCenter:o("center"),isRight:o("right"),isTop:o("top"),isMiddle:o("middle"),isBottom:o("bottom")}}getAxisLabelPosition(t){return this.getLabelPosition(t,t==="x"?["inner-top","inner-right"]:["inner-right","inner-top"])}getLabelPositionById(t){return this.getAxisLabelPosition(t)}xForAxisLabel(t){const s=this.owner,{state:{width:i,height:n}}=s,a=this.getAxisLabelPosition(t);let o=a.isMiddle?-n/2:0;return this.isHorizontal(s,t!=="x")?o=a.isLeft?0:a.isCenter?i/2:i:a.isBottom&&(o=-n),o}dxForAxisLabel(t){const s=this.owner,i=this.getAxisLabelPosition(t);let n=i.isBottom?"0.5em":"0";return this.isHorizontal(s,t!=="x")?n=i.isLeft?"0.5em":i.isRight?"-0.5em":"0":i.isTop&&(n="-0.5em"),n}textAnchorForAxisLabel(t){const s=this.owner,i=this.getAxisLabelPosition(t);let n=i.isMiddle?"middle":"end";return this.isHorizontal(s,t!=="x")?n=i.isLeft?"start":i.isCenter?"middle":"end":i.isBottom&&(n="start"),n}dyForAxisLabel(t){const s=this.owner,{config:i}=s,n=i.axis_rotated,a=this.getAxisLabelPosition(t).isInner,o=i[`axis_${t}_tick_rotate`]?s.getHorizontalAxisHeight(t):0,{width:r}=this.getMaxTickSize(t);let l;if(t==="x"){const c=i.axis_x_height;n?l=a?"1.2em":-25-r:a?l="-0.5em":c?l=c-10:o?l=o-10:l="3em"}else l={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[t],n?a?l=l[0]:o?l=o*(t==="y2"?-1:1)-l[1]:l=l[2]:l=a?l[3]:(l[4]+(i[`axis_${t}_inner`]?0:r+l[4]))*(t==="y"?-1:1);return l}getMaxTickSize(t,s){const i=this.owner,{config:n,state:{current:a},$el:{svg:o,chart:r}}=i,l=a.maxTickSize[t],c=`axis_${t}`,u={width:0,height:0};if(s||!n[`${c}_show`]||l.width>0&&i.filterTargetsToShow().length===0)return l;if(o){const d=/^y2?$/.test(t),h=i.filterTargetsToShow(i.data.targets),g=i.scale[t].copy().domain(i[`get${d?"Y":"X"}Domain`](h,t)),f=g.domain(),p=f[0]===f[1]&&f.every(y=>y>0),_=N(l.domain)&&l.domain[0]===l.domain[1]&&l.domain.every(y=>y>0);if(p||_)return l.size;l.domain=f,d||l.ticks.splice(0);const x=this.getAxis(t,g,!1,!1,!0),m=n[`${c}_tick_rotate`],$=n[`${c}_tick_count`];!n[`${c}_tick_values`]&&$&&x.tickValues(this.generateTickValues(f,$,d?this.isTimeSeriesY():this.isTimeSeries())),!d&&this.updateXAxisTickValues(h,x);const A=r.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");x.create(A),A.selectAll("text").attr("transform",L(m)?`rotate(${m})`:null).each(function(y,v){const{width:R,height:w}=this.getBoundingClientRect();u.width=Math.max(u.width,R),u.height=Math.max(u.height,w),d||(l.ticks[v]=R)}),A.remove()}return Object.keys(u).forEach(d=>{u[d]>0&&(l[d]=u[d])}),l}getXAxisTickTextY2Overflow(t){const s=this.owner,{axis:i,config:n,state:{current:a,isLegendRight:o,legendItemWidth:r}}=s,l=s.getAxisTickRotate("x"),c=l>0&&l<90;if((i.isCategorized()||i.isTimeSeries())&&n.axis_x_tick_fit&&(!n.axis_x_tick_culling||Tt(n.axis_x_tick_culling))&&!n.axis_x_tick_multiline&&c){const u=n.axis_y2_show&&a.maxTickSize.y2.width||0,d=o&&r||0,h=a.width-s.getCurrentPaddingByDirection("left"),g=this.getXAxisTickMaxOverflow(l,h-t)-u-d,f=Math.max(0,g)+t;return Math.min(f,h/2)}return 0}getXAxisTickMaxOverflow(t,s){const i=this.owner,{axis:n,config:a,state:o}=i,r=n.isTimeSeries(),l=o.current.maxTickSize.x.ticks,c=l.length,{left:u,right:d}=o.axis.x.padding;let h=0;const g=c-(r&&a.axis_x_tick_fit?.5:0);for(let _=0;_!a[o].empty()).forEach(o=>{const r=a[o];n(r,t).attr("x",()=>this.xForAxisLabel(o)).attr("dx",()=>this.dxForAxisLabel(o)).attr("dy",()=>this.dyForAxisLabel(o)).text(()=>this.getLabelText(o))})}getPadding(t,s,i,n){const a=L(t)?t:t[s];return F(a)?this.owner.convertPixelToScale(/(bottom|top)/.test(s)?"y":"x",a,n):i}generateTickValues(t,s,i){let n=t;if(s){const a=P(s)?s():s;if(a===1)n=[t[0]];else if(a===2)n=[t[0],t[t.length-1]];else if(a>2){const o=this.isCategorized(),r=a-2,l=t[0],c=t[t.length-1],u=(c-l)/(r+1);let d;n=[l];for(let h=0;ha-o)),n}generateTransitions(t){const s=this.owner,{$el:{axis:i},$T:n}=s,[a,o,r,l]=["x","y","y2","subX"].map(c=>n(i[c],t));return{axisX:a,axisY:o,axisY2:r,axisSubX:l}}redraw(t,s,i){const n=this.owner,{config:a,$el:o}=n,r=s?"0":null;["x","y","y2","subX"].forEach(l=>{const c=this[l],u=o.axis[l];c&&u&&(!i&&!a.transition_duration&&(c.config.withoutTransition=!0),u.style("opacity",r),c.create(t[`axis${ft(l)}`]))}),this.updateAxes()}redrawAxis(t,s,i,n,a){var o,r,l;const c=this.owner,{config:u,scale:d,$el:h}=c,g=!!d.zoom;let f;!g&&this.isCategorized()&&t.length===0&&d.x.domain([0,h.axis.x.selectAll(".tick").size()]),d.x&&t.length?(!g&&c.updateXDomain(t,s.UpdateXDomain,s.UpdateOrgXDomain,s.TrimXDomain),u.axis_x_tick_values||this.updateXAxisTickValues(t)):this.x&&(this.x.tickValues([]),(o=this.subX)==null||o.tickValues([])),u.zoom_rescale&&!n&&(f=d.x.orgDomain()),["y","y2"].forEach(p=>{const _=`axis_${p}_`,x=d[p];if(x){const m=u[`${_}tick_values`],$=u[`${_}tick_count`];if(x.domain(c.getYDomain(t,p,f)),!m&&$){const b=c.axis[p],A=x.domain();b.tickValues(this.generateTickValues(A,A.every(y=>y===0)?1:$,this.isTimeSeriesY()))}}}),this.redraw(i,c.hasArcType(),a),this.updateLabels(s.Transition),(s.UpdateXDomain||s.UpdateXAxis||s.Y)&&t.length&&this.setCulling(),s.Y&&((r=d.subY)==null||r.domain(c.getYDomain(t,"y")),(l=d.subY2)==null||l.domain(c.getYDomain(t,"y2")))}setCulling(){const t=this.owner,{config:s,state:{clip:i,current:n},$el:a}=t;["subX","x","y","y2"].forEach(o=>{const r=a.axis[o],c=`axis_${o==="subX"?"x":o}_tick_culling`,u=s[c];if(r&&u){const d=r.selectAll(".tick"),h=Kt(d.data()),g=h.length,f=s[`${c}_max`],p=s[`${c}_lines`];let _;if(g){for(let x=1;x{var c,u,d;if(o[l]=(c=a[l])==null?void 0:c.append("text").classed(ot[`axis${l.toUpperCase()}Tooltip`],!0).attr("filter",s.updateTextBGColor({id:l},r)),i){const h=l==="x"?"x":"y",g=l==="y"?"1.15em":l==="x"?"-0.3em":"-0.4em";(u=o[l])==null||u.attr(h,g).attr(`d${l==="x"?"y":"x"}`,l==="x"?"0.4em":"-1.3em").style("text-anchor",l==="x"?"end":null)}else{const h=l==="x"?"y":"x",g=l==="x"?"1.15em":`${l==="y"?"-":""}0.4em`;(d=o[l])==null||d.attr(h,g).attr(`d${l==="x"?"x":"y"}`,l==="x"?"-1em":"0.3em").style("text-anchor",l==="y"?"end":null)}})}}var ao={initEventRect(){this.$el.main.select(`.${z.chart}`).append("g").attr("class",vt.eventRects).style("fill-opacity","0")},redrawEventRect(){var e;const t=this,{config:s,state:i,$el:n}=t,a=t.isMultipleX(),o=s.axis_x_inverted;if(n.eventRect)t.updateEventRect(n.eventRect,!0);else if(t.data.targets.length){const l=t.$el.main.select(`.${vt.eventRects}`).style("cursor",s.zoom_enabled&&s.zoom_type!=="drag"?s.axis_rotated?"ns-resize":"ew-resize":null).classed(vt.eventRectsMultiple,a).classed(vt.eventRectsSingle,!a).selectAll(`.${vt.eventRect}`).data([0]).enter().append("rect");t.updateEventRect(l),t.updateEventType(l),l.call(t.getDraggableSelection()),n.eventRect=l,t.state.inputType==="touch"&&!n.svg.on("touchstart.eventRect")&&!t.hasArcType()&&t.bindTouchOnEventRect(),i.rendered&&t.updateEventRect(n.eventRect,!0)}if(!a){const r=t.getMaxDataCountTarget();(!s.data_xSort||o)&&r.sort((l,c)=>o?c.x-l.x:l.x-c.x),t.updateDataIndexByX(r),t.updateXs(r),(e=t.updatePointClass)==null||e.call(t,!0),i.eventReceiver.data=r}t.updateEventRectData()},bindTouchOnEventRect(){const e=this,{config:t,state:s,$el:{eventRect:i,svg:n}}=e,a=h=>{if(e.isMultipleX())e.selectRectForMultipleXs(h);else{const g=e.getDataIndexFromEvent(s.event);e.callOverOutForTouch(g),g===-1?e.unselectRect():e.selectRectForSingle(h,g)}},o=()=>{e.unselectRect(),e.callOverOutForTouch()},r=t.interaction_inputType_touch.preventDefault,l=ke(r)&&r||!1,c=!isNaN(r)&&r||null;let u;const d=h=>{const g=h.type,p=h.changedTouches[0][`client${t.axis_rotated?"Y":"X"}`];g==="touchstart"?l?h.preventDefault():c!==null&&(u=p):g==="touchmove"&&(l||u===!0||c!==null&&Math.abs(u-p)>=c)&&(u=!0,h.preventDefault())};i.on("touchstart",h=>{s.event=h,e.updateEventRect()}).on("touchstart.eventRect touchmove.eventRect",h=>{if(s.event=h,!i.empty()&&i.classed(vt.eventRect)){if(s.dragging||s.flowing||e.hasArcType()||h.touches.length>1)return;d(h),a(i.node())}else o()},!0).on("touchend.eventRect",h=>{s.event=h,!i.empty()&&i.classed(vt.eventRect)&&(e.hasArcType()||!e.toggleShape||s.cancelClick)&&s.cancelClick&&(s.cancelClick=!1)},!0),n.on("touchstart",h=>{s.event=h;const{target:g}=h;g&&g!==i.node()&&o()})},updateEventRect(e,t=!1){const s=this,{state:i,$el:n}=s,{eventReceiver:a,width:o,height:r,rendered:l,resizing:c}=i,u=e||n.eventRect,d=()=>{if(a){const h=cs(n.chart.node());a.rect=u.node().getBoundingClientRect().toJSON(),a.rect.top+=h.y,a.rect.left+=h.x}};(!l||c||t)&&(u.attr("x",0).attr("y",0).attr("width",o).attr("height",r),(!l||t)&&u.classed(vt.eventRect,!0)),d()},updateEventType(e){const t=this,s=ke(e),i=s?t.$el.eventRect:e,n=s?e!==(i==null?void 0:i.datum().multipleX):!1;i&&(n&&(i==null||i.on("mouseover mousemove mouseout click",null)),t.isMultipleX()?t.generateEventRectsForMultipleXs(i):t.generateEventRectsForSingleX(i))},updateEventRectData(){const e=this,{config:t,scale:s,state:i}=e,n=s.zoom||s.x,a=t.axis_rotated,o=e.isMultipleX();let r,l,c,u;if(e.updateEventType(o),o)r=0,l=0,c=i.width,u=i.height;else{let g,f;if(e.axis.isCategorized())g=e.getEventRectWidth(),f=p=>n(p.x)-g/2;else{const p=({index:_})=>({prev:e.getPrevX(_),next:e.getNextX(_)});g=_=>{const x=p(_),m=n.domain();let $;return x.prev===null&&x.next===null?$=a?i.height:i.width:x.prev===null?$=(n(x.next)+n(_.x))/2:x.next===null?$=n(m[1])-(n(x.prev)+n(_.x))/2:(Object.keys(x).forEach((b,A)=>{var y;x[b]=(y=x[b])!=null?y:m[A]}),$=Math.max(0,(n(x.next)-n(x.prev))/2)),$},f=_=>{const x=p(_);let m;return x.prev===null&&x.next===null?m=0:x.prev===null?m=n(n.domain()[0]):m=(n(_.x)+n(x.prev))/2,m}}r=a?0:f,l=a?f:0,c=a?i.width:g,u=a?g:i.height}const{eventReceiver:d}=i,h=(g,f)=>P(g)?g(f):g;d.coords.splice(d.data.length),d.data.forEach((g,f)=>{d.coords[f]={x:h(r,g),y:h(l,g),w:h(c,g),h:h(u,g)}})},selectRectForSingle(e,t){var s,i;const n=this,{config:a,$el:{main:o,circle:r}}=n,l=a.data_selection_enabled,c=a.data_selection_grouped,u=a.data_selection_isselectable,d=a.tooltip_grouped,h=n.getAllValuesOnIndex(t);if(d&&(n.showTooltip(h,e),(s=n.showGridFocus)==null||s.call(n,h),!l||c))return;!r&&o.selectAll(`.${z.EXPANDED}:not(.${st.shape}-${t})`).classed(z.EXPANDED,!1);const g=o.selectAll(`.${st.shape}-${t}`).classed(z.EXPANDED,!0).style("cursor",u?"pointer":null).filter(function(f){return n.isWithinShape(this,f)});g.empty()&&!d&&((i=n.hideGridFocus)==null||i.call(n),n.hideTooltip(),!c&&n.setExpand(t)),g.call(f=>{var p,_;const x=f.data();l&&(c||u!=null&&u.bind(n.api)(x))&&(e.style.cursor="pointer"),d||(n.showTooltip(x,e),(p=n.showGridFocus)==null||p.call(n,x),(_=n.unexpandCircles)==null||_.call(n),f.each(m=>n.setExpand(t,m.id)))})},selectRectForMultipleXs(e,t=!0){const s=this,{config:i,state:n}=s,a=s.filterTargetsToShow(s.data.targets);if(n.dragging||s.hasArcType(a))return;const o=$t(n.event,e),r=s.findClosestFromTargets(a,o);if(t&&n.mouseover&&(!r||r.id!==n.mouseover.id)&&(i.data_onout.call(s.api,n.mouseover),n.mouseover=void 0),!r){s.unselectRect();return}const c=(s.isBubbleType(r)||s.isScatterType(r)||!i.tooltip_grouped?[r]:s.filterByX(a,r.x)).map(d=>s.addName(d));s.showTooltip(c,e),s.setExpand(r.index,r.id,!0),s.showGridFocus(c);const u=s.dist(r,o);(s.isBarType(r.id)||u{const l=r?t.getDataIndexFromEvent(r):n.currentIdx;return l>-1?n.data[l]:null};a.on("mouseover",r=>{i.event=r,t.updateEventRect(),Object.values(t.$el.axisTooltip).forEach(l=>l==null?void 0:l.style("display",null))}).on("mousemove",function(r){const l=o(r);if(i.event=r,!l)return;let{index:c}=l;const u=s.line_step_type;if(s.line_step_tooltipMatch&&t.hasType("step")&&/^step\-(before|after)$/.test(u)){const h=t.scale.zoom||t.scale.x,g=t.axis.xs[c],f=h.invert($t(r,this)[0]);u==="step-after"&&fg&&(c+=1)}t.showAxisGridFocus();const d=s.tooltip_grouped&&c===n.currentIdx;if(i.dragging||i.flowing||t.hasArcType()||d){s.tooltip_show&&d&&t.setTooltipPosition();return}c!==n.currentIdx&&(t.setOverOut(!1,n.currentIdx),n.currentIdx=c),c===-1?t.unselectRect():t.selectRectForSingle(this,c),t.setOverOut(c!==-1,c)}).on("mouseout",r=>{i.event=r,!(!s||t.hasArcType()||n.currentIdx===-1)&&(t.hideAxisGridFocus(),t.unselectRect(),t.setOverOut(!1,n.currentIdx),n.currentIdx=-1)})}return a},clickHandlerForSingleX(e,t){const s=t,{config:i,state:n,$el:{main:a}}=s;if(!e||s.hasArcType()||n.cancelClick){n.cancelClick&&(n.cancelClick=!1);return}const{index:o}=e;a.selectAll(`.${st.shape}-${o}`).each(function(r){var l;(i.data_selection_grouped||s.isWithinShape(this,r))&&((l=s.toggleShape)==null||l.call(s,this,r,o),i.data_onclick.bind(s.api)(r,this))})},generateEventRectsForMultipleXs(e){const t=this,{state:s}=t;e.on("click",function(i){s.event=i,t.clickHandlerForMultipleXS.bind(this)(t)}).datum({multipleX:!0}),s.inputType==="mouse"&&e.on("mouseover mousemove",function(i){s.event=i,t.selectRectForMultipleXs(this)}).on("mouseout",i=>{s.event=i,!(!t.config||t.hasArcType())&&t.unselectRect()})},clickHandlerForMultipleXS(e){const t=e,{config:s,state:i}=t,n=t.filterTargetsToShow(t.data.targets);if(t.hasArcType(n))return;const a=$t(i.event,this),o=t.findClosestFromTargets(n,a),r=s.point_sensitivity==="radius"?o.r:s.point_sensitivity;o&&(t.isBarType(o.id)||t.dist(o,a){r.values.splice(0,a)}),t.updateXGrid&&t.updateXGrid(!0);const o={};["axis.x","grid.x","gridLines.x","region.list","text","bar","line","area","circle"].forEach(r=>{const l=r.split(".");let c=n[l[0]];c&&l.length>1&&(c=c[l[1]]),c!=null&&c.size()&&(o[r]=c)}),t.hideGridFocus(),t.setFlowList(o,e)}},setFlowList(e,t){const s=this,{flow:i,targets:n}=t,{duration:a=t.duration,index:o,length:r,orgDataCount:l}=i,c=s.getFlowTransform(n,l,o,r),u=xs();let d;u.add(Object.keys(e).map(h=>(d=e[h].transition().ease(oo.easeLinear).duration(a),h==="axis.x"?d=d.call(g=>{s.axis.x.setTransition(g).create(g)}):h==="region.list"?d=d.filter(s.isRegionOnX).attr("transform",c):d=d.attr("transform",c),d))),d.call(u,()=>{s.cleanUpFlow(e,t)})},cleanUpFlow(e,t){const s=this,{config:i,state:n,$el:{svg:a}}=s,o=i.axis_rotated,{flow:r,shape:l,xv:c}=t,{cx:u,cy:d,xForText:h,yForText:g}=l.pos,{done:f=()=>{},length:p}=r;p&&(["circle","text","shape","eventRect"].forEach(_=>{const x=[];for(let m=0;m{const x=e[_];if(_!=="axis.x"&&x.attr("transform",null),_==="grid.x")x.attr(n.xgridAttr);else if(_==="gridLines.x")x.attr("x1",o?0:c).attr("x2",o?n.width:c),x.select("text").attr("x",o?n.width:0).attr("y",c);else if(/^(area|bar|line)$/.test(_))x.attr("d",l.type[_]);else if(_==="text")x.attr("x",h).attr("y",g).style("fill-opacity",s.opacityForText.bind(s));else if(_==="circle")if(s.isCirclePoint())x.attr("cx",u).attr("cy",d);else{const m=b=>u(b)-i.point_r,$=b=>d(b)-i.point_r;x.attr("x",m).attr("y",$)}else _==="region.list"&&x.select("rect").filter(s.isRegionOnX).attr("x",s.regionX.bind(s)).attr("width",s.regionWidth.bind(s))}),i.interaction_enabled&&s.redrawEventRect(),f.call(s.api),n.flowing=!1},getFlowTransform(e,t,s,i){const n=this,{data:a,scale:{x:o}}=n,r=a.targets[0].values;let l=n.getValueOnIndex(r,s),c=n.getValueOnIndex(r,s+i),u;const d=o.domain(),h=n.updateXDomain(e,!0,!0);t?t===1||(l==null?void 0:l.x)===(c==null?void 0:c.x)?u=o(d[0])-o(h[0]):u=n.axis.isTimeSeries()?o(d[0])-o(h[0]):o((l==null?void 0:l.x)||0)-o(c.x):r.length!==1?u=o(d[0])-o(h[0]):n.axis.isTimeSeries()?(l=n.getValueOnIndex(r,0),c=n.getValueOnIndex(r,r.length-1),u=o(l.x)-o(c.x)):u=Nt(h)/2;const g=Nt(d)/Nt(h);return`translate(${u},0) scale(${g},1)`}},lo={initClip(){const e=this,{clip:t,datetimeId:s}=e.state;t.id=`${s}-clip`,t.idXAxis=`${t.id}-xaxis`,t.idYAxis=`${t.id}-yaxis`,t.idGrid=`${t.id}-grid`,t.path=e.getClipPath(t.id),t.pathXAxis=e.getClipPath(t.idXAxis),t.pathYAxis=e.getClipPath(t.idYAxis),t.pathGrid=e.getClipPath(t.idGrid)},getClipPath(e){const t=this,{config:s}=t;return!s.clipPath&&/-clip$/.test(e)||!s.axis_x_clipPath&&/-clip-xaxis$/.test(e)||!s.axis_y_clipPath&&/-clip-yaxis$/.test(e)?null:`url(#${e})`},appendClip(e,t){t&&e.append("clipPath").attr("id",t).append("rect")},setXAxisClipPath(e){const t=this,{config:s,state:{margin:i,width:n,height:a}}=t,o=s.axis_rotated,r=Math.max(30,i.left)-(o?0:20),l=(o?i.top+a+10:i.bottom)+20,c=o?-(1+r):-(r-1),u=-15,d=o?i.left+20:n+10+r;e.attr("x",c).attr("y",u).attr("width",d).attr("height",l)},setYAxisClipPath(e){const t=this,{config:s,state:{margin:i,width:n,height:a}}=t,o=s.axis_rotated,r=Math.max(30,i.left)-(o?20:0),l=s.axis_y_inner,c=l&&!o?s.axis_y_label.text?-20:-1:o?-(1+r):-(r-1),u=-(o?20:i.top),d=(o?n+15+r:i.left+20)+(l?20:0),h=(o?i.bottom+10:i.top+a)+10;e.attr("x",c).attr("y",u).attr("width",d).attr("height",h)},updateXAxisTickClip(){const e=this,{config:t,state:{clip:s,xAxisHeight:i},$el:{defs:n}}=e,a=e.getHorizontalAxisHeight("x");if(n&&!s.idXAxisTickTexts){const o=`${s.id}-xaxisticktexts`;e.appendClip(n,o),s.pathXAxisTickTexts=e.getClipPath(s.idXAxisTickTexts),s.idXAxisTickTexts=o}!t.axis_x_tick_multiline&&e.getAxisTickRotate("x")&&a!==i&&(e.setXAxisTickClipWidth(),e.setXAxisTickTextClipPathWidth()),e.state.xAxisHeight=a},setXAxisTickClipWidth(){const e=this,{config:t,state:{current:{maxTickSize:s}}}=e,i=e.getAxisTickRotate("x");if(!t.axis_x_tick_multiline&&i){const n=Math.sin(Math.PI/180*Math.abs(i));s.x.clipPath=(e.getHorizontalAxisHeight("x")-20)/n}else s.x.clipPath=null},setXAxisTickTextClipPathWidth(){const e=this,{state:{clip:t,current:s},$el:{svg:i}}=e;i&&i.select(`#${t.idXAxisTickTexts} rect`).attr("width",s.maxTickSize.x.clipPath).attr("height",30)}};const co=e=>F(e.position)||"end",uo=e=>e.position==="start"?4:e.position==="middle"?0:-4;function js(e,t,s){return i=>{let n=e?0:t;return i.position==="start"?n=e?-s:0:i.position==="middle"&&(n=(e?-s:t)/2),n}}function Hs(e,t){t==="grid"&&e.each(function(){const s=(0,S.select)(this);["x1","x2","y1","y2"].forEach(i=>s.attr(i,Math.ceil(+s.attr(i))))})}var ho={hasGrid(){const{config:e}=this;return["x","y"].some(t=>e[`grid_${t}_show`]||e[`grid_${t}_lines`].length)},initGrid(){const e=this;e.hasGrid()&&e.initGridLines(),e.initFocusGrid()},initGridLines(){const e=this,{config:t,state:{clip:s},$el:i}=e;(t.grid_x_lines.length||t.grid_y_lines.length)&&(i.gridLines.main=i.main.insert("g",`.${z.chart}${t.grid_lines_front?" + *":""}`).attr("clip-path",s.pathGrid).attr("class",`${et.grid} ${et.gridLines}`),i.gridLines.main.append("g").attr("class",et.xgridLines),i.gridLines.main.append("g").attr("class",et.ygridLines),i.gridLines.x=(0,S.selectAll)([]))},updateXGrid(e){const t=this,{config:s,scale:i,state:n,$el:{main:a,grid:o}}=t,r=s.axis_rotated,l=t.generateGridData(s.grid_x_type,i.x),c=t.axis.isCategorized()?t.axis.x.tickOffset():0,u=d=>(i.zoom||i.x)(d)+c*(r?-1:1);n.xgridAttr=r?{x1:0,x2:n.width,y1:u,y2:u}:{x1:u,x2:u,y1:0,y2:n.height},o.x=a.select(`.${et.xgrids}`).selectAll(`.${et.xgrid}`).data(l),o.x.exit().remove(),o.x=o.x.enter().append("line").attr("class",et.xgrid).merge(o.x),e||o.x.each(function(){const d=(0,S.select)(this);Object.keys(n.xgridAttr).forEach(h=>{d.attr(h,n.xgridAttr[h]).style("opacity",()=>d.attr(r?"y1":"x1")===(r?n.height:0)?"0":null)})})},updateYGrid(){const e=this,{axis:t,config:s,scale:i,state:n,$el:{grid:a,main:o}}=e,r=s.axis_rotated,l=u=>Math.ceil(i.y(u)),c=t.y.getGeneratedTicks(s.grid_y_ticks)||e.scale.y.ticks(s.grid_y_ticks);a.y=o.select(`.${et.ygrids}`).selectAll(`.${et.ygrid}`).data(c),a.y.exit().remove(),a.y=a.y.enter().append("line").attr("class",et.ygrid).merge(a.y),a.y.attr("x1",r?l:0).attr("x2",r?l:n.width).attr("y1",r?0:l).attr("y2",r?n.height:l),Hs(a.y,"grid")},updateGrid(){const e=this,{$el:{grid:t,gridLines:s}}=e;!s.main&&e.initGridLines(),t.main.style("visibility",e.hasArcType()?"hidden":null),e.hideGridFocus(),e.updateGridLines("x"),e.updateGridLines("y")},updateGridLines(e){const t=this,{config:s,$el:{gridLines:i,main:n},$T:a}=t,o=s.axis_rotated,r=e==="x";s[`grid_${e}_show`]&&t[`update${e.toUpperCase()}Grid`]();let l=n.select(`.${et[`${e}gridLines`]}`).selectAll(`.${et[`${e}gridLine`]}`).data(s[`grid_${e}_lines`]);a(l.exit()).style("opacity","0").remove();const c=l.enter().append("g");c.append("line").style("opacity","0"),l=c.merge(l),l.each(function(u){const d=(0,S.select)(this);d.select("text").empty()&&u.text&&d.append("text").style("opacity","0")}),a(l.attr("class",u=>`${et[`${e}gridLine`]} ${u.class||""}`.trim()).select("text").attr("text-anchor",co).attr("transform",()=>r?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",uo).attr("dy",-5)).text(function(u){var d;return(d=u.text)!=null?d:this.remove()}),i[e]=l},redrawGrid(e){const t=this,{config:{axis_rotated:s},state:{width:i,height:n},$el:{gridLines:a},$T:o}=t,r=t.xv.bind(t),l=t.yv.bind(t);let c=a.x.select("line"),u=a.x.select("text"),d=a.y.select("line"),h=a.y.select("text");return c=o(c,e).attr("x1",s?0:r).attr("x2",s?i:r).attr("y1",s?r:0).attr("y2",s?r:n),u=o(u,e).attr("x",js(!s,i,n)).attr("y",r),d=o(d,e).attr("x1",s?l:0).attr("x2",s?l:i).attr("y1",s?0:l).attr("y2",s?n:l),h=o(h,e).attr("x",js(s,i,n)).attr("y",l),[c.style("opacity",null),u.style("opacity",null),d.style("opacity",null),h.style("opacity",null)]},initFocusGrid(){const e=this,{config:t,state:{clip:s},$el:i}=e,n=t.grid_front,a=`.${n&&i.gridLines.main?et.gridLines:z.chart}${n?" + *":""}`,o=i.main.insert("g",a).attr("clip-path",s.pathGrid).attr("class",et.grid);if(i.grid.main=o,t.grid_x_show&&o.append("g").attr("class",et.xgrids),t.grid_y_show&&o.append("g").attr("class",et.ygrids),t.axis_tooltip){const r=o.append("g").attr("class","bb-axis-tooltip");r.append("line").attr("class","bb-axis-tooltip-x"),r.append("line").attr("class","bb-axis-tooltip-y")}t.interaction_enabled&&t.grid_focus_show&&!t.axis_tooltip&&(o.append("g").attr("class",q.xgridFocus).append("line").attr("class",q.xgridFocus),t.grid_focus_y&&!t.tooltip_grouped&&o.append("g").attr("class",q.ygridFocus).append("line").attr("class",q.ygridFocus))},showAxisGridFocus(){var e,t;const s=this,{config:i,format:n,state:{event:a,width:o,height:r}}=s,l=i.axis_rotated,[c,u]=$t(a,(e=s.$el.eventRect)==null?void 0:e.node()),d={x:c,y:u};for(const[h,g]of Object.entries(s.$el.axisTooltip)){const f=h==="x"&&!l||h!=="x"&&l?"x":"y",p=d[f];let _=(t=s.scale[h])==null?void 0:t.invert(p);_&&(_=h==="x"&&s.axis.isTimeSeries()?n.xAxisTick(_):_==null?void 0:_.toFixed(2),g==null||g.attr(f,p).text(_))}s.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility",null).each(function(h,g){const f=(0,S.select)(this);g===0?f.attr("x1",c).attr("x2",c).attr("y1",g?0:r).attr("y2",g?r:0):f.attr("x1",g?0:o).attr("x2",g?o:0).attr("y1",u).attr("y2",u)})},hideAxisGridFocus(){const e=this;e.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility","hidden"),Object.values(e.$el.axisTooltip).forEach(t=>t==null?void 0:t.style("display","none"))},showGridFocus(e){var t;const s=this,{config:i,state:{width:n,height:a}}=s,o=i.axis_rotated,r=s.$el.main.selectAll(`line.${q.xgridFocus}, line.${q.ygridFocus}`),l=(e||[r.datum()]).filter(d=>d&&F(s.getBaseValue(d)));if(!i.tooltip_show||l.length===0||!i.axis_x_forceAsSingle&&s.hasType("bubble")||s.hasArcType())return;const c=i.grid_focus_edge&&!i.tooltip_grouped,u=s.xx.bind(s);r.style("visibility",null).data(l.concat(l)).each(function(d){const h=(0,S.select)(this),g={x:u(d),y:s.getYScaleById(d.id)(d.value)};let f;if(h.classed(q.xgridFocus))f=o?[null,g.x,c?g.y:n,g.x]:[g.x,c?g.y:null,g.x,a];else{const p=s.axis.getId(d.id)==="y2";f=o?[g.y,c&&!p?g.x:null,g.y,c&&p?g.x:a]:[c&&p?g.x:null,g.y,c&&!p?g.x:n,g.y]}["x1","y1","x2","y2"].forEach((p,_)=>h.attr(p,f[_]))}),Hs(r,"grid"),(t=s.showCircleFocus)==null||t.call(s,e)},hideGridFocus(){var e;const t=this,{state:{inputType:s,resizing:i},$el:{main:n}}=t;(s==="mouse"||!i)&&(n.selectAll(`line.${q.xgridFocus}, line.${q.ygridFocus}`).style("visibility","hidden"),(e=t.hideCircleFocus)==null||e.call(t))},updateGridFocus(){var e;const t=this,{state:{inputType:s,width:i,height:n,resizing:a},$el:{grid:o}}=t,r=o.main.select(`line.${q.xgridFocus}`);if(s==="touch")r.empty()?a&&((e=t.showCircleFocus)==null||e.call(t)):t.showGridFocus();else{const l=t.config.axis_rotated;r.attr("x1",l?0:-10).attr("x2",l?i:-10).attr("y1",l?-10:0).attr("y2",l?-10:n)}return!0},generateGridData(e,t){const s=this,i=s.$el.main.select(`.${ot.axisX}`).selectAll(".tick").size();let n=[];if(e==="year"){const a=s.getXDomain(),[o,r]=a.map(l=>l.getFullYear());for(let l=o;l<=r;l++)n.push(new Date(`${l}-01-01 00:00:00`))}else n=t.ticks(10),n.length>i&&(n=n.filter(a=>String(a).indexOf(".")<0));return n},getGridFilterToRemove(e){return e?t=>{let s=!1;return(N(e)?e.concat():[e]).forEach(i=>{("value"in i&&t.value===i.value||"class"in i&&t.class===i.class)&&(s=!0)}),s}:()=>!0},removeGridLines(e,t){const s=this,{config:i,$T:n}=s,a=s.getGridFilterToRemove(e),o=u=>!a(u),r=t?et.xgridLines:et.ygridLines,l=t?et.xgridLine:et.ygridLine;n(s.$el.main.select(`.${r}`).selectAll(`.${l}`).filter(a)).style("opacity","0").remove();const c=`grid_${t?"x":"y"}_lines`;i[c]=i[c].filter(o)}},go={initRegion(){const e=this,{$el:t}=e;t.region.main=t.main.insert("g",":first-child").attr("clip-path",e.state.clip.path).attr("class",re.regions)},updateRegion(){const e=this,{config:t,$el:{region:s},$T:i}=e;s.main||e.initRegion(),s.main.style("visibility",e.hasArcType()?"hidden":null);const n=s.main.selectAll(`.${re.region}`).data(t.regions);i(n.exit()).style("opacity","0").remove();const a=n.enter().append("g");a.append("rect").style("fill-opacity","0"),s.list=a.merge(n).attr("class",e.classRegion.bind(e)),s.list.each(function(o){var r;(0,S.select)(this).select("text").empty()&&((r=o.label)!=null&&r.text)&&(0,S.select)(this).append("text").style("opacity","0")})},redrawRegion(e){const t=this,{$el:{region:s},$T:i}=t;let n=s.list.select("rect"),a=s.list.selectAll("text");return n=i(n,e).attr("x",t.regionX.bind(t)).attr("y",t.regionY.bind(t)).attr("width",t.regionWidth.bind(t)).attr("height",t.regionHeight.bind(t)),a=i(a,e).attr("transform",o=>{var r;const{x:l=0,y:c=0,rotated:u=!1}=(r=o.label)!=null?r:{};return`translate(${t.regionX.bind(t)(o)+l}, ${t.regionY.bind(t)(o)+c})${u?" rotate(-90)":""}`}).attr("text-anchor",o=>{var r;return(r=o.label)!=null&&r.rotated?"end":null}).attr("dy","1em").style("fill",o=>{var r,l;return(l=(r=o.label)==null?void 0:r.color)!=null?l:null}).text(o=>{var r;return(r=o.label)==null?void 0:r.text}),[n.style("fill-opacity",o=>F(o.opacity)?o.opacity:null).on("end",function(){(0,S.select)(this.parentNode).selectAll("rect:not([x])").remove()}),a.style("opacity",null)]},getRegionXY(e,t){const s=this,{config:i,scale:n}=s,a=i.axis_rotated,o=e==="x";let r="start",l,c=0;return t.axis==="y"||t.axis==="y2"?(o||(r="end"),(o?a:!a)&&r in t&&(l=n[t.axis],c=l(t[r]))):(o?!a:a)&&r in t&&(l=n.zoom||n.x,c=l(s.axis.isTimeSeries()?mt.call(s,t[r]):t[r])),c},regionX(e){return this.getRegionXY("x",e)},regionY(e){return this.getRegionXY("y",e)},getRegionSize(e,t){const s=this,{config:i,scale:n,state:a}=s,o=i.axis_rotated,r=e==="width",l=s[r?"regionX":"regionY"](t);let c,u="end",d=a[e];return t.axis==="y"||t.axis==="y2"?(r||(u="start"),(r?o:!o)&&u in t&&(c=n[t.axis],d=c(t[u]))):(r?!o:o)&&u in t&&(c=n.zoom||n.x,d=c(s.axis.isTimeSeries()?mt.call(s,t[u]):t[u])),d0&&(!n.axis_x_tick_autorotate||i.needToRotateXAxisTickTexts());return(n.axis_x_tick_multiline||_)&&p.height>g&&(f+=p.height-g),f+(i.axis.getLabelPositionById(e).isInner?0:10)+(e==="y2"&&!c?-10:0)},getEventRectWidth(){const e=this,{config:t,axis:s}=e,i=t.axis_x_inverted,n=s.x.tickInterval();return Math.max(0,i?Math.abs(n):n)},getAxisTickRotate(e){const t=this,{axis:s,config:i,state:n,$el:a}=t;let o=i[`axis_${e}_tick_rotate`];if(e==="x"){const r=s.isCategorized()||s.isTimeSeries();if(i.axis_x_tick_fit&&r){const l=i.axis_x_tick_count,c=n.current.maxTickSize.x.ticks.length;let u=0;if(l?u=l>c?c:l:c&&(u=c),u!==n.axis.x.tickCount){const{targets:d}=t.data;n.axis.x.padding=t.getXDomainPadding([t.getXDomainMinMax(d,"min"),t.getXDomainMinMax(d,"max")],u)}n.axis.x.tickCount=u}a.svg&&i.axis_x_tick_autorotate&&i.axis_x_tick_fit&&!i.axis_x_tick_multiline&&!i.axis_x_tick_culling&&r&&(o=t.needToRotateXAxisTickTexts()?i.axis_x_tick_rotate:0)}return o},needToRotateXAxisTickTexts(){const e=this,{state:{axis:t,current:s,isLegendRight:i,legendItemWidth:n}}=e,a=i&&n,o=s.width-a-e.getCurrentPaddingByDirection("left")-e.getCurrentPaddingByDirection("right"),r=t.x.tickCount+t.x.padding.left+t.x.padding.right,{width:l}=e.axis.getMaxTickSize("x"),c=r?o/r:0;return l>c}},po={axis_x_clipPath:!0,axis_x_show:!0,axis_x_forceAsSingle:!1,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_culling_lines:!0,axis_x_tick_count:void 0,axis_x_tick_show:!0,axis_x_tick_text_show:!0,axis_x_tick_text_inner:!1,axis_x_tick_text_position:{x:0,y:0},axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_autorotate:!1,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_tick_tooltip:!1,axis_x_max:void 0,axis_x_min:void 0,axis_x_inverted:!1,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_x_axes:[]},xo={axis_y_clipPath:!0,axis_y_show:!0,axis_y_type:"indexed",axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:!1,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_culling:!1,axis_y_tick_culling_max:5,axis_y_tick_culling_lines:!0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_show:!0,axis_y_tick_stepSize:null,axis_y_tick_text_show:!0,axis_y_tick_text_position:{x:0,y:0},axis_y_tick_time_value:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y_axes:[]},_o={axis_y2_show:!1,axis_y2_type:"indexed",axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:!1,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_culling:!1,axis_y2_tick_culling_max:5,axis_y2_tick_culling_lines:!0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_rotate:0,axis_y2_tick_count:void 0,axis_y2_tick_show:!0,axis_y2_tick_stepSize:null,axis_y2_tick_text_show:!0,axis_y2_tick_text_position:{x:0,y:0},axis_y2_padding:{},axis_y2_default:void 0,axis_y2_axes:[]},mo=Object.defineProperty,Ws=Object.getOwnPropertySymbols,$o=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,Us=(e,t,s)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ye=(e,t)=>{for(var s in t||(t={}))$o.call(t,s)&&Us(e,s,t[s]);if(Ws)for(var s of Ws(t))yo.call(t,s)&&Us(e,s,t[s]);return e},bo=Ye(Ye(Ye({axis_rotated:!1,axis_tooltip:!1},po),xo),_o),vo={grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:void 0,grid_focus_edge:!1,grid_focus_show:!0,grid_focus_y:!1,grid_front:!1,grid_lines_front:!0},To={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const Ao=[Va,Ya,ja,Ha,Wa,Ua,Za],Zs={axis:io,clip:lo,eventrect:ao,flow:ro,grid:ho,region:go,sizeAxis:fo},qs={optDataAxis:To,optAxis:bo,optGrid:vo};var Ks=U(13),wo=Object.defineProperty,So=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,Js=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Qs=(e,t,s)=>t in e?wo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ko=(e,t)=>{for(var s in t||(t={}))Co.call(t,s)&&Qs(e,s,t[s]);if(Js)for(var s of Js(t))Eo.call(t,s)&&Qs(e,s,t[s]);return e},Lo=(e,t)=>So(e,Ro(t));function ti(e=0){const t=this,{config:s,state:i}=t,n=t.hasMultiArcGauge(),a=i.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length,o=e?Math.min(i.radiusExpanded*e-i.radius,a*.8-(1-e)*100):0;return{inner(r){const{innerRadius:l}=t.getRadius(r);return n?i.radius-a*(r.index+1):L(l)?l:0},outer(r){const{outerRadius:l}=t.getRadius(r);let c;if(n)c=i.radius-a*r.index+o;else if(t.hasType("polar")&&!e)c=t.getPolarOuterRadius(r,l);else if(c=l,e){let{radiusExpanded:u}=i;i.radius!==l&&(u-=Math.abs(i.radius-l)),c=u*e}return c},corner(r,l){const{arc_cornerRadius_ratio:c=0,arc_cornerRadius:u=0}=s,{data:{id:d},value:h}=r;let g=0;return c?g=c*l:g=L(u)?u:u.call(t.api,d,h,l),g}}}function je(e){return function(t){const s=({startAngle:n=0,endAngle:a=0,padAngle:o=0})=>({startAngle:n,endAngle:a,padAngle:o}),i=(0,Ks.interpolate)(s(this._current),s(t));return this._current=t,function(n){const a=i(n),{data:o,index:r,value:l}=t;return e(Lo(ko({},a),{data:o,index:r,value:l}))}}}var Po={initPie(){const e=this,{config:t}=e,s=t.data_type,i=t[`${s}_padding`],n=t[`${s}_startingAngle`]||0,a=(i?i*.01:t[`${s}_padAngle`])||0;e.pie=(0,tt.pie)().startAngle(n).endAngle(n+2*Math.PI).padAngle(a).value(o=>{var r,l;return(l=(r=o.values)==null?void 0:r.reduce((c,u)=>c+u.value,0))!=null?l:o}).sort(e.getSortCompareFn.bind(e)(!0))},updateRadius(){const e=this,{config:t,state:s}=e,i=t.data_type,n=t[`${i}_padding`],a=t.gauge_width||t.donut_width,o=e.filterTargetsToShow(e.data.targets).length*t.gauge_arcs_minWidth;s.radiusExpanded=Math.min(s.arcWidth,s.arcHeight)/2*(e.hasMultiArcGauge()&&t.gauge_label_show?.85:1),s.radius=s.radiusExpanded*.95,s.innerRadiusRatio=a?(s.radius-a)/s.radius:.6,s.gaugeArcWidth=a||(o<=s.radius-s.innerRadius?s.radius-s.innerRadius:o<=s.radius?o:s.radius);const r=t.pie_innerRadius||(n?n*(s.innerRadiusRatio+.1):0);s.outerRadius=t.pie_outerRadius,s.innerRadius=e.hasType("donut")||e.hasType("gauge")?s.radius*s.innerRadiusRatio:r},getRadius(e){const t=this,s=e==null?void 0:e.data;let{innerRadius:i,outerRadius:n}=t.state;return!L(i)&&s&&(i=i[s.id]||0),X(n)&&s&&s.id in n?n=n[s.id]:L(n)||(n=t.state.radius),{innerRadius:i,outerRadius:n}},updateArc(){const e=this;e.updateRadius(),e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded()},getArcLength(){const e=this,{config:t}=e,s=t.gauge_arcLength*3.6;let i=2*(s/360);return s<-360?i=-2:s>360&&(i=2),i*Math.PI},getStartingAngle(){const e=this,{config:t}=e,s=t.data_type,i=e.hasType("gauge")?t.gauge_fullCircle:!1,n=-1*Math.PI/2,a=Math.PI/2;let o=t[`${s}_startingAngle`]||0;return!i&&o<=n?o=n:!i&&o>=a?o=a:(o>Math.PI||o<-1*Math.PI)&&(o=Math.PI),o},updateAngle(e,t=!1){var s;const i=this,{config:n,state:a}=i,o=t&&i.hasType("gauge");let{pie:r}=i,l=e,c=!1;if(!n)return null;const u=i.getStartingAngle(),d=n.gauge_fullCircle||t&&!o?i.getArcLength():u*-2;if(l.data&&i.isGaugeType(l.data)&&!i.hasMultiArcGauge()){const{gauge_min:h,gauge_max:g}=n,f=i.getTotalDataSum(a.rendered),p=d*((f-h)/(g-h));r=r.startAngle(u).endAngle(p+u)}if(t===!1&&r(i.filterTargetsToShow()).forEach((h,g)=>{var f;!c&&h.data.id===((f=l.data)==null?void 0:f.id)&&(c=!0,l=h,l.index=g)}),isNaN(l.startAngle)&&(l.startAngle=0),isNaN(l.endAngle)&&(l.endAngle=l.startAngle),t||l.data&&(n.gauge_enforceMinMax||i.hasMultiArcGauge())){const{gauge_min:h,gauge_max:g}=n,f=t&&!o?i.getTotalDataSum(a.rendered):g,p=d/(f-h),_=(s=l.value)!=null?s:0,x=_{const r=t.updateAngle(o),l=i(r);let c=0;return r&&(c=n(r,l)),r?a.cornerRadius(c)(r):"M 0 0"}},getArc(e,t,s){return s||this.isArcType(e.data)?this.svgArc(e,t):"M 0 0"},redrawArcRangeText(){const e=this,{config:t,$el:{arcs:s},state:i,$T:n}=e,a=t.arc_rangeText_format,o=e.hasType("gauge")&&t.arc_rangeText_fixed;let r=t.arc_rangeText_values;if(r!=null&&r.length){const l=t.arc_rangeText_unit==="%",c=e.getTotalDataSum(i.rendered);l&&(r=r.map(h=>c/100*h));const u=e.pie(r).map((h,g)=>(h.index=g,h));let d=s.selectAll(`.${G.arcRange}`).data(r);d.exit(),d=n(d.enter().append("text").attr("class",G.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text(h=>{const g=l?h/c*100:h;return P(a)?a(g):`${g}${l?"%":""}`}).merge(d)),(!i.rendered||i.rendered&&!o)&&c>0&&d.attr("transform",(h,g)=>e.transformForArcLabel(u[g],!0)),d.style("opacity",h=>!o&&(h>c||c===0)?"0":null)}},transformForArcLabel(e,t=!1){var s,i,n;const a=this,{config:o,state:{radiusExpanded:r}}=a,l=a.updateAngle(e,t);let c="";if(l){if(t||a.hasMultiArcGauge()){const u=Math.sin(l.endAngle-Math.PI/2),d=o.arc_rangeText_position;let h=Math.cos(l.endAngle-Math.PI/2)*(r+(t?5:25)),g=u*(r+15-Math.abs(u*10))+3;if(t&&d){const f=o.arc_rangeText_values,p=P(d)?d(f[e.index]):d;h+=(s=p==null?void 0:p.x)!=null?s:0,g+=(i=p==null?void 0:p.y)!=null?i:0}c=`translate(${h},${g})`}else if(!a.hasType("gauge")||a.data.targets.length>1){let{outerRadius:u}=a.getRadius(e);a.hasType("polar")&&(u=a.getPolarOuterRadius(e,u));const d=this.svgArc.centroid(l),[h,g]=d.map(_=>isNaN(_)?0:_),f=Math.sqrt(h*h+g*g);let p=(n=["donut","gauge","pie","polar"].filter(a.hasType.bind(a)).map(_=>o[`${_}_label_ratio`]))==null?void 0:n[0];p?p=P(p)?p.bind(a.api)(e,u,f):p:p=u&&(f?(36/u>.375?1.175-36/u:.8)*u/f:0),c=`translate(${h*p},${g*p})`}}return c},convertToArcData(e){return this.addName({id:"data"in e?e.data.id:e.id,value:e.value,ratio:this.getRatio("arc",e),index:e.index})},textForArcLabel(e){const t=this,s=t.hasType("gauge");t.shouldShowArcLabel()&&e.style("fill",t.updateTextColor.bind(t)).attr("filter",i=>t.updateTextBGColor.bind(t)(i,t.config.data_labels_backgroundColors)).each(function(i){var n;const a=(0,S.select)(this),o=t.updateAngle(i),r=t.getRatio("arc",o);if(t.meetsLabelThreshold(r,(n=["donut","gauge","pie","polar"].filter(t.hasType.bind(t)))==null?void 0:n[0])){const{value:c}=o||i,u=(t.getArcLabelFormat()||t.defaultArcValueFormat)(c,r,i.data.id).toString();le(a,u,[-1,1],s)}else a.text("")})},expandArc(e){const t=this,{state:{transiting:s},$el:i}=t;if(s){const a=setInterval(()=>{s||(clearInterval(a),i.legend.selectAll(`.${q.legendItemFocused}`).size()>0&&t.expandArc(e))},10);return}const n=t.mapToTargetIds(e);i.svg.selectAll(t.selectorTargets(n,`.${G.chartArc}`)).each(function(a){if(!t.shouldExpand(a.data.id))return;const o=t.getExpandConfig(a.data.id,"duration"),r=t.getSvgArcExpanded(t.getExpandConfig(a.data.id,"rate"));(0,S.select)(this).selectAll("path").transition().duration(o).attrTween("d",je(t.svgArcExpanded.bind(t))).transition().duration(o*2).attrTween("d",je(r.bind(t)))})},unexpandArc(e){const t=this,{state:{transiting:s},$el:{svg:i}}=t;if(s)return;const n=t.mapToTargetIds(e);i.selectAll(t.selectorTargets(n,`.${G.chartArc}`)).selectAll("path").transition().duration(a=>t.getExpandConfig(a.data.id,"duration")).attrTween("d",je(t.svgArc.bind(t))),i.selectAll(`${G.arc}`).style("opacity",null)},getExpandConfig(e,t){const s=this,{config:i}=s,n={duration:50,rate:.98};let a;return s.isDonutType(e)?a="donut":s.isGaugeType(e)?a="gauge":s.isPieType(e)&&(a="pie"),a?i[`${a}_expand_${t}`]:n[t]},shouldExpand(e){const t=this,{config:s}=t;return t.isDonutType(e)&&s.donut_expand||t.isGaugeType(e)&&s.gauge_expand||t.isPieType(e)&&s.pie_expand},shouldShowArcLabel(){const e=this,{config:t}=e;return["donut","gauge","pie","polar"].some(s=>e.hasType(s)&&t[`${s}_label_show`])},getArcLabelFormat(){const e=this,{config:t}=e;let s=i=>i;return["donut","gauge","pie","polar"].filter(e.hasType.bind(e)).forEach(i=>{s=t[`${i}_label_format`]}),P(s)?s.bind(e.api):s},updateTargetsForArc(e){const t=this,{$el:s}=t,i=t.hasType("gauge"),n=t.getChartClass("Arc"),a=t.getClass("arcs",!0),o=t.classFocus.bind(t),r=s.main.select(`.${G.chartArcs}`),l=r.selectAll(`.${G.chartArc}`).data(t.pie(e)).attr("class",u=>n(u)+o(u.data)),c=l.enter().append("g").attr("class",n).call(this.setCssRule(!1,`.${G.chartArcs} text`,["pointer-events:none","text-anchor:middle"]));c.append("g").attr("class",a).merge(l),c.append("text").attr("dy",i&&!t.hasMultiTargets()?"-.1em":".35em").style("opacity","0").style("text-anchor",t.getStylePropValue("middle")).style("pointer-events",t.getStylePropValue("none")),s.text=r.selectAll(`.${z.target} text`)},initArc(){const e=this,{$el:t}=e;t.arcs=t.main.select(`.${z.chart}`).append("g").attr("class",G.chartArcs).attr("transform",e.getTranslate("arc")),e.setArcTitle()},setArcTitle(e){const t=this,s=e||t.getArcTitle(),i=t.hasType("gauge");if(s){const n=i?_t.chartArcsGaugeTitle:G.chartArcsTitle;let a=t.$el.arcs.select(`.${n}`);a.empty()&&(a=t.$el.arcs.append("text").attr("class",n).style("text-anchor","middle")),i&&a.attr("dy","-0.3em"),le(a,s,i?void 0:[-.6,1.35],!0)}},getArcTitle(){const e=this,t=e.hasType("donut")&&"donut"||e.hasType("gauge")&&"gauge";return t?e.config[`${t}_title`]:""},getArcTitleWithNeedleValue(){const e=this,{config:t,state:s}=e,i=e.getArcTitle();if(i&&e.config.arc_needle_show&&/{=[A-Z_]+}/.test(i)){let n=s.current.needle;return L(n)||(n=t.arc_needle_value),be(i,{NEEDLE_VALUE:L(n)?n:0})}return!1},redrawArc(e,t,s){const i=this,{config:n,state:a,$el:{main:o}}=i,r=n.interaction_enabled,l=r&&n.data_selection_isselectable;let c=o.selectAll(`.${G.arcs}`).selectAll(`.${G.arc}`).data(i.arcData.bind(i));c.exit().transition().duration(t).style("opacity","0").remove(),c=c.enter().append("path").attr("class",i.getClass("arc",!0)).style("fill",u=>i.color(u.data)).style("cursor",u=>{var d;return(d=l==null?void 0:l.bind)!=null&&d.call(l,i.api)(u)?"pointer":null}).style("opacity","0").each(function(u){i.isGaugeType(u.data)&&(u.startAngle=n.gauge_startingAngle,u.endAngle=n.gauge_startingAngle),this._current=u}).merge(c),i.hasType("gauge")&&(i.updateGaugeMax(),i.hasMultiArcGauge()&&i.redrawArcGaugeLine()),c.attr("transform",u=>!i.isGaugeType(u.data)&&s?"scale(0)":"").style("opacity",function(u){return u===this._current?"0":null}).each(()=>{a.transiting=!0}).transition().duration(e).attrTween("d",function(u){const d=i.updateAngle(u);if(!d)return()=>"M 0 0";isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle);const h=(0,Ks.interpolate)(this._current,d);return this._current=h(0),function(g){const f=h(g);return f.data=u.data,i.getArc(f,!0)}}).attr("transform",s?"scale(1)":"").style("fill",u=>{let d;return i.levelColor?(d=i.levelColor(u.data.values[0].value),n.data_colors[u.data.id]=d):d=i.color(u.data),d}).style("opacity",null).call(me,function(){if(i.levelColor){const u=(0,S.select)(this),d=u.datum(this._current);i.updateLegendItemColor(d.data.id,u.style("fill"))}a.transiting=!1,K(n.onrendered,i.api)}),r&&i.bindArcEvent(c),i.hasType("polar")&&i.redrawPolar(),i.hasType("gauge")&&i.redrawBackgroundArcs(),n.arc_needle_show&&i.redrawNeedle(),i.redrawArcText(e),i.redrawArcRangeText()},redrawNeedle(){const e=this,{$el:t,config:s,state:{hiddenTargetIds:i,radius:n}}=e,a=(n-1)/100*s.arc_needle_length,o=i.length!==e.data.targets.length;let r=e.$el.arcs.select(`.${G.needle}`);const l=s.arc_needle_path,c=s.arc_needle_bottom_width/2,u=s.arc_needle_top_width/2,d=s.arc_needle_top_rx,h=s.arc_needle_top_ry,g=s.arc_needle_bottom_len,f=s.arc_needle_bottom_rx,p=s.arc_needle_bottom_ry,_=e.getNeedleAngle(),x=()=>{const m=e.getArcTitleWithNeedleValue();m&&e.setArcTitle(m)};if(x(),r.empty()&&(r=t.arcs.append("path").classed(G.needle,!0),t.needle=r,t.needle.updateHelper=(m,$=!1)=>{t.needle.style("display")!=="none"&&e.$T(t.needle).style("transform",`rotate(${e.getNeedleAngle(m)}deg)`).call(me,()=>{$&&(s.arc_needle_value=m),x()})}),o){const m=P(l)?l.call(e,a):`M-${c} ${g} A${f} ${p} 0 0 0 ${c} ${g} L${u} -${a} A${d} ${h} 0 0 0 -${u} -${a} L-${c} ${g} Z`;e.$T(r).attr("d",m).style("fill",s.arc_needle_color).style("display",null).style("transform",`rotate(${_}deg)`)}else r.style("display","none")},getNeedleAngle(e){const t=this,{config:s,state:i}=t,n=t.getArcLength(),a=t.hasType("gauge"),o=t.getTotalDataSum(!0);let r=W(e)?e:s.arc_needle_value,l=s[`${s.data_type}_startingAngle`]||0,c=0;if(L(r)||(r=a&&t.data.targets.length===1?o:0),i.current.needle=r,a){l=t.getStartingAngle();const u=s.gauge_fullCircle?n:l*-2,{gauge_min:d,gauge_max:h}=s;c=u*((r-d)/(h-d))}else c=n*(r/o);return(l+c)*(180/Math.PI)},redrawBackgroundArcs(){const e=this,{config:t,state:s}=e,i=e.hasMultiArcGauge(),n=t.gauge_fullCircle,a=e.filterTargetsToShow(e.data.targets).length===0&&!!t.data_empty_label_text,o=e.getStartingAngle(),r=n?o+e.getArcLength():o*-1;let l=e.$el.arcs.select(`${i?"g":""}.${G.chartArcsBackground}`);if(i){let c=0;l=l.selectAll(`path.${G.chartArcsBackground}`).data(e.data.targets),l.enter().append("path").attr("class",(u,d)=>`${G.chartArcsBackground} ${G.chartArcsBackground}-${d}`).merge(l).style("fill",t.gauge_background||null).attr("d",({id:u})=>{if(a||s.hiddenTargetIds.indexOf(u)>=0)return"M 0 0";const d={data:[{value:t.gauge_max}],startAngle:o,endAngle:r,index:c++};return e.getArc(d,!0,!0)}),l.exit().remove()}else l.attr("d",a?"M 0 0":()=>{const c={data:[{value:t.gauge_max}],startAngle:o,endAngle:r};return e.getArc(c,!0,!0)})},bindArcEvent(e){const t=this,{config:s,state:i}=t,n=i.inputType==="touch",a=i.inputType==="mouse";function o(l,c,u){t.expandArc(u),t.api.focus(u),t.toggleFocusLegend(u,!0),t.showTooltip([c],l)}function r(l){const c=(l==null?void 0:l.id)||void 0;t.unexpandArc(c),t.api.revert(),t.revertLegend(),t.hideTooltip()}if(e.on("click",function(l,c,u){var d;const h=t.updateAngle(c);let g;h&&(g=t.convertToArcData(h),(d=t.toggleShape)==null||d.call(t,this,g,u),s.data_onclick.bind(t.api)(g,this))}),a&&e.on("mouseover",function(l,c){if(i.transiting)return;i.event=l;const u=t.updateAngle(c),d=u?t.convertToArcData(u):null,h=(d==null?void 0:d.id)||void 0;o(this,d,h),t.setOverOut(!0,d)}).on("mouseout",(l,c)=>{if(i.transiting)return;i.event=l;const u=t.updateAngle(c),d=u?t.convertToArcData(u):null;r(),t.setOverOut(!1,d)}).on("mousemove",function(l,c){const u=t.updateAngle(c),d=u?t.convertToArcData(u):null;i.event=l,t.showTooltip([d],this)}),n&&t.hasArcType()&&!t.radars){const l=c=>{var u,d;const{clientX:h,clientY:g}=(d=(u=c.changedTouches)==null?void 0:u[0])!=null?d:{clientX:0,clientY:0};return(0,S.select)(lt.elementFromPoint(h,g))};t.$el.svg.on("touchstart touchmove",function(c){if(i.transiting)return;i.event=c;const d=l(c).datum(),h=d!=null&&d.data&&d.data.id?t.updateAngle(d):null,g=h?t.convertToArcData(h):null,f=(g==null?void 0:g.id)||void 0;t.callOverOutForTouch(g),it(f)?r():o(this,g,f)})}},redrawArcText(e){const t=this,{config:s,state:i,$el:{main:n,arcs:a}}=t,o=t.hasType("gauge"),r=t.hasMultiArcGauge();let l;if(o&&t.data.targets.length===1&&s.gauge_title||(l=n.selectAll(`.${G.chartArc}`).select("text").style("opacity","0").attr("class",c=>t.isGaugeType(c.data)?_t.gaugeValue:null).call(t.textForArcLabel.bind(t)).attr("transform",c=>t.transformForArcLabel.bind(t)(c)).style("font-size",c=>t.isGaugeType(c.data)&&t.data.targets.length===1&&!r?`${Math.round(i.radius/5)}px`:null).transition().duration(e).style("opacity",c=>t.isTargetToShow(c.data.id)&&t.isArcType(c.data)?null:"0"),r&&l.attr("dy","-.1em")),n.select(`.${G.chartArcsTitle}`).style("opacity",t.hasType("donut")||o?null:"0"),o){const c=s.gauge_fullCircle;c&&(l==null||l.attr("dy",`${r?0:Math.round(i.radius/14)}`)),s.gauge_label_show&&(a.select(`.${_t.chartArcsGaugeUnit}`).attr("dy",`${c?1.5:.75}em`).text(s.gauge_units),a.select(`.${_t.chartArcsGaugeMin}`).attr("dx",`${-1*(i.innerRadius+(i.radius-i.innerRadius)/(c?1:2))}px`).attr("dy","1.2em").text(t.textForGaugeMinMax(s.gauge_min,!1)),!c&&a.select(`.${_t.chartArcsGaugeMax}`).attr("dx",`${i.innerRadius+(i.radius-i.innerRadius)/2}px`).attr("dy","1.2em").text(t.textForGaugeMinMax(s.gauge_max,!0)))}},getArcElementByIdOrIndex(e){const t=this,{$el:{arcs:s}}=t,i=L(e)?n=>n.index===e:n=>n.data.id===e;return s==null?void 0:s.selectAll(`.${z.target} path`).filter(i)}},Qt={initArea(e){const t=this,{config:s}=t;e.insert("g",`.${s.area_front?ut.circles:kt.lines}`).attr("class",t.getClass("areas",!0))},updateAreaColor(e){const t=this;return t.config.area_linearGradient?t.getGradienColortUrl(e.id):t.color(e)},updateArea(e,t=!1){const s=this,{config:i,state:n,$el:a,$T:o}=s,r=t?a.subchart:a;i.area_linearGradient&&s.updateLinearGradient();const l=r.main.selectAll(`.${fe.areas}`).selectAll(`.${fe.area}`).data(s.lineData.bind(s));o(l.exit(),e).style("opacity","0").remove(),r.area=l.enter().append("path").attr("class",s.getClass("area",!0)).style("fill",s.updateAreaColor.bind(s)).style("opacity",function(){return n.orgAreaOpacity=(0,S.select)(this).style("opacity"),"0"}).merge(l),l.style("opacity",n.orgAreaOpacity),s.setRatioForGroupedData(r.area.data())},redrawArea(e,t,s=!1){const i=this,{area:n}=s?this.$el.subchart:this.$el,{orgAreaOpacity:a}=i.state;return[i.$T(n,t,Lt()).attr("d",e).style("fill",i.updateAreaColor.bind(i)).style("opacity",o=>String(i.isAreaRangeType(o)?a/1.75:a))]},generateDrawArea(e,t){const s=this,{config:i}=s,n=i.line_connectNull,a=i.axis_rotated,o=s.generateGetAreaPoints(e,t),r=s.getYScaleById.bind(s),l=d=>(t?s.subxx:s.xx).call(s,d),c=(d,h)=>s.isGrouped(d.id)?o(d,h)[0][1]:r(d.id,t)(s.isAreaRangeType(d)?s.getRangedData(d,"high"):s.getShapeYMin(d.id)),u=(d,h)=>s.isGrouped(d.id)?o(d,h)[1][1]:r(d.id,t)(s.isAreaRangeType(d)?s.getRangedData(d,"low"):d.value);return d=>{let h=n?s.filterRemoveNull(d.values):d.values,g=0,f=0,p;if(s.isAreaType(d)){let _=(0,tt.area)();_=a?_.y(l).x0(c).x1(u):_.x(l).y0(i.area_above?0:i.area_below?s.state.height:c).y1(u),n||(_=_.defined(x=>s.getBaseValue(x)!==null)),s.isStepType(d)&&(h=s.convertValuesToStep(h)),p=_.curve(s.getCurve(d))(h)}else h[0]&&(g=s.scale.x(h[0].x),f=s.getYScaleById(d.id)(h[0].value)),p=a?`M ${f} ${g}`:`M ${g} ${f}`;return p||"M 0 0"}},generateGetAreaPoints(e,t){const s=this,{config:i}=s,n=s.getShapeX(0,e,t),a=s.getShapeY(!!t),o=s.getShapeOffset(s.isAreaType,e,t),r=s.getYScaleById.bind(s);return function(l,c){const u=r.call(s,l.id,t)(s.getShapeYMin(l.id)),d=o(l,c)||u,h=n(l),g=l.value;let f=a(l);return i.axis_rotated&&(g>0&&fu.values.some(d=>L(d.value)||t.isBarRangeType(d)))).attr("class",u=>n(u)+o(u)).enter().append("g").attr("class",n).style("opacity","0").style("pointer-events",t.getStylePropValue("none")).append("g").attr("class",a).style("cursor",u=>{var d;return(d=r==null?void 0:r.bind)!=null&&d.call(r,t.api)(u)?"pointer":null}).call(t.setCssRule(!0,` .${bt.bar}`,["fill"],t.color))},updateBar(e,t=!1){const s=this,{config:i,$el:n,$T:a}=s,o=t?n.subchart:n,r=s.getClass("bar",!0),l=s.initialOpacity.bind(s);i.bar_linearGradient&&s.updateLinearGradient();const c=o.main.selectAll(`.${bt.bars}`).selectAll(`.${bt.bar}`).data(s.labelishData.bind(s));a(c.exit(),e).style("opacity","0").remove(),o.bar=c.enter().append("path").attr("class",r).style("fill",s.updateBarColor.bind(s)).merge(c).style("opacity",l),s.setRatioForGroupedData(o.bar.data())},updateBarColor(e){const t=this,s=t.getStylePropValue(t.color);return t.config.bar_linearGradient?t.getGradienColortUrl(e.id):s?s(e):null},redrawBar(e,t,s=!1){const i=this,{bar:n}=s?i.$el.subchart:i.$el;return[i.$T(n,t,Lt()).attr("d",a=>(L(a.value)||i.isBarRangeType(a))&&e(a)).style("fill",i.updateBarColor.bind(i)).style("opacity",null)]},generateDrawBar(e,t){const s=this,{config:i}=s,n=s.generateGetBarPoints(e,t),a=i.axis_rotated,o=i.bar_radius,r=i.bar_radius_ratio,l=L(o)&&o>0?()=>o:L(r)?c=>c*r:null;return(c,u)=>{const d=n(c,u),h=+a,g=+!h,f=c.value<0,p=i[`axis_${s.axis.getId(c.id)}_inverted`],_=!p&&f||p&&!f,x=["",""];let m=0;const $=s.isGrouped(c.id),b=l&&$?s.isStackingRadiusData(c):!1;if(l){const y=a?g:h,v=d[2][y]-d[0][y];m=!$||b?l(v):0;const R=`a${m},${m} ${_?"1 0 0":"0 0 1"} `;x[+!a]=`${R}${m},${m}`,x[+a]=`${R}${[-m,m][a?"sort":"reverse"]()}`,_&&x.reverse()}const A=a?`H${d[1][h]+(_?m:-m)} ${x[0]}V${d[2][g]-m} ${x[1]}H${d[3][h]}`:`V${d[1][g]+(_?-m:m)} ${x[0]}H${d[2][h]-m} ${x[1]}V${d[3][g]}`;return`M${d[0][h]},${d[0][g]}${A}z`}},isStackingRadiusData(e){const t=this,{$el:s,config:i,data:n,state:a}=t,{id:o,index:r,value:l}=e;if(a.hiddenTargetIds.indexOf(o)>-1){const h=s.bar.filter(g=>g.id===o&&g.value===l);return!h.empty()&&/a\d+/i.test(h.attr("d"))}const c=i.data_groups.find(h=>h.indexOf(o)>-1),d=t.orderTargets(t.filterTargetsToShow(n.targets.filter(t.isBarType,t))).filter(h=>c.indexOf(h.id)>-1).map(h=>h.values.filter(g=>g.index===r&&(L(l)&&l>0?g.value>0:g.value<0))[0]).filter(Boolean).map(h=>h.id);return l!==0&&d.indexOf(o)===d.length-1},generateGetBarPoints(e,t){const s=this,{config:i}=s,n=t?s.axis.subX:s.axis.x,a=s.getIndicesMax(e)+1,o=s.getBarW("bar",n,a),r=s.getShapeX(o,e,!!t),l=s.getShapeY(!!t),c=s.getShapeOffset(s.isBarType,e,!!t),u=s.getYScaleById.bind(s);return(d,h)=>{const{id:g}=d,f=u.call(s,g,t)(s.getShapeYMin(g)),p=c(d,h)||f,_=L(o)?o:o[d.id]||o._$width,x=i[`axis_${s.axis.getId(g)}_inverted`],m=d.value,$=r(d);let b=l(d);i.axis_rotated&&!x&&(m>0&&bt.isBubbleZType(o)?t.getBubbleZData(o.value,"y"):X(o.value)?o.value.mid:o.value)),n=s*s*Math.PI,a=(t.isBubbleZType(e)?t.getBubbleZData(e.value,"z"):e.value)*(n/i);return Math.sqrt(a/Math.PI)},getBubbleZData(e,t){return X(e)?e[t]:e[t==="y"?0:1]}},Do=Object.defineProperty,ei=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,si=(e,t,s)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Mo=(e,t)=>{for(var s in t||(t={}))zo.call(t,s)&&si(e,s,t[s]);if(ei)for(var s of ei(t))Fo.call(t,s)&&si(e,s,t[s]);return e},Xo={initCandlestick(){const{$el:e}=this;e.candlestick=e.main.select(`.${z.chart}`).append("g").attr("class",Et.chartCandlesticks)},updateTargetsForCandlestick(e){const t=this,{$el:s}=t,i=t.getChartClass("Candlestick");s.candlestick||t.initCandlestick(),t.$el.main.select(`.${Et.chartCandlesticks}`).selectAll(`.${Et.chartCandlestick}`).data(e).enter().append("g").attr("class",i).style("pointer-events","none")},updateCandlestick(e,t=!1){const s=this,{$el:i,$T:n}=s,a=t?i.subchart:i,o=s.getClass("candlestick",!0),r=s.initialOpacity.bind(s),l=a.main.selectAll(`.${Et.chartCandlestick}`).selectAll(`.${Et.candlestick}`).data(s.labelishData.bind(s));n(l.exit(),e).style("opacity","0").remove();const c=l.enter().filter(u=>u.value).append("g").attr("class",o);c.append("line"),c.append("path"),a.candlestick=l.merge(c).style("opacity",r)},generateDrawCandlestick(e,t){const s=this,{config:i}=s,n=s.generateGetCandlestickPoints(e,t),a=i.axis_rotated,o=i.candlestick_color_down;return(r,l,c)=>{const u=n(r,l),d=s.getCandlestickData(r),h=d==null?void 0:d._isUp,g=+a,f=+!g;c.classed&&c.classed(Et[h?"valueUp":"valueDown"],!0);const p=a?`H${u[1][1]} V${u[1][0]} H${u[0][1]}`:`V${u[1][1]} H${u[1][0]} V${u[0][1]}`;c.select("path").attr("d",`M${u[0][g]},${u[0][f]}${p}z`).style("fill",m=>(h?s.color(m):X(o)?o[m.id]:o)||s.color(m));const _=c.select("line"),x=a?{x1:u[2][1],x2:u[2][2],y1:u[2][0],y2:u[2][0]}:{x1:u[2][0],x2:u[2][0],y1:u[2][1],y2:u[2][2]};for(const m in x)_.attr(m,x[m])}},generateGetCandlestickPoints(e,t=!1){const s=this,i=t?s.axis.subX:s.axis.x,n=s.getIndicesMax(e)+1,a=s.getBarW("candlestick",i,n),o=s.getShapeX(a,e,!!t),r=s.getShapeY(!!t),l=s.getShapeOffset(s.isBarType,e,!!t),c=s.getYScaleById.bind(s);return(u,d)=>{const h=c.call(s,u.id,t)(s.getShapeYMin(u.id)),g=l(u,d)||h,f=L(a)?a:a[u.id]||a._$width,p=s.getCandlestickData(u);let _;if(p&&L(p.open)&&L(p.close)){const x={start:o(u),end:0};x.end=x.start+f;const m={start:r(p.open),end:r(p.close)},$={x:x.start+f/2,high:r(p.high),low:r(p.low)};m.start-=h-g,_=[[x.start,m.start],[x.end,m.end],[$.x,$.low,$.high]]}else _=[[0,0],[0,0],[0,0,0]];return _}},redrawCandlestick(e,t,s=!1){const i=this,{$el:n,$T:a}=i,{candlestick:o}=s?n.subchart:n,r=Lt(!0);return[o.each(function(l,c){const u=a((0,S.select)(this),t,r);e(l,c,u)}).style("opacity",null)]},getCandlestickData({value:e}){let t;if(N(e)){const[s,i,n,a,o=!1]=e;t={open:s,high:i,low:n,close:a},o!==!1&&(t.volume=o)}else X(e)&&(t=Mo({},e));return t&&(t._isUp=t.close>=t.open),t||null}},Bo=Object.defineProperty,ii=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,ni=(e,t,s)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Vo=(e,t)=>{for(var s in t||(t={}))No.call(t,s)&&ni(e,s,t[s]);if(ii)for(var s of ii(t))Go.call(t,s)&&ni(e,s,t[s]);return e};function Ae(e=!1){const t=this,{config:s,state:{current:{width:i,height:n}}}=t,a=t.getCurrentPadding(),o=Vo({width:i-(a.left+a.right),height:n-(s.legend_show?t.getLegendHeight()+10:0)-(a.top+a.bottom)},a);if(e){const{width:r,height:l}=ai.call(t,{width:o.width,height:o.height});o.width{let r=a;return X(a)&&(r=e[o?"height":"width"]*a.ratio),r}),{width:i,height:n}}function Yo(e){const t=this,{top:s,left:i,width:n}=Ae.call(t,!0),a=[];return e.forEach((o,r)=>{const{ratio:l}=o,c=r>0?a[r-1][2][1]:s;a.push(o.coords=[[i,c],[i+n,c],[i+n,r>0?l+c:l+s],[i,r>0?l+c:l+s],[i,c]])}),a}function oi(e=!1){const t=this,{width:s,height:i,top:n,left:a}=Ae.call(t,!0),o=ai.call(t,{width:s,height:i}),r=(s-o.width)/2,l=(s+o.width)/2,c=i-o.height,u=[[0,0],[s,0],[l,c],[l,i],[r,i],[r,c],[0,0]];return e&&u.forEach(d=>{d[0]+=a,d[1]+=n}),`M${u.join("L")}z`}function jo(e){const t=this,{config:s}=t,i=e.map(n=>({id:n.id,value:n.values.reduce((a,o)=>a+o.value,0)}));return s.data_order&&i.sort(t.getSortCompareFn.bind(t)(!0)),ri.call(t,i)}function ri(e){const t=this,{height:s}=Ae.call(t),i=t.getTotalDataSum(!0);return e.forEach(n=>{n.ratio=n.value/i*s}),e}var Ho={initFunnel(){const e=this,{$el:t}=e;t.funnel=t.main.select(`.${z.chart}`).append("g").classed(oe.chartFunnels,!0),t.funnel.background=t.funnel.append("path").classed(oe.funnelBackground,!0),e.bindFunnelEvent()},bindFunnelEvent(){const e=this,{$el:{funnel:t},config:s,state:i}=e,n=a=>{var o;const r=a.isTrusted?a.target:(o=i.eventReceiver.rect)==null?void 0:o.node();let l;return/^path$/i.test(r.tagName)&&(i.event=a,l=(0,S.select)(r).datum()),l};if(s.interaction_enabled){const a=i.inputType==="touch";t.on(a?"touchstart":"mouseover mousemove",o=>{const r=n(o);r&&(e.showTooltip([r],o.target),/^(touchstart|mouseover)$/.test(o.type)&&e.setOverOut(!0,r))}).on(a?"touchend":"mouseout",o=>{const r=n(o);e.hideTooltip(),e.setOverOut(!1,r)})}},updateTargetsForFunnel(e){const t=this,{$el:{funnel:s}}=t,i=t.getChartClass("Funnel"),n=t.getClass("funnel",!0);s||t.initFunnel();const a=jo.call(t,e.filter(t.isFunnelType.bind(t))),o=s.selectAll(`.${oe.chartFunnel}`).data(a);o.exit().remove();const r=o.enter().insert("g",`.${oe.funnelBackground}`);r.append("path"),s.path=r.merge(o).attr("class",l=>i(l)).select("path").attr("class",n).style("opacity","0").style("fill",t.color)},updateFunnel(e){const t=this,{$el:{funnel:s}}=t,i=e.map(({id:n})=>n);s.path=s.path.filter(n=>i.indexOf(n.id)>=0)},generateGetFunnelPoints(){const e=this,{$el:{funnel:t}}=e,s=e.filterTargetsToShow(t.path),{top:i,left:n,right:a}=Ae.call(e),o=(n-a)/2,r={};let l=i!=null?i:0;return s.each((c,u)=>{var d;r[c.id]=[[o,l],[o,l+=((d=s==null?void 0:s[u])!=null?d:c).ratio]]}),c=>r[c.id]},redrawFunnel(){const e=this,{$T:t,$el:{funnel:s}}=e,i=e.filterTargetsToShow(s.path),n=Yo.call(e,ri.call(e,i.data()));s.attr("clip-path",`path('${oi.bind(e)()}')`),s.background.attr("d",oi.call(e,!0)),t(i).attr("d",(a,o)=>`M${n[o].join("L")}z`).style("opacity","1"),s.selectAll("g").style("opacity",null)}},Wo={initGauge(){const e=this,{config:t,$el:{arcs:s}}=e,i=(n=null,a="")=>{s.append("text").attr("class",n).style("text-anchor","middle").style("pointer-events","none").text(a)};if(e.hasType("gauge")){const n=e.hasMultiArcGauge();s.append(n?"g":"path").attr("class",G.chartArcsBackground).style("fill",!n&&t.gauge_background||null),t.gauge_units&&i(_t.chartArcsGaugeUnit),t.gauge_label_show&&(i(_t.chartArcsGaugeMin),!t.gauge_fullCircle&&i(_t.chartArcsGaugeMax))}},updateGaugeMax(){const e=this,{config:t,state:s}=e,n=e.hasMultiArcGauge()?e.getMinMaxData().max[0].value:e.getTotalDataSum(s.rendered);!t.gauge_enforceMinMax&&n+t.gauge_min*(t.gauge_min>0?-1:1)>t.gauge_max&&(t.gauge_max=n-t.gauge_min)},redrawArcGaugeLine(){const e=this,{config:t,state:s,$el:i}=e,{hiddenTargetIds:n}=e.state,a=i.main.selectAll(`.${G.arcs}`).selectAll(`.${G.arcLabelLine}`).data(e.arcData.bind(e));a.enter().append("rect").attr("class",r=>`${G.arcLabelLine} ${z.target} ${z.target}-${r.data.id}`).merge(a).style("fill",r=>e.levelColor?e.levelColor(r.data.values[0].value):e.color(r.data)).style("display",t.gauge_label_show?null:"none").each(function(r){let l=0;const c=2;let u=0,d=0,h="";if(n.indexOf(r.data.id)<0){const g=e.updateAngle(r),f=s.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length*(g.index+1),p=g.endAngle-Math.PI/2,_=s.radius-f,x=p-(_===0?0:1/_);l=s.radiusExpanded-s.radius+f,u=Math.cos(x)*_,d=Math.sin(x)*_,h=`rotate(${p*180/Math.PI}, ${u}, ${d})`}(0,S.select)(this).attr("x",u).attr("y",d).attr("width",l).attr("height",c).attr("transform",h).style("stroke-dasharray",`0, ${l+c}, 0`)})},textForGaugeMinMax(e,t){const s=this,{config:i}=s,n=i.gauge_label_extents;return P(n)?n.bind(s.api)(e,t):e},getGaugeLabelHeight(){const{config:e}=this;return this.config.gauge_label_show&&!e.gauge_fullCircle?20:0},getPaddingBottomForGauge(){const e=this;return e.getGaugeLabelHeight()*(e.config.gauge_label_show?2:2.5)}};function Uo(e,t,s,i=!1){const n=e?[e,0]:s;for(let a=e||s.reduce((o,r)=>o+r);a<=t;)s.forEach(o=>{a+o<=t&&n.push(o),a+=o});return n.length%2!==0&&n.push(i?s[1]:0),{dash:n.join(" "),length:n.reduce((a,o)=>a+o,0)}}function Zo(e,t,s){const i=this,n=[],a="2 2";if(W(t)){const o=(r,l)=>it(r)?l:s?mt.call(i,r):r;for(let r=0,l;l=t[r];r++){const c=o(l.start,e[0].x),u=o(l.end,e[e.length-1].x),d=l.style||{dasharray:a};n[r]={start:c,end:u,style:d}}}return n}var qo={initLine(){const{$el:e}=this;e.line=e.main.select(`.${z.chart}`).append("g").attr("class",kt.chartLines).call(this.setCssRule(!1,`.${kt.chartLines}`,["pointer-events:none"]))},updateTargetsForLine(e){const t=this,{$el:{area:s,line:i,main:n}}=t,a=t.getChartClass("Line"),o=t.getClass("lines",!0),r=t.classFocus.bind(t);i||t.initLine();const l=e.filter(d=>!(t.isScatterType(d)||t.isBubbleType(d))),c=n.select(`.${kt.chartLines}`).selectAll(`.${kt.chartLine}`).data(l).attr("class",d=>a(d)+r(d)),u=c.enter().append("g").attr("class",a).style("opacity","0").style("pointer-events",t.getStylePropValue("none"));if(u.append("g").attr("class",o),t.hasTypeOf("Area")){const d=(!s&&u.empty()?c:u).filter(t.isAreaType.bind(t));t.initArea(d)}t.updateTargetForCircle(l,u)},updateLine(e,t=!1){const s=this,{format:{extraLineClasses:i},$el:n,$T:a}=s,o=t?n.subchart:n,r=o.main.selectAll(`.${kt.lines}`).selectAll(`.${kt.line}`).data(s.lineData.bind(s));a(r.exit(),e).style("opacity","0").remove(),o.line=r.enter().append("path").attr("class",l=>`${s.getClass("line",!0)(l)} ${i(l)||""}`).style("stroke",s.color).merge(r).style("opacity",s.initialOpacity.bind(s)).attr("transform",null)},redrawLine(e,t,s=!1){const i=this,{$el:n,$T:a}=i,{line:o}=s?n.subchart:n;return[a(o,t,Lt()).attr("d",e).style("stroke",this.color).style("opacity",null)]},getCurve(e){const t=this;return t.config.axis_rotated&&t.isStepType(e)?i=>{const n=t.getInterpolate(e)(i);return n.orgPoint=n.point,n.pointRotated=function(a,o){this._point===1&&(this._point=2);const r=this._y*(1-this._t)+o*this._t;this._context.lineTo(this._x,r),this._context.lineTo(a,r),this._x=a,this._y=o},n.point=function(a,o){this._point===0?this.orgPoint(a,o):this.pointRotated(a,o)},n}:t.getInterpolate(e)},generateDrawLine(e,t){const s=this,{config:i,scale:n}=s,a=i.line_connectNull,o=i.axis_rotated,r=s.generateGetLinePoints(e,t),l=s.getYScaleById.bind(s),c=g=>(t?s.subxx:s.xx).call(s,g),u=(g,f)=>s.isGrouped(g.id)?r(g,f)[0][1]:l(g.id,t)(s.getBaseValue(g));let d=(0,tt.line)();d=o?d.x(u).y(c):d.x(c).y(u),a||(d=d.defined(g=>s.getBaseValue(g)!==null));const h=t?n.subX:n.x;return g=>{const f=l(g.id,t);let p=a?s.filterRemoveNull(g.values):g.values,_=0,x=0,m;if(s.isLineType(g)){const $=i.data_regions[g.id];$?m=s.lineWithRegions(p,n.zoom||h,f,$):(s.isStepType(g)&&(p=s.convertValuesToStep(p)),m=d.curve(s.getCurve(g))(p))}else p[0]&&(_=h(p[0].x),x=f(p[0].value)),m=o?`M ${x} ${_}`:`M ${_} ${x}`;return m||"M 0 0"}},lineWithRegions(e,t,s,i){const n=this,{config:a}=n,o=a.axis_rotated,r=n.axis.isTimeSeries(),l="2 2",c=Zo.bind(n)(e,i,r),u=n.hasNullDataValue(e);let d,h,g,f;const p=o?T=>s(T.value):T=>t(T.x),_=o?T=>t(T.x):T=>s(T.value),x=T=>`M${T[0][0]},${T[0][1]}L${T[1][0]},${T[1][1]}`,m=r?(T,C,I,k)=>{const O=T.x.getTime(),M=C.x-T.x,Y=new Date(O+M*I),Q=new Date(O+M*(I+k)),rt=o?[[s(h(I)),t(Y)],[s(h(I+g)),t(Q)]]:[[t(Y),s(h(I))],[t(Q),s(h(I+g))]];return x(rt)}:(T,C,I,k)=>{const O=t(C.x,!o),M=s(C.value,o),Y=I+k,Q=t(d(I),!o),rt=s(h(I),o);let yt=t(d(Y),!o),Rt=s(h(Y),o);yt>O&&(yt=O),T.value>C.value&&(o?RtM)&&(Rt=M);const at=[[Q,rt],[yt,Rt]];return o&&at.forEach(Ct=>Ct.reverse()),x(at)},$={x:n.axis.getAxisType("x"),y:n.axis.getAxisType("y")};let b="";const A=n.$el.line.filter(({id:T})=>T===e[0].id),y=A.clone().style("display","none"),v=(T,C)=>T.attr("d",C).node().getTotalLength(),R={dash:[],lastLength:0};let w=!1;for(let T=0,C;C=e[T];T++){const I=e[T-1],k=I&&F(I.value);let O=n.isWithinRegions(C.x,c);if(F(C.value)){if(it(c)||!O||!k)b+=`${T&&k?"L":"M"}${p(C)},${_(C)}`;else if(k)if(O=((O==null?void 0:O.dasharray)||l).split(" ").map(Number),d=Yt($.x,I.x,C.x),h=Yt($.y,I.value,C.value),u){const M=t(C.x)-t(I.x),Y=s(C.value)-s(I.value),Q=Math.sqrt(Math.pow(M,2)+Math.pow(Y,2));g=O[0]/Q,f=g*O[1];for(let rt=g;rt<=1;rt+=f)b+=m(I,C,rt,g),rt+f>=1&&(b+=m(I,C,1,0))}else{let M=[];if(w=C.x===e[e.length-1].x,r){const yt=+I.x,Rt=new Date(yt),at=new Date(yt+(+C.x-yt));M=[[t(Rt),s(h(0))],[t(at),s(h(1))]]}else M=[[t(d(0)),s(h(0))],[t(d(1)),s(h(1))]];o&&M.forEach(yt=>yt.reverse());const Y=v(y,b),Q=v(y,b+=`L${M[1].join(",")}`),rt=Uo(Y-R.lastLength,Q-R.lastLength,O,w);R.lastLength+=rt.length,R.dash.push(rt.dash)}}}return R.dash.length&&(!w&&R.dash.push(v(y,b)),y.remove(),A.attr("stroke-dasharray",R.dash.join(" "))),b},isWithinRegions(e,t){for(let s=0,i;i=t[s];s++)if(i.startLt();var we={initialOpacityForCircle(e){const{config:t,state:{withoutFadeIn:s}}=this;let i=t.point_opacity;return it(i)&&(i=this.getBaseValue(e)!==null&&s[e.id]?this.opacityForCircle(e):"0"),i},opacityForCircle(e){var t;const{config:s}=this;let i=s.point_opacity;return it(i)&&(i=s.point_show&&!((t=this.isPointFocusOnly)!=null&&t.call(this))?null:"0",i=F(this.getBaseValue(e))?this.isBubbleType(e)||this.isScatterType(e)?"0.5":i:"0"),i},initCircle(){const e=this,{$el:{main:t}}=e;!e.point&&(e.point=e.generatePoint()),(e.hasType("bubble")||e.hasType("scatter"))&&t.select(`.${z.chart} > .${ut.chartCircles}`).empty()&&t.select(`.${z.chart}`).append("g").attr("class",ut.chartCircles)},updateTargetForCircle(e,t){const s=this,{config:i,data:n,$el:a}=s,o=i.interaction_enabled&&i.data_selection_enabled,r=o&&i.data_selection_isselectable,l=s.getClass("circles",!0);if(!i.point_show)return;s.initCircle();let c=e,u=t;if(!c){c=n.targets.filter(h=>this.isScatterType(h)||this.isBubbleType(h));const d=a.main.select(`.${ut.chartCircles}`).style("pointer-events","none").selectAll(`.${ut.circles}`).data(c);d.exit().remove(),u=d.enter()}o&&u.append("g").attr("class",d=>s.generateClass(J.selectedCircles,d.id)),u.append("g").attr("class",l).call(d=>{s.setCssRule(!0,`.${ut.circles}`,["cursor:pointer"],r)(d),s.setCssRule(!0,` .${ut.circle}`,["fill","stroke"],s.color)(d)}).style("opacity",function(){return(0,S.select)(this.parentNode).attr("class").indexOf(ut.chartCircles)>-1?"0":null}),o&&c.forEach(d=>{a.main.selectAll(`.${J.selectedCircles}${s.getTargetSelectorSuffix(d.id)}`).selectAll(`${J.selectedCircle}`).each(h=>{h.value=d.values[h.index].value})})},updateCircle(e=!1){const t=this,{config:s,state:i,$el:n}=t,a=t.isPointFocusOnly(),o=e?n.subchart:n;if(s.point_show&&!i.toggling){s.point_radialGradient&&t.updateLinearGradient();const r=o.main.selectAll(`.${ut.circles}`).selectAll(`.${ut.circle}`).data(l=>t.isLineType(l)&&t.shouldDrawPointsForLine(l)||t.isBubbleType(l)||t.isRadarType(l)||t.isScatterType(l)?a?[l.values[0]]:l.values:[]);r.exit().remove(),r.enter().filter(Boolean).append(t.point("create",this,t.pointR.bind(t),t.updateCircleColor.bind(t))),o.circle=o.main.selectAll(`.${ut.circles} .${ut.circle}`).style("stroke",t.getStylePropValue(t.color)).style("opacity",t.initialOpacityForCircle.bind(t))}},updateCircleColor(e){const t=this,s=t.getStylePropValue(t.color);return t.config.point_radialGradient?t.getGradienColortUrl(e.id):s?s(e):null},redrawCircle(e,t,s,i,n=!1){const a=this,{state:{rendered:o},$el:r,$T:l}=a,c=n?r.subchart:r,u=c.main.selectAll(`.${J.selectedCircle}`);if(!a.config.point_show)return[];const d=a.point("update",a,e,t,a.updateCircleColor.bind(a),s,i,u),h=a.isCirclePoint()?"c":"",g=Lt(),f=a.opacityForCircle.bind(a),p=[];return c.circle.each(function(_){let x=d.bind(this)(_);x=l(x,s||!o,g).style("opacity",f),p.push(x)}),[p,l(u,s).attr(`${h}x`,e).attr(`${h}y`,t)]},showCircleFocus(e){const t=this,{state:{hasRadar:s,resizing:i,toggling:n,transiting:a},$el:o}=t;let{circle:r}=o;if(a===!1&&r&&t.isPointFocusOnly()){const l=(s?t.radarCircleX:t.circleX).bind(t),c=(s?t.radarCircleY:t.circleY).bind(t),u=n||it(e),d=t.point("update",t,l,c,t.getStylePropValue(t.color),i?!1:u);e&&(r=r.filter(function(h){var g;const f=(g=e.filter)==null?void 0:g.call(e,p=>p.id===h.id);return f.length?(0,S.select)(this).datum(f[0]):!1})),r.attr("class",this.updatePointClass.bind(this)).style("opacity",null).each(function(h){const{id:g,index:f,value:p}=h;let _="hidden";F(p)&&(d.bind(this)(h),t.expandCircles(f,g),_=""),this.style.visibility=_})}},hideCircleFocus(){const e=this,{$el:{circle:t}}=e;e.isPointFocusOnly()&&t&&(e.unexpandCircles(),t.style("visibility","hidden"))},circleX(e){return this.xx(e)},updateCircleY(e=!1){const t=this,s=t.generateGetLinePoints(t.getShapeIndices(t.isLineType),e);return(i,n)=>{const a=i.id;return t.isGrouped(a)?s(i,n)[0][1]:t.getYScaleById(a,e)(t.getBaseValue(i))}},expandCircles(e,t,s){const i=this,n=i.pointExpandedR.bind(i);s&&i.unexpandCircles();const a=i.getShapeByIndex("circle",e,t).classed(z.EXPANDED,!0),o=n(a)/i.config.point_r,r=1-o;i.isCirclePoint()?a.attr("r",n):a.each(function(){const l=(0,S.select)(this);if(this.tagName==="circle")l.attr("r",n);else{const{width:c,height:u}=this.getBBox(),d=r*(+l.attr("x")+c/2),h=r*(+l.attr("y")+u/2);l.attr("transform",`translate(${d} ${h}) scale(${o})`)}})},unexpandCircles(e){const t=this,s=t.pointR.bind(t),i=t.getShapeByIndex("circle",e).filter(function(){return(0,S.select)(this).classed(z.EXPANDED)}).classed(z.EXPANDED,!1);if(i.attr("r",s),!t.isCirclePoint()){const n=s(i)/t.config.point_r;i.attr("transform",n!==1?`scale(${n})`:null)}},pointR(e){const t=this,{config:s}=t,i=s.point_r;let n=i;return t.isBubbleType(e)?n=t.getBubbleR(e):P(i)&&(n=i.bind(t.api)(e)),e.r=n,n},pointExpandedR(e){const t=this,{config:s}=t,i=t.isBubbleType(e)?1.15:1.75;return s.point_focus_expand_enabled?s.point_focus_expand_r||t.pointR(e)*i:t.pointR(e)},pointSelectR(e){const t=this,s=t.config.point_select_r;return P(s)?s(e):s||t.pointR(e)*4},isPointFocusOnly(){const e=this;return e.config.point_focus_only&&!e.hasType("bubble")&&!e.hasType("scatter")&&!e.hasArcType(null,["radar"])},isWithinCircle(e,t){const{config:s,state:i}=this,n=$t(i.event,e),a=(0,S.select)(e),o=this.isCirclePoint(e)?"c":"",r=s.point_sensitivity==="radius"?e.getAttribute("r"):s.point_sensitivity;let l=+a.attr(`${o}x`),c=+a.attr(`${o}y`);if(!(l||c)&&e.nodeType===1){const{x:u,y:d}=$e(e);l=u,c=d}return Math.sqrt(Math.pow(l-n[0],2)+Math.pow(c-n[1],2))<(t||r)},getPointSensitivity(e){const t=this;let s=t.config.point_sensitivity;return P(s)?s=s.call(t.api,e):s==="radius"&&(s=e.r),s},updatePointClass(e){const t=this,{circle:s}=t.$el;let i=!1;return(X(e)||s)&&(i=e===!0?s.each(function(n){let a=t.getClass("circle",!0)(n);this.getAttribute("class").indexOf(z.EXPANDED)>-1&&(a+=` ${z.EXPANDED}`),this.setAttribute("class",a)}):t.getClass("circle",!0)(e)),i},generateGetLinePoints(e,t){const s=this,{config:i}=s,n=s.getShapeX(0,e,t),a=s.getShapeY(t),o=s.getShapeOffset(s.isLineType,e,t),r=s.getYScaleById.bind(s);return(l,c)=>{const u=r.call(s,l.id,t)(s.getShapeYMin(l.id)),d=o(l,c)||u,h=n(l);let g=a(l);i.axis_rotated&&(l.value>0&&gF(g.value)?t(g)-l/2:0,d=g=>F(g.value)?s(g)-c/2:0;let h=e;return n&&(a&&h.attr("x",u),h=r.$T(h,n,te()),o&&r.$T(o,n,te())),h.attr("x",u).attr("y",d).style("fill",i)}},circle:{create(e,t,s){return e.append("circle").attr("class",this.updatePointClass.bind(this)).attr("r",t).style("fill",s).node()},update(e,t,s,i,n,a,o){const r=this;let l=e;return r.hasType("bubble")&&l.attr("r",r.pointR.bind(r)),n&&(a&&l.attr("cx",t),l.attr("cx")&&(l=r.$T(l,n,te())),o&&r.$T(l,n,te())),l.attr("cx",t).attr("cy",s).style("fill",i)}},rectangle:{create(e,t,s){const i=n=>t(n)*2;return e.append("rect").attr("class",this.updatePointClass.bind(this)).attr("width",i).attr("height",i).style("fill",s).node()},update(e,t,s,i,n,a,o){const r=this,l=r.config.point_r,c=h=>t(h)-l,u=h=>s(h)-l;let d=e;return n&&(a&&d.attr("x",c),d=r.$T(d,n,te()),o&&r.$T(o,n,te())),d.attr("x",c).attr("y",u).style("fill",i)}}};function Ko(e){return wt(e)&&P(e.create)&&P(e.update)}function Jo(e,t){var s;const i=this,n=(l,c)=>{const u=l.attributes;for(let d=0,h;h=u[d];d++)h=h.name,c.setAttribute(h,l.getAttribute(h))},o=new DOMParser().parseFromString(e,"image/svg+xml").documentElement,r=lt.createElementNS(S.namespaces.svg,o.nodeName.toLowerCase());if(r.id=t,r.style.fill="inherit",r.style.stroke="inherit",n(o,r),(s=o.childNodes)!=null&&s.length){const l=(0,S.select)(r);"innerHTML"in r?l.html(o.innerHTML):Gt(o.childNodes).forEach(c=>{n(c,l.append(c.tagName).node())})}i.$el.defs.node().appendChild(r)}var ee={hasValidPointType(e){return/^(circle|rect(angle)?|polygon|ellipse|use)$/i.test(e||this.config.point_type)},hasLegendDefsPoint(){var e;const{config:t}=this;return t.legend_show&&((e=t.point_pattern)==null?void 0:e.length)&&t.legend_usePoint},getDefsPointId(e){const{state:{datetimeId:t}}=this;return`${t}-point${e}`},generatePoint(){const e=this,{$el:t,config:s}=e,i=[],n=nt(s.point_pattern)?s.point_pattern:[s.point_type];return function(a,o,...r){return function(l){var c,u,d,h;const g=e.getTargetSelectorSuffix(l.id||((c=l.data)==null?void 0:c.id)||l),f=(0,S.select)(this);i.indexOf(g)<0&&i.push(g);let p=n[i.indexOf(g)%n.length];if(e.hasValidPointType(p))p=e[p];else if(!Ko(p||s.point_type)){const _=e.getDefsPointId(g);if(t.defs.select(`#${_}`).size()<1&&Jo.bind(e)(p,_),a==="create")return(u=e.custom)==null?void 0:u.create.bind(o)(f,_,...r);if(a==="update")return(d=e.custom)==null?void 0:d.update.bind(o)(f,...r)}return(h=p[a])==null?void 0:h.bind(o)(f,...r)}}}};function li(e){const t=e.config.polar_level_max;let s=e.getMinMaxData().max[0].value;return t&&t>s&&(s=t),s}var Qo={initPolar(){const e=this,{$el:{arcs:t},config:s}=e,i=s.polar_level_text_show,n=s.polar_level_text_backgroundColor;t.levels=t.append("g").attr("class",Dt.levels),i&&n&&e.generateTextBGColorFilter(n)},getPolarOuterRadius(e,t){var s;const i=li(this);return((s=e==null?void 0:e.data.values[0].value)!=null?s:0)/i*t},updateTargetsForPolar(e){this.updateTargetsForArc(e)},redrawPolar(){const e=this,{config:t}=e;t.polar_level_show&&e.updatePolarLevel()},updatePolarLevel(){const e=this,{config:t,state:s,$el:{arcs:{levels:i}}}=e,n=t.polar_level_depth,a=li(e),o=ye(0,n),r=s.radius,l=o.map(h=>r*((h+1)/n)),c=(t.polar_level_text_format||function(){}).bind(e.api),u=i.selectAll(`.${Dt.level}`).data(o);u.exit().remove();const d=u.enter().append("g").attr("class",(h,g)=>`${Dt.level} ${Dt.level}-${g}`);if(d.append("circle"),d.merge(u).selectAll("circle").style("visibility",t.polar_level_show?null:"hidden").attr("cx",0).attr("cy",0).attr("r",h=>l[h]),t.polar_level_text_show){const h=t.polar_level_text_backgroundColor,g=`#${s.datetimeId}-labels-bg${e.getTargetSelectorSuffix(h)}`;d.append("text").style("text-anchor","middle"),d.merge(u).selectAll("text").attr("dy",f=>-l[f]+5).attr("filter",h?`url(${g})`:null).text(f=>c(a/o.length*(f+1)))}}};function tr(e,t,s,i,n,a){const o=e&&i>0?s-i:i,r=2*Math.PI;return n*(1-a*(t==="x"?Math.sin:Math.cos)(o*r/s))}const se=pt.radarPoints,ci=pt.radarTextWidth;var er={initRadar(){const e=this,{config:t,state:{current:s},$el:i}=e;e.hasType("radar")&&(i.radar=i.main.select(`.${z.chart}`).append("g").attr("class",Je.chartRadars),i.radar.levels=i.radar.append("g").attr("class",Dt.levels),i.radar.axes=i.radar.append("g").attr("class",ot.axis),i.radar.shapes=i.radar.append("g").attr("class",st.shapes),s.dataMax=t.radar_axis_max||e.getMinMaxData().max[0].value,t.radar_axis_text_show&&(t.interaction_enabled&&e.bindRadarEvent(),e.updateRadarLevel(),e.updateRadarAxes()))},getRadarSize(){const e=this,{config:t,state:{arcWidth:s,arcHeight:i}}=e,n=t.axis_x_categories.length<4?-20:10,a=(Math.min(s,i)-n)/2;return[a,a]},updateTargetsForRadar(e){const t=this,{config:s}=t;Tt(s.axis_x_categories)&&(s.axis_x_categories=ye(0,At("max",e.map(i=>i.values.length)))),t.generateRadarPoints()},getRadarPosition(e,t,s,i){const n=this,{config:a}=n,[o,r]=n.getRadarSize(),l=a.axis_x_categories.length,c=a.radar_direction_clockwise,u=Gt(e).map(d=>tr(c,d,l,t,W(s)?s:e==="x"?o:r,L(i)?i:a.radar_size_ratio));return u.length===1?u[0]:u},generateRadarPoints(){const e=this,t=e.data.targets,[s,i]=e.getRadarSize(),n=e.cache.get(se)||{},a=n._size;(!a||a.width!==s&&a.height!==i)&&(t.forEach(o=>{n[o.id]=o.values.map((r,l)=>e.getRadarPosition(["x","y"],l,void 0,e.getRatio("radar",r)))}),n._size={width:s,height:i},e.cache.add(se,n))},redrawRadar(){const e=this,{radar:t,main:s}=e.$el,i=e.getTranslate("radar");i&&(t.attr("transform",i),s.select(`.${gt.chartTexts}`).attr("transform",i),e.generateRadarPoints(),e.updateRadarLevel(),e.updateRadarAxes(),e.updateRadarShape())},generateGetRadarPoints(){const e=this.cache.get(se);return(t,s)=>{const i=e[t.id][s];return[i,i,i,i]}},updateRadarLevel(){const e=this,{config:t,state:s,$el:{radar:i}}=e,[n,a]=e.getRadarSize(),o=t.radar_level_depth,r=t.axis_x_categories.length,l=t.radar_level_text_show,c=i.levels,u=ye(0,o),d=t.radar_size_ratio*Math.min(n,a),h=u.map(x=>d*((x+1)/o)),g=(t.radar_level_text_format||function(){}).bind(e.api),f=u.map(x=>{const m=h[x];return ye(0,r).map(b=>e.getRadarPosition(["x","y"],b,m,1).join(",")).join(" ")}),p=c.selectAll(`.${Dt.level}`).data(u);p.exit().remove();const _=p.enter().append("g").attr("class",(x,m)=>`${Dt.level} ${Dt.level}-${m}`);_.append("polygon").style("visibility",t.radar_level_show?null:"hidden"),l&&(c.select("text").empty()&&c.append("text").attr("dx","-.5em").attr("dy","-.7em").style("text-anchor","end").text(()=>g(0)),_.append("text").attr("dx","-.5em").style("text-anchor","end").text(x=>g(s.current.dataMax/u.length*(x+1)))),_.merge(p).attr("transform",x=>`translate(${n-h[x]}, ${a-h[x]})`).selectAll("polygon").attr("points",x=>f[x]),l&&c.selectAll("text").attr("x",x=>it(x)?n:f[x].split(",")[0]).attr("y",x=>it(x)?a:0)},updateRadarAxes(){const e=this,{config:t,$el:{radar:s}}=e,[i,n]=e.getRadarSize(),a=t.axis_x_categories;let o=s.axes.selectAll("g").data(a);o.exit().remove();const r=o.enter().append("g").attr("class",(l,c)=>`${ot.axis}-${c}`);if(t.radar_axis_line_show&&r.append("line"),t.radar_axis_text_show&&r.append("text"),o=r.merge(o),t.radar_axis_line_show&&o.select("line").attr("x1",i).attr("y1",n).attr("x2",(l,c)=>e.getRadarPosition("x",c)).attr("y2",(l,c)=>e.getRadarPosition("y",c)),t.radar_axis_text_show){const{x:l=0,y:c=0}=t.radar_axis_text_position,u=e.cache.get(ci)||0;if(o.select("text").style("text-anchor","middle").attr("dy",".5em").call(d=>{d.each(function(h){le((0,S.select)(this),String(h),[-.6,1.2])})}).datum((d,h)=>({index:h})).attr("transform",function(d){it(this.width)&&(this.width=this.getBoundingClientRect().width/2);let h=e.getRadarPosition("x",d.index,void 0,1),g=Math.round(e.getRadarPosition("y",d.index,void 0,1));return h>i?h+=this.width+l:Math.round(h)n?(g/2===n&&this.firstChild.tagName==="tspan"&&this.firstChild.setAttribute("dy","0em"),g+=c):gos(h.node()).width);d.every(h=>h>0)&&e.cache.add(ci,d[0]-d[1])}}},bindRadarEvent(){const e=this,{state:t,$el:{radar:s,svg:i}}=e,n=e.isPointFocusOnly(),{inputType:a,transiting:o}=t,r=a==="mouse",l=c=>{t.event=c;const u=e.getDataIndexFromEvent(c),d=it(u);(r||d)&&(e.hideTooltip(),n?e.hideCircleFocus():e.unexpandCircles(),r?e.setOverOut(!1,u):d&&e.callOverOutForTouch())};s.axes.on(r?"mouseover ":"touchstart",c=>{if(o)return;t.event=c;const u=e.getDataIndexFromEvent(c);e.selectRectForSingle(i.node(),u),r?e.setOverOut(!0,u):e.callOverOutForTouch(u)}).on("mouseout",r?l:null),r||i.on("touchstart",l)},updateRadarShape(){const e=this,t=e.data.targets.filter(a=>e.isRadarType(a)),s=e.cache.get(se),i=e.$el.radar.shapes.selectAll("polygon").data(t),n=i.enter().append("g").attr("class",e.getChartClass("Radar"));e.$T(i.exit()).remove(),n.append("polygon").merge(i).style("fill",e.color).style("stroke",e.color).attr("points",a=>s[a.id].join(" ")),e.updateTargetForCircle(t,n)},radarCircleX(e){return this.cache.get(se)[e.id][e.index][0]},radarCircleY(e){return this.cache.get(se)[e.id][e.index][1]}},Ot=U(14);function sr(e,t){const s=this,{scale:{x:i,y:n},state:{width:a}}=s;e.selectAll("g").attr("transform",o=>`translate(${o===t?"0,0":`${i(o.x0)},${n(o.y0)}`})`).select("rect").attr("width",o=>o===t?a:i(o.x1)-i(o.x0)).attr("height",o=>o===t?0:n(o.y1)-n(o.y0))}function ir(e){const t=this;return e.map(s=>{const{id:i,values:n}=s,{value:a}=n[0];return{name:i,id:i,value:a,ratio:t.getRatio("treemap",n[0])}})}function nr(e){const t=this,s=(0,Ot.hierarchy)(e).sum(n=>n.value),i=t.getSortCompareFn(!0);return[t.treemap(i?s.sort(i):s)]}var ar={initTreemap(){const e=this,{$el:t,state:{current:{width:s,height:i},clip:n,datetimeId:a}}=e;n.id=`${a}-clip`,e.treemap=(0,Ot.treemap)().tile(e.getTreemapTile()),t.defs.append("clipPath").attr("id",n.id).append("rect").attr("width",s).attr("height",i),t.treemap=t.main.select(`.${z.chart}`).attr("clip-path",`url(#${n.id})`).append("g").classed(ts.chartTreemaps,!0),e.bindTreemapEvent()},bindTreemapEvent(){const e=this,{$el:t,config:s,state:i}=e,n=a=>{var o;const r=a.isTrusted?a.target:(o=i.eventReceiver.rect)==null?void 0:o.node();let l;return/^rect$/i.test(r.tagName)&&(i.event=a,l=(0,S.select)(r).datum()),l==null?void 0:l.data};if(s.interaction_enabled){const a=i.inputType==="touch";t.treemap.on(a?"touchstart":"mouseover mousemove",o=>{const r=n(o);r&&(e.showTooltip([r],o.currentTarget),/^(touchstart|mouseover)$/.test(o.type)&&e.setOverOut(!0,r))}).on(a?"touchend":"mouseout",o=>{const r=n(o);e.hideTooltip(),e.setOverOut(!1,r)})}},getTreemapTile(){var e,t;const s=this,{config:i,state:{current:{width:n,height:a}}}=s,o=(t={binary:Ot.treemapBinary,dice:Ot.treemapDice,slice:Ot.treemapSlice,sliceDice:Ot.treemapSliceDice,squarify:Ot.treemapSquarify,resquarify:Ot.treemapResquarify}[(e=i.treemap_tile)!=null?e:"binary"])!=null?t:Ot.treemapBinary;return(r,l,c,u,d)=>{o(r,0,0,n,a);for(const h of r.children)h.x0=l+h.x0/n*(u-l),h.x1=l+h.x1/n*(u-l),h.y0=c+h.y0/a*(d-c),h.y1=c+h.y1/a*(d-c)}},getTreemapData(e){const t=this;return{name:"root",children:ir.bind(t)(t.filterTargetsToShow(e.filter(t.isTreemapType,t)))}},updateTargetsForTreemap(e){const t=this,{$el:{treemap:s}}=t,i=nr.call(t,t.getTreemapData(e!=null?e:t.data.targets));s.data(i)},updateTreemap(e){const t=this,{$el:s,$T:i}=t,n=s.treemap.datum(),a=t.getChartClass("Treemap"),o=t.getClass("treemap",!0),r=s.treemap.selectAll("g").data(n.children);i(r.exit(),e).style("opacity","0").remove(),r.enter().append("g").append("rect"),s.treemap.selectAll("g").attr("class",a).select("rect").attr("class",o).attr("fill",l=>t.color(l.data.name))},generateGetTreemapPoints(){const e=this,{$el:t,scale:{x:s,y:i}}=e,n={};return t.treemap.selectAll("g").each(a=>{n[a.data.name]=[[s(a.x0),i(a.y0)],[s(a.x1),i(a.y1)]]}),a=>n[a.id]},redrawTreemap(e){const t=this,{$el:s,state:{current:{width:i,height:n}}}=t;return s.defs.select("rect").attr("width",i).attr("height",n),[t.$T(s.treemap,e,Lt()).call(sr.bind(t),s.treemap.datum())]},treemapDataLabelFormat(e){const t=this,{config:s}=t,{id:i,value:n}=e,a=s.treemap_label_format,o=t.getRatio("treemap",e),r=(o*100).toFixed(2),l=s.treemap_label_show&&t.meetsLabelThreshold(o,"treemap")?null:"0";return function(c){return c.style("opacity",l),P(a)?a.bind(t.api)(n,o,i):`${i} -${r}%`}}},Ht={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},ie={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},or={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},rr={bubble_maxR:35,bubble_zerobased:!1},lr={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},cr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},dr={scatter_zerobased:!1},He={spline_interpolation_type:"cardinal"},Se={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},ur={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},hr={funnel_neck_width:0,funnel_neck_height:0},gr={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},fr={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},pr={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:e=>e%1===0?e:e.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},xr={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:e=>e%1===0?e:e.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},_r={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ne(e,t){ct(jt.prototype,Object.values(Zs).concat(e)),ct(Xt.prototype,Ao),Vt.setOptions(Object.values(qs).concat(t||[]))}function It(e,t){ne([ee,we,qo].concat(e||[])),Vt.setOptions([Ht,cr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Po,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let di=()=>(It(Qt,[ie]),(di=()=>E.AREA)()),ui=()=>(It(Qt,[ie]),(ui=()=>E.AREA_LINE_RANGE)()),hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA_STEP_RANGE)()),gi=()=>(It(Qt,[ie,He]),(gi=()=>E.AREA_SPLINE)()),fi=()=>(It(Qt,[ie,He]),(fi=()=>E.AREA_SPLINE_RANGE)()),pi=()=>(It(Qt,[ie]),(pi=()=>E.AREA_STEP)()),xi=()=>(It(),(xi=()=>E.LINE)()),_i=()=>(It(void 0,[He]),(_i=()=>E.SPLINE)()),mi=()=>(It(),(mi=()=>E.STEP)()),$i=()=>(ae(void 0,[Se,ur]),($i=()=>E.DONUT)()),yi=()=>(ae([Wo],[Se,gr]),(yi=()=>E.GAUGE)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.PIE)()),vi=()=>(ae([Qo],[Se,pr]),(vi=()=>E.POLAR)()),Ti=()=>(ae([Zs.eventrect,we,er],[Ht,xr,{axis_x_categories:qs.optAxis.axis_x_categories}]),(Ti=()=>E.RADAR)()),Ai=()=>(ne([Oo,ee],[or,Ht]),(Ai=()=>E.BAR)()),wi=()=>(ne([ee,we,Io],[rr,Ht]),(wi=()=>E.BUBBLE)()),Si=()=>(ne([Xo,ee],[lr,Ht]),(Si=()=>E.CANDLESTICK)()),Ri=()=>(ne([ee,we],[Ht,dr]),(Ri=()=>E.SCATTER)()),Ci=()=>(ae([Ho],[hr]),(Ci=()=>E.FUNNEL)()),Ei=()=>(ne([ar],[_r]),(Ei=()=>E.TREEMAP)()),We={};const ki={version:"3.12.4-nightly-20240727004635",generate(e){const t=qt({},We,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(We=e),We},instance:[],plugin:{}};Object.keys(xt).forEach(e=>xt[e]()),Object.keys(D).forEach(e=>D[e]())}(),Re}()}); +${r}%`}}},Ht={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},ie={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},or={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},rr={bubble_maxR:35,bubble_zerobased:!1},lr={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},cr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},dr={scatter_zerobased:!1},He={spline_interpolation_type:"cardinal"},Se={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},ur={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},hr={funnel_neck_width:0,funnel_neck_height:0},gr={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},fr={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},pr={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:e=>e%1===0?e:e.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},xr={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:e=>e%1===0?e:e.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},_r={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ne(e,t){ct(jt.prototype,Object.values(Zs).concat(e)),ct(Xt.prototype,Ao),Vt.setOptions(Object.values(qs).concat(t||[]))}function It(e,t){ne([ee,we,qo].concat(e||[])),Vt.setOptions([Ht,cr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Po,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let di=()=>(It(Qt,[ie]),(di=()=>E.AREA)()),ui=()=>(It(Qt,[ie]),(ui=()=>E.AREA_LINE_RANGE)()),hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA_STEP_RANGE)()),gi=()=>(It(Qt,[ie,He]),(gi=()=>E.AREA_SPLINE)()),fi=()=>(It(Qt,[ie,He]),(fi=()=>E.AREA_SPLINE_RANGE)()),pi=()=>(It(Qt,[ie]),(pi=()=>E.AREA_STEP)()),xi=()=>(It(),(xi=()=>E.LINE)()),_i=()=>(It(void 0,[He]),(_i=()=>E.SPLINE)()),mi=()=>(It(),(mi=()=>E.STEP)()),$i=()=>(ae(void 0,[Se,ur]),($i=()=>E.DONUT)()),yi=()=>(ae([Wo],[Se,gr]),(yi=()=>E.GAUGE)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.PIE)()),vi=()=>(ae([Qo],[Se,pr]),(vi=()=>E.POLAR)()),Ti=()=>(ae([Zs.eventrect,we,er],[Ht,xr,{axis_x_categories:qs.optAxis.axis_x_categories}]),(Ti=()=>E.RADAR)()),Ai=()=>(ne([Oo,ee],[or,Ht]),(Ai=()=>E.BAR)()),wi=()=>(ne([ee,we,Io],[rr,Ht]),(wi=()=>E.BUBBLE)()),Si=()=>(ne([Xo,ee],[lr,Ht]),(Si=()=>E.CANDLESTICK)()),Ri=()=>(ne([ee,we],[Ht,dr]),(Ri=()=>E.SCATTER)()),Ci=()=>(ae([Ho],[hr]),(Ci=()=>E.FUNNEL)()),Ei=()=>(ne([ar],[_r]),(Ei=()=>E.TREEMAP)()),We={};const ki={version:"3.12.4-nightly-20240731004602",generate(e){const t=qt({},We,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(We=e),We},instance:[],plugin:{}};Object.keys(xt).forEach(e=>xt[e]()),Object.keys(D).forEach(e=>D[e]())}(),Re}()}); diff --git a/dist/billboard.pkgd.js b/dist/billboard.pkgd.js index 67bb06c8c..9a6fef486 100644 --- a/dist/billboard.pkgd.js +++ b/dist/billboard.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.0 @@ -48249,7 +48249,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240727004635", + version: "3.12.4-nightly-20240731004602", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist/billboard.pkgd.min.js b/dist/billboard.pkgd.min.js index cb7154f37..d65c66cc5 100644 --- a/dist/billboard.pkgd.min.js +++ b/dist/billboard.pkgd.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.0 @@ -54,4 +54,4 @@ `;return`data:image/svg+xml;base64,${mm(v)}`}function xm(t,e){const{top:n,left:a}=e,{x:i,y:s}=t.getBBox(),{a:o,b:l,c,d:u,e:g,f:v}=t.getScreenCTM(),{width:m,height:S}=t.getBoundingClientRect();return{x:o*i+c*s+g-a,y:l*i+u*s+v-n+(S-Math.round(S/4)),width:m,height:S}}function Tm(t){const{left:e,top:n}=t.getBoundingClientRect(),a=s=>s.textContent||s.childElementCount,i=[];return Cr(t.querySelectorAll("text")).filter(a).forEach(s=>{const o=l=>{const{fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}=Xe.getComputedStyle(l),{x:S,y:I,width:N,height:M}=xm(l,{left:e,top:n});return{[l.textContent]:{x:S,y:I,width:N,height:M,fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}}};if(s.childElementCount>1){const l=[];return Cr(s.querySelectorAll("tspan")).filter(a).forEach(c=>{i.push(o(c))}),l}else i.push(o(s))}),i}function $m(t,e){e.forEach(n=>{Object.keys(n).forEach(a=>{const{x:i,y:s,width:o,height:l,fill:c,fontFamily:u,fontSize:g,transform:v}=n[a];if(t.save(),t.font=`${g} ${u}`,t.fillStyle=c,v==="none")t.fillText(a,i,s);else{const m=v.replace(/(matrix|\(|\))/g,"").split(",");m.splice(4).every(S=>+S==0)?(m.push(i+o-o/4),m.push(s-l+l/3)):(m.push(i),m.push(s)),t.transform(...m),t.fillText(a,0,0)}t.restore()})})}var Sm={export(t,e){const n=this.internal,{state:a,$el:{chart:i,svg:s}}=n,{width:o,height:l}=a.current,c=_r({width:o,height:l,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},t),u=ym(i.node(),c,{width:o,height:l}),g=c.preserveFontStyle?Tm(s.node()):[];if(e&&de(e)){const v=new Image;v.crossOrigin="Anonymous",v.onload=()=>{const m=fn.createElement("canvas"),S=m.getContext("2d");m.width=c.width||o,m.height=c.height||l,S.drawImage(v,0,0),g.length&&($m(S,g),g.length=0),e.bind(this)(m.toDataURL(c.mimeType))},v.src=u}return u}},Am={focus(t){const e=this.internal,{state:n}=e,a=e.mapToTargetIds(t),i=e.$el.svg.selectAll(e.selectorTargets(a.filter(e.isTargetToShow,e)));this.revert(),this.defocus(),i.classed(Ke.focused,!0).classed(Ke.defocused,!1),e.hasArcType()&&!n.hasRadar&&(e.expandArc(a),e.hasType("gauge")&&e.markOverlapped(t,e,`.${Ln.gaugeValue}`)),e.toggleFocusLegend(a,!0),n.focusedTargetIds=a,n.defocusedTargetIds=n.defocusedTargetIds.filter(s=>a.indexOf(s)<0)},defocus(t){const e=this.internal,{state:n}=e,a=e.mapToTargetIds(t);e.$el.svg.selectAll(e.selectorTargets(a.filter(e.isTargetToShow,e))).classed(Ke.focused,!1).classed(Ke.defocused,!0),e.hasArcType(null,["polar"])&&(e.unexpandArc(a),e.hasType("gauge")&&e.undoMarkOverlapped(e,`.${Ln.gaugeValue}`)),e.toggleFocusLegend(a,!1),n.focusedTargetIds=n.focusedTargetIds.filter(s=>a.indexOf(s)<0),n.defocusedTargetIds=a},revert(t){const e=this.internal,{config:n,state:a,$el:i}=e,s=e.mapToTargetIds(t);i.svg.selectAll(e.selectorTargets(s)).classed(Ke.focused,!1).classed(Ke.defocused,!1),e.hasArcType(null,["polar"])&&e.unexpandArc(s),n.legend_show&&(e.showLegend(s.filter(e.isLegendToShow.bind(e))),i.legend.selectAll(e.selectorLegends(s)).filter(function(){return st(this).classed(Ke.legendItemFocused)}).classed(Ke.legendItemFocused,!1)),a.focusedTargetIds=[],a.defocusedTargetIds=[]}},bm={legend:{show:function(t){const e=this.internal;e.showLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!0})},hide:function(t){const e=this.internal;e.hideLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!0})}}},Em={load(t){const e=this.internal,{config:n}=e;t.xs&&e.addXs(t.xs),"names"in t&&this.data.names(t.names),"classes"in t&&Object.keys(t.classes).forEach(a=>{n.data_classes[a]=t.classes[a]}),"categories"in t&&e.axis.isCategorized()&&(n.axis_x_categories=t.categories),"axes"in t&&Object.keys(t.axes).forEach(a=>{n.data_axes[a]=t.axes[a]}),"colors"in t&&Object.keys(t.colors).forEach(a=>{n.data_colors[a]=t.colors[a]}),"unload"in t&&t.unload!==!1?e.unload(e.mapToTargetIds(t.unload===!0?null:t.unload),()=>{Ul(()=>e.loadFromArgs(t))}):e.loadFromArgs(t)},unload(t){const e=this.internal;let n=t||{};Wn(n)&&this.tooltip.hide(),Fe(n)?n={ids:n}:ze(n)&&(n={ids:[n]});const a=e.mapToTargetIds(n.ids);e.unload(a,()=>{e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.cache.remove(a),oc.call(e,n.done,n.resizeAfter)})}};function ru(t,e,n){const a=this.internal,i=a.mapToTargetIds(e),s=a.state.hiddenTargetIds.map(c=>i.indexOf(c)>-1&&c).filter(Boolean);a.state.toggling=!0,a[`${t?"remove":"add"}HiddenTargetIds`](i);const o=a.$el.svg.selectAll(a.selectorTargets(i)),l=t?null:"0";t&&s.length&&(o.style("display",null),Ze(a.config.data_onshown,this,s)),a.$T(o).style("opacity",l,"important").call($i,()=>{!t&&s.length===0&&(o.style("display","none"),Ze(a.config.data_onhidden,this,i)),o.style("opacity",l)}),n.withLegend&&a[`${t?"show":"hide"}Legend`](i),a.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),a.state.toggling=!1}var Rm={show(t,e={}){ru.call(this,!0,t,e)},hide(t,e={}){ru.call(this,!1,t,e)},toggle(t,e={}){const n=this.internal,a={show:[],hide:[]};n.mapToTargetIds(t).forEach(i=>a[n.isTargetToShow(i)?"hide":"show"].push(i)),a.show.length&&this.show(a.show,e),a.hide.length&&setTimeout(()=>this.hide(a.hide,e),0)}},Om={tooltip:{show:function(t){var e,n,a;const i=this.internal,{$el:s,config:o,state:{eventReceiver:l,hasFunnel:c,hasTreemap:u,inputType:g}}=i;let v,m;if(t.mouse&&(m=t.mouse),t.data){const{data:S}=t,I=(e=i.getYScaleById(S.id))==null?void 0:e(S.value);if((c||u)&&S.id){const N=i.selectorTarget(S.id,void 0,`.${tn.shape}`);l.rect=s.main.select(N)}else i.isMultipleX()?m=[i.xx(S),I]:(o.tooltip_grouped||(m=[0,I]),v=(a=S.index)!=null?a:i.hasArcType()&&S.id?(n=i.getArcElementByIdOrIndex(S.id))==null?void 0:n.datum().index:i.getIndexByX(S.x))}else Ye(t.x)?v=i.getIndexByX(t.x):Ye(t.index)&&(v=t.index);(g==="mouse"?["mouseover","mousemove"]:["touchstart"]).forEach(S=>{i.dispatchEvent(S,v,m)})},hide:function(){var t,e,n;const a=this.internal,{state:{inputType:i},$el:{tooltip:s}}=a,o=s==null?void 0:s.datum();if(o){const{index:l}=JSON.parse(o.current)[0];(i==="mouse"?["mouseout"]:["touchend"]).forEach(c=>{a.dispatchEvent(c,l)})}i==="touch"&&a.callOverOutForTouch(),a.hideTooltip(!0),(t=a.hideGridFocus)==null||t.call(a),(e=a.unexpandCircles)==null||e.call(a),(n=a.expandBarTypeShapes)==null||n.call(a,!1)}}},Im=Object.defineProperty,Cm=(t,e,n)=>e in t?Im(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,au=(t,e,n)=>Cm(t,typeof e!="symbol"?e+"":e,n);class xr{constructor(e){au(this,"plugins",[]),au(this,"internal");const n=new Fr(this);this.internal=n,function a(i,s,o){Object.keys(i).forEach(l=>{const c=de(i[l]),u=s!==o,g=nn(i[l]),v=g&&Object.keys(i[l]).length>0;c&&(!u&&v||u)?s[l]=i[l].bind(o):g&&!c?s[l]={}:s[l]=i[l],v&&a(i[l],s[l],o)})}(xr.prototype,this,this),hm.call(n,e),n.beforeInit(),n.init()}}gn(xr.prototype,[gm,vm,pm,Sm,Am,bm,Em,Rm,Om]);function iu(t=!1,e,n,a){const i=this,{config:s,$el:{main:o}}=i,l=s.data_selection_grouped,c=s.data_selection_isselectable.bind(i.api);s.data_selection_enabled&&o.selectAll(`.${tn.shapes}`).selectAll(`.${tn.shape}`).each(function(u){const g=st(this),{id:v,index:m}=u.data?u.data:u,S=i.getToggle(this,u).bind(i),I=l||!e||e.indexOf(v)>=0,N=!n||n.indexOf(m)>=0,M=g.classed(ke.SELECTED);g.classed(ar.line)||g.classed(qa.area)||(t?I&&N&&c(u)&&!M?S(!0,g.classed(ke.SELECTED,!0),u,m):Ye(a)&&a&&M&&S(!1,g.classed(ke.SELECTED,!1),u,m):I&&N&&c(u)&&M&&S(!1,g.classed(ke.SELECTED,!1),u,m))})}var Pm={selected(t){const e=this.internal,n=[];return e.$el.main.selectAll(`.${tn.shapes+e.getTargetSelectorSuffix(t)}`).selectAll(`.${tn.shape}`).filter(function(){return st(this).classed(ke.SELECTED)}).each(a=>n.push(a)),n},select(t,e,n){const a=this.internal;iu.bind(a)(!0,t,e,n)},unselect(t,e){const n=this.internal;iu.bind(n)(!1,t,e)}};const su=function(t){var e;const n=this.internal,{axis:a,brush:i,config:s,scale:{x:o,subX:l},state:c}=n;let u;return s.subchart_show&&(u=t,Array.isArray(u)?(a.isTimeSeries()&&(u=u.map(v=>Dn.bind(n)(v))),n.withinRange(u,n.getZoomDomain("subX",!0),n.getZoomDomain("subX"))&&(c.domain=u,i.move(i.getSelection(),u.map(l)))):u=(e=c.domain)!=null?e:o.orgDomain()),u};gn(su,{show(){var t,e;const n=this.internal,{$el:{subchart:a},config:i}=n,s=i.subchart_show;if(!s){n.unbindZoomEvent(),i.subchart_show=!s,!a.main&&n.initSubchart();let o=a.main.selectAll(`.${Se.target}`);n.data.targets.length!==o.size()&&(n.updateSizes(),n.updateTargetsForSubchart(n.data.targets),o=(t=a.main)==null?void 0:t.selectAll(`.${Se.target}`)),o==null||o.style("opacity",null),(e=a.main)==null||e.style("display",null),this.resize()}},hide(){const t=this.internal,{$el:{subchart:{main:e}},config:n}=t;n.subchart_show&&(e==null?void 0:e.style("display"))!=="none"&&(n.subchart_show=!1,e.style("display","none"),this.resize())},toggle(){const t=this.internal,{config:e}=t;this.subchart[e.subchart_show?"hide":"show"]()},reset(){const t=this.internal,{brush:e}=t;e.clear(e.getSelection())}});var wm={subchart:su},Mm=1e-12;function ou(t){return((t=Math.exp(t))+1/t)/2}function Lm(t){return((t=Math.exp(t))-1/t)/2}function Dm(t){return((t=Math.exp(2*t))-1)/(t+1)}var Nm=function t(e,n,a){function i(s,o){var l=s[0],c=s[1],u=s[2],g=o[0],v=o[1],m=o[2],S=g-l,I=v-c,N=S*S+I*I,M,P;if(N()=>t;function Fm(t,{sourceEvent:e,target:n,transform:a,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:a,enumerable:!0,configurable:!0},_:{value:i}})}function cr(t,e,n){this.k=t,this.x=e,this.y=n}cr.prototype={constructor:cr,scale:function(t){return t===1?this:new cr(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new cr(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var _n=new cr(1,0,0);ho.prototype=cr.prototype;function ho(t){for(;!t.__zoom;)if(!(t=t.parentNode))return _n;return t.__zoom}function go(t){t.stopImmediatePropagation()}function Fa(t){t.preventDefault(),t.stopImmediatePropagation()}function Bm(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Um(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function lu(){return this.__zoom||_n}function zm(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function jm(){return navigator.maxTouchPoints||"ontouchstart"in this}function Gm(t,e,n){var a=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],s=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(i>a?(a+i)/2:Math.min(0,a)||Math.max(0,i),o>s?(s+o)/2:Math.min(0,s)||Math.max(0,o))}function Vm(){var t=Bm,e=Um,n=Gm,a=zm,i=jm,s=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],l=250,c=Nm,u=ni("start","zoom","end"),g,v,m,S=500,I=150,N=0,M=10;function P(k){k.property("__zoom",lu).on("wheel.zoom",$t,{passive:!1}).on("mousedown.zoom",At).on("dblclick.zoom",vt).filter(i).on("touchstart.zoom",gt).on("touchmove.zoom",Ft).on("touchend.zoom touchcancel.zoom",pt).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}P.transform=function(k,Et,ut,Rt){var jt=k.selection?k.selection():k;jt.property("__zoom",lu),k!==jt?_(k,Et,ut,Rt):jt.interrupt().each(function(){K(this,arguments).event(Rt).start().zoom(null,typeof Et=="function"?Et.apply(this,arguments):Et).end()})},P.scaleBy=function(k,Et,ut,Rt){P.scaleTo(k,function(){var jt=this.__zoom.k,zt=typeof Et=="function"?Et.apply(this,arguments):Et;return jt*zt},ut,Rt)},P.scaleTo=function(k,Et,ut,Rt){P.transform(k,function(){var jt=e.apply(this,arguments),zt=this.__zoom,Wt=ut==null?Y(jt):typeof ut=="function"?ut.apply(this,arguments):ut,Ht=zt.invert(Wt),ee=typeof Et=="function"?Et.apply(this,arguments):Et;return n(H(G(zt,ee),Wt,Ht),jt,o)},ut,Rt)},P.translateBy=function(k,Et,ut,Rt){P.transform(k,function(){return n(this.__zoom.translate(typeof Et=="function"?Et.apply(this,arguments):Et,typeof ut=="function"?ut.apply(this,arguments):ut),e.apply(this,arguments),o)},null,Rt)},P.translateTo=function(k,Et,ut,Rt,jt){P.transform(k,function(){var zt=e.apply(this,arguments),Wt=this.__zoom,Ht=Rt==null?Y(zt):typeof Rt=="function"?Rt.apply(this,arguments):Rt;return n(_n.translate(Ht[0],Ht[1]).scale(Wt.k).translate(typeof Et=="function"?-Et.apply(this,arguments):-Et,typeof ut=="function"?-ut.apply(this,arguments):-ut),zt,o)},Rt,jt)};function G(k,Et){return Et=Math.max(s[0],Math.min(s[1],Et)),Et===k.k?k:new cr(Et,k.x,k.y)}function H(k,Et,ut){var Rt=Et[0]-ut[0]*k.k,jt=Et[1]-ut[1]*k.k;return Rt===k.x&&jt===k.y?k:new cr(k.k,Rt,jt)}function Y(k){return[(+k[0][0]+ +k[1][0])/2,(+k[0][1]+ +k[1][1])/2]}function _(k,Et,ut,Rt){k.on("start.zoom",function(){K(this,arguments).event(Rt).start()}).on("interrupt.zoom end.zoom",function(){K(this,arguments).event(Rt).end()}).tween("zoom",function(){var jt=this,zt=arguments,Wt=K(jt,zt).event(Rt),Ht=e.apply(jt,zt),ee=ut==null?Y(Ht):typeof ut=="function"?ut.apply(jt,zt):ut,je=Math.max(Ht[1][0]-Ht[0][0],Ht[1][1]-Ht[0][1]),Oe=jt.__zoom,Ge=typeof Et=="function"?Et.apply(jt,zt):Et,cn=c(Oe.invert(ee).concat(je/Oe.k),Ge.invert(ee).concat(je/Ge.k));return function(Le){if(Le===1)Le=Ge;else{var ln=cn(Le),Kt=je/ln[2];Le=new cr(Kt,ee[0]-ln[0]*Kt,ee[1]-ln[1]*Kt)}Wt.zoom(null,Le)}})}function K(k,Et,ut){return!ut&&k.__zooming||new at(k,Et)}function at(k,Et){this.that=k,this.args=Et,this.active=0,this.sourceEvent=null,this.extent=e.apply(k,Et),this.taps=0}at.prototype={event:function(k){return k&&(this.sourceEvent=k),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(k,Et){return this.mouse&&k!=="mouse"&&(this.mouse[1]=Et.invert(this.mouse[0])),this.touch0&&k!=="touch"&&(this.touch0[1]=Et.invert(this.touch0[0])),this.touch1&&k!=="touch"&&(this.touch1[1]=Et.invert(this.touch1[0])),this.that.__zoom=Et,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(k){var Et=st(this.that).datum();u.call(k,this.that,new Fm(k,{sourceEvent:this.sourceEvent,target:P,type:k,transform:this.that.__zoom,dispatch:u}),Et)}};function $t(k,...Et){if(!t.apply(this,arguments))return;var ut=K(this,Et).event(k),Rt=this.__zoom,jt=Math.max(s[0],Math.min(s[1],Rt.k*Math.pow(2,a.apply(this,arguments)))),zt=Un(k);if(ut.wheel)(ut.mouse[0][0]!==zt[0]||ut.mouse[0][1]!==zt[1])&&(ut.mouse[1]=Rt.invert(ut.mouse[0]=zt)),clearTimeout(ut.wheel);else{if(Rt.k===jt)return;ut.mouse=[zt,Rt.invert(zt)],kr(this),ut.start()}Fa(k),ut.wheel=setTimeout(Wt,I),ut.zoom("mouse",n(H(G(Rt,jt),ut.mouse[0],ut.mouse[1]),ut.extent,o));function Wt(){ut.wheel=null,ut.end()}}function At(k,...Et){if(m||!t.apply(this,arguments))return;var ut=k.currentTarget,Rt=K(this,Et,!0).event(k),jt=st(k.view).on("mousemove.zoom",ee,!0).on("mouseup.zoom",je,!0),zt=Un(k,ut),Wt=k.clientX,Ht=k.clientY;ls(k.view),go(k),Rt.mouse=[zt,this.__zoom.invert(zt)],kr(this),Rt.start();function ee(Oe){if(Fa(Oe),!Rt.moved){var Ge=Oe.clientX-Wt,cn=Oe.clientY-Ht;Rt.moved=Ge*Ge+cn*cn>N}Rt.event(Oe).zoom("mouse",n(H(Rt.that.__zoom,Rt.mouse[0]=Un(Oe,ut),Rt.mouse[1]),Rt.extent,o))}function je(Oe){jt.on("mousemove.zoom mouseup.zoom",null),cs(Oe.view,Rt.moved),Fa(Oe),Rt.event(Oe).end()}}function vt(k,...Et){if(t.apply(this,arguments)){var ut=this.__zoom,Rt=Un(k.changedTouches?k.changedTouches[0]:k,this),jt=ut.invert(Rt),zt=ut.k*(k.shiftKey?.5:2),Wt=n(H(G(ut,zt),Rt,jt),e.apply(this,Et),o);Fa(k),l>0?st(this).transition().duration(l).call(_,Wt,Rt,k):st(this).call(P.transform,Wt,Rt,k)}}function gt(k,...Et){if(t.apply(this,arguments)){var ut=k.touches,Rt=ut.length,jt=K(this,Et,k.changedTouches.length===Rt).event(k),zt,Wt,Ht,ee;for(go(k),Wt=0;WtDn.bind(n)(v))),n.withinRange(u,n.getZoomDomain("zoom",!0),n.getZoomDomain("zoom"))){if(l.domain=u,u=n.getZoomDomainValue(u),n.api.tooltip.hide(),i.subchart_show){const v=o.zoom||o.x;n.brush.getSelection().call(n.brush.move,u.map(v))}else{const v=c?o.x.orgScale():s.xScale||o.x;n.updateCurrentZoomTransform(v,u)}n.setZoomResetButton()}}else u=n.zoom.getDomain();return(e=l.domain)!=null?e:u};gn(cu,{enable(t){const e=this.internal,{config:n}=e;/^(drag|wheel)$/.test(t)&&(n.zoom_type=t),n.zoom_enabled=!!t,e.zoom?t===!1&&e.bindZoomEvent(!1):(e.initZoom(),e.bindZoomEvent()),e.updateAndRedraw()},max(t){const e=this.internal,{config:n,org:{xDomain:a}}=e;return(t===0||t)&&(n.zoom_x_max=Kn("max",[a[1],t])),n.zoom_x_max},min(t){const e=this.internal,{config:n,org:{xDomain:a}}=e;return(t===0||t)&&(n.zoom_x_min=Kn("min",[a[0],t])),n.zoom_x_min},range(t){const e=this.zoom;if(De(t)){const{min:n,max:a}=t;Ye(n)&&e.min(n),Ye(a)&&e.max(a)}return{min:e.min(),max:e.max()}}});var Xm={zoom:cu,unzoom(){const t=this.internal,{config:e,$el:{eventRect:n,zoomResetBtn:a},scale:{zoom:i},state:s}=t;i&&(e.subchart_show?t.brush.getSelection().call(t.brush.move,null):t.zoom.updateTransformScale(_n),t.updateZoom(!0),a==null||a.style("display","none"),ho(n.node())!==_n&&t.zoom.transform(n,_n),s.domain=void 0)}},Ym={initBrush(){const t=this,{config:e,scale:n,$el:{subchart:a},state:i}=t,s=e.axis_rotated,o=e.subchart_size_height;let l,c,u;t.brush=(s?jg():zg()).handleSize(5),t.brush.on("start brush end",g=>{const{selection:v,sourceEvent:m,target:S,type:I}=g;I==="start"&&(t.state.inputType==="touch"&&t.hideTooltip(),c=m?v:null),/(start|brush)/.test(I)&&(I==="brush"&&m&&i.domain&&(c==null||c.forEach((N,M)=>{N!==v[M]&&(i.domain[M]=n.x.orgDomain()[M])})),t.redrawForBrush(I!=="start")),I==="end"&&(l=n.x.orgDomain()),S!=null&&S.handle&&(v===null?t.brush.handle.attr("display","none"):t.brush.handle.attr("display",null).attr("transform",(N,M)=>{const P=[v[M],o/2];return`translate(${s?P.reverse():P})`}))}),t.brush.updateResize=function(){u&&clearTimeout(u),u=setTimeout(()=>{const g=this.getSelection();l&&Bl(g.node())&&this.move(g,l.map(n.subX.orgScale()))},0)},t.brush.update=function(){var g;return this.extent()()[1].filter(m=>isNaN(m)).length===0&&((g=a.main)==null||g.select(`.${Ne.brush}`).call(this)),this},t.brush.scale=function(g){const v=e.subchart_size_height;let m=t.getExtent();!m&&g.range?m=[[0,0],[g.range()[1],v]]:Fe(m)&&(m=m.map((S,I)=>[S,I>0?v:I])),s&&m[1].reverse(),this.extent(m),this.update()},t.brush.getSelection=()=>a.main?a.main.select(`.${Ne.brush}`):st([])},initSubchart(){const t=this,{config:e,state:{clip:n,hasAxis:a},$el:{defs:i,svg:s,subchart:o,axis:l}}=t;if(!a)return;const c=e.subchart_show?null:"hidden",u=`${n.id}-subchart`,g=t.getClipPath(u);n.idSubchart=u,t.appendClip(i,u),t.initBrush(),o.main=s.append("g").classed(Ne.subchart,!0).attr("transform",t.getTranslate("context"));const{main:v}=o;v.style("visibility",c),v.append("g").attr("clip-path",g).attr("class",Ne.chart),["bar","line","bubble","candlestick","scatter"].forEach(S=>{const I=In(/^(bubble|scatter)$/.test(S)?"circle":S);if(t.hasType(S)||t.hasTypeOf(I)){const N=v.select(`.${Ne.chart}`),M=Ne[`chart${I}s`];N.select(`.${M}`).empty()&&N.append("g").attr("class",M)}});const m=v.append("g").attr("clip-path",g).attr("class",Ne.brush).call(t.brush);e.subchart_showHandle&&t.addBrushHandle(m),l.subX=v.append("g").attr("class",Ne.axisX).attr("transform",t.getTranslate("subX")).attr("clip-path",e.axis_rotated?"":n.pathXAxis).style("visibility",e.subchart_axis_x_show?c:"hidden")},addBrushHandle(t){const e=this,{config:n}=e,a=n.axis_rotated,i=n.subchart_init_range,s="handle--custom",o=a?["M8.5 0 a6 6 0 0 0 -6 -6.5 H-2.5 a 6 6 0 0 0 -6 6.5 z m-5 -2 H-3.5 m7 -2 H-3.5z","M8.5 0 a6 -6 0 0 1 -6 6.5 H-2.5 a 6 -6 0 0 1 -6 -6.5z m-5 2 H-3.5 m7 2 H-3.5z"]:["M0 -8.5 A6 6 0 0 0 -6.5 -3.5 V2.5 A6 6 0 0 0 0 8.5 Z M-2 -3.5 V3.5 M-4 -3.5 V3.5z","M0 -8.5 A6 6 0 0 1 6.5 -3.5 V2.5 A6 6 0 0 1 0 8.5 Z M2 -3.5 V3.5 M4 -3.5 V3.5z"];e.brush.handle=t.selectAll(`.${s}`).data(a?[{type:"n"},{type:"s"}]:[{type:"w"},{type:"e"}]).enter().append("path").attr("class",s).attr("cursor",`${a?"ns":"ew"}-resize`).attr("d",l=>o[+/[se]/.test(l.type)]).attr("display",i?null:"none")},updateTargetsForSubchart(t){const e=this,{config:n,state:a,$el:{subchart:{main:i}}}=e;n.subchart_show&&(["bar","line","bubble","candlestick","scatter"].filter(s=>e.hasType(s)||e.hasTypeOf(In(s))).forEach(s=>{const o=/^(bubble|scatter)$/.test(s),l=In(o?"circle":s),c=e.getChartClass(l,!0),u=e.getClass(o?"circles":`${s}s`,!0),g=i.select(`.${Ne[`chart${`${l}s`}`]}`);if(o){const v=g.selectAll(`.${Ne.circles}`).data(t.filter(e[`is${In(s)}Type`].bind(e))).attr("class",u);v.exit().remove(),v.enter().append("g").attr("class",u)}else{const v=g.selectAll(`.${Ne[`chart${l}`]}`).attr("class",c).data(t.filter(e[`is${l}Type`].bind(e))),m=v.enter().append("g").style("opacity","0").attr("class",c).append("g").attr("class",u);v.exit().remove(),s==="line"&&e.hasTypeOf("Area")&&m.append("g").attr("class",e.getClass("areas",!0))}}),i.selectAll(`.${Ne.brush} rect`).attr(n.axis_rotated?"width":"height",n.axis_rotated?a.width2:a.height2))},redrawSubchart(t,e,n){var a;const i=this,{config:s,$el:{subchart:{main:o}},state:l}=i,c=!!e;if(o.style("visibility",s.subchart_show?null:"hidden"),s.subchart_show&&(((a=l.event)==null?void 0:a.type)==="zoom"&&i.brush.update(),t)){const u=s.subchart_init_range;if(!Hl(i)&&i.brush.update(),Object.keys(n.type).forEach(g=>{const v=In(g),m=i[`generateDraw${v}`](n.indices[g],!0);i[`update${v}`](c,!0),i[`redraw${v}`](m,c,!0)}),i.hasType("bubble")||i.hasType("scatter")){const{cx:g}=n.pos,v=i.updateCircleY(!0);i.updateCircle(!0),i.redrawCircle(g,v,c,void 0,!0)}!l.rendered&&u&&(l.domain=u,i.brush.move(i.brush.getSelection(),u.map(i.scale.x)))}},redrawForBrush(t=!0){var e;const n=this,{config:{subchart_onbrush:a,zoom_rescale:i},scale:s,state:o}=n;n.redraw({withTransition:!1,withY:i,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),t&&o.rendered&&a.bind(n.api)((e=o.domain)!=null?e:s.x.orgDomain())},transformContext(t,e){const n=this,{$el:{subchart:a},$T:i}=n,s=e!=null&&e.axisSubX?e.axisSubX:i(a.main.select(`.${Ne.axisX}`),t);a.main.attr("transform",n.getTranslate("context")),s.attr("transform",n.getTranslate("subX"))},getExtent(){const t=this,{config:e,scale:n}=t;let a=e.axis_x_extent;if(a){if(de(a))a=a.bind(t.api)(t.getXDomain(t.data.targets),n.subX);else if(t.axis.isTimeSeries()&&a.every(isNaN)){const i=Dn.bind(t);a=a.map(s=>n.subX(i(s)))}}return a}},Hm={initZoom(){const t=this;t.scale.zoom=null,t.generateZoom(),t.initZoomBehaviour()},bindZoomEvent(t=!0){const e=this,{config:n}=e;n.zoom_enabled&&t?!n.subchart_show&&e.bindZoomOnEventRect():t===!1&&(e.api.unzoom(),e.unbindZoomEvent())},generateZoom(){const t=this,{config:e,org:n,scale:a}=t,i=Vm().duration(0).on("start",t.onZoomStart.bind(t)).on("zoom",t.onZoom.bind(t)).on("end",t.onZoomEnd.bind(t));i.orgScaleExtent=()=>{const s=e.zoom_extent||[1,10];return[s[0],Math.max(t.getMaxDataCount()/s[1],s[1])]},i.updateScaleExtent=function(){const s=Ir(t.scale.x.orgDomain())/Ir(t.getZoomDomain()),o=this.orgScaleExtent();return this.scaleExtent([o[0]*s,o[1]*s]),this},i.updateTransformScale=(s,o)=>{var l;const c=e.axis_rotated;(l=n.xScale)==null||l.range(a.x.range());const u=s[c?"rescaleY":"rescaleX"](n.xScale||a.x),g=t.trimXDomain(u.domain()),v=e.zoom_rescale;if(u.domain(g,n.xDomain),o){const m=u(a.x.domain()[0]),S=c?s.x:m,I=c?m:s.y;t.$el.eventRect.property("__zoom",_n.translate(S,I).scale(s.k))}t.state.xTickOffset||(t.state.xTickOffset=t.axis.x.tickOffset()),a.zoom=t.getCustomizedXScale(u),t.axis.x.scale(a.zoom),v?(!n.xScale&&(n.xScale=a.x.copy()),a.x.domain(g)):n.xScale&&(a.x.domain(n.xScale.domain()),n.xScale=null)},i.getDomain=()=>{const s=a[a.zoom?"zoom":"subX"].domain();return t.axis.isCategorized()&&(s[1]-=2),s},t.zoom=i},onZoomStart(t){const e=this,{sourceEvent:n}=t;n&&(e.zoom.startEvent=n,e.state.zooming=!0,Ze(e.config.zoom_onzoomstart,e.api,t))},onZoom(t){var e;const n=this,{config:a,scale:i,state:s,org:o}=n,{sourceEvent:l}=t,c=(t==null?void 0:t.transform)===_n;if(!a.zoom_enabled||n.filterTargetsToShow(n.data.targets).length===0||!i.zoom&&(l==null?void 0:l.type.indexOf("touch"))>-1&&(l==null?void 0:l.touches.length)===1)return;t.sourceEvent&&(s.zooming=!0,s.domain=void 0);const u=(l==null?void 0:l.type)==="mousemove",g=(l==null?void 0:l.wheelDelta)<0,{transform:v}=t;!u&&g&&i.x.domain().every((S,I)=>S!==o.xDomain[I])&&i.x.domain(o.xDomain),n.zoom.updateTransformScale(v,a.zoom_type==="wheel"&&l);const m=a.transition_duration>0&&!a.subchart_show&&(s.dragging||c||!t.sourceEvent);n.redraw({withTransition:m,withY:a.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),n.state.cancelClick=u,!c&&Ze(a.zoom_onzoom,n.api,(e=n.state.domain)!=null?e:n.zoom.getDomain())},onZoomEnd(t){var e,n;const a=this,{config:i,state:s}=a;let{startEvent:o}=a.zoom,l=t==null?void 0:t.sourceEvent;const c=(t==null?void 0:t.transform)===_n;(o==null?void 0:o.type.indexOf("touch"))>-1&&(o=o.changedTouches[0],l=(e=l==null?void 0:l.changedTouches)==null?void 0:e[0]),!(i.zoom_type==="drag"&&l&&o.clientX===l.clientX&&o.clientY===l.clientY)&&(s.zooming=!1,a.redrawEventRect(),a.updateZoom(),!c&&(l||s.dragging)&&Ze(i.zoom_onzoomend,a.api,(n=a.state.domain)!=null?n:a.zoom.getDomain()))},updateZoom(t){const e=this,{subX:n,x:a,zoom:i}=e.scale;if(i){const s=i.domain(),o=n.domain(),l=.015,c=e.config.axis_x_inverted?(s[0]>=o[0]||s[0]+l>=o[0])&&(o[1]>=s[1]||o[1]>=s[1]+l):(s[0]<=o[0]||s[0]-l<=o[0])&&(o[1]<=s[1]||o[1]<=s[1]-l);(t||c)&&(e.axis.x.scale(n),a.domain(n.orgDomain()),e.scale.zoom=null)}},updateCurrentZoomTransform(t,e){const n=this,{$el:{eventRect:a},config:i}=n,s=i.axis_rotated,o=[-t(e[0]),0],l=_n.scale(t.range()[1]/(t(e[1])-t(e[0]))).translate(...s?o.reverse():o);a.call(n.zoom.transform,l)},bindZoomOnEventRect(){const t=this,{config:e,$el:{eventRect:n,svg:a}}=t,i=e.zoom_type==="drag"?t.zoomBehaviour:t.zoom;Xe.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test(navigator.userAgent)&&a.on("wheel",()=>{}),n==null||n.call(i).on("dblclick.zoom",null)},initZoomBehaviour(){const t=this,{config:e,state:n}=t,a=e.axis_rotated;let i=0,s=0,o;const l={axis:a?"y":"x",attr:a?"height":"width",index:a?1:0};t.zoomBehaviour=lc().clickDistance(4).on("start",function(c){n.event=c,t.setDragStatus(!0),t.unselectRect(),o||(o=t.$el.main.append("rect").attr("clip-path",n.clip.path).attr("class",ss.zoomBrush).attr("width",a?n.width:0).attr("height",a?0:n.height)),i=zn(c,this)[l.index],s=i,o.attr(l.axis,i).attr(l.attr,0),t.onZoomStart(c)}).on("drag",function(c){s=zn(c,this)[l.index],o.attr(l.axis,Math.min(i,s)).attr(l.attr,Math.abs(s-i))}).on("end",c=>{const u=t.scale.zoom||t.scale.x;n.event=c,o.attr(l.axis,0).attr(l.attr,0),i>s&&([i,s]=[s,i]),i<0&&(s+=Math.abs(i),i=0),i!==s&&t.api.zoom([i,s].map(g=>u.invert(g))),t.setDragStatus(!1)})},setZoomResetButton(){const t=this,{config:e,$el:n}=t,a=e.zoom_resetButton;a&&e.zoom_type==="drag"&&(n.zoomResetBtn?n.zoomResetBtn.style("display",null):n.zoomResetBtn=t.$el.chart.append("div").classed(Se.button,!0).append("span").on("click",function(){de(a.onclick)&&a.onclick.bind(t.api)(this),t.api.unzoom()}).classed(ss.buttonZoomReset,!0).text(a.text||"Reset Zoom"))},getZoomTransform(){const t=this,{$el:{eventRect:e}}=t;return e!=null&&e.node()?ho(e.node()):{k:1}}},Wm={drag(t){const e=this,{config:n,state:a,$el:{main:i}}=e,s=n.data_selection_grouped,o=n.interaction_enabled&&n.data_selection_isselectable;if(e.hasArcType()||!n.data_selection_enabled||n.zoom_enabled&&!e.zoom.altDomain||!n.data_selection_multiple)return;const[l,c]=a.dragStart||[0,0],[u,g]=t,v=Math.min(l,u),m=Math.max(l,u),S=s?a.margin.top:Math.min(c,g),I=s?a.height:Math.max(c,g);i.select(`.${Ar.dragarea}`).attr("x",v).attr("y",S).attr("width",m-v).attr("height",I-S),i.selectAll(`.${tn.shapes}`).selectAll(`.${tn.shape}`).filter(N=>o==null?void 0:o.bind(e.api)(N)).each(function(N,M){const P=st(this),G=P.classed(ke.SELECTED),H=P.classed(Ar.INCLUDED);let Y=!1,_;if(P.classed(pn.circle)){const K=+P.attr("cx")*1,at=+P.attr("cy")*1;_=e.togglePoint,Y=ve in t?Km(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_m=(t,e)=>{for(var n in e||(e={}))Jm.call(e,n)&&fu(t,n,e[n]);if(uu)for(var n of uu(e))Qm.call(e,n)&&fu(t,n,e[n]);return t},qm=(t,e)=>Zm(t,km(e)),ty=qm(_m({},Wm),{selectPoint(t,e,n){const a=this,{config:i,$el:{main:s},$T:o}=a,l=i.axis_rotated,c=(l?a.circleY:a.circleX).bind(a),u=(l?a.circleX:a.circleY).bind(a),g=a.pointSelectR.bind(a);Ze(i.data_onselected,a.api,e,t.node()),o(s.select(`.${ke.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${ke.selectedCircle}-${n}`).data([e]).enter().append("circle").attr("class",()=>a.generateClass(ke.selectedCircle,n)).attr("cx",c).attr("cy",u).attr("stroke",a.color).attr("r",v=>a.pointSelectR(v)*1.4)).attr("r",g)},unselectPoint(t,e,n){const a=this,{config:i,$el:{main:s},$T:o}=a;Ze(i.data_onunselected,a.api,e,t==null?void 0:t.node()),o(s.select(`.${ke.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${ke.selectedCircle}-${n}`)).attr("r",0).remove()},togglePoint(t,e,n,a){this[`${t?"":"un"}selectPoint`](e,n,a)},selectPath(t,e){const n=this,{config:a}=n;Ze(a.data_onselected,n.api,e,t.node()),a.interaction_brighten&&t.style("filter","brightness(1.25)")},unselectPath(t,e){const n=this,{config:a}=n;Ze(a.data_onunselected,n.api,e,t.node()),a.interaction_brighten&&t.style("filter",null)},togglePath(t,e,n,a){this[`${t?"":"un"}selectPath`](e,n,a)},getToggle(t,e){const n=this;return t.nodeName==="path"?n.togglePath:n.isStepType(e)?()=>{}:n.togglePoint},toggleShape(t,e,n){var a;const i=this,{config:s,$el:{main:o}}=i;if(s.data_selection_enabled&&s.data_selection_isselectable.bind(i.api)(e)){const l=st(t),c=l.classed(ke.SELECTED),u=i.getToggle(t,e).bind(i);let g;if(!s.data_selection_multiple){const v=(a=i.isPointFocusOnly)==null?void 0:a.call(i);let m=`.${v?ke.selectedCircles:tn.shapes}`;s.data_selection_grouped&&(m+=i.getTargetSelectorSuffix(e.id)),o.selectAll(m).selectAll(v?`.${ke.selectedCircle}`:`.${tn.shape}.${ke.SELECTED}`).classed(ke.SELECTED,!1).each(function(S){const I=st(this);g=I,u(!1,I,S,S.index)})}(!g||g.node()!==l.node())&&(l.classed(ke.SELECTED,!c),u(!c,l,e,n))}}}),ey={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},ny={subchart_show:!1,subchart_showHandle:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_axis_x_tick_show:!0,subchart_axis_x_tick_format:void 0,subchart_axis_x_tick_text_show:!0,subchart_init_range:void 0,subchart_onbrush:()=>{}},ry={zoom_enabled:!1,zoom_type:"wheel",zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:void 0,zoom_onzoomstart:void 0,zoom_onzoomend:void 0,zoom_resetButton:!0,zoom_x_min:void 0,zoom_x_max:void 0};let du=()=>(gn(Fr.prototype,ty),gn(xr.prototype,Pm),Pr.setOptions([ey]),(du=()=>!0)()),hu=()=>(gn(Fr.prototype,Ym),gn(xr.prototype,wm),Pr.setOptions([ny]),(hu=()=>!0)()),gu=()=>(gn(Fr.prototype,Hm),gn(xr.prototype,Xm),Pr.setOptions([ry]),(gu=()=>!0)());function vu(t,e,n){const{config:a}=t,i=(s,o)=>{const l=fe(o)?o:o===!1?void 0:null;l!==null&&(a[`axis_${s}_${e}`]=l)};Ye(n)&&(Jn(n)?Object.keys(n).forEach(s=>{i(s,n[s])}):(fe(n)||n===!1)&&["y","y2"].forEach(s=>{i(s,n)}),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function pu(t,e){const{config:n}=t;return{x:n[`axis_x_${e}`],y:n[`axis_y_${e}`],y2:n[`axis_y2_${e}`]}}var ay={axis:{labels:function(t){const e=this.internal;let n;return t&&(Object.keys(t).forEach(a=>{e.axis.setLabelText(a,t[a])}),e.axis.updateLabels()),["x","y","y2"].forEach(a=>{const i=e.axis.getLabelText(a);i&&(!n&&(n={}),n[a]=i)}),n},min:function(t){const e=this.internal;return Ie(t)||t===!1?vu(e,"min",t):pu(e,"min")},max:function(t){const e=this.internal;return Ie(t)||t===!1?vu(e,"max",t):pu(e,"max")},range:function(t){const{axis:e}=this;if(arguments.length){const{min:n,max:a}=t;Ye(a)&&e.max(a),Ye(n)&&e.min(n)}else return{max:e.max(),min:e.min()}}}},iy={category(t,e){const n=this.internal,{config:a}=n;return arguments.length>1&&(a.axis_x_categories[t]=e,n.redraw()),a.axis_x_categories[t]},categories(t){const e=this.internal,{config:n}=e;if(!t||!Array.isArray(t)){const a=n.axis_x_categories;return Wn(a)?Object.values(e.data.xs)[0]:a}return n.axis_x_categories=t,e.redraw(),n.axis_x_categories}},sy={flow(t){const e=this.internal;let n;(t.json||t.rows||t.columns)&&e.convertData(t,i=>{n=i,a()});function a(){let i,s=0,o=0,l,c;if(e.state.redrawing||!n||!Ma())return;const u=[],g=e.getMaxDataCount(),v=e.convertDataToTargets(n,!0),m=e.axis.isTimeSeries();e.data.targets.forEach(N=>{let M=!1;for(let P=0;P{for(let M=0;M{const M=[];for(let P=e.data.targets[0].values[0].index;P{P.index+=o,m||(P.x+=o)}),N.values=M.concat(N.values)}),e.data.targets=e.data.targets.concat(v);const S=e.data.targets[0],I=S.values[0];Ye(t.to)?(s=0,c=m?Dn.call(e,t.to):t.to,S.values.forEach(N=>{N.x1?S.values[S.values.length-1].x-I.x:I.x-e.getXDomain(e.data.targets)[0]:l=1,i=[I.x-l,I.x]),i&&e.updateXDomain(null,!0,!0,!1,i),e.updateTargets(e.data.targets),e.redraw({flow:{index:I.index,length:s,duration:Ie(t.duration)?t.duration:e.config.transition_duration,done:t.done,orgDataCount:g},withLegend:!0,withTransition:g>1,withTrimXDomain:!1,withUpdateXAxis:!0})}}};function vo(t,e){const n=this.internal,{config:a}=n,i=a.transition_duration&&Ma(),s=`grid_${e}_lines`;return t&&(a[s]=t,n.updateGrid(),n.redrawGrid(i)),a[s]}function mu(t,e){const n=`grid_${e}_lines`;return vo.bind(this)(this.internal.config[n].concat(t||[]),e)}function yu(t,e){this.internal.removeGridLines(t,e)}const xu=function(t){return vo.bind(this)(t,"x")};gn(xu,{add(t){return mu.bind(this)(t,"x")},remove(t){return yu.bind(this)(t,!0)}});const Tu=function(t){return vo.bind(this)(t,"y")};gn(Tu,{add(t){return mu.bind(this)(t,"y")},remove(t){return yu.bind(this)(t,!1)}});var oy={xgrids:xu,ygrids:Tu},ly={groups(t){const e=this.internal,{config:n}=e;return en(t)||(n.data_groups=t,e.redraw()),n.data_groups}};function $u(t,e=!1){const n=this.internal,{config:a}=n,i=a.transition_duration&&Ma();return t?(a.regions=e?a.regions.concat(t):t,n.updateRegion(),n.redrawRegion(i),e?a.regions:t):a.regions}const Su=function(t){return $u.bind(this)(t)};gn(Su,{add:function(t){return $u.bind(this)(t,!0)},remove:function(t){const e=this.internal,{config:n,$T:a}=e,i=t||{},s=pr(i,"classes",[$a.region]);let o=e.$el.main.select(`.${$a.regions}`).selectAll(s.map(l=>`.${l}`));return a(o).style("opacity","0").remove(),o=n.regions,Object.keys(i).length?(o=o.filter(l=>{let c=!1;return l.class?(l.class.split(" ").forEach(u=>{s.indexOf(u)>=0&&(c=!0)}),!c):!0}),n.regions=o):n.regions=[],o}});var cy={regions:Su},uy={x(t){const e=this.internal,{axis:n,data:a}=e,i=n.isCustomX()&&n.isCategorized();return Fe(t)&&(i?this.categories(t):(e.updateTargetX(a.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))),i?this.categories():a.xs},xs(t){const e=this.internal;return De(t)&&(e.updateTargetXs(e.data.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),e.data.xs}};function fy(t){return t}var Vi=1,Xi=2,po=3,Ba=4,Au=1e-6;function dy(t){return"translate("+t+",0)"}function hy(t){return"translate(0,"+t+")"}function gy(t){return e=>+t(e)}function vy(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function py(){return!this.__axis}function Yi(t,e){var n=[],a=null,i=null,s=6,o=6,l=3,c=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,u=t===Vi||t===Ba?-1:1,g=t===Ba||t===Xi?"x":"y",v=t===Vi||t===po?dy:hy;function m(S){var I=a==null?e.ticks?e.ticks.apply(e,n):e.domain():a,N=i==null?e.tickFormat?e.tickFormat.apply(e,n):fy:i,M=Math.max(s,0)+l,P=e.range(),G=+P[0]+c,H=+P[P.length-1]+c,Y=(e.bandwidth?vy:gy)(e.copy(),c),_=S.selection?S.selection():S,K=_.selectAll(".domain").data([null]),at=_.selectAll(".tick").data(I,e).order(),$t=at.exit(),At=at.enter().append("g").attr("class","tick"),vt=at.select("line"),gt=at.select("text");K=K.merge(K.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),at=at.merge(At),vt=vt.merge(At.append("line").attr("stroke","currentColor").attr(g+"2",u*s)),gt=gt.merge(At.append("text").attr("fill","currentColor").attr(g,u*M).attr("dy",t===Vi?"0em":t===po?"0.71em":"0.32em")),S!==_&&(K=K.transition(S),at=at.transition(S),vt=vt.transition(S),gt=gt.transition(S),$t=$t.transition(S).attr("opacity",Au).attr("transform",function(Ft){return isFinite(Ft=Y(Ft))?v(Ft+c):this.getAttribute("transform")}),At.attr("opacity",Au).attr("transform",function(Ft){var pt=this.parentNode.__axis;return v((pt&&isFinite(pt=pt(Ft))?pt:Y(Ft))+c)})),$t.remove(),K.attr("d",t===Ba||t===Xi?o?"M"+u*o+","+G+"H"+c+"V"+H+"H"+u*o:"M"+c+","+G+"V"+H:o?"M"+G+","+u*o+"V"+c+"H"+H+"V"+u*o:"M"+G+","+c+"H"+H),at.attr("opacity",1).attr("transform",function(Ft){return v(Y(Ft)+c)}),vt.attr(g+"2",u*s),gt.attr(g,u*M).text(N),_.filter(py).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Xi?"start":t===Ba?"end":"middle"),_.each(function(){this.__axis=Y})}return m.scale=function(S){return arguments.length?(e=S,m):e},m.ticks=function(){return n=Array.from(arguments),m},m.tickArguments=function(S){return arguments.length?(n=S==null?[]:Array.from(S),m):n.slice()},m.tickValues=function(S){return arguments.length?(a=S==null?null:Array.from(S),m):a&&a.slice()},m.tickFormat=function(S){return arguments.length?(i=S,m):i},m.tickSize=function(S){return arguments.length?(s=o=+S,m):s},m.tickSizeInner=function(S){return arguments.length?(s=+S,m):s},m.tickSizeOuter=function(S){return arguments.length?(o=+S,m):o},m.tickPadding=function(S){return arguments.length?(l=+S,m):l},m.offset=function(S){return arguments.length?(c=+S,m):c},m}function my(t){return Yi(Vi,t)}function yy(t){return Yi(Xi,t)}function bu(t){return Yi(po,t)}function Eu(t){return Yi(Ba,t)}var xy=Object.defineProperty,Ty=(t,e,n)=>e in t?xy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mo=(t,e,n)=>Ty(t,typeof e!="symbol"?e+"":e,n);class Ru{constructor(e){mo(this,"owner"),mo(this,"config"),mo(this,"scale");const n=Dr(),{config:a,params:i}=e;this.owner=e,this.config=a,this.scale=n,(a.noTransition||!i.config.transition_duration)&&(a.withoutTransition=!0),a.range=this.scaleExtent((i.orgXScale||n).range())}static getSizeFor1Char(e){const n={w:5.5,h:11.5};return!e.empty()&&e.select("text").text("0").call(a=>{try{const{width:i,height:s}=a.node().getBBox();i&&s&&(n.w=i,n.h=s)}catch(i){}finally{a.text("")}}),this.getSizeFor1Char=()=>n,n}getTickTransformSetter(e){const{config:n}=this,a=e==="x"?i=>`translate(${i+n.tickOffset},0)`:i=>`translate(0,${i})`;return(i,s)=>{i.attr("transform",o=>Ie(o)?a(Math.ceil(s(o))):null)}}scaleExtent(e){const n=e[0],a=e[e.length-1];return n0?i:1,s]).range(e.range());o=c.ticks();for(let u=s.toFixed().length;o.length>15;u--)o=c.ticks(u);o.splice(0,1,i),o.splice(o.length-1,1,s)}else o=e.ticks(...this.config.tickArguments||[]);o=o.map(c=>ze(c)&&fe(c)&&!isNaN(c)&&Math.round(c*10)/10||c)}return o}copyScale(){const e=this.scale.copy();return e.domain().length||e.domain(this.scale.domain()),e.type=this.scale.type,e}textFormatted(e){const n=this.config.tickFormat,a=/\d+\.\d+0{5,}\d$/.test(e)?+String(e).replace(/0+\d$/,""):e,i=n?n(a):a;return Ye(i)?i:""}transitionise(e){const{config:n}=this;let a=e;if(n.withoutTransition)a=e.interrupt();else if(n.transition||!this.owner.params.noTransition)try{a=e.transition(n.transition)}catch(i){}return a}}var $y=Object.defineProperty,Sy=(t,e,n)=>e in t?$y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ua=(t,e,n)=>Sy(t,typeof e!="symbol"?e+"":e,n);class Ay{constructor(e={}){Ua(this,"helper"),Ua(this,"config"),Ua(this,"params"),Ua(this,"g"),Ua(this,"generatedTicks");const n={innerTickSize:6,outerTickSize:e.outerTick?6:0,orient:"bottom",range:[],tickArguments:null,tickCentered:null,tickCulling:!0,tickFormat:null,tickLength:9,tickOffset:0,tickPadding:3,tickValues:null,transition:null,noTransition:e.noTransition};n.tickLength=Math.max(n.innerTickSize,0)+n.tickPadding,this.config=n,this.params=e,this.helper=new Ru(this)}create(e){const n=this,{config:a,helper:i,params:s}=n,{scale:o}=i,{orient:l}=a,c=this.splitTickText.bind(n),u=/^(left|right)$/.test(l),g=/^(top|bottom)$/.test(l),v=i.getTickTransformSetter(g?"x":"y"),m=v===i.axisX?"y":"x",S=/^(top|left)$/.test(l)?-1:1,I=s.tickTextRotate;this.config.range=o.rangeExtent?o.rangeExtent():i.scaleExtent((s.orgXScale||o).range());const{innerTickSize:N,tickLength:M,range:P}=a,G=s.id,H=G&&/^(x|y|y2)$/.test(G)?s.config[`axis_${G}_tick_text_position`]:{x:0,y:0},Y=G==="subX"?"subchart_axis_x":`axis_${G}`,_=s.config[`${Y}_show`],K={tick:_?s.config[`${Y}_tick_show`]:!1,text:_?s.config[`${Y}_tick_text_show`]:!1};let at;e.each(function(){const $t=st(this);let At=this.__chart__||o,vt=i.copyScale();at=$t,this.__chart__=vt,a.tickOffset=s.isCategory?Math.ceil((vt(1)-vt(0))/2):0;const gt=$t.selectAll(".domain").data([0]);if(gt.enter().append("path").attr("class","domain").merge(gt).attr("d",()=>{const Ft=a.outerTickSize*S;return g?`M${P[0]},${Ft}V0H${P[1]}V${Ft}`:`M${Ft},${P[0]}H0V${P[1]}H${Ft}`}),K.tick||K.text){const Ft=a.tickValues||i.generateTicks(vt,u);n.generatedTicks=Ft;let pt=$t.selectAll(".tick").data(Ft,vt);const k=pt.enter().insert("g",".domain").attr("class","tick"),Et=pt.exit().remove();pt=k.merge(pt),K.tick&&k.append("line"),K.text&&k.append("text");const ut=Ru.getSizeFor1Char(pt),Rt=[];let jt=pt.select("text").selectAll("tspan").data((Ht,ee)=>{const je=s.tickMultiline?c(Ht,vt,Ft,u,ut.w):Fe(i.textFormatted(Ht))?i.textFormatted(Ht).concat():[i.textFormatted(Ht)];return Rt[ee]=je.length,je.map(Oe=>({index:ee,splitted:Oe}))});jt.exit().remove(),jt=jt.enter().append("tspan").merge(jt).text(Ht=>Ht.splitted),jt.attr("x",g?0:M*S).attr("dx",(()=>{let Ht=0;return/(top|bottom)/.test(l)&&I&&(Ht=8*Math.sin(Math.PI*(I/180))*(l==="top"?-1:1)),Ht+(H.x||0)})()).attr("dy",(Ht,ee)=>{const je=".71em";let Oe=0;return l!=="top"&&(Oe=ut.h,ee===0&&(Oe=u?-((Rt[Ht.index]-1)*(ut.h/2)-3):H.y===0?je:0)),fe(Oe)&&H.y?Oe+H.y:Oe||je});const zt=pt.select("line"),Wt=pt.select("text");if(k.select("line").attr(`${m}2`,N*S),k.select("text").attr(m,M*S),n.setTickLineTextPosition(zt,Wt),s.tickTitle){const Ht=Wt.select("title");(Ht.empty()?Wt.append("title"):Ht).text(ee=>s.tickTitle[ee])}if(vt.bandwidth){const Ht=vt,ee=Ht.bandwidth()/2;At=je=>Ht(je)+ee,vt=At}else At.bandwidth?At=vt:v(Et,vt);pt=s.owner.state.flowing?i.transitionise(pt):s.owner.$T(pt),v(k,At),v(pt.style("opacity",null),vt)}}),this.g=at}getGeneratedTicks(e){var n;const a=((n=this.generatedTicks)==null?void 0:n.length)-1;let i=this.generatedTicks;if(a>e){const s=Math.round(a/e+.1);i=this.generatedTicks.map((o,l)=>l%s===0?o:null).filter(o=>o!==null).splice(0,e)}return i}getTickXY(){const{config:e}=this,n={x:0,y:0};return this.params.isCategory&&(n.x=e.tickCentered?0:e.tickOffset,n.y=e.tickCentered?e.tickOffset:0),n}getTickSize(e){const{scale:n}=this.helper,{config:a}=this,{innerTickSize:i,range:s}=a,o=n(e)+(a.tickCentered?0:a.tickOffset);return s[0]{const N=["start","end"];return s==="top"&&N.reverse(),I?N[I>0?0:1]:"middle"},g=I=>I?`rotate(${I})`:null,v=I=>{const N=I/(s==="bottom"?15:23);return I?11.5-2.5*N*(I>0?1:-1):o},{config:{axis_rotated:m,axis_x_tick_text_inner:S}}=this.params.owner;switch(s){case"bottom":e.attr("x1",a.x).attr("x2",a.x).attr("y2",this.getTickSize.bind(this)),n.attr("x",0).attr("y",v(c)).style("text-anchor",u(c)).style("text-anchor",(I,N,{length:M})=>!m&&N===0&&(S===!0||S.first)?"start":!m&&N===M-1&&(S===!0||S.last)?"end":u(c)).attr("transform",g(c));break;case"top":e.attr("x2",0).attr("y2",-i),n.attr("x",0).attr("y",-v(c)*2).style("text-anchor",u(c)).attr("transform",g(c));break;case"left":e.attr("x2",-i).attr("y1",a.y).attr("y2",a.y),n.attr("x",-o).attr("y",l).style("text-anchor","end");break;case"right":e.attr("x2",i).attr("y2",0),n.attr("x",o).attr("y",0).style("text-anchor","start")}}splitTickText(e,n,a,i,s){const{params:o}=this,l=this.helper.textFormatted(e),c=ze(l)&&l.indexOf(` `)>-1?l.split(` `):[];if(c.length)return c;if(Fe(l))return l;let u=o.tickWidth;(!u||u<=0)&&(u=i?95:o.isCategory?Math.ceil(o.isInverted?n(a[0])-n(a[1]):n(a[1])-n(a[0]))-12:110);function g(v,m){let S,I,N;for(let M=1;M{const S=v+1;return Se(this.helper.scale.domain());else{if(!arguments.length)return n.tickValues;n.tickValues=e}return this}setTransition(e){return this.config.transition=e,this}}var by=Object.defineProperty,Ey=(t,e,n)=>e in t?by(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ur=(t,e,n)=>Ey(t,typeof e!="symbol"?e+"":e,n),Ry={getAxisInstance:function(){return this.axis||new Oy(this)}};class Oy{constructor(e){ur(this,"owner"),ur(this,"x"),ur(this,"subX"),ur(this,"y"),ur(this,"y2"),ur(this,"axesList",{}),ur(this,"tick",{x:null,y:null,y2:null}),ur(this,"xs",[]),ur(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=e,this.setOrient()}getAxisClassName(e){return`${on.axis} ${on[`axis${In(e)}`]}`}isHorizontal(e,n){const a=e.config.axis_rotated;return n?a:!a}isCategorized(){const{config:e,state:n}=this.owner;return e.axis_x_type.indexOf("category")>=0||n.hasRadar}isCustomX(){const{config:e}=this.owner;return!this.isTimeSeries()&&(e.data_x||nn(e.data_xs))}isTimeSeries(e="x"){return this.owner.config[`axis_${e}_type`]==="timeseries"}isLog(e="x"){return this.owner.config[`axis_${e}_type`]==="log"}isTimeSeriesY(){return this.isTimeSeries("y")}getAxisType(e="x"){let n="linear";return this.isTimeSeries(e)?n=this.owner.config.axis_x_localtime?"time":"utc":this.isLog(e)&&(n="log"),n}init(){const e=this.owner,{config:n,$el:{main:a,axis:i},state:{clip:s}}=e,o=n.axis_rotated,l=["x","y"];n.axis_y2_show&&l.push("y2"),l.forEach(c=>{const u=this.getAxisClassName(c),g=on[`axis${c.toUpperCase()}Label`];i[c]=a.append("g").attr("class",u).attr("clip-path",()=>{let v=null;return c==="x"?v=s.pathXAxis:c==="y"&&(v=s.pathYAxis),v}).attr("transform",e.getTranslate(c)).style("visibility",n[`axis_${c}_show`]?null:"hidden"),i[c].append("text").attr("class",g).attr("transform",["rotate(-90)",null][c==="x"?+!o:+o]).style("text-anchor",()=>this.textAnchorForAxisLabel(c)),this.generateAxes(c)}),n.axis_tooltip&&this.setAxisTooltip()}setOrient(){const e=this.owner,{axis_rotated:n,axis_y_inner:a,axis_y2_inner:i}=e.config;this.orient={x:n?"left":"bottom",y:n?a?"top":"bottom":a?"right":"left",y2:n?i?"bottom":"top":i?"left":"right",subX:n?"left":"bottom"}}generateAxes(e){const n=this.owner,{config:a}=n,i=[],s=a[`axis_${e}_axes`],o=a.axis_rotated;let l;e==="x"?l=o?Eu:bu:e==="y"?l=o?bu:Eu:e==="y2"&&(l=o?my:yy),s.length&&s.forEach(c=>{const u=c.tick||{},g=n.scale[e].copy();c.domain&&g.domain(c.domain),i.push(l(g).ticks(u.count).tickFormat(de(u.format)?u.format.bind(n.api):v=>v).tickValues(u.values).tickSizeOuter(u.outer===!1?0:6))}),this.axesList[e]=i}updateAxes(){const e=this.owner,{config:n,$el:{main:a},$T:i}=e;Object.keys(this.axesList).forEach(s=>{const o=n[`axis_${s}_axes`],l=e.scale[s].copy(),c=l.range();this.axesList[s].forEach((u,g)=>{const v=u.scale().range();c.every((I,N)=>I===v[N])||u.scale().range(c);const m=`${this.getAxisClassName(s)}-${g+1}`;let S=a.select(`.${m.replace(/\s/,".")}`);S.empty()?S=a.append("g").attr("class",m).style("visibility",n[`axis_${s}_show`]?null:"hidden").call(u):(o[g].domain&&l.domain(o[g].domain),i(S).call(u.scale(l))),S.attr("transform",e.getTranslate(s,g+1))})})}setAxis(e,n,a,i){const s=this.owner;e!=="subX"&&(this.tick[e]=this.getTickValues(e)),this[e]=this.getAxis(e,n,a,e==="x"&&(s.scale.zoom||s.config.subchart_show||s.state.resizing)?!0:i)}getAxis(e,n,a,i,s){const o=this.owner,{config:l}=o,c=/^(x|subX)$/.test(e),u=c?"x":e,g=c&&this.isCategorized(),v=this.orient[e],m=s?0:o.getAxisTickRotate(u);let S;if(c)S=e==="subX"?o.format.subXAxisTick:o.format.xAxisTick;else{const G=l[`axis_${e}_tick_format`];de(G)&&(S=G.bind(o.api))}let I=this.tick[u];const N=_r({outerTick:a,noTransition:i,config:l,id:e,tickTextRotate:m,owner:o},c&&{isCategory:g,isInverted:l.axis_x_inverted,tickMultiline:l.axis_x_tick_multiline,tickWidth:l.axis_x_tick_width,tickTitle:g&&l.axis_x_tick_tooltip&&o.api.categories(),orgXScale:o.scale.x});c||(N.tickStepSize=l[`axis_${u}_tick_stepSize`]);const M=new Ay(N).scale(c&&o.scale.zoom||n).orient(v);if(c&&this.isTimeSeries()&&I&&!de(I)){const G=Dn.bind(o);I=I.map(H=>G(H))}else!c&&this.isTimeSeriesY()&&(M.ticks(l.axis_y_tick_time_value),I=null);I&&M.tickValues(I),M.tickFormat(S||!c&&o.isStackNormalized()&&(G=>`${G}%`)),g&&(M.tickCentered(l.axis_x_tick_centered),Wn(l.axis_x_tick_culling)&&(l.axis_x_tick_culling=!1));const P=l[`axis_${u}_tick_count`];return P&&M.ticks(P),M}updateXAxisTickValues(e,n){var a;const i=this.owner,{config:s}=i,o=s.axis_x_tick_fit;let l=s.axis_x_tick_count,c;return(o||l&&o)&&(c=i.mapTargetsToUniqueXs(e),this.isCategorized()&&l>c.length&&(l=c.length),c=this.generateTickValues(c,l,this.isTimeSeries())),n?n.tickValues(c):this.x&&(this.x.tickValues(c),(a=this.subX)==null||a.tickValues(c)),c}getId(e){const{config:n,scale:a}=this.owner;let i=n.data_axes[e];return(!i||!a[i])&&(i="y"),i}getXAxisTickFormat(e){const n=this.owner,{config:a,format:i}=n,s=e&&a.subchart_axis_x_tick_format||a.axis_x_tick_format,o=this.isTimeSeries(),l=this.isCategorized();let c;return s?de(s)?c=s.bind(n.api):o&&(c=u=>u?i.axisTime(s)(u):""):c=o?i.defaultAxisTime:l?n.categoryName:u=>u<0?u.toFixed(0):u,de(c)?u=>c.apply(n,l?[u,n.categoryName(u)]:[u]):c}getTickValues(e){const n=this.owner,a=n.config[`axis_${e}_tick_values`],i=n[`${e}Axis`];return(de(a)?a.call(n.api):a)||(i?i.tickValues():void 0)}getLabelOptionByAxisId(e){return this.owner.config[`axis_${e}_label`]}getLabelText(e){const n=this.getLabelOptionByAxisId(e);return ze(n)?n:n?n.text:null}setLabelText(e,n){const a=this.owner,{config:i}=a,s=this.getLabelOptionByAxisId(e);ze(s)?i[`axis_${e}_label`]=n:s&&(s.text=n)}getLabelPosition(e,n){const a=this.owner.config.axis_rotated,i=this.getLabelOptionByAxisId(e),s=Jn(i)&&i.position?i.position:n[+!a],o=l=>!!~s.indexOf(l);return{isInner:o("inner"),isOuter:o("outer"),isLeft:o("left"),isCenter:o("center"),isRight:o("right"),isTop:o("top"),isMiddle:o("middle"),isBottom:o("bottom")}}getAxisLabelPosition(e){return this.getLabelPosition(e,e==="x"?["inner-top","inner-right"]:["inner-right","inner-top"])}getLabelPositionById(e){return this.getAxisLabelPosition(e)}xForAxisLabel(e){const n=this.owner,{state:{width:a,height:i}}=n,s=this.getAxisLabelPosition(e);let o=s.isMiddle?-i/2:0;return this.isHorizontal(n,e!=="x")?o=s.isLeft?0:s.isCenter?a/2:a:s.isBottom&&(o=-i),o}dxForAxisLabel(e){const n=this.owner,a=this.getAxisLabelPosition(e);let i=a.isBottom?"0.5em":"0";return this.isHorizontal(n,e!=="x")?i=a.isLeft?"0.5em":a.isRight?"-0.5em":"0":a.isTop&&(i="-0.5em"),i}textAnchorForAxisLabel(e){const n=this.owner,a=this.getAxisLabelPosition(e);let i=a.isMiddle?"middle":"end";return this.isHorizontal(n,e!=="x")?i=a.isLeft?"start":a.isCenter?"middle":"end":a.isBottom&&(i="start"),i}dyForAxisLabel(e){const n=this.owner,{config:a}=n,i=a.axis_rotated,s=this.getAxisLabelPosition(e).isInner,o=a[`axis_${e}_tick_rotate`]?n.getHorizontalAxisHeight(e):0,{width:l}=this.getMaxTickSize(e);let c;if(e==="x"){const u=a.axis_x_height;i?c=s?"1.2em":-25-l:s?c="-0.5em":u?c=u-10:o?c=o-10:c="3em"}else c={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[e],i?s?c=c[0]:o?c=o*(e==="y2"?-1:1)-c[1]:c=c[2]:c=s?c[3]:(c[4]+(a[`axis_${e}_inner`]?0:l+c[4]))*(e==="y"?-1:1);return c}getMaxTickSize(e,n){const a=this.owner,{config:i,state:{current:s},$el:{svg:o,chart:l}}=a,c=s.maxTickSize[e],u=`axis_${e}`,g={width:0,height:0};if(n||!i[`${u}_show`]||c.width>0&&a.filterTargetsToShow().length===0)return c;if(o){const v=/^y2?$/.test(e),m=a.filterTargetsToShow(a.data.targets),S=a.scale[e].copy().domain(a[`get${v?"Y":"X"}Domain`](m,e)),I=S.domain(),N=I[0]===I[1]&&I.every(K=>K>0),M=Fe(c.domain)&&c.domain[0]===c.domain[1]&&c.domain.every(K=>K>0);if(N||M)return c.size;c.domain=I,v||c.ticks.splice(0);const P=this.getAxis(e,S,!1,!1,!0),G=i[`${u}_tick_rotate`],H=i[`${u}_tick_count`];!i[`${u}_tick_values`]&&H&&P.tickValues(this.generateTickValues(I,H,v?this.isTimeSeriesY():this.isTimeSeries())),!v&&this.updateXAxisTickValues(m,P);const _=l.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");P.create(_),_.selectAll("text").attr("transform",fe(G)?`rotate(${G})`:null).each(function(K,at){const{width:$t,height:At}=this.getBoundingClientRect();g.width=Math.max(g.width,$t),g.height=Math.max(g.height,At),v||(c.ticks[at]=$t)}),_.remove()}return Object.keys(g).forEach(v=>{g[v]>0&&(c[v]=g[v])}),c}getXAxisTickTextY2Overflow(e){const n=this.owner,{axis:a,config:i,state:{current:s,isLegendRight:o,legendItemWidth:l}}=n,c=n.getAxisTickRotate("x"),u=c>0&&c<90;if((a.isCategorized()||a.isTimeSeries())&&i.axis_x_tick_fit&&(!i.axis_x_tick_culling||Wn(i.axis_x_tick_culling))&&!i.axis_x_tick_multiline&&u){const g=i.axis_y2_show&&s.maxTickSize.y2.width||0,v=o&&l||0,m=s.width-n.getCurrentPaddingByDirection("left"),S=this.getXAxisTickMaxOverflow(c,m-e)-g-v,I=Math.max(0,S)+e;return Math.min(I,m/2)}return 0}getXAxisTickMaxOverflow(e,n){const a=this.owner,{axis:i,config:s,state:o}=a,l=i.isTimeSeries(),c=o.current.maxTickSize.x.ticks,u=c.length,{left:g,right:v}=o.axis.x.padding;let m=0;const S=u-(l&&s.axis_x_tick_fit?.5:0);for(let M=0;M!s[o].empty()).forEach(o=>{const l=s[o];i(l,e).attr("x",()=>this.xForAxisLabel(o)).attr("dx",()=>this.dxForAxisLabel(o)).attr("dy",()=>this.dyForAxisLabel(o)).text(()=>this.getLabelText(o))})}getPadding(e,n,a,i){const s=fe(e)?e:e[n];return Ie(s)?this.owner.convertPixelToScale(/(bottom|top)/.test(n)?"y":"x",s,i):a}generateTickValues(e,n,a){let i=e;if(n){const s=de(n)?n():n;if(s===1)i=[e[0]];else if(s===2)i=[e[0],e[e.length-1]];else if(s>2){const o=this.isCategorized(),l=s-2,c=e[0],u=e[e.length-1],g=(u-c)/(l+1);let v;i=[c];for(let m=0;ms-o)),i}generateTransitions(e){const n=this.owner,{$el:{axis:a},$T:i}=n,[s,o,l,c]=["x","y","y2","subX"].map(u=>i(a[u],e));return{axisX:s,axisY:o,axisY2:l,axisSubX:c}}redraw(e,n,a){const i=this.owner,{config:s,$el:o}=i,l=n?"0":null;["x","y","y2","subX"].forEach(c=>{const u=this[c],g=o.axis[c];u&&g&&(!a&&!s.transition_duration&&(u.config.withoutTransition=!0),g.style("opacity",l),u.create(e[`axis${In(c)}`]))}),this.updateAxes()}redrawAxis(e,n,a,i,s){var o,l,c;const u=this.owner,{config:g,scale:v,$el:m}=u,S=!!v.zoom;let I;!S&&this.isCategorized()&&e.length===0&&v.x.domain([0,m.axis.x.selectAll(".tick").size()]),v.x&&e.length?(!S&&u.updateXDomain(e,n.UpdateXDomain,n.UpdateOrgXDomain,n.TrimXDomain),g.axis_x_tick_values||this.updateXAxisTickValues(e)):this.x&&(this.x.tickValues([]),(o=this.subX)==null||o.tickValues([])),g.zoom_rescale&&!i&&(I=v.x.orgDomain()),["y","y2"].forEach(N=>{const M=`axis_${N}_`,P=v[N];if(P){const G=g[`${M}tick_values`],H=g[`${M}tick_count`];if(P.domain(u.getYDomain(e,N,I)),!G&&H){const Y=u.axis[N],_=P.domain();Y.tickValues(this.generateTickValues(_,_.every(K=>K===0)?1:H,this.isTimeSeriesY()))}}}),this.redraw(a,u.hasArcType(),s),this.updateLabels(n.Transition),(n.UpdateXDomain||n.UpdateXAxis||n.Y)&&e.length&&this.setCulling(),n.Y&&((l=v.subY)==null||l.domain(u.getYDomain(e,"y")),(c=v.subY2)==null||c.domain(u.getYDomain(e,"y2")))}setCulling(){const e=this.owner,{config:n,state:{clip:a,current:i},$el:s}=e;["subX","x","y","y2"].forEach(o=>{const l=s.axis[o],u=`axis_${o==="subX"?"x":o}_tick_culling`,g=n[u];if(l&&g){const v=l.selectAll(".tick"),m=qr(v.data()),S=m.length,I=n[`${u}_max`],N=n[`${u}_lines`];let M;if(S){for(let P=1;P{var u,g,v;if(o[c]=(u=s[c])==null?void 0:u.append("text").classed(on[`axis${c.toUpperCase()}Tooltip`],!0).attr("filter",n.updateTextBGColor({id:c},l)),a){const m=c==="x"?"x":"y",S=c==="y"?"1.15em":c==="x"?"-0.3em":"-0.4em";(g=o[c])==null||g.attr(m,S).attr(`d${c==="x"?"y":"x"}`,c==="x"?"0.4em":"-1.3em").style("text-anchor",c==="x"?"end":null)}else{const m=c==="x"?"y":"x",S=c==="x"?"1.15em":`${c==="y"?"-":""}0.4em`;(v=o[c])==null||v.attr(m,S).attr(`d${c==="x"?"x":"y"}`,c==="x"?"-1em":"0.3em").style("text-anchor",c==="y"?"end":null)}})}}var Iy={initEventRect(){this.$el.main.select(`.${Se.chart}`).append("g").attr("class",Vn.eventRects).style("fill-opacity","0")},redrawEventRect(){var t;const e=this,{config:n,state:a,$el:i}=e,s=e.isMultipleX(),o=n.axis_x_inverted;if(i.eventRect)e.updateEventRect(i.eventRect,!0);else if(e.data.targets.length){const c=e.$el.main.select(`.${Vn.eventRects}`).style("cursor",n.zoom_enabled&&n.zoom_type!=="drag"?n.axis_rotated?"ns-resize":"ew-resize":null).classed(Vn.eventRectsMultiple,s).classed(Vn.eventRectsSingle,!s).selectAll(`.${Vn.eventRect}`).data([0]).enter().append("rect");e.updateEventRect(c),e.updateEventType(c),c.call(e.getDraggableSelection()),i.eventRect=c,e.state.inputType==="touch"&&!i.svg.on("touchstart.eventRect")&&!e.hasArcType()&&e.bindTouchOnEventRect(),a.rendered&&e.updateEventRect(i.eventRect,!0)}if(!s){const l=e.getMaxDataCountTarget();(!n.data_xSort||o)&&l.sort((c,u)=>o?u.x-c.x:c.x-u.x),e.updateDataIndexByX(l),e.updateXs(l),(t=e.updatePointClass)==null||t.call(e,!0),a.eventReceiver.data=l}e.updateEventRectData()},bindTouchOnEventRect(){const t=this,{config:e,state:n,$el:{eventRect:a,svg:i}}=t,s=m=>{if(t.isMultipleX())t.selectRectForMultipleXs(m);else{const S=t.getDataIndexFromEvent(n.event);t.callOverOutForTouch(S),S===-1?t.unselectRect():t.selectRectForSingle(m,S)}},o=()=>{t.unselectRect(),t.callOverOutForTouch()},l=e.interaction_inputType_touch.preventDefault,c=Os(l)&&l||!1,u=!isNaN(l)&&l||null;let g;const v=m=>{const S=m.type,N=m.changedTouches[0][`client${e.axis_rotated?"Y":"X"}`];S==="touchstart"?c?m.preventDefault():u!==null&&(g=N):S==="touchmove"&&(c||g===!0||u!==null&&Math.abs(g-N)>=u)&&(g=!0,m.preventDefault())};a.on("touchstart",m=>{n.event=m,t.updateEventRect()}).on("touchstart.eventRect touchmove.eventRect",m=>{if(n.event=m,!a.empty()&&a.classed(Vn.eventRect)){if(n.dragging||n.flowing||t.hasArcType()||m.touches.length>1)return;v(m),s(a.node())}else o()},!0).on("touchend.eventRect",m=>{n.event=m,!a.empty()&&a.classed(Vn.eventRect)&&(t.hasArcType()||!t.toggleShape||n.cancelClick)&&n.cancelClick&&(n.cancelClick=!1)},!0),i.on("touchstart",m=>{n.event=m;const{target:S}=m;S&&S!==a.node()&&o()})},updateEventRect(t,e=!1){const n=this,{state:a,$el:i}=n,{eventReceiver:s,width:o,height:l,rendered:c,resizing:u}=a,g=t||i.eventRect,v=()=>{if(s){const m=Wl(i.chart.node());s.rect=g.node().getBoundingClientRect().toJSON(),s.rect.top+=m.y,s.rect.left+=m.x}};(!c||u||e)&&(g.attr("x",0).attr("y",0).attr("width",o).attr("height",l),(!c||e)&&g.classed(Vn.eventRect,!0)),v()},updateEventType(t){const e=this,n=Os(t),a=n?e.$el.eventRect:t,i=n?t!==(a==null?void 0:a.datum().multipleX):!1;a&&(i&&(a==null||a.on("mouseover mousemove mouseout click",null)),e.isMultipleX()?e.generateEventRectsForMultipleXs(a):e.generateEventRectsForSingleX(a))},updateEventRectData(){const t=this,{config:e,scale:n,state:a}=t,i=n.zoom||n.x,s=e.axis_rotated,o=t.isMultipleX();let l,c,u,g;if(t.updateEventType(o),o)l=0,c=0,u=a.width,g=a.height;else{let S,I;if(t.axis.isCategorized())S=t.getEventRectWidth(),I=N=>i(N.x)-S/2;else{const N=({index:M})=>({prev:t.getPrevX(M),next:t.getNextX(M)});S=M=>{const P=N(M),G=i.domain();let H;return P.prev===null&&P.next===null?H=s?a.height:a.width:P.prev===null?H=(i(P.next)+i(M.x))/2:P.next===null?H=i(G[1])-(i(P.prev)+i(M.x))/2:(Object.keys(P).forEach((Y,_)=>{var K;P[Y]=(K=P[Y])!=null?K:G[_]}),H=Math.max(0,(i(P.next)-i(P.prev))/2)),H},I=M=>{const P=N(M);let G;return P.prev===null&&P.next===null?G=0:P.prev===null?G=i(i.domain()[0]):G=(i(M.x)+i(P.prev))/2,G}}l=s?0:I,c=s?I:0,u=s?a.width:S,g=s?S:a.height}const{eventReceiver:v}=a,m=(S,I)=>de(S)?S(I):S;v.coords.splice(v.data.length),v.data.forEach((S,I)=>{v.coords[I]={x:m(l,S),y:m(c,S),w:m(u,S),h:m(g,S)}})},selectRectForSingle(t,e){var n,a;const i=this,{config:s,$el:{main:o,circle:l}}=i,c=s.data_selection_enabled,u=s.data_selection_grouped,g=s.data_selection_isselectable,v=s.tooltip_grouped,m=i.getAllValuesOnIndex(e);if(v&&(i.showTooltip(m,t),(n=i.showGridFocus)==null||n.call(i,m),!c||u))return;!l&&o.selectAll(`.${Se.EXPANDED}:not(.${tn.shape}-${e})`).classed(Se.EXPANDED,!1);const S=o.selectAll(`.${tn.shape}-${e}`).classed(Se.EXPANDED,!0).style("cursor",g?"pointer":null).filter(function(I){return i.isWithinShape(this,I)});S.empty()&&!v&&((a=i.hideGridFocus)==null||a.call(i),i.hideTooltip(),!u&&i.setExpand(e)),S.call(I=>{var N,M;const P=I.data();c&&(u||g!=null&&g.bind(i.api)(P))&&(t.style.cursor="pointer"),v||(i.showTooltip(P,t),(N=i.showGridFocus)==null||N.call(i,P),(M=i.unexpandCircles)==null||M.call(i),I.each(G=>i.setExpand(e,G.id)))})},selectRectForMultipleXs(t,e=!0){const n=this,{config:a,state:i}=n,s=n.filterTargetsToShow(n.data.targets);if(i.dragging||n.hasArcType(s))return;const o=zn(i.event,t),l=n.findClosestFromTargets(s,o);if(e&&i.mouseover&&(!l||l.id!==i.mouseover.id)&&(a.data_onout.call(n.api,i.mouseover),i.mouseover=void 0),!l){n.unselectRect();return}const u=(n.isBubbleType(l)||n.isScatterType(l)||!a.tooltip_grouped?[l]:n.filterByX(s,l.x)).map(v=>n.addName(v));n.showTooltip(u,t),n.setExpand(l.index,l.id,!0),n.showGridFocus(u);const g=n.dist(l,o);(n.isBarType(l.id)||g{const c=l?e.getDataIndexFromEvent(l):i.currentIdx;return c>-1?i.data[c]:null};s.on("mouseover",l=>{a.event=l,e.updateEventRect(),Object.values(e.$el.axisTooltip).forEach(c=>c==null?void 0:c.style("display",null))}).on("mousemove",function(l){const c=o(l);if(a.event=l,!c)return;let{index:u}=c;const g=n.line_step_type;if(n.line_step_tooltipMatch&&e.hasType("step")&&/^step\-(before|after)$/.test(g)){const m=e.scale.zoom||e.scale.x,S=e.axis.xs[u],I=m.invert(zn(l,this)[0]);g==="step-after"&&IS&&(u+=1)}e.showAxisGridFocus();const v=n.tooltip_grouped&&u===i.currentIdx;if(a.dragging||a.flowing||e.hasArcType()||v){n.tooltip_show&&v&&e.setTooltipPosition();return}u!==i.currentIdx&&(e.setOverOut(!1,i.currentIdx),i.currentIdx=u),u===-1?e.unselectRect():e.selectRectForSingle(this,u),e.setOverOut(u!==-1,u)}).on("mouseout",l=>{a.event=l,!(!n||e.hasArcType()||i.currentIdx===-1)&&(e.hideAxisGridFocus(),e.unselectRect(),e.setOverOut(!1,i.currentIdx),i.currentIdx=-1)})}return s},clickHandlerForSingleX(t,e){const n=e,{config:a,state:i,$el:{main:s}}=n;if(!t||n.hasArcType()||i.cancelClick){i.cancelClick&&(i.cancelClick=!1);return}const{index:o}=t;s.selectAll(`.${tn.shape}-${o}`).each(function(l){var c;(a.data_selection_grouped||n.isWithinShape(this,l))&&((c=n.toggleShape)==null||c.call(n,this,l,o),a.data_onclick.bind(n.api)(l,this))})},generateEventRectsForMultipleXs(t){const e=this,{state:n}=e;t.on("click",function(a){n.event=a,e.clickHandlerForMultipleXS.bind(this)(e)}).datum({multipleX:!0}),n.inputType==="mouse"&&t.on("mouseover mousemove",function(a){n.event=a,e.selectRectForMultipleXs(this)}).on("mouseout",a=>{n.event=a,!(!e.config||e.hasArcType())&&e.unselectRect()})},clickHandlerForMultipleXS(t){const e=t,{config:n,state:a}=e,i=e.filterTargetsToShow(e.data.targets);if(e.hasArcType(i))return;const s=zn(a.event,this),o=e.findClosestFromTargets(i,s),l=n.point_sensitivity==="radius"?o.r:n.point_sensitivity;o&&(e.isBarType(o.id)||e.dist(o,s)+t;var Py={generateFlow(t){const e=this,{data:n,state:a,$el:i}=e;return function(){const s=t.flow.length;a.flowing=!0,n.targets.forEach(l=>{l.values.splice(0,s)}),e.updateXGrid&&e.updateXGrid(!0);const o={};["axis.x","grid.x","gridLines.x","region.list","text","bar","line","area","circle"].forEach(l=>{const c=l.split(".");let u=i[c[0]];u&&c.length>1&&(u=u[c[1]]),u!=null&&u.size()&&(o[l]=u)}),e.hideGridFocus(),e.setFlowList(o,t)}},setFlowList(t,e){const n=this,{flow:a,targets:i}=e,{duration:s=e.duration,index:o,length:l,orgDataCount:c}=a,u=n.getFlowTransform(i,c,o,l),g=ql();let v;g.add(Object.keys(t).map(m=>(v=t[m].transition().ease(Cy).duration(s),m==="axis.x"?v=v.call(S=>{n.axis.x.setTransition(S).create(S)}):m==="region.list"?v=v.filter(n.isRegionOnX).attr("transform",u):v=v.attr("transform",u),v))),v.call(g,()=>{n.cleanUpFlow(t,e)})},cleanUpFlow(t,e){const n=this,{config:a,state:i,$el:{svg:s}}=n,o=a.axis_rotated,{flow:l,shape:c,xv:u}=e,{cx:g,cy:v,xForText:m,yForText:S}=c.pos,{done:I=()=>{},length:N}=l;N&&(["circle","text","shape","eventRect"].forEach(M=>{const P=[];for(let G=0;G{const P=t[M];if(M!=="axis.x"&&P.attr("transform",null),M==="grid.x")P.attr(i.xgridAttr);else if(M==="gridLines.x")P.attr("x1",o?0:u).attr("x2",o?i.width:u),P.select("text").attr("x",o?i.width:0).attr("y",u);else if(/^(area|bar|line)$/.test(M))P.attr("d",c.type[M]);else if(M==="text")P.attr("x",m).attr("y",S).style("fill-opacity",n.opacityForText.bind(n));else if(M==="circle")if(n.isCirclePoint())P.attr("cx",g).attr("cy",v);else{const G=Y=>g(Y)-a.point_r,H=Y=>v(Y)-a.point_r;P.attr("x",G).attr("y",H)}else M==="region.list"&&P.select("rect").filter(n.isRegionOnX).attr("x",n.regionX.bind(n)).attr("width",n.regionWidth.bind(n))}),a.interaction_enabled&&n.redrawEventRect(),I.call(n.api),i.flowing=!1},getFlowTransform(t,e,n,a){const i=this,{data:s,scale:{x:o}}=i,l=s.targets[0].values;let c=i.getValueOnIndex(l,n),u=i.getValueOnIndex(l,n+a),g;const v=o.domain(),m=i.updateXDomain(t,!0,!0);e?e===1||(c==null?void 0:c.x)===(u==null?void 0:u.x)?g=o(v[0])-o(m[0]):g=i.axis.isTimeSeries()?o(v[0])-o(m[0]):o((c==null?void 0:c.x)||0)-o(u.x):l.length!==1?g=o(v[0])-o(m[0]):i.axis.isTimeSeries()?(c=i.getValueOnIndex(l,0),u=i.getValueOnIndex(l,l.length-1),g=o(c.x)-o(u.x)):g=Ir(m)/2;const S=Ir(v)/Ir(m);return`translate(${g},0) scale(${S},1)`}},wy={initClip(){const t=this,{clip:e,datetimeId:n}=t.state;e.id=`${n}-clip`,e.idXAxis=`${e.id}-xaxis`,e.idYAxis=`${e.id}-yaxis`,e.idGrid=`${e.id}-grid`,e.path=t.getClipPath(e.id),e.pathXAxis=t.getClipPath(e.idXAxis),e.pathYAxis=t.getClipPath(e.idYAxis),e.pathGrid=t.getClipPath(e.idGrid)},getClipPath(t){const e=this,{config:n}=e;return!n.clipPath&&/-clip$/.test(t)||!n.axis_x_clipPath&&/-clip-xaxis$/.test(t)||!n.axis_y_clipPath&&/-clip-yaxis$/.test(t)?null:`url(#${t})`},appendClip(t,e){e&&t.append("clipPath").attr("id",e).append("rect")},setXAxisClipPath(t){const e=this,{config:n,state:{margin:a,width:i,height:s}}=e,o=n.axis_rotated,l=Math.max(30,a.left)-(o?0:20),c=(o?a.top+s+10:a.bottom)+20,u=o?-(1+l):-(l-1),g=-15,v=o?a.left+20:i+10+l;t.attr("x",u).attr("y",g).attr("width",v).attr("height",c)},setYAxisClipPath(t){const e=this,{config:n,state:{margin:a,width:i,height:s}}=e,o=n.axis_rotated,l=Math.max(30,a.left)-(o?20:0),c=n.axis_y_inner,u=c&&!o?n.axis_y_label.text?-20:-1:o?-(1+l):-(l-1),g=-(o?20:a.top),v=(o?i+15+l:a.left+20)+(c?20:0),m=(o?a.bottom+10:a.top+s)+10;t.attr("x",u).attr("y",g).attr("width",v).attr("height",m)},updateXAxisTickClip(){const t=this,{config:e,state:{clip:n,xAxisHeight:a},$el:{defs:i}}=t,s=t.getHorizontalAxisHeight("x");if(i&&!n.idXAxisTickTexts){const o=`${n.id}-xaxisticktexts`;t.appendClip(i,o),n.pathXAxisTickTexts=t.getClipPath(n.idXAxisTickTexts),n.idXAxisTickTexts=o}!e.axis_x_tick_multiline&&t.getAxisTickRotate("x")&&s!==a&&(t.setXAxisTickClipWidth(),t.setXAxisTickTextClipPathWidth()),t.state.xAxisHeight=s},setXAxisTickClipWidth(){const t=this,{config:e,state:{current:{maxTickSize:n}}}=t,a=t.getAxisTickRotate("x");if(!e.axis_x_tick_multiline&&a){const i=Math.sin(Math.PI/180*Math.abs(a));n.x.clipPath=(t.getHorizontalAxisHeight("x")-20)/i}else n.x.clipPath=null},setXAxisTickTextClipPathWidth(){const t=this,{state:{clip:e,current:n},$el:{svg:a}}=t;a&&a.select(`#${e.idXAxisTickTexts} rect`).attr("width",n.maxTickSize.x.clipPath).attr("height",30)}};const My=t=>Ie(t.position)||"end",Ly=t=>t.position==="start"?4:t.position==="middle"?0:-4;function Ou(t,e,n){return a=>{let i=t?0:e;return a.position==="start"?i=t?-n:0:a.position==="middle"&&(i=(t?-n:e)/2),i}}function Iu(t,e){e==="grid"&&t.each(function(){const n=st(this);["x1","x2","y1","y2"].forEach(a=>n.attr(a,Math.ceil(+n.attr(a))))})}var Dy={hasGrid(){const{config:t}=this;return["x","y"].some(e=>t[`grid_${e}_show`]||t[`grid_${e}_lines`].length)},initGrid(){const t=this;t.hasGrid()&&t.initGridLines(),t.initFocusGrid()},initGridLines(){const t=this,{config:e,state:{clip:n},$el:a}=t;(e.grid_x_lines.length||e.grid_y_lines.length)&&(a.gridLines.main=a.main.insert("g",`.${Se.chart}${e.grid_lines_front?" + *":""}`).attr("clip-path",n.pathGrid).attr("class",`${qe.grid} ${qe.gridLines}`),a.gridLines.main.append("g").attr("class",qe.xgridLines),a.gridLines.main.append("g").attr("class",qe.ygridLines),a.gridLines.x=Fc([]))},updateXGrid(t){const e=this,{config:n,scale:a,state:i,$el:{main:s,grid:o}}=e,l=n.axis_rotated,c=e.generateGridData(n.grid_x_type,a.x),u=e.axis.isCategorized()?e.axis.x.tickOffset():0,g=v=>(a.zoom||a.x)(v)+u*(l?-1:1);i.xgridAttr=l?{x1:0,x2:i.width,y1:g,y2:g}:{x1:g,x2:g,y1:0,y2:i.height},o.x=s.select(`.${qe.xgrids}`).selectAll(`.${qe.xgrid}`).data(c),o.x.exit().remove(),o.x=o.x.enter().append("line").attr("class",qe.xgrid).merge(o.x),t||o.x.each(function(){const v=st(this);Object.keys(i.xgridAttr).forEach(m=>{v.attr(m,i.xgridAttr[m]).style("opacity",()=>v.attr(l?"y1":"x1")===(l?i.height:0)?"0":null)})})},updateYGrid(){const t=this,{axis:e,config:n,scale:a,state:i,$el:{grid:s,main:o}}=t,l=n.axis_rotated,c=g=>Math.ceil(a.y(g)),u=e.y.getGeneratedTicks(n.grid_y_ticks)||t.scale.y.ticks(n.grid_y_ticks);s.y=o.select(`.${qe.ygrids}`).selectAll(`.${qe.ygrid}`).data(u),s.y.exit().remove(),s.y=s.y.enter().append("line").attr("class",qe.ygrid).merge(s.y),s.y.attr("x1",l?c:0).attr("x2",l?c:i.width).attr("y1",l?0:c).attr("y2",l?i.height:c),Iu(s.y,"grid")},updateGrid(){const t=this,{$el:{grid:e,gridLines:n}}=t;!n.main&&t.initGridLines(),e.main.style("visibility",t.hasArcType()?"hidden":null),t.hideGridFocus(),t.updateGridLines("x"),t.updateGridLines("y")},updateGridLines(t){const e=this,{config:n,$el:{gridLines:a,main:i},$T:s}=e,o=n.axis_rotated,l=t==="x";n[`grid_${t}_show`]&&e[`update${t.toUpperCase()}Grid`]();let c=i.select(`.${qe[`${t}gridLines`]}`).selectAll(`.${qe[`${t}gridLine`]}`).data(n[`grid_${t}_lines`]);s(c.exit()).style("opacity","0").remove();const u=c.enter().append("g");u.append("line").style("opacity","0"),c=u.merge(c),c.each(function(g){const v=st(this);v.select("text").empty()&&g.text&&v.append("text").style("opacity","0")}),s(c.attr("class",g=>`${qe[`${t}gridLine`]} ${g.class||""}`.trim()).select("text").attr("text-anchor",My).attr("transform",()=>l?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",Ly).attr("dy",-5)).text(function(g){var v;return(v=g.text)!=null?v:this.remove()}),a[t]=c},redrawGrid(t){const e=this,{config:{axis_rotated:n},state:{width:a,height:i},$el:{gridLines:s},$T:o}=e,l=e.xv.bind(e),c=e.yv.bind(e);let u=s.x.select("line"),g=s.x.select("text"),v=s.y.select("line"),m=s.y.select("text");return u=o(u,t).attr("x1",n?0:l).attr("x2",n?a:l).attr("y1",n?l:0).attr("y2",n?l:i),g=o(g,t).attr("x",Ou(!n,a,i)).attr("y",l),v=o(v,t).attr("x1",n?c:0).attr("x2",n?c:a).attr("y1",n?0:c).attr("y2",n?i:c),m=o(m,t).attr("x",Ou(n,a,i)).attr("y",c),[u.style("opacity",null),g.style("opacity",null),v.style("opacity",null),m.style("opacity",null)]},initFocusGrid(){const t=this,{config:e,state:{clip:n},$el:a}=t,i=e.grid_front,s=`.${i&&a.gridLines.main?qe.gridLines:Se.chart}${i?" + *":""}`,o=a.main.insert("g",s).attr("clip-path",n.pathGrid).attr("class",qe.grid);if(a.grid.main=o,e.grid_x_show&&o.append("g").attr("class",qe.xgrids),e.grid_y_show&&o.append("g").attr("class",qe.ygrids),e.axis_tooltip){const l=o.append("g").attr("class","bb-axis-tooltip");l.append("line").attr("class","bb-axis-tooltip-x"),l.append("line").attr("class","bb-axis-tooltip-y")}e.interaction_enabled&&e.grid_focus_show&&!e.axis_tooltip&&(o.append("g").attr("class",Ke.xgridFocus).append("line").attr("class",Ke.xgridFocus),e.grid_focus_y&&!e.tooltip_grouped&&o.append("g").attr("class",Ke.ygridFocus).append("line").attr("class",Ke.ygridFocus))},showAxisGridFocus(){var t,e;const n=this,{config:a,format:i,state:{event:s,width:o,height:l}}=n,c=a.axis_rotated,[u,g]=zn(s,(t=n.$el.eventRect)==null?void 0:t.node()),v={x:u,y:g};for(const[m,S]of Object.entries(n.$el.axisTooltip)){const I=m==="x"&&!c||m!=="x"&&c?"x":"y",N=v[I];let M=(e=n.scale[m])==null?void 0:e.invert(N);M&&(M=m==="x"&&n.axis.isTimeSeries()?i.xAxisTick(M):M==null?void 0:M.toFixed(2),S==null||S.attr(I,N).text(M))}n.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility",null).each(function(m,S){const I=st(this);S===0?I.attr("x1",u).attr("x2",u).attr("y1",S?0:l).attr("y2",S?l:0):I.attr("x1",S?0:o).attr("x2",S?o:0).attr("y1",g).attr("y2",g)})},hideAxisGridFocus(){const t=this;t.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility","hidden"),Object.values(t.$el.axisTooltip).forEach(e=>e==null?void 0:e.style("display","none"))},showGridFocus(t){var e;const n=this,{config:a,state:{width:i,height:s}}=n,o=a.axis_rotated,l=n.$el.main.selectAll(`line.${Ke.xgridFocus}, line.${Ke.ygridFocus}`),c=(t||[l.datum()]).filter(v=>v&&Ie(n.getBaseValue(v)));if(!a.tooltip_show||c.length===0||!a.axis_x_forceAsSingle&&n.hasType("bubble")||n.hasArcType())return;const u=a.grid_focus_edge&&!a.tooltip_grouped,g=n.xx.bind(n);l.style("visibility",null).data(c.concat(c)).each(function(v){const m=st(this),S={x:g(v),y:n.getYScaleById(v.id)(v.value)};let I;if(m.classed(Ke.xgridFocus))I=o?[null,S.x,u?S.y:i,S.x]:[S.x,u?S.y:null,S.x,s];else{const N=n.axis.getId(v.id)==="y2";I=o?[S.y,u&&!N?S.x:null,S.y,u&&N?S.x:s]:[u&&N?S.x:null,S.y,u&&!N?S.x:i,S.y]}["x1","y1","x2","y2"].forEach((N,M)=>m.attr(N,I[M]))}),Iu(l,"grid"),(e=n.showCircleFocus)==null||e.call(n,t)},hideGridFocus(){var t;const e=this,{state:{inputType:n,resizing:a},$el:{main:i}}=e;(n==="mouse"||!a)&&(i.selectAll(`line.${Ke.xgridFocus}, line.${Ke.ygridFocus}`).style("visibility","hidden"),(t=e.hideCircleFocus)==null||t.call(e))},updateGridFocus(){var t;const e=this,{state:{inputType:n,width:a,height:i,resizing:s},$el:{grid:o}}=e,l=o.main.select(`line.${Ke.xgridFocus}`);if(n==="touch")l.empty()?s&&((t=e.showCircleFocus)==null||t.call(e)):e.showGridFocus();else{const c=e.config.axis_rotated;l.attr("x1",c?0:-10).attr("x2",c?a:-10).attr("y1",c?-10:0).attr("y2",c?-10:i)}return!0},generateGridData(t,e){const n=this,a=n.$el.main.select(`.${on.axisX}`).selectAll(".tick").size();let i=[];if(t==="year"){const s=n.getXDomain(),[o,l]=s.map(c=>c.getFullYear());for(let c=o;c<=l;c++)i.push(new Date(`${c}-01-01 00:00:00`))}else i=e.ticks(10),i.length>a&&(i=i.filter(s=>String(s).indexOf(".")<0));return i},getGridFilterToRemove(t){return t?e=>{let n=!1;return(Fe(t)?t.concat():[t]).forEach(a=>{("value"in a&&e.value===a.value||"class"in a&&e.class===a.class)&&(n=!0)}),n}:()=>!0},removeGridLines(t,e){const n=this,{config:a,$T:i}=n,s=n.getGridFilterToRemove(t),o=g=>!s(g),l=e?qe.xgridLines:qe.ygridLines,c=e?qe.xgridLine:qe.ygridLine;i(n.$el.main.select(`.${l}`).selectAll(`.${c}`).filter(s)).style("opacity","0").remove();const u=`grid_${e?"x":"y"}_lines`;a[u]=a[u].filter(o)}},Ny={initRegion(){const t=this,{$el:e}=t;e.region.main=e.main.insert("g",":first-child").attr("clip-path",t.state.clip.path).attr("class",$a.regions)},updateRegion(){const t=this,{config:e,$el:{region:n},$T:a}=t;n.main||t.initRegion(),n.main.style("visibility",t.hasArcType()?"hidden":null);const i=n.main.selectAll(`.${$a.region}`).data(e.regions);a(i.exit()).style("opacity","0").remove();const s=i.enter().append("g");s.append("rect").style("fill-opacity","0"),n.list=s.merge(i).attr("class",t.classRegion.bind(t)),n.list.each(function(o){var l;st(this).select("text").empty()&&((l=o.label)!=null&&l.text)&&st(this).append("text").style("opacity","0")})},redrawRegion(t){const e=this,{$el:{region:n},$T:a}=e;let i=n.list.select("rect"),s=n.list.selectAll("text");return i=a(i,t).attr("x",e.regionX.bind(e)).attr("y",e.regionY.bind(e)).attr("width",e.regionWidth.bind(e)).attr("height",e.regionHeight.bind(e)),s=a(s,t).attr("transform",o=>{var l;const{x:c=0,y:u=0,rotated:g=!1}=(l=o.label)!=null?l:{};return`translate(${e.regionX.bind(e)(o)+c}, ${e.regionY.bind(e)(o)+u})${g?" rotate(-90)":""}`}).attr("text-anchor",o=>{var l;return(l=o.label)!=null&&l.rotated?"end":null}).attr("dy","1em").style("fill",o=>{var l,c;return(c=(l=o.label)==null?void 0:l.color)!=null?c:null}).text(o=>{var l;return(l=o.label)==null?void 0:l.text}),[i.style("fill-opacity",o=>Ie(o.opacity)?o.opacity:null).on("end",function(){st(this.parentNode).selectAll("rect:not([x])").remove()}),s.style("opacity",null)]},getRegionXY(t,e){const n=this,{config:a,scale:i}=n,s=a.axis_rotated,o=t==="x";let l="start",c,u=0;return e.axis==="y"||e.axis==="y2"?(o||(l="end"),(o?s:!s)&&l in e&&(c=i[e.axis],u=c(e[l]))):(o?!s:s)&&l in e&&(c=i.zoom||i.x,u=c(n.axis.isTimeSeries()?Dn.call(n,e[l]):e[l])),u},regionX(t){return this.getRegionXY("x",t)},regionY(t){return this.getRegionXY("y",t)},getRegionSize(t,e){const n=this,{config:a,scale:i,state:s}=n,o=a.axis_rotated,l=t==="width",c=n[l?"regionX":"regionY"](e);let u,g="end",v=s[t];return e.axis==="y"||e.axis==="y2"?(l||(g="start"),(l?o:!o)&&g in e&&(u=i[e.axis],v=u(e[g]))):(l?!o:o)&&g in e&&(u=i.zoom||i.x,v=u(n.axis.isTimeSeries()?Dn.call(n,e[g]):e[g])),v0&&(!i.axis_x_tick_autorotate||a.needToRotateXAxisTickTexts());return(i.axis_x_tick_multiline||M)&&N.height>S&&(I+=N.height-S),I+(a.axis.getLabelPositionById(t).isInner?0:10)+(t==="y2"&&!u?-10:0)},getEventRectWidth(){const t=this,{config:e,axis:n}=t,a=e.axis_x_inverted,i=n.x.tickInterval();return Math.max(0,a?Math.abs(i):i)},getAxisTickRotate(t){const e=this,{axis:n,config:a,state:i,$el:s}=e;let o=a[`axis_${t}_tick_rotate`];if(t==="x"){const l=n.isCategorized()||n.isTimeSeries();if(a.axis_x_tick_fit&&l){const c=a.axis_x_tick_count,u=i.current.maxTickSize.x.ticks.length;let g=0;if(c?g=c>u?u:c:u&&(g=u),g!==i.axis.x.tickCount){const{targets:v}=e.data;i.axis.x.padding=e.getXDomainPadding([e.getXDomainMinMax(v,"min"),e.getXDomainMinMax(v,"max")],g)}i.axis.x.tickCount=g}s.svg&&a.axis_x_tick_autorotate&&a.axis_x_tick_fit&&!a.axis_x_tick_multiline&&!a.axis_x_tick_culling&&l&&(o=e.needToRotateXAxisTickTexts()?a.axis_x_tick_rotate:0)}return o},needToRotateXAxisTickTexts(){const t=this,{state:{axis:e,current:n,isLegendRight:a,legendItemWidth:i}}=t,s=a&&i,o=n.width-s-t.getCurrentPaddingByDirection("left")-t.getCurrentPaddingByDirection("right"),l=e.x.tickCount+e.x.padding.left+e.x.padding.right,{width:c}=t.axis.getMaxTickSize("x"),u=l?o/l:0;return c>u}},By={axis_x_clipPath:!0,axis_x_show:!0,axis_x_forceAsSingle:!1,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_culling_lines:!0,axis_x_tick_count:void 0,axis_x_tick_show:!0,axis_x_tick_text_show:!0,axis_x_tick_text_inner:!1,axis_x_tick_text_position:{x:0,y:0},axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_autorotate:!1,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_tick_tooltip:!1,axis_x_max:void 0,axis_x_min:void 0,axis_x_inverted:!1,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_x_axes:[]},Uy={axis_y_clipPath:!0,axis_y_show:!0,axis_y_type:"indexed",axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:!1,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_culling:!1,axis_y_tick_culling_max:5,axis_y_tick_culling_lines:!0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_show:!0,axis_y_tick_stepSize:null,axis_y_tick_text_show:!0,axis_y_tick_text_position:{x:0,y:0},axis_y_tick_time_value:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y_axes:[]},zy={axis_y2_show:!1,axis_y2_type:"indexed",axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:!1,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_culling:!1,axis_y2_tick_culling_max:5,axis_y2_tick_culling_lines:!0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_rotate:0,axis_y2_tick_count:void 0,axis_y2_tick_show:!0,axis_y2_tick_stepSize:null,axis_y2_tick_text_show:!0,axis_y2_tick_text_position:{x:0,y:0},axis_y2_padding:{},axis_y2_default:void 0,axis_y2_axes:[]},jy=Object.defineProperty,Cu=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,Vy=Object.prototype.propertyIsEnumerable,Pu=(t,e,n)=>e in t?jy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yo=(t,e)=>{for(var n in e||(e={}))Gy.call(e,n)&&Pu(t,n,e[n]);if(Cu)for(var n of Cu(e))Vy.call(e,n)&&Pu(t,n,e[n]);return t},Xy=yo(yo(yo({axis_rotated:!1,axis_tooltip:!1},By),Uy),zy),Yy={grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:void 0,grid_focus_edge:!1,grid_focus_show:!0,grid_focus_y:!1,grid_front:!1,grid_lines_front:!0},Hy={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const Wy=[ay,iy,sy,oy,ly,cy,uy],wu={axis:Ry,clip:wy,eventrect:Iy,flow:Py,grid:Dy,region:Ny,sizeAxis:Fy},Mu={optDataAxis:Hy,optAxis:Xy,optGrid:Yy};var b1=Array.prototype.slice;function xo(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Pe(t){return function(){return t}}function Ky(t,e){return et?1:e>=t?0:NaN}function Zy(t){return t}function ky(){var t=Zy,e=Ky,n=null,a=Pe(0),i=Pe(Ui),s=Pe(0);function o(l){var c,u=(l=xo(l)).length,g,v,m=0,S=new Array(u),I=new Array(u),N=+a.apply(this,arguments),M=Math.min(Ui,Math.max(-Ui,i.apply(this,arguments)-N)),P,G=Math.min(Math.abs(M)/u,s.apply(this,arguments)),H=G*(M<0?-1:1),Y;for(c=0;c0&&(m+=Y);for(e!=null?S.sort(function(_,K){return e(I[_],I[K])}):n!=null&&S.sort(function(_,K){return n(l[_],l[K])}),c=0,v=m?(M-u*H)/m:0;c0?Y*v:0)+H,I[g]={data:l[g],index:c,value:Y,startAngle:N,endAngle:P,padAngle:G};return I}return o.value=function(l){return arguments.length?(t=typeof l=="function"?l:Pe(+l),o):t},o.sortValues=function(l){return arguments.length?(e=l,n=null,o):e},o.sort=function(l){return arguments.length?(n=l,e=null,o):n},o.startAngle=function(l){return arguments.length?(a=typeof l=="function"?l:Pe(+l),o):a},o.endAngle=function(l){return arguments.length?(i=typeof l=="function"?l:Pe(+l),o):i},o.padAngle=function(l){return arguments.length?(s=typeof l=="function"?l:Pe(+l),o):s},o}var Jy=Math.pow;const To=Math.PI,$o=2*To,Br=1e-6,Qy=$o-Br;function Lu(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Lu;const n=Jy(10,e);return function(a){this._+=a[0];for(let i=1,s=a.length;iBr)if(!(Math.abs(v*c-u*g)>Br)||!s)this._append`L${this._x1=e},${this._y1=n}`;else{let S=a-o,I=i-l,N=c*c+u*u,M=S*S+I*I,P=Math.sqrt(N),G=Math.sqrt(m),H=s*Math.tan((To-Math.acos((N+m-M)/(2*P*G)))/2),Y=H/G,_=H/P;Math.abs(Y-1)>Br&&this._append`L${e+Y*g},${n+Y*v}`,this._append`A${s},${s},0,0,${+(v*S>g*I)},${this._x1=e+_*c},${this._y1=n+_*u}`}}arc(e,n,a,i,s,o){if(e=+e,n=+n,a=+a,o=!!o,a<0)throw new Error(`negative radius: ${a}`);let l=a*Math.cos(i),c=a*Math.sin(i),u=e+l,g=n+c,v=1^o,m=o?i-s:s-i;this._x1===null?this._append`M${u},${g}`:(Math.abs(this._x1-u)>Br||Math.abs(this._y1-g)>Br)&&this._append`L${u},${g}`,a&&(m<0&&(m=m%$o+$o),m>Qy?this._append`A${a},${a},0,1,${v},${e-l},${n-c}A${a},${a},0,1,${v},${this._x1=u},${this._y1=g}`:m>Br&&this._append`A${a},${a},0,${+(m>=To)},${v},${this._x1=e+a*Math.cos(s)},${this._y1=n+a*Math.sin(s)}`)}rect(e,n,a,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${a=+a}v${+i}h${-a}Z`}toString(){return this._}}function qy(){return new Hi}qy.prototype=Hi.prototype;function E1(t=3){return new Hi(+t)}function So(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const a=Math.floor(n);if(!(a>=0))throw new RangeError(`invalid digits: ${n}`);e=a}return t},()=>new Hi(e)}function tx(t){return t.innerRadius}function ex(t){return t.outerRadius}function nx(t){return t.startAngle}function rx(t){return t.endAngle}function ax(t){return t&&t.padAngle}function ix(t,e,n,a,i,s,o,l){var c=n-t,u=a-e,g=o-i,v=l-s,m=v*c-g*u;if(!(m*mk*k+Et*Et&&($t=vt,At=gt),{cx:$t,cy:At,x01:-g,y01:-v,x11:$t*(i/_-1),y11:At*(i/_-1)}}function Du(){var t=tx,e=ex,n=Pe(0),a=null,i=nx,s=rx,o=ax,l=null,c=So(u);function u(){var g,v,m=+t.apply(this,arguments),S=+e.apply(this,arguments),I=i.apply(this,arguments)-Bi,N=s.apply(this,arguments)-Bi,M=Vc(N-I),P=N>I;if(l||(l=g=c()),STn))l.moveTo(0,0);else if(M>Ui-Tn)l.moveTo(S*Nr(I),S*Qn(I)),l.arc(0,0,S,I,N,!P),m>Tn&&(l.moveTo(m*Nr(N),m*Qn(N)),l.arc(0,0,m,N,I,P));else{var G=I,H=N,Y=I,_=N,K=M,at=M,$t=o.apply(this,arguments)/2,At=$t>Tn&&(a?+a.apply(this,arguments):ra(m*m+S*S)),vt=lo(Vc(S-m)/2,+n.apply(this,arguments)),gt=vt,Ft=vt,pt,k;if(At>Tn){var Et=Xc(At/m*Qn($t)),ut=Xc(At/S*Qn($t));(K-=Et*2)>Tn?(Et*=P?1:-1,Y+=Et,_-=Et):(K=0,Y=_=(I+N)/2),(at-=ut*2)>Tn?(ut*=P?1:-1,G+=ut,H-=ut):(at=0,G=H=(I+N)/2)}var Rt=S*Nr(G),jt=S*Qn(G),zt=m*Nr(_),Wt=m*Qn(_);if(vt>Tn){var Ht=S*Nr(H),ee=S*Qn(H),je=m*Nr(Y),Oe=m*Qn(Y),Ge;if(MTn?Ft>Tn?(pt=Wi(je,Oe,Rt,jt,S,Ft,P),k=Wi(Ht,ee,zt,Wt,S,Ft,P),l.moveTo(pt.cx+pt.x01,pt.cy+pt.y01),FtTn)||!(K>Tn)?l.lineTo(zt,Wt):gt>Tn?(pt=Wi(zt,Wt,Ht,ee,m,-gt,P),k=Wi(Rt,jt,je,Oe,m,-gt,P),l.lineTo(pt.cx+pt.x01,pt.cy+pt.y01),gte in t?sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,fx=(t,e)=>{for(var n in e||(e={}))cx.call(e,n)&&Fu(t,n,e[n]);if(Nu)for(var n of Nu(e))ux.call(e,n)&&Fu(t,n,e[n]);return t},dx=(t,e)=>ox(t,lx(e));function Bu(t=0){const e=this,{config:n,state:a}=e,i=e.hasMultiArcGauge(),s=a.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length,o=t?Math.min(a.radiusExpanded*t-a.radius,s*.8-(1-t)*100):0;return{inner(l){const{innerRadius:c}=e.getRadius(l);return i?a.radius-s*(l.index+1):fe(c)?c:0},outer(l){const{outerRadius:c}=e.getRadius(l);let u;if(i)u=a.radius-s*l.index+o;else if(e.hasType("polar")&&!t)u=e.getPolarOuterRadius(l,c);else if(u=c,t){let{radiusExpanded:g}=a;a.radius!==c&&(g-=Math.abs(a.radius-c)),u=g*t}return u},corner(l,c){const{arc_cornerRadius_ratio:u=0,arc_cornerRadius:g=0}=n,{data:{id:v},value:m}=l;let S=0;return u?S=u*c:S=fe(g)?g:g.call(e.api,v,m,c),S}}}function Ao(t){return function(e){const n=({startAngle:i=0,endAngle:s=0,padAngle:o=0})=>({startAngle:i,endAngle:s,padAngle:o}),a=Kr(n(this._current),n(e));return this._current=e,function(i){const s=a(i),{data:o,index:l,value:c}=e;return t(dx(fx({},s),{data:o,index:l,value:c}))}}}var hx={initPie(){const t=this,{config:e}=t,n=e.data_type,a=e[`${n}_padding`],i=e[`${n}_startingAngle`]||0,s=(a?a*.01:e[`${n}_padAngle`])||0;t.pie=ky().startAngle(i).endAngle(i+2*Math.PI).padAngle(s).value(o=>{var l,c;return(c=(l=o.values)==null?void 0:l.reduce((u,g)=>u+g.value,0))!=null?c:o}).sort(t.getSortCompareFn.bind(t)(!0))},updateRadius(){const t=this,{config:e,state:n}=t,a=e.data_type,i=e[`${a}_padding`],s=e.gauge_width||e.donut_width,o=t.filterTargetsToShow(t.data.targets).length*e.gauge_arcs_minWidth;n.radiusExpanded=Math.min(n.arcWidth,n.arcHeight)/2*(t.hasMultiArcGauge()&&e.gauge_label_show?.85:1),n.radius=n.radiusExpanded*.95,n.innerRadiusRatio=s?(n.radius-s)/n.radius:.6,n.gaugeArcWidth=s||(o<=n.radius-n.innerRadius?n.radius-n.innerRadius:o<=n.radius?o:n.radius);const l=e.pie_innerRadius||(i?i*(n.innerRadiusRatio+.1):0);n.outerRadius=e.pie_outerRadius,n.innerRadius=t.hasType("donut")||t.hasType("gauge")?n.radius*n.innerRadiusRatio:l},getRadius(t){const e=this,n=t==null?void 0:t.data;let{innerRadius:a,outerRadius:i}=e.state;return!fe(a)&&n&&(a=a[n.id]||0),De(i)&&n&&n.id in i?i=i[n.id]:fe(i)||(i=e.state.radius),{innerRadius:a,outerRadius:i}},updateArc(){const t=this;t.updateRadius(),t.svgArc=t.getSvgArc(),t.svgArcExpanded=t.getSvgArcExpanded()},getArcLength(){const t=this,{config:e}=t,n=e.gauge_arcLength*3.6;let a=2*(n/360);return n<-360?a=-2:n>360&&(a=2),a*Math.PI},getStartingAngle(){const t=this,{config:e}=t,n=e.data_type,a=t.hasType("gauge")?e.gauge_fullCircle:!1,i=-1*Math.PI/2,s=Math.PI/2;let o=e[`${n}_startingAngle`]||0;return!a&&o<=i?o=i:!a&&o>=s?o=s:(o>Math.PI||o<-1*Math.PI)&&(o=Math.PI),o},updateAngle(t,e=!1){var n;const a=this,{config:i,state:s}=a,o=e&&a.hasType("gauge");let{pie:l}=a,c=t,u=!1;if(!i)return null;const g=a.getStartingAngle(),v=i.gauge_fullCircle||e&&!o?a.getArcLength():g*-2;if(c.data&&a.isGaugeType(c.data)&&!a.hasMultiArcGauge()){const{gauge_min:m,gauge_max:S}=i,I=a.getTotalDataSum(s.rendered),N=v*((I-m)/(S-m));l=l.startAngle(g).endAngle(N+g)}if(e===!1&&l(a.filterTargetsToShow()).forEach((m,S)=>{var I;!u&&m.data.id===((I=c.data)==null?void 0:I.id)&&(u=!0,c=m,c.index=S)}),isNaN(c.startAngle)&&(c.startAngle=0),isNaN(c.endAngle)&&(c.endAngle=c.startAngle),e||c.data&&(i.gauge_enforceMinMax||a.hasMultiArcGauge())){const{gauge_min:m,gauge_max:S}=i,I=e&&!o?a.getTotalDataSum(s.rendered):S,N=v/(I-m),M=(n=c.value)!=null?n:0,P=M{const l=e.updateAngle(o),c=a(l);let u=0;return l&&(u=i(l,c)),l?s.cornerRadius(u)(l):"M 0 0"}},getArc(t,e,n){return n||this.isArcType(t.data)?this.svgArc(t,e):"M 0 0"},redrawArcRangeText(){const t=this,{config:e,$el:{arcs:n},state:a,$T:i}=t,s=e.arc_rangeText_format,o=t.hasType("gauge")&&e.arc_rangeText_fixed;let l=e.arc_rangeText_values;if(l!=null&&l.length){const c=e.arc_rangeText_unit==="%",u=t.getTotalDataSum(a.rendered);c&&(l=l.map(m=>u/100*m));const g=t.pie(l).map((m,S)=>(m.index=S,m));let v=n.selectAll(`.${Be.arcRange}`).data(l);v.exit(),v=i(v.enter().append("text").attr("class",Be.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text(m=>{const S=c?m/u*100:m;return de(s)?s(S):`${S}${c?"%":""}`}).merge(v)),(!a.rendered||a.rendered&&!o)&&u>0&&v.attr("transform",(m,S)=>t.transformForArcLabel(g[S],!0)),v.style("opacity",m=>!o&&(m>u||u===0)?"0":null)}},transformForArcLabel(t,e=!1){var n,a,i;const s=this,{config:o,state:{radiusExpanded:l}}=s,c=s.updateAngle(t,e);let u="";if(c){if(e||s.hasMultiArcGauge()){const g=Math.sin(c.endAngle-Math.PI/2),v=o.arc_rangeText_position;let m=Math.cos(c.endAngle-Math.PI/2)*(l+(e?5:25)),S=g*(l+15-Math.abs(g*10))+3;if(e&&v){const I=o.arc_rangeText_values,N=de(v)?v(I[t.index]):v;m+=(n=N==null?void 0:N.x)!=null?n:0,S+=(a=N==null?void 0:N.y)!=null?a:0}u=`translate(${m},${S})`}else if(!s.hasType("gauge")||s.data.targets.length>1){let{outerRadius:g}=s.getRadius(t);s.hasType("polar")&&(g=s.getPolarOuterRadius(t,g));const v=this.svgArc.centroid(c),[m,S]=v.map(M=>isNaN(M)?0:M),I=Math.sqrt(m*m+S*S);let N=(i=["donut","gauge","pie","polar"].filter(s.hasType.bind(s)).map(M=>o[`${M}_label_ratio`]))==null?void 0:i[0];N?N=de(N)?N.bind(s.api)(t,g,I):N:N=g&&(I?(36/g>.375?1.175-36/g:.8)*g/I:0),u=`translate(${m*N},${S*N})`}}return u},convertToArcData(t){return this.addName({id:"data"in t?t.data.id:t.id,value:t.value,ratio:this.getRatio("arc",t),index:t.index})},textForArcLabel(t){const e=this,n=e.hasType("gauge");e.shouldShowArcLabel()&&t.style("fill",e.updateTextColor.bind(e)).attr("filter",a=>e.updateTextBGColor.bind(e)(a,e.config.data_labels_backgroundColors)).each(function(a){var i;const s=st(this),o=e.updateAngle(a),l=e.getRatio("arc",o);if(e.meetsLabelThreshold(l,(i=["donut","gauge","pie","polar"].filter(e.hasType.bind(e)))==null?void 0:i[0])){const{value:u}=o||a,g=(e.getArcLabelFormat()||e.defaultArcValueFormat)(u,l,a.data.id).toString();wa(s,g,[-1,1],n)}else s.text("")})},expandArc(t){const e=this,{state:{transiting:n},$el:a}=e;if(n){const s=setInterval(()=>{n||(clearInterval(s),a.legend.selectAll(`.${Ke.legendItemFocused}`).size()>0&&e.expandArc(t))},10);return}const i=e.mapToTargetIds(t);a.svg.selectAll(e.selectorTargets(i,`.${Be.chartArc}`)).each(function(s){if(!e.shouldExpand(s.data.id))return;const o=e.getExpandConfig(s.data.id,"duration"),l=e.getSvgArcExpanded(e.getExpandConfig(s.data.id,"rate"));st(this).selectAll("path").transition().duration(o).attrTween("d",Ao(e.svgArcExpanded.bind(e))).transition().duration(o*2).attrTween("d",Ao(l.bind(e)))})},unexpandArc(t){const e=this,{state:{transiting:n},$el:{svg:a}}=e;if(n)return;const i=e.mapToTargetIds(t);a.selectAll(e.selectorTargets(i,`.${Be.chartArc}`)).selectAll("path").transition().duration(s=>e.getExpandConfig(s.data.id,"duration")).attrTween("d",Ao(e.svgArc.bind(e))),a.selectAll(`${Be.arc}`).style("opacity",null)},getExpandConfig(t,e){const n=this,{config:a}=n,i={duration:50,rate:.98};let s;return n.isDonutType(t)?s="donut":n.isGaugeType(t)?s="gauge":n.isPieType(t)&&(s="pie"),s?a[`${s}_expand_${e}`]:i[e]},shouldExpand(t){const e=this,{config:n}=e;return e.isDonutType(t)&&n.donut_expand||e.isGaugeType(t)&&n.gauge_expand||e.isPieType(t)&&n.pie_expand},shouldShowArcLabel(){const t=this,{config:e}=t;return["donut","gauge","pie","polar"].some(n=>t.hasType(n)&&e[`${n}_label_show`])},getArcLabelFormat(){const t=this,{config:e}=t;let n=a=>a;return["donut","gauge","pie","polar"].filter(t.hasType.bind(t)).forEach(a=>{n=e[`${a}_label_format`]}),de(n)?n.bind(t.api):n},updateTargetsForArc(t){const e=this,{$el:n}=e,a=e.hasType("gauge"),i=e.getChartClass("Arc"),s=e.getClass("arcs",!0),o=e.classFocus.bind(e),l=n.main.select(`.${Be.chartArcs}`),c=l.selectAll(`.${Be.chartArc}`).data(e.pie(t)).attr("class",g=>i(g)+o(g.data)),u=c.enter().append("g").attr("class",i).call(this.setCssRule(!1,`.${Be.chartArcs} text`,["pointer-events:none","text-anchor:middle"]));u.append("g").attr("class",s).merge(c),u.append("text").attr("dy",a&&!e.hasMultiTargets()?"-.1em":".35em").style("opacity","0").style("text-anchor",e.getStylePropValue("middle")).style("pointer-events",e.getStylePropValue("none")),n.text=l.selectAll(`.${Se.target} text`)},initArc(){const t=this,{$el:e}=t;e.arcs=e.main.select(`.${Se.chart}`).append("g").attr("class",Be.chartArcs).attr("transform",t.getTranslate("arc")),t.setArcTitle()},setArcTitle(t){const e=this,n=t||e.getArcTitle(),a=e.hasType("gauge");if(n){const i=a?Ln.chartArcsGaugeTitle:Be.chartArcsTitle;let s=e.$el.arcs.select(`.${i}`);s.empty()&&(s=e.$el.arcs.append("text").attr("class",i).style("text-anchor","middle")),a&&s.attr("dy","-0.3em"),wa(s,n,a?void 0:[-.6,1.35],!0)}},getArcTitle(){const t=this,e=t.hasType("donut")&&"donut"||t.hasType("gauge")&&"gauge";return e?t.config[`${e}_title`]:""},getArcTitleWithNeedleValue(){const t=this,{config:e,state:n}=t,a=t.getArcTitle();if(a&&t.config.arc_needle_show&&/{=[A-Z_]+}/.test(a)){let i=n.current.needle;return fe(i)||(i=e.arc_needle_value),bi(a,{NEEDLE_VALUE:fe(i)?i:0})}return!1},redrawArc(t,e,n){const a=this,{config:i,state:s,$el:{main:o}}=a,l=i.interaction_enabled,c=l&&i.data_selection_isselectable;let u=o.selectAll(`.${Be.arcs}`).selectAll(`.${Be.arc}`).data(a.arcData.bind(a));u.exit().transition().duration(e).style("opacity","0").remove(),u=u.enter().append("path").attr("class",a.getClass("arc",!0)).style("fill",g=>a.color(g.data)).style("cursor",g=>{var v;return(v=c==null?void 0:c.bind)!=null&&v.call(c,a.api)(g)?"pointer":null}).style("opacity","0").each(function(g){a.isGaugeType(g.data)&&(g.startAngle=i.gauge_startingAngle,g.endAngle=i.gauge_startingAngle),this._current=g}).merge(u),a.hasType("gauge")&&(a.updateGaugeMax(),a.hasMultiArcGauge()&&a.redrawArcGaugeLine()),u.attr("transform",g=>!a.isGaugeType(g.data)&&n?"scale(0)":"").style("opacity",function(g){return g===this._current?"0":null}).each(()=>{s.transiting=!0}).transition().duration(t).attrTween("d",function(g){const v=a.updateAngle(g);if(!v)return()=>"M 0 0";isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle);const m=Kr(this._current,v);return this._current=m(0),function(S){const I=m(S);return I.data=g.data,a.getArc(I,!0)}}).attr("transform",n?"scale(1)":"").style("fill",g=>{let v;return a.levelColor?(v=a.levelColor(g.data.values[0].value),i.data_colors[g.data.id]=v):v=a.color(g.data),v}).style("opacity",null).call($i,function(){if(a.levelColor){const g=st(this),v=g.datum(this._current);a.updateLegendItemColor(v.data.id,g.style("fill"))}s.transiting=!1,Ze(i.onrendered,a.api)}),l&&a.bindArcEvent(u),a.hasType("polar")&&a.redrawPolar(),a.hasType("gauge")&&a.redrawBackgroundArcs(),i.arc_needle_show&&a.redrawNeedle(),a.redrawArcText(t),a.redrawArcRangeText()},redrawNeedle(){const t=this,{$el:e,config:n,state:{hiddenTargetIds:a,radius:i}}=t,s=(i-1)/100*n.arc_needle_length,o=a.length!==t.data.targets.length;let l=t.$el.arcs.select(`.${Be.needle}`);const c=n.arc_needle_path,u=n.arc_needle_bottom_width/2,g=n.arc_needle_top_width/2,v=n.arc_needle_top_rx,m=n.arc_needle_top_ry,S=n.arc_needle_bottom_len,I=n.arc_needle_bottom_rx,N=n.arc_needle_bottom_ry,M=t.getNeedleAngle(),P=()=>{const G=t.getArcTitleWithNeedleValue();G&&t.setArcTitle(G)};if(P(),l.empty()&&(l=e.arcs.append("path").classed(Be.needle,!0),e.needle=l,e.needle.updateHelper=(G,H=!1)=>{e.needle.style("display")!=="none"&&t.$T(e.needle).style("transform",`rotate(${t.getNeedleAngle(G)}deg)`).call($i,()=>{H&&(n.arc_needle_value=G),P()})}),o){const G=de(c)?c.call(t,s):`M-${u} ${S} A${I} ${N} 0 0 0 ${u} ${S} L${g} -${s} A${v} ${m} 0 0 0 -${g} -${s} L-${u} ${S} Z`;t.$T(l).attr("d",G).style("fill",n.arc_needle_color).style("display",null).style("transform",`rotate(${M}deg)`)}else l.style("display","none")},getNeedleAngle(t){const e=this,{config:n,state:a}=e,i=e.getArcLength(),s=e.hasType("gauge"),o=e.getTotalDataSum(!0);let l=Ye(t)?t:n.arc_needle_value,c=n[`${n.data_type}_startingAngle`]||0,u=0;if(fe(l)||(l=s&&e.data.targets.length===1?o:0),a.current.needle=l,s){c=e.getStartingAngle();const g=n.gauge_fullCircle?i:c*-2,{gauge_min:v,gauge_max:m}=n;u=g*((l-v)/(m-v))}else u=i*(l/o);return(c+u)*(180/Math.PI)},redrawBackgroundArcs(){const t=this,{config:e,state:n}=t,a=t.hasMultiArcGauge(),i=e.gauge_fullCircle,s=t.filterTargetsToShow(t.data.targets).length===0&&!!e.data_empty_label_text,o=t.getStartingAngle(),l=i?o+t.getArcLength():o*-1;let c=t.$el.arcs.select(`${a?"g":""}.${Be.chartArcsBackground}`);if(a){let u=0;c=c.selectAll(`path.${Be.chartArcsBackground}`).data(t.data.targets),c.enter().append("path").attr("class",(g,v)=>`${Be.chartArcsBackground} ${Be.chartArcsBackground}-${v}`).merge(c).style("fill",e.gauge_background||null).attr("d",({id:g})=>{if(s||n.hiddenTargetIds.indexOf(g)>=0)return"M 0 0";const v={data:[{value:e.gauge_max}],startAngle:o,endAngle:l,index:u++};return t.getArc(v,!0,!0)}),c.exit().remove()}else c.attr("d",s?"M 0 0":()=>{const u={data:[{value:e.gauge_max}],startAngle:o,endAngle:l};return t.getArc(u,!0,!0)})},bindArcEvent(t){const e=this,{config:n,state:a}=e,i=a.inputType==="touch",s=a.inputType==="mouse";function o(c,u,g){e.expandArc(g),e.api.focus(g),e.toggleFocusLegend(g,!0),e.showTooltip([u],c)}function l(c){const u=(c==null?void 0:c.id)||void 0;e.unexpandArc(u),e.api.revert(),e.revertLegend(),e.hideTooltip()}if(t.on("click",function(c,u,g){var v;const m=e.updateAngle(u);let S;m&&(S=e.convertToArcData(m),(v=e.toggleShape)==null||v.call(e,this,S,g),n.data_onclick.bind(e.api)(S,this))}),s&&t.on("mouseover",function(c,u){if(a.transiting)return;a.event=c;const g=e.updateAngle(u),v=g?e.convertToArcData(g):null,m=(v==null?void 0:v.id)||void 0;o(this,v,m),e.setOverOut(!0,v)}).on("mouseout",(c,u)=>{if(a.transiting)return;a.event=c;const g=e.updateAngle(u),v=g?e.convertToArcData(g):null;l(),e.setOverOut(!1,v)}).on("mousemove",function(c,u){const g=e.updateAngle(u),v=g?e.convertToArcData(g):null;a.event=c,e.showTooltip([v],this)}),i&&e.hasArcType()&&!e.radars){const c=u=>{var g,v;const{clientX:m,clientY:S}=(v=(g=u.changedTouches)==null?void 0:g[0])!=null?v:{clientX:0,clientY:0};return st(fn.elementFromPoint(m,S))};e.$el.svg.on("touchstart touchmove",function(u){if(a.transiting)return;a.event=u;const v=c(u).datum(),m=v!=null&&v.data&&v.data.id?e.updateAngle(v):null,S=m?e.convertToArcData(m):null,I=(S==null?void 0:S.id)||void 0;e.callOverOutForTouch(S),en(I)?l():o(this,S,I)})}},redrawArcText(t){const e=this,{config:n,state:a,$el:{main:i,arcs:s}}=e,o=e.hasType("gauge"),l=e.hasMultiArcGauge();let c;if(o&&e.data.targets.length===1&&n.gauge_title||(c=i.selectAll(`.${Be.chartArc}`).select("text").style("opacity","0").attr("class",u=>e.isGaugeType(u.data)?Ln.gaugeValue:null).call(e.textForArcLabel.bind(e)).attr("transform",u=>e.transformForArcLabel.bind(e)(u)).style("font-size",u=>e.isGaugeType(u.data)&&e.data.targets.length===1&&!l?`${Math.round(a.radius/5)}px`:null).transition().duration(t).style("opacity",u=>e.isTargetToShow(u.data.id)&&e.isArcType(u.data)?null:"0"),l&&c.attr("dy","-.1em")),i.select(`.${Be.chartArcsTitle}`).style("opacity",e.hasType("donut")||o?null:"0"),o){const u=n.gauge_fullCircle;u&&(c==null||c.attr("dy",`${l?0:Math.round(a.radius/14)}`)),n.gauge_label_show&&(s.select(`.${Ln.chartArcsGaugeUnit}`).attr("dy",`${u?1.5:.75}em`).text(n.gauge_units),s.select(`.${Ln.chartArcsGaugeMin}`).attr("dx",`${-1*(a.innerRadius+(a.radius-a.innerRadius)/(u?1:2))}px`).attr("dy","1.2em").text(e.textForGaugeMinMax(n.gauge_min,!1)),!u&&s.select(`.${Ln.chartArcsGaugeMax}`).attr("dx",`${a.innerRadius+(a.radius-a.innerRadius)/2}px`).attr("dy","1.2em").text(e.textForGaugeMinMax(n.gauge_max,!0)))}},getArcElementByIdOrIndex(t){const e=this,{$el:{arcs:n}}=e,a=fe(t)?i=>i.index===t:i=>i.data.id===t;return n==null?void 0:n.selectAll(`.${Se.target} path`).filter(a)}};function Uu(t){return t[0]}function zu(t){return t[1]}function ju(t,e){var n=Pe(!0),a=null,i=fo,s=null,o=So(l);t=typeof t=="function"?t:t===void 0?Uu:Pe(t),e=typeof e=="function"?e:e===void 0?zu:Pe(e);function l(c){var u,g=(c=xo(c)).length,v,m=!1,S;for(a==null&&(s=i(S=o())),u=0;u<=g;++u)!(u=S;--I)l.point(H[I],Y[I]);l.lineEnd(),l.areaEnd()}P&&(H[m]=+t(M,m,v),Y[m]=+e(M,m,v),l.point(a?+a(M,m,v):H[m],n?+n(M,m,v):Y[m]))}if(G)return l=null,G+""||null}function g(){return ju().defined(i).curve(o).context(s)}return u.x=function(v){return arguments.length?(t=typeof v=="function"?v:Pe(+v),a=null,u):t},u.x0=function(v){return arguments.length?(t=typeof v=="function"?v:Pe(+v),u):t},u.x1=function(v){return arguments.length?(a=v==null?null:typeof v=="function"?v:Pe(+v),u):a},u.y=function(v){return arguments.length?(e=typeof v=="function"?v:Pe(+v),n=null,u):e},u.y0=function(v){return arguments.length?(e=typeof v=="function"?v:Pe(+v),u):e},u.y1=function(v){return arguments.length?(n=v==null?null:typeof v=="function"?v:Pe(+v),u):n},u.lineX0=u.lineY0=function(){return g().x(t).y(e)},u.lineY1=function(){return g().x(t).y(n)},u.lineX1=function(){return g().x(a).y(e)},u.defined=function(v){return arguments.length?(i=typeof v=="function"?v:Pe(!!v),u):i},u.curve=function(v){return arguments.length?(o=v,s!=null&&(l=o(s)),u):o},u.context=function(v){return arguments.length?(v==null?s=l=null:l=o(s=v),u):s},u}var aa={initArea(t){const e=this,{config:n}=e;t.insert("g",`.${n.area_front?pn.circles:ar.lines}`).attr("class",e.getClass("areas",!0))},updateAreaColor(t){const e=this;return e.config.area_linearGradient?e.getGradienColortUrl(t.id):e.color(t)},updateArea(t,e=!1){const n=this,{config:a,state:i,$el:s,$T:o}=n,l=e?s.subchart:s;a.area_linearGradient&&n.updateLinearGradient();const c=l.main.selectAll(`.${qa.areas}`).selectAll(`.${qa.area}`).data(n.lineData.bind(n));o(c.exit(),t).style("opacity","0").remove(),l.area=c.enter().append("path").attr("class",n.getClass("area",!0)).style("fill",n.updateAreaColor.bind(n)).style("opacity",function(){return i.orgAreaOpacity=st(this).style("opacity"),"0"}).merge(c),c.style("opacity",i.orgAreaOpacity),n.setRatioForGroupedData(l.area.data())},redrawArea(t,e,n=!1){const a=this,{area:i}=n?this.$el.subchart:this.$el,{orgAreaOpacity:s}=a.state;return[a.$T(i,e,lr()).attr("d",t).style("fill",a.updateAreaColor.bind(a)).style("opacity",o=>String(a.isAreaRangeType(o)?s/1.75:s))]},generateDrawArea(t,e){const n=this,{config:a}=n,i=a.line_connectNull,s=a.axis_rotated,o=n.generateGetAreaPoints(t,e),l=n.getYScaleById.bind(n),c=v=>(e?n.subxx:n.xx).call(n,v),u=(v,m)=>n.isGrouped(v.id)?o(v,m)[0][1]:l(v.id,e)(n.isAreaRangeType(v)?n.getRangedData(v,"high"):n.getShapeYMin(v.id)),g=(v,m)=>n.isGrouped(v.id)?o(v,m)[1][1]:l(v.id,e)(n.isAreaRangeType(v)?n.getRangedData(v,"low"):v.value);return v=>{let m=i?n.filterRemoveNull(v.values):v.values,S=0,I=0,N;if(n.isAreaType(v)){let M=gx();M=s?M.y(c).x0(u).x1(g):M.x(c).y0(a.area_above?0:a.area_below?n.state.height:u).y1(g),i||(M=M.defined(P=>n.getBaseValue(P)!==null)),n.isStepType(v)&&(m=n.convertValuesToStep(m)),N=M.curve(n.getCurve(v))(m)}else m[0]&&(S=n.scale.x(m[0].x),I=n.getYScaleById(v.id)(m[0].value)),N=s?`M ${I} ${S}`:`M ${S} ${I}`;return N||"M 0 0"}},generateGetAreaPoints(t,e){const n=this,{config:a}=n,i=n.getShapeX(0,t,e),s=n.getShapeY(!!e),o=n.getShapeOffset(n.isAreaType,t,e),l=n.getYScaleById.bind(n);return function(c,u){const g=l.call(n,c.id,e)(n.getShapeYMin(c.id)),v=o(c,u)||g,m=i(c),S=c.value;let I=s(c);return a.axis_rotated&&(S>0&&Ig.values.some(v=>fe(v.value)||e.isBarRangeType(v)))).attr("class",g=>i(g)+o(g)).enter().append("g").attr("class",i).style("opacity","0").style("pointer-events",e.getStylePropValue("none")).append("g").attr("class",s).style("cursor",g=>{var v;return(v=l==null?void 0:l.bind)!=null&&v.call(l,e.api)(g)?"pointer":null}).call(e.setCssRule(!0,` .${Gn.bar}`,["fill"],e.color))},updateBar(t,e=!1){const n=this,{config:a,$el:i,$T:s}=n,o=e?i.subchart:i,l=n.getClass("bar",!0),c=n.initialOpacity.bind(n);a.bar_linearGradient&&n.updateLinearGradient();const u=o.main.selectAll(`.${Gn.bars}`).selectAll(`.${Gn.bar}`).data(n.labelishData.bind(n));s(u.exit(),t).style("opacity","0").remove(),o.bar=u.enter().append("path").attr("class",l).style("fill",n.updateBarColor.bind(n)).merge(u).style("opacity",c),n.setRatioForGroupedData(o.bar.data())},updateBarColor(t){const e=this,n=e.getStylePropValue(e.color);return e.config.bar_linearGradient?e.getGradienColortUrl(t.id):n?n(t):null},redrawBar(t,e,n=!1){const a=this,{bar:i}=n?a.$el.subchart:a.$el;return[a.$T(i,e,lr()).attr("d",s=>(fe(s.value)||a.isBarRangeType(s))&&t(s)).style("fill",a.updateBarColor.bind(a)).style("opacity",null)]},generateDrawBar(t,e){const n=this,{config:a}=n,i=n.generateGetBarPoints(t,e),s=a.axis_rotated,o=a.bar_radius,l=a.bar_radius_ratio,c=fe(o)&&o>0?()=>o:fe(l)?u=>u*l:null;return(u,g)=>{const v=i(u,g),m=+s,S=+!m,I=u.value<0,N=a[`axis_${n.axis.getId(u.id)}_inverted`],M=!N&&I||N&&!I,P=["",""];let G=0;const H=n.isGrouped(u.id),Y=c&&H?n.isStackingRadiusData(u):!1;if(c){const K=s?S:m,at=v[2][K]-v[0][K];G=!H||Y?c(at):0;const $t=`a${G},${G} ${M?"1 0 0":"0 0 1"} `;P[+!s]=`${$t}${G},${G}`,P[+s]=`${$t}${[-G,G][s?"sort":"reverse"]()}`,M&&P.reverse()}const _=s?`H${v[1][m]+(M?G:-G)} ${P[0]}V${v[2][S]-G} ${P[1]}H${v[3][m]}`:`V${v[1][S]+(M?-G:G)} ${P[0]}H${v[2][m]-G} ${P[1]}V${v[3][S]}`;return`M${v[0][m]},${v[0][S]}${_}z`}},isStackingRadiusData(t){const e=this,{$el:n,config:a,data:i,state:s}=e,{id:o,index:l,value:c}=t;if(s.hiddenTargetIds.indexOf(o)>-1){const m=n.bar.filter(S=>S.id===o&&S.value===c);return!m.empty()&&/a\d+/i.test(m.attr("d"))}const u=a.data_groups.find(m=>m.indexOf(o)>-1),v=e.orderTargets(e.filterTargetsToShow(i.targets.filter(e.isBarType,e))).filter(m=>u.indexOf(m.id)>-1).map(m=>m.values.filter(S=>S.index===l&&(fe(c)&&c>0?S.value>0:S.value<0))[0]).filter(Boolean).map(m=>m.id);return c!==0&&v.indexOf(o)===v.length-1},generateGetBarPoints(t,e){const n=this,{config:a}=n,i=e?n.axis.subX:n.axis.x,s=n.getIndicesMax(t)+1,o=n.getBarW("bar",i,s),l=n.getShapeX(o,t,!!e),c=n.getShapeY(!!e),u=n.getShapeOffset(n.isBarType,t,!!e),g=n.getYScaleById.bind(n);return(v,m)=>{const{id:S}=v,I=g.call(n,S,e)(n.getShapeYMin(S)),N=u(v,m)||I,M=fe(o)?o:o[v.id]||o._$width,P=a[`axis_${n.axis.getId(S)}_inverted`],G=v.value,H=l(v);let Y=c(v);a.axis_rotated&&!P&&(G>0&&Ye.isBubbleZType(o)?e.getBubbleZData(o.value,"y"):De(o.value)?o.value.mid:o.value)),i=n*n*Math.PI,s=(e.isBubbleZType(t)?e.getBubbleZData(t.value,"z"):t.value)*(i/a);return Math.sqrt(s/Math.PI)},getBubbleZData(t,e){return De(t)?t[e]:t[e==="y"?0:1]}},mx=Object.defineProperty,Gu=Object.getOwnPropertySymbols,yx=Object.prototype.hasOwnProperty,xx=Object.prototype.propertyIsEnumerable,Vu=(t,e,n)=>e in t?mx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Tx=(t,e)=>{for(var n in e||(e={}))yx.call(e,n)&&Vu(t,n,e[n]);if(Gu)for(var n of Gu(e))xx.call(e,n)&&Vu(t,n,e[n]);return t},$x={initCandlestick(){const{$el:t}=this;t.candlestick=t.main.select(`.${Se.chart}`).append("g").attr("class",rr.chartCandlesticks)},updateTargetsForCandlestick(t){const e=this,{$el:n}=e,a=e.getChartClass("Candlestick");n.candlestick||e.initCandlestick(),e.$el.main.select(`.${rr.chartCandlesticks}`).selectAll(`.${rr.chartCandlestick}`).data(t).enter().append("g").attr("class",a).style("pointer-events","none")},updateCandlestick(t,e=!1){const n=this,{$el:a,$T:i}=n,s=e?a.subchart:a,o=n.getClass("candlestick",!0),l=n.initialOpacity.bind(n),c=s.main.selectAll(`.${rr.chartCandlestick}`).selectAll(`.${rr.candlestick}`).data(n.labelishData.bind(n));i(c.exit(),t).style("opacity","0").remove();const u=c.enter().filter(g=>g.value).append("g").attr("class",o);u.append("line"),u.append("path"),s.candlestick=c.merge(u).style("opacity",l)},generateDrawCandlestick(t,e){const n=this,{config:a}=n,i=n.generateGetCandlestickPoints(t,e),s=a.axis_rotated,o=a.candlestick_color_down;return(l,c,u)=>{const g=i(l,c),v=n.getCandlestickData(l),m=v==null?void 0:v._isUp,S=+s,I=+!S;u.classed&&u.classed(rr[m?"valueUp":"valueDown"],!0);const N=s?`H${g[1][1]} V${g[1][0]} H${g[0][1]}`:`V${g[1][1]} H${g[1][0]} V${g[0][1]}`;u.select("path").attr("d",`M${g[0][S]},${g[0][I]}${N}z`).style("fill",G=>(m?n.color(G):De(o)?o[G.id]:o)||n.color(G));const M=u.select("line"),P=s?{x1:g[2][1],x2:g[2][2],y1:g[2][0],y2:g[2][0]}:{x1:g[2][0],x2:g[2][0],y1:g[2][1],y2:g[2][2]};for(const G in P)M.attr(G,P[G])}},generateGetCandlestickPoints(t,e=!1){const n=this,a=e?n.axis.subX:n.axis.x,i=n.getIndicesMax(t)+1,s=n.getBarW("candlestick",a,i),o=n.getShapeX(s,t,!!e),l=n.getShapeY(!!e),c=n.getShapeOffset(n.isBarType,t,!!e),u=n.getYScaleById.bind(n);return(g,v)=>{const m=u.call(n,g.id,e)(n.getShapeYMin(g.id)),S=c(g,v)||m,I=fe(s)?s:s[g.id]||s._$width,N=n.getCandlestickData(g);let M;if(N&&fe(N.open)&&fe(N.close)){const P={start:o(g),end:0};P.end=P.start+I;const G={start:l(N.open),end:l(N.close)},H={x:P.start+I/2,high:l(N.high),low:l(N.low)};G.start-=m-S,M=[[P.start,G.start],[P.end,G.end],[H.x,H.low,H.high]]}else M=[[0,0],[0,0],[0,0,0]];return M}},redrawCandlestick(t,e,n=!1){const a=this,{$el:i,$T:s}=a,{candlestick:o}=n?i.subchart:i,l=lr(!0);return[o.each(function(c,u){const g=s(st(this),e,l);t(c,u,g)}).style("opacity",null)]},getCandlestickData({value:t}){let e;if(Fe(t)){const[n,a,i,s,o=!1]=t;e={open:n,high:a,low:i,close:s},o!==!1&&(e.volume=o)}else De(t)&&(e=Tx({},t));return e&&(e._isUp=e.close>=e.open),e||null}},Sx=Object.defineProperty,Xu=Object.getOwnPropertySymbols,Ax=Object.prototype.hasOwnProperty,bx=Object.prototype.propertyIsEnumerable,Yu=(t,e,n)=>e in t?Sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ex=(t,e)=>{for(var n in e||(e={}))Ax.call(e,n)&&Yu(t,n,e[n]);if(Xu)for(var n of Xu(e))bx.call(e,n)&&Yu(t,n,e[n]);return t};function Ki(t=!1){const e=this,{config:n,state:{current:{width:a,height:i}}}=e,s=e.getCurrentPadding(),o=Ex({width:a-(s.left+s.right),height:i-(n.legend_show?e.getLegendHeight()+10:0)-(s.top+s.bottom)},s);if(t){const{width:l,height:c}=Hu.call(e,{width:o.width,height:o.height});o.width{let l=s;return De(s)&&(l=t[o?"height":"width"]*s.ratio),l}),{width:a,height:i}}function Rx(t){const e=this,{top:n,left:a,width:i}=Ki.call(e,!0),s=[];return t.forEach((o,l)=>{const{ratio:c}=o,u=l>0?s[l-1][2][1]:n;s.push(o.coords=[[a,u],[a+i,u],[a+i,l>0?c+u:c+n],[a,l>0?c+u:c+n],[a,u]])}),s}function Wu(t=!1){const e=this,{width:n,height:a,top:i,left:s}=Ki.call(e,!0),o=Hu.call(e,{width:n,height:a}),l=(n-o.width)/2,c=(n+o.width)/2,u=a-o.height,g=[[0,0],[n,0],[c,u],[c,a],[l,a],[l,u],[0,0]];return t&&g.forEach(v=>{v[0]+=s,v[1]+=i}),`M${g.join("L")}z`}function Ox(t){const e=this,{config:n}=e,a=t.map(i=>({id:i.id,value:i.values.reduce((s,o)=>s+o.value,0)}));return n.data_order&&a.sort(e.getSortCompareFn.bind(e)(!0)),Ku.call(e,a)}function Ku(t){const e=this,{height:n}=Ki.call(e),a=e.getTotalDataSum(!0);return t.forEach(i=>{i.ratio=i.value/a*n}),t}var Ix={initFunnel(){const t=this,{$el:e}=t;e.funnel=e.main.select(`.${Se.chart}`).append("g").classed(Ta.chartFunnels,!0),e.funnel.background=e.funnel.append("path").classed(Ta.funnelBackground,!0),t.bindFunnelEvent()},bindFunnelEvent(){const t=this,{$el:{funnel:e},config:n,state:a}=t,i=s=>{var o;const l=s.isTrusted?s.target:(o=a.eventReceiver.rect)==null?void 0:o.node();let c;return/^path$/i.test(l.tagName)&&(a.event=s,c=st(l).datum()),c};if(n.interaction_enabled){const s=a.inputType==="touch";e.on(s?"touchstart":"mouseover mousemove",o=>{const l=i(o);l&&(t.showTooltip([l],o.target),/^(touchstart|mouseover)$/.test(o.type)&&t.setOverOut(!0,l))}).on(s?"touchend":"mouseout",o=>{const l=i(o);t.hideTooltip(),t.setOverOut(!1,l)})}},updateTargetsForFunnel(t){const e=this,{$el:{funnel:n}}=e,a=e.getChartClass("Funnel"),i=e.getClass("funnel",!0);n||e.initFunnel();const s=Ox.call(e,t.filter(e.isFunnelType.bind(e))),o=n.selectAll(`.${Ta.chartFunnel}`).data(s);o.exit().remove();const l=o.enter().insert("g",`.${Ta.funnelBackground}`);l.append("path"),n.path=l.merge(o).attr("class",c=>a(c)).select("path").attr("class",i).style("opacity","0").style("fill",e.color)},updateFunnel(t){const e=this,{$el:{funnel:n}}=e,a=t.map(({id:i})=>i);n.path=n.path.filter(i=>a.indexOf(i.id)>=0)},generateGetFunnelPoints(){const t=this,{$el:{funnel:e}}=t,n=t.filterTargetsToShow(e.path),{top:a,left:i,right:s}=Ki.call(t),o=(i-s)/2,l={};let c=a!=null?a:0;return n.each((u,g)=>{var v;l[u.id]=[[o,c],[o,c+=((v=n==null?void 0:n[g])!=null?v:u).ratio]]}),u=>l[u.id]},redrawFunnel(){const t=this,{$T:e,$el:{funnel:n}}=t,a=t.filterTargetsToShow(n.path),i=Rx.call(t,Ku.call(t,a.data()));n.attr("clip-path",`path('${Wu.bind(t)()}')`),n.background.attr("d",Wu.call(t,!0)),e(a).attr("d",(s,o)=>`M${i[o].join("L")}z`).style("opacity","1"),n.selectAll("g").style("opacity",null)}},Cx={initGauge(){const t=this,{config:e,$el:{arcs:n}}=t,a=(i=null,s="")=>{n.append("text").attr("class",i).style("text-anchor","middle").style("pointer-events","none").text(s)};if(t.hasType("gauge")){const i=t.hasMultiArcGauge();n.append(i?"g":"path").attr("class",Be.chartArcsBackground).style("fill",!i&&e.gauge_background||null),e.gauge_units&&a(Ln.chartArcsGaugeUnit),e.gauge_label_show&&(a(Ln.chartArcsGaugeMin),!e.gauge_fullCircle&&a(Ln.chartArcsGaugeMax))}},updateGaugeMax(){const t=this,{config:e,state:n}=t,i=t.hasMultiArcGauge()?t.getMinMaxData().max[0].value:t.getTotalDataSum(n.rendered);!e.gauge_enforceMinMax&&i+e.gauge_min*(e.gauge_min>0?-1:1)>e.gauge_max&&(e.gauge_max=i-e.gauge_min)},redrawArcGaugeLine(){const t=this,{config:e,state:n,$el:a}=t,{hiddenTargetIds:i}=t.state,s=a.main.selectAll(`.${Be.arcs}`).selectAll(`.${Be.arcLabelLine}`).data(t.arcData.bind(t));s.enter().append("rect").attr("class",l=>`${Be.arcLabelLine} ${Se.target} ${Se.target}-${l.data.id}`).merge(s).style("fill",l=>t.levelColor?t.levelColor(l.data.values[0].value):t.color(l.data)).style("display",e.gauge_label_show?null:"none").each(function(l){let c=0;const u=2;let g=0,v=0,m="";if(i.indexOf(l.data.id)<0){const S=t.updateAngle(l),I=n.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length*(S.index+1),N=S.endAngle-Math.PI/2,M=n.radius-I,P=N-(M===0?0:1/M);c=n.radiusExpanded-n.radius+I,g=Math.cos(P)*M,v=Math.sin(P)*M,m=`rotate(${N*180/Math.PI}, ${g}, ${v})`}st(this).attr("x",g).attr("y",v).attr("width",c).attr("height",u).attr("transform",m).style("stroke-dasharray",`0, ${c+u}, 0`)})},textForGaugeMinMax(t,e){const n=this,{config:a}=n,i=a.gauge_label_extents;return de(i)?i.bind(n.api)(t,e):t},getGaugeLabelHeight(){const{config:t}=this;return this.config.gauge_label_show&&!t.gauge_fullCircle?20:0},getPaddingBottomForGauge(){const t=this;return t.getGaugeLabelHeight()*(t.config.gauge_label_show?2:2.5)}};function Px(t,e,n,a=!1){const i=t?[t,0]:n;for(let s=t||n.reduce((o,l)=>o+l);s<=e;)n.forEach(o=>{s+o<=e&&i.push(o),s+=o});return i.length%2!==0&&i.push(a?n[1]:0),{dash:i.join(" "),length:i.reduce((s,o)=>s+o,0)}}function wx(t,e,n){const a=this,i=[],s="2 2";if(Ye(e)){const o=(l,c)=>en(l)?c:n?Dn.call(a,l):l;for(let l=0,c;c=e[l];l++){const u=o(c.start,t[0].x),g=o(c.end,t[t.length-1].x),v=c.style||{dasharray:s};i[l]={start:u,end:g,style:v}}}return i}var Mx={initLine(){const{$el:t}=this;t.line=t.main.select(`.${Se.chart}`).append("g").attr("class",ar.chartLines).call(this.setCssRule(!1,`.${ar.chartLines}`,["pointer-events:none"]))},updateTargetsForLine(t){const e=this,{$el:{area:n,line:a,main:i}}=e,s=e.getChartClass("Line"),o=e.getClass("lines",!0),l=e.classFocus.bind(e);a||e.initLine();const c=t.filter(v=>!(e.isScatterType(v)||e.isBubbleType(v))),u=i.select(`.${ar.chartLines}`).selectAll(`.${ar.chartLine}`).data(c).attr("class",v=>s(v)+l(v)),g=u.enter().append("g").attr("class",s).style("opacity","0").style("pointer-events",e.getStylePropValue("none"));if(g.append("g").attr("class",o),e.hasTypeOf("Area")){const v=(!n&&g.empty()?u:g).filter(e.isAreaType.bind(e));e.initArea(v)}e.updateTargetForCircle(c,g)},updateLine(t,e=!1){const n=this,{format:{extraLineClasses:a},$el:i,$T:s}=n,o=e?i.subchart:i,l=o.main.selectAll(`.${ar.lines}`).selectAll(`.${ar.line}`).data(n.lineData.bind(n));s(l.exit(),t).style("opacity","0").remove(),o.line=l.enter().append("path").attr("class",c=>`${n.getClass("line",!0)(c)} ${a(c)||""}`).style("stroke",n.color).merge(l).style("opacity",n.initialOpacity.bind(n)).attr("transform",null)},redrawLine(t,e,n=!1){const a=this,{$el:i,$T:s}=a,{line:o}=n?i.subchart:i;return[s(o,e,lr()).attr("d",t).style("stroke",this.color).style("opacity",null)]},getCurve(t){const e=this;return e.config.axis_rotated&&e.isStepType(t)?a=>{const i=e.getInterpolate(t)(a);return i.orgPoint=i.point,i.pointRotated=function(s,o){this._point===1&&(this._point=2);const l=this._y*(1-this._t)+o*this._t;this._context.lineTo(this._x,l),this._context.lineTo(s,l),this._x=s,this._y=o},i.point=function(s,o){this._point===0?this.orgPoint(s,o):this.pointRotated(s,o)},i}:e.getInterpolate(t)},generateDrawLine(t,e){const n=this,{config:a,scale:i}=n,s=a.line_connectNull,o=a.axis_rotated,l=n.generateGetLinePoints(t,e),c=n.getYScaleById.bind(n),u=S=>(e?n.subxx:n.xx).call(n,S),g=(S,I)=>n.isGrouped(S.id)?l(S,I)[0][1]:c(S.id,e)(n.getBaseValue(S));let v=ju();v=o?v.x(g).y(u):v.x(u).y(g),s||(v=v.defined(S=>n.getBaseValue(S)!==null));const m=e?i.subX:i.x;return S=>{const I=c(S.id,e);let N=s?n.filterRemoveNull(S.values):S.values,M=0,P=0,G;if(n.isLineType(S)){const H=a.data_regions[S.id];H?G=n.lineWithRegions(N,i.zoom||m,I,H):(n.isStepType(S)&&(N=n.convertValuesToStep(N)),G=v.curve(n.getCurve(S))(N))}else N[0]&&(M=m(N[0].x),P=I(N[0].value)),G=o?`M ${P} ${M}`:`M ${M} ${P}`;return G||"M 0 0"}},lineWithRegions(t,e,n,a){const i=this,{config:s}=i,o=s.axis_rotated,l=i.axis.isTimeSeries(),c="2 2",u=wx.bind(i)(t,a,l),g=i.hasNullDataValue(t);let v,m,S,I;const N=o?vt=>n(vt.value):vt=>e(vt.x),M=o?vt=>e(vt.x):vt=>n(vt.value),P=vt=>`M${vt[0][0]},${vt[0][1]}L${vt[1][0]},${vt[1][1]}`,G=l?(vt,gt,Ft,pt)=>{const k=vt.x.getTime(),Et=gt.x-vt.x,ut=new Date(k+Et*Ft),Rt=new Date(k+Et*(Ft+pt)),jt=o?[[n(m(Ft)),e(ut)],[n(m(Ft+S)),e(Rt)]]:[[e(ut),n(m(Ft))],[e(Rt),n(m(Ft+S))]];return P(jt)}:(vt,gt,Ft,pt)=>{const k=e(gt.x,!o),Et=n(gt.value,o),ut=Ft+pt,Rt=e(v(Ft),!o),jt=n(m(Ft),o);let zt=e(v(ut),!o),Wt=n(m(ut),o);zt>k&&(zt=k),vt.value>gt.value&&(o?WtEt)&&(Wt=Et);const Ht=[[Rt,jt],[zt,Wt]];return o&&Ht.forEach(ee=>ee.reverse()),P(Ht)},H={x:i.axis.getAxisType("x"),y:i.axis.getAxisType("y")};let Y="";const _=i.$el.line.filter(({id:vt})=>vt===t[0].id),K=_.clone().style("display","none"),at=(vt,gt)=>vt.attr("d",gt).node().getTotalLength(),$t={dash:[],lastLength:0};let At=!1;for(let vt=0,gt;gt=t[vt];vt++){const Ft=t[vt-1],pt=Ft&&Ie(Ft.value);let k=i.isWithinRegions(gt.x,u);if(Ie(gt.value)){if(en(u)||!k||!pt)Y+=`${vt&&pt?"L":"M"}${N(gt)},${M(gt)}`;else if(pt)if(k=((k==null?void 0:k.dasharray)||c).split(" ").map(Number),v=Dr(H.x,Ft.x,gt.x),m=Dr(H.y,Ft.value,gt.value),g){const Et=e(gt.x)-e(Ft.x),ut=n(gt.value)-n(Ft.value),Rt=Math.sqrt(Math.pow(Et,2)+Math.pow(ut,2));S=k[0]/Rt,I=S*k[1];for(let jt=S;jt<=1;jt+=I)Y+=G(Ft,gt,jt,S),jt+I>=1&&(Y+=G(Ft,gt,1,0))}else{let Et=[];if(At=gt.x===t[t.length-1].x,l){const zt=+Ft.x,Wt=new Date(zt),Ht=new Date(zt+(+gt.x-zt));Et=[[e(Wt),n(m(0))],[e(Ht),n(m(1))]]}else Et=[[e(v(0)),n(m(0))],[e(v(1)),n(m(1))]];o&&Et.forEach(zt=>zt.reverse());const ut=at(K,Y),Rt=at(K,Y+=`L${Et[1].join(",")}`),jt=Px(ut-$t.lastLength,Rt-$t.lastLength,k,At);$t.lastLength+=jt.length,$t.dash.push(jt.dash)}}}return $t.dash.length&&(!At&&$t.dash.push(at(K,Y)),K.remove(),_.attr("stroke-dasharray",$t.dash.join(" "))),Y},isWithinRegions(t,e){for(let n=0,a;a=e[n];n++)if(a.startlr();var Zi={initialOpacityForCircle(t){const{config:e,state:{withoutFadeIn:n}}=this;let a=e.point_opacity;return en(a)&&(a=this.getBaseValue(t)!==null&&n[t.id]?this.opacityForCircle(t):"0"),a},opacityForCircle(t){var e;const{config:n}=this;let a=n.point_opacity;return en(a)&&(a=n.point_show&&!((e=this.isPointFocusOnly)!=null&&e.call(this))?null:"0",a=Ie(this.getBaseValue(t))?this.isBubbleType(t)||this.isScatterType(t)?"0.5":a:"0"),a},initCircle(){const t=this,{$el:{main:e}}=t;!t.point&&(t.point=t.generatePoint()),(t.hasType("bubble")||t.hasType("scatter"))&&e.select(`.${Se.chart} > .${pn.chartCircles}`).empty()&&e.select(`.${Se.chart}`).append("g").attr("class",pn.chartCircles)},updateTargetForCircle(t,e){const n=this,{config:a,data:i,$el:s}=n,o=a.interaction_enabled&&a.data_selection_enabled,l=o&&a.data_selection_isselectable,c=n.getClass("circles",!0);if(!a.point_show)return;n.initCircle();let u=t,g=e;if(!u){u=i.targets.filter(m=>this.isScatterType(m)||this.isBubbleType(m));const v=s.main.select(`.${pn.chartCircles}`).style("pointer-events","none").selectAll(`.${pn.circles}`).data(u);v.exit().remove(),g=v.enter()}o&&g.append("g").attr("class",v=>n.generateClass(ke.selectedCircles,v.id)),g.append("g").attr("class",c).call(v=>{n.setCssRule(!0,`.${pn.circles}`,["cursor:pointer"],l)(v),n.setCssRule(!0,` .${pn.circle}`,["fill","stroke"],n.color)(v)}).style("opacity",function(){return st(this.parentNode).attr("class").indexOf(pn.chartCircles)>-1?"0":null}),o&&u.forEach(v=>{s.main.selectAll(`.${ke.selectedCircles}${n.getTargetSelectorSuffix(v.id)}`).selectAll(`${ke.selectedCircle}`).each(m=>{m.value=v.values[m.index].value})})},updateCircle(t=!1){const e=this,{config:n,state:a,$el:i}=e,s=e.isPointFocusOnly(),o=t?i.subchart:i;if(n.point_show&&!a.toggling){n.point_radialGradient&&e.updateLinearGradient();const l=o.main.selectAll(`.${pn.circles}`).selectAll(`.${pn.circle}`).data(c=>e.isLineType(c)&&e.shouldDrawPointsForLine(c)||e.isBubbleType(c)||e.isRadarType(c)||e.isScatterType(c)?s?[c.values[0]]:c.values:[]);l.exit().remove(),l.enter().filter(Boolean).append(e.point("create",this,e.pointR.bind(e),e.updateCircleColor.bind(e))),o.circle=o.main.selectAll(`.${pn.circles} .${pn.circle}`).style("stroke",e.getStylePropValue(e.color)).style("opacity",e.initialOpacityForCircle.bind(e))}},updateCircleColor(t){const e=this,n=e.getStylePropValue(e.color);return e.config.point_radialGradient?e.getGradienColortUrl(t.id):n?n(t):null},redrawCircle(t,e,n,a,i=!1){const s=this,{state:{rendered:o},$el:l,$T:c}=s,u=i?l.subchart:l,g=u.main.selectAll(`.${ke.selectedCircle}`);if(!s.config.point_show)return[];const v=s.point("update",s,t,e,s.updateCircleColor.bind(s),n,a,g),m=s.isCirclePoint()?"c":"",S=lr(),I=s.opacityForCircle.bind(s),N=[];return u.circle.each(function(M){let P=v.bind(this)(M);P=c(P,n||!o,S).style("opacity",I),N.push(P)}),[N,c(g,n).attr(`${m}x`,t).attr(`${m}y`,e)]},showCircleFocus(t){const e=this,{state:{hasRadar:n,resizing:a,toggling:i,transiting:s},$el:o}=e;let{circle:l}=o;if(s===!1&&l&&e.isPointFocusOnly()){const c=(n?e.radarCircleX:e.circleX).bind(e),u=(n?e.radarCircleY:e.circleY).bind(e),g=i||en(t),v=e.point("update",e,c,u,e.getStylePropValue(e.color),a?!1:g);t&&(l=l.filter(function(m){var S;const I=(S=t.filter)==null?void 0:S.call(t,N=>N.id===m.id);return I.length?st(this).datum(I[0]):!1})),l.attr("class",this.updatePointClass.bind(this)).style("opacity",null).each(function(m){const{id:S,index:I,value:N}=m;let M="hidden";Ie(N)&&(v.bind(this)(m),e.expandCircles(I,S),M=""),this.style.visibility=M})}},hideCircleFocus(){const t=this,{$el:{circle:e}}=t;t.isPointFocusOnly()&&e&&(t.unexpandCircles(),e.style("visibility","hidden"))},circleX(t){return this.xx(t)},updateCircleY(t=!1){const e=this,n=e.generateGetLinePoints(e.getShapeIndices(e.isLineType),t);return(a,i)=>{const s=a.id;return e.isGrouped(s)?n(a,i)[0][1]:e.getYScaleById(s,t)(e.getBaseValue(a))}},expandCircles(t,e,n){const a=this,i=a.pointExpandedR.bind(a);n&&a.unexpandCircles();const s=a.getShapeByIndex("circle",t,e).classed(Se.EXPANDED,!0),o=i(s)/a.config.point_r,l=1-o;a.isCirclePoint()?s.attr("r",i):s.each(function(){const c=st(this);if(this.tagName==="circle")c.attr("r",i);else{const{width:u,height:g}=this.getBBox(),v=l*(+c.attr("x")+u/2),m=l*(+c.attr("y")+g/2);c.attr("transform",`translate(${v} ${m}) scale(${o})`)}})},unexpandCircles(t){const e=this,n=e.pointR.bind(e),a=e.getShapeByIndex("circle",t).filter(function(){return st(this).classed(Se.EXPANDED)}).classed(Se.EXPANDED,!1);if(a.attr("r",n),!e.isCirclePoint()){const i=n(a)/e.config.point_r;a.attr("transform",i!==1?`scale(${i})`:null)}},pointR(t){const e=this,{config:n}=e,a=n.point_r;let i=a;return e.isBubbleType(t)?i=e.getBubbleR(t):de(a)&&(i=a.bind(e.api)(t)),t.r=i,i},pointExpandedR(t){const e=this,{config:n}=e,a=e.isBubbleType(t)?1.15:1.75;return n.point_focus_expand_enabled?n.point_focus_expand_r||e.pointR(t)*a:e.pointR(t)},pointSelectR(t){const e=this,n=e.config.point_select_r;return de(n)?n(t):n||e.pointR(t)*4},isPointFocusOnly(){const t=this;return t.config.point_focus_only&&!t.hasType("bubble")&&!t.hasType("scatter")&&!t.hasArcType(null,["radar"])},isWithinCircle(t,e){const{config:n,state:a}=this,i=zn(a.event,t),s=st(t),o=this.isCirclePoint(t)?"c":"",l=n.point_sensitivity==="radius"?t.getAttribute("r"):n.point_sensitivity;let c=+s.attr(`${o}x`),u=+s.attr(`${o}y`);if(!(c||u)&&t.nodeType===1){const{x:g,y:v}=Si(t);c=g,u=v}return Math.sqrt(Math.pow(c-i[0],2)+Math.pow(u-i[1],2))<(e||l)},getPointSensitivity(t){const e=this;let n=e.config.point_sensitivity;return de(n)?n=n.call(e.api,t):n==="radius"&&(n=t.r),n},updatePointClass(t){const e=this,{circle:n}=e.$el;let a=!1;return(De(t)||n)&&(a=t===!0?n.each(function(i){let s=e.getClass("circle",!0)(i);this.getAttribute("class").indexOf(Se.EXPANDED)>-1&&(s+=` ${Se.EXPANDED}`),this.setAttribute("class",s)}):e.getClass("circle",!0)(t)),a},generateGetLinePoints(t,e){const n=this,{config:a}=n,i=n.getShapeX(0,t,e),s=n.getShapeY(e),o=n.getShapeOffset(n.isLineType,t,e),l=n.getYScaleById.bind(n);return(c,u)=>{const g=l.call(n,c.id,e)(n.getShapeYMin(c.id)),v=o(c,u)||g,m=i(c);let S=s(c);a.axis_rotated&&(c.value>0&&SIe(S.value)?e(S)-c/2:0,v=S=>Ie(S.value)?n(S)-u/2:0;let m=t;return i&&(s&&m.attr("x",g),m=l.$T(m,i,ia()),o&&l.$T(o,i,ia())),m.attr("x",g).attr("y",v).style("fill",a)}},circle:{create(t,e,n){return t.append("circle").attr("class",this.updatePointClass.bind(this)).attr("r",e).style("fill",n).node()},update(t,e,n,a,i,s,o){const l=this;let c=t;return l.hasType("bubble")&&c.attr("r",l.pointR.bind(l)),i&&(s&&c.attr("cx",e),c.attr("cx")&&(c=l.$T(c,i,ia())),o&&l.$T(c,i,ia())),c.attr("cx",e).attr("cy",n).style("fill",a)}},rectangle:{create(t,e,n){const a=i=>e(i)*2;return t.append("rect").attr("class",this.updatePointClass.bind(this)).attr("width",a).attr("height",a).style("fill",n).node()},update(t,e,n,a,i,s,o){const l=this,c=l.config.point_r,u=m=>e(m)-c,g=m=>n(m)-c;let v=t;return i&&(s&&v.attr("x",u),v=l.$T(v,i,ia()),o&&l.$T(o,i,ia())),v.attr("x",u).attr("y",g).style("fill",a)}}};function Lx(t){return Jn(t)&&de(t.create)&&de(t.update)}function Dx(t,e){var n;const a=this,i=(c,u)=>{const g=c.attributes;for(let v=0,m;m=g[v];v++)m=m.name,u.setAttribute(m,c.getAttribute(m))},o=new DOMParser().parseFromString(t,"image/svg+xml").documentElement,l=fn.createElementNS(ne.svg,o.nodeName.toLowerCase());if(l.id=e,l.style.fill="inherit",l.style.stroke="inherit",i(o,l),(n=o.childNodes)!=null&&n.length){const c=st(l);"innerHTML"in l?c.html(o.innerHTML):Cr(o.childNodes).forEach(u=>{i(u,c.append(u.tagName).node())})}a.$el.defs.node().appendChild(l)}var sa={hasValidPointType(t){return/^(circle|rect(angle)?|polygon|ellipse|use)$/i.test(t||this.config.point_type)},hasLegendDefsPoint(){var t;const{config:e}=this;return e.legend_show&&((t=e.point_pattern)==null?void 0:t.length)&&e.legend_usePoint},getDefsPointId(t){const{state:{datetimeId:e}}=this;return`${e}-point${t}`},generatePoint(){const t=this,{$el:e,config:n}=t,a=[],i=nn(n.point_pattern)?n.point_pattern:[n.point_type];return function(s,o,...l){return function(c){var u,g,v,m;const S=t.getTargetSelectorSuffix(c.id||((u=c.data)==null?void 0:u.id)||c),I=st(this);a.indexOf(S)<0&&a.push(S);let N=i[a.indexOf(S)%i.length];if(t.hasValidPointType(N))N=t[N];else if(!Lx(N||n.point_type)){const M=t.getDefsPointId(S);if(e.defs.select(`#${M}`).size()<1&&Dx.bind(t)(N,M),s==="create")return(g=t.custom)==null?void 0:g.create.bind(o)(I,M,...l);if(s==="update")return(v=t.custom)==null?void 0:v.update.bind(o)(I,...l)}return(m=N[s])==null?void 0:m.bind(o)(I,...l)}}}};function Zu(t){const e=t.config.polar_level_max;let n=t.getMinMaxData().max[0].value;return e&&e>n&&(n=e),n}var Nx={initPolar(){const t=this,{$el:{arcs:e},config:n}=t,a=n.polar_level_text_show,i=n.polar_level_text_backgroundColor;e.levels=e.append("g").attr("class",vr.levels),a&&i&&t.generateTextBGColorFilter(i)},getPolarOuterRadius(t,e){var n;const a=Zu(this);return((n=t==null?void 0:t.data.values[0].value)!=null?n:0)/a*e},updateTargetsForPolar(t){this.updateTargetsForArc(t)},redrawPolar(){const t=this,{config:e}=t;e.polar_level_show&&t.updatePolarLevel()},updatePolarLevel(){const t=this,{config:e,state:n,$el:{arcs:{levels:a}}}=t,i=e.polar_level_depth,s=Zu(t),o=Ai(0,i),l=n.radius,c=o.map(m=>l*((m+1)/i)),u=(e.polar_level_text_format||function(){}).bind(t.api),g=a.selectAll(`.${vr.level}`).data(o);g.exit().remove();const v=g.enter().append("g").attr("class",(m,S)=>`${vr.level} ${vr.level}-${S}`);if(v.append("circle"),v.merge(g).selectAll("circle").style("visibility",e.polar_level_show?null:"hidden").attr("cx",0).attr("cy",0).attr("r",m=>c[m]),e.polar_level_text_show){const m=e.polar_level_text_backgroundColor,S=`#${n.datetimeId}-labels-bg${t.getTargetSelectorSuffix(m)}`;v.append("text").style("text-anchor","middle"),v.merge(g).selectAll("text").attr("dy",I=>-c[I]+5).attr("filter",m?`url(${S})`:null).text(I=>u(s/o.length*(I+1)))}}};function Fx(t,e,n,a,i,s){const o=t&&a>0?n-a:a,l=2*Math.PI;return i*(1-s*(e==="x"?Math.sin:Math.cos)(o*l/n))}const oa=Cn.radarPoints,ku=Cn.radarTextWidth;var Bx={initRadar(){const t=this,{config:e,state:{current:n},$el:a}=t;t.hasType("radar")&&(a.radar=a.main.select(`.${Se.chart}`).append("g").attr("class",Zo.chartRadars),a.radar.levels=a.radar.append("g").attr("class",vr.levels),a.radar.axes=a.radar.append("g").attr("class",on.axis),a.radar.shapes=a.radar.append("g").attr("class",tn.shapes),n.dataMax=e.radar_axis_max||t.getMinMaxData().max[0].value,e.radar_axis_text_show&&(e.interaction_enabled&&t.bindRadarEvent(),t.updateRadarLevel(),t.updateRadarAxes()))},getRadarSize(){const t=this,{config:e,state:{arcWidth:n,arcHeight:a}}=t,i=e.axis_x_categories.length<4?-20:10,s=(Math.min(n,a)-i)/2;return[s,s]},updateTargetsForRadar(t){const e=this,{config:n}=e;Wn(n.axis_x_categories)&&(n.axis_x_categories=Ai(0,Kn("max",t.map(a=>a.values.length)))),e.generateRadarPoints()},getRadarPosition(t,e,n,a){const i=this,{config:s}=i,[o,l]=i.getRadarSize(),c=s.axis_x_categories.length,u=s.radar_direction_clockwise,g=Cr(t).map(v=>Fx(u,v,c,e,Ye(n)?n:t==="x"?o:l,fe(a)?a:s.radar_size_ratio));return g.length===1?g[0]:g},generateRadarPoints(){const t=this,e=t.data.targets,[n,a]=t.getRadarSize(),i=t.cache.get(oa)||{},s=i._size;(!s||s.width!==n&&s.height!==a)&&(e.forEach(o=>{i[o.id]=o.values.map((l,c)=>t.getRadarPosition(["x","y"],c,void 0,t.getRatio("radar",l)))}),i._size={width:n,height:a},t.cache.add(oa,i))},redrawRadar(){const t=this,{radar:e,main:n}=t.$el,a=t.getTranslate("radar");a&&(e.attr("transform",a),n.select(`.${An.chartTexts}`).attr("transform",a),t.generateRadarPoints(),t.updateRadarLevel(),t.updateRadarAxes(),t.updateRadarShape())},generateGetRadarPoints(){const t=this.cache.get(oa);return(e,n)=>{const a=t[e.id][n];return[a,a,a,a]}},updateRadarLevel(){const t=this,{config:e,state:n,$el:{radar:a}}=t,[i,s]=t.getRadarSize(),o=e.radar_level_depth,l=e.axis_x_categories.length,c=e.radar_level_text_show,u=a.levels,g=Ai(0,o),v=e.radar_size_ratio*Math.min(i,s),m=g.map(P=>v*((P+1)/o)),S=(e.radar_level_text_format||function(){}).bind(t.api),I=g.map(P=>{const G=m[P];return Ai(0,l).map(Y=>t.getRadarPosition(["x","y"],Y,G,1).join(",")).join(" ")}),N=u.selectAll(`.${vr.level}`).data(g);N.exit().remove();const M=N.enter().append("g").attr("class",(P,G)=>`${vr.level} ${vr.level}-${G}`);M.append("polygon").style("visibility",e.radar_level_show?null:"hidden"),c&&(u.select("text").empty()&&u.append("text").attr("dx","-.5em").attr("dy","-.7em").style("text-anchor","end").text(()=>S(0)),M.append("text").attr("dx","-.5em").style("text-anchor","end").text(P=>S(n.current.dataMax/g.length*(P+1)))),M.merge(N).attr("transform",P=>`translate(${i-m[P]}, ${s-m[P]})`).selectAll("polygon").attr("points",P=>I[P]),c&&u.selectAll("text").attr("x",P=>en(P)?i:I[P].split(",")[0]).attr("y",P=>en(P)?s:0)},updateRadarAxes(){const t=this,{config:e,$el:{radar:n}}=t,[a,i]=t.getRadarSize(),s=e.axis_x_categories;let o=n.axes.selectAll("g").data(s);o.exit().remove();const l=o.enter().append("g").attr("class",(c,u)=>`${on.axis}-${u}`);if(e.radar_axis_line_show&&l.append("line"),e.radar_axis_text_show&&l.append("text"),o=l.merge(o),e.radar_axis_line_show&&o.select("line").attr("x1",a).attr("y1",i).attr("x2",(c,u)=>t.getRadarPosition("x",u)).attr("y2",(c,u)=>t.getRadarPosition("y",u)),e.radar_axis_text_show){const{x:c=0,y:u=0}=e.radar_axis_text_position,g=t.cache.get(ku)||0;if(o.select("text").style("text-anchor","middle").attr("dy",".5em").call(v=>{v.each(function(m){wa(st(this),String(m),[-.6,1.2])})}).datum((v,m)=>({index:m})).attr("transform",function(v){en(this.width)&&(this.width=this.getBoundingClientRect().width/2);let m=t.getRadarPosition("x",v.index,void 0,1),S=Math.round(t.getRadarPosition("y",v.index,void 0,1));return m>a?m+=this.width+c:Math.round(m)i?(S/2===i&&this.firstChild.tagName==="tspan"&&this.firstChild.setAttribute("dy","0em"),S+=u):SXl(m.node()).width);v.every(m=>m>0)&&t.cache.add(ku,v[0]-v[1])}}},bindRadarEvent(){const t=this,{state:e,$el:{radar:n,svg:a}}=t,i=t.isPointFocusOnly(),{inputType:s,transiting:o}=e,l=s==="mouse",c=u=>{e.event=u;const g=t.getDataIndexFromEvent(u),v=en(g);(l||v)&&(t.hideTooltip(),i?t.hideCircleFocus():t.unexpandCircles(),l?t.setOverOut(!1,g):v&&t.callOverOutForTouch())};n.axes.on(l?"mouseover ":"touchstart",u=>{if(o)return;e.event=u;const g=t.getDataIndexFromEvent(u);t.selectRectForSingle(a.node(),g),l?t.setOverOut(!0,g):t.callOverOutForTouch(g)}).on("mouseout",l?c:null),l||a.on("touchstart",c)},updateRadarShape(){const t=this,e=t.data.targets.filter(s=>t.isRadarType(s)),n=t.cache.get(oa),a=t.$el.radar.shapes.selectAll("polygon").data(e),i=a.enter().append("g").attr("class",t.getChartClass("Radar"));t.$T(a.exit()).remove(),i.append("polygon").merge(a).style("fill",t.color).style("stroke",t.color).attr("points",s=>n[s.id].join(" ")),t.updateTargetForCircle(e,i)},radarCircleX(t){return this.cache.get(oa)[t.id][t.index][0]},radarCircleY(t){return this.cache.get(oa)[t.id][t.index][1]}};function Ux(t){var e=0,n=t.children,a=n&&n.length;if(!a)e=1;else for(;--a>=0;)e+=n[a].value;t.value=e}function zx(){return this.eachAfter(Ux)}function jx(t,e){let n=-1;for(const a of this)t.call(e,a,++n,this);return this}function Gx(t,e){for(var n=this,a=[n],i,s,o=-1;n=a.pop();)if(t.call(e,n,++o,this),i=n.children)for(s=i.length-1;s>=0;--s)a.push(i[s]);return this}function Vx(t,e){for(var n=this,a=[n],i=[],s,o,l,c=-1;n=a.pop();)if(i.push(n),s=n.children)for(o=0,l=s.length;o=0;)n+=a[i].value;e.value=n})}function Hx(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function Wx(t){for(var e=this,n=Kx(e,t),a=[e];e!==n;)e=e.parent,a.push(e);for(var i=a.length;t!==n;)a.splice(i,0,t),t=t.parent;return a}function Kx(t,e){if(t===e)return t;var n=t.ancestors(),a=e.ancestors(),i=null;for(t=n.pop(),e=a.pop();t===e;)i=t,t=n.pop(),e=a.pop();return i}function Zx(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function kx(){return Array.from(this)}function Jx(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function Qx(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*_x(){var t=this,e,n=[t],a,i,s;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,a=t.children)for(i=0,s=a.length;i=0;--l)i.push(s=o[l]=new ki(o[l])),s.parent=a,s.depth=a.depth+1;return n.eachBefore(r0)}function qx(){return bo(this).eachBefore(n0)}function t0(t){return t.children}function e0(t){return Array.isArray(t)?t[1]:null}function n0(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function r0(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function ki(t){this.data=t,this.depth=this.height=0,this.parent=null}ki.prototype=bo.prototype={constructor:ki,count:zx,each:jx,eachAfter:Vx,eachBefore:Gx,find:Xx,sum:Yx,sort:Hx,path:Wx,ancestors:Zx,descendants:kx,leaves:Jx,links:Qx,copy:qx,[Symbol.iterator]:_x};function a0(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ji(t,e,n,a,i){for(var s=t.children,o,l=-1,c=s.length,u=t.value&&(a-e)/t.value;++lG&&(G=u),K=M*M*_,H=Math.max(G/K,K/P),H>Y){M-=u;break}Y=H}o.push(c={value:M,dice:S1?a:1)},n}(Ju);function R1(t){return t==null?null:qu(t)}function qu(t){if(typeof t!="function")throw new Error;return t}function za(){return 0}function ja(t){return function(){return t}}function i0(){var t=_u,e=!1,n=1,a=1,i=[0],s=za,o=za,l=za,c=za,u=za;function g(m){return m.x0=m.y0=0,m.x1=n,m.y1=a,m.eachBefore(v),i=[0],e&&m.eachBefore(a0),m}function v(m){var S=i[m.depth],I=m.x0+S,N=m.y0+S,M=m.x1-S,P=m.y1-S;M=m-1){var G=s[v];G.x0=I,G.y0=N,G.x1=M,G.y1=P;return}for(var H=u[v],Y=S/2+H,_=v+1,K=m-1;_>>1;u[at]P-N){var vt=S?(I*At+M*$t)/S:M;g(v,_,$t,I,N,vt,P),g(_,m,At,vt,N,M,P)}else{var gt=S?(N*At+P*$t)/S:P;g(v,_,$t,I,N,M,gt),g(_,m,At,I,gt,M,P)}}}function s0(t,e,n,a,i){(t.depth&1?Qi:Ji)(t,e,n,a,i)}var o0=function t(e){function n(a,i,s,o,l){if((c=a._squarify)&&c.ratio===e)for(var c,u,g,v,m=-1,S,I=c.length,N=a.value;++m1?a:1)},n}(Ju);function l0(t,e){const n=this,{scale:{x:a,y:i},state:{width:s}}=n;t.selectAll("g").attr("transform",o=>`translate(${o===e?"0,0":`${a(o.x0)},${i(o.y0)}`})`).select("rect").attr("width",o=>o===e?s:a(o.x1)-a(o.x0)).attr("height",o=>o===e?0:i(o.y1)-i(o.y0))}function c0(t){const e=this;return t.map(n=>{const{id:a,values:i}=n,{value:s}=i[0];return{name:a,id:a,value:s,ratio:e.getRatio("treemap",i[0])}})}function u0(t){const e=this,n=bo(t).sum(i=>i.value),a=e.getSortCompareFn(!0);return[e.treemap(a?n.sort(a):n)]}var f0={initTreemap(){const t=this,{$el:e,state:{current:{width:n,height:a},clip:i,datetimeId:s}}=t;i.id=`${s}-clip`,t.treemap=i0().tile(t.getTreemapTile()),e.defs.append("clipPath").attr("id",i.id).append("rect").attr("width",n).attr("height",a),e.treemap=e.main.select(`.${Se.chart}`).attr("clip-path",`url(#${i.id})`).append("g").classed(Jo.chartTreemaps,!0),t.bindTreemapEvent()},bindTreemapEvent(){const t=this,{$el:e,config:n,state:a}=t,i=s=>{var o;const l=s.isTrusted?s.target:(o=a.eventReceiver.rect)==null?void 0:o.node();let c;return/^rect$/i.test(l.tagName)&&(a.event=s,c=st(l).datum()),c==null?void 0:c.data};if(n.interaction_enabled){const s=a.inputType==="touch";e.treemap.on(s?"touchstart":"mouseover mousemove",o=>{const l=i(o);l&&(t.showTooltip([l],o.currentTarget),/^(touchstart|mouseover)$/.test(o.type)&&t.setOverOut(!0,l))}).on(s?"touchend":"mouseout",o=>{const l=i(o);t.hideTooltip(),t.setOverOut(!1,l)})}},getTreemapTile(){var t,e;const n=this,{config:a,state:{current:{width:i,height:s}}}=n,o=(e={binary:tf,dice:Ji,slice:Qi,sliceDice:s0,squarify:_u,resquarify:o0}[(t=a.treemap_tile)!=null?t:"binary"])!=null?e:tf;return(l,c,u,g,v)=>{o(l,0,0,i,s);for(const m of l.children)m.x0=c+m.x0/i*(g-c),m.x1=c+m.x1/i*(g-c),m.y0=u+m.y0/s*(v-u),m.y1=u+m.y1/s*(v-u)}},getTreemapData(t){const e=this;return{name:"root",children:c0.bind(e)(e.filterTargetsToShow(t.filter(e.isTreemapType,e)))}},updateTargetsForTreemap(t){const e=this,{$el:{treemap:n}}=e,a=u0.call(e,e.getTreemapData(t!=null?t:e.data.targets));n.data(a)},updateTreemap(t){const e=this,{$el:n,$T:a}=e,i=n.treemap.datum(),s=e.getChartClass("Treemap"),o=e.getClass("treemap",!0),l=n.treemap.selectAll("g").data(i.children);a(l.exit(),t).style("opacity","0").remove(),l.enter().append("g").append("rect"),n.treemap.selectAll("g").attr("class",s).select("rect").attr("class",o).attr("fill",c=>e.color(c.data.name))},generateGetTreemapPoints(){const t=this,{$el:e,scale:{x:n,y:a}}=t,i={};return e.treemap.selectAll("g").each(s=>{i[s.data.name]=[[n(s.x0),a(s.y0)],[n(s.x1),a(s.y1)]]}),s=>i[s.id]},redrawTreemap(t){const e=this,{$el:n,state:{current:{width:a,height:i}}}=e;return n.defs.select("rect").attr("width",a).attr("height",i),[e.$T(n.treemap,t,lr()).call(l0.bind(e),n.treemap.datum())]},treemapDataLabelFormat(t){const e=this,{config:n}=e,{id:a,value:i}=t,s=n.treemap_label_format,o=e.getRatio("treemap",t),l=(o*100).toFixed(2),c=n.treemap_label_show&&e.meetsLabelThreshold(o,"treemap")?null:"0";return function(u){return u.style("opacity",c),de(s)?s.bind(e.api)(i,o,a):`${a} -${l}%`}}},Ur={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},la={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},d0={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},h0={bubble_maxR:35,bubble_zerobased:!1},g0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},v0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},p0={scatter_zerobased:!1},Eo={spline_interpolation_type:"cardinal"},_i={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},m0={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},y0={funnel_neck_width:0,funnel_neck_height:0},x0={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},T0={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},$0={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:t=>t%1===0?t:t.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},S0={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:t=>t%1===0?t:t.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},A0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ca(t,e){gn(Fr.prototype,Object.values(wu).concat(t)),gn(xr.prototype,Wy),Pr.setOptions(Object.values(Mu).concat(e||[]))}function fr(t,e){ca([sa,Zi,Mx].concat(t||[])),Pr.setOptions([Ur,v0].concat(e||[]))}function ua(t,e){gn(Fr.prototype,[hx,sa].concat(t||[])),Pr.setOptions([Ur].concat(e||[]))}let ef=()=>(fr(aa,[la]),(ef=()=>ae.AREA)()),nf=()=>(fr(aa,[la]),(nf=()=>ae.AREA_LINE_RANGE)()),rf=()=>(fr(aa,[la]),(rf=()=>ae.AREA_STEP_RANGE)()),af=()=>(fr(aa,[la,Eo]),(af=()=>ae.AREA_SPLINE)()),sf=()=>(fr(aa,[la,Eo]),(sf=()=>ae.AREA_SPLINE_RANGE)()),of=()=>(fr(aa,[la]),(of=()=>ae.AREA_STEP)()),lf=()=>(fr(),(lf=()=>ae.LINE)()),cf=()=>(fr(void 0,[Eo]),(cf=()=>ae.SPLINE)()),uf=()=>(fr(),(uf=()=>ae.STEP)()),ff=()=>(ua(void 0,[_i,m0]),(ff=()=>ae.DONUT)()),df=()=>(ua([Cx],[_i,x0]),(df=()=>ae.GAUGE)()),hf=()=>(ua(void 0,[_i,T0]),(hf=()=>ae.PIE)()),gf=()=>(ua([Nx],[_i,$0]),(gf=()=>ae.POLAR)()),vf=()=>(ua([wu.eventrect,Zi,Bx],[Ur,S0,{axis_x_categories:Mu.optAxis.axis_x_categories}]),(vf=()=>ae.RADAR)()),pf=()=>(ca([vx,sa],[d0,Ur]),(pf=()=>ae.BAR)()),mf=()=>(ca([sa,Zi,px],[h0,Ur]),(mf=()=>ae.BUBBLE)()),yf=()=>(ca([$x,sa],[g0,Ur]),(yf=()=>ae.CANDLESTICK)()),xf=()=>(ca([sa,Zi],[Ur,p0]),(xf=()=>ae.SCATTER)()),Tf=()=>(ua([Ix],[y0]),(Tf=()=>ae.FUNNEL)()),$f=()=>(ca([f0],[A0]),($f=()=>ae.TREEMAP)()),Ro={};const Sf={version:"3.12.4-nightly-20240727004635",generate(t){const e=_r({},Ro,t),n=new xr(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return De(t)&&(Ro=t),Ro},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function Nn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Oo[x].call(r.exports,r,r.exports,Nn),r.exports}(function(){Nn.d=function(x,E){for(var r in E)Nn.o(E,r)&&!Nn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){Nn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){Nn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),Nn(0);var Xa=Nn(560);return Xa}()}); +${l}%`}}},Ur={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},la={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},d0={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},h0={bubble_maxR:35,bubble_zerobased:!1},g0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},v0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},p0={scatter_zerobased:!1},Eo={spline_interpolation_type:"cardinal"},_i={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},m0={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},y0={funnel_neck_width:0,funnel_neck_height:0},x0={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},T0={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},$0={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:t=>t%1===0?t:t.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},S0={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:t=>t%1===0?t:t.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},A0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ca(t,e){gn(Fr.prototype,Object.values(wu).concat(t)),gn(xr.prototype,Wy),Pr.setOptions(Object.values(Mu).concat(e||[]))}function fr(t,e){ca([sa,Zi,Mx].concat(t||[])),Pr.setOptions([Ur,v0].concat(e||[]))}function ua(t,e){gn(Fr.prototype,[hx,sa].concat(t||[])),Pr.setOptions([Ur].concat(e||[]))}let ef=()=>(fr(aa,[la]),(ef=()=>ae.AREA)()),nf=()=>(fr(aa,[la]),(nf=()=>ae.AREA_LINE_RANGE)()),rf=()=>(fr(aa,[la]),(rf=()=>ae.AREA_STEP_RANGE)()),af=()=>(fr(aa,[la,Eo]),(af=()=>ae.AREA_SPLINE)()),sf=()=>(fr(aa,[la,Eo]),(sf=()=>ae.AREA_SPLINE_RANGE)()),of=()=>(fr(aa,[la]),(of=()=>ae.AREA_STEP)()),lf=()=>(fr(),(lf=()=>ae.LINE)()),cf=()=>(fr(void 0,[Eo]),(cf=()=>ae.SPLINE)()),uf=()=>(fr(),(uf=()=>ae.STEP)()),ff=()=>(ua(void 0,[_i,m0]),(ff=()=>ae.DONUT)()),df=()=>(ua([Cx],[_i,x0]),(df=()=>ae.GAUGE)()),hf=()=>(ua(void 0,[_i,T0]),(hf=()=>ae.PIE)()),gf=()=>(ua([Nx],[_i,$0]),(gf=()=>ae.POLAR)()),vf=()=>(ua([wu.eventrect,Zi,Bx],[Ur,S0,{axis_x_categories:Mu.optAxis.axis_x_categories}]),(vf=()=>ae.RADAR)()),pf=()=>(ca([vx,sa],[d0,Ur]),(pf=()=>ae.BAR)()),mf=()=>(ca([sa,Zi,px],[h0,Ur]),(mf=()=>ae.BUBBLE)()),yf=()=>(ca([$x,sa],[g0,Ur]),(yf=()=>ae.CANDLESTICK)()),xf=()=>(ca([sa,Zi],[Ur,p0]),(xf=()=>ae.SCATTER)()),Tf=()=>(ua([Ix],[y0]),(Tf=()=>ae.FUNNEL)()),$f=()=>(ca([f0],[A0]),($f=()=>ae.TREEMAP)()),Ro={};const Sf={version:"3.12.4-nightly-20240731004602",generate(t){const e=_r({},Ro,t),n=new xr(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return De(t)&&(Ro=t),Ro},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function Nn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Oo[x].call(r.exports,r,r.exports,Nn),r.exports}(function(){Nn.d=function(x,E){for(var r in E)Nn.o(E,r)&&!Nn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){Nn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){Nn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),Nn(0);var Xa=Nn(560);return Xa}()}); diff --git a/dist/plugin/billboardjs-plugin-bubblecompare.js b/dist/plugin/billboardjs-plugin-bubblecompare.js index 063c2d815..f337d7c56 100644 --- a/dist/plugin/billboardjs-plugin-bubblecompare.js +++ b/dist/plugin/billboardjs-plugin-bubblecompare.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -133,7 +133,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/bubblecompare/index.ts var bubblecompare_defProp = Object.defineProperty; diff --git a/dist/plugin/billboardjs-plugin-bubblecompare.min.js b/dist/plugin/billboardjs-plugin-bubblecompare.min.js index bc55abc04..213dd7ccf 100644 --- a/dist/plugin/billboardjs-plugin-bubblecompare.min.js +++ b/dist/plugin/billboardjs-plugin-bubblecompare.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin - */(function(n,i){typeof exports=="object"&&typeof module=="object"?module.exports=i(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],i):typeof exports=="object"?exports.bb=i(require("d3-selection")):(n.bb=n.bb||{},n.bb.plugin=n.bb.plugin||{},n.bb.plugin.bubblecompare=i(n.d3))})(this,function(p){return function(){"use strict";var n={747:function(r){r.exports=p}},i={};function s(r){var e=i[r];if(e!==void 0)return e.exports;var t=i[r]={exports:{}};return n[r](t,t.exports,s),t.exports}(function(){s.d=function(r,e){for(var t in e)s.o(e,t)&&!s.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})}})(),function(){s.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();var b={};s.d(b,{default:function(){return R}});var $=s(747),g=Object.defineProperty,v=(r,e,t)=>e in r?g(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,l=(r,e,t)=>v(r,typeof e!="symbol"?e+"":e,t);class d{constructor(e={}){l(this,"$$"),l(this,"options"),this.options=e}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(e=>{this[e]=null,delete this[e]})}}l(d,"version","3.12.4-nightly-20240727004635");var x=Object.defineProperty,B=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,_=(r,e,t)=>B(r,typeof e!="symbol"?e+"":e,t);const f=class m extends d{constructor(e){return super(e),_(this,"$$"),this}$init(){const{$$:e}=this;e.findClosest=this.findClosest.bind(this),e.getBubbleR=this.getBubbleR.bind(this),e.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(e){const t=this.getBubbleR(e),{expandScale:a=1}=this.options;return m.raiseFocusedBubbleLayer(e),this.changeCursorPoint(),t*a}static raiseFocusedBubbleLayer(e){e.raise&&(0,$.select)(e.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(e,t){const{$$:a}=this;return e.filter(o=>o&&!a.isBarType(o.id)).reduce((o,u)=>a.dist(u,t){const h=this.getZData(j.values[0]);return[Math.min(w,h),Math.max(C,h)]},[1e4,0]),P=u>0&&c===u?0:o/c;return Math.abs(P)*(a-t)+t}getZData(e){return this.$$.isBubbleZType(e)?this.$$.getBubbleZData(e.value,"z"):e.value}};_(f,"version","0.0.1");let R=f;return b=b.default,b}()}); + */(function(n,i){typeof exports=="object"&&typeof module=="object"?module.exports=i(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],i):typeof exports=="object"?exports.bb=i(require("d3-selection")):(n.bb=n.bb||{},n.bb.plugin=n.bb.plugin||{},n.bb.plugin.bubblecompare=i(n.d3))})(this,function(p){return function(){"use strict";var n={747:function(r){r.exports=p}},i={};function s(r){var e=i[r];if(e!==void 0)return e.exports;var t=i[r]={exports:{}};return n[r](t,t.exports,s),t.exports}(function(){s.d=function(r,e){for(var t in e)s.o(e,t)&&!s.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})}})(),function(){s.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();var b={};s.d(b,{default:function(){return R}});var $=s(747),g=Object.defineProperty,v=(r,e,t)=>e in r?g(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,l=(r,e,t)=>v(r,typeof e!="symbol"?e+"":e,t);class d{constructor(e={}){l(this,"$$"),l(this,"options"),this.options=e}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(e=>{this[e]=null,delete this[e]})}}l(d,"version","3.12.4-nightly-20240731004602");var x=Object.defineProperty,B=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,_=(r,e,t)=>B(r,typeof e!="symbol"?e+"":e,t);const f=class m extends d{constructor(e){return super(e),_(this,"$$"),this}$init(){const{$$:e}=this;e.findClosest=this.findClosest.bind(this),e.getBubbleR=this.getBubbleR.bind(this),e.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(e){const t=this.getBubbleR(e),{expandScale:a=1}=this.options;return m.raiseFocusedBubbleLayer(e),this.changeCursorPoint(),t*a}static raiseFocusedBubbleLayer(e){e.raise&&(0,$.select)(e.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(e,t){const{$$:a}=this;return e.filter(o=>o&&!a.isBarType(o.id)).reduce((o,u)=>a.dist(u,t){const h=this.getZData(j.values[0]);return[Math.min(w,h),Math.max(C,h)]},[1e4,0]),P=u>0&&c===u?0:o/c;return Math.abs(P)*(a-t)+t}getZData(e){return this.$$.isBubbleZType(e)?this.$$.getBubbleZData(e.value,"z"):e.value}};_(f,"version","0.0.1");let R=f;return b=b.default,b}()}); diff --git a/dist/plugin/billboardjs-plugin-sparkline.js b/dist/plugin/billboardjs-plugin-sparkline.js index bcb07c1be..43fb93b42 100644 --- a/dist/plugin/billboardjs-plugin-sparkline.js +++ b/dist/plugin/billboardjs-plugin-sparkline.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -777,7 +777,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts class Options { diff --git a/dist/plugin/billboardjs-plugin-sparkline.min.js b/dist/plugin/billboardjs-plugin-sparkline.min.js index e8c1dc5f9..0fd20f080 100644 --- a/dist/plugin/billboardjs-plugin-sparkline.min.js +++ b/dist/plugin/billboardjs-plugin-sparkline.min.js @@ -5,9 +5,9 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(b,f){typeof exports=="object"&&typeof module=="object"?module.exports=f(require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-brush","d3-selection"],f):typeof exports=="object"?exports.bb=f(require("d3-brush"),require("d3-selection")):(b.bb=b.bb||{},b.bb.plugin=b.bb.plugin||{},b.bb.plugin.sparkline=f(b.d3,b.d3))})(this,function(T,b){return function(){"use strict";var f={853:function(e){e.exports=T},747:function(e){e.exports=b}},A={};function d(e){var t=A[e];if(t!==void 0)return t.exports;var n=A[e]={exports:{}};return f[e](n,n.exports,d),n.exports}(function(){d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var p={};d.d(p,{default:function(){return j}});var N=Object.defineProperty,P=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))B.call(t,n)&&C(e,n,t[n]);if(P)for(var n of P(t))q.call(t,n)&&C(e,n,t[n]);return e};const R={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},k={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},H={area:"bb-area",areas:"bb-areas"},U={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},X={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},Y={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},V={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},G={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},z={dragarea:"bb-dragarea",INCLUDED:"_included_"},W={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},K={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},Z={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},J={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},Q={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},ee={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},te={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Le={level:"bb-level",levels:"bb-levels"},ne={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},re={region:"bb-region",regions:"bb-regions"},ie={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},se={shape:"bb-shape",shapes:"bb-shapes"},oe={brush:"bb-brush",subchart:"bb-subchart"},ce={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},le={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},ae={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},ue={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var De=c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c({},R),k),H),U),X),Y),V),G),z),K),Z),J),Q),ee),W),te),ne),re),ie),se),oe),ce),le),ae),ue),Me=d(853),Fe=d(747);function be(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function de(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",r=s=>setTimeout(s,1),i=s=>clearTimeout(s);return[t?e.requestAnimationFrame:r,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:r,n?e.cancelIdleCallback:i]}const g=be(),fe=g==null?void 0:g.document,[je,Ne,Be,qe]=de(g);var he=Object.defineProperty,I=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,S=(e,t,n)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))pe.call(t,n)&&S(e,n,t[n]);if(I)for(var n of I(t))ge.call(t,n)&&S(e,n,t[n]);return e};const ke=e=>e||e===0,me=e=>typeof e=="function",m=e=>typeof e=="string",_=e=>typeof e=="number",ve=e=>typeof e=="undefined",D=e=>typeof e!="undefined",He=e=>typeof e=="boolean",Ue=e=>Math.ceil(e/10)*10,Xe=e=>Math.ceil(e)+.5,Ye=e=>e[1]-e[0],y=e=>typeof e=="object",_e=e=>ve(e)||e===null||m(e)&&e.length===0||y(e)&&!(e instanceof Date)&&Object.keys(e).length===0||_(e)&&isNaN(e),ye=e=>!_e(e),x=e=>Array.isArray(e),v=e=>e&&!(e!=null&&e.nodeType)&&y(e)&&!x(e);function Ve(e,t,n){return D(e[t])?e[t]:n}function Ge(e,t){let n=!1;return Object.keys(e).forEach(r=>e[r]===t&&(n=!0)),n}function ze(e,t,...n){const r=me(e);return r&&e.call(t,...n),r}function We(e,t){let n=0;const r=function(...i){!--n&&t.apply(this,...i)};"duration"in e?e.each(()=>++n).on("end",r):(++n,e.call(r))}function Ke(e){return m(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Ze(e,t,n=[-1,1],r=!1){if(!(!e||!m(t)))if(t.indexOf(` `)===-1)e.text(t);else{const i=[e.text(),t].map(s=>s.replace(/[\s\n]/g,""));if(i[0]!==i[1]){const s=t.split(` -`),o=r?s.length-1:1;e.html(""),s.forEach((l,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*o:n[1]}em`).text(l)})}}}function xe(e){const{x:t,y:n,width:r,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function Je(e){const{width:t,height:n}=e.getBoundingClientRect(),r=xe(e),i=r[0].x,s=Math.min(r[0].y,r[1].y);return{x:i,y:s,width:t,height:n}}function Qe(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(r||e,t)}catch(s){}return i.map(s=>isNaN(s)?0:s)}function $e(e){const{event:t,$el:n}=e,r=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:r&&(i=r.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function et(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function tt(e=!0,t=0,n=1e4){const r=window.crypto||window.msCrypto,i=r?t+r.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function M(e,t,n,r,i){if(n>r)return-1;const s=Math.floor((n+r)/2);let{x:o,w:l=0}=e[s];return i&&(o=e[s].y,l=e[s].h),t>=o&&t<=o+l?s:t{if(v(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>L(L({},n),r))}function Ee(e={},t){x(t)&&t.forEach(n=>Ee(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const it=e=>e.charAt(0).toUpperCase()+e.slice(1);function st(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const we=e=>[].slice.call(e);function ot(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${(l=>l.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function ct(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(we(n.cssRules)))}catch(i){(r=window.console)==null||r.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function lt(e){var t,n,r,i;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+e.scrollTop}}function at(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function ut(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((r,i,s)=>s.indexOf(r)===i);return t?n.map(r=>new Date(r)):n}function bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function $(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(r=>{const i=n[r];v(i)?(!e[r]&&(e[r]={}),e[r]=$(e[r],i)):e[r]=x(i)?i.concat():i}),$(e,...t)}function Oe(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||rye(r));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Oe(n,e==="min")[0]):n=void 0,n}const ft=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const s=fe.createEvent("MouseEvent");s.initMouseEvent(r,i.bubbles,i.cancelable,g,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const r=new Touch($({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function pt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function gt(e){var t;let n;if(e instanceof Date)n=e;else if(m(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function mt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function vt(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=window;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(r!=null&&r("(pointer:coarse)").matches)s=!0;else{const l=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(l)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(l)}return e&&((r==null?void 0:r("any-hover:hover").matches)||(r==null?void 0:r("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Te(e,t){t()===!1?requestAnimationFrame(()=>Te(e,t)):e()}function Ae(e){const t=this.config;let n,r,i;const s=()=>{const o=r.shift();if(o&&n&&y(n)&&o in n)return n=n[o],s();if(!o)return n};Object.keys(t).forEach(o=>{n=e,r=o.split("_"),i=s(),D(i)&&(t[o]=i)}),this.api&&(this.state.orgConfig=e)}var Pe=Object.defineProperty,Ce=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ce(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){E(this,"$$"),E(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}E(F,"version","3.12.4-nightly-20240727004635");class Re{constructor(){return{selector:void 0}}}var Ie=Object.defineProperty,Se=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Se(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),w(this,"config"),w(this,"element"),this.config=new Re,this}$beforeInit(){Ae.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,s,o){return o==="getShapeX"?{}:r.call(this,i,s)},t.getBarW=function(i,s){return n.call(this,i,s,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:s}}}=this;let o=s.pageY-i*1.35,l=s.pageX-r/2;return o<0&&(o=0),l<0&&(l=0),{top:o,left:l}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const s=i.querySelector("svg");s[r]("mouseover",this.overHandler),s[r]("mousemove",this.moveHandler),s[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=t.target.getBoundingClientRect()}moveHandler(t){var n,r,i,s;const{$$:o}=this,l=o.getDataIndexFromEvent(t),a=(n=o.api.data(t.target.__id))==null?void 0:n[0],u=(r=a==null?void 0:a.values)==null?void 0:r[l];u&&!u.name&&(u.name=u.id),o.state.event=t,(i=o.isPointFocusOnly)!=null&&i.call(o)&&u&&((s=o.showCircleFocus)==null||s.call(o,[u])),o.setExpand(l,a.id,!0),o.showTooltip([u],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const s=n.api.data(),o=(t=r.chart.html().match(/]*>/))==null?void 0:t[0];if(i.length0;a--)l.parentNode.insertBefore(i[0].cloneNode(),l.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}s.map(l=>l.id).forEach((l,a)=>{const u=`.${R.target}-${l}`,O=r.main.selectAll(u);let h=i[a].querySelector("svg");h||(i[a].innerHTML=`${o}`,h=i[a].querySelector("svg"),h.__id=l),h.querySelector(u)||O.style("opacity",null),O.style("fill","none").style("opacity",null),h.innerHTML="",h.appendChild(O.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}return w(j,"version","0.0.1"),p=p.default,p}()}); +`),o=r?s.length-1:1;e.html(""),s.forEach((l,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*o:n[1]}em`).text(l)})}}}function xe(e){const{x:t,y:n,width:r,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function Je(e){const{width:t,height:n}=e.getBoundingClientRect(),r=xe(e),i=r[0].x,s=Math.min(r[0].y,r[1].y);return{x:i,y:s,width:t,height:n}}function Qe(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(r||e,t)}catch(s){}return i.map(s=>isNaN(s)?0:s)}function $e(e){const{event:t,$el:n}=e,r=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:r&&(i=r.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function et(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function tt(e=!0,t=0,n=1e4){const r=window.crypto||window.msCrypto,i=r?t+r.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function M(e,t,n,r,i){if(n>r)return-1;const s=Math.floor((n+r)/2);let{x:o,w:l=0}=e[s];return i&&(o=e[s].y,l=e[s].h),t>=o&&t<=o+l?s:t{if(v(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>L(L({},n),r))}function Ee(e={},t){x(t)&&t.forEach(n=>Ee(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const it=e=>e.charAt(0).toUpperCase()+e.slice(1);function st(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const we=e=>[].slice.call(e);function ot(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${(l=>l.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function ct(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(we(n.cssRules)))}catch(i){(r=window.console)==null||r.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function lt(e){var t,n,r,i;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+e.scrollTop}}function at(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function ut(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((r,i,s)=>s.indexOf(r)===i);return t?n.map(r=>new Date(r)):n}function bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function $(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(r=>{const i=n[r];v(i)?(!e[r]&&(e[r]={}),e[r]=$(e[r],i)):e[r]=x(i)?i.concat():i}),$(e,...t)}function Oe(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||rye(r));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Oe(n,e==="min")[0]):n=void 0,n}const ft=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const s=fe.createEvent("MouseEvent");s.initMouseEvent(r,i.bubbles,i.cancelable,g,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const r=new Touch($({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function pt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function gt(e){var t;let n;if(e instanceof Date)n=e;else if(m(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function mt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function vt(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=window;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(r!=null&&r("(pointer:coarse)").matches)s=!0;else{const l=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(l)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(l)}return e&&((r==null?void 0:r("any-hover:hover").matches)||(r==null?void 0:r("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Te(e,t){t()===!1?requestAnimationFrame(()=>Te(e,t)):e()}function Ae(e){const t=this.config;let n,r,i;const s=()=>{const o=r.shift();if(o&&n&&y(n)&&o in n)return n=n[o],s();if(!o)return n};Object.keys(t).forEach(o=>{n=e,r=o.split("_"),i=s(),D(i)&&(t[o]=i)}),this.api&&(this.state.orgConfig=e)}var Pe=Object.defineProperty,Ce=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ce(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){E(this,"$$"),E(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}E(F,"version","3.12.4-nightly-20240731004602");class Re{constructor(){return{selector:void 0}}}var Ie=Object.defineProperty,Se=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Se(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),w(this,"config"),w(this,"element"),this.config=new Re,this}$beforeInit(){Ae.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,s,o){return o==="getShapeX"?{}:r.call(this,i,s)},t.getBarW=function(i,s){return n.call(this,i,s,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:s}}}=this;let o=s.pageY-i*1.35,l=s.pageX-r/2;return o<0&&(o=0),l<0&&(l=0),{top:o,left:l}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const s=i.querySelector("svg");s[r]("mouseover",this.overHandler),s[r]("mousemove",this.moveHandler),s[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=t.target.getBoundingClientRect()}moveHandler(t){var n,r,i,s;const{$$:o}=this,l=o.getDataIndexFromEvent(t),a=(n=o.api.data(t.target.__id))==null?void 0:n[0],u=(r=a==null?void 0:a.values)==null?void 0:r[l];u&&!u.name&&(u.name=u.id),o.state.event=t,(i=o.isPointFocusOnly)!=null&&i.call(o)&&u&&((s=o.showCircleFocus)==null||s.call(o,[u])),o.setExpand(l,a.id,!0),o.showTooltip([u],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const s=n.api.data(),o=(t=r.chart.html().match(/]*>/))==null?void 0:t[0];if(i.length0;a--)l.parentNode.insertBefore(i[0].cloneNode(),l.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}s.map(l=>l.id).forEach((l,a)=>{const u=`.${R.target}-${l}`,O=r.main.selectAll(u);let h=i[a].querySelector("svg");h||(i[a].innerHTML=`${o}`,h=i[a].querySelector("svg"),h.__id=l),h.querySelector(u)||O.style("opacity",null),O.style("fill","none").style("opacity",null),h.innerHTML="",h.appendChild(O.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}return w(j,"version","0.0.1"),p=p.default,p}()}); diff --git a/dist/plugin/billboardjs-plugin-stanford.js b/dist/plugin/billboardjs-plugin-stanford.js index 82d948109..0dee99619 100644 --- a/dist/plugin/billboardjs-plugin-stanford.js +++ b/dist/plugin/billboardjs-plugin-stanford.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -814,7 +814,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); // EXTERNAL MODULE: external {"commonjs":"d3-axis","commonjs2":"d3-axis","amd":"d3-axis","root":"d3"} var external_commonjs_d3_axis_commonjs2_d3_axis_amd_d3_axis_root_d3_ = __webpack_require__(8); diff --git a/dist/plugin/billboardjs-plugin-stanford.min.js b/dist/plugin/billboardjs-plugin-stanford.min.js index 20691c203..d6d77b6a6 100644 --- a/dist/plugin/billboardjs-plugin-stanford.min.js +++ b/dist/plugin/billboardjs-plugin-stanford.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(f,_){typeof exports=="object"&&typeof module=="object"?module.exports=_(require("d3-color"),require("d3-interpolate"),require("d3-scale"),require("d3-brush"),require("d3-selection"),require("d3-axis"),require("d3-format")):typeof define=="function"&&define.amd?define("bb",["d3-color","d3-interpolate","d3-scale","d3-brush","d3-selection","d3-axis","d3-format"],_):typeof exports=="object"?exports.bb=_(require("d3-color"),require("d3-interpolate"),require("d3-scale"),require("d3-brush"),require("d3-selection"),require("d3-axis"),require("d3-format")):(f.bb=f.bb||{},f.bb.plugin=f.bb.plugin||{},f.bb.plugin.stanford=_(f.d3,f.d3,f.d3,f.d3,f.d3,f.d3,f.d3))})(this,function(j,f,_,z,H,K,W){return function(){"use strict";var Z={996:function(e){e.exports=K},853:function(e){e.exports=z},218:function(e){e.exports=j},390:function(e){e.exports=W},798:function(e){e.exports=f},455:function(e){e.exports=_},747:function(e){e.exports=H}},M={};function h(e){var t=M[e];if(t!==void 0)return t.exports;var n=M[e]={exports:{}};return Z[e](n,n.exports,h),n.exports}(function(){h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var y={};h.d(y,{default:function(){return st}});var I=h(218),J=h(798),E=h(455),Q=Object.defineProperty,D=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?Q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))ee.call(t,n)&&N(e,n,t[n]);if(D)for(var n of D(t))te.call(t,n)&&N(e,n,t[n]);return e};const ne={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},oe={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},re={area:"bb-area",areas:"bb-areas"},se={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},ae={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},ie={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},ce={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},le={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},ue={dragarea:"bb-dragarea",INCLUDED:"_included_"},de={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},be={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},fe={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},he={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},pe={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},ge={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},me={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},it={level:"bb-level",levels:"bb-levels"},_e={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},xe={region:"bb-region",regions:"bb-regions"},ye={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},ve={shape:"bb-shape",shapes:"bb-shapes"},$e={brush:"bb-brush",subchart:"bb-subchart"},we={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},S={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},Ee={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Se={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var ct=u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u({},ne),oe),re),se),ae),ie),ce),le),ue),be),fe),he),pe),ge),de),me),_e),xe),ye),ve),$e),we),S),Ee),Se),lt=h(853),ut=h(747);function Ce(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Oe(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=s=>setTimeout(s,1),r=s=>clearTimeout(s);return[t?e.requestAnimationFrame:o,t?e.cancelAnimationFrame:r,n?e.requestIdleCallback:o,n?e.cancelIdleCallback:r]}const v=Ce(),Pe=v==null?void 0:v.document,[dt,bt,ft,ht]=Oe(v);var Re=Object.defineProperty,F=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,q=(e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))Ae.call(t,n)&&q(e,n,t[n]);if(F)for(var n of F(t))Te.call(t,n)&&q(e,n,t[n]);return e};const pt=e=>e||e===0,C=e=>typeof e=="function",x=e=>typeof e=="string",O=e=>typeof e=="number",Le=e=>typeof e=="undefined",U=e=>typeof e!="undefined",gt=e=>typeof e=="boolean",mt=e=>Math.ceil(e/10)*10,_t=e=>Math.ceil(e)+.5,xt=e=>e[1]-e[0],P=e=>typeof e=="object",X=e=>Le(e)||e===null||x(e)&&e.length===0||P(e)&&!(e instanceof Date)&&Object.keys(e).length===0||O(e)&&isNaN(e),je=e=>!X(e),R=e=>Array.isArray(e),$=e=>e&&!(e!=null&&e.nodeType)&&P(e)&&!R(e);function yt(e,t,n){return U(e[t])?e[t]:n}function vt(e,t){let n=!1;return Object.keys(e).forEach(o=>e[o]===t&&(n=!0)),n}function $t(e,t,...n){const o=C(e);return o&&e.call(t,...n),o}function wt(e,t){let n=0;const o=function(...r){!--n&&t.apply(this,...r)};"duration"in e?e.each(()=>++n).on("end",o):(++n,e.call(o))}function Et(e){return x(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function St(e,t,n=[-1,1],o=!1){if(!(!e||!x(t)))if(t.indexOf(` `)===-1)e.text(t);else{const r=[e.text(),t].map(s=>s.replace(/[\s\n]/g,""));if(r[0]!==r[1]){const s=t.split(` -`),a=o?s.length-1:1;e.html(""),s.forEach((i,d)=>{e.append("tspan").attr("x",0).attr("dy",`${d===0?n[0]*a:n[1]}em`).text(i)})}}}function Me(e){const{x:t,y:n,width:o,height:r}=e.getBBox();return[{x:t,y:n+r},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+r}]}function Ct(e){const{width:t,height:n}=e.getBoundingClientRect(),o=Me(e),r=o[0].x,s=Math.min(o[0].y,o[1].y);return{x:r,y:s,width:t,height:n}}function Ot(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let r=[0,0];try{r=d3Pointer(o||e,t)}catch(s){}return r.map(s=>isNaN(s)?0:s)}function Ie(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let r;return t&&t.type==="brush"?r=t.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Pt(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Rt(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,r=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(r):r}function Y(e,t,n,o,r){if(n>o)return-1;const s=Math.floor((n+o)/2);let{x:a,w:i=0}=e[s];return r&&(a=e[s].y,i=e[s].h),t>=a&&t<=a+i?s:t{if($(n)&&n.constructor){const o=new n.constructor;for(const r in n)o[r]=t(n[r]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>B(B({},n),o))}function De(e={},t){R(t)&&t.forEach(n=>De(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Lt=e=>e.charAt(0).toUpperCase()+e.slice(1);function jt(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const Ne=e=>[].slice.call(e);function Mt(e,t,n){const{rootSelector:o="",sheet:r}=e,a=`${o} ${(i=>i.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](a,r.cssRules.length)}function It(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Ne(n.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Dt(e){var t,n,o,r;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((r=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?r:0)+e.scrollTop}}function Nt(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ft(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,s)=>s.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function qt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function A(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return $(e)&&$(n)&&Object.keys(n).forEach(o=>{const r=n[o];$(r)?(!e[o]&&(e[o]={}),e[o]=A(e[o],r)):e[o]=R(r)?r.concat():r}),A(e,...t)}function Fe(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,r)=>o-r:(o,r)=>r-o:t&&!e.every(isNaN)?n=(o,r)=>o-r:t||(n=(o,r)=>o>r&&-1||oje(o));return n.length?O(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Fe(n,e==="min")[0]):n=void 0,n}const qe=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const s=Pe.createEvent("MouseEvent");s.initMouseEvent(o,r.bubbles,r.cancelable,v,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const o=new Touch(A({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function Xt(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function Be(e){var t;let n;if(e instanceof Date)n=e;else if(x(e)){const{config:o,format:r}=this;n=(t=r.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else O(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Gt(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let s=!1;if(t)if(r&&"maxTouchPoints"in r)s=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(o!=null&&o("(pointer:coarse)").matches)s=!0;else{const i=r.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(i)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(i)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Ue(e,t){t()===!1?requestAnimationFrame(()=>Ue(e,t)):e()}function Xe(e){const t=this.config;let n,o,r;const s=()=>{const a=o.shift();if(a&&n&&P(n)&&a in n)return n=n[a],s();if(!a)return n};Object.keys(t).forEach(a=>{n=e,o=a.split("_"),r=s(),U(r)&&(t[a]=r)}),this.api&&(this.state.orgConfig=e)}var Ye=Object.defineProperty,Ge=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t,n)=>Ge(e,typeof t!="symbol"?t+"":t,n);class G{constructor(t={}){T(this,"$$"),T(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}T(G,"version","3.12.4-nightly-20240727004635");var Ve=h(996),ke=h(390),p={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},ze=Object.defineProperty,He=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){V(this,"owner"),V(this,"colorScale"),this.owner=t}drawColorScale(){const{$$:t,config:n}=this.owner,o=t.data.targets[0],r=t.state.height-n.padding_bottom-n.padding_top,s=n.scale_width,a=5,i=qe(n.padding_bottom,r,a),d=(0,E.scaleSequential)(o.colors).domain([i[i.length-1],i[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=t.$el.svg.append("g").attr("width",50).attr("height",r).attr("class",p.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${n.padding_top})`).selectAll("bars").data(i).enter().append("rect").attr("y",(m,at)=>at*a).attr("x",0).attr("width",s).attr("height",a).attr("fill",m=>d(m));const b=(0,E.scaleSymlog)().domain([o.minEpochs,o.maxEpochs]).range([i[0]+n.padding_top+i[i.length-1]+a-1,i[0]+n.padding_top]),c=(0,Ve.axisRight)(b),l=n.scale_format;l==="pow10"?c.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):C(l)?c.tickFormat(l):c.tickFormat((0,ke.format)("d"));const g=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${s},0)`).call(c);l==="pow10"&&g.selectAll(".tick text").text(null).filter(m=>m/Math.pow(10,Math.ceil(Math.log(m)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(m=>Math.round(Math.log(m)/Math.LN10)),this.colorScale.attr("transform",`translate(${t.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function We(e,t){const n=e.x,o=e.value;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(b-i)*(o-d)/(c-d)+i&&(r=!r)}return r}function Ze(e,t){return e.epochst.epochs?1:0}function Je(e){let t=0,n,o;for(let r=0,s=e.length,a=s-1;rt in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t,n)=>et(e,typeof t!="symbol"?t+"":t,n);class nt{constructor(t){tt(this,"owner"),this.owner=t;const n=t.$$.$el.main.select(".bb-chart").append("g").attr("class",p.stanfordElements);n.append("g").attr("class",p.stanfordLines),n.append("g").attr("class",p.stanfordRegions)}updateStanfordLines(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=r.select(`.${p.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${p.stanfordLine}`).data(this.owner.config.lines);d.exit().transition().duration(t).style("opacity","0").remove();const b=d.enter().append("g");b.append("line").style("opacity","0"),b.merge(d).attr("class",c=>p.stanfordLine+(c.class?` ${c.class}`:"")).select("line").transition().duration(t).attr("x1",c=>s?i(c,"y1"):a(c,"x1")).attr("x2",c=>s?i(c,"y2"):a(c,"x2")).attr("y1",c=>s?a(c,"x1"):i(c,"y1")).attr("y2",c=>s?a(c,"x2"):i(c,"y2")).transition().style("opacity",null)}updateStanfordRegions(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=this.owner.countEpochsInRegion.bind(n);let b=r.select(`.${p.stanfordRegions}`).selectAll(`.${p.stanfordRegion}`).data(this.owner.config.regions);b.exit().transition().duration(t).style("opacity","0").remove();const c=b.enter().append("g");c.append("polygon").style("opacity","0"),c.append("text").attr("transform",s?"rotate(-90)":"").style("opacity","0"),b=c.merge(b),b.attr("class",l=>p.stanfordRegion+(l.class?` ${l.class}`:"")).select("polygon").transition().duration(t).attr("points",l=>l.points.map(g=>[s?i(g,"y"):a(g,"x"),s?a(g,"x"):i(g,"y")].join(",")).join(" ")).transition().style("opacity",l=>String(l.opacity?l.opacity:.2)),b.select("text").transition().duration(t).attr("x",l=>s?i(w(l.points),"y"):a(w(l.points),"x")).attr("y",l=>s?a(w(l.points),"x"):i(w(l.points),"y")).text(l=>{if(l.text){const{value:g,percentage:m}=d(l.points);return l.text(g,m)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(t=0){this.updateStanfordLines(t),this.updateStanfordRegions(t)}xvCustom(t,n){const o=this,{axis:r,config:s}=o;let a=n?t[n]:o.getBaseValue(t);return r.isTimeSeries()?a=Be.call(o,a):r.isCategorized()&&x(a)&&(a=s.axis_x_categories.indexOf(t.value)),Math.ceil(o.scale.x(a))}yvCustom(t,n){const o=this,r=t.axis&&t.axis==="y2"?o.scale.y2:o.scale.y,s=n?t[n]:o.getBaseValue(t);return Math.ceil(r(s))}}class k{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var ot=Object.defineProperty,rt=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends G{constructor(t){return super(t),L(this,"config"),L(this,"colorScale"),L(this,"elements"),this.config=new k,this}$beforeInit(){const{$$:t}=this;t.config.data_xSort=!1,t.isMultipleX=()=>!0,t.showGridFocus=()=>{},t.labelishData=o=>o.values,t.opacityForCircle=()=>1;const n=t.getCurrentPadding.bind(t);t.getCurrentPadding=()=>{const o=n();return o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,o}}$init(){const{$$:t}=this;Xe.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new Ke(this),this.elements=new nt(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),t.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(t){var n,o;(n=this.colorScale)==null||n.drawColorScale(),(o=this.elements)==null||o.updateStanfordElements(t)}getOptions(){return new k}convertData(){const t=this.$$.data.targets,n=this.options.epochs;t.forEach(o=>{o.values.forEach((r,s)=>{r.epochs=n[s]}),o.minEpochs=void 0,o.maxEpochs=void 0,o.colors=void 0,o.colorscale=void 0})}initStanfordData(){const{config:t}=this,n=this.$$.data.targets[0];n.values.sort(Ze);const o=n.values.map(r=>r.epochs);n.minEpochs=isNaN(t.scale_min)?Math.min(...o):t.scale_min,n.maxEpochs=isNaN(t.scale_max)?Math.max(...o):t.scale_max,n.colors=C(t.colors)?t.colors:(0,J.interpolateHslLong)((0,I.hsl)(250,1,.5),(0,I.hsl)(0,1,.5)),n.colorscale=(0,E.scaleSequentialLog)(n.colors).domain([n.minEpochs,n.maxEpochs])}getStanfordPointColor(t){return this.data.targets[0].colorscale(t.epochs)}setStanfordTooltip(){const{config:t}=this.$$;X(t.tooltip_contents)&&(t.tooltip_contents=function(n,o,r,s){const{data_x:a}=t;let i=``;return n.forEach(d=>{const{id:b="",value:c=0,epochs:l=0,x:g=""}=d;i+=` +`),a=o?s.length-1:1;e.html(""),s.forEach((i,d)=>{e.append("tspan").attr("x",0).attr("dy",`${d===0?n[0]*a:n[1]}em`).text(i)})}}}function Me(e){const{x:t,y:n,width:o,height:r}=e.getBBox();return[{x:t,y:n+r},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+r}]}function Ct(e){const{width:t,height:n}=e.getBoundingClientRect(),o=Me(e),r=o[0].x,s=Math.min(o[0].y,o[1].y);return{x:r,y:s,width:t,height:n}}function Ot(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let r=[0,0];try{r=d3Pointer(o||e,t)}catch(s){}return r.map(s=>isNaN(s)?0:s)}function Ie(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let r;return t&&t.type==="brush"?r=t.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Pt(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Rt(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,r=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(r):r}function Y(e,t,n,o,r){if(n>o)return-1;const s=Math.floor((n+o)/2);let{x:a,w:i=0}=e[s];return r&&(a=e[s].y,i=e[s].h),t>=a&&t<=a+i?s:t{if($(n)&&n.constructor){const o=new n.constructor;for(const r in n)o[r]=t(n[r]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>B(B({},n),o))}function De(e={},t){R(t)&&t.forEach(n=>De(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Lt=e=>e.charAt(0).toUpperCase()+e.slice(1);function jt(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const Ne=e=>[].slice.call(e);function Mt(e,t,n){const{rootSelector:o="",sheet:r}=e,a=`${o} ${(i=>i.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](a,r.cssRules.length)}function It(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Ne(n.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Dt(e){var t,n,o,r;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((r=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?r:0)+e.scrollTop}}function Nt(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ft(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,s)=>s.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function qt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function A(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return $(e)&&$(n)&&Object.keys(n).forEach(o=>{const r=n[o];$(r)?(!e[o]&&(e[o]={}),e[o]=A(e[o],r)):e[o]=R(r)?r.concat():r}),A(e,...t)}function Fe(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,r)=>o-r:(o,r)=>r-o:t&&!e.every(isNaN)?n=(o,r)=>o-r:t||(n=(o,r)=>o>r&&-1||oje(o));return n.length?O(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Fe(n,e==="min")[0]):n=void 0,n}const qe=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const s=Pe.createEvent("MouseEvent");s.initMouseEvent(o,r.bubbles,r.cancelable,v,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const o=new Touch(A({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function Xt(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function Be(e){var t;let n;if(e instanceof Date)n=e;else if(x(e)){const{config:o,format:r}=this;n=(t=r.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else O(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Gt(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let s=!1;if(t)if(r&&"maxTouchPoints"in r)s=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(o!=null&&o("(pointer:coarse)").matches)s=!0;else{const i=r.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(i)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(i)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Ue(e,t){t()===!1?requestAnimationFrame(()=>Ue(e,t)):e()}function Xe(e){const t=this.config;let n,o,r;const s=()=>{const a=o.shift();if(a&&n&&P(n)&&a in n)return n=n[a],s();if(!a)return n};Object.keys(t).forEach(a=>{n=e,o=a.split("_"),r=s(),U(r)&&(t[a]=r)}),this.api&&(this.state.orgConfig=e)}var Ye=Object.defineProperty,Ge=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t,n)=>Ge(e,typeof t!="symbol"?t+"":t,n);class G{constructor(t={}){T(this,"$$"),T(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}T(G,"version","3.12.4-nightly-20240731004602");var Ve=h(996),ke=h(390),p={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},ze=Object.defineProperty,He=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){V(this,"owner"),V(this,"colorScale"),this.owner=t}drawColorScale(){const{$$:t,config:n}=this.owner,o=t.data.targets[0],r=t.state.height-n.padding_bottom-n.padding_top,s=n.scale_width,a=5,i=qe(n.padding_bottom,r,a),d=(0,E.scaleSequential)(o.colors).domain([i[i.length-1],i[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=t.$el.svg.append("g").attr("width",50).attr("height",r).attr("class",p.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${n.padding_top})`).selectAll("bars").data(i).enter().append("rect").attr("y",(m,at)=>at*a).attr("x",0).attr("width",s).attr("height",a).attr("fill",m=>d(m));const b=(0,E.scaleSymlog)().domain([o.minEpochs,o.maxEpochs]).range([i[0]+n.padding_top+i[i.length-1]+a-1,i[0]+n.padding_top]),c=(0,Ve.axisRight)(b),l=n.scale_format;l==="pow10"?c.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):C(l)?c.tickFormat(l):c.tickFormat((0,ke.format)("d"));const g=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${s},0)`).call(c);l==="pow10"&&g.selectAll(".tick text").text(null).filter(m=>m/Math.pow(10,Math.ceil(Math.log(m)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(m=>Math.round(Math.log(m)/Math.LN10)),this.colorScale.attr("transform",`translate(${t.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function We(e,t){const n=e.x,o=e.value;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(b-i)*(o-d)/(c-d)+i&&(r=!r)}return r}function Ze(e,t){return e.epochst.epochs?1:0}function Je(e){let t=0,n,o;for(let r=0,s=e.length,a=s-1;rt in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t,n)=>et(e,typeof t!="symbol"?t+"":t,n);class nt{constructor(t){tt(this,"owner"),this.owner=t;const n=t.$$.$el.main.select(".bb-chart").append("g").attr("class",p.stanfordElements);n.append("g").attr("class",p.stanfordLines),n.append("g").attr("class",p.stanfordRegions)}updateStanfordLines(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=r.select(`.${p.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${p.stanfordLine}`).data(this.owner.config.lines);d.exit().transition().duration(t).style("opacity","0").remove();const b=d.enter().append("g");b.append("line").style("opacity","0"),b.merge(d).attr("class",c=>p.stanfordLine+(c.class?` ${c.class}`:"")).select("line").transition().duration(t).attr("x1",c=>s?i(c,"y1"):a(c,"x1")).attr("x2",c=>s?i(c,"y2"):a(c,"x2")).attr("y1",c=>s?a(c,"x1"):i(c,"y1")).attr("y2",c=>s?a(c,"x2"):i(c,"y2")).transition().style("opacity",null)}updateStanfordRegions(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=this.owner.countEpochsInRegion.bind(n);let b=r.select(`.${p.stanfordRegions}`).selectAll(`.${p.stanfordRegion}`).data(this.owner.config.regions);b.exit().transition().duration(t).style("opacity","0").remove();const c=b.enter().append("g");c.append("polygon").style("opacity","0"),c.append("text").attr("transform",s?"rotate(-90)":"").style("opacity","0"),b=c.merge(b),b.attr("class",l=>p.stanfordRegion+(l.class?` ${l.class}`:"")).select("polygon").transition().duration(t).attr("points",l=>l.points.map(g=>[s?i(g,"y"):a(g,"x"),s?a(g,"x"):i(g,"y")].join(",")).join(" ")).transition().style("opacity",l=>String(l.opacity?l.opacity:.2)),b.select("text").transition().duration(t).attr("x",l=>s?i(w(l.points),"y"):a(w(l.points),"x")).attr("y",l=>s?a(w(l.points),"x"):i(w(l.points),"y")).text(l=>{if(l.text){const{value:g,percentage:m}=d(l.points);return l.text(g,m)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(t=0){this.updateStanfordLines(t),this.updateStanfordRegions(t)}xvCustom(t,n){const o=this,{axis:r,config:s}=o;let a=n?t[n]:o.getBaseValue(t);return r.isTimeSeries()?a=Be.call(o,a):r.isCategorized()&&x(a)&&(a=s.axis_x_categories.indexOf(t.value)),Math.ceil(o.scale.x(a))}yvCustom(t,n){const o=this,r=t.axis&&t.axis==="y2"?o.scale.y2:o.scale.y,s=n?t[n]:o.getBaseValue(t);return Math.ceil(r(s))}}class k{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var ot=Object.defineProperty,rt=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends G{constructor(t){return super(t),L(this,"config"),L(this,"colorScale"),L(this,"elements"),this.config=new k,this}$beforeInit(){const{$$:t}=this;t.config.data_xSort=!1,t.isMultipleX=()=>!0,t.showGridFocus=()=>{},t.labelishData=o=>o.values,t.opacityForCircle=()=>1;const n=t.getCurrentPadding.bind(t);t.getCurrentPadding=()=>{const o=n();return o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,o}}$init(){const{$$:t}=this;Xe.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new Ke(this),this.elements=new nt(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),t.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(t){var n,o;(n=this.colorScale)==null||n.drawColorScale(),(o=this.elements)==null||o.updateStanfordElements(t)}getOptions(){return new k}convertData(){const t=this.$$.data.targets,n=this.options.epochs;t.forEach(o=>{o.values.forEach((r,s)=>{r.epochs=n[s]}),o.minEpochs=void 0,o.maxEpochs=void 0,o.colors=void 0,o.colorscale=void 0})}initStanfordData(){const{config:t}=this,n=this.$$.data.targets[0];n.values.sort(Ze);const o=n.values.map(r=>r.epochs);n.minEpochs=isNaN(t.scale_min)?Math.min(...o):t.scale_min,n.maxEpochs=isNaN(t.scale_max)?Math.max(...o):t.scale_max,n.colors=C(t.colors)?t.colors:(0,J.interpolateHslLong)((0,I.hsl)(250,1,.5),(0,I.hsl)(0,1,.5)),n.colorscale=(0,E.scaleSequentialLog)(n.colors).domain([n.minEpochs,n.maxEpochs])}getStanfordPointColor(t){return this.data.targets[0].colorscale(t.epochs)}setStanfordTooltip(){const{config:t}=this.$$;X(t.tooltip_contents)&&(t.tooltip_contents=function(n,o,r,s){const{data_x:a}=t;let i=`
`;return n.forEach(d=>{const{id:b="",value:c=0,epochs:l=0,x:g=""}=d;i+=` diff --git a/dist/plugin/billboardjs-plugin-tableview.js b/dist/plugin/billboardjs-plugin-tableview.js index 7538184cd..c2695498c 100644 --- a/dist/plugin/billboardjs-plugin-tableview.js +++ b/dist/plugin/billboardjs-plugin-tableview.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -596,7 +596,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/tableview/const.ts diff --git a/dist/plugin/billboardjs-plugin-tableview.min.js b/dist/plugin/billboardjs-plugin-tableview.min.js index ed9743a6c..3129d00df 100644 --- a/dist/plugin/billboardjs-plugin-tableview.min.js +++ b/dist/plugin/billboardjs-plugin-tableview.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(c,u){typeof exports=="object"&&typeof module=="object"?module.exports=u(require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-brush","d3-selection"],u):typeof exports=="object"?exports.bb=u(require("d3-brush"),require("d3-selection")):(c.bb=c.bb||{},c.bb.plugin=c.bb.plugin||{},c.bb.plugin.tableview=u(c.d3,c.d3))})(this,function(j,c){return function(){"use strict";var u={853:function(e){e.exports=j},747:function(e){e.exports=c}},C={};function a(e){var t=C[e];if(t!==void 0)return t.exports;var n=C[e]={exports:{}};return u[e](n,n.exports,a),n.exports}(function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var p={};a.d(p,{default:function(){return fe}});var he=a(853),be=a(747);function R(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function q(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=r=>setTimeout(r,1),i=r=>clearTimeout(r);return[t?e.requestAnimationFrame:o,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:o,n?e.cancelIdleCallback:i]}const m=R(),V=m==null?void 0:m.document,[pe,me,ge,_e]=q(m);var L=Object.defineProperty,S=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,M=(e,t,n)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))U.call(t,n)&&M(e,n,t[n]);if(S)for(var n of S(t))z.call(t,n)&&M(e,n,t[n]);return e};const ve=e=>e||e===0,X=e=>typeof e=="function",g=e=>typeof e=="string",_=e=>typeof e=="number",Y=e=>typeof e=="undefined",A=e=>typeof e!="undefined",ye=e=>typeof e=="boolean",we=e=>Math.ceil(e/10)*10,Oe=e=>Math.ceil(e)+.5,xe=e=>e[1]-e[0],O=e=>typeof e=="object",H=e=>Y(e)||e===null||g(e)&&e.length===0||O(e)&&!(e instanceof Date)&&Object.keys(e).length===0||_(e)&&isNaN(e),k=e=>!H(e),x=e=>Array.isArray(e),v=e=>e&&!(e!=null&&e.nodeType)&&O(e)&&!x(e);function Ee(e,t,n){return A(e[t])?e[t]:n}function Pe(e,t){let n=!1;return Object.keys(e).forEach(o=>e[o]===t&&(n=!0)),n}function $e(e,t,...n){const o=X(e);return o&&e.call(t,...n),o}function Te(e,t){let n=0;const o=function(...i){!--n&&t.apply(this,...i)};"duration"in e?e.each(()=>++n).on("end",o):(++n,e.call(o))}function je(e){return g(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Ce(e,t,n=[-1,1],o=!1){if(!(!e||!g(t)))if(t.indexOf(` `)===-1)e.text(t);else{const i=[e.text(),t].map(r=>r.replace(/[\s\n]/g,""));if(i[0]!==i[1]){const r=t.split(` -`),l=o?r.length-1:1;e.html(""),r.forEach((s,T)=>{e.append("tspan").attr("x",0).attr("dy",`${T===0?n[0]*l:n[1]}em`).text(s)})}}}function G(e){const{x:t,y:n,width:o,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+i}]}function Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),i=o[0].x,r=Math.min(o[0].y,o[1].y);return{x:i,y:r,width:t,height:n}}function Me(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(o||e,t)}catch(r){}return i.map(r=>isNaN(r)?0:r)}function K(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:o&&(i=o.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function De(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ae(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,i=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function N(e,t,n,o,i){if(n>o)return-1;const r=Math.floor((n+o)/2);let{x:l,w:s=0}=e[r];return i&&(l=e[r].y,s=e[r].h),t>=l&&t<=l+s?r:t{if(v(n)&&n.constructor){const o=new n.constructor;for(const i in n)o[i]=t(n[i]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>D(D({},n),o))}function W(e={},t){x(t)&&t.forEach(n=>W(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Fe=e=>e.charAt(0).toUpperCase()+e.slice(1);function Be(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const J=e=>[].slice.call(e);function Re(e,t,n){const{rootSelector:o="",sheet:i}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](l,i.cssRules.length)}function qe(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(J(n.cssRules)))}catch(i){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function Ve(e){var t,n,o,i;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((i=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?i:0)+e.scrollTop}}function Le(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ue(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,i,r)=>r.indexOf(o)===i);return t?n.map(o=>new Date(o)):n}function ze(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function E(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(o=>{const i=n[o];v(i)?(!e[o]&&(e[o]={}),e[o]=E(e[o],i)):e[o]=x(i)?i.concat():i}),E(e,...t)}function Q(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,i)=>o-i:(o,i)=>i-o:t&&!e.every(isNaN)?n=(o,i)=>o-i:t||(n=(o,i)=>o>i&&-1||ok(o));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Q(n,e==="min")[0]):n=void 0,n}const Ye=(e,t,n=1)=>{const o=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let r=e;r{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,i=e())=>{const r=V.createEvent("MouseEvent");r.initMouseEvent(o,i.bubbles,i.cancelable,m,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}}})(),touch:(e,t,n)=>{const o=new Touch(E({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function y(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function ke(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:i}=this;n=(t=i.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Ge(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Ke(e,t){const{DocumentTouch:n,matchMedia:o,navigator:i}=window;let r=!1;if(t)if(i&&"maxTouchPoints"in i)r=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)r=!0;else if(o!=null&&o("(pointer:coarse)").matches)r=!0;else{const s=i.userAgent;r=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(s)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(s)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||r&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,i;const r=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],r();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),i=r(),A(i)&&(t[l]=i)}),this.api&&(this.state.orgConfig=e)}var te=Object.defineProperty,ne=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t,n)=>ne(e,typeof t!="symbol"?t+"":t,n);class I{constructor(t={}){P(this,"$$"),P(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}P(I,"version","3.12.4-nightly-20240727004635");const f={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),l=o?r.length-1:1;e.html(""),r.forEach((s,T)=>{e.append("tspan").attr("x",0).attr("dy",`${T===0?n[0]*l:n[1]}em`).text(s)})}}}function G(e){const{x:t,y:n,width:o,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+i}]}function Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),i=o[0].x,r=Math.min(o[0].y,o[1].y);return{x:i,y:r,width:t,height:n}}function Me(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(o||e,t)}catch(r){}return i.map(r=>isNaN(r)?0:r)}function K(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:o&&(i=o.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function De(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ae(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,i=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function N(e,t,n,o,i){if(n>o)return-1;const r=Math.floor((n+o)/2);let{x:l,w:s=0}=e[r];return i&&(l=e[r].y,s=e[r].h),t>=l&&t<=l+s?r:t{if(v(n)&&n.constructor){const o=new n.constructor;for(const i in n)o[i]=t(n[i]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>D(D({},n),o))}function W(e={},t){x(t)&&t.forEach(n=>W(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Fe=e=>e.charAt(0).toUpperCase()+e.slice(1);function Be(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const J=e=>[].slice.call(e);function Re(e,t,n){const{rootSelector:o="",sheet:i}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](l,i.cssRules.length)}function qe(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(J(n.cssRules)))}catch(i){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function Ve(e){var t,n,o,i;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+e.scrollLeft,y:((i=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?i:0)+e.scrollTop}}function Le(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ue(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,i,r)=>r.indexOf(o)===i);return t?n.map(o=>new Date(o)):n}function ze(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function E(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(o=>{const i=n[o];v(i)?(!e[o]&&(e[o]={}),e[o]=E(e[o],i)):e[o]=x(i)?i.concat():i}),E(e,...t)}function Q(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,i)=>o-i:(o,i)=>i-o:t&&!e.every(isNaN)?n=(o,i)=>o-i:t||(n=(o,i)=>o>i&&-1||ok(o));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Q(n,e==="min")[0]):n=void 0,n}const Ye=(e,t,n=1)=>{const o=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let r=e;r{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,i=e())=>{const r=V.createEvent("MouseEvent");r.initMouseEvent(o,i.bubbles,i.cancelable,m,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}}})(),touch:(e,t,n)=>{const o=new Touch(E({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function y(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function ke(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:i}=this;n=(t=i.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Ge(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Ke(e,t){const{DocumentTouch:n,matchMedia:o,navigator:i}=window;let r=!1;if(t)if(i&&"maxTouchPoints"in i)r=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)r=!0;else if(o!=null&&o("(pointer:coarse)").matches)r=!0;else{const s=i.userAgent;r=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(s)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(s)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||r&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,i;const r=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],r();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),i=r(),A(i)&&(t[l]=i)}),this.api&&(this.state.orgConfig=e)}var te=Object.defineProperty,ne=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t,n)=>ne(e,typeof t!="symbol"?t+"":t,n);class I{constructor(t={}){P(this,"$$"),P(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}P(I,"version","3.12.4-nightly-20240731004602");const f={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { border-collapse:collapse; border-spacing:0; background:#fff; diff --git a/dist/plugin/billboardjs-plugin-textoverlap.js b/dist/plugin/billboardjs-plugin-textoverlap.js index d05825184..645c2fec8 100644 --- a/dist/plugin/billboardjs-plugin-textoverlap.js +++ b/dist/plugin/billboardjs-plugin-textoverlap.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -615,7 +615,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts class Options { diff --git a/dist/plugin/billboardjs-plugin-textoverlap.min.js b/dist/plugin/billboardjs-plugin-textoverlap.min.js index 87ecadb62..2429e32ac 100644 --- a/dist/plugin/billboardjs-plugin-textoverlap.min.js +++ b/dist/plugin/billboardjs-plugin-textoverlap.min.js @@ -5,9 +5,9 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(l,u){typeof exports=="object"&&typeof module=="object"?module.exports=u(require("d3-delaunay"),require("d3-polygon"),require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-brush","d3-selection"],u):typeof exports=="object"?exports.bb=u(require("d3-delaunay"),require("d3-polygon"),require("d3-brush"),require("d3-selection")):(l.bb=l.bb||{},l.bb.plugin=l.bb.plugin||{},l.bb.plugin.textoverlap=u(l.d3,l.d3,l.d3,l.d3))})(this,function(w,l,u,C){return function(){"use strict";var D={853:function(e){e.exports=u},348:function(e){e.exports=w},263:function(e){e.exports=l},747:function(e){e.exports=C}},O={};function a(e){var n=O[e];if(n!==void 0)return n.exports;var t=O[e]={exports:{}};return D[e](t,t.exports,a),t.exports}(function(){a.d=function(e,n){for(var t in n)a.o(n,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}})(),function(){a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}();var d={};a.d(d,{default:function(){return oe}});var q=a(348),P=a(263),fe=a(853),de=a(747);function R(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function F(e){const n=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",t=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=i=>setTimeout(i,1),r=i=>clearTimeout(i);return[n?e.requestAnimationFrame:o,n?e.cancelAnimationFrame:r,t?e.requestIdleCallback:o,t?e.cancelIdleCallback:r]}const p=R(),I=p==null?void 0:p.document,[pe,he,be,me]=F(p);var S=Object.defineProperty,E=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,$=(e,n,t)=>n in e?S(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,j=(e,n)=>{for(var t in n||(n={}))B.call(n,t)&&$(e,t,n[t]);if(E)for(var t of E(n))N.call(n,t)&&$(e,t,n[t]);return e};const _e=e=>e||e===0,V=e=>typeof e=="function",h=e=>typeof e=="string",m=e=>typeof e=="number",U=e=>typeof e=="undefined",A=e=>typeof e!="undefined",ge=e=>typeof e=="boolean",ye=e=>Math.ceil(e/10)*10,ve=e=>Math.ceil(e)+.5,xe=e=>e[1]-e[0],_=e=>typeof e=="object",X=e=>U(e)||e===null||h(e)&&e.length===0||_(e)&&!(e instanceof Date)&&Object.keys(e).length===0||m(e)&&isNaN(e),Y=e=>!X(e),g=e=>Array.isArray(e),b=e=>e&&!(e!=null&&e.nodeType)&&_(e)&&!g(e);function we(e,n,t){return A(e[n])?e[n]:t}function Oe(e,n){let t=!1;return Object.keys(e).forEach(o=>e[o]===n&&(t=!0)),t}function Pe(e,n,...t){const o=V(e);return o&&e.call(n,...t),o}function Ee(e,n){let t=0;const o=function(...r){!--t&&n.apply(this,...r)};"duration"in e?e.each(()=>++t).on("end",o):(++t,e.call(o))}function $e(e){return h(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function je(e,n,t=[-1,1],o=!1){if(!(!e||!h(n)))if(n.indexOf(` `)===-1)e.text(n);else{const r=[e.text(),n].map(i=>i.replace(/[\s\n]/g,""));if(r[0]!==r[1]){const i=n.split(` -`),s=o?i.length-1:1;e.html(""),i.forEach((c,x)=>{e.append("tspan").attr("x",0).attr("dy",`${x===0?t[0]*s:t[1]}em`).text(c)})}}}function L(e){const{x:n,y:t,width:o,height:r}=e.getBBox();return[{x:n,y:t+r},{x:n,y:t},{x:n+o,y:t},{x:n+o,y:t+r}]}function Ae(e){const{width:n,height:t}=e.getBoundingClientRect(),o=L(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,width:n,height:t}}function Me(e,n){var t;const o=e&&((t=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:t[0]);let r=[0,0];try{r=d3Pointer(o||e,n)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function z(e){const{event:n,$el:t}=e,o=t.subchart.main||t.main;let r;return n&&n.type==="brush"?r=n.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Te(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ce(e=!0,n=0,t=1e4){const o=window.crypto||window.msCrypto,r=o?n+o.getRandomValues(new Uint32Array(1))[0]%(t-n+1):Math.floor(Math.random()*(t-n)+n);return e?String(r):r}function M(e,n,t,o,r){if(t>o)return-1;const i=Math.floor((t+o)/2);let{x:s,w:c=0}=e[i];return r&&(s=e[i].y,c=e[i].h),n>=s&&n<=s+c?i:n{if(b(t)&&t.constructor){const o=new t.constructor;for(const r in t)o[r]=n(t[r]);return o}return t};return e.map(t=>n(t)).reduce((t,o)=>j(j({},t),o))}function G(e={},n){g(n)&&n.forEach(t=>G(e,t));for(const t in n)/^\d+$/.test(t)||t in e||(e[t]=n[t]);return e}const Re=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(e,n="-"){return e.split(n).map((t,o)=>o?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()).join("")}const H=e=>[].slice.call(e);function Ie(e,n,t){const{rootSelector:o="",sheet:r}=e,s=`${o} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(n)} {${t.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](s,r.cssRules.length)}function Se(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(H(t.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${t.href}: ${r.toString()}`)}}),n}function Be(e){var n,t,o,r;return{x:((t=(n=window.pageXOffset)!=null?n:window.scrollX)!=null?t:0)+e.scrollLeft,y:((r=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?r:0)+e.scrollTop}}function Ne(e){const n=e?e.transform:null,t=n&&n.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ve(e){const n=e[0]instanceof Date,t=(n?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return n?t.map(o=>new Date(o)):t}function Ue(e){return e&&e.length?e.reduce((n,t)=>n.concat(t)):[]}function y(e,...n){if(!n.length||n.length===1&&!n[0])return e;const t=n.shift();return b(e)&&b(t)&&Object.keys(t).forEach(o=>{const r=t[o];b(r)?(!e[o]&&(e[o]={}),e[o]=y(e[o],r)):e[o]=g(r)?r.concat():r}),y(e,...n)}function K(e,n=!0){let t;return e[0]instanceof Date?t=n?(o,r)=>o-r:(o,r)=>r-o:n&&!e.every(isNaN)?t=(o,r)=>o-r:n||(t=(o,r)=>o>r&&-1||oY(o));return t.length?m(t[0])?t=Math[e](...t):t[0]instanceof Date&&(t=K(t,e==="min")[0]):t=void 0,t}const Ye=(e,n,t=1)=>{const o=[],r=Math.max(0,Math.ceil((n-e)/t))|0;for(let i=e;i{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(n,t,o=e())=>{n.dispatchEvent(new MouseEvent(t,o))}}catch(n){return(t,o,r=e())=>{const i=I.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,p,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}})(),touch:(e,n,t)=>{const o=new Touch(y({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},t));e.dispatchEvent(new TouchEvent(n,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function ze(e,n){let t=e;for(const o in n)t=t.replace(new RegExp(`{=${o}}`,"g"),n[o]);return t}function Ge(e){var n;let t;if(e instanceof Date)t=e;else if(h(e)){const{config:o,format:r}=this;t=(n=r.dataTime(o.data_xFormat)(e))!=null?n:new Date(e)}else m(e)&&!isNaN(e)&&(t=new Date(+e));return(!t||isNaN(+t))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),t}function He(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Ke(e,n){const{DocumentTouch:t,matchMedia:o,navigator:r}=window;let i=!1;if(n)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||t&&document instanceof t)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const c=r.userAgent;i=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||i&&"touch"||"mouse"}function W(e,n){n()===!1?requestAnimationFrame(()=>W(e,n)):e()}function k(e){const n=this.config;let t,o,r;const i=()=>{const s=o.shift();if(s&&t&&_(t)&&s in t)return t=t[s],i();if(!s)return t};Object.keys(n).forEach(s=>{t=e,o=s.split("_"),r=i(),A(r)&&(n[s]=r)}),this.api&&(this.state.orgConfig=e)}var J=Object.defineProperty,Q=(e,n,t)=>n in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,v=(e,n,t)=>Q(e,typeof n!="symbol"?n+"":n,t);class T{constructor(n={}){v(this,"$$"),v(this,"options"),this.options=n}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(n=>{this[n]=null,delete this[n]})}}v(T,"version","3.12.4-nightly-20240727004635");class Z{constructor(){return{selector:void 0,extent:1,area:0}}}var ee=Object.defineProperty,te=(e,n,t)=>n in e?ee(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ne=(e,n,t)=>te(e,typeof n!="symbol"?n+"":n,t);class oe extends T{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){k.call(this,this.options)}$redraw(){const{$$:{$el:n},config:{selector:t}}=this,o=t?n.main.selectAll(t):n.text;!o.empty()&&this.preventLabelOverlap(o)}generateVoronoi(n){const{$$:t}=this,{scale:o}=t,[r,i]=["x","y"].map(s=>o[s].domain());return[r[1],i[0]]=[i[0],r[1]],q.Delaunay.from(n).voronoi([...r,...i])}preventLabelOverlap(n){const{extent:t,area:o}=this.config,r=n.data().map(c=>[c.index,c.value]),i=this.generateVoronoi(r);let s=0;n.each(function(){const c=i.cellPolygon(s);if(c&&this){const[x,re]=r[s],[ie,se]=(0,P.polygonCentroid)(c),ce=Math.abs((0,P.polygonArea)(c)),f=Math.round(Math.atan2(se-re,ie-x)/Math.PI*2),le=t*(f===0?1:-1),ae=f===-1?-t:t+5,ue=Math.abs(f)===1?"middle":f===0?"start":"end";this.style.display=ce{e.append("tspan").attr("x",0).attr("dy",`${x===0?t[0]*s:t[1]}em`).text(c)})}}}function L(e){const{x:n,y:t,width:o,height:r}=e.getBBox();return[{x:n,y:t+r},{x:n,y:t},{x:n+o,y:t},{x:n+o,y:t+r}]}function Ae(e){const{width:n,height:t}=e.getBoundingClientRect(),o=L(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,width:n,height:t}}function Me(e,n){var t;const o=e&&((t=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:t[0]);let r=[0,0];try{r=d3Pointer(o||e,n)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function z(e){const{event:n,$el:t}=e,o=t.subchart.main||t.main;let r;return n&&n.type==="brush"?r=n.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Te(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ce(e=!0,n=0,t=1e4){const o=window.crypto||window.msCrypto,r=o?n+o.getRandomValues(new Uint32Array(1))[0]%(t-n+1):Math.floor(Math.random()*(t-n)+n);return e?String(r):r}function M(e,n,t,o,r){if(t>o)return-1;const i=Math.floor((t+o)/2);let{x:s,w:c=0}=e[i];return r&&(s=e[i].y,c=e[i].h),n>=s&&n<=s+c?i:n{if(b(t)&&t.constructor){const o=new t.constructor;for(const r in t)o[r]=n(t[r]);return o}return t};return e.map(t=>n(t)).reduce((t,o)=>j(j({},t),o))}function G(e={},n){g(n)&&n.forEach(t=>G(e,t));for(const t in n)/^\d+$/.test(t)||t in e||(e[t]=n[t]);return e}const Re=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(e,n="-"){return e.split(n).map((t,o)=>o?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()).join("")}const H=e=>[].slice.call(e);function Ie(e,n,t){const{rootSelector:o="",sheet:r}=e,s=`${o} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(n)} {${t.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](s,r.cssRules.length)}function Se(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(H(t.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${t.href}: ${r.toString()}`)}}),n}function Be(e){var n,t,o,r;return{x:((t=(n=window.pageXOffset)!=null?n:window.scrollX)!=null?t:0)+e.scrollLeft,y:((r=(o=window.pageYOffset)!=null?o:window.scrollY)!=null?r:0)+e.scrollTop}}function Ne(e){const n=e?e.transform:null,t=n&&n.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ve(e){const n=e[0]instanceof Date,t=(n?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return n?t.map(o=>new Date(o)):t}function Ue(e){return e&&e.length?e.reduce((n,t)=>n.concat(t)):[]}function y(e,...n){if(!n.length||n.length===1&&!n[0])return e;const t=n.shift();return b(e)&&b(t)&&Object.keys(t).forEach(o=>{const r=t[o];b(r)?(!e[o]&&(e[o]={}),e[o]=y(e[o],r)):e[o]=g(r)?r.concat():r}),y(e,...n)}function K(e,n=!0){let t;return e[0]instanceof Date?t=n?(o,r)=>o-r:(o,r)=>r-o:n&&!e.every(isNaN)?t=(o,r)=>o-r:n||(t=(o,r)=>o>r&&-1||oY(o));return t.length?m(t[0])?t=Math[e](...t):t[0]instanceof Date&&(t=K(t,e==="min")[0]):t=void 0,t}const Ye=(e,n,t=1)=>{const o=[],r=Math.max(0,Math.ceil((n-e)/t))|0;for(let i=e;i{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(n,t,o=e())=>{n.dispatchEvent(new MouseEvent(t,o))}}catch(n){return(t,o,r=e())=>{const i=I.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,p,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}})(),touch:(e,n,t)=>{const o=new Touch(y({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},t));e.dispatchEvent(new TouchEvent(n,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function ze(e,n){let t=e;for(const o in n)t=t.replace(new RegExp(`{=${o}}`,"g"),n[o]);return t}function Ge(e){var n;let t;if(e instanceof Date)t=e;else if(h(e)){const{config:o,format:r}=this;t=(n=r.dataTime(o.data_xFormat)(e))!=null?n:new Date(e)}else m(e)&&!isNaN(e)&&(t=new Date(+e));return(!t||isNaN(+t))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),t}function He(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Ke(e,n){const{DocumentTouch:t,matchMedia:o,navigator:r}=window;let i=!1;if(n)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||t&&document instanceof t)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const c=r.userAgent;i=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||i&&"touch"||"mouse"}function W(e,n){n()===!1?requestAnimationFrame(()=>W(e,n)):e()}function k(e){const n=this.config;let t,o,r;const i=()=>{const s=o.shift();if(s&&t&&_(t)&&s in t)return t=t[s],i();if(!s)return t};Object.keys(n).forEach(s=>{t=e,o=s.split("_"),r=i(),A(r)&&(n[s]=r)}),this.api&&(this.state.orgConfig=e)}var J=Object.defineProperty,Q=(e,n,t)=>n in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,v=(e,n,t)=>Q(e,typeof n!="symbol"?n+"":n,t);class T{constructor(n={}){v(this,"$$"),v(this,"options"),this.options=n}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(n=>{this[n]=null,delete this[n]})}}v(T,"version","3.12.4-nightly-20240731004602");class Z{constructor(){return{selector:void 0,extent:1,area:0}}}var ee=Object.defineProperty,te=(e,n,t)=>n in e?ee(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ne=(e,n,t)=>te(e,typeof n!="symbol"?n+"":n,t);class oe extends T{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){k.call(this,this.options)}$redraw(){const{$$:{$el:n},config:{selector:t}}=this,o=t?n.main.selectAll(t):n.text;!o.empty()&&this.preventLabelOverlap(o)}generateVoronoi(n){const{$$:t}=this,{scale:o}=t,[r,i]=["x","y"].map(s=>o[s].domain());return[r[1],i[0]]=[i[0],r[1]],q.Delaunay.from(n).voronoi([...r,...i])}preventLabelOverlap(n){const{extent:t,area:o}=this.config,r=n.data().map(c=>[c.index,c.value]),i=this.generateVoronoi(r);let s=0;n.each(function(){const c=i.cellPolygon(s);if(c&&this){const[x,re]=r[s],[ie,se]=(0,P.polygonCentroid)(c),ce=Math.abs((0,P.polygonArea)(c)),f=Math.round(Math.atan2(se-re,ie-x)/Math.PI*2),le=t*(f===0?1:-1),ae=f===-1?-t:t+5,ue=Math.abs(f)===1?"middle":f===0?"start":"end";this.style.display=ce=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr=0;)(Et=it[_])&&(dt&&Et.compareDocumentPosition(dt)^4&&dt.parentNode.insertBefore(Et,dt),dt=Et);return this}function K(R){R||(R=H);function M(tr,sr){return tr&&sr?R(tr.__data__,sr.__data__):!tr-!sr}for(var Z=this._groups,it=Z.length,_=new Array(it),dt=0;dtM?1:R>=M?0:NaN}function Q(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function X(){return Array.from(this)}function st(){for(var R=this._groups,M=0,Z=R.length;M=0&&(M=R.slice(0,Z))!=="xmlns"&&(R=R.slice(Z+1)),Lt.hasOwnProperty(M)?{space:Lt[M],local:R}:R}function Ct(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function vt(R,M){return function(){this.setAttribute(R,M)}}function St(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Rt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttribute(R):this.setAttribute(R,Z)}}function Tt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,Z)}}function Nt(R,M){var Z=Dt(R);if(arguments.length<2){var it=this.node();return Z.local?it.getAttributeNS(Z.space,Z.local):it.getAttribute(Z)}return this.each((M==null?Z.local?at:Ct:typeof M=="function"?Z.local?Tt:Rt:Z.local?St:vt)(Z,M))}function Ht(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Wt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,Z){return function(){this.style.setProperty(R,M,Z)}}function Pt(R,M,Z){return function(){var it=M.apply(this,arguments);it==null?this.style.removeProperty(R):this.style.setProperty(R,it,Z)}}function Vt(R,M,Z){return arguments.length>1?this.each((M==null?Wt:typeof M=="function"?Pt:bt)(R,M,Z==null?"":Z)):$t(this.node(),R)}function $t(R,M){return R.style.getPropertyValue(M)||Ht(R).getComputedStyle(R,null).getPropertyValue(M)}function Mt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function ut(R,M){return function(){var Z=M.apply(this,arguments);Z==null?delete this[R]:this[R]=Z}}function J(R,M){return arguments.length>1?this.each((M==null?Mt:typeof M=="function"?ut:q)(R,M)):this.node()[R]}function yt(R){return R.trim().split(/^|\s+/)}function pt(R){return R.classList||new ct(R)}function ct(R){this._node=R,this._names=yt(R.getAttribute("class")||"")}ct.prototype={add:function(R){var M=this._names.indexOf(R);M<0&&(this._names.push(R),this._node.setAttribute("class",this._names.join(" ")))},remove:function(R){var M=this._names.indexOf(R);M>=0&&(this._names.splice(M,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(R){return this._names.indexOf(R)>=0}};function ft(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.add(M[it])}function zt(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.remove(M[it])}function Yt(R){return function(){ft(this,R)}}function W(R){return function(){zt(this,R)}}function k(R,M){return function(){(M.apply(this,arguments)?ft:zt)(this,R)}}function tt(R,M){var Z=yt(R+"");if(arguments.length<2){for(var it=pt(this.node()),_=-1,dt=Z.length;++_=0&&(Z=M.slice(it+1),M=M.slice(0,it)),{type:M,name:Z}})}function kt(R){return function(){var M=this.__on;if(M){for(var Z=0,it=-1,_=M.length,dt;Z<_;++Z)dt=M[Z],(!R.type||dt.type===R.type)&&dt.name===R.name?this.removeEventListener(dt.type,dt.listener,dt.options):M[++it]=dt;++it?M.length=it:delete this.__on}}}function qt(R,M,Z){return function(){var it=this.__on,_,dt=Er(M);if(it){for(var Et=0,It=it.length;EtM in R?_t(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Jt=(R,M,Z)=>nt(R,typeof M!="symbol"?M+"":M,Z);class er{constructor(M={}){Jt(this,"$$"),Jt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}Jt(er,"version","3.12.4-nightly-20240727004635");var Ir=Object.defineProperty,Nr=(R,M,Z)=>M in R?Ir(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Tr=(R,M,Z)=>Nr(R,typeof M!="symbol"?M+"":M,Z);const yr=class jr extends er{constructor(M){return super(M),Tr(this,"$$"),this}$init(){const{$$:M}=this;M.findClosest=this.findClosest.bind(this),M.getBubbleR=this.getBubbleR.bind(this),M.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(M){const Z=this.getBubbleR(M),{expandScale:it=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),Z*it}static raiseFocusedBubbleLayer(M){M.raise&&wt(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,Z){const{$$:it}=this;return M.filter(_=>_&&!it.isBarType(_.id)).reduce((_,dt)=>it.dist(dt,Z){const tr=this.getZData(Kt.values[0]);return[Math.min(Ft,tr),Math.max(Gt,tr)]},[1e4,0]),It=dt>0&&Et===dt?0:_/Et;return Math.abs(It)*(it-Z)+Z}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Tr(yr,"version","0.0.1");let br=yr},85156:function(s,l,t){var r=t(23583),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},80042:function(s,l,t){var r=t(11051),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},53408:function(s,l,t){var r=t(52427),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},76602:function(s,l,t){var r=t(172).has;s.exports=function(n){return r(n),n}},23811:function(s,l,t){var r=t(18565),n=t(5406),e=t(7831).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),s.exports=function(u){o[a][u]=!0}},24487:function(s,l,t){var r=t(22149).charAt;s.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},12833:function(s,l,t){var r=t(95307),n=TypeError;s.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},25001:function(s,l,t){var r=t(37540),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},3237:function(s){s.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(s,l,t){var r=t(84756),n=t(14274),e=TypeError;s.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(a){if(n(a)!=="ArrayBuffer")throw new e("ArrayBuffer expected");return a.byteLength}},30736:function(s,l,t){var r=t(11286),n=t(58360),e=r(ArrayBuffer.prototype.slice);s.exports=function(a){if(n(a)!==0)return!1;try{return e(a,0,0),!1}catch(o){return!0}}},72058:function(s,l,t){var r=t(72069);s.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},65006:function(s,l,t){var r=t(66009),n=t(11286),e=t(84756),a=t(9450),o=t(30736),u=t(58360),i=t(63741),v=t(99050),f=r.structuredClone,c=r.ArrayBuffer,d=r.DataView,h=r.TypeError,g=Math.min,p=c.prototype,y=d.prototype,m=n(p.slice),O=e(p,"resizable","get"),S=e(p,"maxByteLength","get"),E=n(y.getInt8),T=n(y.setInt8);s.exports=(v||i)&&function(x,I,A){var C=u(x),P=I===void 0?C:a(I),N=!O||!O(x),$;if(o(x))throw new h("ArrayBuffer is detached");if(v&&(x=f(x,{transfer:[x]}),C===P&&(A||N)))return x;if(C>=P&&(!A||N))$=m(x,0,P);else{var U=A&&!N&&S?{maxByteLength:S(x)}:void 0;$=new c(P,U);for(var F=new d(x),D=new d($),L=g(P,C),b=0;b>8&255]},Rt=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},Tt=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Nt=function(q){return Ct(p(q),23,4)},Ht=function(q){return Ct(q,52,8)},Wt=function(q,ut,J){i(q[U],ut,{configurable:!0,get:function(){return J(this)[ut]}})},bt=function(q,ut,J,yt){var pt=b(q),ct=g(J),ft=!!yt;if(ct+ut>pt.byteLength)throw new gt(D);var zt=pt.bytes,Yt=ct+pt.byteOffset,W=E(zt,Yt,Yt+ut);return ft?W:Dt(W)},Pt=function(q,ut,J,yt,pt,ct){var ft=b(q),zt=g(J),Yt=yt(+pt),W=!!ct;if(zt+ut>ft.byteLength)throw new gt(D);for(var k=ft.bytes,tt=zt+ft.byteOffset,j=0;jct)throw new gt("Wrong offset");if(yt=yt===void 0?ct-ft:h(yt),ft+yt>ct)throw new gt(F);K(this,{type:$,buffer:ut,byteLength:yt,byteOffset:ft,bytes:pt.bytes}),e||(this.buffer=ut,this.byteLength=yt,this.byteOffset=ft)},et=st[U],e&&(Wt(Q,"byteLength",L),Wt(st,"buffer",b),Wt(st,"byteLength",b),Wt(st,"byteOffset",b)),v(et,{getInt8:function(ut){return bt(this,1,ut)[0]<<24>>24},getUint8:function(ut){return bt(this,1,ut)[0]},getInt16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return(J[1]<<8|J[0])<<16>>16},getUint16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return J[1]<<8|J[0]},getInt32:function(ut){return Tt(bt(this,4,ut,arguments.length>1?arguments[1]:!1))},getUint32:function(ut){return Tt(bt(this,4,ut,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ut){return at(bt(this,4,ut,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ut){return at(bt(this,8,ut,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ut,J){Pt(this,1,ut,vt,J)},setUint8:function(ut,J){Pt(this,1,ut,vt,J)},setInt16:function(ut,J){Pt(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setUint16:function(ut,J){Pt(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setInt32:function(ut,J){Pt(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setUint32:function(ut,J){Pt(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setFloat32:function(ut,J){Pt(this,4,ut,Nt,J,arguments.length>2?arguments[2]:!1)},setFloat64:function(ut,J){Pt(this,8,ut,Ht,J,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&H.name!==N;!f(function(){H(1)})||!f(function(){new H(-1)})||f(function(){return new H,new H(1.5),new H(NaN),H.length!==1||Vt&&!P})?(Q=function(ut){return c(this,X),T(new H(g(ut)),this,Q)},Q[U]=X,X.constructor=Q,x(Q,H)):Vt&&P&&u(H,"name",N),O&&m(et)!==lt&&O(et,lt);var $t=new st(new Q(2)),Mt=n(et.setInt8);$t.setInt8(0,2147483648),$t.setInt8(1,2147483649),($t.getInt8(0)||!$t.getInt8(1))&&v(et,{setInt8:function(ut,J){Mt(this,ut,J<<24>>24)},setUint8:function(ut,J){Mt(this,ut,J<<24>>24)}},{unsafe:!0})}I(Q,N),I(st,$),s.exports={ArrayBuffer:Q,DataView:st}},81499:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628),a=t(12384),o=Math.min;s.exports=[].copyWithin||function(i,v){var f=r(this),c=e(f),d=n(i,c),h=n(v,c),g=arguments.length>2?arguments[2]:void 0,p=o((g===void 0?c:n(g,c))-h,c-d),y=1;for(h0;)h in f?f[d]=f[h]:a(f,d),d+=y,h+=y;return f}},43011:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628);s.exports=function(o){for(var u=r(this),i=e(u),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),c=v>2?arguments[2]:void 0,d=c===void 0?i:n(c,i);d>f;)u[f++]=o;return u}},13349:function(s,l,t){var r=t(66655).forEach,n=t(6148),e=n("forEach");s.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}},5220:function(s,l,t){var r=t(82628);s.exports=function(n,e,a){for(var o=0,u=arguments.length>2?a:r(e),i=new n(u);u>o;)i[o]=e[o++];return i}},48258:function(s,l,t){var r=t(45526),n=t(96499),e=t(49671),a=t(39969),o=t(48199),u=t(11051),i=t(82628),v=t(84082),f=t(90619),c=t(81077),d=Array;s.exports=function(g){var p=e(g),y=u(this),m=arguments.length,O=m>1?arguments[1]:void 0,S=O!==void 0;S&&(O=r(O,m>2?arguments[2]:void 0));var E=c(p),T=0,x,I,A,C,P,N;if(E&&!(this===d&&o(E)))for(I=y?new this:[],C=f(p,E),P=C.next;!(A=n(P,C)).done;T++)N=S?a(C,O,[A.value,T],!0):A.value,v(I,T,N);else for(x=i(p),I=y?new this(x):d(x);x>T;T++)N=S?O(p[T],T):p[T],v(I,T,N);return I.length=T,I}},94319:function(s,l,t){var r=t(36859),n=t(4652),e=t(82628),a=function(o){return function(u,i,v){var f=r(u),c=e(f);if(c===0)return!o&&-1;var d=n(v,c),h;if(o&&i!==i){for(;c>d;)if(h=f[d++],h!==h)return!0}else for(;c>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};s.exports={includes:a(!0),indexOf:a(!1)}},73849:function(s,l,t){var r=t(45526),n=t(72181),e=t(49671),a=t(82628),o=function(u){var i=u===1;return function(v,f,c){for(var d=e(v),h=n(d),g=a(h),p=r(f,c),y,m;g-- >0;)if(y=h[g],m=p(y,g,d),m)switch(u){case 0:return y;case 1:return g}return i?-1:void 0}};s.exports={findLast:o(0),findLastIndex:o(1)}},66655:function(s,l,t){var r=t(45526),n=t(11286),e=t(72181),a=t(49671),o=t(82628),u=t(62083),i=n([].push),v=function(f){var c=f===1,d=f===2,h=f===3,g=f===4,p=f===6,y=f===7,m=f===5||p;return function(O,S,E,T){for(var x=a(O),I=e(x),A=o(I),C=r(S,E),P=0,N=T||u,$=c?N(O,A):d||y?N(O,0):void 0,U,F;A>P;P++)if((m||P in I)&&(U=I[P],F=C(U,P,x),f))if(c)$[P]=F;else if(F)switch(f){case 3:return!0;case 5:return U;case 6:return P;case 2:i($,U)}else switch(f){case 4:return!1;case 7:i($,U)}return p?-1:h||g?g:$}};s.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(s,l,t){var r=t(66543),n=t(36859),e=t(12105),a=t(82628),o=t(6148),u=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),c=v||!f;s.exports=c?function(h){if(v)return r(i,this,arguments)||0;var g=n(this),p=a(g);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=u(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in g&&g[y]===h)return y||0;return-1}:i},52183:function(s,l,t){var r=t(72069),n=t(18565),e=t(73126),a=n("species");s.exports=function(o){return e>=51||!r(function(){var u=[],i=u.constructor={};return i[a]=function(){return{foo:1}},u[o](Boolean).foo!==1})}},6148:function(s,l,t){var r=t(72069);s.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},97264:function(s,l,t){var r=t(85156),n=t(49671),e=t(72181),a=t(82628),o=TypeError,u="Reduce of empty array with no initial value",i=function(v){return function(f,c,d,h){var g=n(f),p=e(g),y=a(g);if(r(c),y===0&&d<2)throw new o(u);var m=v?y-1:0,O=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=O;break}if(m+=O,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=O)m in p&&(h=c(h,p[m],m,g));return h}};s.exports={left:i(!1),right:i(!0)}},2213:function(s,l,t){var r=t(92986),n=t(3438),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();s.exports=o?function(u,i){if(n(u)&&!a(u,"length").writable)throw new e("Cannot set read only .length");return u.length=i}:function(u,i){return u.length=i}},22806:function(s,l,t){var r=t(11286);s.exports=r([].slice)},13270:function(s,l,t){var r=t(22806),n=Math.floor,e=function(a,o){var u=a.length;if(u<8)for(var i=1,v,f;i0;)a[f]=a[--f];f!==i++&&(a[f]=v)}else for(var c=n(u/2),d=e(r(a,0,c),o),h=e(r(a,c),o),g=d.length,p=h.length,y=0,m=0;y=v||c<0)throw new e("Incorrect index");for(var d=new o(v),h=0;h1?arguments[1]:void 0),F;F=F?F.next:$.first;)for(U(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(N){return!!C(this,N)}}),e(x,S?{get:function(N){var $=C(this,N);return $&&$.value},set:function(N,$){return A(this,N===0?0:N,$)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(x,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,O,S){var E=O+" Iterator",T=y(O),x=y(E);v(m,O,function(I,A){p(this,{type:E,target:I,state:T(I),kind:A,last:void 0})},function(){for(var I=x(this),A=I.kind,C=I.last;C&&C.removed;)C=C.previous;return!I.target||!(I.last=C=C?C.next:I.state.first)?(I.target=void 0,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},S?"entries":"values",!S,!0),c(O)}}},94667:function(s,l,t){var r=t(11286),n=t(2725),e=t(31853).getWeakData,a=t(12833),o=t(25001),u=t(5683),i=t(37540),v=t(55902),f=t(66655),c=t(94879),d=t(82367),h=d.set,g=d.getterFor,p=f.find,y=f.findIndex,m=r([].splice),O=0,S=function(x){return x.frozen||(x.frozen=new E)},E=function(){this.entries=[]},T=function(x,I){return p(x.entries,function(A){return A[0]===I})};E.prototype={get:function(x){var I=T(this,x);if(I)return I[1]},has:function(x){return!!T(this,x)},set:function(x,I){var A=T(this,x);A?A[1]=I:this.entries.push([x,I])},delete:function(x){var I=y(this.entries,function(A){return A[0]===x});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(x,I,A,C){var P=x(function(F,D){a(F,N),h(F,{type:I,id:O++,frozen:void 0}),u(D)||v(D,F[C],{that:F,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(F,D,L){var b=$(F),K=e(o(D),!0);return K===!0?S(b).set(D,L):K[b.id]=L,F};return n(N,{delete:function(F){var D=$(this);if(!i(F))return!1;var L=e(F);return L===!0?S(D).delete(F):L&&c(L,D.id)&&delete L[D.id]},has:function(D){var L=$(this);if(!i(D))return!1;var b=e(D);return b===!0?S(L).has(D):b&&c(b,L.id)}}),n(N,A?{get:function(D){var L=$(this);if(i(D)){var b=e(D);return b===!0?S(L).get(D):b?b[L.id]:void 0}},set:function(D,L){return U(this,D,L)}}:{add:function(D){return U(this,D,!0)}}),P}}},89378:function(s,l,t){var r=t(14304),n=t(66009),e=t(11286),a=t(13278),o=t(16142),u=t(31853),i=t(55902),v=t(12833),f=t(23583),c=t(5683),d=t(37540),h=t(72069),g=t(97494),p=t(78401),y=t(32345);s.exports=function(m,O,S){var E=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,x=E?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(K){var H=e(A[K]);o(A,K,K==="add"?function(X){return H(this,X===0?0:X),this}:K==="delete"?function(Q){return T&&!d(Q)?!1:H(this,Q===0?0:Q)}:K==="get"?function(X){return T&&!d(X)?void 0:H(this,X===0?0:X)}:K==="has"?function(X){return T&&!d(X)?!1:H(this,X===0?0:X)}:function(X,st){return H(this,X===0?0:X,st),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=S.getConstructor(O,m,E,x),u.enable();else if(a(m,!0)){var U=new C,F=U[x](T?{}:-0,1)!==U,D=h(function(){U.has(1)}),L=g(function(K){new I(K)}),b=!T&&h(function(){for(var K=new I,H=5;H--;)K[x](H,H);return!K.has(-0)});L||(C=O(function(K,H){v(K,A);var Q=y(new I,K,C);return c(H)||i(H,Q[x],{that:Q,AS_ENTRIES:E}),Q}),C.prototype=A,A.constructor=C),(D||b)&&(N("delete"),N("has"),E&&N("get")),(b||F)&&N(x),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||S.setStrong(C,m,E),C}},93706:function(s,l,t){var r=t(94879),n=t(16885),e=t(71349),a=t(7831);s.exports=function(o,u,i){for(var v=n(u),f=a.f,c=e.f,d=0;d"+c+""}},10659:function(s){s.exports=function(l,t){return{value:l,done:t}}},90809:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=r?function(a,o,u){return n.f(a,o,e(1,u))}:function(a,o,u){return a[o]=u,a}},18526:function(s){s.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}},84082:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=function(a,o,u){r?n.f(a,o,e(0,u)):a[o]=u}},11890:function(s,l,t){var r=t(11286),n=t(72069),e=t(61607).start,a=RangeError,o=isFinite,u=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),c=r(i.getUTCDate),d=r(i.getUTCFullYear),h=r(i.getUTCHours),g=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),m=r(i.getUTCSeconds);s.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!o(f(this)))throw new a("Invalid time value");var S=this,E=d(S),T=g(S),x=E<0?"-":E>9999?"+":"";return x+e(u(E),x?6:4,0)+"-"+e(y(S)+1,2,0)+"-"+e(c(S),2,0)+"T"+e(h(S),2,0)+":"+e(p(S),2,0)+":"+e(m(S),2,0)+"."+e(T,3,0)+"Z"}:v},84306:function(s,l,t){var r=t(25001),n=t(2064),e=TypeError;s.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},85500:function(s,l,t){var r=t(13749),n=t(7831);s.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},16142:function(s,l,t){var r=t(23583),n=t(7831),e=t(13749),a=t(36003);s.exports=function(o,u,i,v){v||(v={});var f=v.enumerable,c=v.name!==void 0?v.name:u;if(r(i)&&e(i,c,v),v.global)f?o[u]=i:a(u,i);else{try{v.unsafe?o[u]&&(f=!0):delete o[u]}catch(d){}f?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},2725:function(s,l,t){var r=t(16142);s.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},36003:function(s,l,t){var r=t(66009),n=Object.defineProperty;s.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},12384:function(s,l,t){var r=t(82453),n=TypeError;s.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},92986:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(s,l,t){var r=t(66009),n=t(18096),e=t(99050),a=r.structuredClone,o=r.ArrayBuffer,u=r.MessageChannel,i=!1,v,f,c,d;if(e)i=function(h){a(h,{transfer:[h]})};else if(o)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(f=new u,c=new o(2),d=function(h){f.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(i=d)))}catch(h){}s.exports=i},85501:function(s,l,t){var r=t(66009),n=t(37540),e=r.document,a=n(e)&&n(e.createElement);s.exports=function(o){return a?e.createElement(o):{}}},20095:function(s){var l=TypeError,t=9007199254740991;s.exports=function(r){if(r>t)throw l("Maximum allowed index exceeded");return r}},74408:function(s){s.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(s,l,t){var r=t(85501),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;s.exports=e===Object.prototype?void 0:e},54040:function(s,l,t){var r=t(89042),n=r.match(/firefox\/(\d+)/i);s.exports=!!n&&+n[1]},63144:function(s,l,t){var r=t(56422),n=t(42954);s.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},5017:function(s){s.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(s){s.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(s,l,t){var r=t(89042);s.exports=/MSIE|Trident/.test(r)},92150:function(s,l,t){var r=t(89042);s.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},51149:function(s,l,t){var r=t(89042);s.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},42954:function(s,l,t){var r=t(66009),n=t(14274);s.exports=n(r.process)==="process"},81539:function(s,l,t){var r=t(89042);s.exports=/web0s(?!.*chrome)/i.test(r)},89042:function(s){s.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(s,l,t){var r=t(66009),n=t(89042),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,u=o&&o.v8,i,v;u&&(i=u.split("."),v=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!v&&n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(v=+i[1]))),s.exports=v},68674:function(s,l,t){var r=t(89042),n=r.match(/AppleWebKit\/(\d+)\./);s.exports=!!n&&+n[1]},75785:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(s,l,t){var r=t(11286),n=Error,e=r("".replace),a=function(i){return String(new n(i).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);s.exports=function(i,v){if(u&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}},97077:function(s,l,t){var r=t(90809),n=t(40851),e=t(16929),a=Error.captureStackTrace;s.exports=function(o,u,i,v){e&&(a?a(o,u):r(o,"stack",n(i,v)))}},16929:function(s,l,t){var r=t(72069),n=t(18526);s.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})},58434:function(s,l,t){var r=t(92986),n=t(72069),e=t(25001),a=t(15453),o=Error.prototype.toString,u=n(function(){if(r){var i=Object.create(Object.defineProperty({},"name",{get:function(){return this===i}}));if(o.call(i)!=="true")return!0}return o.call({message:1,name:2})!=="2: 1"||o.call({})!=="Error"});s.exports=u?function(){var v=e(this),f=a(v.name,"Error"),c=a(v.message);return f?c?f+": "+c:f:c}:o},14304:function(s,l,t){var r=t(66009),n=t(71349).f,e=t(90809),a=t(16142),o=t(36003),u=t(93706),i=t(13278);s.exports=function(v,f){var c=v.target,d=v.global,h=v.stat,g,p,y,m,O,S;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(O=f[y],v.dontCallGetSet?(S=n(p,y),m=S&&S.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof O==typeof m)continue;u(O,m)}(v.sham||m&&m.sham)&&e(O,"sham",!0),a(p,y,O,v)}}},72069:function(s){s.exports=function(l){try{return!!l()}catch(t){return!0}}},63194:function(s,l,t){t(31145);var r=t(96499),n=t(16142),e=t(44381),a=t(72069),o=t(18565),u=t(90809),i=o("species"),v=RegExp.prototype;s.exports=function(f,c,d,h){var g=o(f),p=!a(function(){var S={};return S[g]=function(){return 7},""[f](S)!==7}),y=p&&!a(function(){var S=!1,E=/a/;return f==="split"&&(E={},E.constructor={},E.constructor[i]=function(){return E},E.flags="",E[g]=/./[g]),E.exec=function(){return S=!0,null},E[g](""),!S});if(!p||!y||d){var m=/./[g],O=c(g,""[f],function(S,E,T,x,I){var A=E.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,E,T,x)}:{done:!0,value:r(S,T,E,x)}:{done:!1}});n(String.prototype,f,O[0]),n(v,g,O[1])}h&&u(v[g],"sham",!0)}},53149:function(s,l,t){var r=t(3438),n=t(82628),e=t(20095),a=t(45526),o=function(u,i,v,f,c,d,h,g){for(var p=c,y=0,m=h?a(h,g):!1,O,S;y0&&r(O)?(S=n(O),p=o(u,i,O,S,p,d-1)-1):(e(p+1),u[p]=O),p++),y++;return p};s.exports=o},27534:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.apply,a=n.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},45526:function(s,l,t){var r=t(77422),n=t(85156),e=t(87878),a=r(r.bind);s.exports=function(o,u){return n(o),u===void 0?o:e?a(o,u):function(){return o.apply(u,arguments)}}},87878:function(s,l,t){var r=t(72069);s.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(s,l,t){var r=t(11286),n=t(85156),e=t(37540),a=t(94879),o=t(22806),u=t(87878),i=Function,v=r([].concat),f=r([].join),c={},d=function(h,g,p){if(!a(c,g)){for(var y=[],m=0;m]*>)/g,v=/\$([$&'`]|\d{1,2})/g;s.exports=function(f,c,d,h,g,p){var y=d+f.length,m=h.length,O=v;return g!==void 0&&(g=n(g),O=i),o(p,O,function(S,E){var T;switch(a(E,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(E,1,-1)];break;default:var x=+E;if(x===0)return S;if(x>m){var I=e(x/10);return I===0?S:I<=m?h[I-1]===void 0?a(E,1):h[I-1]+a(E,1):S}T=h[x-1]}return T===void 0?"":T})}},66009:function(s){var l=function(t){return t&&t.Math===Math&&t};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof global=="object"&&global)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(s,l,t){var r=t(11286),n=t(49671),e=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(o,u){return e(n(o),u)}},19423:function(s){s.exports={}},99095:function(s){s.exports=function(l,t){try{arguments.length===1?console.error(l):console.error(l,t)}catch(r){}}},96439:function(s,l,t){var r=t(38941);s.exports=r("document","documentElement")},52515:function(s,l,t){var r=t(92986),n=t(72069),e=t(85501);s.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(s){var l=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(i,v,f){var c=l(f),d=f*8-v-1,h=(1<>1,p=v===23?r(2,-24)-r(2,-77):0,y=i<0||i===0&&1/i<0?1:0,m=0,O,S,E;for(i=t(i),i!==i||i===1/0?(S=i!==i?1:0,O=h):(O=n(e(i)/a),E=r(2,-O),i*E<1&&(O--,E*=2),O+g>=1?i+=p/E:i+=p*r(2,1-g),i*E>=2&&(O++,E/=2),O+g>=h?(S=0,O=h):O+g>=1?(S=(i*E-1)*r(2,v),O+=g):(S=i*r(2,g-1)*r(2,v),O=0));v>=8;)c[m++]=S&255,S/=256,v-=8;for(O=O<0;)c[m++]=O&255,O/=256,d-=8;return c[--m]|=y*128,c},u=function(i,v){var f=i.length,c=f*8-v-1,d=(1<>1,g=c-7,p=f-1,y=i[p--],m=y&127,O;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(O=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)O=O*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return O?NaN:y?-1/0:1/0;O+=r(2,v),m-=h}return(y?-1:1)*O*r(2,m-v)};s.exports={pack:o,unpack:u}},72181:function(s,l,t){var r=t(11286),n=t(72069),e=t(14274),a=Object,o=r("".split);s.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return e(u)==="String"?o(u,""):a(u)}:a},32345:function(s,l,t){var r=t(23583),n=t(37540),e=t(15861);s.exports=function(a,o,u){var i,v;return e&&r(i=o.constructor)&&i!==u&&n(v=i.prototype)&&v!==u.prototype&&e(a,v),a}},84352:function(s,l,t){var r=t(11286),n=t(23583),e=t(70443),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),s.exports=e.inspectSource},31486:function(s,l,t){var r=t(37540),n=t(90809);s.exports=function(e,a){r(a)&&"cause"in a&&n(e,"cause",a.cause)}},31853:function(s,l,t){var r=t(14304),n=t(11286),e=t(19423),a=t(37540),o=t(94879),u=t(7831).f,i=t(83258),v=t(92880),f=t(28174),c=t(36374),d=t(27534),h=!1,g=c("meta"),p=0,y=function(x){u(x,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(x,I){if(!a(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!o(x,g)){if(!f(x))return"F";if(!I)return"E";y(x)}return x[g].objectID},O=function(x,I){if(!o(x,g)){if(!f(x))return!0;if(!I)return!1;y(x)}return x[g].weakData},S=function(x){return d&&h&&f(x)&&!o(x,g)&&y(x),x},E=function(){T.enable=function(){},h=!0;var x=i.f,I=n([].splice),A={};A[g]=1,x(A).length&&(i.f=function(C){for(var P=x(C),N=0,$=P.length;N<$;N++)if(P[N]===g){I(P,N,1);break}return P},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},T=s.exports={enable:E,fastKey:m,getWeakData:O,onFreeze:S};e[g]=!0},82367:function(s,l,t){var r=t(42960),n=t(66009),e=t(37540),a=t(90809),o=t(94879),u=t(70443),i=t(44869),v=t(19423),f="Object already initialized",c=n.TypeError,d=n.WeakMap,h,g,p,y=function(E){return p(E)?g(E):h(E,{})},m=function(E){return function(T){var x;if(!e(T)||(x=g(T)).type!==E)throw new c("Incompatible receiver, "+E+" required");return x}};if(r||u.state){var O=u.state||(u.state=new d);O.get=O.get,O.has=O.has,O.set=O.set,h=function(E,T){if(O.has(E))throw new c(f);return T.facade=E,O.set(E,T),T},g=function(E){return O.get(E)||{}},p=function(E){return O.has(E)}}else{var S=i("state");v[S]=!0,h=function(E,T){if(o(E,S))throw new c(f);return T.facade=E,a(E,S,T),T},g=function(E){return o(E,S)?E[S]:{}},p=function(E){return o(E,S)}}s.exports={set:h,get:g,has:p,enforce:y,getterFor:m}},48199:function(s,l,t){var r=t(18565),n=t(29107),e=r("iterator"),a=Array.prototype;s.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},3438:function(s,l,t){var r=t(14274);s.exports=Array.isArray||function(e){return r(e)==="Array"}},77129:function(s,l,t){var r=t(9205);s.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},23583:function(s){var l=typeof document=="object"&&document.all;s.exports=typeof l=="undefined"&&l!==void 0?function(t){return typeof t=="function"||t===l}:function(t){return typeof t=="function"}},11051:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(9205),o=t(38941),u=t(84352),i=function(){},v=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,c=r(f.exec),d=!f.test(i),h=function(y){if(!e(y))return!1;try{return v(i,[],y),!0}catch(m){return!1}},g=function(y){if(!e(y))return!1;switch(a(y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(f,u(y))}catch(m){return!0}};g.sham=!0,s.exports=!v||n(function(){var p;return h(h.call)||!h(Object)||!h(function(){p=!0})||p})?g:h},69745:function(s,l,t){var r=t(94879);s.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},13278:function(s,l,t){var r=t(72069),n=t(23583),e=/#|\.prototype\./,a=function(f,c){var d=u[o(f)];return d===v?!0:d===i?!1:n(c)?r(c):!!c},o=a.normalize=function(f){return String(f).replace(e,".").toLowerCase()},u=a.data={},i=a.NATIVE="N",v=a.POLYFILL="P";s.exports=a},613:function(s,l,t){var r=t(37540),n=Math.floor;s.exports=Number.isInteger||function(a){return!r(a)&&isFinite(a)&&n(a)===a}},5683:function(s){s.exports=function(l){return l==null}},37540:function(s,l,t){var r=t(23583);s.exports=function(n){return typeof n=="object"?n!==null:r(n)}},52427:function(s,l,t){var r=t(37540);s.exports=function(n){return r(n)||n===null}},70457:function(s){s.exports=!1},11566:function(s,l,t){var r=t(37540),n=t(14274),e=t(18565),a=e("match");s.exports=function(o){var u;return r(o)&&((u=o[a])!==void 0?!!u:n(o)==="RegExp")}},491:function(s,l,t){var r=t(38941),n=t(23583),e=t(95307),a=t(50234),o=Object;s.exports=a?function(u){return typeof u=="symbol"}:function(u){var i=r("Symbol");return n(i)&&e(i.prototype,o(u))}},9573:function(s,l,t){var r=t(96499);s.exports=function(n,e,a){for(var o=a?n:n.iterator,u=n.next,i,v;!(i=r(u,o)).done;)if(v=e(i.value),v!==void 0)return v}},55902:function(s,l,t){var r=t(45526),n=t(96499),e=t(25001),a=t(82453),o=t(48199),u=t(82628),i=t(95307),v=t(90619),f=t(81077),c=t(99797),d=TypeError,h=function(p,y){this.stopped=p,this.result=y},g=h.prototype;s.exports=function(p,y,m){var O=m&&m.that,S=!!(m&&m.AS_ENTRIES),E=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),x=!!(m&&m.INTERRUPTED),I=r(y,O),A,C,P,N,$,U,F,D=function(b){return A&&c(A,"normal",b),new h(!0,b)},L=function(b){return S?(e(b),x?I(b[0],b[1],D):I(b[0],b[1])):x?I(b,D):I(b)};if(E)A=p.iterator;else if(T)A=p;else{if(C=f(p),!C)throw new d(a(p)+" is not iterable");if(o(C)){for(P=0,N=u(p);N>P;P++)if($=L(p[P]),$&&i(g,$))return $;return new h(!1)}A=v(p,C)}for(U=E?p.next:A.next;!(F=n(U,A)).done;){try{$=L(F.value)}catch(b){c(A,"throw",b)}if(typeof $=="object"&&$&&i(g,$))return $}return new h(!1)}},99797:function(s,l,t){var r=t(96499),n=t(25001),e=t(10512);s.exports=function(a,o,u){var i,v;n(a);try{if(i=e(a,"return"),!i){if(o==="throw")throw u;return u}i=r(i,a)}catch(f){v=!0,i=f}if(o==="throw")throw u;if(v)throw i;return n(i),u}},26820:function(s,l,t){var r=t(24519).IteratorPrototype,n=t(5406),e=t(18526),a=t(78401),o=t(29107),u=function(){return this};s.exports=function(i,v,f,c){var d=v+" Iterator";return i.prototype=n(r,{next:e(+!c,f)}),a(i,d,!1,!0),o[d]=u,i}},10218:function(s,l,t){var r=t(14304),n=t(96499),e=t(70457),a=t(86588),o=t(23583),u=t(26820),i=t(26313),v=t(15861),f=t(78401),c=t(90809),d=t(16142),h=t(18565),g=t(29107),p=t(24519),y=a.PROPER,m=a.CONFIGURABLE,O=p.IteratorPrototype,S=p.BUGGY_SAFARI_ITERATORS,E=h("iterator"),T="keys",x="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,F,D){u(N,P,$);var L=function(gt){if(gt===U&&X)return X;if(!S&>&> in H)return H[gt];switch(gt){case T:return function(){return new N(this,gt)};case x:return function(){return new N(this,gt)};case I:return function(){return new N(this,gt)}}return function(){return new N(this)}},b=P+" Iterator",K=!1,H=C.prototype,Q=H[E]||H["@@iterator"]||U&&H[U],X=!S&&Q||L(U),st=P==="Array"&&H.entries||Q,et,lt,ht;if(st&&(et=i(st.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==O&&(v?v(et,O):o(et[E])||d(et,E,A)),f(et,b,!0,!0),e&&(g[b]=A))),y&&U===x&&Q&&Q.name!==x&&(!e&&m?c(H,"name",x):(K=!0,X=function(){return n(Q,this)})),U)if(lt={values:L(x),keys:F?X:L(T),entries:L(I)},D)for(ht in lt)(S||K||!(ht in H))&&d(H,ht,lt[ht]);else r({target:P,proto:!0,forced:S||K},lt);return(!e||D)&&H[E]!==X&&d(H,E,X,{name:U}),g[P]=X,lt}},24519:function(s,l,t){var r=t(72069),n=t(23583),e=t(37540),a=t(5406),o=t(26313),u=t(16142),i=t(18565),v=t(70457),f=i("iterator"),c=!1,d,h,g;[].keys&&(g=[].keys(),"next"in g?(h=o(o(g)),h!==Object.prototype&&(d=h)):c=!0);var p=!e(d)||r(function(){var y={};return d[f].call(y)!==y});p?d={}:v&&(d=a(d)),n(d[f])||u(d,f,function(){return this}),s.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c}},29107:function(s){s.exports={}},82628:function(s,l,t){var r=t(45344);s.exports=function(n){return r(n.length)}},13749:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(94879),o=t(92986),u=t(86588).CONFIGURABLE,i=t(84352),v=t(82367),f=v.enforce,c=v.get,d=String,h=Object.defineProperty,g=r("".slice),p=r("".replace),y=r([].join),m=o&&!n(function(){return h(function(){},"length",{value:8}).length!==8}),O=String(String).split("String"),S=s.exports=function(E,T,x){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(T="get "+T),x&&x.setter&&(T="set "+T),(!a(E,"name")||u&&E.name!==T)&&(o?h(E,"name",{value:T,configurable:!0}):E.name=T),m&&x&&a(x,"arity")&&E.length!==x.arity&&h(E,"length",{value:x.arity});try{x&&a(x,"constructor")&&x.constructor?o&&h(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch(A){}var I=f(E);return a(I,"source")||(I.source=y(O,typeof T=="string"?T:"")),E};Function.prototype.toString=S(function(){return e(this)&&c(this).source||i(this)},"toString")},1774:function(s,l,t){var r=t(11286),n=Map.prototype;s.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(s){var l=Math.expm1,t=Math.exp;s.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||l(-2e-17)!==-2e-17?function(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}:l},10418:function(s,l,t){var r=t(93976),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(u){return u+a-a};s.exports=function(u,i,v,f){var c=+u,d=n(c),h=r(c);if(dv||p!==p?h*(1/0):h*p}},93279:function(s,l,t){var r=t(10418),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;s.exports=Math.fround||function(u){return r(u,n,e,a)}},41942:function(s){var l=Math.log,t=Math.LOG10E;s.exports=Math.log10||function(n){return l(n)*t}},49366:function(s){var l=Math.log;s.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:l(1+n)}},93976:function(s){s.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(s){var l=Math.ceil,t=Math.floor;s.exports=Math.trunc||function(n){var e=+n;return(e>0?t:l)(e)}},9709:function(s,l,t){var r=t(66009),n=t(28167),e=t(45526),a=t(23115).set,o=t(76895),u=t(51149),i=t(92150),v=t(81539),f=t(42954),c=r.MutationObserver||r.WebKitMutationObserver,d=r.document,h=r.process,g=r.Promise,p=n("queueMicrotask"),y,m,O,S,E;if(!p){var T=new o,x=function(){var I,A;for(f&&(I=h.domain)&&I.exit();A=T.get();)try{A()}catch(C){throw T.head&&y(),C}I&&I.enter()};!u&&!f&&!v&&c&&d?(m=!0,O=d.createTextNode(""),new c(x).observe(O,{characterData:!0}),y=function(){O.data=m=!m}):!i&&g&&g.resolve?(S=g.resolve(void 0),S.constructor=g,E=e(S.then,S),y=function(){E(x)}):f?y=function(){h.nextTick(x)}:(a=e(a,r),y=function(){a(x)}),p=function(I){T.head||y(),T.add(I)}}s.exports=p},24649:function(s,l,t){var r=t(85156),n=TypeError,e=function(a){var o,u;this.promise=new a(function(i,v){if(o!==void 0||u!==void 0)throw new n("Bad Promise constructor");o=i,u=v}),this.resolve=r(o),this.reject=r(u)};s.exports.f=function(a){return new e(a)}},15453:function(s,l,t){var r=t(17361);s.exports=function(n,e){return n===void 0?arguments.length<2?"":e:r(n)}},92337:function(s,l,t){var r=t(11566),n=TypeError;s.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},98074:function(s,l,t){var r=t(66009),n=r.isFinite;s.exports=Number.isFinite||function(a){return typeof a=="number"&&n(a)}},25838:function(s,l,t){var r=t(66009),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=e("".charAt),v=r.parseFloat,f=r.Symbol,c=f&&f.iterator,d=1/v(u+"-0")!==-1/0||c&&!n(function(){v(Object(c))});s.exports=d?function(g){var p=o(a(g)),y=v(p);return y===0&&i(p,0)==="-"?-0:y}:v},23009:function(s,l,t){var r=t(66009),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=r.parseInt,v=r.Symbol,f=v&&v.iterator,c=/^[+-]?0x/i,d=e(c.exec),h=i(u+"08")!==8||i(u+"0x16")!==22||f&&!n(function(){i(Object(f))});s.exports=h?function(p,y){var m=o(a(p));return i(m,y>>>0||(d(c,m)?16:10))}:i},16667:function(s,l,t){var r=t(92986),n=t(11286),e=t(96499),a=t(72069),o=t(18350),u=t(24943),i=t(79591),v=t(49671),f=t(72181),c=Object.assign,d=Object.defineProperty,h=n([].concat);s.exports=!c||a(function(){if(r&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},p={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach(function(O){p[O]=O}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),O=arguments.length,S=1,E=u.f,T=i.f;O>S;)for(var x=f(arguments[S++]),I=E?h(o(x),E(x)):o(x),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,x,P))&&(m[P]=x[P]);return m}:c},5406:function(s,l,t){var r=t(25001),n=t(61963),e=t(75785),a=t(19423),o=t(96439),u=t(85501),i=t(44869),v=">",f="<",c="prototype",d="script",h=i("IE_PROTO"),g=function(){},p=function(E){return f+d+v+E+f+"/"+d+v},y=function(E){E.write(p("")),E.close();var T=E.parentWindow.Object;return E=null,T},m=function(){var E=u("iframe"),T="java"+d+":",x;return E.style.display="none",o.appendChild(E),E.src=String(T),x=E.contentWindow.document,x.open(),x.write(p("document.F=Object")),x.close(),x.F},O,S=function(){try{O=new ActiveXObject("htmlfile")}catch(T){}S=typeof document!="undefined"?document.domain&&O?y(O):m():y(O);for(var E=e.length;E--;)delete S[c][e[E]];return S()};a[h]=!0,s.exports=Object.create||function(T,x){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=S(),x===void 0?I:n.f(I,x)}},61963:function(s,l,t){var r=t(92986),n=t(356),e=t(7831),a=t(25001),o=t(36859),u=t(18350);l.f=r&&!n?Object.defineProperties:function(v,f){a(v);for(var c=o(f),d=u(f),h=d.length,g=0,p;h>g;)e.f(v,p=d[g++],c[p]);return v}},7831:function(s,l,t){var r=t(92986),n=t(52515),e=t(356),a=t(25001),o=t(50035),u=TypeError,i=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",d="writable";l.f=r?e?function(g,p,y){if(a(g),p=o(p),a(y),typeof g=="function"&&p==="prototype"&&"value"in y&&d in y&&!y[d]){var m=v(g,p);m&&m[d]&&(g[p]=y.value,y={configurable:c in y?y[c]:m[c],enumerable:f in y?y[f]:m[f],writable:!1})}return i(g,p,y)}:i:function(g,p,y){if(a(g),p=o(p),a(y),n)try{return i(g,p,y)}catch(m){}if("get"in y||"set"in y)throw new u("Accessors not supported");return"value"in y&&(g[p]=y.value),g}},71349:function(s,l,t){var r=t(92986),n=t(96499),e=t(79591),a=t(18526),o=t(36859),u=t(50035),i=t(94879),v=t(52515),f=Object.getOwnPropertyDescriptor;l.f=r?f:function(d,h){if(d=o(d),h=u(h),v)try{return f(d,h)}catch(g){}if(i(d,h))return a(!n(e.f,d,h),d[h])}},92880:function(s,l,t){var r=t(14274),n=t(36859),e=t(83258).f,a=t(22806),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(i){try{return e(i)}catch(v){return a(o)}};s.exports.f=function(v){return o&&r(v)==="Window"?u(v):e(n(v))}},83258:function(s,l,t){var r=t(6242),n=t(75785),e=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(o){return r(o,e)}},24943:function(s,l){l.f=Object.getOwnPropertySymbols},26313:function(s,l,t){var r=t(94879),n=t(23583),e=t(49671),a=t(44869),o=t(87501),u=a("IE_PROTO"),i=Object,v=i.prototype;s.exports=o?i.getPrototypeOf:function(f){var c=e(f);if(r(c,u))return c[u];var d=c.constructor;return n(d)&&c instanceof d?d.prototype:c instanceof i?v:null}},28174:function(s,l,t){var r=t(72069),n=t(37540),e=t(14274),a=t(72058),o=Object.isExtensible,u=r(function(){o(1)});s.exports=u||a?function(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}:o},95307:function(s,l,t){var r=t(11286);s.exports=r({}.isPrototypeOf)},6242:function(s,l,t){var r=t(11286),n=t(94879),e=t(36859),a=t(94319).indexOf,o=t(19423),u=r([].push);s.exports=function(i,v){var f=e(i),c=0,d=[],h;for(h in f)!n(o,h)&&n(f,h)&&u(d,h);for(;v.length>c;)n(f,h=v[c++])&&(~a(d,h)||u(d,h));return d}},18350:function(s,l,t){var r=t(6242),n=t(75785);s.exports=Object.keys||function(a){return r(a,n)}},79591:function(s,l){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);l.f=n?function(a){var o=r(this,a);return!!o&&o.enumerable}:t},57629:function(s,l,t){var r=t(70457),n=t(66009),e=t(72069),a=t(68674);s.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},15861:function(s,l,t){var r=t(84756),n=t(37540),e=t(2068),a=t(53408);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,u={},i;try{i=r(Object.prototype,"__proto__","set"),i(u,[]),o=u instanceof Array}catch(v){}return function(f,c){return e(f),a(c),n(f)&&(o?i(f,c):f.__proto__=c),f}}():void 0)},8511:function(s,l,t){var r=t(92986),n=t(72069),e=t(11286),a=t(26313),o=t(18350),u=t(36859),i=t(79591).f,v=e(i),f=e([].push),c=r&&n(function(){var h=Object.create(null);return h[2]=2,!v(h,2)}),d=function(h){return function(g){for(var p=u(g),y=o(p),m=c&&a(p)===null,O=y.length,S=0,E=[],T;O>S;)T=y[S++],(!r||(m?T in p:v(p,T)))&&f(E,h?[T,p[T]]:p[T]);return E}};s.exports={entries:d(!0),values:d(!1)}},60105:function(s,l,t){var r=t(67878),n=t(9205);s.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(s,l,t){var r=t(96499),n=t(23583),e=t(37540),a=TypeError;s.exports=function(o,u){var i,v;if(u==="string"&&n(i=o.toString)&&!e(v=r(i,o))||n(i=o.valueOf)&&!e(v=r(i,o))||u!=="string"&&n(i=o.toString)&&!e(v=r(i,o)))return v;throw new a("Can't convert object to primitive value")}},16885:function(s,l,t){var r=t(38941),n=t(11286),e=t(83258),a=t(24943),o=t(25001),u=n([].concat);s.exports=r("Reflect","ownKeys")||function(v){var f=e.f(o(v)),c=a.f;return c?u(f,c(v)):f}},75081:function(s,l,t){var r=t(66009);s.exports=r},67805:function(s){s.exports=function(l){try{return{error:!1,value:l()}}catch(t){return{error:!0,value:t}}}},37130:function(s,l,t){var r=t(66009),n=t(98844),e=t(23583),a=t(13278),o=t(84352),u=t(18565),i=t(63144),v=t(56422),f=t(70457),c=t(73126),d=n&&n.prototype,h=u("species"),g=!1,p=e(r.PromiseRejectionEvent),y=a("Promise",function(){var m=o(n),O=m!==String(n);if(!O&&c===66||f&&!(d.catch&&d.finally))return!0;if(!c||c<51||!/native code/.test(m)){var S=new n(function(x){x(1)}),E=function(x){x(function(){},function(){})},T=S.constructor={};if(T[h]=E,g=S.then(function(){})instanceof E,!g)return!0}return!O&&(i||v)&&!p});s.exports={CONSTRUCTOR:y,REJECTION_EVENT:p,SUBCLASSING:g}},98844:function(s,l,t){var r=t(66009);s.exports=r.Promise},87408:function(s,l,t){var r=t(25001),n=t(37540),e=t(24649);s.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var u=e.f(a),i=u.resolve;return i(o),u.promise}},26035:function(s,l,t){var r=t(98844),n=t(97494),e=t(37130).CONSTRUCTOR;s.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},2594:function(s,l,t){var r=t(7831).f;s.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){return e[a]},set:function(o){e[a]=o}})}},76895:function(s){var l=function(){this.head=null,this.tail=null};l.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},s.exports=l},33064:function(s,l,t){var r=t(96499),n=t(25001),e=t(23583),a=t(14274),o=t(44381),u=TypeError;s.exports=function(i,v){var f=i.exec;if(e(f)){var c=r(f,i,v);return c!==null&&n(c),c}if(a(i)==="RegExp")return r(o,i,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(s,l,t){var r=t(96499),n=t(11286),e=t(17361),a=t(29833),o=t(39807),u=t(96731),i=t(5406),v=t(82367).get,f=t(76769),c=t(85220),d=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,p=n("".charAt),y=n("".indexOf),m=n("".replace),O=n("".slice),S=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),E=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,x=S||T||E||f||c;x&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,F,D,L,b,K,H;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var Q=P.groups,X=E&&C.sticky,st=r(a,C),et=C.source,lt=0,ht=N;if(X&&(st=m(st,"y",""),y(st,"g")===-1&&(st+="g"),ht=O(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` + */(function(vr,rr){typeof exports=="object"&&typeof module=="object"?module.exports=rr():typeof define=="function"&&define.amd?define("bb",[],rr):typeof exports=="object"?exports.bb=rr():(vr.bb=vr.bb||{},vr.bb.plugin=vr.bb.plugin||{},vr.bb.plugin["bubblecompare.pkgd"]=rr())})(this,function(){return function(){"use strict";var Dr={19770:function(s,l,t){t.d(l,{default:function(){return br}});function r(){}function n(R){return R==null?r:function(){return this.querySelector(R)}}function e(R){typeof R!="function"&&(R=n(R));for(var M=this._groups,Z=M.length,it=new Array(Z),_=0;_=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr=0;)(Et=it[_])&&(dt&&Et.compareDocumentPosition(dt)^4&&dt.parentNode.insertBefore(Et,dt),dt=Et);return this}function K(R){R||(R=H);function M(tr,sr){return tr&&sr?R(tr.__data__,sr.__data__):!tr-!sr}for(var Z=this._groups,it=Z.length,_=new Array(it),dt=0;dtM?1:R>=M?0:NaN}function Q(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function X(){return Array.from(this)}function st(){for(var R=this._groups,M=0,Z=R.length;M=0&&(M=R.slice(0,Z))!=="xmlns"&&(R=R.slice(Z+1)),Lt.hasOwnProperty(M)?{space:Lt[M],local:R}:R}function Ct(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function vt(R,M){return function(){this.setAttribute(R,M)}}function St(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Rt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttribute(R):this.setAttribute(R,Z)}}function Tt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,Z)}}function Nt(R,M){var Z=Dt(R);if(arguments.length<2){var it=this.node();return Z.local?it.getAttributeNS(Z.space,Z.local):it.getAttribute(Z)}return this.each((M==null?Z.local?at:Ct:typeof M=="function"?Z.local?Tt:Rt:Z.local?St:vt)(Z,M))}function Ht(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Wt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,Z){return function(){this.style.setProperty(R,M,Z)}}function Pt(R,M,Z){return function(){var it=M.apply(this,arguments);it==null?this.style.removeProperty(R):this.style.setProperty(R,it,Z)}}function Vt(R,M,Z){return arguments.length>1?this.each((M==null?Wt:typeof M=="function"?Pt:bt)(R,M,Z==null?"":Z)):$t(this.node(),R)}function $t(R,M){return R.style.getPropertyValue(M)||Ht(R).getComputedStyle(R,null).getPropertyValue(M)}function Mt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function ut(R,M){return function(){var Z=M.apply(this,arguments);Z==null?delete this[R]:this[R]=Z}}function J(R,M){return arguments.length>1?this.each((M==null?Mt:typeof M=="function"?ut:q)(R,M)):this.node()[R]}function yt(R){return R.trim().split(/^|\s+/)}function pt(R){return R.classList||new ct(R)}function ct(R){this._node=R,this._names=yt(R.getAttribute("class")||"")}ct.prototype={add:function(R){var M=this._names.indexOf(R);M<0&&(this._names.push(R),this._node.setAttribute("class",this._names.join(" ")))},remove:function(R){var M=this._names.indexOf(R);M>=0&&(this._names.splice(M,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(R){return this._names.indexOf(R)>=0}};function ft(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.add(M[it])}function zt(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.remove(M[it])}function Yt(R){return function(){ft(this,R)}}function W(R){return function(){zt(this,R)}}function k(R,M){return function(){(M.apply(this,arguments)?ft:zt)(this,R)}}function tt(R,M){var Z=yt(R+"");if(arguments.length<2){for(var it=pt(this.node()),_=-1,dt=Z.length;++_=0&&(Z=M.slice(it+1),M=M.slice(0,it)),{type:M,name:Z}})}function kt(R){return function(){var M=this.__on;if(M){for(var Z=0,it=-1,_=M.length,dt;Z<_;++Z)dt=M[Z],(!R.type||dt.type===R.type)&&dt.name===R.name?this.removeEventListener(dt.type,dt.listener,dt.options):M[++it]=dt;++it?M.length=it:delete this.__on}}}function qt(R,M,Z){return function(){var it=this.__on,_,dt=Er(M);if(it){for(var Et=0,It=it.length;EtM in R?_t(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Jt=(R,M,Z)=>nt(R,typeof M!="symbol"?M+"":M,Z);class er{constructor(M={}){Jt(this,"$$"),Jt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}Jt(er,"version","3.12.4-nightly-20240731004602");var Ir=Object.defineProperty,Nr=(R,M,Z)=>M in R?Ir(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Tr=(R,M,Z)=>Nr(R,typeof M!="symbol"?M+"":M,Z);const yr=class jr extends er{constructor(M){return super(M),Tr(this,"$$"),this}$init(){const{$$:M}=this;M.findClosest=this.findClosest.bind(this),M.getBubbleR=this.getBubbleR.bind(this),M.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(M){const Z=this.getBubbleR(M),{expandScale:it=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),Z*it}static raiseFocusedBubbleLayer(M){M.raise&&wt(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,Z){const{$$:it}=this;return M.filter(_=>_&&!it.isBarType(_.id)).reduce((_,dt)=>it.dist(dt,Z){const tr=this.getZData(Kt.values[0]);return[Math.min(Ft,tr),Math.max(Gt,tr)]},[1e4,0]),It=dt>0&&Et===dt?0:_/Et;return Math.abs(It)*(it-Z)+Z}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Tr(yr,"version","0.0.1");let br=yr},85156:function(s,l,t){var r=t(23583),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},80042:function(s,l,t){var r=t(11051),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},53408:function(s,l,t){var r=t(52427),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},76602:function(s,l,t){var r=t(172).has;s.exports=function(n){return r(n),n}},23811:function(s,l,t){var r=t(18565),n=t(5406),e=t(7831).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),s.exports=function(u){o[a][u]=!0}},24487:function(s,l,t){var r=t(22149).charAt;s.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},12833:function(s,l,t){var r=t(95307),n=TypeError;s.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},25001:function(s,l,t){var r=t(37540),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},3237:function(s){s.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(s,l,t){var r=t(84756),n=t(14274),e=TypeError;s.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(a){if(n(a)!=="ArrayBuffer")throw new e("ArrayBuffer expected");return a.byteLength}},30736:function(s,l,t){var r=t(11286),n=t(58360),e=r(ArrayBuffer.prototype.slice);s.exports=function(a){if(n(a)!==0)return!1;try{return e(a,0,0),!1}catch(o){return!0}}},72058:function(s,l,t){var r=t(72069);s.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},65006:function(s,l,t){var r=t(66009),n=t(11286),e=t(84756),a=t(9450),o=t(30736),u=t(58360),i=t(63741),v=t(99050),f=r.structuredClone,c=r.ArrayBuffer,d=r.DataView,h=r.TypeError,g=Math.min,p=c.prototype,y=d.prototype,m=n(p.slice),O=e(p,"resizable","get"),S=e(p,"maxByteLength","get"),E=n(y.getInt8),T=n(y.setInt8);s.exports=(v||i)&&function(x,I,A){var C=u(x),P=I===void 0?C:a(I),N=!O||!O(x),$;if(o(x))throw new h("ArrayBuffer is detached");if(v&&(x=f(x,{transfer:[x]}),C===P&&(A||N)))return x;if(C>=P&&(!A||N))$=m(x,0,P);else{var U=A&&!N&&S?{maxByteLength:S(x)}:void 0;$=new c(P,U);for(var F=new d(x),D=new d($),L=g(P,C),b=0;b>8&255]},Rt=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},Tt=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Nt=function(q){return Ct(p(q),23,4)},Ht=function(q){return Ct(q,52,8)},Wt=function(q,ut,J){i(q[U],ut,{configurable:!0,get:function(){return J(this)[ut]}})},bt=function(q,ut,J,yt){var pt=b(q),ct=g(J),ft=!!yt;if(ct+ut>pt.byteLength)throw new gt(D);var zt=pt.bytes,Yt=ct+pt.byteOffset,W=E(zt,Yt,Yt+ut);return ft?W:Dt(W)},Pt=function(q,ut,J,yt,pt,ct){var ft=b(q),zt=g(J),Yt=yt(+pt),W=!!ct;if(zt+ut>ft.byteLength)throw new gt(D);for(var k=ft.bytes,tt=zt+ft.byteOffset,j=0;jct)throw new gt("Wrong offset");if(yt=yt===void 0?ct-ft:h(yt),ft+yt>ct)throw new gt(F);K(this,{type:$,buffer:ut,byteLength:yt,byteOffset:ft,bytes:pt.bytes}),e||(this.buffer=ut,this.byteLength=yt,this.byteOffset=ft)},et=st[U],e&&(Wt(Q,"byteLength",L),Wt(st,"buffer",b),Wt(st,"byteLength",b),Wt(st,"byteOffset",b)),v(et,{getInt8:function(ut){return bt(this,1,ut)[0]<<24>>24},getUint8:function(ut){return bt(this,1,ut)[0]},getInt16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return(J[1]<<8|J[0])<<16>>16},getUint16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return J[1]<<8|J[0]},getInt32:function(ut){return Tt(bt(this,4,ut,arguments.length>1?arguments[1]:!1))},getUint32:function(ut){return Tt(bt(this,4,ut,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ut){return at(bt(this,4,ut,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ut){return at(bt(this,8,ut,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ut,J){Pt(this,1,ut,vt,J)},setUint8:function(ut,J){Pt(this,1,ut,vt,J)},setInt16:function(ut,J){Pt(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setUint16:function(ut,J){Pt(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setInt32:function(ut,J){Pt(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setUint32:function(ut,J){Pt(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setFloat32:function(ut,J){Pt(this,4,ut,Nt,J,arguments.length>2?arguments[2]:!1)},setFloat64:function(ut,J){Pt(this,8,ut,Ht,J,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&H.name!==N;!f(function(){H(1)})||!f(function(){new H(-1)})||f(function(){return new H,new H(1.5),new H(NaN),H.length!==1||Vt&&!P})?(Q=function(ut){return c(this,X),T(new H(g(ut)),this,Q)},Q[U]=X,X.constructor=Q,x(Q,H)):Vt&&P&&u(H,"name",N),O&&m(et)!==lt&&O(et,lt);var $t=new st(new Q(2)),Mt=n(et.setInt8);$t.setInt8(0,2147483648),$t.setInt8(1,2147483649),($t.getInt8(0)||!$t.getInt8(1))&&v(et,{setInt8:function(ut,J){Mt(this,ut,J<<24>>24)},setUint8:function(ut,J){Mt(this,ut,J<<24>>24)}},{unsafe:!0})}I(Q,N),I(st,$),s.exports={ArrayBuffer:Q,DataView:st}},81499:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628),a=t(12384),o=Math.min;s.exports=[].copyWithin||function(i,v){var f=r(this),c=e(f),d=n(i,c),h=n(v,c),g=arguments.length>2?arguments[2]:void 0,p=o((g===void 0?c:n(g,c))-h,c-d),y=1;for(h0;)h in f?f[d]=f[h]:a(f,d),d+=y,h+=y;return f}},43011:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628);s.exports=function(o){for(var u=r(this),i=e(u),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),c=v>2?arguments[2]:void 0,d=c===void 0?i:n(c,i);d>f;)u[f++]=o;return u}},13349:function(s,l,t){var r=t(66655).forEach,n=t(6148),e=n("forEach");s.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}},5220:function(s,l,t){var r=t(82628);s.exports=function(n,e,a){for(var o=0,u=arguments.length>2?a:r(e),i=new n(u);u>o;)i[o]=e[o++];return i}},48258:function(s,l,t){var r=t(45526),n=t(96499),e=t(49671),a=t(39969),o=t(48199),u=t(11051),i=t(82628),v=t(84082),f=t(90619),c=t(81077),d=Array;s.exports=function(g){var p=e(g),y=u(this),m=arguments.length,O=m>1?arguments[1]:void 0,S=O!==void 0;S&&(O=r(O,m>2?arguments[2]:void 0));var E=c(p),T=0,x,I,A,C,P,N;if(E&&!(this===d&&o(E)))for(I=y?new this:[],C=f(p,E),P=C.next;!(A=n(P,C)).done;T++)N=S?a(C,O,[A.value,T],!0):A.value,v(I,T,N);else for(x=i(p),I=y?new this(x):d(x);x>T;T++)N=S?O(p[T],T):p[T],v(I,T,N);return I.length=T,I}},94319:function(s,l,t){var r=t(36859),n=t(4652),e=t(82628),a=function(o){return function(u,i,v){var f=r(u),c=e(f);if(c===0)return!o&&-1;var d=n(v,c),h;if(o&&i!==i){for(;c>d;)if(h=f[d++],h!==h)return!0}else for(;c>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};s.exports={includes:a(!0),indexOf:a(!1)}},73849:function(s,l,t){var r=t(45526),n=t(72181),e=t(49671),a=t(82628),o=function(u){var i=u===1;return function(v,f,c){for(var d=e(v),h=n(d),g=a(h),p=r(f,c),y,m;g-- >0;)if(y=h[g],m=p(y,g,d),m)switch(u){case 0:return y;case 1:return g}return i?-1:void 0}};s.exports={findLast:o(0),findLastIndex:o(1)}},66655:function(s,l,t){var r=t(45526),n=t(11286),e=t(72181),a=t(49671),o=t(82628),u=t(62083),i=n([].push),v=function(f){var c=f===1,d=f===2,h=f===3,g=f===4,p=f===6,y=f===7,m=f===5||p;return function(O,S,E,T){for(var x=a(O),I=e(x),A=o(I),C=r(S,E),P=0,N=T||u,$=c?N(O,A):d||y?N(O,0):void 0,U,F;A>P;P++)if((m||P in I)&&(U=I[P],F=C(U,P,x),f))if(c)$[P]=F;else if(F)switch(f){case 3:return!0;case 5:return U;case 6:return P;case 2:i($,U)}else switch(f){case 4:return!1;case 7:i($,U)}return p?-1:h||g?g:$}};s.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(s,l,t){var r=t(66543),n=t(36859),e=t(12105),a=t(82628),o=t(6148),u=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),c=v||!f;s.exports=c?function(h){if(v)return r(i,this,arguments)||0;var g=n(this),p=a(g);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=u(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in g&&g[y]===h)return y||0;return-1}:i},52183:function(s,l,t){var r=t(72069),n=t(18565),e=t(73126),a=n("species");s.exports=function(o){return e>=51||!r(function(){var u=[],i=u.constructor={};return i[a]=function(){return{foo:1}},u[o](Boolean).foo!==1})}},6148:function(s,l,t){var r=t(72069);s.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},97264:function(s,l,t){var r=t(85156),n=t(49671),e=t(72181),a=t(82628),o=TypeError,u="Reduce of empty array with no initial value",i=function(v){return function(f,c,d,h){var g=n(f),p=e(g),y=a(g);if(r(c),y===0&&d<2)throw new o(u);var m=v?y-1:0,O=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=O;break}if(m+=O,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=O)m in p&&(h=c(h,p[m],m,g));return h}};s.exports={left:i(!1),right:i(!0)}},2213:function(s,l,t){var r=t(92986),n=t(3438),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();s.exports=o?function(u,i){if(n(u)&&!a(u,"length").writable)throw new e("Cannot set read only .length");return u.length=i}:function(u,i){return u.length=i}},22806:function(s,l,t){var r=t(11286);s.exports=r([].slice)},13270:function(s,l,t){var r=t(22806),n=Math.floor,e=function(a,o){var u=a.length;if(u<8)for(var i=1,v,f;i0;)a[f]=a[--f];f!==i++&&(a[f]=v)}else for(var c=n(u/2),d=e(r(a,0,c),o),h=e(r(a,c),o),g=d.length,p=h.length,y=0,m=0;y=v||c<0)throw new e("Incorrect index");for(var d=new o(v),h=0;h1?arguments[1]:void 0),F;F=F?F.next:$.first;)for(U(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(N){return!!C(this,N)}}),e(x,S?{get:function(N){var $=C(this,N);return $&&$.value},set:function(N,$){return A(this,N===0?0:N,$)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(x,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,O,S){var E=O+" Iterator",T=y(O),x=y(E);v(m,O,function(I,A){p(this,{type:E,target:I,state:T(I),kind:A,last:void 0})},function(){for(var I=x(this),A=I.kind,C=I.last;C&&C.removed;)C=C.previous;return!I.target||!(I.last=C=C?C.next:I.state.first)?(I.target=void 0,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},S?"entries":"values",!S,!0),c(O)}}},94667:function(s,l,t){var r=t(11286),n=t(2725),e=t(31853).getWeakData,a=t(12833),o=t(25001),u=t(5683),i=t(37540),v=t(55902),f=t(66655),c=t(94879),d=t(82367),h=d.set,g=d.getterFor,p=f.find,y=f.findIndex,m=r([].splice),O=0,S=function(x){return x.frozen||(x.frozen=new E)},E=function(){this.entries=[]},T=function(x,I){return p(x.entries,function(A){return A[0]===I})};E.prototype={get:function(x){var I=T(this,x);if(I)return I[1]},has:function(x){return!!T(this,x)},set:function(x,I){var A=T(this,x);A?A[1]=I:this.entries.push([x,I])},delete:function(x){var I=y(this.entries,function(A){return A[0]===x});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(x,I,A,C){var P=x(function(F,D){a(F,N),h(F,{type:I,id:O++,frozen:void 0}),u(D)||v(D,F[C],{that:F,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(F,D,L){var b=$(F),K=e(o(D),!0);return K===!0?S(b).set(D,L):K[b.id]=L,F};return n(N,{delete:function(F){var D=$(this);if(!i(F))return!1;var L=e(F);return L===!0?S(D).delete(F):L&&c(L,D.id)&&delete L[D.id]},has:function(D){var L=$(this);if(!i(D))return!1;var b=e(D);return b===!0?S(L).has(D):b&&c(b,L.id)}}),n(N,A?{get:function(D){var L=$(this);if(i(D)){var b=e(D);return b===!0?S(L).get(D):b?b[L.id]:void 0}},set:function(D,L){return U(this,D,L)}}:{add:function(D){return U(this,D,!0)}}),P}}},89378:function(s,l,t){var r=t(14304),n=t(66009),e=t(11286),a=t(13278),o=t(16142),u=t(31853),i=t(55902),v=t(12833),f=t(23583),c=t(5683),d=t(37540),h=t(72069),g=t(97494),p=t(78401),y=t(32345);s.exports=function(m,O,S){var E=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,x=E?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(K){var H=e(A[K]);o(A,K,K==="add"?function(X){return H(this,X===0?0:X),this}:K==="delete"?function(Q){return T&&!d(Q)?!1:H(this,Q===0?0:Q)}:K==="get"?function(X){return T&&!d(X)?void 0:H(this,X===0?0:X)}:K==="has"?function(X){return T&&!d(X)?!1:H(this,X===0?0:X)}:function(X,st){return H(this,X===0?0:X,st),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=S.getConstructor(O,m,E,x),u.enable();else if(a(m,!0)){var U=new C,F=U[x](T?{}:-0,1)!==U,D=h(function(){U.has(1)}),L=g(function(K){new I(K)}),b=!T&&h(function(){for(var K=new I,H=5;H--;)K[x](H,H);return!K.has(-0)});L||(C=O(function(K,H){v(K,A);var Q=y(new I,K,C);return c(H)||i(H,Q[x],{that:Q,AS_ENTRIES:E}),Q}),C.prototype=A,A.constructor=C),(D||b)&&(N("delete"),N("has"),E&&N("get")),(b||F)&&N(x),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||S.setStrong(C,m,E),C}},93706:function(s,l,t){var r=t(94879),n=t(16885),e=t(71349),a=t(7831);s.exports=function(o,u,i){for(var v=n(u),f=a.f,c=e.f,d=0;d"+c+""}},10659:function(s){s.exports=function(l,t){return{value:l,done:t}}},90809:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=r?function(a,o,u){return n.f(a,o,e(1,u))}:function(a,o,u){return a[o]=u,a}},18526:function(s){s.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}},84082:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=function(a,o,u){r?n.f(a,o,e(0,u)):a[o]=u}},11890:function(s,l,t){var r=t(11286),n=t(72069),e=t(61607).start,a=RangeError,o=isFinite,u=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),c=r(i.getUTCDate),d=r(i.getUTCFullYear),h=r(i.getUTCHours),g=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),m=r(i.getUTCSeconds);s.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!o(f(this)))throw new a("Invalid time value");var S=this,E=d(S),T=g(S),x=E<0?"-":E>9999?"+":"";return x+e(u(E),x?6:4,0)+"-"+e(y(S)+1,2,0)+"-"+e(c(S),2,0)+"T"+e(h(S),2,0)+":"+e(p(S),2,0)+":"+e(m(S),2,0)+"."+e(T,3,0)+"Z"}:v},84306:function(s,l,t){var r=t(25001),n=t(2064),e=TypeError;s.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},85500:function(s,l,t){var r=t(13749),n=t(7831);s.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},16142:function(s,l,t){var r=t(23583),n=t(7831),e=t(13749),a=t(36003);s.exports=function(o,u,i,v){v||(v={});var f=v.enumerable,c=v.name!==void 0?v.name:u;if(r(i)&&e(i,c,v),v.global)f?o[u]=i:a(u,i);else{try{v.unsafe?o[u]&&(f=!0):delete o[u]}catch(d){}f?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},2725:function(s,l,t){var r=t(16142);s.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},36003:function(s,l,t){var r=t(66009),n=Object.defineProperty;s.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},12384:function(s,l,t){var r=t(82453),n=TypeError;s.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},92986:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(s,l,t){var r=t(66009),n=t(18096),e=t(99050),a=r.structuredClone,o=r.ArrayBuffer,u=r.MessageChannel,i=!1,v,f,c,d;if(e)i=function(h){a(h,{transfer:[h]})};else if(o)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(f=new u,c=new o(2),d=function(h){f.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(i=d)))}catch(h){}s.exports=i},85501:function(s,l,t){var r=t(66009),n=t(37540),e=r.document,a=n(e)&&n(e.createElement);s.exports=function(o){return a?e.createElement(o):{}}},20095:function(s){var l=TypeError,t=9007199254740991;s.exports=function(r){if(r>t)throw l("Maximum allowed index exceeded");return r}},74408:function(s){s.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(s,l,t){var r=t(85501),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;s.exports=e===Object.prototype?void 0:e},54040:function(s,l,t){var r=t(89042),n=r.match(/firefox\/(\d+)/i);s.exports=!!n&&+n[1]},63144:function(s,l,t){var r=t(56422),n=t(42954);s.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},5017:function(s){s.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(s){s.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(s,l,t){var r=t(89042);s.exports=/MSIE|Trident/.test(r)},92150:function(s,l,t){var r=t(89042);s.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},51149:function(s,l,t){var r=t(89042);s.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},42954:function(s,l,t){var r=t(66009),n=t(14274);s.exports=n(r.process)==="process"},81539:function(s,l,t){var r=t(89042);s.exports=/web0s(?!.*chrome)/i.test(r)},89042:function(s){s.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(s,l,t){var r=t(66009),n=t(89042),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,u=o&&o.v8,i,v;u&&(i=u.split("."),v=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!v&&n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(v=+i[1]))),s.exports=v},68674:function(s,l,t){var r=t(89042),n=r.match(/AppleWebKit\/(\d+)\./);s.exports=!!n&&+n[1]},75785:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(s,l,t){var r=t(11286),n=Error,e=r("".replace),a=function(i){return String(new n(i).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);s.exports=function(i,v){if(u&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}},97077:function(s,l,t){var r=t(90809),n=t(40851),e=t(16929),a=Error.captureStackTrace;s.exports=function(o,u,i,v){e&&(a?a(o,u):r(o,"stack",n(i,v)))}},16929:function(s,l,t){var r=t(72069),n=t(18526);s.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})},58434:function(s,l,t){var r=t(92986),n=t(72069),e=t(25001),a=t(15453),o=Error.prototype.toString,u=n(function(){if(r){var i=Object.create(Object.defineProperty({},"name",{get:function(){return this===i}}));if(o.call(i)!=="true")return!0}return o.call({message:1,name:2})!=="2: 1"||o.call({})!=="Error"});s.exports=u?function(){var v=e(this),f=a(v.name,"Error"),c=a(v.message);return f?c?f+": "+c:f:c}:o},14304:function(s,l,t){var r=t(66009),n=t(71349).f,e=t(90809),a=t(16142),o=t(36003),u=t(93706),i=t(13278);s.exports=function(v,f){var c=v.target,d=v.global,h=v.stat,g,p,y,m,O,S;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(O=f[y],v.dontCallGetSet?(S=n(p,y),m=S&&S.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof O==typeof m)continue;u(O,m)}(v.sham||m&&m.sham)&&e(O,"sham",!0),a(p,y,O,v)}}},72069:function(s){s.exports=function(l){try{return!!l()}catch(t){return!0}}},63194:function(s,l,t){t(31145);var r=t(96499),n=t(16142),e=t(44381),a=t(72069),o=t(18565),u=t(90809),i=o("species"),v=RegExp.prototype;s.exports=function(f,c,d,h){var g=o(f),p=!a(function(){var S={};return S[g]=function(){return 7},""[f](S)!==7}),y=p&&!a(function(){var S=!1,E=/a/;return f==="split"&&(E={},E.constructor={},E.constructor[i]=function(){return E},E.flags="",E[g]=/./[g]),E.exec=function(){return S=!0,null},E[g](""),!S});if(!p||!y||d){var m=/./[g],O=c(g,""[f],function(S,E,T,x,I){var A=E.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,E,T,x)}:{done:!0,value:r(S,T,E,x)}:{done:!1}});n(String.prototype,f,O[0]),n(v,g,O[1])}h&&u(v[g],"sham",!0)}},53149:function(s,l,t){var r=t(3438),n=t(82628),e=t(20095),a=t(45526),o=function(u,i,v,f,c,d,h,g){for(var p=c,y=0,m=h?a(h,g):!1,O,S;y0&&r(O)?(S=n(O),p=o(u,i,O,S,p,d-1)-1):(e(p+1),u[p]=O),p++),y++;return p};s.exports=o},27534:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.apply,a=n.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},45526:function(s,l,t){var r=t(77422),n=t(85156),e=t(87878),a=r(r.bind);s.exports=function(o,u){return n(o),u===void 0?o:e?a(o,u):function(){return o.apply(u,arguments)}}},87878:function(s,l,t){var r=t(72069);s.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(s,l,t){var r=t(11286),n=t(85156),e=t(37540),a=t(94879),o=t(22806),u=t(87878),i=Function,v=r([].concat),f=r([].join),c={},d=function(h,g,p){if(!a(c,g)){for(var y=[],m=0;m]*>)/g,v=/\$([$&'`]|\d{1,2})/g;s.exports=function(f,c,d,h,g,p){var y=d+f.length,m=h.length,O=v;return g!==void 0&&(g=n(g),O=i),o(p,O,function(S,E){var T;switch(a(E,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(E,1,-1)];break;default:var x=+E;if(x===0)return S;if(x>m){var I=e(x/10);return I===0?S:I<=m?h[I-1]===void 0?a(E,1):h[I-1]+a(E,1):S}T=h[x-1]}return T===void 0?"":T})}},66009:function(s){var l=function(t){return t&&t.Math===Math&&t};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof global=="object"&&global)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(s,l,t){var r=t(11286),n=t(49671),e=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(o,u){return e(n(o),u)}},19423:function(s){s.exports={}},99095:function(s){s.exports=function(l,t){try{arguments.length===1?console.error(l):console.error(l,t)}catch(r){}}},96439:function(s,l,t){var r=t(38941);s.exports=r("document","documentElement")},52515:function(s,l,t){var r=t(92986),n=t(72069),e=t(85501);s.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(s){var l=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(i,v,f){var c=l(f),d=f*8-v-1,h=(1<>1,p=v===23?r(2,-24)-r(2,-77):0,y=i<0||i===0&&1/i<0?1:0,m=0,O,S,E;for(i=t(i),i!==i||i===1/0?(S=i!==i?1:0,O=h):(O=n(e(i)/a),E=r(2,-O),i*E<1&&(O--,E*=2),O+g>=1?i+=p/E:i+=p*r(2,1-g),i*E>=2&&(O++,E/=2),O+g>=h?(S=0,O=h):O+g>=1?(S=(i*E-1)*r(2,v),O+=g):(S=i*r(2,g-1)*r(2,v),O=0));v>=8;)c[m++]=S&255,S/=256,v-=8;for(O=O<0;)c[m++]=O&255,O/=256,d-=8;return c[--m]|=y*128,c},u=function(i,v){var f=i.length,c=f*8-v-1,d=(1<>1,g=c-7,p=f-1,y=i[p--],m=y&127,O;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(O=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)O=O*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return O?NaN:y?-1/0:1/0;O+=r(2,v),m-=h}return(y?-1:1)*O*r(2,m-v)};s.exports={pack:o,unpack:u}},72181:function(s,l,t){var r=t(11286),n=t(72069),e=t(14274),a=Object,o=r("".split);s.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return e(u)==="String"?o(u,""):a(u)}:a},32345:function(s,l,t){var r=t(23583),n=t(37540),e=t(15861);s.exports=function(a,o,u){var i,v;return e&&r(i=o.constructor)&&i!==u&&n(v=i.prototype)&&v!==u.prototype&&e(a,v),a}},84352:function(s,l,t){var r=t(11286),n=t(23583),e=t(70443),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),s.exports=e.inspectSource},31486:function(s,l,t){var r=t(37540),n=t(90809);s.exports=function(e,a){r(a)&&"cause"in a&&n(e,"cause",a.cause)}},31853:function(s,l,t){var r=t(14304),n=t(11286),e=t(19423),a=t(37540),o=t(94879),u=t(7831).f,i=t(83258),v=t(92880),f=t(28174),c=t(36374),d=t(27534),h=!1,g=c("meta"),p=0,y=function(x){u(x,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(x,I){if(!a(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!o(x,g)){if(!f(x))return"F";if(!I)return"E";y(x)}return x[g].objectID},O=function(x,I){if(!o(x,g)){if(!f(x))return!0;if(!I)return!1;y(x)}return x[g].weakData},S=function(x){return d&&h&&f(x)&&!o(x,g)&&y(x),x},E=function(){T.enable=function(){},h=!0;var x=i.f,I=n([].splice),A={};A[g]=1,x(A).length&&(i.f=function(C){for(var P=x(C),N=0,$=P.length;N<$;N++)if(P[N]===g){I(P,N,1);break}return P},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},T=s.exports={enable:E,fastKey:m,getWeakData:O,onFreeze:S};e[g]=!0},82367:function(s,l,t){var r=t(42960),n=t(66009),e=t(37540),a=t(90809),o=t(94879),u=t(70443),i=t(44869),v=t(19423),f="Object already initialized",c=n.TypeError,d=n.WeakMap,h,g,p,y=function(E){return p(E)?g(E):h(E,{})},m=function(E){return function(T){var x;if(!e(T)||(x=g(T)).type!==E)throw new c("Incompatible receiver, "+E+" required");return x}};if(r||u.state){var O=u.state||(u.state=new d);O.get=O.get,O.has=O.has,O.set=O.set,h=function(E,T){if(O.has(E))throw new c(f);return T.facade=E,O.set(E,T),T},g=function(E){return O.get(E)||{}},p=function(E){return O.has(E)}}else{var S=i("state");v[S]=!0,h=function(E,T){if(o(E,S))throw new c(f);return T.facade=E,a(E,S,T),T},g=function(E){return o(E,S)?E[S]:{}},p=function(E){return o(E,S)}}s.exports={set:h,get:g,has:p,enforce:y,getterFor:m}},48199:function(s,l,t){var r=t(18565),n=t(29107),e=r("iterator"),a=Array.prototype;s.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},3438:function(s,l,t){var r=t(14274);s.exports=Array.isArray||function(e){return r(e)==="Array"}},77129:function(s,l,t){var r=t(9205);s.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},23583:function(s){var l=typeof document=="object"&&document.all;s.exports=typeof l=="undefined"&&l!==void 0?function(t){return typeof t=="function"||t===l}:function(t){return typeof t=="function"}},11051:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(9205),o=t(38941),u=t(84352),i=function(){},v=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,c=r(f.exec),d=!f.test(i),h=function(y){if(!e(y))return!1;try{return v(i,[],y),!0}catch(m){return!1}},g=function(y){if(!e(y))return!1;switch(a(y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(f,u(y))}catch(m){return!0}};g.sham=!0,s.exports=!v||n(function(){var p;return h(h.call)||!h(Object)||!h(function(){p=!0})||p})?g:h},69745:function(s,l,t){var r=t(94879);s.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},13278:function(s,l,t){var r=t(72069),n=t(23583),e=/#|\.prototype\./,a=function(f,c){var d=u[o(f)];return d===v?!0:d===i?!1:n(c)?r(c):!!c},o=a.normalize=function(f){return String(f).replace(e,".").toLowerCase()},u=a.data={},i=a.NATIVE="N",v=a.POLYFILL="P";s.exports=a},613:function(s,l,t){var r=t(37540),n=Math.floor;s.exports=Number.isInteger||function(a){return!r(a)&&isFinite(a)&&n(a)===a}},5683:function(s){s.exports=function(l){return l==null}},37540:function(s,l,t){var r=t(23583);s.exports=function(n){return typeof n=="object"?n!==null:r(n)}},52427:function(s,l,t){var r=t(37540);s.exports=function(n){return r(n)||n===null}},70457:function(s){s.exports=!1},11566:function(s,l,t){var r=t(37540),n=t(14274),e=t(18565),a=e("match");s.exports=function(o){var u;return r(o)&&((u=o[a])!==void 0?!!u:n(o)==="RegExp")}},491:function(s,l,t){var r=t(38941),n=t(23583),e=t(95307),a=t(50234),o=Object;s.exports=a?function(u){return typeof u=="symbol"}:function(u){var i=r("Symbol");return n(i)&&e(i.prototype,o(u))}},9573:function(s,l,t){var r=t(96499);s.exports=function(n,e,a){for(var o=a?n:n.iterator,u=n.next,i,v;!(i=r(u,o)).done;)if(v=e(i.value),v!==void 0)return v}},55902:function(s,l,t){var r=t(45526),n=t(96499),e=t(25001),a=t(82453),o=t(48199),u=t(82628),i=t(95307),v=t(90619),f=t(81077),c=t(99797),d=TypeError,h=function(p,y){this.stopped=p,this.result=y},g=h.prototype;s.exports=function(p,y,m){var O=m&&m.that,S=!!(m&&m.AS_ENTRIES),E=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),x=!!(m&&m.INTERRUPTED),I=r(y,O),A,C,P,N,$,U,F,D=function(b){return A&&c(A,"normal",b),new h(!0,b)},L=function(b){return S?(e(b),x?I(b[0],b[1],D):I(b[0],b[1])):x?I(b,D):I(b)};if(E)A=p.iterator;else if(T)A=p;else{if(C=f(p),!C)throw new d(a(p)+" is not iterable");if(o(C)){for(P=0,N=u(p);N>P;P++)if($=L(p[P]),$&&i(g,$))return $;return new h(!1)}A=v(p,C)}for(U=E?p.next:A.next;!(F=n(U,A)).done;){try{$=L(F.value)}catch(b){c(A,"throw",b)}if(typeof $=="object"&&$&&i(g,$))return $}return new h(!1)}},99797:function(s,l,t){var r=t(96499),n=t(25001),e=t(10512);s.exports=function(a,o,u){var i,v;n(a);try{if(i=e(a,"return"),!i){if(o==="throw")throw u;return u}i=r(i,a)}catch(f){v=!0,i=f}if(o==="throw")throw u;if(v)throw i;return n(i),u}},26820:function(s,l,t){var r=t(24519).IteratorPrototype,n=t(5406),e=t(18526),a=t(78401),o=t(29107),u=function(){return this};s.exports=function(i,v,f,c){var d=v+" Iterator";return i.prototype=n(r,{next:e(+!c,f)}),a(i,d,!1,!0),o[d]=u,i}},10218:function(s,l,t){var r=t(14304),n=t(96499),e=t(70457),a=t(86588),o=t(23583),u=t(26820),i=t(26313),v=t(15861),f=t(78401),c=t(90809),d=t(16142),h=t(18565),g=t(29107),p=t(24519),y=a.PROPER,m=a.CONFIGURABLE,O=p.IteratorPrototype,S=p.BUGGY_SAFARI_ITERATORS,E=h("iterator"),T="keys",x="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,F,D){u(N,P,$);var L=function(gt){if(gt===U&&X)return X;if(!S&>&> in H)return H[gt];switch(gt){case T:return function(){return new N(this,gt)};case x:return function(){return new N(this,gt)};case I:return function(){return new N(this,gt)}}return function(){return new N(this)}},b=P+" Iterator",K=!1,H=C.prototype,Q=H[E]||H["@@iterator"]||U&&H[U],X=!S&&Q||L(U),st=P==="Array"&&H.entries||Q,et,lt,ht;if(st&&(et=i(st.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==O&&(v?v(et,O):o(et[E])||d(et,E,A)),f(et,b,!0,!0),e&&(g[b]=A))),y&&U===x&&Q&&Q.name!==x&&(!e&&m?c(H,"name",x):(K=!0,X=function(){return n(Q,this)})),U)if(lt={values:L(x),keys:F?X:L(T),entries:L(I)},D)for(ht in lt)(S||K||!(ht in H))&&d(H,ht,lt[ht]);else r({target:P,proto:!0,forced:S||K},lt);return(!e||D)&&H[E]!==X&&d(H,E,X,{name:U}),g[P]=X,lt}},24519:function(s,l,t){var r=t(72069),n=t(23583),e=t(37540),a=t(5406),o=t(26313),u=t(16142),i=t(18565),v=t(70457),f=i("iterator"),c=!1,d,h,g;[].keys&&(g=[].keys(),"next"in g?(h=o(o(g)),h!==Object.prototype&&(d=h)):c=!0);var p=!e(d)||r(function(){var y={};return d[f].call(y)!==y});p?d={}:v&&(d=a(d)),n(d[f])||u(d,f,function(){return this}),s.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c}},29107:function(s){s.exports={}},82628:function(s,l,t){var r=t(45344);s.exports=function(n){return r(n.length)}},13749:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(94879),o=t(92986),u=t(86588).CONFIGURABLE,i=t(84352),v=t(82367),f=v.enforce,c=v.get,d=String,h=Object.defineProperty,g=r("".slice),p=r("".replace),y=r([].join),m=o&&!n(function(){return h(function(){},"length",{value:8}).length!==8}),O=String(String).split("String"),S=s.exports=function(E,T,x){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(T="get "+T),x&&x.setter&&(T="set "+T),(!a(E,"name")||u&&E.name!==T)&&(o?h(E,"name",{value:T,configurable:!0}):E.name=T),m&&x&&a(x,"arity")&&E.length!==x.arity&&h(E,"length",{value:x.arity});try{x&&a(x,"constructor")&&x.constructor?o&&h(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch(A){}var I=f(E);return a(I,"source")||(I.source=y(O,typeof T=="string"?T:"")),E};Function.prototype.toString=S(function(){return e(this)&&c(this).source||i(this)},"toString")},1774:function(s,l,t){var r=t(11286),n=Map.prototype;s.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(s){var l=Math.expm1,t=Math.exp;s.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||l(-2e-17)!==-2e-17?function(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}:l},10418:function(s,l,t){var r=t(93976),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(u){return u+a-a};s.exports=function(u,i,v,f){var c=+u,d=n(c),h=r(c);if(dv||p!==p?h*(1/0):h*p}},93279:function(s,l,t){var r=t(10418),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;s.exports=Math.fround||function(u){return r(u,n,e,a)}},41942:function(s){var l=Math.log,t=Math.LOG10E;s.exports=Math.log10||function(n){return l(n)*t}},49366:function(s){var l=Math.log;s.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:l(1+n)}},93976:function(s){s.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(s){var l=Math.ceil,t=Math.floor;s.exports=Math.trunc||function(n){var e=+n;return(e>0?t:l)(e)}},9709:function(s,l,t){var r=t(66009),n=t(28167),e=t(45526),a=t(23115).set,o=t(76895),u=t(51149),i=t(92150),v=t(81539),f=t(42954),c=r.MutationObserver||r.WebKitMutationObserver,d=r.document,h=r.process,g=r.Promise,p=n("queueMicrotask"),y,m,O,S,E;if(!p){var T=new o,x=function(){var I,A;for(f&&(I=h.domain)&&I.exit();A=T.get();)try{A()}catch(C){throw T.head&&y(),C}I&&I.enter()};!u&&!f&&!v&&c&&d?(m=!0,O=d.createTextNode(""),new c(x).observe(O,{characterData:!0}),y=function(){O.data=m=!m}):!i&&g&&g.resolve?(S=g.resolve(void 0),S.constructor=g,E=e(S.then,S),y=function(){E(x)}):f?y=function(){h.nextTick(x)}:(a=e(a,r),y=function(){a(x)}),p=function(I){T.head||y(),T.add(I)}}s.exports=p},24649:function(s,l,t){var r=t(85156),n=TypeError,e=function(a){var o,u;this.promise=new a(function(i,v){if(o!==void 0||u!==void 0)throw new n("Bad Promise constructor");o=i,u=v}),this.resolve=r(o),this.reject=r(u)};s.exports.f=function(a){return new e(a)}},15453:function(s,l,t){var r=t(17361);s.exports=function(n,e){return n===void 0?arguments.length<2?"":e:r(n)}},92337:function(s,l,t){var r=t(11566),n=TypeError;s.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},98074:function(s,l,t){var r=t(66009),n=r.isFinite;s.exports=Number.isFinite||function(a){return typeof a=="number"&&n(a)}},25838:function(s,l,t){var r=t(66009),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=e("".charAt),v=r.parseFloat,f=r.Symbol,c=f&&f.iterator,d=1/v(u+"-0")!==-1/0||c&&!n(function(){v(Object(c))});s.exports=d?function(g){var p=o(a(g)),y=v(p);return y===0&&i(p,0)==="-"?-0:y}:v},23009:function(s,l,t){var r=t(66009),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=r.parseInt,v=r.Symbol,f=v&&v.iterator,c=/^[+-]?0x/i,d=e(c.exec),h=i(u+"08")!==8||i(u+"0x16")!==22||f&&!n(function(){i(Object(f))});s.exports=h?function(p,y){var m=o(a(p));return i(m,y>>>0||(d(c,m)?16:10))}:i},16667:function(s,l,t){var r=t(92986),n=t(11286),e=t(96499),a=t(72069),o=t(18350),u=t(24943),i=t(79591),v=t(49671),f=t(72181),c=Object.assign,d=Object.defineProperty,h=n([].concat);s.exports=!c||a(function(){if(r&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},p={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach(function(O){p[O]=O}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),O=arguments.length,S=1,E=u.f,T=i.f;O>S;)for(var x=f(arguments[S++]),I=E?h(o(x),E(x)):o(x),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,x,P))&&(m[P]=x[P]);return m}:c},5406:function(s,l,t){var r=t(25001),n=t(61963),e=t(75785),a=t(19423),o=t(96439),u=t(85501),i=t(44869),v=">",f="<",c="prototype",d="script",h=i("IE_PROTO"),g=function(){},p=function(E){return f+d+v+E+f+"/"+d+v},y=function(E){E.write(p("")),E.close();var T=E.parentWindow.Object;return E=null,T},m=function(){var E=u("iframe"),T="java"+d+":",x;return E.style.display="none",o.appendChild(E),E.src=String(T),x=E.contentWindow.document,x.open(),x.write(p("document.F=Object")),x.close(),x.F},O,S=function(){try{O=new ActiveXObject("htmlfile")}catch(T){}S=typeof document!="undefined"?document.domain&&O?y(O):m():y(O);for(var E=e.length;E--;)delete S[c][e[E]];return S()};a[h]=!0,s.exports=Object.create||function(T,x){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=S(),x===void 0?I:n.f(I,x)}},61963:function(s,l,t){var r=t(92986),n=t(356),e=t(7831),a=t(25001),o=t(36859),u=t(18350);l.f=r&&!n?Object.defineProperties:function(v,f){a(v);for(var c=o(f),d=u(f),h=d.length,g=0,p;h>g;)e.f(v,p=d[g++],c[p]);return v}},7831:function(s,l,t){var r=t(92986),n=t(52515),e=t(356),a=t(25001),o=t(50035),u=TypeError,i=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",d="writable";l.f=r?e?function(g,p,y){if(a(g),p=o(p),a(y),typeof g=="function"&&p==="prototype"&&"value"in y&&d in y&&!y[d]){var m=v(g,p);m&&m[d]&&(g[p]=y.value,y={configurable:c in y?y[c]:m[c],enumerable:f in y?y[f]:m[f],writable:!1})}return i(g,p,y)}:i:function(g,p,y){if(a(g),p=o(p),a(y),n)try{return i(g,p,y)}catch(m){}if("get"in y||"set"in y)throw new u("Accessors not supported");return"value"in y&&(g[p]=y.value),g}},71349:function(s,l,t){var r=t(92986),n=t(96499),e=t(79591),a=t(18526),o=t(36859),u=t(50035),i=t(94879),v=t(52515),f=Object.getOwnPropertyDescriptor;l.f=r?f:function(d,h){if(d=o(d),h=u(h),v)try{return f(d,h)}catch(g){}if(i(d,h))return a(!n(e.f,d,h),d[h])}},92880:function(s,l,t){var r=t(14274),n=t(36859),e=t(83258).f,a=t(22806),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(i){try{return e(i)}catch(v){return a(o)}};s.exports.f=function(v){return o&&r(v)==="Window"?u(v):e(n(v))}},83258:function(s,l,t){var r=t(6242),n=t(75785),e=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(o){return r(o,e)}},24943:function(s,l){l.f=Object.getOwnPropertySymbols},26313:function(s,l,t){var r=t(94879),n=t(23583),e=t(49671),a=t(44869),o=t(87501),u=a("IE_PROTO"),i=Object,v=i.prototype;s.exports=o?i.getPrototypeOf:function(f){var c=e(f);if(r(c,u))return c[u];var d=c.constructor;return n(d)&&c instanceof d?d.prototype:c instanceof i?v:null}},28174:function(s,l,t){var r=t(72069),n=t(37540),e=t(14274),a=t(72058),o=Object.isExtensible,u=r(function(){o(1)});s.exports=u||a?function(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}:o},95307:function(s,l,t){var r=t(11286);s.exports=r({}.isPrototypeOf)},6242:function(s,l,t){var r=t(11286),n=t(94879),e=t(36859),a=t(94319).indexOf,o=t(19423),u=r([].push);s.exports=function(i,v){var f=e(i),c=0,d=[],h;for(h in f)!n(o,h)&&n(f,h)&&u(d,h);for(;v.length>c;)n(f,h=v[c++])&&(~a(d,h)||u(d,h));return d}},18350:function(s,l,t){var r=t(6242),n=t(75785);s.exports=Object.keys||function(a){return r(a,n)}},79591:function(s,l){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);l.f=n?function(a){var o=r(this,a);return!!o&&o.enumerable}:t},57629:function(s,l,t){var r=t(70457),n=t(66009),e=t(72069),a=t(68674);s.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},15861:function(s,l,t){var r=t(84756),n=t(37540),e=t(2068),a=t(53408);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,u={},i;try{i=r(Object.prototype,"__proto__","set"),i(u,[]),o=u instanceof Array}catch(v){}return function(f,c){return e(f),a(c),n(f)&&(o?i(f,c):f.__proto__=c),f}}():void 0)},8511:function(s,l,t){var r=t(92986),n=t(72069),e=t(11286),a=t(26313),o=t(18350),u=t(36859),i=t(79591).f,v=e(i),f=e([].push),c=r&&n(function(){var h=Object.create(null);return h[2]=2,!v(h,2)}),d=function(h){return function(g){for(var p=u(g),y=o(p),m=c&&a(p)===null,O=y.length,S=0,E=[],T;O>S;)T=y[S++],(!r||(m?T in p:v(p,T)))&&f(E,h?[T,p[T]]:p[T]);return E}};s.exports={entries:d(!0),values:d(!1)}},60105:function(s,l,t){var r=t(67878),n=t(9205);s.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(s,l,t){var r=t(96499),n=t(23583),e=t(37540),a=TypeError;s.exports=function(o,u){var i,v;if(u==="string"&&n(i=o.toString)&&!e(v=r(i,o))||n(i=o.valueOf)&&!e(v=r(i,o))||u!=="string"&&n(i=o.toString)&&!e(v=r(i,o)))return v;throw new a("Can't convert object to primitive value")}},16885:function(s,l,t){var r=t(38941),n=t(11286),e=t(83258),a=t(24943),o=t(25001),u=n([].concat);s.exports=r("Reflect","ownKeys")||function(v){var f=e.f(o(v)),c=a.f;return c?u(f,c(v)):f}},75081:function(s,l,t){var r=t(66009);s.exports=r},67805:function(s){s.exports=function(l){try{return{error:!1,value:l()}}catch(t){return{error:!0,value:t}}}},37130:function(s,l,t){var r=t(66009),n=t(98844),e=t(23583),a=t(13278),o=t(84352),u=t(18565),i=t(63144),v=t(56422),f=t(70457),c=t(73126),d=n&&n.prototype,h=u("species"),g=!1,p=e(r.PromiseRejectionEvent),y=a("Promise",function(){var m=o(n),O=m!==String(n);if(!O&&c===66||f&&!(d.catch&&d.finally))return!0;if(!c||c<51||!/native code/.test(m)){var S=new n(function(x){x(1)}),E=function(x){x(function(){},function(){})},T=S.constructor={};if(T[h]=E,g=S.then(function(){})instanceof E,!g)return!0}return!O&&(i||v)&&!p});s.exports={CONSTRUCTOR:y,REJECTION_EVENT:p,SUBCLASSING:g}},98844:function(s,l,t){var r=t(66009);s.exports=r.Promise},87408:function(s,l,t){var r=t(25001),n=t(37540),e=t(24649);s.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var u=e.f(a),i=u.resolve;return i(o),u.promise}},26035:function(s,l,t){var r=t(98844),n=t(97494),e=t(37130).CONSTRUCTOR;s.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},2594:function(s,l,t){var r=t(7831).f;s.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){return e[a]},set:function(o){e[a]=o}})}},76895:function(s){var l=function(){this.head=null,this.tail=null};l.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},s.exports=l},33064:function(s,l,t){var r=t(96499),n=t(25001),e=t(23583),a=t(14274),o=t(44381),u=TypeError;s.exports=function(i,v){var f=i.exec;if(e(f)){var c=r(f,i,v);return c!==null&&n(c),c}if(a(i)==="RegExp")return r(o,i,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(s,l,t){var r=t(96499),n=t(11286),e=t(17361),a=t(29833),o=t(39807),u=t(96731),i=t(5406),v=t(82367).get,f=t(76769),c=t(85220),d=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,p=n("".charAt),y=n("".indexOf),m=n("".replace),O=n("".slice),S=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),E=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,x=S||T||E||f||c;x&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,F,D,L,b,K,H;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var Q=P.groups,X=E&&C.sticky,st=r(a,C),et=C.source,lt=0,ht=N;if(X&&(st=m(st,"y",""),y(st,"g")===-1&&(st+="g"),ht=O(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` `)&&(et="(?: "+et+")",ht=" "+ht,lt++),F=new RegExp("^(?:"+et+")",st)),T&&(F=new RegExp("^"+et+"$(?!\\s)",st)),S&&(D=C.lastIndex),L=r(h,X?F:C,ht),X?L?(L.input=O(L.input,lt),L[0]=O(L[0],lt),L.index=C.lastIndex,C.lastIndex+=L[0].length):C.lastIndex=0:S&&L&&(C.lastIndex=C.global?L.index+L[0].length:D),T&&L&&L.length>1&&r(d,L[0],F,function(){for(b=1;bb)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$c")!=="bc"})},2068:function(s,l,t){var r=t(5683),n=TypeError;s.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},28167:function(s,l,t){var r=t(66009),n=t(92986),e=Object.getOwnPropertyDescriptor;s.exports=function(a){if(!n)return r[a];var o=e(r,a);return o&&o.value}},13944:function(s){s.exports=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}},9934:function(s,l,t){var r=t(66009),n=t(66543),e=t(23583),a=t(5017),o=t(89042),u=t(22806),i=t(95486),v=r.Function,f=/MSIE .\./.test(o)||a&&function(){var c=r.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")}();s.exports=function(c,d){var h=d?2:1;return f?function(g,p){var y=i(arguments.length,1)>h,m=e(g)?g:v(g),O=y?u(arguments,h):[],S=y?function(){n(m,this,O)}:m;return d?c(S,p):c(S)}:c}},48348:function(s,l,t){var r=t(172),n=t(35051),e=r.Set,a=r.add;s.exports=function(o){var u=new e;return n(o,function(i){a(u,i)}),u}},41754:function(s,l,t){var r=t(76602),n=t(172),e=t(48348),a=t(17768),o=t(65263),u=t(35051),i=t(9573),v=n.has,f=n.remove;s.exports=function(d){var h=r(this),g=o(d),p=e(h);return a(h)<=g.size?u(h,function(y){g.includes(y)&&f(p,y)}):i(g.getIterator(),function(y){v(h,y)&&f(p,y)}),p}},172:function(s,l,t){var r=t(11286),n=Set.prototype;s.exports={Set,add:r(n.add),has:r(n.has),remove:r(n.delete),proto:n}},92292:function(s,l,t){var r=t(76602),n=t(172),e=t(17768),a=t(65263),o=t(35051),u=t(9573),i=n.Set,v=n.add,f=n.has;s.exports=function(d){var h=r(this),g=a(d),p=new i;return e(h)>g.size?u(g.getIterator(),function(y){f(h,y)&&v(p,y)}):o(h,function(y){g.includes(y)&&v(p,y)}),p}},47391:function(s,l,t){var r=t(76602),n=t(172).has,e=t(17768),a=t(65263),o=t(35051),u=t(9573),i=t(99797);s.exports=function(f){var c=r(this),d=a(f);if(e(c)<=d.size)return o(c,function(g){if(d.includes(g))return!1},!0)!==!1;var h=d.getIterator();return u(h,function(g){if(n(c,g))return i(h,"normal",!1)})!==!1}},75492:function(s,l,t){var r=t(76602),n=t(17768),e=t(35051),a=t(65263);s.exports=function(u){var i=r(this),v=a(u);return n(i)>v.size?!1:e(i,function(f){if(!v.includes(f))return!1},!0)!==!1}},1333:function(s,l,t){var r=t(76602),n=t(172).has,e=t(17768),a=t(65263),o=t(9573),u=t(99797);s.exports=function(v){var f=r(this),c=a(v);if(e(f)3})}},22149:function(s,l,t){var r=t(11286),n=t(12105),e=t(17361),a=t(2068),o=r("".charAt),u=r("".charCodeAt),i=r("".slice),v=function(f){return function(c,d){var h=e(a(c)),g=n(d),p=h.length,y,m;return g<0||g>=p?f?"":void 0:(y=u(h,g),y<55296||y>56319||g+1===p||(m=u(h,g+1))<56320||m>57343?f?o(h,g):y:f?i(h,g,g+2):(y-55296<<10)+(m-56320)+65536)}};s.exports={codeAt:v(!1),charAt:v(!0)}},36945:function(s,l,t){var r=t(89042);s.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},61607:function(s,l,t){var r=t(11286),n=t(45344),e=t(17361),a=t(79719),o=t(2068),u=r(a),i=r("".slice),v=Math.ceil,f=function(c){return function(d,h,g){var p=e(o(d)),y=n(h),m=p.length,O=g===void 0?" ":e(g),S,E;return y<=m||O===""?p:(S=y-m,E=u(O,v(S/O.length)),E.length>S&&(E=i(E,0,S)),c?p+E:E+p)}};s.exports={start:f(!1),end:f(!0)}},38679:function(s,l,t){var r=t(11286),n=2147483647,e=36,a=1,o=26,u=38,i=700,v=72,f=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",p=e-a,y=RangeError,m=r(h.exec),O=Math.floor,S=String.fromCharCode,E=r("".charCodeAt),T=r([].join),x=r([].push),I=r("".replace),A=r("".split),C=r("".toLowerCase),P=function(F){for(var D=[],L=0,b=F.length;L=55296&&K<=56319&&L>1,F+=O(F/D);F>p*o>>1;)F=O(F/p),b+=e;return O(b+(p+1)*F/(F+u))},U=function(F){var D=[];F=P(F);var L=F.length,b=f,K=0,H=v,Q,X;for(Q=0;Q=b&&XO((n-K)/ht))throw new y(g);for(K+=(lt-b)*ht,b=lt,Q=0;Qn)throw new y(g);if(X===b){for(var gt=K,Lt=e;;){var Dt=Lt<=H?a:Lt>=H+o?o:Lt-H;if(gt0;(f>>>=1)&&(i+=i))f&1&&(v+=i);return v}},75176:function(s,l,t){var r=t(85900).end,n=t(33328);s.exports=n("trimEnd")?function(){return r(this)}:"".trimEnd},33328:function(s,l,t){var r=t(86588).PROPER,n=t(72069),e=t(77082),a="\u200B\x85\u180E";s.exports=function(o){return n(function(){return!!e[o]()||a[o]()!==a||r&&e[o].name!==o})}},83481:function(s,l,t){var r=t(85900).start,n=t(33328);s.exports=n("trimStart")?function(){return r(this)}:"".trimStart},85900:function(s,l,t){var r=t(11286),n=t(2068),e=t(17361),a=t(77082),o=r("".replace),u=RegExp("^["+a+"]+"),i=RegExp("(^|[^"+a+"])["+a+"]+$"),v=function(f){return function(c){var d=e(n(c));return f&1&&(d=o(d,u,"")),f&2&&(d=o(d,i,"$1")),d}};s.exports={start:v(1),end:v(2),trim:v(3)}},99050:function(s,l,t){var r=t(66009),n=t(72069),e=t(73126),a=t(63144),o=t(56422),u=t(42954),i=r.structuredClone;s.exports=!!i&&!n(function(){if(o&&e>92||u&&e>94||a&&e>97)return!1;var v=new ArrayBuffer(8),f=i(v,{transfer:[v]});return v.byteLength!==0||f.byteLength!==8})},39729:function(s,l,t){var r=t(73126),n=t(72069),e=t(66009),a=e.String;s.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return!a(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},60796:function(s,l,t){var r=t(96499),n=t(38941),e=t(18565),a=t(16142);s.exports=function(){var o=n("Symbol"),u=o&&o.prototype,i=u&&u.valueOf,v=e("toPrimitive");u&&!u[v]&&a(u,v,function(f){return r(i,this)},{arity:1})}},61190:function(s,l,t){var r=t(39729);s.exports=r&&!!Symbol.for&&!!Symbol.keyFor},23115:function(s,l,t){var r=t(66009),n=t(66543),e=t(45526),a=t(23583),o=t(94879),u=t(72069),i=t(96439),v=t(22806),f=t(85501),c=t(95486),d=t(51149),h=t(42954),g=r.setImmediate,p=r.clearImmediate,y=r.process,m=r.Dispatch,O=r.Function,S=r.MessageChannel,E=r.String,T=0,x={},I="onreadystatechange",A,C,P,N;u(function(){A=r.location});var $=function(L){if(o(x,L)){var b=x[L];delete x[L],b()}},U=function(L){return function(){$(L)}},F=function(L){$(L.data)},D=function(L){r.postMessage(E(L),A.protocol+"//"+A.host)};(!g||!p)&&(g=function(b){c(arguments.length,1);var K=a(b)?b:O(b),H=v(arguments,1);return x[++T]=function(){n(K,void 0,H)},C(T),T},p=function(b){delete x[b]},h?C=function(L){y.nextTick(U(L))}:m&&m.now?C=function(L){m.now(U(L))}:S&&!d?(P=new S,N=P.port2,P.port1.onmessage=F,C=e(N.postMessage,N)):r.addEventListener&&a(r.postMessage)&&!r.importScripts&&A&&A.protocol!=="file:"&&!u(D)?(C=D,r.addEventListener("message",F,!1)):I in f("script")?C=function(L){i.appendChild(f("script"))[I]=function(){i.removeChild(this),$(L)}}:C=function(L){setTimeout(U(L),0)}),s.exports={set:g,clear:p}},34338:function(s,l,t){var r=t(11286);s.exports=r(1 .valueOf)},4652:function(s,l,t){var r=t(12105),n=Math.max,e=Math.min;s.exports=function(a,o){var u=r(a);return u<0?n(u+o,0):e(u,o)}},11344:function(s,l,t){var r=t(89935),n=TypeError;s.exports=function(e){var a=r(e,"number");if(typeof a=="number")throw new n("Can't convert number to bigint");return BigInt(a)}},9450:function(s,l,t){var r=t(12105),n=t(45344),e=RangeError;s.exports=function(a){if(a===void 0)return 0;var o=r(a),u=n(o);if(o!==u)throw new e("Wrong length or index");return u}},36859:function(s,l,t){var r=t(72181),n=t(2068);s.exports=function(e){return r(n(e))}},12105:function(s,l,t){var r=t(22459);s.exports=function(n){var e=+n;return e!==e||e===0?0:r(e)}},45344:function(s,l,t){var r=t(12105),n=Math.min;s.exports=function(e){var a=r(e);return a>0?n(a,9007199254740991):0}},49671:function(s,l,t){var r=t(2068),n=Object;s.exports=function(e){return n(r(e))}},58143:function(s,l,t){var r=t(98072),n=RangeError;s.exports=function(e,a){var o=r(e);if(o%a)throw new n("Wrong offset");return o}},98072:function(s,l,t){var r=t(12105),n=RangeError;s.exports=function(e){var a=r(e);if(a<0)throw new n("The argument can't be less than 0");return a}},89935:function(s,l,t){var r=t(96499),n=t(37540),e=t(491),a=t(10512),o=t(2064),u=t(18565),i=TypeError,v=u("toPrimitive");s.exports=function(f,c){if(!n(f)||e(f))return f;var d=a(f,v),h;if(d){if(c===void 0&&(c="default"),h=r(d,f,c),!n(h)||e(h))return h;throw new i("Can't convert object to primitive value")}return c===void 0&&(c="number"),o(f,c)}},50035:function(s,l,t){var r=t(89935),n=t(491);s.exports=function(e){var a=r(e,"string");return n(a)?a:a+""}},67878:function(s,l,t){var r=t(18565),n=r("toStringTag"),e={};e[n]="z",s.exports=String(e)==="[object z]"},17361:function(s,l,t){var r=t(9205),n=String;s.exports=function(e){if(r(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},76517:function(s){var l=Math.round;s.exports=function(t){var r=l(t);return r<0?0:r>255?255:r&255}},18096:function(s,l,t){var r=t(42954);s.exports=function(n){try{if(r)return Function('return require("'+n+'")')()}catch(e){}}},82453:function(s){var l=String;s.exports=function(t){try{return l(t)}catch(r){return"Object"}}},80357:function(s,l,t){var r=t(14304),n=t(66009),e=t(96499),a=t(92986),o=t(46868),u=t(88037),i=t(17468),v=t(12833),f=t(18526),c=t(90809),d=t(613),h=t(45344),g=t(9450),p=t(58143),y=t(76517),m=t(50035),O=t(94879),S=t(9205),E=t(37540),T=t(491),x=t(5406),I=t(95307),A=t(15861),C=t(83258).f,P=t(66169),N=t(66655).forEach,$=t(36167),U=t(85500),F=t(7831),D=t(71349),L=t(5220),b=t(82367),K=t(32345),H=b.get,Q=b.set,X=b.enforce,st=F.f,et=D.f,lt=n.RangeError,ht=i.ArrayBuffer,gt=ht.prototype,Lt=i.DataView,Dt=u.NATIVE_ARRAY_BUFFER_VIEWS,Ct=u.TYPED_ARRAY_TAG,at=u.TypedArray,vt=u.TypedArrayPrototype,St=u.isTypedArray,Rt="BYTES_PER_ELEMENT",Tt="Wrong length",Nt=function(Vt,$t){U(Vt,$t,{configurable:!0,get:function(){return H(this)[$t]}})},Ht=function(Vt){var $t;return I(gt,Vt)||($t=S(Vt))==="ArrayBuffer"||$t==="SharedArrayBuffer"},Wt=function(Vt,$t){return St(Vt)&&!T($t)&&$t in Vt&&d(+$t)&&$t>=0},bt=function($t,Mt){return Mt=m(Mt),Wt($t,Mt)?f(2,$t[Mt]):et($t,Mt)},Pt=function($t,Mt,q){return Mt=m(Mt),Wt($t,Mt)&&E(q)&&O(q,"value")&&!O(q,"get")&&!O(q,"set")&&!q.configurable&&(!O(q,"writable")||q.writable)&&(!O(q,"enumerable")||q.enumerable)?($t[Mt]=q.value,$t):st($t,Mt,q)};a?(Dt||(D.f=bt,F.f=Pt,Nt(vt,"buffer"),Nt(vt,"byteOffset"),Nt(vt,"byteLength"),Nt(vt,"length")),r({target:"Object",stat:!0,forced:!Dt},{getOwnPropertyDescriptor:bt,defineProperty:Pt}),s.exports=function(Vt,$t,Mt){var q=Vt.match(/\d+/)[0]/8,ut=Vt+(Mt?"Clamped":"")+"Array",J="get"+Vt,yt="set"+Vt,pt=n[ut],ct=pt,ft=ct&&ct.prototype,zt={},Yt=function(j,z){var G=H(j);return G.view[J](z*q+G.byteOffset,!0)},W=function(j,z,G){var ot=H(j);ot.view[yt](z*q+ot.byteOffset,Mt?y(G):G,!0)},k=function(j,z){st(j,z,{get:function(){return Yt(this,z)},set:function(G){return W(this,z,G)},enumerable:!0})};Dt?o&&(ct=$t(function(j,z,G,ot){return v(j,ft),K(function(){return E(z)?Ht(z)?ot!==void 0?new pt(z,p(G,q),ot):G!==void 0?new pt(z,p(G,q)):new pt(z):St(z)?L(ct,z):e(P,ct,z):new pt(g(z))}(),j,ct)}),A&&A(ct,at),N(C(pt),function(j){j in ct||c(ct,j,pt[j])}),ct.prototype=ft):(ct=$t(function(j,z,G,ot){v(j,ft);var mt=0,At=0,Bt,jt,Ut;if(!E(z))Ut=g(z),jt=Ut*q,Bt=new ht(jt);else if(Ht(z)){Bt=z,At=p(G,q);var Qt=z.byteLength;if(ot===void 0){if(Qt%q)throw new lt(Tt);if(jt=Qt-At,jt<0)throw new lt(Tt)}else if(jt=h(ot)*q,jt+At>Qt)throw new lt(Tt);Ut=jt/q}else return St(z)?L(ct,z):e(P,ct,z);for(Q(j,{buffer:Bt,byteOffset:At,byteLength:jt,length:Ut,view:new Lt(Bt)});mt1?arguments[1]:void 0,S=O!==void 0,E=i(y),T,x,I,A,C,P,N,$;if(E&&!v(E))for(N=u(y,E),$=N.next,y=[];!(P=n($,N)).done;)y.push(P.value);for(S&&m>2&&(O=r(O,arguments[2])),x=o(y),I=new(c(p))(x),A=f(I),T=0;x>T;T++)C=S?O(y[T],T):y[T],I[T]=A?d(C):+C;return I}},21822:function(s,l,t){var r=t(88037),n=t(16887),e=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;s.exports=function(o){return e(n(o,a(o)))}},36374:function(s,l,t){var r=t(11286),n=0,e=Math.random(),a=r(1 .toString);s.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+a(++n+e,36)}},91918:function(s,l,t){var r=t(72069),n=t(18565),e=t(92986),a=t(70457),o=n("iterator");s.exports=!r(function(){var u=new URL("b?a=1&b=2&c=3","http://a"),i=u.searchParams,v=new URLSearchParams("a=1&a=2&b=3"),f="";return u.pathname="c%20d",i.forEach(function(c,d){i.delete("b"),f+=d+c}),v.delete("a",2),v.delete("b",void 0),a&&(!u.toJSON||!v.has("a",1)||v.has("a",2)||!v.has("a",void 0)||v.has("b"))||!i.size&&(a||!e)||!i.sort||u.href!=="http://a/c%20d?a=1&c=3"||i.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!i[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("http://x",void 0).host!=="x"})},50234:function(s,l,t){var r=t(39729);s.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(s,l,t){var r=t(92986),n=t(72069);s.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(s){var l=TypeError;s.exports=function(t,r){if(tE&&c(F,arguments[E]),F});if(P.prototype=A,x!=="Error"?o?o(P,C):u(P,C,{name:!0}):h&&S in I&&(i(P,I,S),i(P,I,"prepareStackTrace")),u(P,I),!g)try{A.name!==x&&e(A,"name",x),A.constructor=P}catch(N){}return P}}},27796:function(s,l,t){var r=t(14304),n=t(38941),e=t(66543),a=t(72069),o=t(70003),u="AggregateError",i=n(u),v=!a(function(){return i([1]).errors[0]!==1})&&a(function(){return i([1],u,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:o(u,function(f){return function(d,h){return e(f,this,arguments)}},v,!0)})},85647:function(s,l,t){var r=t(14304),n=t(95307),e=t(26313),a=t(15861),o=t(93706),u=t(5406),i=t(90809),v=t(18526),f=t(31486),c=t(97077),d=t(55902),h=t(15453),g=t(18565),p=g("toStringTag"),y=Error,m=[].push,O=function(T,x){var I=n(S,this),A;a?A=a(new y,I?e(this):S):(A=I?this:u(S),i(A,p,"Error")),x!==void 0&&i(A,"message",h(x)),c(A,O,A.stack,1),arguments.length>2&&f(A,arguments[2]);var C=[];return d(T,m,{that:C}),i(A,"errors",C),A};a?a(O,y):o(O,y,{name:!0});var S=O.prototype=u(y.prototype,{constructor:v(1,O),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:O})},42861:function(s,l,t){t(85647)},35473:function(s,l,t){var r=t(14304),n=t(66009),e=t(17468),a=t(36167),o="ArrayBuffer",u=e[o],i=n[o];r({global:!0,constructor:!0,forced:i!==u},{ArrayBuffer:u}),a(o)},35495:function(s,l,t){var r=t(92986),n=t(85500),e=t(30736),a=ArrayBuffer.prototype;r&&!("detached"in a)&&n(a,"detached",{configurable:!0,get:function(){return e(this)}})},4983:function(s,l,t){var r=t(14304),n=t(88037),e=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!e},{isView:n.isView})},6875:function(s,l,t){var r=t(14304),n=t(77422),e=t(72069),a=t(17468),o=t(25001),u=t(4652),i=t(45344),v=t(16887),f=a.ArrayBuffer,c=a.DataView,d=c.prototype,h=n(f.prototype.slice),g=n(d.getUint8),p=n(d.setUint8),y=e(function(){return!new f(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(O,S){if(h&&S===void 0)return h(o(this),O);for(var E=o(this).byteLength,T=u(O,E),x=u(S===void 0?E:S,E),I=new(v(this,f))(i(x-T)),A=new c(this),C=new c(I),P=0;T=0?c:f+c;return d<0||d>=f?void 0:v[d]}}),o("at")},98700:function(s,l,t){var r=t(14304),n=t(72069),e=t(3438),a=t(37540),o=t(49671),u=t(82628),i=t(20095),v=t(84082),f=t(62083),c=t(52183),d=t(18565),h=t(73126),g=d("isConcatSpreadable"),p=h>=51||!n(function(){var O=[];return O[g]=!1,O.concat()[0]!==O}),y=function(O){if(!a(O))return!1;var S=O[g];return S!==void 0?!!S:e(O)},m=!p||!c("concat");r({target:"Array",proto:!0,arity:1,forced:m},{concat:function(S){var E=o(this),T=f(E,0),x=0,I,A,C,P,N;for(I=-1,C=arguments.length;I1?arguments[1]:void 0)}})},41585:function(s,l,t){var r=t(14304),n=t(43011),e=t(23811);r({target:"Array",proto:!0},{fill:n}),e("fill")},84554:function(s,l,t){var r=t(14304),n=t(66655).filter,e=t(52183),a=e("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},33818:function(s,l,t){var r=t(14304),n=t(66655).findIndex,e=t(23811),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{findIndex:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),e(a)},2209:function(s,l,t){var r=t(14304),n=t(73849).findLastIndex,e=t(23811);r({target:"Array",proto:!0},{findLastIndex:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),e("findLastIndex")},64096:function(s,l,t){var r=t(14304),n=t(73849).findLast,e=t(23811);r({target:"Array",proto:!0},{findLast:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),e("findLast")},36619:function(s,l,t){var r=t(14304),n=t(66655).find,e=t(23811),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{find:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),e(a)},74092:function(s,l,t){var r=t(14304),n=t(53149),e=t(85156),a=t(49671),o=t(82628),u=t(62083);r({target:"Array",proto:!0},{flatMap:function(v){var f=a(this),c=o(f),d;return e(v),d=u(f,0),d.length=n(d,f,f,c,0,1,v,arguments.length>1?arguments[1]:void 0),d}})},91591:function(s,l,t){var r=t(14304),n=t(53149),e=t(49671),a=t(82628),o=t(12105),u=t(62083);r({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,f=e(this),c=a(f),d=u(f,0);return d.length=n(d,f,f,c,0,v===void 0?1:o(v)),d}})},54703:function(s,l,t){var r=t(14304),n=t(13349);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},82936:function(s,l,t){var r=t(14304),n=t(48258),e=t(97494),a=!e(function(o){Array.from(o)});r({target:"Array",stat:!0,forced:a},{from:n})},48493:function(s,l,t){var r=t(14304),n=t(94319).includes,e=t(72069),a=t(23811),o=e(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:o},{includes:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),a("includes")},64730:function(s,l,t){var r=t(14304),n=t(77422),e=t(94319).indexOf,a=t(6148),o=n([].indexOf),u=!!o&&1/o([1],1,-0)<0,i=u||!a("indexOf");r({target:"Array",proto:!0,forced:i},{indexOf:function(f){var c=arguments.length>1?arguments[1]:void 0;return u?o(this,f,c)||0:e(this,f,c)}})},95024:function(s,l,t){var r=t(14304),n=t(3438);r({target:"Array",stat:!0},{isArray:n})},35054:function(s,l,t){var r=t(36859),n=t(23811),e=t(29107),a=t(82367),o=t(7831).f,u=t(10218),i=t(10659),v=t(70457),f=t(92986),c="Array Iterator",d=a.set,h=a.getterFor(c);s.exports=u(Array,"Array",function(p,y){d(this,{type:c,target:r(p),index:0,kind:y})},function(){var p=h(this),y=p.target,m=p.index++;if(!y||m>=y.length)return p.target=void 0,i(void 0,!0);switch(p.kind){case"keys":return i(m,!1);case"values":return i(y[m],!1)}return i([m,y[m]],!1)},"values");var g=e.Arguments=e.Array;if(n("keys"),n("values"),n("entries"),!v&&f&&g.name!=="values")try{o(g,"name",{value:"values"})}catch(p){}},25460:function(s,l,t){var r=t(14304),n=t(11286),e=t(72181),a=t(36859),o=t(6148),u=n([].join),i=e!==Object,v=i||!o("join",",");r({target:"Array",proto:!0,forced:v},{join:function(c){return u(a(this),c===void 0?",":c)}})},60703:function(s,l,t){var r=t(14304),n=t(58465);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},90468:function(s,l,t){var r=t(14304),n=t(66655).map,e=t(52183),a=e("map");r({target:"Array",proto:!0,forced:!a},{map:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},69581:function(s,l,t){var r=t(14304),n=t(72069),e=t(11051),a=t(84082),o=Array,u=n(function(){function i(){}return!(o.of.call(i)instanceof i)});r({target:"Array",stat:!0,forced:u},{of:function(){for(var v=0,f=arguments.length,c=new(e(this)?this:o)(f);f>v;)a(c,v,arguments[v++]);return c.length=f,c}})},720:function(s,l,t){var r=t(14304),n=t(49671),e=t(82628),a=t(2213),o=t(20095),u=t(72069),i=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},f=i||!v();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(d){var h=n(this),g=e(h),p=arguments.length;o(g+p);for(var y=0;y79&&a<83,i=u||!e("reduceRight");r({target:"Array",proto:!0,forced:i},{reduceRight:function(f){return n(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(s,l,t){var r=t(14304),n=t(97264).left,e=t(6148),a=t(73126),o=t(42954),u=!o&&a>79&&a<83,i=u||!e("reduce");r({target:"Array",proto:!0,forced:i},{reduce:function(f){var c=arguments.length;return n(this,f,c,c>1?arguments[1]:void 0)}})},24608:function(s,l,t){var r=t(14304),n=t(11286),e=t(3438),a=n([].reverse),o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),a(this)}})},51644:function(s,l,t){var r=t(14304),n=t(3438),e=t(11051),a=t(37540),o=t(4652),u=t(82628),i=t(36859),v=t(84082),f=t(18565),c=t(52183),d=t(22806),h=c("slice"),g=f("species"),p=Array,y=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(O,S){var E=i(this),T=u(E),x=o(O,T),I=o(S===void 0?T:S,T),A,C,P;if(n(E)&&(A=E.constructor,e(A)&&(A===p||n(A.prototype))?A=void 0:a(A)&&(A=A[g],A===null&&(A=void 0)),A===p||A===void 0))return d(E,x,I);for(C=new(A===void 0?p:A)(y(I-x,0)),P=0;x1?arguments[1]:void 0)}})},46828:function(s,l,t){var r=t(14304),n=t(11286),e=t(85156),a=t(49671),o=t(82628),u=t(12384),i=t(17361),v=t(72069),f=t(13270),c=t(6148),d=t(54040),h=t(87216),g=t(73126),p=t(68674),y=[],m=n(y.sort),O=n(y.push),S=v(function(){y.sort(void 0)}),E=v(function(){y.sort(null)}),T=c("sort"),x=!v(function(){if(g)return g<70;if(!(d&&d>3)){if(h)return!0;if(p)return p<603;var C="",P,N,$,U;for(P=65;P<76;P++){switch(N=String.fromCharCode(P),P){case 66:case 69:case 70:case 72:$=3;break;case 68:case 71:$=4;break;default:$=2}for(U=0;U<47;U++)y.push({k:N+U,v:$})}for(y.sort(function(F,D){return D.v-F.v}),U=0;Ui(N)?1:-1}};r({target:"Array",proto:!0,forced:I},{sort:function(P){P!==void 0&&e(P);var N=a(this);if(x)return P===void 0?m(N):m(N,P);var $=[],U=o(N),F,D;for(D=0;DE-A+I;P--)c(S,P-1)}else if(I>A)for(P=E-A;P>T;P--)N=P+A-1,$=P+I-1,N in S?S[$]=S[N]:c(S,$);for(P=0;P=0&&f<=99?f+1900:f;return u(this,c)}})},33685:function(s,l,t){var r=t(14304);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(s,l,t){var r=t(14304),n=t(11890);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},96049:function(s,l,t){var r=t(14304),n=t(72069),e=t(49671),a=t(89935),o=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:o},{toJSON:function(i){var v=e(this),f=a(v,"number");return typeof f=="number"&&!isFinite(f)?null:v.toISOString()}})},14038:function(s,l,t){var r=t(94879),n=t(16142),e=t(84306),a=t(18565),o=a("toPrimitive"),u=Date.prototype;r(u,o)||n(u,o,e)},55518:function(s,l,t){var r=t(11286),n=t(16142),e=Date.prototype,a="Invalid Date",o="toString",u=r(e[o]),i=r(e.getTime);String(new Date(NaN))!==a&&n(e,o,function(){var f=i(this);return f===f?u(this):a})},81742:function(s,l,t){var r=t(14304),n=t(66009),e=t(66543),a=t(70003),o="WebAssembly",u=n[o],i=new Error("e",{cause:7}).cause!==7,v=function(c,d){var h={};h[c]=a(c,d,i),r({global:!0,constructor:!0,arity:1,forced:i},h)},f=function(c,d){if(u&&u[c]){var h={};h[c]=a(o+"."+c,d,i),r({target:o,stat:!0,constructor:!0,arity:1,forced:i},h)}};v("Error",function(c){return function(h){return e(c,this,arguments)}}),v("EvalError",function(c){return function(h){return e(c,this,arguments)}}),v("RangeError",function(c){return function(h){return e(c,this,arguments)}}),v("ReferenceError",function(c){return function(h){return e(c,this,arguments)}}),v("SyntaxError",function(c){return function(h){return e(c,this,arguments)}}),v("TypeError",function(c){return function(h){return e(c,this,arguments)}}),v("URIError",function(c){return function(h){return e(c,this,arguments)}}),f("CompileError",function(c){return function(h){return e(c,this,arguments)}}),f("LinkError",function(c){return function(h){return e(c,this,arguments)}}),f("RuntimeError",function(c){return function(h){return e(c,this,arguments)}})},8720:function(s,l,t){var r=t(16142),n=t(58434),e=Error.prototype;e.toString!==n&&r(e,"toString",n)},8894:function(s,l,t){var r=t(14304),n=t(11286),e=t(17361),a=n("".charAt),o=n("".charCodeAt),u=n(/./.exec),i=n(1 .toString),v=n("".toUpperCase),f=/[\w*+\-./@]/,c=function(d,h){for(var g=i(d,16);g.length9490626562425156e-8?a(c)+u:n(c-1+o(c-1)*o(c+1))}})},15656:function(s,l,t){var r=t(14304),n=Math.asinh,e=Math.log,a=Math.sqrt;function o(i){var v=+i;return!isFinite(v)||v===0?v:v<0?-o(-v):e(v+a(v*v+1))}var u=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:u},{asinh:o})},22091:function(s,l,t){var r=t(14304),n=Math.atanh,e=Math.log,a=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:a},{atanh:function(u){var i=+u;return i===0?i:e((1+i)/(1-i))/2}})},2886:function(s,l,t){var r=t(14304),n=t(93976),e=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(u){var i=+u;return n(i)*a(e(i),.3333333333333333)}})},25895:function(s,l,t){var r=t(14304),n=Math.floor,e=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(u){var i=u>>>0;return i?31-n(e(i+.5)*a):32}})},24228:function(s,l,t){var r=t(14304),n=t(98940),e=Math.cosh,a=Math.abs,o=Math.E,u=!e||e(710)===1/0;r({target:"Math",stat:!0,forced:u},{cosh:function(v){var f=n(a(v)-1)+1;return(f+1/(f*o*o))*(o/2)}})},79488:function(s,l,t){var r=t(14304),n=t(98940);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},75987:function(s,l,t){var r=t(14304),n=t(93279);r({target:"Math",stat:!0},{fround:n})},81555:function(s,l,t){var r=t(14304),n=Math.hypot,e=Math.abs,a=Math.sqrt,o=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:o},{hypot:function(i,v){for(var f=0,c=0,d=arguments.length,h=0,g,p;c0?(p=g/h,f+=p*p):f+=g;return h===1/0?1/0:h*a(f)}})},87854:function(s,l,t){var r=t(14304),n=t(72069),e=Math.imul,a=n(function(){return e(4294967295,5)!==-5||e.length!==2});r({target:"Math",stat:!0,forced:a},{imul:function(u,i){var v=65535,f=+u,c=+i,d=v&f,h=v&c;return 0|d*h+((v&f>>>16)*h+d*(v&c>>>16)<<16>>>0)}})},35074:function(s,l,t){var r=t(14304),n=t(41942);r({target:"Math",stat:!0},{log10:n})},50946:function(s,l,t){var r=t(14304),n=t(49366);r({target:"Math",stat:!0},{log1p:n})},29417:function(s,l,t){var r=t(14304),n=Math.log,e=Math.LN2;r({target:"Math",stat:!0},{log2:function(o){return n(o)/e}})},80628:function(s,l,t){var r=t(14304),n=t(93976);r({target:"Math",stat:!0},{sign:n})},74375:function(s,l,t){var r=t(14304),n=t(72069),e=t(98940),a=Math.abs,o=Math.exp,u=Math.E,i=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:i},{sinh:function(f){var c=+f;return a(c)<1?(e(c)-e(-c))/2:(o(c-1)-o(-c-1))*(u/2)}})},29708:function(s,l,t){var r=t(14304),n=t(98940),e=Math.exp;r({target:"Math",stat:!0},{tanh:function(o){var u=+o,i=n(u),v=n(-u);return i===1/0?1:v===1/0?-1:(i-v)/(e(u)+e(-u))}})},93449:function(s,l,t){var r=t(78401);r(Math,"Math",!0)},9111:function(s,l,t){var r=t(14304),n=t(22459);r({target:"Math",stat:!0},{trunc:n})},83514:function(s,l,t){var r=t(14304),n=t(70457),e=t(92986),a=t(66009),o=t(75081),u=t(11286),i=t(13278),v=t(94879),f=t(32345),c=t(95307),d=t(491),h=t(89935),g=t(72069),p=t(83258).f,y=t(71349).f,m=t(7831).f,O=t(34338),S=t(85900).trim,E="Number",T=a[E],x=o[E],I=T.prototype,A=a.TypeError,C=u("".slice),P=u("".charCodeAt),N=function(b){var K=h(b,"number");return typeof K=="bigint"?K:$(K)},$=function(b){var K=h(b,"number"),H,Q,X,st,et,lt,ht,gt;if(d(K))throw new A("Cannot convert a Symbol value to a number");if(typeof K=="string"&&K.length>2){if(K=S(K),H=P(K,0),H===43||H===45){if(Q=P(K,2),Q===88||Q===120)return NaN}else if(H===48){switch(P(K,1)){case 66:case 98:X=2,st=49;break;case 79:case 111:X=8,st=55;break;default:return+K}for(et=C(K,2),lt=et.length,ht=0;htst)return NaN;return parseInt(et,X)}}return+K},U=i(E,!T(" 0o1")||!T("0b1")||T("+0x1")),F=function(b){return c(I,b)&&g(function(){O(b)})},D=function(K){var H=arguments.length<1?0:T(N(K));return F(this)?f(Object(H),this,D):H};D.prototype=I,U&&!n&&(I.constructor=D),r({global:!0,constructor:!0,wrap:!0,forced:U},{Number:D});var L=function(b,K){for(var H=e?p(K):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Q=0,X;H.length>Q;Q++)v(K,X=H[Q])&&!v(b,X)&&m(b,X,y(K,X))};n&&x&&L(o[E],x),(U||n)&&L(o[E],T)},15096:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(s,l,t){var r=t(14304),n=t(98074);r({target:"Number",stat:!0},{isFinite:n})},99663:function(s,l,t){var r=t(14304),n=t(613);r({target:"Number",stat:!0},{isInteger:n})},89988:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0},{isNaN:function(e){return e!==e}})},54427:function(s,l,t){var r=t(14304),n=t(613),e=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(o){return n(o)&&e(o)<=9007199254740991}})},67895:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(s,l,t){var r=t(14304),n=t(25838);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},55461:function(s,l,t){var r=t(14304),n=t(23009);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},97339:function(s,l,t){var r=t(14304),n=t(11286),e=t(12105),a=t(34338),o=t(79719),u=t(41942),i=t(72069),v=RangeError,f=String,c=isFinite,d=Math.abs,h=Math.floor,g=Math.pow,p=Math.round,y=n(1 .toExponential),m=n(o),O=n("".slice),S=y(-69e-12,4)==="-6.9000e-11"&&y(1.255,2)==="1.25e+0"&&y(12345,3)==="1.235e+4"&&y(25,0)==="3e+1",E=function(){return i(function(){y(1,1/0)})&&i(function(){y(1,-1/0)})},T=function(){return!i(function(){y(1/0,1/0),y(NaN,1/0)})},x=!S||!E()||!T();r({target:"Number",proto:!0,forced:x},{toExponential:function(A){var C=a(this);if(A===void 0)return y(C);var P=e(A);if(!c(C))return String(C);if(P<0||P>20)throw new v("Incorrect fraction digits");if(S)return y(C,P);var N="",$="",U=0,F="",D="";if(C<0&&(N="-",C=-C),C===0)U=0,$=m("0",P+1);else{var L=u(C);U=h(L);var b=0,K=g(10,U-P);b=p(C/K),2*C>=(2*b+1)*K&&(b+=1),b>=g(10,P+1)&&(b/=10,U+=1),$=f(b)}return P!==0&&($=O($,0,1)+"."+O($,1)),U===0?(F="+",D="0"):(F=U>0?"+":"-",D=f(d(U))),$+="e"+F+D,N+$}})},3670:function(s,l,t){var r=t(14304),n=t(11286),e=t(12105),a=t(34338),o=t(79719),u=t(72069),i=RangeError,v=String,f=Math.floor,c=n(o),d=n("".slice),h=n(1 .toFixed),g=function(E,T,x){return T===0?x:T%2===1?g(E,T-1,x*E):g(E*E,T/2,x)},p=function(E){for(var T=0,x=E;x>=4096;)T+=12,x/=4096;for(;x>=2;)T+=1,x/=2;return T},y=function(E,T,x){for(var I=-1,A=x;++I<6;)A+=T*E[I],E[I]=A%1e7,A=f(A/1e7)},m=function(E,T){for(var x=6,I=0;--x>=0;)I+=E[x],E[x]=f(I/T),I=I%T*1e7},O=function(E){for(var T=6,x="";--T>=0;)if(x!==""||T===0||E[T]!==0){var I=v(E[T]);x=x===""?I:x+c("0",7-I.length)+I}return x},S=u(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){h({})});r({target:"Number",proto:!0,forced:S},{toFixed:function(T){var x=a(this),I=e(T),A=[0,0,0,0,0,0],C="",P="0",N,$,U,F;if(I<0||I>20)throw new i("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return v(x);if(x<0&&(C="-",x=-x),x>1e-21)if(N=p(x*g(2,69,1))-69,$=N<0?x*g(2,-N,1):x/g(2,N,1),$*=4503599627370496,N=52-N,N>0){for(y(A,0,$),U=I;U>=7;)y(A,1e7,0),U-=7;for(y(A,g(10,U,1),0),U=N-1;U>=23;)m(A,8388608),U-=23;m(A,1<0?(F=P.length,P=C+(F<=I?"0."+c("0",I-F)+P:d(P,0,F-I)+"."+d(P,F-I))):P=C+P,P}})},15224:function(s,l,t){var r=t(14304),n=t(11286),e=t(72069),a=t(34338),o=n(1 .toPrecision),u=e(function(){return o(1,void 0)!=="1"})||!e(function(){o({})});r({target:"Number",proto:!0,forced:u},{toPrecision:function(v){return v===void 0?o(a(this)):o(a(this),v)}})},45891:function(s,l,t){var r=t(14304),n=t(16667);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},99910:function(s,l,t){var r=t(14304),n=t(92986),e=t(5406);r({target:"Object",stat:!0,sham:!n},{create:e})},92445:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(85156),o=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:e},{__defineGetter__:function(v,f){u.f(o(this),v,{get:a(f),enumerable:!0,configurable:!0})}})},21875:function(s,l,t){var r=t(14304),n=t(92986),e=t(61963).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!n},{defineProperties:e})},4383:function(s,l,t){var r=t(14304),n=t(92986),e=t(7831).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!n},{defineProperty:e})},11361:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(85156),o=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:e},{__defineSetter__:function(v,f){u.f(o(this),v,{set:a(f),enumerable:!0,configurable:!0})}})},13728:function(s,l,t){var r=t(14304),n=t(8511).entries;r({target:"Object",stat:!0},{entries:function(a){return n(a)}})},14885:function(s,l,t){var r=t(14304),n=t(27534),e=t(72069),a=t(37540),o=t(31853).onFreeze,u=Object.freeze,i=e(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!n},{freeze:function(f){return u&&a(f)?u(o(f)):f}})},30343:function(s,l,t){var r=t(14304),n=t(55902),e=t(84082);r({target:"Object",stat:!0},{fromEntries:function(o){var u={};return n(o,function(i,v){e(u,i,v)},{AS_ENTRIES:!0}),u}})},22045:function(s,l,t){var r=t(14304),n=t(72069),e=t(36859),a=t(71349).f,o=t(92986),u=!o||n(function(){a(1)});r({target:"Object",stat:!0,forced:u,sham:!o},{getOwnPropertyDescriptor:function(v,f){return a(e(v),f)}})},75e3:function(s,l,t){var r=t(14304),n=t(92986),e=t(16885),a=t(36859),o=t(71349),u=t(84082);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(v){for(var f=a(v),c=o.f,d=e(f),h={},g=0,p,y;d.length>g;)y=c(f,p=d[g++]),y!==void 0&&u(h,p,y);return h}})},64658:function(s,l,t){var r=t(14304),n=t(72069),e=t(92880).f,a=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:e})},45223:function(s,l,t){var r=t(14304),n=t(39729),e=t(72069),a=t(24943),o=t(49671),u=!n||e(function(){a.f(1)});r({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(v){var f=a.f;return f?f(o(v)):[]}})},16017:function(s,l,t){var r=t(14304),n=t(72069),e=t(49671),a=t(26313),o=t(87501),u=n(function(){a(1)});r({target:"Object",stat:!0,forced:u,sham:!o},{getPrototypeOf:function(v){return a(e(v))}})},84681:function(s,l,t){var r=t(14304),n=t(38941),e=t(11286),a=t(85156),o=t(2068),u=t(50035),i=t(55902),v=t(72069),f=Object.groupBy,c=n("Object","create"),d=e([].push),h=!f||v(function(){return f("ab",function(g){return g}).a.length!==1});r({target:"Object",stat:!0,forced:h},{groupBy:function(p,y){o(p),a(y);var m=c(null),O=0;return i(p,function(S){var E=u(y(S,O++));E in m?d(m[E],S):m[E]=[S]}),m}})},73421:function(s,l,t){var r=t(14304),n=t(94879);r({target:"Object",stat:!0},{hasOwn:n})},31046:function(s,l,t){var r=t(14304),n=t(28174);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},94645:function(s,l,t){var r=t(14304),n=t(72069),e=t(37540),a=t(14274),o=t(72058),u=Object.isFrozen,i=o||n(function(){u(1)});r({target:"Object",stat:!0,forced:i},{isFrozen:function(f){return!e(f)||o&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},62935:function(s,l,t){var r=t(14304),n=t(72069),e=t(37540),a=t(14274),o=t(72058),u=Object.isSealed,i=o||n(function(){u(1)});r({target:"Object",stat:!0,forced:i},{isSealed:function(f){return!e(f)||o&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},93446:function(s,l,t){var r=t(14304),n=t(13944);r({target:"Object",stat:!0},{is:n})},62518:function(s,l,t){var r=t(14304),n=t(49671),e=t(18350),a=t(72069),o=a(function(){e(1)});r({target:"Object",stat:!0,forced:o},{keys:function(i){return e(n(i))}})},45130:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(49671),o=t(50035),u=t(26313),i=t(71349).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(f){var c=a(this),d=o(f),h;do if(h=i(c,d))return h.get;while(c=u(c))}})},51542:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(49671),o=t(50035),u=t(26313),i=t(71349).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(f){var c=a(this),d=o(f),h;do if(h=i(c,d))return h.set;while(c=u(c))}})},43781:function(s,l,t){var r=t(14304),n=t(37540),e=t(31853).onFreeze,a=t(27534),o=t(72069),u=Object.preventExtensions,i=o(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!a},{preventExtensions:function(f){return u&&n(f)?u(e(f)):f}})},25738:function(s,l,t){var r=t(92986),n=t(85500),e=t(37540),a=t(52427),o=t(49671),u=t(2068),i=Object.getPrototypeOf,v=Object.setPrototypeOf,f=Object.prototype,c="__proto__";if(r&&i&&v&&!(c in f))try{n(f,c,{configurable:!0,get:function(){return i(o(this))},set:function(h){var g=u(this);a(h)&&e(g)&&v(g,h)}})}catch(d){}},93247:function(s,l,t){var r=t(14304),n=t(37540),e=t(31853).onFreeze,a=t(27534),o=t(72069),u=Object.seal,i=o(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!a},{seal:function(f){return u&&n(f)?u(e(f)):f}})},41533:function(s,l,t){var r=t(14304),n=t(15861);r({target:"Object",stat:!0},{setPrototypeOf:n})},60225:function(s,l,t){var r=t(67878),n=t(16142),e=t(60105);r||n(Object.prototype,"toString",e,{unsafe:!0})},69920:function(s,l,t){var r=t(14304),n=t(8511).values;r({target:"Object",stat:!0},{values:function(a){return n(a)}})},89205:function(s,l,t){var r=t(14304),n=t(25838);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},78546:function(s,l,t){var r=t(14304),n=t(23009);r({global:!0,forced:parseInt!==n},{parseInt:n})},16893:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{allSettled:function(f){var c=this,d=a.f(c),h=d.resolve,g=d.reject,p=o(function(){var y=e(c.resolve),m=[],O=0,S=1;u(f,function(E){var T=O++,x=!1;S++,n(y,c,E).then(function(I){x||(x=!0,m[T]={status:"fulfilled",value:I},--S||h(m))},function(I){x||(x=!0,m[T]={status:"rejected",reason:I},--S||h(m))})}),--S||h(m)});return p.error&&g(p.value),d.promise}})},11733:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{all:function(f){var c=this,d=a.f(c),h=d.resolve,g=d.reject,p=o(function(){var y=e(c.resolve),m=[],O=0,S=1;u(f,function(E){var T=O++,x=!1;S++,n(y,c,E).then(function(I){x||(x=!0,m[T]=I,--S||h(m))},g)}),--S||h(m)});return p.error&&g(p.value),d.promise}})},3676:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(38941),o=t(24649),u=t(67805),i=t(55902),v=t(26035),f="No one promise resolved";r({target:"Promise",stat:!0,forced:v},{any:function(d){var h=this,g=a("AggregateError"),p=o.f(h),y=p.resolve,m=p.reject,O=u(function(){var S=e(h.resolve),E=[],T=0,x=1,I=!1;i(d,function(A){var C=T++,P=!1;x++,n(S,h,A).then(function(N){P||I||(I=!0,y(N))},function(N){P||I||(P=!0,E[C]=N,--x||m(new g(E,f)))})}),--x||m(new g(E,f))});return O.error&&m(O.value),p.promise}})},14013:function(s,l,t){var r=t(14304),n=t(70457),e=t(37130).CONSTRUCTOR,a=t(98844),o=t(38941),u=t(23583),i=t(16142),v=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:e,real:!0},{catch:function(c){return this.then(void 0,c)}}),!n&&u(a)){var f=o("Promise").prototype.catch;v.catch!==f&&i(v,"catch",f,{unsafe:!0})}},20238:function(s,l,t){var r=t(14304),n=t(70457),e=t(42954),a=t(66009),o=t(96499),u=t(16142),i=t(15861),v=t(78401),f=t(36167),c=t(85156),d=t(23583),h=t(37540),g=t(12833),p=t(16887),y=t(23115).set,m=t(9709),O=t(99095),S=t(67805),E=t(76895),T=t(82367),x=t(98844),I=t(37130),A=t(24649),C="Promise",P=I.CONSTRUCTOR,N=I.REJECTION_EVENT,$=I.SUBCLASSING,U=T.getterFor(C),F=T.set,D=x&&x.prototype,L=x,b=D,K=a.TypeError,H=a.document,Q=a.process,X=A.f,st=X,et=!!(H&&H.createEvent&&a.dispatchEvent),lt="unhandledrejection",ht="rejectionhandled",gt=0,Lt=1,Dt=2,Ct=1,at=2,vt,St,Rt,Tt,Nt=function(J){var yt;return h(J)&&d(yt=J.then)?yt:!1},Ht=function(J,yt){var pt=yt.value,ct=yt.state===Lt,ft=ct?J.ok:J.fail,zt=J.resolve,Yt=J.reject,W=J.domain,k,tt,j;try{ft?(ct||(yt.rejection===at&&$t(yt),yt.rejection=Ct),ft===!0?k=pt:(W&&W.enter(),k=ft(pt),W&&(W.exit(),j=!0)),k===J.promise?Yt(new K("Promise-chain cycle")):(tt=Nt(k))?o(tt,k,zt,Yt):zt(k)):Yt(pt)}catch(z){W&&!j&&W.exit(),Yt(z)}},Wt=function(J,yt){J.notified||(J.notified=!0,m(function(){for(var pt=J.reactions,ct;ct=pt.get();)Ht(ct,J);J.notified=!1,yt&&!J.rejection&&Pt(J)}))},bt=function(J,yt,pt){var ct,ft;et?(ct=H.createEvent("Event"),ct.promise=yt,ct.reason=pt,ct.initEvent(J,!1,!0),a.dispatchEvent(ct)):ct={promise:yt,reason:pt},!N&&(ft=a["on"+J])?ft(ct):J===lt&&O("Unhandled promise rejection",pt)},Pt=function(J){o(y,a,function(){var yt=J.facade,pt=J.value,ct=Vt(J),ft;if(ct&&(ft=S(function(){e?Q.emit("unhandledRejection",pt,yt):bt(lt,yt,pt)}),J.rejection=e||Vt(J)?at:Ct,ft.error))throw ft.value})},Vt=function(J){return J.rejection!==Ct&&!J.parent},$t=function(J){o(y,a,function(){var yt=J.facade;e?Q.emit("rejectionHandled",yt):bt(ht,yt,J.value)})},Mt=function(J,yt,pt){return function(ct){J(yt,ct,pt)}},q=function(J,yt,pt){J.done||(J.done=!0,pt&&(J=pt),J.value=yt,J.state=Dt,Wt(J,!0))},ut=function(J,yt,pt){if(!J.done){J.done=!0,pt&&(J=pt);try{if(J.facade===yt)throw new K("Promise can't be resolved itself");var ct=Nt(yt);ct?m(function(){var ft={done:!1};try{o(ct,yt,Mt(ut,ft,J),Mt(q,ft,J))}catch(zt){q(ft,zt,J)}}):(J.value=yt,J.state=Lt,Wt(J,!1))}catch(ft){q({done:!1},ft,J)}}};if(P&&(L=function(yt){g(this,b),c(yt),o(vt,this);var pt=U(this);try{yt(Mt(ut,pt),Mt(q,pt))}catch(ct){q(pt,ct)}},b=L.prototype,vt=function(yt){F(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:gt,value:void 0})},vt.prototype=u(b,"then",function(yt,pt){var ct=U(this),ft=X(p(this,L));return ct.parent=!0,ft.ok=d(yt)?yt:!0,ft.fail=d(pt)&&pt,ft.domain=e?Q.domain:void 0,ct.state===gt?ct.reactions.add(ft):m(function(){Ht(ft,ct)}),ft.promise}),St=function(){var J=new vt,yt=U(J);this.promise=J,this.resolve=Mt(ut,yt),this.reject=Mt(q,yt)},A.f=X=function(J){return J===L||J===Rt?new St(J):st(J)},!n&&d(x)&&D!==Object.prototype)){Tt=D.then,$||u(D,"then",function(yt,pt){var ct=this;return new L(function(ft,zt){o(Tt,ct,ft,zt)}).then(yt,pt)},{unsafe:!0});try{delete D.constructor}catch(J){}i&&i(D,b)}r({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:L}),v(L,C,!1,!0),f(C)},58361:function(s,l,t){var r=t(14304),n=t(70457),e=t(98844),a=t(72069),o=t(38941),u=t(23583),i=t(16887),v=t(87408),f=t(16142),c=e&&e.prototype,d=!!e&&a(function(){c.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(g){var p=i(this,o("Promise")),y=u(g);return this.then(y?function(m){return v(p,g()).then(function(){return m})}:g,y?function(m){return v(p,g()).then(function(){throw m})}:g)}}),!n&&u(e)){var h=o("Promise").prototype.finally;c.finally!==h&&f(c,"finally",h,{unsafe:!0})}},63616:function(s,l,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{race:function(f){var c=this,d=a.f(c),h=d.reject,g=o(function(){var p=e(c.resolve);u(f,function(y){n(p,c,y).then(d.resolve,h)})});return g.error&&h(g.value),d.promise}})},36027:function(s,l,t){var r=t(14304),n=t(24649),e=t(37130).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:e},{reject:function(o){var u=n.f(this),i=u.reject;return i(o),u.promise}})},97282:function(s,l,t){var r=t(14304),n=t(38941),e=t(70457),a=t(98844),o=t(37130).CONSTRUCTOR,u=t(87408),i=n("Promise"),v=e&&!o;r({target:"Promise",stat:!0,forced:e||o},{resolve:function(c){return u(v&&this===i?a:this,c)}})},23958:function(s,l,t){var r=t(14304),n=t(24649);r({target:"Promise",stat:!0},{withResolvers:function(){var a=n.f(this);return{promise:a.promise,resolve:a.resolve,reject:a.reject}}})},9798:function(s,l,t){var r=t(14304),n=t(66543),e=t(85156),a=t(25001),o=t(72069),u=!o(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:u},{apply:function(v,f,c){return n(e(v),f,a(c))}})},2371:function(s,l,t){var r=t(14304),n=t(38941),e=t(66543),a=t(91384),o=t(80042),u=t(25001),i=t(37540),v=t(5406),f=t(72069),c=n("Reflect","construct"),d=Object.prototype,h=[].push,g=f(function(){function m(){}return!(c(function(){},[],m)instanceof m)}),p=!f(function(){c(function(){})}),y=g||p;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(O,S){o(O),u(S);var E=arguments.length<3?O:o(arguments[2]);if(p&&!g)return c(O,S,E);if(O===E){switch(S.length){case 0:return new O;case 1:return new O(S[0]);case 2:return new O(S[0],S[1]);case 3:return new O(S[0],S[1],S[2]);case 4:return new O(S[0],S[1],S[2],S[3])}var T=[null];return e(h,T,S),new(e(a,O,T))}var x=E.prototype,I=v(i(x)?x:d),A=e(O,I,S);return i(A)?A:I}})},76185:function(s,l,t){var r=t(14304),n=t(92986),e=t(25001),a=t(50035),o=t(7831),u=t(72069),i=u(function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:i,sham:!n},{defineProperty:function(f,c,d){e(f);var h=a(c);e(d);try{return o.f(f,h,d),!0}catch(g){return!1}}})},76553:function(s,l,t){var r=t(14304),n=t(25001),e=t(71349).f;r({target:"Reflect",stat:!0},{deleteProperty:function(o,u){var i=e(n(o),u);return i&&!i.configurable?!1:delete o[u]}})},25227:function(s,l,t){var r=t(14304),n=t(92986),e=t(25001),a=t(71349);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(u,i){return a.f(e(u),i)}})},91723:function(s,l,t){var r=t(14304),n=t(25001),e=t(26313),a=t(87501);r({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(u){return e(n(u))}})},93518:function(s,l,t){var r=t(14304),n=t(96499),e=t(37540),a=t(25001),o=t(69745),u=t(71349),i=t(26313);function v(f,c){var d=arguments.length<3?f:arguments[2],h,g;if(a(f)===d)return f[c];if(h=u.f(f,c),h)return o(h)?h.value:h.get===void 0?void 0:n(h.get,d);if(e(g=i(f)))return v(g,c,d)}r({target:"Reflect",stat:!0},{get:v})},57882:function(s,l,t){var r=t(14304);r({target:"Reflect",stat:!0},{has:function(e,a){return a in e}})},37796:function(s,l,t){var r=t(14304),n=t(25001),e=t(28174);r({target:"Reflect",stat:!0},{isExtensible:function(o){return n(o),e(o)}})},11563:function(s,l,t){var r=t(14304),n=t(16885);r({target:"Reflect",stat:!0},{ownKeys:n})},26159:function(s,l,t){var r=t(14304),n=t(38941),e=t(25001),a=t(27534);r({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(u){e(u);try{var i=n("Object","preventExtensions");return i&&i(u),!0}catch(v){return!1}}})},77487:function(s,l,t){var r=t(14304),n=t(25001),e=t(53408),a=t(15861);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(u,i){n(u),e(i);try{return a(u,i),!0}catch(v){return!1}}})},20962:function(s,l,t){var r=t(14304),n=t(96499),e=t(25001),a=t(37540),o=t(69745),u=t(72069),i=t(7831),v=t(71349),f=t(26313),c=t(18526);function d(g,p,y){var m=arguments.length<4?g:arguments[3],O=v.f(e(g),p),S,E,T;if(!O){if(a(E=f(g)))return d(E,p,y,m);O=c(0)}if(o(O)){if(O.writable===!1||!a(m))return!1;if(S=v.f(m,p)){if(S.get||S.set||S.writable===!1)return!1;S.value=y,i.f(m,p,S)}else i.f(m,p,c(0,y))}else{if(T=O.set,T===void 0)return!1;n(T,m,y)}return!0}var h=u(function(){var g=function(){},p=i.f(new g,"a",{configurable:!0});return Reflect.set(g.prototype,"a",1,p)!==!1});r({target:"Reflect",stat:!0,forced:h},{set:d})},6130:function(s,l,t){var r=t(14304),n=t(66009),e=t(78401);r({global:!0},{Reflect:{}}),e(n.Reflect,"Reflect",!0)},1354:function(s,l,t){var r=t(92986),n=t(66009),e=t(11286),a=t(13278),o=t(32345),u=t(90809),i=t(5406),v=t(83258).f,f=t(95307),c=t(11566),d=t(17361),h=t(54932),g=t(39807),p=t(2594),y=t(16142),m=t(72069),O=t(94879),S=t(82367).enforce,E=t(36167),T=t(18565),x=t(76769),I=t(85220),A=T("match"),C=n.RegExp,P=C.prototype,N=n.SyntaxError,$=e(P.exec),U=e("".charAt),F=e("".replace),D=e("".indexOf),L=e("".slice),b=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,K=/a/g,H=/a/g,Q=new C(K)!==K,X=g.MISSED_STICKY,st=g.UNSUPPORTED_Y,et=r&&(!Q||X||x||I||m(function(){return H[A]=!1,C(K)!==K||C(H)===H||String(C(K,"i"))!=="/a/i"})),lt=function(Ct){for(var at=Ct.length,vt=0,St="",Rt=!1,Tt;vt<=at;vt++){if(Tt=U(Ct,vt),Tt==="\\"){St+=Tt+U(Ct,++vt);continue}!Rt&&Tt==="."?St+="[\\s\\S]":(Tt==="["?Rt=!0:Tt==="]"&&(Rt=!1),St+=Tt)}return St},ht=function(Ct){for(var at=Ct.length,vt=0,St="",Rt=[],Tt=i(null),Nt=!1,Ht=!1,Wt=0,bt="",Pt;vt<=at;vt++){if(Pt=U(Ct,vt),Pt==="\\")Pt+=U(Ct,++vt);else if(Pt==="]")Nt=!1;else if(!Nt)switch(!0){case Pt==="[":Nt=!0;break;case Pt==="(":$(b,L(Ct,vt+1))&&(vt+=2,Ht=!0),St+=Pt,Wt++;continue;case(Pt===">"&&Ht):if(bt===""||O(Tt,bt))throw new N("Invalid capture group name");Tt[bt]=!0,Rt[Rt.length]=[bt,Wt],Ht=!1,bt="";continue}Ht?bt+=Pt:St+=Pt}return[St,Rt]};if(a("RegExp",et)){for(var gt=function(at,vt){var St=f(P,this),Rt=c(at),Tt=vt===void 0,Nt=[],Ht=at,Wt,bt,Pt,Vt,$t,Mt;if(!St&&Rt&&Tt&&at.constructor===gt)return at;if((Rt||f(P,at))&&(at=at.source,Tt&&(vt=h(Ht))),at=at===void 0?"":d(at),vt=vt===void 0?"":d(vt),Ht=at,x&&"dotAll"in K&&(bt=!!vt&&D(vt,"s")>-1,bt&&(vt=F(vt,/s/g,""))),Wt=vt,X&&"sticky"in K&&(Pt=!!vt&&D(vt,"y")>-1,Pt&&st&&(vt=F(vt,/y/g,""))),I&&(Vt=ht(at),at=Vt[0],Nt=Vt[1]),$t=o(C(at,vt),St?this:P,gt),(bt||Pt||Nt.length)&&(Mt=S($t),bt&&(Mt.dotAll=!0,Mt.raw=gt(lt(at),Wt)),Pt&&(Mt.sticky=!0),Nt.length&&(Mt.groups=Nt)),at!==Ht)try{u($t,"source",Ht===""?"(?:)":Ht)}catch(q){}return $t},Lt=v(C),Dt=0;Lt.length>Dt;)p(gt,C,Lt[Dt++]);P.constructor=gt,gt.prototype=P,y(n,"RegExp",gt,{constructor:!0})}E("RegExp")},47119:function(s,l,t){var r=t(92986),n=t(76769),e=t(14274),a=t(85500),o=t(82367).get,u=RegExp.prototype,i=TypeError;r&&n&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(e(this)==="RegExp")return!!o(this).dotAll;throw new i("Incompatible receiver, RegExp required")}}})},31145:function(s,l,t){var r=t(14304),n=t(44381);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},96773:function(s,l,t){var r=t(66009),n=t(92986),e=t(85500),a=t(29833),o=t(72069),u=r.RegExp,i=u.prototype,v=n&&o(function(){var f=!0;try{u(".","d")}catch(O){f=!1}var c={},d="",h=f?"dgimsy":"gimsy",g=function(O,S){Object.defineProperty(c,O,{get:function(){return d+=S,!0}})},p={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(p.hasIndices="d");for(var y in p)g(y,p[y]);var m=Object.getOwnPropertyDescriptor(i,"flags").get.call(c);return m!==h||d!==h});v&&e(i,"flags",{configurable:!0,get:a})},14371:function(s,l,t){var r=t(92986),n=t(39807).MISSED_STICKY,e=t(14274),a=t(85500),o=t(82367).get,u=RegExp.prototype,i=TypeError;r&&n&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(e(this)==="RegExp")return!!o(this).sticky;throw new i("Incompatible receiver, RegExp required")}}})},18180:function(s,l,t){t(31145);var r=t(14304),n=t(96499),e=t(23583),a=t(25001),o=t(17361),u=function(){var v=!1,f=/[ac]/;return f.exec=function(){return v=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&v}(),i=/./.test;r({target:"RegExp",proto:!0,forced:!u},{test:function(v){var f=a(this),c=o(v),d=f.exec;if(!e(d))return n(i,f,c);var h=n(d,f,c);return h===null?!1:(a(h),!0)}})},83147:function(s,l,t){var r=t(86588).PROPER,n=t(16142),e=t(25001),a=t(17361),o=t(72069),u=t(54932),i="toString",v=RegExp.prototype,f=v[i],c=o(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),d=r&&f.name!==i;(c||d)&&n(v,i,function(){var g=e(this),p=a(g.source),y=a(u(g));return"/"+p+"/"+y},{unsafe:!0})},6583:function(s,l,t){var r=t(89378),n=t(34440);r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},n)},86548:function(s,l,t){var r=t(14304),n=t(41754),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("difference")},{difference:n})},15282:function(s,l,t){var r=t(14304),n=t(72069),e=t(92292),a=t(94118),o=!a("intersection")||n(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:o},{intersection:e})},51275:function(s,l,t){var r=t(14304),n=t(47391),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isDisjointFrom")},{isDisjointFrom:n})},91890:function(s,l,t){var r=t(14304),n=t(75492),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isSubsetOf")},{isSubsetOf:n})},15089:function(s,l,t){var r=t(14304),n=t(1333),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isSupersetOf")},{isSupersetOf:n})},75765:function(s,l,t){t(6583)},78134:function(s,l,t){var r=t(14304),n=t(64680),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("symmetricDifference")},{symmetricDifference:n})},56456:function(s,l,t){var r=t(14304),n=t(70402),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("union")},{union:n})},70641:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("anchor")},{anchor:function(o){return n(this,"a","name",o)}})},40735:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(12105),o=t(17361),u=t(72069),i=n("".charAt),v=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:v},{at:function(c){var d=o(e(this)),h=d.length,g=a(c),p=g>=0?g:h+g;return p<0||p>=h?void 0:i(d,p)}})},53892:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("big")},{big:function(){return n(this,"big","","")}})},95976:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("blink")},{blink:function(){return n(this,"blink","","")}})},399:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("bold")},{bold:function(){return n(this,"b","","")}})},8510:function(s,l,t){var r=t(14304),n=t(22149).codeAt;r({target:"String",proto:!0},{codePointAt:function(a){return n(this,a)}})},70159:function(s,l,t){var r=t(14304),n=t(77422),e=t(71349).f,a=t(45344),o=t(17361),u=t(92337),i=t(2068),v=t(8790),f=t(70457),c=n("".slice),d=Math.min,h=v("endsWith"),g=!f&&!h&&!!function(){var p=e(String.prototype,"endsWith");return p&&!p.writable}();r({target:"String",proto:!0,forced:!g&&!h},{endsWith:function(y){var m=o(i(this));u(y);var O=arguments.length>1?arguments[1]:void 0,S=m.length,E=O===void 0?S:d(a(O),S),T=o(y);return c(m,E-T.length,E)===T}})},72032:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fixed")},{fixed:function(){return n(this,"tt","","")}})},49442:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fontcolor")},{fontcolor:function(o){return n(this,"font","color",o)}})},16012:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fontsize")},{fontsize:function(o){return n(this,"font","size",o)}})},93087:function(s,l,t){var r=t(14304),n=t(11286),e=t(4652),a=RangeError,o=String.fromCharCode,u=String.fromCodePoint,i=n([].join),v=!!u&&u.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(c){for(var d=[],h=arguments.length,g=0,p;h>g;){if(p=+arguments[g++],e(p,1114111)!==p)throw new a(p+" is not a valid code point");d[g]=p<65536?o(p):o(((p-=65536)>>10)+55296,p%1024+56320)}return i(d,"")}})},26021:function(s,l,t){var r=t(14304),n=t(11286),e=t(92337),a=t(2068),o=t(17361),u=t(8790),i=n("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~i(o(a(this)),o(e(f)),arguments.length>1?arguments[1]:void 0)}})},93029:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(17361),o=n("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var i=a(e(this)),v=i.length,f=0;f=56320||++f>=v||(o(i,f)&64512)!==56320))return!1}return!0}})},9943:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("italics")},{italics:function(){return n(this,"i","","")}})},59158:function(s,l,t){var r=t(22149).charAt,n=t(17361),e=t(82367),a=t(10218),o=t(10659),u="String Iterator",i=e.set,v=e.getterFor(u);a(String,"String",function(f){i(this,{type:u,string:n(f),index:0})},function(){var c=v(this),d=c.string,h=c.index,g;return h>=d.length?o(void 0,!0):(g=r(d,h),c.index+=g.length,o(g,!1))})},33128:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("link")},{link:function(o){return n(this,"a","href",o)}})},18509:function(s,l,t){var r=t(14304),n=t(96499),e=t(77422),a=t(26820),o=t(10659),u=t(2068),i=t(45344),v=t(17361),f=t(25001),c=t(5683),d=t(14274),h=t(11566),g=t(54932),p=t(10512),y=t(16142),m=t(72069),O=t(18565),S=t(16887),E=t(24487),T=t(33064),x=t(82367),I=t(70457),A=O("matchAll"),C="RegExp String",P=C+" Iterator",N=x.set,$=x.getterFor(P),U=RegExp.prototype,F=TypeError,D=e("".indexOf),L=e("".matchAll),b=!!L&&!m(function(){L("a",/./)}),K=a(function(X,st,et,lt){N(this,{type:P,regexp:X,string:st,global:et,unicode:lt,done:!1})},C,function(){var X=$(this);if(X.done)return o(void 0,!0);var st=X.regexp,et=X.string,lt=T(st,et);return lt===null?(X.done=!0,o(void 0,!0)):X.global?(v(lt[0])===""&&(st.lastIndex=E(et,i(st.lastIndex),X.unicode)),o(lt,!1)):(X.done=!0,o(lt,!1))}),H=function(Q){var X=f(this),st=v(Q),et=S(X,RegExp),lt=v(g(X)),ht,gt,Lt;return ht=new et(et===RegExp?X.source:X,lt),gt=!!~D(lt,"g"),Lt=!!~D(lt,"u"),ht.lastIndex=i(X.lastIndex),new K(ht,st,gt,Lt)};r({target:"String",proto:!0,forced:b},{matchAll:function(X){var st=u(this),et,lt,ht,gt;if(c(X)){if(b)return L(st,X)}else{if(h(X)&&(et=v(u(g(X))),!~D(et,"g")))throw new F("`.matchAll` does not allow non-global regexes");if(b)return L(st,X);if(ht=p(X,A),ht===void 0&&I&&d(X)==="RegExp"&&(ht=H),ht)return n(ht,X,st)}return lt=v(st),gt=new RegExp(X,"g"),I?n(H,gt,lt):gt[A](lt)}}),I||A in U||y(U,A,H)},15599:function(s,l,t){var r=t(96499),n=t(63194),e=t(25001),a=t(5683),o=t(45344),u=t(17361),i=t(2068),v=t(10512),f=t(24487),c=t(33064);n("match",function(d,h,g){return[function(y){var m=i(this),O=a(y)?void 0:v(y,d);return O?r(O,y,m):new RegExp(y)[d](u(m))},function(p){var y=e(this),m=u(p),O=g(h,y,m);if(O.done)return O.value;if(!y.global)return c(y,m);var S=y.unicode;y.lastIndex=0;for(var E=[],T=0,x;(x=c(y,m))!==null;){var I=u(x[0]);E[T]=I,I===""&&(y.lastIndex=f(m,o(y.lastIndex),S)),T++}return T===0?null:E}]})},21579:function(s,l,t){var r=t(14304),n=t(61607).end,e=t(36945);r({target:"String",proto:!0,forced:e},{padEnd:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}})},8854:function(s,l,t){var r=t(14304),n=t(61607).start,e=t(36945);r({target:"String",proto:!0,forced:e},{padStart:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}})},57676:function(s,l,t){var r=t(14304),n=t(11286),e=t(36859),a=t(49671),o=t(17361),u=t(82628),i=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(c){var d=e(a(c).raw),h=u(d);if(!h)return"";for(var g=arguments.length,p=[],y=0;;){if(i(p,o(d[y++])),y===h)return v(p,"");y$.length?-1:m($,U,K+L);return H<$.length&&(Q+=S($,H)),Q}})},96834:function(s,l,t){var r=t(66543),n=t(96499),e=t(11286),a=t(63194),o=t(72069),u=t(25001),i=t(23583),v=t(5683),f=t(12105),c=t(45344),d=t(17361),h=t(2068),g=t(24487),p=t(10512),y=t(38368),m=t(33064),O=t(18565),S=O("replace"),E=Math.max,T=Math.min,x=e([].concat),I=e([].push),A=e("".indexOf),C=e("".slice),P=function(F){return F===void 0?F:String(F)},N=function(){return"a".replace(/./,"$0")==="$0"}(),$=function(){return/./[S]?/./[S]("a","$0")==="":!1}(),U=!o(function(){var F=/./;return F.exec=function(){var D=[];return D.groups={a:"7"},D},"".replace(F,"$")!=="7"});a("replace",function(F,D,L){var b=$?"$":"$0";return[function(H,Q){var X=h(this),st=v(H)?void 0:p(H,S);return st?n(st,H,X,Q):n(D,d(X),H,Q)},function(K,H){var Q=u(this),X=d(K);if(typeof H=="string"&&A(H,b)===-1&&A(H,"$<")===-1){var st=L(D,Q,X,H);if(st.done)return st.value}var et=i(H);et||(H=d(H));var lt=Q.global,ht;lt&&(ht=Q.unicode,Q.lastIndex=0);for(var gt=[],Lt;Lt=m(Q,X),!(Lt===null||(I(gt,Lt),!lt));){var Dt=d(Lt[0]);Dt===""&&(Q.lastIndex=g(X,c(Q.lastIndex),ht))}for(var Ct="",at=0,vt=0;vt=at&&(Ct+=C(X,at,Rt)+Nt,at=Rt+St.length)}return Ct+C(X,at)}]},!U||!N||$)},74980:function(s,l,t){var r=t(96499),n=t(63194),e=t(25001),a=t(5683),o=t(2068),u=t(13944),i=t(17361),v=t(10512),f=t(33064);n("search",function(c,d,h){return[function(p){var y=o(this),m=a(p)?void 0:v(p,c);return m?r(m,p,y):new RegExp(p)[c](i(y))},function(g){var p=e(this),y=i(g),m=h(d,p,y);if(m.done)return m.value;var O=p.lastIndex;u(O,0)||(p.lastIndex=0);var S=f(p,y);return u(p.lastIndex,O)||(p.lastIndex=O),S===null?-1:S.index}]})},95625:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("small")},{small:function(){return n(this,"small","","")}})},390:function(s,l,t){var r=t(96499),n=t(11286),e=t(63194),a=t(25001),o=t(5683),u=t(2068),i=t(16887),v=t(24487),f=t(45344),c=t(17361),d=t(10512),h=t(33064),g=t(39807),p=t(72069),y=g.UNSUPPORTED_Y,m=4294967295,O=Math.min,S=n([].push),E=n("".slice),T=!p(function(){var I=/(?:)/,A=I.exec;I.exec=function(){return A.apply(this,arguments)};var C="ab".split(I);return C.length!==2||C[0]!=="a"||C[1]!=="b"}),x="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;e("split",function(I,A,C){var P="0".split(void 0,0).length?function(N,$){return N===void 0&&$===0?[]:r(A,this,N,$)}:A;return[function($,U){var F=u(this),D=o($)?void 0:d($,I);return D?r(D,$,F,U):r(P,c(F),$,U)},function(N,$){var U=a(this),F=c(N);if(!x){var D=C(P,U,F,$,P!==A);if(D.done)return D.value}var L=i(U,RegExp),b=U.unicode,K=(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")+(y?"g":"y"),H=new L(y?"^(?:"+U.source+")":U,K),Q=$===void 0?m:$>>>0;if(Q===0)return[];if(F.length===0)return h(H,F)===null?[F]:[];for(var X=0,st=0,et=[];st1?arguments[1]:void 0,m.length)),S=o(y);return c(m,O,O+S.length)===S}})},90614:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("strike")},{strike:function(){return n(this,"strike","","")}})},60120:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("sub")},{sub:function(){return n(this,"sub","","")}})},21293:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(12105),o=t(17361),u=n("".slice),i=Math.max,v=Math.min,f=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:f},{substr:function(d,h){var g=o(e(this)),p=g.length,y=a(d),m,O;return y===1/0&&(y=0),y<0&&(y=i(p+y,0)),m=h===void 0?p:a(h),m<=0||m===1/0?"":(O=v(y+m,p),y>=O?"":u(g,y,O))}})},75826:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("sup")},{sup:function(){return n(this,"sup","","")}})},18184:function(s,l,t){var r=t(14304),n=t(96499),e=t(11286),a=t(2068),o=t(17361),u=t(72069),i=Array,v=e("".charAt),f=e("".charCodeAt),c=e([].join),d="".toWellFormed,h="\uFFFD",g=d&&u(function(){return n(d,1)!=="1"});r({target:"String",proto:!0,forced:g},{toWellFormed:function(){var y=o(a(this));if(g)return n(d,y);for(var m=y.length,O=i(m),S=0;S=56320||S+1>=m||(f(y,S+1)&64512)!==56320?O[S]=h:(O[S]=v(y,S),O[++S]=v(y,S))}return c(O,"")}})},19680:function(s,l,t){t(23283);var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},12272:function(s,l,t){var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},23283:function(s,l,t){var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},4193:function(s,l,t){t(12272);var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},75012:function(s,l,t){var r=t(14304),n=t(85900).trim,e=t(33328);r({target:"String",proto:!0,forced:e("trim")},{trim:function(){return n(this)}})},43606:function(s,l,t){var r=t(83749);r("asyncIterator")},51767:function(s,l,t){var r=t(14304),n=t(66009),e=t(96499),a=t(11286),o=t(70457),u=t(92986),i=t(39729),v=t(72069),f=t(94879),c=t(95307),d=t(25001),h=t(36859),g=t(50035),p=t(17361),y=t(18526),m=t(5406),O=t(18350),S=t(83258),E=t(92880),T=t(24943),x=t(71349),I=t(7831),A=t(61963),C=t(79591),P=t(16142),N=t(85500),$=t(96731),U=t(44869),F=t(19423),D=t(36374),L=t(18565),b=t(56529),K=t(83749),H=t(60796),Q=t(78401),X=t(82367),st=t(66655).forEach,et=U("hidden"),lt="Symbol",ht="prototype",gt=X.set,Lt=X.getterFor(lt),Dt=Object[ht],Ct=n.Symbol,at=Ct&&Ct[ht],vt=n.RangeError,St=n.TypeError,Rt=n.QObject,Tt=x.f,Nt=I.f,Ht=E.f,Wt=C.f,bt=a([].push),Pt=$("symbols"),Vt=$("op-symbols"),$t=$("wks"),Mt=!Rt||!Rt[ht]||!Rt[ht].findChild,q=function(k,tt,j){var z=Tt(Dt,tt);z&&delete Dt[tt],Nt(k,tt,j),z&&k!==Dt&&Nt(Dt,tt,z)},ut=u&&v(function(){return m(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a!==7})?q:Nt,J=function(k,tt){var j=Pt[k]=m(at);return gt(j,{type:lt,tag:k,description:tt}),u||(j.description=tt),j},yt=function(tt,j,z){tt===Dt&&yt(Vt,j,z),d(tt);var G=g(j);return d(z),f(Pt,G)?(z.enumerable?(f(tt,et)&&tt[et][G]&&(tt[et][G]=!1),z=m(z,{enumerable:y(0,!1)})):(f(tt,et)||Nt(tt,et,y(1,m(null))),tt[et][G]=!0),ut(tt,G,z)):Nt(tt,G,z)},pt=function(tt,j){d(tt);var z=h(j),G=O(z).concat(W(z));return st(G,function(ot){(!u||e(ft,z,ot))&&yt(tt,ot,z[ot])}),tt},ct=function(tt,j){return j===void 0?m(tt):pt(m(tt),j)},ft=function(tt){var j=g(tt),z=e(Wt,this,j);return this===Dt&&f(Pt,j)&&!f(Vt,j)?!1:z||!f(this,j)||!f(Pt,j)||f(this,et)&&this[et][j]?z:!0},zt=function(tt,j){var z=h(tt),G=g(j);if(!(z===Dt&&f(Pt,G)&&!f(Vt,G))){var ot=Tt(z,G);return ot&&f(Pt,G)&&!(f(z,et)&&z[et][G])&&(ot.enumerable=!0),ot}},Yt=function(tt){var j=Ht(h(tt)),z=[];return st(j,function(G){!f(Pt,G)&&!f(F,G)&&bt(z,G)}),z},W=function(k){var tt=k===Dt,j=Ht(tt?Vt:h(k)),z=[];return st(j,function(G){f(Pt,G)&&(!tt||f(Dt,G))&&bt(z,Pt[G])}),z};i||(Ct=function(){if(c(at,this))throw new St("Symbol is not a constructor");var tt=!arguments.length||arguments[0]===void 0?void 0:p(arguments[0]),j=D(tt),z=function(G){var ot=this===void 0?n:this;ot===Dt&&e(z,Vt,G),f(ot,et)&&f(ot[et],j)&&(ot[et][j]=!1);var mt=y(1,G);try{ut(ot,j,mt)}catch(At){if(!(At instanceof vt))throw At;q(ot,j,mt)}};return u&&Mt&&ut(Dt,j,{configurable:!0,set:z}),J(j,tt)},at=Ct[ht],P(at,"toString",function(){return Lt(this).tag}),P(Ct,"withoutSetter",function(k){return J(D(k),k)}),C.f=ft,I.f=yt,A.f=pt,x.f=zt,S.f=E.f=Yt,T.f=W,b.f=function(k){return J(L(k),k)},u&&(N(at,"description",{configurable:!0,get:function(){return Lt(this).description}}),o||P(Dt,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!i,sham:!i},{Symbol:Ct}),st(O($t),function(k){K(k)}),r({target:lt,stat:!0,forced:!i},{useSetter:function(){Mt=!0},useSimple:function(){Mt=!1}}),r({target:"Object",stat:!0,forced:!i,sham:!u},{create:ct,defineProperty:yt,defineProperties:pt,getOwnPropertyDescriptor:zt}),r({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:Yt}),H(),Q(Ct,lt),F[et]=!0},43657:function(s,l,t){var r=t(14304),n=t(92986),e=t(66009),a=t(11286),o=t(94879),u=t(23583),i=t(95307),v=t(17361),f=t(85500),c=t(93706),d=e.Symbol,h=d&&d.prototype;if(n&&u(d)&&(!("description"in h)||d().description!==void 0)){var g={},p=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),A=i(h,this)?new d(I):I===void 0?d():d(I);return I===""&&(g[A]=!0),A};c(p,d),p.prototype=h,h.constructor=p;var y=String(d("description detection"))==="Symbol(description detection)",m=a(h.valueOf),O=a(h.toString),S=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),T=a("".slice);f(h,"description",{configurable:!0,get:function(){var I=m(this);if(o(g,I))return"";var A=O(I),C=y?T(A,7,-1):E(A,S,"$1");return C===""?void 0:C}}),r({global:!0,constructor:!0,forced:!0},{Symbol:p})}},20872:function(s,l,t){var r=t(14304),n=t(38941),e=t(94879),a=t(17361),o=t(96731),u=t(61190),i=o("string-to-symbol-registry"),v=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(f){var c=a(f);if(e(i,c))return i[c];var d=n("Symbol")(c);return i[c]=d,v[d]=c,d}})},15855:function(s,l,t){var r=t(83749);r("hasInstance")},42026:function(s,l,t){var r=t(83749);r("isConcatSpreadable")},33257:function(s,l,t){var r=t(83749);r("iterator")},40949:function(s,l,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(s,l,t){var r=t(14304),n=t(94879),e=t(491),a=t(82453),o=t(96731),u=t(61190),i=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!e(f))throw new TypeError(a(f)+" is not a symbol");if(n(i,f))return i[f]}})},88344:function(s,l,t){var r=t(83749);r("matchAll")},59414:function(s,l,t){var r=t(83749);r("match")},92579:function(s,l,t){var r=t(83749);r("replace")},94655:function(s,l,t){var r=t(83749);r("search")},8565:function(s,l,t){var r=t(83749);r("species")},60843:function(s,l,t){var r=t(83749);r("split")},65842:function(s,l,t){var r=t(83749),n=t(60796);r("toPrimitive"),n()},51595:function(s,l,t){var r=t(38941),n=t(83749),e=t(78401);n("toStringTag"),e(r("Symbol"),"Symbol")},54908:function(s,l,t){var r=t(83749);r("unscopables")},71998:function(s,l,t){var r=t(88037),n=t(82628),e=t(12105),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("at",function(i){var v=a(this),f=n(v),c=e(i),d=c>=0?c:f+c;return d<0||d>=f?void 0:v[d]})},6116:function(s,l,t){var r=t(11286),n=t(88037),e=t(81499),a=r(e),o=n.aTypedArray,u=n.exportTypedArrayMethod;u("copyWithin",function(v,f){return a(o(this),v,f,arguments.length>2?arguments[2]:void 0)})},33032:function(s,l,t){var r=t(88037),n=t(66655).every,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("every",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},80962:function(s,l,t){var r=t(88037),n=t(43011),e=t(11344),a=t(9205),o=t(96499),u=t(11286),i=t(72069),v=r.aTypedArray,f=r.exportTypedArrayMethod,c=u("".slice),d=i(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});f("fill",function(g){var p=arguments.length;v(this);var y=c(a(this),0,3)==="Big"?e(g):+g;return o(n,this,y,p>1?arguments[1]:void 0,p>2?arguments[2]:void 0)},d)},49381:function(s,l,t){var r=t(88037),n=t(66655).filter,e=t(3795),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("filter",function(i){var v=n(a(this),i,arguments.length>1?arguments[1]:void 0);return e(this,v)})},65961:function(s,l,t){var r=t(88037),n=t(66655).findIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findIndex",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},16028:function(s,l,t){var r=t(88037),n=t(73849).findLastIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLastIndex",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},94153:function(s,l,t){var r=t(88037),n=t(73849).findLast,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLast",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},38344:function(s,l,t){var r=t(88037),n=t(66655).find,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("find",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},25560:function(s,l,t){var r=t(80357);r("Float32",function(n){return function(a,o,u){return n(this,a,o,u)}})},22571:function(s,l,t){var r=t(80357);r("Float64",function(n){return function(a,o,u){return n(this,a,o,u)}})},20656:function(s,l,t){var r=t(88037),n=t(66655).forEach,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("forEach",function(u){n(e(this),u,arguments.length>1?arguments[1]:void 0)})},17063:function(s,l,t){var r=t(46868),n=t(88037).exportTypedArrayStaticMethod,e=t(66169);n("from",e,r)},21774:function(s,l,t){var r=t(88037),n=t(94319).includes,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("includes",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},51761:function(s,l,t){var r=t(88037),n=t(94319).indexOf,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("indexOf",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},36849:function(s,l,t){var r=t(80357);r("Int16",function(n){return function(a,o,u){return n(this,a,o,u)}})},49191:function(s,l,t){var r=t(80357);r("Int32",function(n){return function(a,o,u){return n(this,a,o,u)}})},40704:function(s,l,t){var r=t(80357);r("Int8",function(n){return function(a,o,u){return n(this,a,o,u)}})},12317:function(s,l,t){var r=t(66009),n=t(72069),e=t(11286),a=t(88037),o=t(35054),u=t(18565),i=u("iterator"),v=r.Uint8Array,f=e(o.values),c=e(o.keys),d=e(o.entries),h=a.aTypedArray,g=a.exportTypedArrayMethod,p=v&&v.prototype,y=!n(function(){p[i].call([1])}),m=!!p&&p.values&&p[i]===p.values&&p.values.name==="values",O=function(){return f(h(this))};g("entries",function(){return d(h(this))},y),g("keys",function(){return c(h(this))},y),g("values",O,y||!m,{name:"values"}),g(i,O,y||!m,{name:"values"})},19711:function(s,l,t){var r=t(88037),n=t(11286),e=r.aTypedArray,a=r.exportTypedArrayMethod,o=n([].join);a("join",function(i){return o(e(this),i)})},41034:function(s,l,t){var r=t(88037),n=t(66543),e=t(58465),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",function(i){var v=arguments.length;return n(e,a(this),v>1?[i,arguments[1]]:[i])})},13313:function(s,l,t){var r=t(88037),n=t(66655).map,e=t(21822),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("map",function(i){return n(a(this),i,arguments.length>1?arguments[1]:void 0,function(v,f){return new(e(v))(f)})})},44698:function(s,l,t){var r=t(88037),n=t(46868),e=r.aTypedArrayConstructor,a=r.exportTypedArrayStaticMethod;a("of",function(){for(var u=0,i=arguments.length,v=new(e(this))(i);i>u;)v[u]=arguments[u++];return v},n)},66178:function(s,l,t){var r=t(88037),n=t(97264).right,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduceRight",function(u){var i=arguments.length;return n(e(this),u,i,i>1?arguments[1]:void 0)})},7369:function(s,l,t){var r=t(88037),n=t(97264).left,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduce",function(u){var i=arguments.length;return n(e(this),u,i,i>1?arguments[1]:void 0)})},67961:function(s,l,t){var r=t(88037),n=r.aTypedArray,e=r.exportTypedArrayMethod,a=Math.floor;e("reverse",function(){for(var u=this,i=n(u).length,v=a(i/2),f=0,c;f1?arguments[1]:void 0,1),E=u(O);if(p)return n(d,this,E,S);var T=this.length,x=a(E),I=0;if(x+S>T)throw new v("Wrong length");for(;Ig;)y[g]=d[g++];return y},i)},9711:function(s,l,t){var r=t(88037),n=t(66655).some,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("some",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},3923:function(s,l,t){var r=t(66009),n=t(77422),e=t(72069),a=t(85156),o=t(13270),u=t(88037),i=t(54040),v=t(87216),f=t(73126),c=t(68674),d=u.aTypedArray,h=u.exportTypedArrayMethod,g=r.Uint16Array,p=g&&n(g.prototype.sort),y=!!p&&!(e(function(){p(new g(2),null)})&&e(function(){p(new g(2),{})})),m=!!p&&!e(function(){if(f)return f<74;if(i)return i<67;if(v)return!0;if(c)return c<602;var S=new g(516),E=Array(516),T,x;for(T=0;T<516;T++)x=T%4,S[T]=515-T,E[T]=T-2*x+3;for(p(S,function(I,A){return(I/4|0)-(A/4|0)}),T=0;T<516;T++)if(S[T]!==E[T])return!0}),O=function(S){return function(E,T){return S!==void 0?+S(E,T)||0:T!==T?-1:E!==E?1:E===0&&T===0?1/E>0&&1/T<0?1:-1:E>T}};h("sort",function(E){return E!==void 0&&a(E),m?p(this,E):o(d(this),O(E))},!m||y)},59728:function(s,l,t){var r=t(88037),n=t(45344),e=t(4652),a=t(21822),o=r.aTypedArray,u=r.exportTypedArrayMethod;u("subarray",function(v,f){var c=o(this),d=c.length,h=e(v,d),g=a(c);return new g(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,n((f===void 0?d:e(f,d))-h))})},85227:function(s,l,t){var r=t(66009),n=t(66543),e=t(88037),a=t(72069),o=t(22806),u=r.Int8Array,i=e.aTypedArray,v=e.exportTypedArrayMethod,f=[].toLocaleString,c=!!u&&a(function(){f.call(new u(1))}),d=a(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!a(function(){u.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){return n(f,c?o(i(this)):i(this),o(arguments))},d)},56933:function(s,l,t){var r=t(61638),n=t(88037),e=n.aTypedArray,a=n.exportTypedArrayMethod,o=n.getTypedArrayConstructor;a("toReversed",function(){return r(e(this),o(this))})},91490:function(s,l,t){var r=t(88037),n=t(11286),e=t(85156),a=t(5220),o=r.aTypedArray,u=r.getTypedArrayConstructor,i=r.exportTypedArrayMethod,v=n(r.TypedArrayPrototype.sort);i("toSorted",function(c){c!==void 0&&e(c);var d=o(this),h=a(u(d),d);return v(h,c)})},61766:function(s,l,t){var r=t(88037).exportTypedArrayMethod,n=t(72069),e=t(66009),a=t(11286),o=e.Uint8Array,u=o&&o.prototype||{},i=[].toString,v=a([].join);n(function(){i.call({})})&&(i=function(){return v(this)});var f=u.toString!==i;r("toString",i,f)},44884:function(s,l,t){var r=t(80357);r("Uint16",function(n){return function(a,o,u){return n(this,a,o,u)}})},48658:function(s,l,t){var r=t(80357);r("Uint32",function(n){return function(a,o,u){return n(this,a,o,u)}})},81083:function(s,l,t){var r=t(80357);r("Uint8",function(n){return function(a,o,u){return n(this,a,o,u)}})},27428:function(s,l,t){var r=t(80357);r("Uint8",function(n){return function(a,o,u){return n(this,a,o,u)}},!0)},85143:function(s,l,t){var r=t(72302),n=t(88037),e=t(77129),a=t(12105),o=t(11344),u=n.aTypedArray,i=n.getTypedArrayConstructor,v=n.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(c){return c===8}}();v("with",function(c,d){var h=u(this),g=a(c),p=e(h)?o(d):+d;return r(h,i(h),g,p)},!f)},47005:function(s,l,t){var r=t(14304),n=t(11286),e=t(17361),a=String.fromCharCode,o=n("".charAt),u=n(/./.exec),i=n("".slice),v=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(d){for(var h=e(d),g="",p=h.length,y=0,m,O;y>(-2*F&6)));return $}})},60869:function(s,l,t){var r=t(14304),n=t(66009),e=t(38941),a=t(11286),o=t(96499),u=t(72069),i=t(17361),v=t(95486),f=t(6210).i2c,c=e("btoa"),d=a("".charAt),h=a("".charCodeAt),g=!!c&&!u(function(){return c("hi")!=="aGk="}),p=g&&!u(function(){c()}),y=g&&u(function(){return c(null)!=="bnVsbA=="}),m=g&&c.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!g||p||y||m},{btoa:function(S){if(v(arguments.length,1),g)return o(c,n,i(S));for(var E=i(S),T="",x=0,I=f,A,C;d(E,x)||(I="=",x%1);){if(C=h(E,x+=.75),C>255)throw new(e("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");A=A<<8|C,T+=d(I,63&A>>8-x%1*8)}return T}})},66722:function(s,l,t){var r=t(14304),n=t(66009),e=t(23115).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==e},{clearImmediate:e})},50338:function(s,l,t){var r=t(66009),n=t(93014),e=t(39882),a=t(13349),o=t(90809),u=function(v){if(v&&v.forEach!==a)try{o(v,"forEach",a)}catch(f){v.forEach=a}};for(var i in n)n[i]&&u(r[i]&&r[i].prototype);u(e)},53059:function(s,l,t){var r=t(66009),n=t(93014),e=t(39882),a=t(35054),o=t(90809),u=t(78401),i=t(18565),v=i("iterator"),f=a.values,c=function(h,g){if(h){if(h[v]!==f)try{o(h,v,f)}catch(y){h[v]=f}if(u(h,g,!0),n[g]){for(var p in a)if(h[p]!==a[p])try{o(h,p,a[p])}catch(y){h[p]=a[p]}}}};for(var d in n)c(r[d]&&r[d].prototype,d);c(e,"DOMTokenList")},5805:function(s,l,t){var r=t(14304),n=t(18096),e=t(38941),a=t(72069),o=t(5406),u=t(18526),i=t(7831).f,v=t(16142),f=t(85500),c=t(94879),d=t(12833),h=t(25001),g=t(58434),p=t(15453),y=t(74408),m=t(40851),O=t(82367),S=t(92986),E=t(70457),T="DOMException",x="DATA_CLONE_ERR",I=e("Error"),A=e(T)||function(){try{var at=e("MessageChannel")||n("worker_threads").MessageChannel;new at().port1.postMessage(new WeakMap)}catch(vt){if(vt.name===x&&vt.code===25)return vt.constructor}}(),C=A&&A.prototype,P=I.prototype,N=O.set,$=O.getterFor(T),U="stack"in new I(T),F=function(at){return c(y,at)&&y[at].m?y[at].c:0},D=function(){d(this,L);var vt=arguments.length,St=p(vt<1?void 0:arguments[0]),Rt=p(vt<2?void 0:arguments[1],"Error"),Tt=F(Rt);if(N(this,{type:T,name:Rt,message:St,code:Tt}),S||(this.name=Rt,this.message=St,this.code=Tt),U){var Nt=new I(St);Nt.name=T,i(this,"stack",u(1,m(Nt.stack,1)))}},L=D.prototype=o(P),b=function(at){return{enumerable:!0,configurable:!0,get:at}},K=function(at){return b(function(){return $(this)[at]})};S&&(f(L,"code",K("code")),f(L,"message",K("message")),f(L,"name",K("name"))),i(L,"constructor",u(1,D));var H=a(function(){return!(new A instanceof I)}),Q=H||a(function(){return P.toString!==g||String(new A(1,2))!=="2: 1"}),X=H||a(function(){return new A(1,"DataCloneError").code!==25}),st=H||A[x]!==25||C[x]!==25,et=E?Q||X||st:H;r({global:!0,constructor:!0,forced:et},{DOMException:et?D:A});var lt=e(T),ht=lt.prototype;Q&&(E||A===lt)&&v(ht,"toString",g),X&&S&&A===lt&&f(ht,"code",b(function(){return F(h(this).name)}));for(var gt in y)if(c(y,gt)){var Lt=y[gt],Dt=Lt.s,Ct=u(6,Lt.c);c(lt,Dt)||i(lt,Dt,Ct),c(ht,Dt)||i(ht,Dt,Ct)}},50685:function(s,l,t){var r=t(14304),n=t(66009),e=t(38941),a=t(18526),o=t(7831).f,u=t(94879),i=t(12833),v=t(32345),f=t(15453),c=t(74408),d=t(40851),h=t(92986),g=t(70457),p="DOMException",y=e("Error"),m=e(p),O=function(){i(this,S);var D=arguments.length,L=f(D<1?void 0:arguments[0]),b=f(D<2?void 0:arguments[1],"Error"),K=new m(L,b),H=new y(L);return H.name=p,o(K,"stack",a(1,d(H.stack,1))),v(K,this,O),K},S=O.prototype=m.prototype,E="stack"in new y(p),T="stack"in new m(1,2),x=m&&h&&Object.getOwnPropertyDescriptor(n,p),I=!!x&&!(x.writable&&x.configurable),A=E&&!I&&!T;r({global:!0,constructor:!0,forced:g||A},{DOMException:A?O:m});var C=e(p),P=C.prototype;if(P.constructor!==C){g||o(P,"constructor",a(1,C));for(var N in c)if(u(c,N)){var $=c[N],U=$.s;u(C,U)||o(C,U,a(6,$.c))}}},70649:function(s,l,t){var r=t(38941),n=t(78401),e="DOMException";n(r(e),e)},39842:function(s,l,t){t(66722),t(8235)},82872:function(s,l,t){var r=t(14304),n=t(66009),e=t(9709),a=t(85156),o=t(95486),u=t(72069),i=t(92986),v=u(function(){return i&&Object.getOwnPropertyDescriptor(n,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:v},{queueMicrotask:function(c){o(arguments.length,1),e(a(c))}})},91401:function(s,l,t){var r=t(14304),n=t(66009),e=t(85500),a=t(92986),o=TypeError,u=Object.defineProperty,i=n.self!==n;try{if(a){var v=Object.getOwnPropertyDescriptor(n,"self");(i||!v||!v.get||!v.enumerable)&&e(n,"self",{get:function(){return n},set:function(c){if(this!==n)throw new o("Illegal invocation");u(n,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:i},{self:n})}catch(f){}},8235:function(s,l,t){var r=t(14304),n=t(66009),e=t(23115).set,a=t(9934),o=n.setImmediate?a(e,!1):e;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==o},{setImmediate:o})},63981:function(s,l,t){var r=t(14304),n=t(66009),e=t(9934),a=e(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==a},{setInterval:a})},23913:function(s,l,t){var r=t(14304),n=t(66009),e=t(9934),a=e(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==a},{setTimeout:a})},92904:function(s,l,t){var r=t(70457),n=t(14304),e=t(66009),a=t(38941),o=t(11286),u=t(72069),i=t(36374),v=t(23583),f=t(11051),c=t(5683),d=t(37540),h=t(491),g=t(55902),p=t(25001),y=t(9205),m=t(94879),O=t(84082),S=t(90809),E=t(82628),T=t(95486),x=t(54932),I=t(1774),A=t(172),C=t(35051),P=t(63741),N=t(16929),$=t(99050),U=e.Object,F=e.Array,D=e.Date,L=e.Error,b=e.TypeError,K=e.PerformanceMark,H=a("DOMException"),Q=I.Map,X=I.has,st=I.get,et=I.set,lt=A.Set,ht=A.add,gt=A.has,Lt=a("Object","keys"),Dt=o([].push),Ct=o((!0).valueOf),at=o(1 .valueOf),vt=o("".valueOf),St=o(D.prototype.getTime),Rt=i("structuredClone"),Tt="DataCloneError",Nt="Transferring",Ht=function(W){return!u(function(){var k=new e.Set([7]),tt=W(k),j=W(U(7));return tt===k||!tt.has(7)||!d(j)||+j!=7})&&W},Wt=function(W,k){return!u(function(){var tt=new k,j=W({a:tt,b:tt});return!(j&&j.a===j.b&&j.a instanceof k&&j.a.stack===tt.stack)})},bt=function(W){return!u(function(){var k=W(new e.AggregateError([1],Rt,{cause:3}));return k.name!=="AggregateError"||k.errors[0]!==1||k.message!==Rt||k.cause!==3})},Pt=e.structuredClone,Vt=r||!Wt(Pt,L)||!Wt(Pt,H)||!bt(Pt),$t=!Pt&&Ht(function(W){return new K(Rt,{detail:W}).detail}),Mt=Ht(Pt)||$t,q=function(W){throw new H("Uncloneable type: "+W,Tt)},ut=function(W,k){throw new H((k||"Cloning")+" of "+W+" cannot be properly polyfilled in this engine",Tt)},J=function(W,k){return Mt||ut(k),Mt(W)},yt=function(){var W;try{W=new e.DataTransfer}catch(k){try{W=new e.ClipboardEvent("").clipboardData}catch(tt){}}return W&&W.items&&W.files?W:null},pt=function(W,k,tt){if(X(k,W))return st(k,W);var j=tt||y(W),z,G,ot,mt,At,Bt;if(j==="SharedArrayBuffer")Mt?z=Mt(W):z=W;else{var jt=e.DataView;!jt&&!v(W.slice)&&ut("ArrayBuffer");try{if(v(W.slice)&&!W.resizable)z=W.slice(0);else for(G=W.byteLength,ot=("maxByteLength"in W)?{maxByteLength:W.maxByteLength}:void 0,z=new ArrayBuffer(G,ot),mt=new jt(W),At=new jt(z),Bt=0;Bt1&&!c(arguments[1])?p(arguments[1]):void 0,j=tt?tt.transfer:void 0,z,G;j!==void 0&&(z=new Q,G=zt(j,z));var ot=ft(k,z);return G&&Yt(G),ot}})},28381:function(s,l,t){t(63981),t(23913)},98812:function(s,l,t){t(35054);var r=t(14304),n=t(66009),e=t(28167),a=t(96499),o=t(11286),u=t(92986),i=t(91918),v=t(16142),f=t(85500),c=t(2725),d=t(78401),h=t(26820),g=t(82367),p=t(12833),y=t(23583),m=t(94879),O=t(45526),S=t(9205),E=t(25001),T=t(37540),x=t(17361),I=t(5406),A=t(18526),C=t(90619),P=t(81077),N=t(10659),$=t(95486),U=t(18565),F=t(13270),D=U("iterator"),L="URLSearchParams",b=L+"Iterator",K=g.set,H=g.getterFor(L),Q=g.getterFor(b),X=e("fetch"),st=e("Request"),et=e("Headers"),lt=st&&st.prototype,ht=et&&et.prototype,gt=n.RegExp,Lt=n.TypeError,Dt=n.decodeURIComponent,Ct=n.encodeURIComponent,at=o("".charAt),vt=o([].join),St=o([].push),Rt=o("".replace),Tt=o([].shift),Nt=o([].splice),Ht=o("".split),Wt=o("".slice),bt=/\+/g,Pt=Array(4),Vt=function(j){return Pt[j-1]||(Pt[j-1]=gt("((?:%[\\da-f]{2}){"+j+"})","gi"))},$t=function(j){try{return Dt(j)}catch(z){return j}},Mt=function(j){var z=Rt(j,bt," "),G=4;try{return Dt(z)}catch(ot){for(;G;)z=Rt(z,Vt(G--),$t);return z}},q=/[!'()~]|%20/g,ut={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},J=function(j){return ut[j]},yt=function(j){return Rt(Ct(j),q,J)},pt=h(function(z,G){K(this,{type:b,target:H(z).entries,index:0,kind:G})},L,function(){var z=Q(this),G=z.target,ot=z.index++;if(!G||ot>=G.length)return z.target=void 0,N(void 0,!0);var mt=G[ot];switch(z.kind){case"keys":return N(mt.key,!1);case"values":return N(mt.value,!1)}return N([mt.key,mt.value],!1)},!0),ct=function(j){this.entries=[],this.url=null,j!==void 0&&(T(j)?this.parseObject(j):this.parseQuery(typeof j=="string"?at(j,0)==="?"?Wt(j,1):j:x(j)))};ct.prototype={type:L,bindURL:function(j){this.url=j,this.update()},parseObject:function(j){var z=this.entries,G=P(j),ot,mt,At,Bt,jt,Ut,Qt;if(G)for(ot=C(j,G),mt=ot.next;!(At=a(mt,ot)).done;){if(Bt=C(E(At.value)),jt=Bt.next,(Ut=a(jt,Bt)).done||(Qt=a(jt,Bt)).done||!a(jt,Bt).done)throw new Lt("Expected sequence with length 2");St(z,{key:x(Ut.value),value:x(Qt.value)})}else for(var fr in j)m(j,fr)&&St(z,{key:fr,value:x(j[fr])})},parseQuery:function(j){if(j)for(var z=this.entries,G=Ht(j,"&"),ot=0,mt,At;ot0?arguments[0]:void 0,G=K(this,new ct(z));u||(this.size=G.entries.length)},zt=ft.prototype;if(c(zt,{append:function(z,G){var ot=H(this);$(arguments.length,2),St(ot.entries,{key:x(z),value:x(G)}),u||this.length++,ot.updateURL()},delete:function(j){for(var z=H(this),G=$(arguments.length,1),ot=z.entries,mt=x(j),At=G<2?void 0:arguments[1],Bt=At===void 0?At:x(At),jt=0;jtot.key?1:-1}),z.updateURL()},forEach:function(z){for(var G=H(this).entries,ot=O(z,arguments.length>1?arguments[1]:void 0),mt=0,At;mt1?k(arguments[1]):{})}}),y(st)){var tt=function(z){return p(this,lt),new st(z,arguments.length>1?k(arguments[1]):{})};lt.constructor=tt,tt.prototype=lt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:tt})}}s.exports={URLSearchParams:ft,getState:H}},10901:function(s,l,t){var r=t(16142),n=t(11286),e=t(17361),a=t(95486),o=URLSearchParams,u=o.prototype,i=n(u.append),v=n(u.delete),f=n(u.forEach),c=n([].push),d=new o("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&r(u,"delete",function(h){var g=arguments.length,p=g<2?void 0:arguments[1];if(g&&p===void 0)return v(this,h);var y=[];f(this,function(A,C){c(y,{key:C,value:A})}),a(g,1);for(var m=e(h),O=e(p),S=0,E=0,T=!1,x=y.length,I;S?@[\\\]^|]/,Pt=/[\0\t\n\r #/:<>?@[\\\]^|]/,Vt=/^[\u0000-\u0020]+/,$t=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Mt=/[\t\n\r]/g,q,ut=function(V){var rt=et(V,"."),Y,B,w,Ot,xt,Xt,Zt;if(rt.length&&rt[rt.length-1]===""&&rt.length--,Y=rt.length,Y>4)return V;for(B=[],w=0;w1&&D(Ot,0)==="0"&&(xt=L(Tt,Ot)?16:8,Ot=lt(Ot,xt===8?1:2)),Ot==="")Xt=0;else{if(!L(xt===10?Ht:xt===8?Nt:Wt,Ot))return V;Xt=$(Ot,xt)}Q(B,Xt)}for(w=0;w=F(256,5-Y))return null}else if(Xt>255)return null;for(Zt=H(B),w=0;w6))return;for(Xt=0;Jt();){if(Zt=null,Xt>0)if(Jt()==="."&&Xt<4)w++;else return;if(!L(Rt,Jt()))return;for(;L(Rt,Jt());){if(wt=$(Jt(),10),Zt===null)Zt=wt;else{if(Zt===0)return;Zt=Zt*10+wt}if(Zt>255)return;w++}rt[Y]=rt[Y]*256+Zt,Xt++,(Xt===2||Xt===4)&&Y++}if(Xt!==4)return;break}else if(Jt()===":"){if(w++,!Jt())return}else if(Jt())return;rt[Y++]=Ot}if(B!==null)for(_t=Y-B,Y=7;Y!==0&&_t>0;)nt=rt[Y],rt[Y--]=rt[B+_t-1],rt[B+--_t]=nt;else if(Y!==8)return;return rt},yt=function(V){for(var rt=null,Y=1,B=null,w=0,Ot=0;Ot<8;Ot++)V[Ot]!==0?(w>Y&&(rt=B,Y=w),B=null,w=0):(B===null&&(B=Ot),++w);return w>Y&&(rt=B,Y=w),rt},pt=function(V){var rt,Y,B,w;if(typeof V=="number"){for(rt=[],Y=0;Y<4;Y++)gt(rt,V%256),V=U(V/256);return b(rt,".")}else if(typeof V=="object"){for(rt="",B=yt(V),Y=0;Y<8;Y++)w&&V[Y]===0||(w&&(w=!1),B===Y?(rt+=Y?":":"::",w=!0):(rt+=K(V[Y],16),Y<7&&(rt+=":")));return"["+rt+"]"}return V},ct={},ft=d({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),zt=d({},ft,{"#":1,"?":1,"{":1,"}":1}),Yt=d({},zt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(V,rt){var Y=p(V,0);return Y>32&&Y<127&&!c(rt,V)?V:encodeURIComponent(V)},k={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tt=function(V,rt){var Y;return V.length===2&&L(vt,D(V,0))&&((Y=D(V,1))===":"||!rt&&Y==="|")},j=function(V){var rt;return V.length>1&&tt(lt(V,0,2))&&(V.length===2||(rt=D(V,2))==="/"||rt==="\\"||rt==="?"||rt==="#")},z=function(V){return V==="."||ht(V)==="%2e"},G=function(V){return V=ht(V),V===".."||V==="%2e."||V===".%2e"||V==="%2e%2e"},ot={},mt={},At={},Bt={},jt={},Ut={},Qt={},fr={},dr={},hr={},pr={},gr={},mr={},xr={},Ar={},Sr={},lr={},nr={},Pr={},ir={},or={},Er=function(V,rt,Y){var B=m(V),w,Ot,xt;if(rt){if(Ot=this.parse(B),Ot)throw new N(Ot);this.searchParams=null}else{if(Y!==void 0&&(w=new Er(Y,!0)),Ot=this.parse(B,null,w),Ot)throw new N(Ot);xt=C(new A),xt.bindURL(this),this.searchParams=xt}};Er.prototype={type:"URL",parse:function(V,rt,Y){var B=this,w=rt||ot,Ot=0,xt="",Xt=!1,Zt=!1,wt=!1,_t,nt,Jt,er;for(V=m(V),rt||(B.scheme="",B.username="",B.password="",B.host=null,B.port=null,B.path=[],B.query=null,B.fragment=null,B.cannotBeABaseURL=!1,V=X(V,Vt,""),V=X(V,$t,"$1")),V=X(V,Mt,""),_t=h(V);Ot<=_t.length;){switch(nt=_t[Ot],w){case ot:if(nt&&L(vt,nt))xt+=ht(nt),w=mt;else{if(rt)return Dt;w=At;continue}break;case mt:if(nt&&(L(St,nt)||nt==="+"||nt==="-"||nt==="."))xt+=ht(nt);else if(nt===":"){if(rt&&(B.isSpecial()!==c(k,xt)||xt==="file"&&(B.includesCredentials()||B.port!==null)||B.scheme==="file"&&!B.host))return;if(B.scheme=xt,rt){B.isSpecial()&&k[B.scheme]===B.port&&(B.port=null);return}xt="",B.scheme==="file"?w=xr:B.isSpecial()&&Y&&Y.scheme===B.scheme?w=Bt:B.isSpecial()?w=fr:_t[Ot+1]==="/"?(w=jt,Ot++):(B.cannotBeABaseURL=!0,Q(B.path,""),w=Pr)}else{if(rt)return Dt;xt="",w=At,Ot=0;continue}break;case At:if(!Y||Y.cannotBeABaseURL&&nt!=="#")return Dt;if(Y.cannotBeABaseURL&&nt==="#"){B.scheme=Y.scheme,B.path=g(Y.path),B.query=Y.query,B.fragment="",B.cannotBeABaseURL=!0,w=or;break}w=Y.scheme==="file"?xr:Ut;continue;case Bt:if(nt==="/"&&_t[Ot+1]==="/")w=dr,Ot++;else{w=Ut;continue}break;case jt:if(nt==="/"){w=hr;break}else{w=nr;continue}case Ut:if(B.scheme=Y.scheme,nt===q)B.username=Y.username,B.password=Y.password,B.host=Y.host,B.port=Y.port,B.path=g(Y.path),B.query=Y.query;else if(nt==="/"||nt==="\\"&&B.isSpecial())w=Qt;else if(nt==="?")B.username=Y.username,B.password=Y.password,B.host=Y.host,B.port=Y.port,B.path=g(Y.path),B.query="",w=ir;else if(nt==="#")B.username=Y.username,B.password=Y.password,B.host=Y.host,B.port=Y.port,B.path=g(Y.path),B.query=Y.query,B.fragment="",w=or;else{B.username=Y.username,B.password=Y.password,B.host=Y.host,B.port=Y.port,B.path=g(Y.path),B.path.length--,w=nr;continue}break;case Qt:if(B.isSpecial()&&(nt==="/"||nt==="\\"))w=dr;else if(nt==="/")w=hr;else{B.username=Y.username,B.password=Y.password,B.host=Y.host,B.port=Y.port,w=nr;continue}break;case fr:if(w=dr,nt!=="/"||D(xt,Ot+1)!=="/")continue;Ot++;break;case dr:if(nt!=="/"&&nt!=="\\"){w=hr;continue}break;case hr:if(nt==="@"){Xt&&(xt="%40"+xt),Xt=!0,Jt=h(xt);for(var Ir=0;Ir65535)return at;B.port=B.isSpecial()&&yr===k[B.scheme]?null:yr,xt=""}if(rt)return;w=lr;continue}else return at;break;case xr:if(B.scheme="file",nt==="/"||nt==="\\")w=Ar;else if(Y&&Y.scheme==="file")switch(nt){case q:B.host=Y.host,B.path=g(Y.path),B.query=Y.query;break;case"?":B.host=Y.host,B.path=g(Y.path),B.query="",w=ir;break;case"#":B.host=Y.host,B.path=g(Y.path),B.query=Y.query,B.fragment="",w=or;break;default:j(b(g(_t,Ot),""))||(B.host=Y.host,B.path=g(Y.path),B.shortenPath()),w=nr;continue}else{w=nr;continue}break;case Ar:if(nt==="/"||nt==="\\"){w=Sr;break}Y&&Y.scheme==="file"&&!j(b(g(_t,Ot),""))&&(tt(Y.path[0],!0)?Q(B.path,Y.path[0]):B.host=Y.host),w=nr;continue;case Sr:if(nt===q||nt==="/"||nt==="\\"||nt==="?"||nt==="#"){if(!rt&&tt(xt))w=nr;else if(xt===""){if(B.host="",rt)return;w=lr}else{if(er=B.parseHost(xt),er)return er;if(B.host==="localhost"&&(B.host=""),rt)return;xt="",w=lr}continue}else xt+=nt;break;case lr:if(B.isSpecial()){if(w=nr,nt!=="/"&&nt!=="\\")continue}else if(!rt&&nt==="?")B.query="",w=ir;else if(!rt&&nt==="#")B.fragment="",w=or;else if(nt!==q&&(w=nr,nt!=="/"))continue;break;case nr:if(nt===q||nt==="/"||nt==="\\"&&B.isSpecial()||!rt&&(nt==="?"||nt==="#")){if(G(xt)?(B.shortenPath(),nt!=="/"&&!(nt==="\\"&&B.isSpecial())&&Q(B.path,"")):z(xt)?nt!=="/"&&!(nt==="\\"&&B.isSpecial())&&Q(B.path,""):(B.scheme==="file"&&!B.path.length&&tt(xt)&&(B.host&&(B.host=""),xt=D(xt,0)+":"),Q(B.path,xt)),xt="",B.scheme==="file"&&(nt===q||nt==="?"||nt==="#"))for(;B.path.length>1&&B.path[0]==="";)st(B.path);nt==="?"?(B.query="",w=ir):nt==="#"&&(B.fragment="",w=or)}else xt+=W(nt,zt);break;case Pr:nt==="?"?(B.query="",w=ir):nt==="#"?(B.fragment="",w=or):nt!==q&&(B.path[0]+=W(nt,ct));break;case ir:!rt&&nt==="#"?(B.fragment="",w=or):nt!==q&&(nt==="'"&&B.isSpecial()?B.query+="%27":nt==="#"?B.query+="%23":B.query+=W(nt,ct));break;case or:nt!==q&&(B.fragment+=W(nt,ft));break}Ot++}},parseHost:function(V){var rt,Y,B;if(D(V,0)==="["){if(D(V,V.length-1)!=="]"||(rt=J(lt(V,1,-1)),!rt))return Ct;this.host=rt}else if(this.isSpecial()){if(V=y(V),L(bt,V)||(rt=ut(V),rt===null))return Ct;this.host=rt}else{if(L(Pt,V))return Ct;for(rt="",Y=h(V),B=0;B1?arguments[1]:void 0,w=x(Y,new Er(rt,!1,B));n||(Y.href=w.serialize(),Y.origin=w.getOrigin(),Y.protocol=w.getProtocol(),Y.username=w.getUsername(),Y.password=w.getPassword(),Y.host=w.getHost(),Y.hostname=w.getHostname(),Y.port=w.getPort(),Y.pathname=w.getPathname(),Y.search=w.getSearch(),Y.searchParams=w.getSearchParams(),Y.hash=w.getHash())},kt=cr.prototype,qt=function(V,rt){return{get:function(){return I(this)[V]()},set:rt&&function(Y){return I(this)[rt](Y)},configurable:!0,enumerable:!0}};if(n&&(v(kt,"href",qt("serialize","setHref")),v(kt,"origin",qt("getOrigin")),v(kt,"protocol",qt("getProtocol","setProtocol")),v(kt,"username",qt("getUsername","setUsername")),v(kt,"password",qt("getPassword","setPassword")),v(kt,"host",qt("getHost","setHost")),v(kt,"hostname",qt("getHostname","setHostname")),v(kt,"port",qt("getPort","setPort")),v(kt,"pathname",qt("getPathname","setPathname")),v(kt,"search",qt("getSearch","setSearch")),v(kt,"searchParams",qt("getSearchParams")),v(kt,"hash",qt("getHash","setHash"))),i(kt,"toJSON",function(){return I(this).serialize()},{enumerable:!0}),i(kt,"toString",function(){return I(this).serialize()},{enumerable:!0}),P){var Cr=P.createObjectURL,Or=P.revokeObjectURL;Cr&&i(cr,"createObjectURL",o(Cr,P)),Or&&i(cr,"revokeObjectURL",o(Or,P))}O(cr,"URL"),r({global:!0,constructor:!0,forced:!e,sham:!n},{URL:cr})},51862:function(s,l,t){t(81888)},24119:function(s,l,t){var r=t(14304),n=t(38941),e=t(95486),a=t(17361),o=t(91918),u=n("URL");r({target:"URL",stat:!0,forced:!o},{parse:function(v){var f=e(arguments.length,1),c=a(v),d=f<2||arguments[1]===void 0?void 0:a(arguments[1]);try{return new u(c,d)}catch(h){return null}}})},97526:function(s,l,t){var r=t(14304),n=t(96499);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})},61969:function(s,l,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},vr={};function rr(s){var l=vr[s];if(l!==void 0)return l.exports;var t=vr[s]={exports:{}};return Dr[s].call(t.exports,t,t.exports,rr),t.exports}(function(){rr.d=function(s,l){for(var t in l)rr.o(l,t)&&!rr.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:l[t]})}})(),function(){rr.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),rr(61969);var Fr=rr(19770);return Fr=Fr.default,Fr}()}); diff --git a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js index 30a94ef0f..58b0268a6 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -22924,7 +22924,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts class Options { diff --git a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js index 40438f340..38a178d25 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(Kr,Mr){typeof exports=="object"&&typeof module=="object"?module.exports=Mr():typeof define=="function"&&define.amd?define("bb",[],Mr):typeof exports=="object"?exports.bb=Mr():(Kr.bb=Kr.bb||{},Kr.bb.plugin=Kr.bb.plugin||{},Kr.bb.plugin["sparkline.pkgd"]=Mr())})(this,function(){return function(){"use strict";var Ce={68990:function(i,h,t){t.d(h,{default:function(){return Sa}});var r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(e,f,c)=>f in e?r(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,u=(e,f)=>{for(var c in f||(f={}))a.call(f,c)&&s(e,c,f[c]);if(n)for(var c of n(f))o.call(f,c)&&s(e,c,f[c]);return e};const l={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},v={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},d={area:"bb-area",areas:"bb-areas"},g={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},y={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},p={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},m={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},E={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},S={dragarea:"bb-dragarea",INCLUDED:"_included_"},I={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},P={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},A={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},R={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},N={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},T={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},C={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},b={level:"bb-level",levels:"bb-levels"},L={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},D={region:"bb-region",regions:"bb-regions"},$={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},w={shape:"bb-shape",shapes:"bb-shapes"},H={brush:"bb-brush",subchart:"bb-subchart"},U={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},B={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},j={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Y={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var k=u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u({},l),v),d),g),y),p),m),E),S),P),A),R),N),T),I),C),L),D),$),w),H),U),B),j),Y);function J(){}function nt(e){return e==null?J:function(){return this.querySelector(e)}}function _(e){typeof e!="function"&&(e=nt(e));for(var f=this._groups,c=f.length,x=new Array(c),O=0;O=$t&&($t=zt+1);!(tr=mt[$t])&&++$t=0;)(F=x[O])&&(M&&F.compareDocumentPosition(M)^4&&M.parentNode.insertBefore(F,M),M=F);return this}function rr(e){e||(e=Q);function f(Et,bt){return Et&&bt?e(Et.__data__,bt.__data__):!Et-!bt}for(var c=this._groups,x=c.length,O=new Array(x),M=0;Mf?1:e>=f?0:NaN}function ot(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function it(){return Array.from(this)}function z(){for(var e=this._groups,f=0,c=e.length;f=0&&(f=e.slice(0,c))!=="xmlns"&&(e=e.slice(c+1)),Nt.hasOwnProperty(f)?{space:Nt[f],local:e}:e}function Jt(e){return function(){this.removeAttribute(e)}}function Yt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function er(e,f){return function(){this.setAttribute(e,f)}}function Xr(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function en(e,f){return function(){var c=f.apply(this,arguments);c==null?this.removeAttribute(e):this.setAttribute(e,c)}}function an(e,f){return function(){var c=f.apply(this,arguments);c==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,c)}}function dn(e,f){var c=Wt(e);if(arguments.length<2){var x=this.node();return c.local?x.getAttributeNS(c.space,c.local):x.getAttribute(c)}return this.each((f==null?c.local?Yt:Jt:typeof f=="function"?c.local?an:en:c.local?Xr:er)(c,f))}function on(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function hn(e){return function(){this.style.removeProperty(e)}}function gn(e,f,c){return function(){this.style.setProperty(e,f,c)}}function Dn(e,f,c){return function(){var x=f.apply(this,arguments);x==null?this.style.removeProperty(e):this.style.setProperty(e,x,c)}}function yn(e,f,c){return arguments.length>1?this.each((f==null?hn:typeof f=="function"?Dn:gn)(e,f,c==null?"":c)):Nr(this.node(),e)}function Nr(e,f){return e.style.getPropertyValue(f)||on(e).getComputedStyle(e,null).getPropertyValue(f)}function br(e){return function(){delete this[e]}}function Fn(e,f){return function(){this[e]=f}}function Vr(e,f){return function(){var c=f.apply(this,arguments);c==null?delete this[e]:this[e]=c}}function Dr(e,f){return arguments.length>1?this.each((f==null?br:typeof f=="function"?Vr:Fn)(e,f)):this.node()[e]}function sn(e){return e.trim().split(/^|\s+/)}function jr(e){return e.classList||new dr(e)}function dr(e){this._node=e,this._names=sn(e.getAttribute("class")||"")}dr.prototype={add:function(e){var f=this._names.indexOf(e);f<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var f=this._names.indexOf(e);f>=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Tr(e,f){for(var c=jr(e),x=-1,O=f.length;++x=0&&(c=f.slice(x+1),f=f.slice(0,x)),{type:f,name:c}})}function Ua(e){return function(){var f=this.__on;if(f){for(var c=0,x=-1,O=f.length,M;c{}};function be(){for(var e=0,f=arguments.length,c={},x;e=0&&(x=c.slice(O+1),c=c.slice(0,O)),c&&!f.hasOwnProperty(c))throw new Error("unknown type: "+c);return{type:c,name:x}})}Bn.prototype=be.prototype={constructor:Bn,on:function(e,f){var c=this._,x=Ka(e+"",c),O,M=-1,F=x.length;if(arguments.length<2){for(;++M0)for(var c=new Array(O),x=0,O,M;x=0&&e._call.call(void 0,f),e=e._next;--fn}function Ue(){_r=(wn=In.now())+Gn,fn=Sn=0;try{Za()}finally{fn=0,qa(),_r=0}}function ka(){var e=In.now(),f=e-wn;f>Fe&&(Gn-=f,wn=e)}function qa(){for(var e,f=jn,c,x=1/0;f;)f._call?(x>f._time&&(x=f._time),e=f,f=f._next):(c=f._next,f._next=null,f=e?e._next=c:jn=c);On=e,ie(x)}function ie(e){if(!fn){Sn&&(Sn=clearTimeout(Sn));var f=e-_r;f>24?(e<1/0&&(Sn=setTimeout(Ue,e-In.now()-Gn)),En&&(En=clearInterval(En))):(En||(wn=In.now(),En=setInterval(ka,Fe)),fn=1,Le(Ue))}}function Be(e,f,c){var x=new Hn;return f=f==null?0:+f,x.restart(O=>{x.stop(),e(O+f)},f,c),x}var _a=Ja("start","end","cancel","interrupt"),to=[],je=0,we=1,ue=2,Vn=3,Ge=4,fe=5,Wn=6;function zn(e,f,c,x,O,M){var F=e.__transition;if(!F)e.__transition={};else if(c in F)return;ro(e,c,{name:f,index:x,group:O,on:_a,tween:to,time:M.time,delay:M.delay,duration:M.duration,ease:M.ease,timer:null,state:je})}function le(e,f){var c=$r(e,f);if(c.state>je)throw new Error("too late; already scheduled");return c}function wr(e,f){var c=$r(e,f);if(c.state>Vn)throw new Error("too late; already running");return c}function $r(e,f){var c=e.__transition;if(!c||!(c=c[f]))throw new Error("transition not found");return c}function ro(e,f,c){var x=e.__transition,O;x[f]=c,c.timer=$e(M,0,c.time);function M(tt){c.state=we,c.timer.restart(F,c.delay,c.time),c.delay<=tt&&F(tt-c.delay)}function F(tt){var et,Et,bt,wt;if(c.state!==we)return W();for(et in x)if(wt=x[et],wt.name===c.name){if(wt.state===Vn)return Be(F);wt.state===Ge?(wt.state=Wn,wt.timer.stop(),wt.on.call("interrupt",e,e.__data__,wt.index,wt.group),delete x[et]):+etue&&x.state180?et+=360:et-tt>180&&(tt+=360),bt.push({i:Et.push(O(Et)+"rotate(",null,x)-2,x:Jr(tt,et)})):et&&Et.push(O(Et)+"rotate("+et+x)}function G(tt,et,Et,bt){tt!==et?bt.push({i:Et.push(O(Et)+"skewX(",null,x)-2,x:Jr(tt,et)}):et&&Et.push(O(Et)+"skewX("+et+x)}function W(tt,et,Et,bt,wt,or){if(tt!==Et||et!==bt){var hr=wt.push(O(wt)+"scale(",null,",",null,")");or.push({i:hr-4,x:Jr(tt,Et)},{i:hr-2,x:Jr(et,bt)})}else(Et!==1||bt!==1)&&wt.push(O(wt)+"scale("+Et+","+bt+")")}return function(tt,et){var Et=[],bt=[];return tt=e(tt),et=e(et),M(tt.translateX,tt.translateY,et.translateX,et.translateY,Et,bt),F(tt.rotate,et.rotate,Et,bt),G(tt.skewX,et.skewX,Et,bt),W(tt.scaleX,tt.scaleY,et.scaleX,et.scaleY,Et,bt),tt=et=null,function(wt){for(var or=-1,hr=bt.length,mt;++or>8&15|f>>4&240,f>>4&15|f&240,(f&15)<<4|f&15,1):c===8?Xn(f>>24&255,f>>16&255,f>>8&255,(f&255)/255):c===4?Xn(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|f&240,((f&15)<<4|f&15)/255):null):(f=co.exec(e))?new Pr(f[1],f[2],f[3],1):(f=ho.exec(e))?new Pr(f[1]*255/100,f[2]*255/100,f[3]*255/100,1):(f=go.exec(e))?Xn(f[1],f[2],f[3],f[4]):(f=yo.exec(e))?Xn(f[1]*255/100,f[2]*255/100,f[3]*255/100,f[4]):(f=po.exec(e))?ke(f[1],f[2]/100,f[3]/100,1):(f=mo.exec(e))?ke(f[1],f[2]/100,f[3]/100,f[4]):Ye.hasOwnProperty(e)?Je(Ye[e]):e==="transparent"?new Pr(NaN,NaN,NaN,0):null}function Je(e){return new Pr(e>>16&255,e>>8&255,e&255,1)}function Xn(e,f,c,x){return x<=0&&(e=f=c=NaN),new Pr(e,f,c,x)}function Eo(e){return e instanceof Tn||(e=Pn(e)),e?(e=e.rgb(),new Pr(e.r,e.g,e.b,e.opacity)):new Pr}function Jn(e,f,c,x){return arguments.length===1?Eo(e):new Pr(e,f,c,x==null?1:x)}function Pr(e,f,c,x){this.r=+e,this.g=+f,this.b=+c,this.opacity=+x}de(Pr,Jn,ze(Tn,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pr(tn(this.r),tn(this.g),tn(this.b),Qn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qe,formatHex:Qe,formatHex8:Oo,formatRgb:Ze,toString:Ze}));function Qe(){return`#${rn(this.r)}${rn(this.g)}${rn(this.b)}`}function Oo(){return`#${rn(this.r)}${rn(this.g)}${rn(this.b)}${rn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ze(){const e=Qn(this.opacity);return`${e===1?"rgb(":"rgba("}${tn(this.r)}, ${tn(this.g)}, ${tn(this.b)}${e===1?")":`, ${e})`}`}function Qn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function tn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function rn(e){return e=tn(e),(e<16?"0":"")+e.toString(16)}function ke(e,f,c,x){return x<=0?e=f=c=NaN:c<=0||c>=1?e=f=NaN:f<=0&&(e=NaN),new Ur(e,f,c,x)}function qe(e){if(e instanceof Ur)return new Ur(e.h,e.s,e.l,e.opacity);if(e instanceof Tn||(e=Pn(e)),!e)return new Ur;if(e instanceof Ur)return e;e=e.rgb();var f=e.r/255,c=e.g/255,x=e.b/255,O=Math.min(f,c,x),M=Math.max(f,c,x),F=NaN,G=M-O,W=(M+O)/2;return G?(f===M?F=(c-x)/G+(c0&&W<1?0:F,new Ur(F,G,W,e.opacity)}function Io(e,f,c,x){return arguments.length===1?qe(e):new Ur(e,f,c,x==null?1:x)}function Ur(e,f,c,x){this.h=+e,this.s=+f,this.l=+c,this.opacity=+x}de(Ur,Io,ze(Tn,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Ur(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Ur(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,f=isNaN(e)||isNaN(this.s)?0:this.s,c=this.l,x=c+(c<.5?c:1-c)*f,O=2*c-x;return new Pr(he(e>=240?e-240:e+120,O,x),he(e,O,x),he(e<120?e+240:e-120,O,x),this.opacity)},clamp(){return new Ur(_e(this.h),Zn(this.s),Zn(this.l),Qn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Qn(this.opacity);return`${e===1?"hsl(":"hsla("}${_e(this.h)}, ${Zn(this.s)*100}%, ${Zn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function _e(e){return e=(e||0)%360,e<0?e+360:e}function Zn(e){return Math.max(0,Math.min(1,e||0))}function he(e,f,c){return(e<60?f+(c-f)*e/60:e<180?c:e<240?f+(c-f)*(240-e)/60:f)*255}function ta(e,f,c,x,O){var M=e*e,F=M*e;return((1-3*e+3*M-F)*f+(4-6*M+3*F)*c+(1+3*e+3*M-3*F)*x+F*O)/6}function To(e){var f=e.length-1;return function(c){var x=c<=0?c=0:c>=1?(c=1,f-1):Math.floor(c*f),O=e[x],M=e[x+1],F=x>0?e[x-1]:2*O-M,G=x()=>e;function na(e,f){return function(c){return e+c*f}}function Ro(e,f,c){return e=Math.pow(e,c),f=Math.pow(f,c)-e,c=1/c,function(x){return Math.pow(e+x*f,c)}}function fi(e,f){var c=f-e;return c?na(e,c>180||c<-180?c-360*Math.round(c/360):c):constant(isNaN(e)?f:e)}function Po(e){return(e=+e)==1?ea:function(f,c){return c-f?Ro(f,c,e):ra(isNaN(f)?c:f)}}function ea(e,f){var c=f-e;return c?na(e,c):ra(isNaN(e)?f:e)}var aa=function e(f){var c=Po(f);function x(O,M){var F=c((O=Jn(O)).r,(M=Jn(M)).r),G=c(O.g,M.g),W=c(O.b,M.b),tt=ea(O.opacity,M.opacity);return function(et){return O.r=F(et),O.g=G(et),O.b=W(et),O.opacity=tt(et),O+""}}return x.gamma=e,x}(1);function oa(e){return function(f){var c=f.length,x=new Array(c),O=new Array(c),M=new Array(c),F,G;for(F=0;Fc&&(M=f.slice(c,M),G[F]?G[F]+=M:G[++F]=M),(x=x[0])===(O=O[0])?G[F]?G[F]+=O:G[++F]=O:(G[++F]=null,W.push({i:F,x:Jr(x,O)})),c=ye.lastIndex;return c=0&&(f=f.slice(0,c)),!f||f==="start"})}function ns(e,f,c){var x,O,M=rs(f)?le:wr;return function(){var F=M(this,e),G=F.on;G!==x&&(O=(x=G).copy()).on(f,c),F.on=O}}function es(e,f){var c=this._id;return arguments.length<2?$r(this.node(),c).on.on(e):this.each(ns(c,e,f))}function as(e){return function(){var f=this.parentNode;for(var c in this.__transition)if(+c!==e)return;f&&f.removeChild(this)}}function os(){return this.on("end.remove",as(this._id))}function ss(e){var f=this._name,c=this._id;typeof e!="function"&&(e=nt(e));for(var x=this._groups,O=x.length,M=new Array(O),F=0;F{const cr=Qt.identifier;return Qt=pointer(Qt,Bt),Qt.point0=Qt.slice(),Qt.identifier=cr,Qt});interrupt(Bt);var Nn=et(Bt,arguments,!0).beforestart();if(zt==="overlay"){fr&&(Pe=!0);const Qt=[Cr[0],Cr[1]||Cr[0]];Ar.selection=fr=[[ir=e===qn?Br:Ir(Qt[0][0],Qt[1][0]),yr=e===kn?Qr:Ir(Qt[0][1],Qt[1][1])],[mr=e===qn?Zr:Or(Qt[0][0],Qt[1][0]),Sr=e===kn?kr:Or(Qt[0][1],Qt[1][1])]],Cr.length>1&&nn(mt)}else ir=fr[0][0],yr=fr[0][1],mr=fr[1][0],Sr=fr[1][1];gr=ir,pr=yr,xr=mr,Er=Sr;var Ea=select(Bt).attr("pointer-events","none"),Mn=Ea.selectAll(".overlay").attr("cursor",Yr[zt]);if(mt.touches)Nn.moved=Ia,Nn.ended=Ta;else{var Oa=select(mt.view).on("mousemove.brush",Ia,!0).on("mouseup.brush",Ta,!0);O&&Oa.on("keydown.brush",ii,!0).on("keyup.brush",ui,!0),dragDisable(mt.view)}tt.call(Bt),Nn.start(mt,$t.name);function Ia(Qt){for(const cr of Qt.changedTouches||[Qt])for(const bn of Cr)bn.identifier===cr.identifier&&(bn.cur=pointer(cr,Bt));if(ne&&!ee&&!ae&&Cr.length===1){const cr=Cr[0];la(cr.cur[0]-cr[0])>la(cr.cur[1]-cr[1])?ae=!0:ee=!0}for(const cr of Cr)cr.cur&&(cr[0]=cr.cur[0],cr[1]=cr.cur[1]);Pe=!0,noevent(Qt),nn(Qt)}function nn(Qt){const cr=Cr[0],bn=cr.point0;var qr;switch(lr=cr[0]-bn[0],vr=cr[1]-bn[1],$t){case pe:case fa:{qt&&(lr=Or(Br-ir,Ir(Zr-mr,lr)),gr=ir+lr,xr=mr+lr),tr&&(vr=Or(Qr-yr,Ir(kr-Sr,vr)),pr=yr+vr,Er=Sr+vr);break}case vn:{Cr[1]?(qt&&(gr=Or(Br,Ir(Zr,Cr[0][0])),xr=Or(Br,Ir(Zr,Cr[1][0])),qt=1),tr&&(pr=Or(Qr,Ir(kr,Cr[0][1])),Er=Or(Qr,Ir(kr,Cr[1][1])),tr=1)):(qt<0?(lr=Or(Br-ir,Ir(Zr-ir,lr)),gr=ir+lr,xr=mr):qt>0&&(lr=Or(Br-mr,Ir(Zr-mr,lr)),gr=ir,xr=mr+lr),tr<0?(vr=Or(Qr-yr,Ir(kr-yr,vr)),pr=yr+vr,Er=Sr):tr>0&&(vr=Or(Qr-Sr,Ir(kr-Sr,vr)),pr=yr,Er=Sr+vr));break}case cn:{qt&&(gr=Or(Br,Ir(Zr,ir-lr*qt)),xr=Or(Br,Ir(Zr,mr+lr*qt))),tr&&(pr=Or(Qr,Ir(kr,yr-vr*tr)),Er=Or(Qr,Ir(kr,Sr+vr*tr)));break}}xr0&&(ir=gr-lr),tr<0?Sr=Er-vr:tr>0&&(yr=pr-vr),$t=pe,Mn.attr("cursor",Yr.selection),nn(Qt));break}default:return}noevent(Qt)}function ui(Qt){switch(Qt.keyCode){case 16:{ne&&(ee=ae=ne=!1,nn(Qt));break}case 18:{$t===cn&&(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),$t=vn,nn(Qt));break}case 32:{$t===pe&&(Qt.altKey?(qt&&(mr=xr-lr*qt,ir=gr+lr*qt),tr&&(Sr=Er-vr*tr,yr=pr+vr*tr),$t=cn):(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),$t=vn),Mn.attr("cursor",Yr[zt]),nn(Qt));break}default:return}noevent(Qt)}}function wt(mt){et(this,arguments).moved(mt)}function or(mt){et(this,arguments).ended(mt)}function hr(){var mt=this.__brush||{selection:null};return mt.extent=me(f.apply(this,arguments)),mt.dim=e,mt}return W.extent=function(mt){return arguments.length?(f=typeof mt=="function"?mt:constant(me(mt)),W):f},W.filter=function(mt){return arguments.length?(c=typeof mt=="function"?mt:constant(!!mt),W):c},W.touchable=function(mt){return arguments.length?(x=typeof mt=="function"?mt:constant(!!mt),W):x},W.handleSize=function(mt){return arguments.length?(F=+mt,W):F},W.keyModifiers=function(mt){return arguments.length?(O=!!mt,W):O},W.on=function(){var mt=M.on.apply(M,arguments);return mt===M?W:mt},W}function ws(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Gs(e){const f=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",c=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",x=M=>setTimeout(M,1),O=M=>clearTimeout(M);return[f?e.requestAnimationFrame:x,f?e.cancelAnimationFrame:O,c?e.requestIdleCallback:x,c?e.cancelIdleCallback:O]}const _n=ws(),Hs=_n==null?void 0:_n.document,[mi,xi,Si,Ei]=Gs(_n);var Vs=Object.defineProperty,ha=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,ga=(e,f,c)=>f in e?Vs(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,ya=(e,f)=>{for(var c in f||(f={}))Ws.call(f,c)&&ga(e,c,f[c]);if(ha)for(var c of ha(f))zs.call(f,c)&&ga(e,c,f[c]);return e};const Oi=e=>e||e===0,Ys=e=>typeof e=="function",te=e=>typeof e=="string",Ee=e=>typeof e=="number",Ks=e=>typeof e=="undefined",pa=e=>typeof e!="undefined",Ii=e=>typeof e=="boolean",Ti=e=>Math.ceil(e/10)*10,Ai=e=>Math.ceil(e)+.5,Ri=e=>e[1]-e[0],Oe=e=>typeof e=="object",Xs=e=>Ks(e)||e===null||te(e)&&e.length===0||Oe(e)&&!(e instanceof Date)&&Object.keys(e).length===0||Ee(e)&&isNaN(e),Js=e=>!Xs(e),Ie=e=>Array.isArray(e),re=e=>e&&!(e!=null&&e.nodeType)&&Oe(e)&&!Ie(e);function Pi(e,f,c){return pa(e[f])?e[f]:c}function Ci(e,f){let c=!1;return Object.keys(e).forEach(x=>e[x]===f&&(c=!0)),c}function Ni(e,f,...c){const x=Ys(e);return x&&e.call(f,...c),x}function Mi(e,f){let c=0;const x=function(...O){!--c&&f.apply(this,...O)};"duration"in e?e.each(()=>++c).on("end",x):(++c,e.call(x))}function bi(e){return te(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Di(e,f,c=[-1,1],x=!1){if(!(!e||!te(f)))if(f.indexOf(` `)===-1)e.text(f);else{const O=[e.text(),f].map(M=>M.replace(/[\s\n]/g,""));if(O[0]!==O[1]){const M=f.split(` -`),F=x?M.length-1:1;e.html(""),M.forEach((G,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*F:c[1]}em`).text(G)})}}}function Qs(e){const{x:f,y:c,width:x,height:O}=e.getBBox();return[{x:f,y:c+O},{x:f,y:c},{x:f+x,y:c},{x:f+x,y:c+O}]}function Fi(e){const{width:f,height:c}=e.getBoundingClientRect(),x=Qs(e),O=x[0].x,M=Math.min(x[0].y,x[1].y);return{x:O,y:M,width:f,height:c}}function Li(e,f){var c;const x=e&&((c=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:c[0]);let O=[0,0];try{O=d3Pointer(x||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Zs(e){const{event:f,$el:c}=e,x=c.subchart.main||c.main;let O;return f&&f.type==="brush"?O=f.selection:x&&(O=x.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function $i(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ui(e=!0,f=0,c=1e4){const x=window.crypto||window.msCrypto,O=x?f+x.getRandomValues(new Uint32Array(1))[0]%(c-f+1):Math.floor(Math.random()*(c-f)+f);return e?String(O):O}function ma(e,f,c,x,O){if(c>x)return-1;const M=Math.floor((c+x)/2);let{x:F,w:G=0}=e[M];return O&&(F=e[M].y,G=e[M].h),f>=F&&f<=F+G?M:f{if(re(c)&&c.constructor){const x=new c.constructor;for(const O in c)x[O]=f(c[O]);return x}return c};return e.map(c=>f(c)).reduce((c,x)=>ya(ya({},c),x))}function ks(e={},f){Ie(f)&&f.forEach(c=>ks(e,c));for(const c in f)/^\d+$/.test(c)||c in e||(e[c]=f[c]);return e}const wi=e=>e.charAt(0).toUpperCase()+e.slice(1);function Gi(e,f="-"){return e.split(f).map((c,x)=>x?c.charAt(0).toUpperCase()+c.slice(1).toLowerCase():c.toLowerCase()).join("")}const qs=e=>[].slice.call(e);function Hi(e,f,c){const{rootSelector:x="",sheet:O}=e,F=`${x} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](F,O.cssRules.length)}function Vi(e){let f=[];return e.forEach(c=>{var x;try{c.cssRules&&c.cssRules.length&&(f=f.concat(qs(c.cssRules)))}catch(O){(x=window.console)==null||x.warn(`Error while reading rules from ${c.href}: ${O.toString()}`)}}),f}function Wi(e){var f,c,x,O;return{x:((c=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?c:0)+e.scrollLeft,y:((O=(x=window.pageYOffset)!=null?x:window.scrollY)!=null?O:0)+e.scrollTop}}function zi(e){const f=e?e.transform:null,c=f&&f.baseVal;return c&&c.numberOfItems?c.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Yi(e){const f=e[0]instanceof Date,c=(f?e.map(Number):e).filter((x,O,M)=>M.indexOf(x)===O);return f?c.map(x=>new Date(x)):c}function Ki(e){return e&&e.length?e.reduce((f,c)=>f.concat(c)):[]}function Te(e,...f){if(!f.length||f.length===1&&!f[0])return e;const c=f.shift();return re(e)&&re(c)&&Object.keys(c).forEach(x=>{const O=c[x];re(O)?(!e[x]&&(e[x]={}),e[x]=Te(e[x],O)):e[x]=Ie(O)?O.concat():O}),Te(e,...f)}function _s(e,f=!0){let c;return e[0]instanceof Date?c=f?(x,O)=>x-O:(x,O)=>O-x:f&&!e.every(isNaN)?c=(x,O)=>x-O:f||(c=(x,O)=>x>O&&-1||xJs(x));return c.length?Ee(c[0])?c=Math[e](...c):c[0]instanceof Date&&(c=_s(c,e==="min")[0]):c=void 0,c}const Ji=(e,f,c=1)=>{const x=[],O=Math.max(0,Math.ceil((f-e)/c))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,c,x=e())=>{f.dispatchEvent(new MouseEvent(c,x))}}catch(f){return(c,x,O=e())=>{const M=Hs.createEvent("MouseEvent");M.initMouseEvent(x,O.bubbles,O.cancelable,_n,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),c.dispatchEvent(M)}}})(),touch:(e,f,c)=>{const x=new Touch(Te({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},c));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[x],targetTouches:[],changedTouches:[x]}))}};function Zi(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function ki(e){var f;let c;if(e instanceof Date)c=e;else if(te(e)){const{config:x,format:O}=this;c=(f=O.dataTime(x.data_xFormat)(e))!=null?f:new Date(e)}else Ee(e)&&!isNaN(e)&&(c=new Date(+e));return(!c||isNaN(+c))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),c}function qi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function _i(e,f){const{DocumentTouch:c,matchMedia:x,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||c&&document instanceof c)M=!0;else if(x!=null&&x("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((x==null?void 0:x("any-hover:hover").matches)||(x==null?void 0:x("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function ti(e,f){f()===!1?requestAnimationFrame(()=>ti(e,f)):e()}function ri(e){const f=this.config;let c,x,O;const M=()=>{const F=x.shift();if(F&&c&&Oe(c)&&F in c)return c=c[F],M();if(!F)return c};Object.keys(f).forEach(F=>{c=e,x=F.split("_"),O=M(),pa(O)&&(f[F]=O)}),this.api&&(this.state.orgConfig=e)}var ni=Object.defineProperty,ei=(e,f,c)=>f in e?ni(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Ae=(e,f,c)=>ei(e,typeof f!="symbol"?f+"":f,c);class xa{constructor(f={}){Ae(this,"$$"),Ae(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ae(xa,"version","3.12.4-nightly-20240727004635");class ai{constructor(){return{selector:void 0}}}var oi=Object.defineProperty,si=(e,f,c)=>f in e?oi(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Re=(e,f,c)=>si(e,typeof f!="symbol"?f+"":f,c);class Sa extends xa{constructor(f){return super(f),Re(this,"config"),Re(this,"element"),this.config=new ai,this}$beforeInit(){ri.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:f,config:c}=this;let x="";if((!c.selector||!document.querySelector(c.selector))&&(x="No holder elements found from given selector option."),(f.hasType("bubble")||f.hasType("scatter")||f.hasArcType(f.data.targets))&&(x="Contains non supported chart types."),x)throw new Error(`[Sparkline plugin] ${x}`)}overrideInternals(){const{$$:f}=this,{getBarW:c,getIndices:x}=f;f.getIndices=function(O,M,F){return F==="getShapeX"?{}:x.call(this,O,M)},f.getBarW=function(O,M){return c.call(this,O,M,1)}}overrideOptions(){const{config:f}=this.$$;if(f.legend_show=!1,f.resize_auto=!1,f.axis_x_show=!1,f.padding!==!1){const c=x=>Object.keys(x||{}).length>0;c(f.axis_x_padding)&&(f.axis_x_padding={left:15,right:15,unit:"px"}),c(f.axis_y_padding)&&(f.axis_y_padding=5)}f.axis_y_show=!1,f.tooltip_position||(f.tooltip_position=function(c,x,O){const{internal:{state:{event:M}}}=this;let F=M.pageY-O*1.35,G=M.pageX-x/2;return F<0&&(F=0),G<0&&(G=0),{top:F,left:G}})}$init(){var f;const{$$:{$el:c}}=this;c.chart.style("width","0").style("height","0").style("pointer-events","none"),(f=c.tooltip)!=null&&f.node()&&document.body.appendChild(c.tooltip.node())}$afterInit(){const{$$:f}=this;f.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(f=!0){const{$$:{config:c}}=this;if(c.interaction_enabled&&c.tooltip_show){const x=`${f?"add":"remove"}EventListener`;this.element.forEach(O=>{const M=O.querySelector("svg");M[x]("mouseover",this.overHandler),M[x]("mousemove",this.moveHandler),M[x]("mouseout",this.outHandler)})}}overHandler(f){const{$$:c}=this,{state:{eventReceiver:x}}=c;x.rect=f.target.getBoundingClientRect()}moveHandler(f){var c,x,O,M;const{$$:F}=this,G=F.getDataIndexFromEvent(f),W=(c=F.api.data(f.target.__id))==null?void 0:c[0],tt=(x=W==null?void 0:W.values)==null?void 0:x[G];tt&&!tt.name&&(tt.name=tt.id),F.state.event=f,(O=F.isPointFocusOnly)!=null&&O.call(F)&&tt&&((M=F.showCircleFocus)==null||M.call(F,[tt])),F.setExpand(G,W.id,!0),F.showTooltip([tt],f.target)}outHandler(f){const{$$:c}=this;c.state.event=f,c.isPointFocusOnly()?c.hideCircleFocus():c.unexpandCircles(),c.hideTooltip()}$redraw(){var f;const{$$:c}=this,{$el:x}=c;let O=this.element;const M=c.api.data(),F=(f=x.chart.html().match(/]*>/))==null?void 0:f[0];if(O.length0;W--)G.parentNode.insertBefore(O[0].cloneNode(),G.nextSibling);this.element=document.querySelectorAll(this.config.selector),O=this.element}M.map(G=>G.id).forEach((G,W)=>{const tt=`.${l.target}-${G}`,et=x.main.selectAll(tt);let Et=O[W].querySelector("svg");Et||(O[W].innerHTML=`${F}`,Et=O[W].querySelector("svg"),Et.__id=G),Et.querySelector(tt)||et.style("opacity",null),et.style("fill","none").style("opacity",null),Et.innerHTML="",Et.appendChild(et.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(f=>{f.innerHTML=""})}}Re(Sa,"version","0.0.1")},85156:function(i,h,t){var r=t(23583),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a function")}},80042:function(i,h,t){var r=t(11051),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a constructor")}},53408:function(i,h,t){var r=t(52427),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a("Can't set "+n(o)+" as a prototype")}},76602:function(i,h,t){var r=t(172).has;i.exports=function(n){return r(n),n}},23811:function(i,h,t){var r=t(18565),n=t(5406),a=t(7831).f,o=r("unscopables"),s=Array.prototype;s[o]===void 0&&a(s,o,{configurable:!0,value:n(null)}),i.exports=function(u){s[o][u]=!0}},24487:function(i,h,t){var r=t(22149).charAt;i.exports=function(n,a,o){return a+(o?r(n,a).length:1)}},12833:function(i,h,t){var r=t(95307),n=TypeError;i.exports=function(a,o){if(r(o,a))return a;throw new n("Incorrect invocation")}},25001:function(i,h,t){var r=t(37540),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not an object")}},3237:function(i){i.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(i,h,t){var r=t(84756),n=t(14274),a=TypeError;i.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(o){if(n(o)!=="ArrayBuffer")throw new a("ArrayBuffer expected");return o.byteLength}},30736:function(i,h,t){var r=t(11286),n=t(58360),a=r(ArrayBuffer.prototype.slice);i.exports=function(o){if(n(o)!==0)return!1;try{return a(o,0,0),!1}catch(s){return!0}}},72058:function(i,h,t){var r=t(72069);i.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},65006:function(i,h,t){var r=t(66009),n=t(11286),a=t(84756),o=t(9450),s=t(30736),u=t(58360),l=t(63741),v=t(99050),d=r.structuredClone,g=r.ArrayBuffer,y=r.DataView,p=r.TypeError,m=Math.min,E=g.prototype,S=y.prototype,I=n(E.slice),P=a(E,"resizable","get"),A=a(E,"maxByteLength","get"),R=n(S.getInt8),N=n(S.setInt8);i.exports=(v||l)&&function(T,C,b){var L=u(T),D=C===void 0?L:o(C),$=!P||!P(T),w;if(s(T))throw new p("ArrayBuffer is detached");if(v&&(T=d(T,{transfer:[T]}),L===D&&(b||$)))return T;if(L>=D&&(!b||$))w=I(T,0,D);else{var H=b&&!$&&A?{maxByteLength:A(T)}:void 0;w=new g(D,H);for(var U=new y(T),B=new y(w),j=m(D,L),Y=0;Y>8&255]},Mt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Ct=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Lt=function(st){return Ft(E(st),23,4)},Zt=function(st){return Ft(st,52,8)},kt=function(st,ht,rt){l(st[H],ht,{configurable:!0,get:function(){return rt(this)[ht]}})},Kt=function(st,ht,rt,Ot){var Tt=Y(st),xt=m(rt),pt=!!Ot;if(xt+ht>Tt.byteLength)throw new It(B);var _t=Tt.bytes,rr=xt+Tt.byteOffset,Q=R(_t,rr,rr+ht);return pt?Q:jt(Q)},Dt=function(st,ht,rt,Ot,Tt,xt){var pt=Y(st),_t=m(rt),rr=Ot(+Tt),Q=!!xt;if(_t+ht>pt.byteLength)throw new It(B);for(var ot=pt.bytes,it=_t+pt.byteOffset,z=0;zxt)throw new It("Wrong offset");if(Ot=Ot===void 0?xt-pt:p(Ot),pt+Ot>xt)throw new It(U);k(this,{type:w,buffer:ht,byteLength:Ot,byteOffset:pt,bytes:Tt.bytes}),a||(this.buffer=ht,this.byteLength=Ot,this.byteOffset=pt)},lt=dt[H],a&&(kt(nt,"byteLength",j),kt(dt,"buffer",Y),kt(dt,"byteLength",Y),kt(dt,"byteOffset",Y)),v(lt,{getInt8:function(ht){return Kt(this,1,ht)[0]<<24>>24},getUint8:function(ht){return Kt(this,1,ht)[0]},getInt16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return(rt[1]<<8|rt[0])<<16>>16},getUint16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return rt[1]<<8|rt[0]},getInt32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))},getUint32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ht){return vt(Kt(this,4,ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ht){return vt(Kt(this,8,ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ht,rt){Dt(this,1,ht,yt,rt)},setUint8:function(ht,rt){Dt(this,1,ht,yt,rt)},setInt16:function(ht,rt){Dt(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setUint16:function(ht,rt){Dt(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setInt32:function(ht,rt){Dt(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setUint32:function(ht,rt){Dt(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setFloat32:function(ht,rt){Dt(this,4,ht,Lt,rt,arguments.length>2?arguments[2]:!1)},setFloat64:function(ht,rt){Dt(this,8,ht,Zt,rt,arguments.length>2?arguments[2]:!1)}});else{var Xt=L&&J.name!==$;!d(function(){J(1)})||!d(function(){new J(-1)})||d(function(){return new J,new J(1.5),new J(NaN),J.length!==1||Xt&&!D})?(nt=function(ht){return g(this,_),N(new J(m(ht)),this,nt)},nt[H]=_,_.constructor=nt,T(nt,J)):Xt&&D&&u(J,"name",$),P&&I(lt)!==gt&&P(lt,gt);var Vt=new dt(new nt(2)),Ut=n(lt.setInt8);Vt.setInt8(0,2147483648),Vt.setInt8(1,2147483649),(Vt.getInt8(0)||!Vt.getInt8(1))&&v(lt,{setInt8:function(ht,rt){Ut(this,ht,rt<<24>>24)},setUint8:function(ht,rt){Ut(this,ht,rt<<24>>24)}},{unsafe:!0})}C(nt,$),C(dt,w),i.exports={ArrayBuffer:nt,DataView:dt}},81499:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628),o=t(12384),s=Math.min;i.exports=[].copyWithin||function(l,v){var d=r(this),g=a(d),y=n(l,g),p=n(v,g),m=arguments.length>2?arguments[2]:void 0,E=s((m===void 0?g:n(m,g))-p,g-y),S=1;for(p0;)p in d?d[y]=d[p]:o(d,y),y+=S,p+=S;return d}},43011:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628);i.exports=function(s){for(var u=r(this),l=a(u),v=arguments.length,d=n(v>1?arguments[1]:void 0,l),g=v>2?arguments[2]:void 0,y=g===void 0?l:n(g,l);y>d;)u[d++]=s;return u}},13349:function(i,h,t){var r=t(66655).forEach,n=t(6148),a=n("forEach");i.exports=a?[].forEach:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}},5220:function(i,h,t){var r=t(82628);i.exports=function(n,a,o){for(var s=0,u=arguments.length>2?o:r(a),l=new n(u);u>s;)l[s]=a[s++];return l}},48258:function(i,h,t){var r=t(45526),n=t(96499),a=t(49671),o=t(39969),s=t(48199),u=t(11051),l=t(82628),v=t(84082),d=t(90619),g=t(81077),y=Array;i.exports=function(m){var E=a(m),S=u(this),I=arguments.length,P=I>1?arguments[1]:void 0,A=P!==void 0;A&&(P=r(P,I>2?arguments[2]:void 0));var R=g(E),N=0,T,C,b,L,D,$;if(R&&!(this===y&&s(R)))for(C=S?new this:[],L=d(E,R),D=L.next;!(b=n(D,L)).done;N++)$=A?o(L,P,[b.value,N],!0):b.value,v(C,N,$);else for(T=l(E),C=S?new this(T):y(T);T>N;N++)$=A?P(E[N],N):E[N],v(C,N,$);return C.length=N,C}},94319:function(i,h,t){var r=t(36859),n=t(4652),a=t(82628),o=function(s){return function(u,l,v){var d=r(u),g=a(d);if(g===0)return!s&&-1;var y=n(v,g),p;if(s&&l!==l){for(;g>y;)if(p=d[y++],p!==p)return!0}else for(;g>y;y++)if((s||y in d)&&d[y]===l)return s||y||0;return!s&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},73849:function(i,h,t){var r=t(45526),n=t(72181),a=t(49671),o=t(82628),s=function(u){var l=u===1;return function(v,d,g){for(var y=a(v),p=n(y),m=o(p),E=r(d,g),S,I;m-- >0;)if(S=p[m],I=E(S,m,y),I)switch(u){case 0:return S;case 1:return m}return l?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},66655:function(i,h,t){var r=t(45526),n=t(11286),a=t(72181),o=t(49671),s=t(82628),u=t(62083),l=n([].push),v=function(d){var g=d===1,y=d===2,p=d===3,m=d===4,E=d===6,S=d===7,I=d===5||E;return function(P,A,R,N){for(var T=o(P),C=a(T),b=s(C),L=r(A,R),D=0,$=N||u,w=g?$(P,b):y||S?$(P,0):void 0,H,U;b>D;D++)if((I||D in C)&&(H=C[D],U=L(H,D,T),d))if(g)w[D]=U;else if(U)switch(d){case 3:return!0;case 5:return H;case 6:return D;case 2:l(w,H)}else switch(d){case 4:return!1;case 7:l(w,H)}return E?-1:p||m?m:w}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(i,h,t){var r=t(66543),n=t(36859),a=t(12105),o=t(82628),s=t(6148),u=Math.min,l=[].lastIndexOf,v=!!l&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),g=v||!d;i.exports=g?function(p){if(v)return r(l,this,arguments)||0;var m=n(this),E=o(m);if(E===0)return-1;var S=E-1;for(arguments.length>1&&(S=u(S,a(arguments[1]))),S<0&&(S=E+S);S>=0;S--)if(S in m&&m[S]===p)return S||0;return-1}:l},52183:function(i,h,t){var r=t(72069),n=t(18565),a=t(73126),o=n("species");i.exports=function(s){return a>=51||!r(function(){var u=[],l=u.constructor={};return l[o]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},6148:function(i,h,t){var r=t(72069);i.exports=function(n,a){var o=[][n];return!!o&&r(function(){o.call(null,a||function(){return 1},1)})}},97264:function(i,h,t){var r=t(85156),n=t(49671),a=t(72181),o=t(82628),s=TypeError,u="Reduce of empty array with no initial value",l=function(v){return function(d,g,y,p){var m=n(d),E=a(m),S=o(m);if(r(g),S===0&&y<2)throw new s(u);var I=v?S-1:0,P=v?-1:1;if(y<2)for(;;){if(I in E){p=E[I],I+=P;break}if(I+=P,v?I<0:S<=I)throw new s(u)}for(;v?I>=0:S>I;I+=P)I in E&&(p=g(p,E[I],I,m));return p}};i.exports={left:l(!1),right:l(!0)}},2213:function(i,h,t){var r=t(92986),n=t(3438),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,l){if(n(u)&&!o(u,"length").writable)throw new a("Cannot set read only .length");return u.length=l}:function(u,l){return u.length=l}},22806:function(i,h,t){var r=t(11286);i.exports=r([].slice)},13270:function(i,h,t){var r=t(22806),n=Math.floor,a=function(o,s){var u=o.length;if(u<8)for(var l=1,v,d;l0;)o[d]=o[--d];d!==l++&&(o[d]=v)}else for(var g=n(u/2),y=a(r(o,0,g),s),p=a(r(o,g),s),m=y.length,E=p.length,S=0,I=0;S=v||g<0)throw new a("Incorrect index");for(var y=new s(v),p=0;p1?arguments[1]:void 0),U;U=U?U.next:w.first;)for(H(U.value,U.key,this);U&&U.removed;)U=U.previous},has:function($){return!!L(this,$)}}),a(T,A?{get:function($){var w=L(this,$);return w&&w.value},set:function($,w){return b(this,$===0?0:$,w)}}:{add:function($){return b(this,$=$===0?0:$,$)}}),y&&n(T,"size",{configurable:!0,get:function(){return C(this).size}}),N},setStrong:function(I,P,A){var R=P+" Iterator",N=S(P),T=S(R);v(I,P,function(C,b){E(this,{type:R,target:C,state:N(C),kind:b,last:void 0})},function(){for(var C=T(this),b=C.kind,L=C.last;L&&L.removed;)L=L.previous;return!C.target||!(C.last=L=L?L.next:C.state.first)?(C.target=void 0,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},A?"entries":"values",!A,!0),g(P)}}},94667:function(i,h,t){var r=t(11286),n=t(2725),a=t(31853).getWeakData,o=t(12833),s=t(25001),u=t(5683),l=t(37540),v=t(55902),d=t(66655),g=t(94879),y=t(82367),p=y.set,m=y.getterFor,E=d.find,S=d.findIndex,I=r([].splice),P=0,A=function(T){return T.frozen||(T.frozen=new R)},R=function(){this.entries=[]},N=function(T,C){return E(T.entries,function(b){return b[0]===C})};R.prototype={get:function(T){var C=N(this,T);if(C)return C[1]},has:function(T){return!!N(this,T)},set:function(T,C){var b=N(this,T);b?b[1]=C:this.entries.push([T,C])},delete:function(T){var C=S(this.entries,function(b){return b[0]===T});return~C&&I(this.entries,C,1),!!~C}},i.exports={getConstructor:function(T,C,b,L){var D=T(function(U,B){o(U,$),p(U,{type:C,id:P++,frozen:void 0}),u(B)||v(B,U[L],{that:U,AS_ENTRIES:b})}),$=D.prototype,w=m(C),H=function(U,B,j){var Y=w(U),k=a(s(B),!0);return k===!0?A(Y).set(B,j):k[Y.id]=j,U};return n($,{delete:function(U){var B=w(this);if(!l(U))return!1;var j=a(U);return j===!0?A(B).delete(U):j&&g(j,B.id)&&delete j[B.id]},has:function(B){var j=w(this);if(!l(B))return!1;var Y=a(B);return Y===!0?A(j).has(B):Y&&g(Y,j.id)}}),n($,b?{get:function(B){var j=w(this);if(l(B)){var Y=a(B);return Y===!0?A(j).get(B):Y?Y[j.id]:void 0}},set:function(B,j){return H(this,B,j)}}:{add:function(B){return H(this,B,!0)}}),D}}},89378:function(i,h,t){var r=t(14304),n=t(66009),a=t(11286),o=t(13278),s=t(16142),u=t(31853),l=t(55902),v=t(12833),d=t(23583),g=t(5683),y=t(37540),p=t(72069),m=t(97494),E=t(78401),S=t(32345);i.exports=function(I,P,A){var R=I.indexOf("Map")!==-1,N=I.indexOf("Weak")!==-1,T=R?"set":"add",C=n[I],b=C&&C.prototype,L=C,D={},$=function(k){var J=a(b[k]);s(b,k,k==="add"?function(_){return J(this,_===0?0:_),this}:k==="delete"?function(nt){return N&&!y(nt)?!1:J(this,nt===0?0:nt)}:k==="get"?function(_){return N&&!y(_)?void 0:J(this,_===0?0:_)}:k==="has"?function(_){return N&&!y(_)?!1:J(this,_===0?0:_)}:function(_,dt){return J(this,_===0?0:_,dt),this})},w=o(I,!d(C)||!(N||b.forEach&&!p(function(){new C().entries().next()})));if(w)L=A.getConstructor(P,I,R,T),u.enable();else if(o(I,!0)){var H=new L,U=H[T](N?{}:-0,1)!==H,B=p(function(){H.has(1)}),j=m(function(k){new C(k)}),Y=!N&&p(function(){for(var k=new C,J=5;J--;)k[T](J,J);return!k.has(-0)});j||(L=P(function(k,J){v(k,b);var nt=S(new C,k,L);return g(J)||l(J,nt[T],{that:nt,AS_ENTRIES:R}),nt}),L.prototype=b,b.constructor=L),(B||Y)&&($("delete"),$("has"),R&&$("get")),(Y||U)&&$(T),N&&b.clear&&delete b.clear}return D[I]=L,r({global:!0,constructor:!0,forced:L!==C},D),E(L,I),N||A.setStrong(L,I,R),L}},93706:function(i,h,t){var r=t(94879),n=t(16885),a=t(71349),o=t(7831);i.exports=function(s,u,l){for(var v=n(u),d=o.f,g=a.f,y=0;y"+g+""}},10659:function(i){i.exports=function(h,t){return{value:h,done:t}}},90809:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=r?function(o,s,u){return n.f(o,s,a(1,u))}:function(o,s,u){return o[s]=u,o}},18526:function(i){i.exports=function(h,t){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:t}}},84082:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=function(o,s,u){r?n.f(o,s,a(0,u)):o[s]=u}},11890:function(i,h,t){var r=t(11286),n=t(72069),a=t(61607).start,o=RangeError,s=isFinite,u=Math.abs,l=Date.prototype,v=l.toISOString,d=r(l.getTime),g=r(l.getUTCDate),y=r(l.getUTCFullYear),p=r(l.getUTCHours),m=r(l.getUTCMilliseconds),E=r(l.getUTCMinutes),S=r(l.getUTCMonth),I=r(l.getUTCSeconds);i.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!s(d(this)))throw new o("Invalid time value");var A=this,R=y(A),N=m(A),T=R<0?"-":R>9999?"+":"";return T+a(u(R),T?6:4,0)+"-"+a(S(A)+1,2,0)+"-"+a(g(A),2,0)+"T"+a(p(A),2,0)+":"+a(E(A),2,0)+":"+a(I(A),2,0)+"."+a(N,3,0)+"Z"}:v},84306:function(i,h,t){var r=t(25001),n=t(2064),a=TypeError;i.exports=function(o){if(r(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new a("Incorrect hint");return n(this,o)}},85500:function(i,h,t){var r=t(13749),n=t(7831);i.exports=function(a,o,s){return s.get&&r(s.get,o,{getter:!0}),s.set&&r(s.set,o,{setter:!0}),n.f(a,o,s)}},16142:function(i,h,t){var r=t(23583),n=t(7831),a=t(13749),o=t(36003);i.exports=function(s,u,l,v){v||(v={});var d=v.enumerable,g=v.name!==void 0?v.name:u;if(r(l)&&a(l,g,v),v.global)d?s[u]=l:o(u,l);else{try{v.unsafe?s[u]&&(d=!0):delete s[u]}catch(y){}d?s[u]=l:n.f(s,u,{value:l,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return s}},2725:function(i,h,t){var r=t(16142);i.exports=function(n,a,o){for(var s in a)r(n,s,a[s],o);return n}},36003:function(i,h,t){var r=t(66009),n=Object.defineProperty;i.exports=function(a,o){try{n(r,a,{value:o,configurable:!0,writable:!0})}catch(s){r[a]=o}return o}},12384:function(i,h,t){var r=t(82453),n=TypeError;i.exports=function(a,o){if(!delete a[o])throw new n("Cannot delete property "+r(o)+" of "+r(a))}},92986:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(i,h,t){var r=t(66009),n=t(18096),a=t(99050),o=r.structuredClone,s=r.ArrayBuffer,u=r.MessageChannel,l=!1,v,d,g,y;if(a)l=function(p){o(p,{transfer:[p]})};else if(s)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(d=new u,g=new s(2),y=function(p){d.port1.postMessage(null,[p])},g.byteLength===2&&(y(g),g.byteLength===0&&(l=y)))}catch(p){}i.exports=l},85501:function(i,h,t){var r=t(66009),n=t(37540),a=r.document,o=n(a)&&n(a.createElement);i.exports=function(s){return o?a.createElement(s):{}}},20095:function(i){var h=TypeError,t=9007199254740991;i.exports=function(r){if(r>t)throw h("Maximum allowed index exceeded");return r}},74408:function(i){i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(i,h,t){var r=t(85501),n=r("span").classList,a=n&&n.constructor&&n.constructor.prototype;i.exports=a===Object.prototype?void 0:a},54040:function(i,h,t){var r=t(89042),n=r.match(/firefox\/(\d+)/i);i.exports=!!n&&+n[1]},63144:function(i,h,t){var r=t(56422),n=t(42954);i.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},5017:function(i){i.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(i){i.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(i,h,t){var r=t(89042);i.exports=/MSIE|Trident/.test(r)},92150:function(i,h,t){var r=t(89042);i.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},51149:function(i,h,t){var r=t(89042);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},42954:function(i,h,t){var r=t(66009),n=t(14274);i.exports=n(r.process)==="process"},81539:function(i,h,t){var r=t(89042);i.exports=/web0s(?!.*chrome)/i.test(r)},89042:function(i){i.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(i,h,t){var r=t(66009),n=t(89042),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,u=s&&s.v8,l,v;u&&(l=u.split("."),v=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!v&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(v=+l[1]))),i.exports=v},68674:function(i,h,t){var r=t(89042),n=r.match(/AppleWebKit\/(\d+)\./);i.exports=!!n&&+n[1]},75785:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(i,h,t){var r=t(11286),n=Error,a=r("".replace),o=function(l){return String(new n(l).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);i.exports=function(l,v){if(u&&typeof l=="string"&&!n.prepareStackTrace)for(;v--;)l=a(l,s,"");return l}},97077:function(i,h,t){var r=t(90809),n=t(40851),a=t(16929),o=Error.captureStackTrace;i.exports=function(s,u,l,v){a&&(o?o(s,u):r(s,"stack",n(l,v)))}},16929:function(i,h,t){var r=t(72069),n=t(18526);i.exports=!r(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",n(1,7)),a.stack!==7):!0})},58434:function(i,h,t){var r=t(92986),n=t(72069),a=t(25001),o=t(15453),s=Error.prototype.toString,u=n(function(){if(r){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(s.call(l)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var v=a(this),d=o(v.name,"Error"),g=o(v.message);return d?g?d+": "+g:d:g}:s},14304:function(i,h,t){var r=t(66009),n=t(71349).f,a=t(90809),o=t(16142),s=t(36003),u=t(93706),l=t(13278);i.exports=function(v,d){var g=v.target,y=v.global,p=v.stat,m,E,S,I,P,A;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(P=d[S],v.dontCallGetSet?(A=n(E,S),I=A&&A.value):I=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&I!==void 0){if(typeof P==typeof I)continue;u(P,I)}(v.sham||I&&I.sham)&&a(P,"sham",!0),o(E,S,P,v)}}},72069:function(i){i.exports=function(h){try{return!!h()}catch(t){return!0}}},63194:function(i,h,t){t(31145);var r=t(96499),n=t(16142),a=t(44381),o=t(72069),s=t(18565),u=t(90809),l=s("species"),v=RegExp.prototype;i.exports=function(d,g,y,p){var m=s(d),E=!o(function(){var A={};return A[m]=function(){return 7},""[d](A)!==7}),S=E&&!o(function(){var A=!1,R=/a/;return d==="split"&&(R={},R.constructor={},R.constructor[l]=function(){return R},R.flags="",R[m]=/./[m]),R.exec=function(){return A=!0,null},R[m](""),!A});if(!E||!S||y){var I=/./[m],P=g(m,""[d],function(A,R,N,T,C){var b=R.exec;return b===a||b===v.exec?E&&!C?{done:!0,value:r(I,R,N,T)}:{done:!0,value:r(A,N,R,T)}:{done:!1}});n(String.prototype,d,P[0]),n(v,m,P[1])}p&&u(v[m],"sham",!0)}},53149:function(i,h,t){var r=t(3438),n=t(82628),a=t(20095),o=t(45526),s=function(u,l,v,d,g,y,p,m){for(var E=g,S=0,I=p?o(p,m):!1,P,A;S0&&r(P)?(A=n(P),E=s(u,l,P,A,E,y-1)-1):(a(E+1),u[E]=P),E++),S++;return E};i.exports=s},27534:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(i,h,t){var r=t(87878),n=Function.prototype,a=n.apply,o=n.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},45526:function(i,h,t){var r=t(77422),n=t(85156),a=t(87878),o=r(r.bind);i.exports=function(s,u){return n(s),u===void 0?s:a?o(s,u):function(){return s.apply(u,arguments)}}},87878:function(i,h,t){var r=t(72069);i.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(i,h,t){var r=t(11286),n=t(85156),a=t(37540),o=t(94879),s=t(22806),u=t(87878),l=Function,v=r([].concat),d=r([].join),g={},y=function(p,m,E){if(!o(g,m)){for(var S=[],I=0;I]*>)/g,v=/\$([$&'`]|\d{1,2})/g;i.exports=function(d,g,y,p,m,E){var S=y+d.length,I=p.length,P=v;return m!==void 0&&(m=n(m),P=l),s(E,P,function(A,R){var N;switch(o(R,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":N=m[u(R,1,-1)];break;default:var T=+R;if(T===0)return A;if(T>I){var C=a(T/10);return C===0?A:C<=I?p[C-1]===void 0?o(R,1):p[C-1]+o(R,1):A}N=p[T-1]}return N===void 0?"":N})}},66009:function(i){var h=function(t){return t&&t.Math===Math&&t};i.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof global=="object"&&global)||h(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(i,h,t){var r=t(11286),n=t(49671),a=r({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return a(n(s),u)}},19423:function(i){i.exports={}},99095:function(i){i.exports=function(h,t){try{arguments.length===1?console.error(h):console.error(h,t)}catch(r){}}},96439:function(i,h,t){var r=t(38941);i.exports=r("document","documentElement")},52515:function(i,h,t){var r=t(92986),n=t(72069),a=t(85501);i.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(i){var h=Array,t=Math.abs,r=Math.pow,n=Math.floor,a=Math.log,o=Math.LN2,s=function(l,v,d){var g=h(d),y=d*8-v-1,p=(1<>1,E=v===23?r(2,-24)-r(2,-77):0,S=l<0||l===0&&1/l<0?1:0,I=0,P,A,R;for(l=t(l),l!==l||l===1/0?(A=l!==l?1:0,P=p):(P=n(a(l)/o),R=r(2,-P),l*R<1&&(P--,R*=2),P+m>=1?l+=E/R:l+=E*r(2,1-m),l*R>=2&&(P++,R/=2),P+m>=p?(A=0,P=p):P+m>=1?(A=(l*R-1)*r(2,v),P+=m):(A=l*r(2,m-1)*r(2,v),P=0));v>=8;)g[I++]=A&255,A/=256,v-=8;for(P=P<0;)g[I++]=P&255,P/=256,y-=8;return g[--I]|=S*128,g},u=function(l,v){var d=l.length,g=d*8-v-1,y=(1<>1,m=g-7,E=d-1,S=l[E--],I=S&127,P;for(S>>=7;m>0;)I=I*256+l[E--],m-=8;for(P=I&(1<<-m)-1,I>>=-m,m+=v;m>0;)P=P*256+l[E--],m-=8;if(I===0)I=1-p;else{if(I===y)return P?NaN:S?-1/0:1/0;P+=r(2,v),I-=p}return(S?-1:1)*P*r(2,I-v)};i.exports={pack:s,unpack:u}},72181:function(i,h,t){var r=t(11286),n=t(72069),a=t(14274),o=Object,s=r("".split);i.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?s(u,""):o(u)}:o},32345:function(i,h,t){var r=t(23583),n=t(37540),a=t(15861);i.exports=function(o,s,u){var l,v;return a&&r(l=s.constructor)&&l!==u&&n(v=l.prototype)&&v!==u.prototype&&a(o,v),o}},84352:function(i,h,t){var r=t(11286),n=t(23583),a=t(70443),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(s){return o(s)}),i.exports=a.inspectSource},31486:function(i,h,t){var r=t(37540),n=t(90809);i.exports=function(a,o){r(o)&&"cause"in o&&n(a,"cause",o.cause)}},31853:function(i,h,t){var r=t(14304),n=t(11286),a=t(19423),o=t(37540),s=t(94879),u=t(7831).f,l=t(83258),v=t(92880),d=t(28174),g=t(36374),y=t(27534),p=!1,m=g("meta"),E=0,S=function(T){u(T,m,{value:{objectID:"O"+E++,weakData:{}}})},I=function(T,C){if(!o(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!s(T,m)){if(!d(T))return"F";if(!C)return"E";S(T)}return T[m].objectID},P=function(T,C){if(!s(T,m)){if(!d(T))return!0;if(!C)return!1;S(T)}return T[m].weakData},A=function(T){return y&&p&&d(T)&&!s(T,m)&&S(T),T},R=function(){N.enable=function(){},p=!0;var T=l.f,C=n([].splice),b={};b[m]=1,T(b).length&&(l.f=function(L){for(var D=T(L),$=0,w=D.length;$D;D++)if(w=j(E[D]),w&&l(m,w))return w;return new p(!1)}b=v(E,L)}for(H=R?E.next:b.next;!(U=n(H,b)).done;){try{w=j(U.value)}catch(Y){g(b,"throw",Y)}if(typeof w=="object"&&w&&l(m,w))return w}return new p(!1)}},99797:function(i,h,t){var r=t(96499),n=t(25001),a=t(10512);i.exports=function(o,s,u){var l,v;n(o);try{if(l=a(o,"return"),!l){if(s==="throw")throw u;return u}l=r(l,o)}catch(d){v=!0,l=d}if(s==="throw")throw u;if(v)throw l;return n(l),u}},26820:function(i,h,t){var r=t(24519).IteratorPrototype,n=t(5406),a=t(18526),o=t(78401),s=t(29107),u=function(){return this};i.exports=function(l,v,d,g){var y=v+" Iterator";return l.prototype=n(r,{next:a(+!g,d)}),o(l,y,!1,!0),s[y]=u,l}},10218:function(i,h,t){var r=t(14304),n=t(96499),a=t(70457),o=t(86588),s=t(23583),u=t(26820),l=t(26313),v=t(15861),d=t(78401),g=t(90809),y=t(16142),p=t(18565),m=t(29107),E=t(24519),S=o.PROPER,I=o.CONFIGURABLE,P=E.IteratorPrototype,A=E.BUGGY_SAFARI_ITERATORS,R=p("iterator"),N="keys",T="values",C="entries",b=function(){return this};i.exports=function(L,D,$,w,H,U,B){u($,D,w);var j=function(It){if(It===H&&_)return _;if(!A&&It&&It in J)return J[It];switch(It){case N:return function(){return new $(this,It)};case T:return function(){return new $(this,It)};case C:return function(){return new $(this,It)}}return function(){return new $(this)}},Y=D+" Iterator",k=!1,J=L.prototype,nt=J[R]||J["@@iterator"]||H&&J[H],_=!A&&nt||j(H),dt=D==="Array"&&J.entries||nt,lt,gt,St;if(dt&&(lt=l(dt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==P&&(v?v(lt,P):s(lt[R])||y(lt,R,b)),d(lt,Y,!0,!0),a&&(m[Y]=b))),S&&H===T&&nt&&nt.name!==T&&(!a&&I?g(J,"name",T):(k=!0,_=function(){return n(nt,this)})),H)if(gt={values:j(T),keys:U?_:j(N),entries:j(C)},B)for(St in gt)(A||k||!(St in J))&&y(J,St,gt[St]);else r({target:D,proto:!0,forced:A||k},gt);return(!a||B)&&J[R]!==_&&y(J,R,_,{name:H}),m[D]=_,gt}},24519:function(i,h,t){var r=t(72069),n=t(23583),a=t(37540),o=t(5406),s=t(26313),u=t(16142),l=t(18565),v=t(70457),d=l("iterator"),g=!1,y,p,m;[].keys&&(m=[].keys(),"next"in m?(p=s(s(m)),p!==Object.prototype&&(y=p)):g=!0);var E=!a(y)||r(function(){var S={};return y[d].call(S)!==S});E?y={}:v&&(y=o(y)),n(y[d])||u(y,d,function(){return this}),i.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g}},29107:function(i){i.exports={}},82628:function(i,h,t){var r=t(45344);i.exports=function(n){return r(n.length)}},13749:function(i,h,t){var r=t(11286),n=t(72069),a=t(23583),o=t(94879),s=t(92986),u=t(86588).CONFIGURABLE,l=t(84352),v=t(82367),d=v.enforce,g=v.get,y=String,p=Object.defineProperty,m=r("".slice),E=r("".replace),S=r([].join),I=s&&!n(function(){return p(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),A=i.exports=function(R,N,T){m(y(N),0,7)==="Symbol("&&(N="["+E(y(N),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(N="get "+N),T&&T.setter&&(N="set "+N),(!o(R,"name")||u&&R.name!==N)&&(s?p(R,"name",{value:N,configurable:!0}):R.name=N),I&&T&&o(T,"arity")&&R.length!==T.arity&&p(R,"length",{value:T.arity});try{T&&o(T,"constructor")&&T.constructor?s&&p(R,"prototype",{writable:!1}):R.prototype&&(R.prototype=void 0)}catch(b){}var C=d(R);return o(C,"source")||(C.source=S(P,typeof N=="string"?N:"")),R};Function.prototype.toString=A(function(){return a(this)&&g(this).source||l(this)},"toString")},1774:function(i,h,t){var r=t(11286),n=Map.prototype;i.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(i){var h=Math.expm1,t=Math.exp;i.exports=!h||h(10)>22025.465794806718||h(10)<22025.465794806718||h(-2e-17)!==-2e-17?function(n){var a=+n;return a===0?a:a>-1e-6&&a<1e-6?a+a*a/2:t(a)-1}:h},10418:function(i,h,t){var r=t(93976),n=Math.abs,a=2220446049250313e-31,o=1/a,s=function(u){return u+o-o};i.exports=function(u,l,v,d){var g=+u,y=n(g),p=r(g);if(yv||E!==E?p*(1/0):p*E}},93279:function(i,h,t){var r=t(10418),n=11920928955078125e-23,a=34028234663852886e22,o=11754943508222875e-54;i.exports=Math.fround||function(u){return r(u,n,a,o)}},41942:function(i){var h=Math.log,t=Math.LOG10E;i.exports=Math.log10||function(n){return h(n)*t}},49366:function(i){var h=Math.log;i.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:h(1+n)}},93976:function(i){i.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(i){var h=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(n){var a=+n;return(a>0?t:h)(a)}},9709:function(i,h,t){var r=t(66009),n=t(28167),a=t(45526),o=t(23115).set,s=t(76895),u=t(51149),l=t(92150),v=t(81539),d=t(42954),g=r.MutationObserver||r.WebKitMutationObserver,y=r.document,p=r.process,m=r.Promise,E=n("queueMicrotask"),S,I,P,A,R;if(!E){var N=new s,T=function(){var C,b;for(d&&(C=p.domain)&&C.exit();b=N.get();)try{b()}catch(L){throw N.head&&S(),L}C&&C.enter()};!u&&!d&&!v&&g&&y?(I=!0,P=y.createTextNode(""),new g(T).observe(P,{characterData:!0}),S=function(){P.data=I=!I}):!l&&m&&m.resolve?(A=m.resolve(void 0),A.constructor=m,R=a(A.then,A),S=function(){R(T)}):d?S=function(){p.nextTick(T)}:(o=a(o,r),S=function(){o(T)}),E=function(C){N.head||S(),N.add(C)}}i.exports=E},24649:function(i,h,t){var r=t(85156),n=TypeError,a=function(o){var s,u;this.promise=new o(function(l,v){if(s!==void 0||u!==void 0)throw new n("Bad Promise constructor");s=l,u=v}),this.resolve=r(s),this.reject=r(u)};i.exports.f=function(o){return new a(o)}},15453:function(i,h,t){var r=t(17361);i.exports=function(n,a){return n===void 0?arguments.length<2?"":a:r(n)}},92337:function(i,h,t){var r=t(11566),n=TypeError;i.exports=function(a){if(r(a))throw new n("The method doesn't accept regular expressions");return a}},98074:function(i,h,t){var r=t(66009),n=r.isFinite;i.exports=Number.isFinite||function(o){return typeof o=="number"&&n(o)}},25838:function(i,h,t){var r=t(66009),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=a("".charAt),v=r.parseFloat,d=r.Symbol,g=d&&d.iterator,y=1/v(u+"-0")!==-1/0||g&&!n(function(){v(Object(g))});i.exports=y?function(m){var E=s(o(m)),S=v(E);return S===0&&l(E,0)==="-"?-0:S}:v},23009:function(i,h,t){var r=t(66009),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=r.parseInt,v=r.Symbol,d=v&&v.iterator,g=/^[+-]?0x/i,y=a(g.exec),p=l(u+"08")!==8||l(u+"0x16")!==22||d&&!n(function(){l(Object(d))});i.exports=p?function(E,S){var I=s(o(E));return l(I,S>>>0||(y(g,I)?16:10))}:l},16667:function(i,h,t){var r=t(92986),n=t(11286),a=t(96499),o=t(72069),s=t(18350),u=t(24943),l=t(79591),v=t(49671),d=t(72181),g=Object.assign,y=Object.defineProperty,p=n([].concat);i.exports=!g||o(function(){if(r&&g({b:1},g(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},E={},S=Symbol("assign detection"),I="abcdefghijklmnopqrst";return m[S]=7,I.split("").forEach(function(P){E[P]=P}),g({},m)[S]!==7||s(g({},E)).join("")!==I})?function(E,S){for(var I=v(E),P=arguments.length,A=1,R=u.f,N=l.f;P>A;)for(var T=d(arguments[A++]),C=R?p(s(T),R(T)):s(T),b=C.length,L=0,D;b>L;)D=C[L++],(!r||a(N,T,D))&&(I[D]=T[D]);return I}:g},5406:function(i,h,t){var r=t(25001),n=t(61963),a=t(75785),o=t(19423),s=t(96439),u=t(85501),l=t(44869),v=">",d="<",g="prototype",y="script",p=l("IE_PROTO"),m=function(){},E=function(R){return d+y+v+R+d+"/"+y+v},S=function(R){R.write(E("")),R.close();var N=R.parentWindow.Object;return R=null,N},I=function(){var R=u("iframe"),N="java"+y+":",T;return R.style.display="none",s.appendChild(R),R.src=String(N),T=R.contentWindow.document,T.open(),T.write(E("document.F=Object")),T.close(),T.F},P,A=function(){try{P=new ActiveXObject("htmlfile")}catch(N){}A=typeof document!="undefined"?document.domain&&P?S(P):I():S(P);for(var R=a.length;R--;)delete A[g][a[R]];return A()};o[p]=!0,i.exports=Object.create||function(N,T){var C;return N!==null?(m[g]=r(N),C=new m,m[g]=null,C[p]=N):C=A(),T===void 0?C:n.f(C,T)}},61963:function(i,h,t){var r=t(92986),n=t(356),a=t(7831),o=t(25001),s=t(36859),u=t(18350);h.f=r&&!n?Object.defineProperties:function(v,d){o(v);for(var g=s(d),y=u(d),p=y.length,m=0,E;p>m;)a.f(v,E=y[m++],g[E]);return v}},7831:function(i,h,t){var r=t(92986),n=t(52515),a=t(356),o=t(25001),s=t(50035),u=TypeError,l=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",y="writable";h.f=r?a?function(m,E,S){if(o(m),E=s(E),o(S),typeof m=="function"&&E==="prototype"&&"value"in S&&y in S&&!S[y]){var I=v(m,E);I&&I[y]&&(m[E]=S.value,S={configurable:g in S?S[g]:I[g],enumerable:d in S?S[d]:I[d],writable:!1})}return l(m,E,S)}:l:function(m,E,S){if(o(m),E=s(E),o(S),n)try{return l(m,E,S)}catch(I){}if("get"in S||"set"in S)throw new u("Accessors not supported");return"value"in S&&(m[E]=S.value),m}},71349:function(i,h,t){var r=t(92986),n=t(96499),a=t(79591),o=t(18526),s=t(36859),u=t(50035),l=t(94879),v=t(52515),d=Object.getOwnPropertyDescriptor;h.f=r?d:function(y,p){if(y=s(y),p=u(p),v)try{return d(y,p)}catch(m){}if(l(y,p))return o(!n(a.f,y,p),y[p])}},92880:function(i,h,t){var r=t(14274),n=t(36859),a=t(83258).f,o=t(22806),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch(v){return o(s)}};i.exports.f=function(v){return s&&r(v)==="Window"?u(v):a(n(v))}},83258:function(i,h,t){var r=t(6242),n=t(75785),a=n.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(s){return r(s,a)}},24943:function(i,h){h.f=Object.getOwnPropertySymbols},26313:function(i,h,t){var r=t(94879),n=t(23583),a=t(49671),o=t(44869),s=t(87501),u=o("IE_PROTO"),l=Object,v=l.prototype;i.exports=s?l.getPrototypeOf:function(d){var g=a(d);if(r(g,u))return g[u];var y=g.constructor;return n(y)&&g instanceof y?y.prototype:g instanceof l?v:null}},28174:function(i,h,t){var r=t(72069),n=t(37540),a=t(14274),o=t(72058),s=Object.isExtensible,u=r(function(){s(1)});i.exports=u||o?function(v){return!n(v)||o&&a(v)==="ArrayBuffer"?!1:s?s(v):!0}:s},95307:function(i,h,t){var r=t(11286);i.exports=r({}.isPrototypeOf)},6242:function(i,h,t){var r=t(11286),n=t(94879),a=t(36859),o=t(94319).indexOf,s=t(19423),u=r([].push);i.exports=function(l,v){var d=a(l),g=0,y=[],p;for(p in d)!n(s,p)&&n(d,p)&&u(y,p);for(;v.length>g;)n(d,p=v[g++])&&(~o(y,p)||u(y,p));return y}},18350:function(i,h,t){var r=t(6242),n=t(75785);i.exports=Object.keys||function(o){return r(o,n)}},79591:function(i,h){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);h.f=n?function(o){var s=r(this,o);return!!s&&s.enumerable}:t},57629:function(i,h,t){var r=t(70457),n=t(66009),a=t(72069),o=t(68674);i.exports=r||!a(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete n[s]}})},15861:function(i,h,t){var r=t(84756),n=t(37540),a=t(2068),o=t(53408);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,u={},l;try{l=r(Object.prototype,"__proto__","set"),l(u,[]),s=u instanceof Array}catch(v){}return function(d,g){return a(d),o(g),n(d)&&(s?l(d,g):d.__proto__=g),d}}():void 0)},8511:function(i,h,t){var r=t(92986),n=t(72069),a=t(11286),o=t(26313),s=t(18350),u=t(36859),l=t(79591).f,v=a(l),d=a([].push),g=r&&n(function(){var p=Object.create(null);return p[2]=2,!v(p,2)}),y=function(p){return function(m){for(var E=u(m),S=s(E),I=g&&o(E)===null,P=S.length,A=0,R=[],N;P>A;)N=S[A++],(!r||(I?N in E:v(E,N)))&&d(R,p?[N,E[N]]:E[N]);return R}};i.exports={entries:y(!0),values:y(!1)}},60105:function(i,h,t){var r=t(67878),n=t(9205);i.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(i,h,t){var r=t(96499),n=t(23583),a=t(37540),o=TypeError;i.exports=function(s,u){var l,v;if(u==="string"&&n(l=s.toString)&&!a(v=r(l,s))||n(l=s.valueOf)&&!a(v=r(l,s))||u!=="string"&&n(l=s.toString)&&!a(v=r(l,s)))return v;throw new o("Can't convert object to primitive value")}},16885:function(i,h,t){var r=t(38941),n=t(11286),a=t(83258),o=t(24943),s=t(25001),u=n([].concat);i.exports=r("Reflect","ownKeys")||function(v){var d=a.f(s(v)),g=o.f;return g?u(d,g(v)):d}},75081:function(i,h,t){var r=t(66009);i.exports=r},67805:function(i){i.exports=function(h){try{return{error:!1,value:h()}}catch(t){return{error:!0,value:t}}}},37130:function(i,h,t){var r=t(66009),n=t(98844),a=t(23583),o=t(13278),s=t(84352),u=t(18565),l=t(63144),v=t(56422),d=t(70457),g=t(73126),y=n&&n.prototype,p=u("species"),m=!1,E=a(r.PromiseRejectionEvent),S=o("Promise",function(){var I=s(n),P=I!==String(n);if(!P&&g===66||d&&!(y.catch&&y.finally))return!0;if(!g||g<51||!/native code/.test(I)){var A=new n(function(T){T(1)}),R=function(T){T(function(){},function(){})},N=A.constructor={};if(N[p]=R,m=A.then(function(){})instanceof R,!m)return!0}return!P&&(l||v)&&!E});i.exports={CONSTRUCTOR:S,REJECTION_EVENT:E,SUBCLASSING:m}},98844:function(i,h,t){var r=t(66009);i.exports=r.Promise},87408:function(i,h,t){var r=t(25001),n=t(37540),a=t(24649);i.exports=function(o,s){if(r(o),n(s)&&s.constructor===o)return s;var u=a.f(o),l=u.resolve;return l(s),u.promise}},26035:function(i,h,t){var r=t(98844),n=t(97494),a=t(37130).CONSTRUCTOR;i.exports=a||!n(function(o){r.all(o).then(void 0,function(){})})},2594:function(i,h,t){var r=t(7831).f;i.exports=function(n,a,o){o in n||r(n,o,{configurable:!0,get:function(){return a[o]},set:function(s){a[o]=s}})}},76895:function(i){var h=function(){this.head=null,this.tail=null};h.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},i.exports=h},33064:function(i,h,t){var r=t(96499),n=t(25001),a=t(23583),o=t(14274),s=t(44381),u=TypeError;i.exports=function(l,v){var d=l.exec;if(a(d)){var g=r(d,l,v);return g!==null&&n(g),g}if(o(l)==="RegExp")return r(s,l,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(i,h,t){var r=t(96499),n=t(11286),a=t(17361),o=t(29833),s=t(39807),u=t(96731),l=t(5406),v=t(82367).get,d=t(76769),g=t(85220),y=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,E=n("".charAt),S=n("".indexOf),I=n("".replace),P=n("".slice),A=function(){var C=/a/,b=/b*/g;return r(p,C,"a"),r(p,b,"a"),C.lastIndex!==0||b.lastIndex!==0}(),R=s.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,T=A||N||R||d||g;T&&(m=function(b){var L=this,D=v(L),$=a(b),w=D.raw,H,U,B,j,Y,k,J;if(w)return w.lastIndex=L.lastIndex,H=r(m,w,$),L.lastIndex=w.lastIndex,H;var nt=D.groups,_=R&&L.sticky,dt=r(o,L),lt=L.source,gt=0,St=$;if(_&&(dt=I(dt,"y",""),S(dt,"g")===-1&&(dt+="g"),St=P($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` +`),F=x?M.length-1:1;e.html(""),M.forEach((G,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*F:c[1]}em`).text(G)})}}}function Qs(e){const{x:f,y:c,width:x,height:O}=e.getBBox();return[{x:f,y:c+O},{x:f,y:c},{x:f+x,y:c},{x:f+x,y:c+O}]}function Fi(e){const{width:f,height:c}=e.getBoundingClientRect(),x=Qs(e),O=x[0].x,M=Math.min(x[0].y,x[1].y);return{x:O,y:M,width:f,height:c}}function Li(e,f){var c;const x=e&&((c=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:c[0]);let O=[0,0];try{O=d3Pointer(x||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Zs(e){const{event:f,$el:c}=e,x=c.subchart.main||c.main;let O;return f&&f.type==="brush"?O=f.selection:x&&(O=x.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function $i(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ui(e=!0,f=0,c=1e4){const x=window.crypto||window.msCrypto,O=x?f+x.getRandomValues(new Uint32Array(1))[0]%(c-f+1):Math.floor(Math.random()*(c-f)+f);return e?String(O):O}function ma(e,f,c,x,O){if(c>x)return-1;const M=Math.floor((c+x)/2);let{x:F,w:G=0}=e[M];return O&&(F=e[M].y,G=e[M].h),f>=F&&f<=F+G?M:f{if(re(c)&&c.constructor){const x=new c.constructor;for(const O in c)x[O]=f(c[O]);return x}return c};return e.map(c=>f(c)).reduce((c,x)=>ya(ya({},c),x))}function ks(e={},f){Ie(f)&&f.forEach(c=>ks(e,c));for(const c in f)/^\d+$/.test(c)||c in e||(e[c]=f[c]);return e}const wi=e=>e.charAt(0).toUpperCase()+e.slice(1);function Gi(e,f="-"){return e.split(f).map((c,x)=>x?c.charAt(0).toUpperCase()+c.slice(1).toLowerCase():c.toLowerCase()).join("")}const qs=e=>[].slice.call(e);function Hi(e,f,c){const{rootSelector:x="",sheet:O}=e,F=`${x} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](F,O.cssRules.length)}function Vi(e){let f=[];return e.forEach(c=>{var x;try{c.cssRules&&c.cssRules.length&&(f=f.concat(qs(c.cssRules)))}catch(O){(x=window.console)==null||x.warn(`Error while reading rules from ${c.href}: ${O.toString()}`)}}),f}function Wi(e){var f,c,x,O;return{x:((c=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?c:0)+e.scrollLeft,y:((O=(x=window.pageYOffset)!=null?x:window.scrollY)!=null?O:0)+e.scrollTop}}function zi(e){const f=e?e.transform:null,c=f&&f.baseVal;return c&&c.numberOfItems?c.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Yi(e){const f=e[0]instanceof Date,c=(f?e.map(Number):e).filter((x,O,M)=>M.indexOf(x)===O);return f?c.map(x=>new Date(x)):c}function Ki(e){return e&&e.length?e.reduce((f,c)=>f.concat(c)):[]}function Te(e,...f){if(!f.length||f.length===1&&!f[0])return e;const c=f.shift();return re(e)&&re(c)&&Object.keys(c).forEach(x=>{const O=c[x];re(O)?(!e[x]&&(e[x]={}),e[x]=Te(e[x],O)):e[x]=Ie(O)?O.concat():O}),Te(e,...f)}function _s(e,f=!0){let c;return e[0]instanceof Date?c=f?(x,O)=>x-O:(x,O)=>O-x:f&&!e.every(isNaN)?c=(x,O)=>x-O:f||(c=(x,O)=>x>O&&-1||xJs(x));return c.length?Ee(c[0])?c=Math[e](...c):c[0]instanceof Date&&(c=_s(c,e==="min")[0]):c=void 0,c}const Ji=(e,f,c=1)=>{const x=[],O=Math.max(0,Math.ceil((f-e)/c))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,c,x=e())=>{f.dispatchEvent(new MouseEvent(c,x))}}catch(f){return(c,x,O=e())=>{const M=Hs.createEvent("MouseEvent");M.initMouseEvent(x,O.bubbles,O.cancelable,_n,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),c.dispatchEvent(M)}}})(),touch:(e,f,c)=>{const x=new Touch(Te({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},c));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[x],targetTouches:[],changedTouches:[x]}))}};function Zi(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function ki(e){var f;let c;if(e instanceof Date)c=e;else if(te(e)){const{config:x,format:O}=this;c=(f=O.dataTime(x.data_xFormat)(e))!=null?f:new Date(e)}else Ee(e)&&!isNaN(e)&&(c=new Date(+e));return(!c||isNaN(+c))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),c}function qi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function _i(e,f){const{DocumentTouch:c,matchMedia:x,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||c&&document instanceof c)M=!0;else if(x!=null&&x("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((x==null?void 0:x("any-hover:hover").matches)||(x==null?void 0:x("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function ti(e,f){f()===!1?requestAnimationFrame(()=>ti(e,f)):e()}function ri(e){const f=this.config;let c,x,O;const M=()=>{const F=x.shift();if(F&&c&&Oe(c)&&F in c)return c=c[F],M();if(!F)return c};Object.keys(f).forEach(F=>{c=e,x=F.split("_"),O=M(),pa(O)&&(f[F]=O)}),this.api&&(this.state.orgConfig=e)}var ni=Object.defineProperty,ei=(e,f,c)=>f in e?ni(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Ae=(e,f,c)=>ei(e,typeof f!="symbol"?f+"":f,c);class xa{constructor(f={}){Ae(this,"$$"),Ae(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ae(xa,"version","3.12.4-nightly-20240731004602");class ai{constructor(){return{selector:void 0}}}var oi=Object.defineProperty,si=(e,f,c)=>f in e?oi(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Re=(e,f,c)=>si(e,typeof f!="symbol"?f+"":f,c);class Sa extends xa{constructor(f){return super(f),Re(this,"config"),Re(this,"element"),this.config=new ai,this}$beforeInit(){ri.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:f,config:c}=this;let x="";if((!c.selector||!document.querySelector(c.selector))&&(x="No holder elements found from given selector option."),(f.hasType("bubble")||f.hasType("scatter")||f.hasArcType(f.data.targets))&&(x="Contains non supported chart types."),x)throw new Error(`[Sparkline plugin] ${x}`)}overrideInternals(){const{$$:f}=this,{getBarW:c,getIndices:x}=f;f.getIndices=function(O,M,F){return F==="getShapeX"?{}:x.call(this,O,M)},f.getBarW=function(O,M){return c.call(this,O,M,1)}}overrideOptions(){const{config:f}=this.$$;if(f.legend_show=!1,f.resize_auto=!1,f.axis_x_show=!1,f.padding!==!1){const c=x=>Object.keys(x||{}).length>0;c(f.axis_x_padding)&&(f.axis_x_padding={left:15,right:15,unit:"px"}),c(f.axis_y_padding)&&(f.axis_y_padding=5)}f.axis_y_show=!1,f.tooltip_position||(f.tooltip_position=function(c,x,O){const{internal:{state:{event:M}}}=this;let F=M.pageY-O*1.35,G=M.pageX-x/2;return F<0&&(F=0),G<0&&(G=0),{top:F,left:G}})}$init(){var f;const{$$:{$el:c}}=this;c.chart.style("width","0").style("height","0").style("pointer-events","none"),(f=c.tooltip)!=null&&f.node()&&document.body.appendChild(c.tooltip.node())}$afterInit(){const{$$:f}=this;f.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(f=!0){const{$$:{config:c}}=this;if(c.interaction_enabled&&c.tooltip_show){const x=`${f?"add":"remove"}EventListener`;this.element.forEach(O=>{const M=O.querySelector("svg");M[x]("mouseover",this.overHandler),M[x]("mousemove",this.moveHandler),M[x]("mouseout",this.outHandler)})}}overHandler(f){const{$$:c}=this,{state:{eventReceiver:x}}=c;x.rect=f.target.getBoundingClientRect()}moveHandler(f){var c,x,O,M;const{$$:F}=this,G=F.getDataIndexFromEvent(f),W=(c=F.api.data(f.target.__id))==null?void 0:c[0],tt=(x=W==null?void 0:W.values)==null?void 0:x[G];tt&&!tt.name&&(tt.name=tt.id),F.state.event=f,(O=F.isPointFocusOnly)!=null&&O.call(F)&&tt&&((M=F.showCircleFocus)==null||M.call(F,[tt])),F.setExpand(G,W.id,!0),F.showTooltip([tt],f.target)}outHandler(f){const{$$:c}=this;c.state.event=f,c.isPointFocusOnly()?c.hideCircleFocus():c.unexpandCircles(),c.hideTooltip()}$redraw(){var f;const{$$:c}=this,{$el:x}=c;let O=this.element;const M=c.api.data(),F=(f=x.chart.html().match(/]*>/))==null?void 0:f[0];if(O.length0;W--)G.parentNode.insertBefore(O[0].cloneNode(),G.nextSibling);this.element=document.querySelectorAll(this.config.selector),O=this.element}M.map(G=>G.id).forEach((G,W)=>{const tt=`.${l.target}-${G}`,et=x.main.selectAll(tt);let Et=O[W].querySelector("svg");Et||(O[W].innerHTML=`${F}`,Et=O[W].querySelector("svg"),Et.__id=G),Et.querySelector(tt)||et.style("opacity",null),et.style("fill","none").style("opacity",null),Et.innerHTML="",Et.appendChild(et.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(f=>{f.innerHTML=""})}}Re(Sa,"version","0.0.1")},85156:function(i,h,t){var r=t(23583),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a function")}},80042:function(i,h,t){var r=t(11051),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a constructor")}},53408:function(i,h,t){var r=t(52427),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a("Can't set "+n(o)+" as a prototype")}},76602:function(i,h,t){var r=t(172).has;i.exports=function(n){return r(n),n}},23811:function(i,h,t){var r=t(18565),n=t(5406),a=t(7831).f,o=r("unscopables"),s=Array.prototype;s[o]===void 0&&a(s,o,{configurable:!0,value:n(null)}),i.exports=function(u){s[o][u]=!0}},24487:function(i,h,t){var r=t(22149).charAt;i.exports=function(n,a,o){return a+(o?r(n,a).length:1)}},12833:function(i,h,t){var r=t(95307),n=TypeError;i.exports=function(a,o){if(r(o,a))return a;throw new n("Incorrect invocation")}},25001:function(i,h,t){var r=t(37540),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not an object")}},3237:function(i){i.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(i,h,t){var r=t(84756),n=t(14274),a=TypeError;i.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(o){if(n(o)!=="ArrayBuffer")throw new a("ArrayBuffer expected");return o.byteLength}},30736:function(i,h,t){var r=t(11286),n=t(58360),a=r(ArrayBuffer.prototype.slice);i.exports=function(o){if(n(o)!==0)return!1;try{return a(o,0,0),!1}catch(s){return!0}}},72058:function(i,h,t){var r=t(72069);i.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},65006:function(i,h,t){var r=t(66009),n=t(11286),a=t(84756),o=t(9450),s=t(30736),u=t(58360),l=t(63741),v=t(99050),d=r.structuredClone,g=r.ArrayBuffer,y=r.DataView,p=r.TypeError,m=Math.min,E=g.prototype,S=y.prototype,I=n(E.slice),P=a(E,"resizable","get"),A=a(E,"maxByteLength","get"),R=n(S.getInt8),N=n(S.setInt8);i.exports=(v||l)&&function(T,C,b){var L=u(T),D=C===void 0?L:o(C),$=!P||!P(T),w;if(s(T))throw new p("ArrayBuffer is detached");if(v&&(T=d(T,{transfer:[T]}),L===D&&(b||$)))return T;if(L>=D&&(!b||$))w=I(T,0,D);else{var H=b&&!$&&A?{maxByteLength:A(T)}:void 0;w=new g(D,H);for(var U=new y(T),B=new y(w),j=m(D,L),Y=0;Y>8&255]},Mt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Ct=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Lt=function(st){return Ft(E(st),23,4)},Zt=function(st){return Ft(st,52,8)},kt=function(st,ht,rt){l(st[H],ht,{configurable:!0,get:function(){return rt(this)[ht]}})},Kt=function(st,ht,rt,Ot){var Tt=Y(st),xt=m(rt),pt=!!Ot;if(xt+ht>Tt.byteLength)throw new It(B);var _t=Tt.bytes,rr=xt+Tt.byteOffset,Q=R(_t,rr,rr+ht);return pt?Q:jt(Q)},Dt=function(st,ht,rt,Ot,Tt,xt){var pt=Y(st),_t=m(rt),rr=Ot(+Tt),Q=!!xt;if(_t+ht>pt.byteLength)throw new It(B);for(var ot=pt.bytes,it=_t+pt.byteOffset,z=0;zxt)throw new It("Wrong offset");if(Ot=Ot===void 0?xt-pt:p(Ot),pt+Ot>xt)throw new It(U);k(this,{type:w,buffer:ht,byteLength:Ot,byteOffset:pt,bytes:Tt.bytes}),a||(this.buffer=ht,this.byteLength=Ot,this.byteOffset=pt)},lt=dt[H],a&&(kt(nt,"byteLength",j),kt(dt,"buffer",Y),kt(dt,"byteLength",Y),kt(dt,"byteOffset",Y)),v(lt,{getInt8:function(ht){return Kt(this,1,ht)[0]<<24>>24},getUint8:function(ht){return Kt(this,1,ht)[0]},getInt16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return(rt[1]<<8|rt[0])<<16>>16},getUint16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return rt[1]<<8|rt[0]},getInt32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))},getUint32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ht){return vt(Kt(this,4,ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ht){return vt(Kt(this,8,ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ht,rt){Dt(this,1,ht,yt,rt)},setUint8:function(ht,rt){Dt(this,1,ht,yt,rt)},setInt16:function(ht,rt){Dt(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setUint16:function(ht,rt){Dt(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setInt32:function(ht,rt){Dt(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setUint32:function(ht,rt){Dt(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setFloat32:function(ht,rt){Dt(this,4,ht,Lt,rt,arguments.length>2?arguments[2]:!1)},setFloat64:function(ht,rt){Dt(this,8,ht,Zt,rt,arguments.length>2?arguments[2]:!1)}});else{var Xt=L&&J.name!==$;!d(function(){J(1)})||!d(function(){new J(-1)})||d(function(){return new J,new J(1.5),new J(NaN),J.length!==1||Xt&&!D})?(nt=function(ht){return g(this,_),N(new J(m(ht)),this,nt)},nt[H]=_,_.constructor=nt,T(nt,J)):Xt&&D&&u(J,"name",$),P&&I(lt)!==gt&&P(lt,gt);var Vt=new dt(new nt(2)),Ut=n(lt.setInt8);Vt.setInt8(0,2147483648),Vt.setInt8(1,2147483649),(Vt.getInt8(0)||!Vt.getInt8(1))&&v(lt,{setInt8:function(ht,rt){Ut(this,ht,rt<<24>>24)},setUint8:function(ht,rt){Ut(this,ht,rt<<24>>24)}},{unsafe:!0})}C(nt,$),C(dt,w),i.exports={ArrayBuffer:nt,DataView:dt}},81499:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628),o=t(12384),s=Math.min;i.exports=[].copyWithin||function(l,v){var d=r(this),g=a(d),y=n(l,g),p=n(v,g),m=arguments.length>2?arguments[2]:void 0,E=s((m===void 0?g:n(m,g))-p,g-y),S=1;for(p0;)p in d?d[y]=d[p]:o(d,y),y+=S,p+=S;return d}},43011:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628);i.exports=function(s){for(var u=r(this),l=a(u),v=arguments.length,d=n(v>1?arguments[1]:void 0,l),g=v>2?arguments[2]:void 0,y=g===void 0?l:n(g,l);y>d;)u[d++]=s;return u}},13349:function(i,h,t){var r=t(66655).forEach,n=t(6148),a=n("forEach");i.exports=a?[].forEach:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}},5220:function(i,h,t){var r=t(82628);i.exports=function(n,a,o){for(var s=0,u=arguments.length>2?o:r(a),l=new n(u);u>s;)l[s]=a[s++];return l}},48258:function(i,h,t){var r=t(45526),n=t(96499),a=t(49671),o=t(39969),s=t(48199),u=t(11051),l=t(82628),v=t(84082),d=t(90619),g=t(81077),y=Array;i.exports=function(m){var E=a(m),S=u(this),I=arguments.length,P=I>1?arguments[1]:void 0,A=P!==void 0;A&&(P=r(P,I>2?arguments[2]:void 0));var R=g(E),N=0,T,C,b,L,D,$;if(R&&!(this===y&&s(R)))for(C=S?new this:[],L=d(E,R),D=L.next;!(b=n(D,L)).done;N++)$=A?o(L,P,[b.value,N],!0):b.value,v(C,N,$);else for(T=l(E),C=S?new this(T):y(T);T>N;N++)$=A?P(E[N],N):E[N],v(C,N,$);return C.length=N,C}},94319:function(i,h,t){var r=t(36859),n=t(4652),a=t(82628),o=function(s){return function(u,l,v){var d=r(u),g=a(d);if(g===0)return!s&&-1;var y=n(v,g),p;if(s&&l!==l){for(;g>y;)if(p=d[y++],p!==p)return!0}else for(;g>y;y++)if((s||y in d)&&d[y]===l)return s||y||0;return!s&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},73849:function(i,h,t){var r=t(45526),n=t(72181),a=t(49671),o=t(82628),s=function(u){var l=u===1;return function(v,d,g){for(var y=a(v),p=n(y),m=o(p),E=r(d,g),S,I;m-- >0;)if(S=p[m],I=E(S,m,y),I)switch(u){case 0:return S;case 1:return m}return l?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},66655:function(i,h,t){var r=t(45526),n=t(11286),a=t(72181),o=t(49671),s=t(82628),u=t(62083),l=n([].push),v=function(d){var g=d===1,y=d===2,p=d===3,m=d===4,E=d===6,S=d===7,I=d===5||E;return function(P,A,R,N){for(var T=o(P),C=a(T),b=s(C),L=r(A,R),D=0,$=N||u,w=g?$(P,b):y||S?$(P,0):void 0,H,U;b>D;D++)if((I||D in C)&&(H=C[D],U=L(H,D,T),d))if(g)w[D]=U;else if(U)switch(d){case 3:return!0;case 5:return H;case 6:return D;case 2:l(w,H)}else switch(d){case 4:return!1;case 7:l(w,H)}return E?-1:p||m?m:w}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(i,h,t){var r=t(66543),n=t(36859),a=t(12105),o=t(82628),s=t(6148),u=Math.min,l=[].lastIndexOf,v=!!l&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),g=v||!d;i.exports=g?function(p){if(v)return r(l,this,arguments)||0;var m=n(this),E=o(m);if(E===0)return-1;var S=E-1;for(arguments.length>1&&(S=u(S,a(arguments[1]))),S<0&&(S=E+S);S>=0;S--)if(S in m&&m[S]===p)return S||0;return-1}:l},52183:function(i,h,t){var r=t(72069),n=t(18565),a=t(73126),o=n("species");i.exports=function(s){return a>=51||!r(function(){var u=[],l=u.constructor={};return l[o]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},6148:function(i,h,t){var r=t(72069);i.exports=function(n,a){var o=[][n];return!!o&&r(function(){o.call(null,a||function(){return 1},1)})}},97264:function(i,h,t){var r=t(85156),n=t(49671),a=t(72181),o=t(82628),s=TypeError,u="Reduce of empty array with no initial value",l=function(v){return function(d,g,y,p){var m=n(d),E=a(m),S=o(m);if(r(g),S===0&&y<2)throw new s(u);var I=v?S-1:0,P=v?-1:1;if(y<2)for(;;){if(I in E){p=E[I],I+=P;break}if(I+=P,v?I<0:S<=I)throw new s(u)}for(;v?I>=0:S>I;I+=P)I in E&&(p=g(p,E[I],I,m));return p}};i.exports={left:l(!1),right:l(!0)}},2213:function(i,h,t){var r=t(92986),n=t(3438),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,l){if(n(u)&&!o(u,"length").writable)throw new a("Cannot set read only .length");return u.length=l}:function(u,l){return u.length=l}},22806:function(i,h,t){var r=t(11286);i.exports=r([].slice)},13270:function(i,h,t){var r=t(22806),n=Math.floor,a=function(o,s){var u=o.length;if(u<8)for(var l=1,v,d;l0;)o[d]=o[--d];d!==l++&&(o[d]=v)}else for(var g=n(u/2),y=a(r(o,0,g),s),p=a(r(o,g),s),m=y.length,E=p.length,S=0,I=0;S=v||g<0)throw new a("Incorrect index");for(var y=new s(v),p=0;p1?arguments[1]:void 0),U;U=U?U.next:w.first;)for(H(U.value,U.key,this);U&&U.removed;)U=U.previous},has:function($){return!!L(this,$)}}),a(T,A?{get:function($){var w=L(this,$);return w&&w.value},set:function($,w){return b(this,$===0?0:$,w)}}:{add:function($){return b(this,$=$===0?0:$,$)}}),y&&n(T,"size",{configurable:!0,get:function(){return C(this).size}}),N},setStrong:function(I,P,A){var R=P+" Iterator",N=S(P),T=S(R);v(I,P,function(C,b){E(this,{type:R,target:C,state:N(C),kind:b,last:void 0})},function(){for(var C=T(this),b=C.kind,L=C.last;L&&L.removed;)L=L.previous;return!C.target||!(C.last=L=L?L.next:C.state.first)?(C.target=void 0,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},A?"entries":"values",!A,!0),g(P)}}},94667:function(i,h,t){var r=t(11286),n=t(2725),a=t(31853).getWeakData,o=t(12833),s=t(25001),u=t(5683),l=t(37540),v=t(55902),d=t(66655),g=t(94879),y=t(82367),p=y.set,m=y.getterFor,E=d.find,S=d.findIndex,I=r([].splice),P=0,A=function(T){return T.frozen||(T.frozen=new R)},R=function(){this.entries=[]},N=function(T,C){return E(T.entries,function(b){return b[0]===C})};R.prototype={get:function(T){var C=N(this,T);if(C)return C[1]},has:function(T){return!!N(this,T)},set:function(T,C){var b=N(this,T);b?b[1]=C:this.entries.push([T,C])},delete:function(T){var C=S(this.entries,function(b){return b[0]===T});return~C&&I(this.entries,C,1),!!~C}},i.exports={getConstructor:function(T,C,b,L){var D=T(function(U,B){o(U,$),p(U,{type:C,id:P++,frozen:void 0}),u(B)||v(B,U[L],{that:U,AS_ENTRIES:b})}),$=D.prototype,w=m(C),H=function(U,B,j){var Y=w(U),k=a(s(B),!0);return k===!0?A(Y).set(B,j):k[Y.id]=j,U};return n($,{delete:function(U){var B=w(this);if(!l(U))return!1;var j=a(U);return j===!0?A(B).delete(U):j&&g(j,B.id)&&delete j[B.id]},has:function(B){var j=w(this);if(!l(B))return!1;var Y=a(B);return Y===!0?A(j).has(B):Y&&g(Y,j.id)}}),n($,b?{get:function(B){var j=w(this);if(l(B)){var Y=a(B);return Y===!0?A(j).get(B):Y?Y[j.id]:void 0}},set:function(B,j){return H(this,B,j)}}:{add:function(B){return H(this,B,!0)}}),D}}},89378:function(i,h,t){var r=t(14304),n=t(66009),a=t(11286),o=t(13278),s=t(16142),u=t(31853),l=t(55902),v=t(12833),d=t(23583),g=t(5683),y=t(37540),p=t(72069),m=t(97494),E=t(78401),S=t(32345);i.exports=function(I,P,A){var R=I.indexOf("Map")!==-1,N=I.indexOf("Weak")!==-1,T=R?"set":"add",C=n[I],b=C&&C.prototype,L=C,D={},$=function(k){var J=a(b[k]);s(b,k,k==="add"?function(_){return J(this,_===0?0:_),this}:k==="delete"?function(nt){return N&&!y(nt)?!1:J(this,nt===0?0:nt)}:k==="get"?function(_){return N&&!y(_)?void 0:J(this,_===0?0:_)}:k==="has"?function(_){return N&&!y(_)?!1:J(this,_===0?0:_)}:function(_,dt){return J(this,_===0?0:_,dt),this})},w=o(I,!d(C)||!(N||b.forEach&&!p(function(){new C().entries().next()})));if(w)L=A.getConstructor(P,I,R,T),u.enable();else if(o(I,!0)){var H=new L,U=H[T](N?{}:-0,1)!==H,B=p(function(){H.has(1)}),j=m(function(k){new C(k)}),Y=!N&&p(function(){for(var k=new C,J=5;J--;)k[T](J,J);return!k.has(-0)});j||(L=P(function(k,J){v(k,b);var nt=S(new C,k,L);return g(J)||l(J,nt[T],{that:nt,AS_ENTRIES:R}),nt}),L.prototype=b,b.constructor=L),(B||Y)&&($("delete"),$("has"),R&&$("get")),(Y||U)&&$(T),N&&b.clear&&delete b.clear}return D[I]=L,r({global:!0,constructor:!0,forced:L!==C},D),E(L,I),N||A.setStrong(L,I,R),L}},93706:function(i,h,t){var r=t(94879),n=t(16885),a=t(71349),o=t(7831);i.exports=function(s,u,l){for(var v=n(u),d=o.f,g=a.f,y=0;y"+g+""}},10659:function(i){i.exports=function(h,t){return{value:h,done:t}}},90809:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=r?function(o,s,u){return n.f(o,s,a(1,u))}:function(o,s,u){return o[s]=u,o}},18526:function(i){i.exports=function(h,t){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:t}}},84082:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=function(o,s,u){r?n.f(o,s,a(0,u)):o[s]=u}},11890:function(i,h,t){var r=t(11286),n=t(72069),a=t(61607).start,o=RangeError,s=isFinite,u=Math.abs,l=Date.prototype,v=l.toISOString,d=r(l.getTime),g=r(l.getUTCDate),y=r(l.getUTCFullYear),p=r(l.getUTCHours),m=r(l.getUTCMilliseconds),E=r(l.getUTCMinutes),S=r(l.getUTCMonth),I=r(l.getUTCSeconds);i.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!s(d(this)))throw new o("Invalid time value");var A=this,R=y(A),N=m(A),T=R<0?"-":R>9999?"+":"";return T+a(u(R),T?6:4,0)+"-"+a(S(A)+1,2,0)+"-"+a(g(A),2,0)+"T"+a(p(A),2,0)+":"+a(E(A),2,0)+":"+a(I(A),2,0)+"."+a(N,3,0)+"Z"}:v},84306:function(i,h,t){var r=t(25001),n=t(2064),a=TypeError;i.exports=function(o){if(r(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new a("Incorrect hint");return n(this,o)}},85500:function(i,h,t){var r=t(13749),n=t(7831);i.exports=function(a,o,s){return s.get&&r(s.get,o,{getter:!0}),s.set&&r(s.set,o,{setter:!0}),n.f(a,o,s)}},16142:function(i,h,t){var r=t(23583),n=t(7831),a=t(13749),o=t(36003);i.exports=function(s,u,l,v){v||(v={});var d=v.enumerable,g=v.name!==void 0?v.name:u;if(r(l)&&a(l,g,v),v.global)d?s[u]=l:o(u,l);else{try{v.unsafe?s[u]&&(d=!0):delete s[u]}catch(y){}d?s[u]=l:n.f(s,u,{value:l,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return s}},2725:function(i,h,t){var r=t(16142);i.exports=function(n,a,o){for(var s in a)r(n,s,a[s],o);return n}},36003:function(i,h,t){var r=t(66009),n=Object.defineProperty;i.exports=function(a,o){try{n(r,a,{value:o,configurable:!0,writable:!0})}catch(s){r[a]=o}return o}},12384:function(i,h,t){var r=t(82453),n=TypeError;i.exports=function(a,o){if(!delete a[o])throw new n("Cannot delete property "+r(o)+" of "+r(a))}},92986:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(i,h,t){var r=t(66009),n=t(18096),a=t(99050),o=r.structuredClone,s=r.ArrayBuffer,u=r.MessageChannel,l=!1,v,d,g,y;if(a)l=function(p){o(p,{transfer:[p]})};else if(s)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(d=new u,g=new s(2),y=function(p){d.port1.postMessage(null,[p])},g.byteLength===2&&(y(g),g.byteLength===0&&(l=y)))}catch(p){}i.exports=l},85501:function(i,h,t){var r=t(66009),n=t(37540),a=r.document,o=n(a)&&n(a.createElement);i.exports=function(s){return o?a.createElement(s):{}}},20095:function(i){var h=TypeError,t=9007199254740991;i.exports=function(r){if(r>t)throw h("Maximum allowed index exceeded");return r}},74408:function(i){i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(i,h,t){var r=t(85501),n=r("span").classList,a=n&&n.constructor&&n.constructor.prototype;i.exports=a===Object.prototype?void 0:a},54040:function(i,h,t){var r=t(89042),n=r.match(/firefox\/(\d+)/i);i.exports=!!n&&+n[1]},63144:function(i,h,t){var r=t(56422),n=t(42954);i.exports=!r&&!n&&typeof window=="object"&&typeof document=="object"},5017:function(i){i.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(i){i.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(i,h,t){var r=t(89042);i.exports=/MSIE|Trident/.test(r)},92150:function(i,h,t){var r=t(89042);i.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},51149:function(i,h,t){var r=t(89042);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},42954:function(i,h,t){var r=t(66009),n=t(14274);i.exports=n(r.process)==="process"},81539:function(i,h,t){var r=t(89042);i.exports=/web0s(?!.*chrome)/i.test(r)},89042:function(i){i.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(i,h,t){var r=t(66009),n=t(89042),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,u=s&&s.v8,l,v;u&&(l=u.split("."),v=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!v&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(v=+l[1]))),i.exports=v},68674:function(i,h,t){var r=t(89042),n=r.match(/AppleWebKit\/(\d+)\./);i.exports=!!n&&+n[1]},75785:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(i,h,t){var r=t(11286),n=Error,a=r("".replace),o=function(l){return String(new n(l).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);i.exports=function(l,v){if(u&&typeof l=="string"&&!n.prepareStackTrace)for(;v--;)l=a(l,s,"");return l}},97077:function(i,h,t){var r=t(90809),n=t(40851),a=t(16929),o=Error.captureStackTrace;i.exports=function(s,u,l,v){a&&(o?o(s,u):r(s,"stack",n(l,v)))}},16929:function(i,h,t){var r=t(72069),n=t(18526);i.exports=!r(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",n(1,7)),a.stack!==7):!0})},58434:function(i,h,t){var r=t(92986),n=t(72069),a=t(25001),o=t(15453),s=Error.prototype.toString,u=n(function(){if(r){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(s.call(l)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var v=a(this),d=o(v.name,"Error"),g=o(v.message);return d?g?d+": "+g:d:g}:s},14304:function(i,h,t){var r=t(66009),n=t(71349).f,a=t(90809),o=t(16142),s=t(36003),u=t(93706),l=t(13278);i.exports=function(v,d){var g=v.target,y=v.global,p=v.stat,m,E,S,I,P,A;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(P=d[S],v.dontCallGetSet?(A=n(E,S),I=A&&A.value):I=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&I!==void 0){if(typeof P==typeof I)continue;u(P,I)}(v.sham||I&&I.sham)&&a(P,"sham",!0),o(E,S,P,v)}}},72069:function(i){i.exports=function(h){try{return!!h()}catch(t){return!0}}},63194:function(i,h,t){t(31145);var r=t(96499),n=t(16142),a=t(44381),o=t(72069),s=t(18565),u=t(90809),l=s("species"),v=RegExp.prototype;i.exports=function(d,g,y,p){var m=s(d),E=!o(function(){var A={};return A[m]=function(){return 7},""[d](A)!==7}),S=E&&!o(function(){var A=!1,R=/a/;return d==="split"&&(R={},R.constructor={},R.constructor[l]=function(){return R},R.flags="",R[m]=/./[m]),R.exec=function(){return A=!0,null},R[m](""),!A});if(!E||!S||y){var I=/./[m],P=g(m,""[d],function(A,R,N,T,C){var b=R.exec;return b===a||b===v.exec?E&&!C?{done:!0,value:r(I,R,N,T)}:{done:!0,value:r(A,N,R,T)}:{done:!1}});n(String.prototype,d,P[0]),n(v,m,P[1])}p&&u(v[m],"sham",!0)}},53149:function(i,h,t){var r=t(3438),n=t(82628),a=t(20095),o=t(45526),s=function(u,l,v,d,g,y,p,m){for(var E=g,S=0,I=p?o(p,m):!1,P,A;S0&&r(P)?(A=n(P),E=s(u,l,P,A,E,y-1)-1):(a(E+1),u[E]=P),E++),S++;return E};i.exports=s},27534:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(i,h,t){var r=t(87878),n=Function.prototype,a=n.apply,o=n.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},45526:function(i,h,t){var r=t(77422),n=t(85156),a=t(87878),o=r(r.bind);i.exports=function(s,u){return n(s),u===void 0?s:a?o(s,u):function(){return s.apply(u,arguments)}}},87878:function(i,h,t){var r=t(72069);i.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(i,h,t){var r=t(11286),n=t(85156),a=t(37540),o=t(94879),s=t(22806),u=t(87878),l=Function,v=r([].concat),d=r([].join),g={},y=function(p,m,E){if(!o(g,m)){for(var S=[],I=0;I]*>)/g,v=/\$([$&'`]|\d{1,2})/g;i.exports=function(d,g,y,p,m,E){var S=y+d.length,I=p.length,P=v;return m!==void 0&&(m=n(m),P=l),s(E,P,function(A,R){var N;switch(o(R,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":N=m[u(R,1,-1)];break;default:var T=+R;if(T===0)return A;if(T>I){var C=a(T/10);return C===0?A:C<=I?p[C-1]===void 0?o(R,1):p[C-1]+o(R,1):A}N=p[T-1]}return N===void 0?"":N})}},66009:function(i){var h=function(t){return t&&t.Math===Math&&t};i.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof global=="object"&&global)||h(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(i,h,t){var r=t(11286),n=t(49671),a=r({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return a(n(s),u)}},19423:function(i){i.exports={}},99095:function(i){i.exports=function(h,t){try{arguments.length===1?console.error(h):console.error(h,t)}catch(r){}}},96439:function(i,h,t){var r=t(38941);i.exports=r("document","documentElement")},52515:function(i,h,t){var r=t(92986),n=t(72069),a=t(85501);i.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(i){var h=Array,t=Math.abs,r=Math.pow,n=Math.floor,a=Math.log,o=Math.LN2,s=function(l,v,d){var g=h(d),y=d*8-v-1,p=(1<>1,E=v===23?r(2,-24)-r(2,-77):0,S=l<0||l===0&&1/l<0?1:0,I=0,P,A,R;for(l=t(l),l!==l||l===1/0?(A=l!==l?1:0,P=p):(P=n(a(l)/o),R=r(2,-P),l*R<1&&(P--,R*=2),P+m>=1?l+=E/R:l+=E*r(2,1-m),l*R>=2&&(P++,R/=2),P+m>=p?(A=0,P=p):P+m>=1?(A=(l*R-1)*r(2,v),P+=m):(A=l*r(2,m-1)*r(2,v),P=0));v>=8;)g[I++]=A&255,A/=256,v-=8;for(P=P<0;)g[I++]=P&255,P/=256,y-=8;return g[--I]|=S*128,g},u=function(l,v){var d=l.length,g=d*8-v-1,y=(1<>1,m=g-7,E=d-1,S=l[E--],I=S&127,P;for(S>>=7;m>0;)I=I*256+l[E--],m-=8;for(P=I&(1<<-m)-1,I>>=-m,m+=v;m>0;)P=P*256+l[E--],m-=8;if(I===0)I=1-p;else{if(I===y)return P?NaN:S?-1/0:1/0;P+=r(2,v),I-=p}return(S?-1:1)*P*r(2,I-v)};i.exports={pack:s,unpack:u}},72181:function(i,h,t){var r=t(11286),n=t(72069),a=t(14274),o=Object,s=r("".split);i.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?s(u,""):o(u)}:o},32345:function(i,h,t){var r=t(23583),n=t(37540),a=t(15861);i.exports=function(o,s,u){var l,v;return a&&r(l=s.constructor)&&l!==u&&n(v=l.prototype)&&v!==u.prototype&&a(o,v),o}},84352:function(i,h,t){var r=t(11286),n=t(23583),a=t(70443),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(s){return o(s)}),i.exports=a.inspectSource},31486:function(i,h,t){var r=t(37540),n=t(90809);i.exports=function(a,o){r(o)&&"cause"in o&&n(a,"cause",o.cause)}},31853:function(i,h,t){var r=t(14304),n=t(11286),a=t(19423),o=t(37540),s=t(94879),u=t(7831).f,l=t(83258),v=t(92880),d=t(28174),g=t(36374),y=t(27534),p=!1,m=g("meta"),E=0,S=function(T){u(T,m,{value:{objectID:"O"+E++,weakData:{}}})},I=function(T,C){if(!o(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!s(T,m)){if(!d(T))return"F";if(!C)return"E";S(T)}return T[m].objectID},P=function(T,C){if(!s(T,m)){if(!d(T))return!0;if(!C)return!1;S(T)}return T[m].weakData},A=function(T){return y&&p&&d(T)&&!s(T,m)&&S(T),T},R=function(){N.enable=function(){},p=!0;var T=l.f,C=n([].splice),b={};b[m]=1,T(b).length&&(l.f=function(L){for(var D=T(L),$=0,w=D.length;$D;D++)if(w=j(E[D]),w&&l(m,w))return w;return new p(!1)}b=v(E,L)}for(H=R?E.next:b.next;!(U=n(H,b)).done;){try{w=j(U.value)}catch(Y){g(b,"throw",Y)}if(typeof w=="object"&&w&&l(m,w))return w}return new p(!1)}},99797:function(i,h,t){var r=t(96499),n=t(25001),a=t(10512);i.exports=function(o,s,u){var l,v;n(o);try{if(l=a(o,"return"),!l){if(s==="throw")throw u;return u}l=r(l,o)}catch(d){v=!0,l=d}if(s==="throw")throw u;if(v)throw l;return n(l),u}},26820:function(i,h,t){var r=t(24519).IteratorPrototype,n=t(5406),a=t(18526),o=t(78401),s=t(29107),u=function(){return this};i.exports=function(l,v,d,g){var y=v+" Iterator";return l.prototype=n(r,{next:a(+!g,d)}),o(l,y,!1,!0),s[y]=u,l}},10218:function(i,h,t){var r=t(14304),n=t(96499),a=t(70457),o=t(86588),s=t(23583),u=t(26820),l=t(26313),v=t(15861),d=t(78401),g=t(90809),y=t(16142),p=t(18565),m=t(29107),E=t(24519),S=o.PROPER,I=o.CONFIGURABLE,P=E.IteratorPrototype,A=E.BUGGY_SAFARI_ITERATORS,R=p("iterator"),N="keys",T="values",C="entries",b=function(){return this};i.exports=function(L,D,$,w,H,U,B){u($,D,w);var j=function(It){if(It===H&&_)return _;if(!A&&It&&It in J)return J[It];switch(It){case N:return function(){return new $(this,It)};case T:return function(){return new $(this,It)};case C:return function(){return new $(this,It)}}return function(){return new $(this)}},Y=D+" Iterator",k=!1,J=L.prototype,nt=J[R]||J["@@iterator"]||H&&J[H],_=!A&&nt||j(H),dt=D==="Array"&&J.entries||nt,lt,gt,St;if(dt&&(lt=l(dt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==P&&(v?v(lt,P):s(lt[R])||y(lt,R,b)),d(lt,Y,!0,!0),a&&(m[Y]=b))),S&&H===T&&nt&&nt.name!==T&&(!a&&I?g(J,"name",T):(k=!0,_=function(){return n(nt,this)})),H)if(gt={values:j(T),keys:U?_:j(N),entries:j(C)},B)for(St in gt)(A||k||!(St in J))&&y(J,St,gt[St]);else r({target:D,proto:!0,forced:A||k},gt);return(!a||B)&&J[R]!==_&&y(J,R,_,{name:H}),m[D]=_,gt}},24519:function(i,h,t){var r=t(72069),n=t(23583),a=t(37540),o=t(5406),s=t(26313),u=t(16142),l=t(18565),v=t(70457),d=l("iterator"),g=!1,y,p,m;[].keys&&(m=[].keys(),"next"in m?(p=s(s(m)),p!==Object.prototype&&(y=p)):g=!0);var E=!a(y)||r(function(){var S={};return y[d].call(S)!==S});E?y={}:v&&(y=o(y)),n(y[d])||u(y,d,function(){return this}),i.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g}},29107:function(i){i.exports={}},82628:function(i,h,t){var r=t(45344);i.exports=function(n){return r(n.length)}},13749:function(i,h,t){var r=t(11286),n=t(72069),a=t(23583),o=t(94879),s=t(92986),u=t(86588).CONFIGURABLE,l=t(84352),v=t(82367),d=v.enforce,g=v.get,y=String,p=Object.defineProperty,m=r("".slice),E=r("".replace),S=r([].join),I=s&&!n(function(){return p(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),A=i.exports=function(R,N,T){m(y(N),0,7)==="Symbol("&&(N="["+E(y(N),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(N="get "+N),T&&T.setter&&(N="set "+N),(!o(R,"name")||u&&R.name!==N)&&(s?p(R,"name",{value:N,configurable:!0}):R.name=N),I&&T&&o(T,"arity")&&R.length!==T.arity&&p(R,"length",{value:T.arity});try{T&&o(T,"constructor")&&T.constructor?s&&p(R,"prototype",{writable:!1}):R.prototype&&(R.prototype=void 0)}catch(b){}var C=d(R);return o(C,"source")||(C.source=S(P,typeof N=="string"?N:"")),R};Function.prototype.toString=A(function(){return a(this)&&g(this).source||l(this)},"toString")},1774:function(i,h,t){var r=t(11286),n=Map.prototype;i.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(i){var h=Math.expm1,t=Math.exp;i.exports=!h||h(10)>22025.465794806718||h(10)<22025.465794806718||h(-2e-17)!==-2e-17?function(n){var a=+n;return a===0?a:a>-1e-6&&a<1e-6?a+a*a/2:t(a)-1}:h},10418:function(i,h,t){var r=t(93976),n=Math.abs,a=2220446049250313e-31,o=1/a,s=function(u){return u+o-o};i.exports=function(u,l,v,d){var g=+u,y=n(g),p=r(g);if(yv||E!==E?p*(1/0):p*E}},93279:function(i,h,t){var r=t(10418),n=11920928955078125e-23,a=34028234663852886e22,o=11754943508222875e-54;i.exports=Math.fround||function(u){return r(u,n,a,o)}},41942:function(i){var h=Math.log,t=Math.LOG10E;i.exports=Math.log10||function(n){return h(n)*t}},49366:function(i){var h=Math.log;i.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:h(1+n)}},93976:function(i){i.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(i){var h=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(n){var a=+n;return(a>0?t:h)(a)}},9709:function(i,h,t){var r=t(66009),n=t(28167),a=t(45526),o=t(23115).set,s=t(76895),u=t(51149),l=t(92150),v=t(81539),d=t(42954),g=r.MutationObserver||r.WebKitMutationObserver,y=r.document,p=r.process,m=r.Promise,E=n("queueMicrotask"),S,I,P,A,R;if(!E){var N=new s,T=function(){var C,b;for(d&&(C=p.domain)&&C.exit();b=N.get();)try{b()}catch(L){throw N.head&&S(),L}C&&C.enter()};!u&&!d&&!v&&g&&y?(I=!0,P=y.createTextNode(""),new g(T).observe(P,{characterData:!0}),S=function(){P.data=I=!I}):!l&&m&&m.resolve?(A=m.resolve(void 0),A.constructor=m,R=a(A.then,A),S=function(){R(T)}):d?S=function(){p.nextTick(T)}:(o=a(o,r),S=function(){o(T)}),E=function(C){N.head||S(),N.add(C)}}i.exports=E},24649:function(i,h,t){var r=t(85156),n=TypeError,a=function(o){var s,u;this.promise=new o(function(l,v){if(s!==void 0||u!==void 0)throw new n("Bad Promise constructor");s=l,u=v}),this.resolve=r(s),this.reject=r(u)};i.exports.f=function(o){return new a(o)}},15453:function(i,h,t){var r=t(17361);i.exports=function(n,a){return n===void 0?arguments.length<2?"":a:r(n)}},92337:function(i,h,t){var r=t(11566),n=TypeError;i.exports=function(a){if(r(a))throw new n("The method doesn't accept regular expressions");return a}},98074:function(i,h,t){var r=t(66009),n=r.isFinite;i.exports=Number.isFinite||function(o){return typeof o=="number"&&n(o)}},25838:function(i,h,t){var r=t(66009),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=a("".charAt),v=r.parseFloat,d=r.Symbol,g=d&&d.iterator,y=1/v(u+"-0")!==-1/0||g&&!n(function(){v(Object(g))});i.exports=y?function(m){var E=s(o(m)),S=v(E);return S===0&&l(E,0)==="-"?-0:S}:v},23009:function(i,h,t){var r=t(66009),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=r.parseInt,v=r.Symbol,d=v&&v.iterator,g=/^[+-]?0x/i,y=a(g.exec),p=l(u+"08")!==8||l(u+"0x16")!==22||d&&!n(function(){l(Object(d))});i.exports=p?function(E,S){var I=s(o(E));return l(I,S>>>0||(y(g,I)?16:10))}:l},16667:function(i,h,t){var r=t(92986),n=t(11286),a=t(96499),o=t(72069),s=t(18350),u=t(24943),l=t(79591),v=t(49671),d=t(72181),g=Object.assign,y=Object.defineProperty,p=n([].concat);i.exports=!g||o(function(){if(r&&g({b:1},g(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},E={},S=Symbol("assign detection"),I="abcdefghijklmnopqrst";return m[S]=7,I.split("").forEach(function(P){E[P]=P}),g({},m)[S]!==7||s(g({},E)).join("")!==I})?function(E,S){for(var I=v(E),P=arguments.length,A=1,R=u.f,N=l.f;P>A;)for(var T=d(arguments[A++]),C=R?p(s(T),R(T)):s(T),b=C.length,L=0,D;b>L;)D=C[L++],(!r||a(N,T,D))&&(I[D]=T[D]);return I}:g},5406:function(i,h,t){var r=t(25001),n=t(61963),a=t(75785),o=t(19423),s=t(96439),u=t(85501),l=t(44869),v=">",d="<",g="prototype",y="script",p=l("IE_PROTO"),m=function(){},E=function(R){return d+y+v+R+d+"/"+y+v},S=function(R){R.write(E("")),R.close();var N=R.parentWindow.Object;return R=null,N},I=function(){var R=u("iframe"),N="java"+y+":",T;return R.style.display="none",s.appendChild(R),R.src=String(N),T=R.contentWindow.document,T.open(),T.write(E("document.F=Object")),T.close(),T.F},P,A=function(){try{P=new ActiveXObject("htmlfile")}catch(N){}A=typeof document!="undefined"?document.domain&&P?S(P):I():S(P);for(var R=a.length;R--;)delete A[g][a[R]];return A()};o[p]=!0,i.exports=Object.create||function(N,T){var C;return N!==null?(m[g]=r(N),C=new m,m[g]=null,C[p]=N):C=A(),T===void 0?C:n.f(C,T)}},61963:function(i,h,t){var r=t(92986),n=t(356),a=t(7831),o=t(25001),s=t(36859),u=t(18350);h.f=r&&!n?Object.defineProperties:function(v,d){o(v);for(var g=s(d),y=u(d),p=y.length,m=0,E;p>m;)a.f(v,E=y[m++],g[E]);return v}},7831:function(i,h,t){var r=t(92986),n=t(52515),a=t(356),o=t(25001),s=t(50035),u=TypeError,l=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",y="writable";h.f=r?a?function(m,E,S){if(o(m),E=s(E),o(S),typeof m=="function"&&E==="prototype"&&"value"in S&&y in S&&!S[y]){var I=v(m,E);I&&I[y]&&(m[E]=S.value,S={configurable:g in S?S[g]:I[g],enumerable:d in S?S[d]:I[d],writable:!1})}return l(m,E,S)}:l:function(m,E,S){if(o(m),E=s(E),o(S),n)try{return l(m,E,S)}catch(I){}if("get"in S||"set"in S)throw new u("Accessors not supported");return"value"in S&&(m[E]=S.value),m}},71349:function(i,h,t){var r=t(92986),n=t(96499),a=t(79591),o=t(18526),s=t(36859),u=t(50035),l=t(94879),v=t(52515),d=Object.getOwnPropertyDescriptor;h.f=r?d:function(y,p){if(y=s(y),p=u(p),v)try{return d(y,p)}catch(m){}if(l(y,p))return o(!n(a.f,y,p),y[p])}},92880:function(i,h,t){var r=t(14274),n=t(36859),a=t(83258).f,o=t(22806),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch(v){return o(s)}};i.exports.f=function(v){return s&&r(v)==="Window"?u(v):a(n(v))}},83258:function(i,h,t){var r=t(6242),n=t(75785),a=n.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(s){return r(s,a)}},24943:function(i,h){h.f=Object.getOwnPropertySymbols},26313:function(i,h,t){var r=t(94879),n=t(23583),a=t(49671),o=t(44869),s=t(87501),u=o("IE_PROTO"),l=Object,v=l.prototype;i.exports=s?l.getPrototypeOf:function(d){var g=a(d);if(r(g,u))return g[u];var y=g.constructor;return n(y)&&g instanceof y?y.prototype:g instanceof l?v:null}},28174:function(i,h,t){var r=t(72069),n=t(37540),a=t(14274),o=t(72058),s=Object.isExtensible,u=r(function(){s(1)});i.exports=u||o?function(v){return!n(v)||o&&a(v)==="ArrayBuffer"?!1:s?s(v):!0}:s},95307:function(i,h,t){var r=t(11286);i.exports=r({}.isPrototypeOf)},6242:function(i,h,t){var r=t(11286),n=t(94879),a=t(36859),o=t(94319).indexOf,s=t(19423),u=r([].push);i.exports=function(l,v){var d=a(l),g=0,y=[],p;for(p in d)!n(s,p)&&n(d,p)&&u(y,p);for(;v.length>g;)n(d,p=v[g++])&&(~o(y,p)||u(y,p));return y}},18350:function(i,h,t){var r=t(6242),n=t(75785);i.exports=Object.keys||function(o){return r(o,n)}},79591:function(i,h){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);h.f=n?function(o){var s=r(this,o);return!!s&&s.enumerable}:t},57629:function(i,h,t){var r=t(70457),n=t(66009),a=t(72069),o=t(68674);i.exports=r||!a(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete n[s]}})},15861:function(i,h,t){var r=t(84756),n=t(37540),a=t(2068),o=t(53408);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,u={},l;try{l=r(Object.prototype,"__proto__","set"),l(u,[]),s=u instanceof Array}catch(v){}return function(d,g){return a(d),o(g),n(d)&&(s?l(d,g):d.__proto__=g),d}}():void 0)},8511:function(i,h,t){var r=t(92986),n=t(72069),a=t(11286),o=t(26313),s=t(18350),u=t(36859),l=t(79591).f,v=a(l),d=a([].push),g=r&&n(function(){var p=Object.create(null);return p[2]=2,!v(p,2)}),y=function(p){return function(m){for(var E=u(m),S=s(E),I=g&&o(E)===null,P=S.length,A=0,R=[],N;P>A;)N=S[A++],(!r||(I?N in E:v(E,N)))&&d(R,p?[N,E[N]]:E[N]);return R}};i.exports={entries:y(!0),values:y(!1)}},60105:function(i,h,t){var r=t(67878),n=t(9205);i.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(i,h,t){var r=t(96499),n=t(23583),a=t(37540),o=TypeError;i.exports=function(s,u){var l,v;if(u==="string"&&n(l=s.toString)&&!a(v=r(l,s))||n(l=s.valueOf)&&!a(v=r(l,s))||u!=="string"&&n(l=s.toString)&&!a(v=r(l,s)))return v;throw new o("Can't convert object to primitive value")}},16885:function(i,h,t){var r=t(38941),n=t(11286),a=t(83258),o=t(24943),s=t(25001),u=n([].concat);i.exports=r("Reflect","ownKeys")||function(v){var d=a.f(s(v)),g=o.f;return g?u(d,g(v)):d}},75081:function(i,h,t){var r=t(66009);i.exports=r},67805:function(i){i.exports=function(h){try{return{error:!1,value:h()}}catch(t){return{error:!0,value:t}}}},37130:function(i,h,t){var r=t(66009),n=t(98844),a=t(23583),o=t(13278),s=t(84352),u=t(18565),l=t(63144),v=t(56422),d=t(70457),g=t(73126),y=n&&n.prototype,p=u("species"),m=!1,E=a(r.PromiseRejectionEvent),S=o("Promise",function(){var I=s(n),P=I!==String(n);if(!P&&g===66||d&&!(y.catch&&y.finally))return!0;if(!g||g<51||!/native code/.test(I)){var A=new n(function(T){T(1)}),R=function(T){T(function(){},function(){})},N=A.constructor={};if(N[p]=R,m=A.then(function(){})instanceof R,!m)return!0}return!P&&(l||v)&&!E});i.exports={CONSTRUCTOR:S,REJECTION_EVENT:E,SUBCLASSING:m}},98844:function(i,h,t){var r=t(66009);i.exports=r.Promise},87408:function(i,h,t){var r=t(25001),n=t(37540),a=t(24649);i.exports=function(o,s){if(r(o),n(s)&&s.constructor===o)return s;var u=a.f(o),l=u.resolve;return l(s),u.promise}},26035:function(i,h,t){var r=t(98844),n=t(97494),a=t(37130).CONSTRUCTOR;i.exports=a||!n(function(o){r.all(o).then(void 0,function(){})})},2594:function(i,h,t){var r=t(7831).f;i.exports=function(n,a,o){o in n||r(n,o,{configurable:!0,get:function(){return a[o]},set:function(s){a[o]=s}})}},76895:function(i){var h=function(){this.head=null,this.tail=null};h.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},i.exports=h},33064:function(i,h,t){var r=t(96499),n=t(25001),a=t(23583),o=t(14274),s=t(44381),u=TypeError;i.exports=function(l,v){var d=l.exec;if(a(d)){var g=r(d,l,v);return g!==null&&n(g),g}if(o(l)==="RegExp")return r(s,l,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(i,h,t){var r=t(96499),n=t(11286),a=t(17361),o=t(29833),s=t(39807),u=t(96731),l=t(5406),v=t(82367).get,d=t(76769),g=t(85220),y=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,E=n("".charAt),S=n("".indexOf),I=n("".replace),P=n("".slice),A=function(){var C=/a/,b=/b*/g;return r(p,C,"a"),r(p,b,"a"),C.lastIndex!==0||b.lastIndex!==0}(),R=s.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,T=A||N||R||d||g;T&&(m=function(b){var L=this,D=v(L),$=a(b),w=D.raw,H,U,B,j,Y,k,J;if(w)return w.lastIndex=L.lastIndex,H=r(m,w,$),L.lastIndex=w.lastIndex,H;var nt=D.groups,_=R&&L.sticky,dt=r(o,L),lt=L.source,gt=0,St=$;if(_&&(dt=I(dt,"y",""),S(dt,"g")===-1&&(dt+="g"),St=P($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` `)&&(lt="(?: "+lt+")",St=" "+St,gt++),U=new RegExp("^(?:"+lt+")",dt)),N&&(U=new RegExp("^"+lt+"$(?!\\s)",dt)),A&&(B=L.lastIndex),j=r(p,_?U:L,St),_?j?(j.input=P(j.input,gt),j[0]=P(j[0],gt),j.index=L.lastIndex,L.lastIndex+=j[0].length):L.lastIndex=0:A&&j&&(L.lastIndex=L.global?j.index+j[0].length:B),N&&j&&j.length>1&&r(y,j[0],U,function(){for(Y=1;Yb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},2068:function(i,h,t){var r=t(5683),n=TypeError;i.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a}},28167:function(i,h,t){var r=t(66009),n=t(92986),a=Object.getOwnPropertyDescriptor;i.exports=function(o){if(!n)return r[o];var s=a(r,o);return s&&s.value}},13944:function(i){i.exports=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}},9934:function(i,h,t){var r=t(66009),n=t(66543),a=t(23583),o=t(5017),s=t(89042),u=t(22806),l=t(95486),v=r.Function,d=/MSIE .\./.test(s)||o&&function(){var g=r.Bun.version.split(".");return g.length<3||g[0]==="0"&&(g[1]<3||g[1]==="3"&&g[2]==="0")}();i.exports=function(g,y){var p=y?2:1;return d?function(m,E){var S=l(arguments.length,1)>p,I=a(m)?m:v(m),P=S?u(arguments,p):[],A=S?function(){n(I,this,P)}:I;return y?g(A,E):g(A)}:g}},48348:function(i,h,t){var r=t(172),n=t(35051),a=r.Set,o=r.add;i.exports=function(s){var u=new a;return n(s,function(l){o(u,l)}),u}},41754:function(i,h,t){var r=t(76602),n=t(172),a=t(48348),o=t(17768),s=t(65263),u=t(35051),l=t(9573),v=n.has,d=n.remove;i.exports=function(y){var p=r(this),m=s(y),E=a(p);return o(p)<=m.size?u(p,function(S){m.includes(S)&&d(E,S)}):l(m.getIterator(),function(S){v(p,S)&&d(E,S)}),E}},172:function(i,h,t){var r=t(11286),n=Set.prototype;i.exports={Set,add:r(n.add),has:r(n.has),remove:r(n.delete),proto:n}},92292:function(i,h,t){var r=t(76602),n=t(172),a=t(17768),o=t(65263),s=t(35051),u=t(9573),l=n.Set,v=n.add,d=n.has;i.exports=function(y){var p=r(this),m=o(y),E=new l;return a(p)>m.size?u(m.getIterator(),function(S){d(p,S)&&v(E,S)}):s(p,function(S){m.includes(S)&&v(E,S)}),E}},47391:function(i,h,t){var r=t(76602),n=t(172).has,a=t(17768),o=t(65263),s=t(35051),u=t(9573),l=t(99797);i.exports=function(d){var g=r(this),y=o(d);if(a(g)<=y.size)return s(g,function(m){if(y.includes(m))return!1},!0)!==!1;var p=y.getIterator();return u(p,function(m){if(n(g,m))return l(p,"normal",!1)})!==!1}},75492:function(i,h,t){var r=t(76602),n=t(17768),a=t(35051),o=t(65263);i.exports=function(u){var l=r(this),v=o(u);return n(l)>v.size?!1:a(l,function(d){if(!v.includes(d))return!1},!0)!==!1}},1333:function(i,h,t){var r=t(76602),n=t(172).has,a=t(17768),o=t(65263),s=t(9573),u=t(99797);i.exports=function(v){var d=r(this),g=o(v);if(a(d)3})}},22149:function(i,h,t){var r=t(11286),n=t(12105),a=t(17361),o=t(2068),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),v=function(d){return function(g,y){var p=a(o(g)),m=n(y),E=p.length,S,I;return m<0||m>=E?d?"":void 0:(S=u(p,m),S<55296||S>56319||m+1===E||(I=u(p,m+1))<56320||I>57343?d?s(p,m):S:d?l(p,m,m+2):(S-55296<<10)+(I-56320)+65536)}};i.exports={codeAt:v(!1),charAt:v(!0)}},36945:function(i,h,t){var r=t(89042);i.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},61607:function(i,h,t){var r=t(11286),n=t(45344),a=t(17361),o=t(79719),s=t(2068),u=r(o),l=r("".slice),v=Math.ceil,d=function(g){return function(y,p,m){var E=a(s(y)),S=n(p),I=E.length,P=m===void 0?" ":a(m),A,R;return S<=I||P===""?E:(A=S-I,R=u(P,v(A/P.length)),R.length>A&&(R=l(R,0,A)),g?E+R:R+E)}};i.exports={start:d(!1),end:d(!0)}},38679:function(i,h,t){var r=t(11286),n=2147483647,a=36,o=1,s=26,u=38,l=700,v=72,d=128,g="-",y=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m="Overflow: input needs wider integers to process",E=a-o,S=RangeError,I=r(p.exec),P=Math.floor,A=String.fromCharCode,R=r("".charCodeAt),N=r([].join),T=r([].push),C=r("".replace),b=r("".split),L=r("".toLowerCase),D=function(U){for(var B=[],j=0,Y=U.length;j=55296&&k<=56319&&j>1,U+=P(U/B);U>E*s>>1;)U=P(U/E),Y+=a;return P(Y+(E+1)*U/(U+u))},H=function(U){var B=[];U=D(U);var j=U.length,Y=d,k=0,J=v,nt,_;for(nt=0;nt=Y&&_P((n-k)/St))throw new S(m);for(k+=(gt-Y)*St,Y=gt,nt=0;ntn)throw new S(m);if(_===Y){for(var It=k,Gt=a;;){var jt=Gt<=J?o:Gt>=J+s?s:Gt-J;if(It0;(d>>>=1)&&(l+=l))d&1&&(v+=l);return v}},75176:function(i,h,t){var r=t(85900).end,n=t(33328);i.exports=n("trimEnd")?function(){return r(this)}:"".trimEnd},33328:function(i,h,t){var r=t(86588).PROPER,n=t(72069),a=t(77082),o="\u200B\x85\u180E";i.exports=function(s){return n(function(){return!!a[s]()||o[s]()!==o||r&&a[s].name!==s})}},83481:function(i,h,t){var r=t(85900).start,n=t(33328);i.exports=n("trimStart")?function(){return r(this)}:"".trimStart},85900:function(i,h,t){var r=t(11286),n=t(2068),a=t(17361),o=t(77082),s=r("".replace),u=RegExp("^["+o+"]+"),l=RegExp("(^|[^"+o+"])["+o+"]+$"),v=function(d){return function(g){var y=a(n(g));return d&1&&(y=s(y,u,"")),d&2&&(y=s(y,l,"$1")),y}};i.exports={start:v(1),end:v(2),trim:v(3)}},99050:function(i,h,t){var r=t(66009),n=t(72069),a=t(73126),o=t(63144),s=t(56422),u=t(42954),l=r.structuredClone;i.exports=!!l&&!n(function(){if(s&&a>92||u&&a>94||o&&a>97)return!1;var v=new ArrayBuffer(8),d=l(v,{transfer:[v]});return v.byteLength!==0||d.byteLength!==8})},39729:function(i,h,t){var r=t(73126),n=t(72069),a=t(66009),o=a.String;i.exports=!!Object.getOwnPropertySymbols&&!n(function(){var s=Symbol("symbol detection");return!o(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&r&&r<41})},60796:function(i,h,t){var r=t(96499),n=t(38941),a=t(18565),o=t(16142);i.exports=function(){var s=n("Symbol"),u=s&&s.prototype,l=u&&u.valueOf,v=a("toPrimitive");u&&!u[v]&&o(u,v,function(d){return r(l,this)},{arity:1})}},61190:function(i,h,t){var r=t(39729);i.exports=r&&!!Symbol.for&&!!Symbol.keyFor},23115:function(i,h,t){var r=t(66009),n=t(66543),a=t(45526),o=t(23583),s=t(94879),u=t(72069),l=t(96439),v=t(22806),d=t(85501),g=t(95486),y=t(51149),p=t(42954),m=r.setImmediate,E=r.clearImmediate,S=r.process,I=r.Dispatch,P=r.Function,A=r.MessageChannel,R=r.String,N=0,T={},C="onreadystatechange",b,L,D,$;u(function(){b=r.location});var w=function(j){if(s(T,j)){var Y=T[j];delete T[j],Y()}},H=function(j){return function(){w(j)}},U=function(j){w(j.data)},B=function(j){r.postMessage(R(j),b.protocol+"//"+b.host)};(!m||!E)&&(m=function(Y){g(arguments.length,1);var k=o(Y)?Y:P(Y),J=v(arguments,1);return T[++N]=function(){n(k,void 0,J)},L(N),N},E=function(Y){delete T[Y]},p?L=function(j){S.nextTick(H(j))}:I&&I.now?L=function(j){I.now(H(j))}:A&&!y?(D=new A,$=D.port2,D.port1.onmessage=U,L=a($.postMessage,$)):r.addEventListener&&o(r.postMessage)&&!r.importScripts&&b&&b.protocol!=="file:"&&!u(B)?(L=B,r.addEventListener("message",U,!1)):C in d("script")?L=function(j){l.appendChild(d("script"))[C]=function(){l.removeChild(this),w(j)}}:L=function(j){setTimeout(H(j),0)}),i.exports={set:m,clear:E}},34338:function(i,h,t){var r=t(11286);i.exports=r(1 .valueOf)},4652:function(i,h,t){var r=t(12105),n=Math.max,a=Math.min;i.exports=function(o,s){var u=r(o);return u<0?n(u+s,0):a(u,s)}},11344:function(i,h,t){var r=t(89935),n=TypeError;i.exports=function(a){var o=r(a,"number");if(typeof o=="number")throw new n("Can't convert number to bigint");return BigInt(o)}},9450:function(i,h,t){var r=t(12105),n=t(45344),a=RangeError;i.exports=function(o){if(o===void 0)return 0;var s=r(o),u=n(s);if(s!==u)throw new a("Wrong length or index");return u}},36859:function(i,h,t){var r=t(72181),n=t(2068);i.exports=function(a){return r(n(a))}},12105:function(i,h,t){var r=t(22459);i.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)}},45344:function(i,h,t){var r=t(12105),n=Math.min;i.exports=function(a){var o=r(a);return o>0?n(o,9007199254740991):0}},49671:function(i,h,t){var r=t(2068),n=Object;i.exports=function(a){return n(r(a))}},58143:function(i,h,t){var r=t(98072),n=RangeError;i.exports=function(a,o){var s=r(a);if(s%o)throw new n("Wrong offset");return s}},98072:function(i,h,t){var r=t(12105),n=RangeError;i.exports=function(a){var o=r(a);if(o<0)throw new n("The argument can't be less than 0");return o}},89935:function(i,h,t){var r=t(96499),n=t(37540),a=t(491),o=t(10512),s=t(2064),u=t(18565),l=TypeError,v=u("toPrimitive");i.exports=function(d,g){if(!n(d)||a(d))return d;var y=o(d,v),p;if(y){if(g===void 0&&(g="default"),p=r(y,d,g),!n(p)||a(p))return p;throw new l("Can't convert object to primitive value")}return g===void 0&&(g="number"),s(d,g)}},50035:function(i,h,t){var r=t(89935),n=t(491);i.exports=function(a){var o=r(a,"string");return n(o)?o:o+""}},67878:function(i,h,t){var r=t(18565),n=r("toStringTag"),a={};a[n]="z",i.exports=String(a)==="[object z]"},17361:function(i,h,t){var r=t(9205),n=String;i.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)}},76517:function(i){var h=Math.round;i.exports=function(t){var r=h(t);return r<0?0:r>255?255:r&255}},18096:function(i,h,t){var r=t(42954);i.exports=function(n){try{if(r)return Function('return require("'+n+'")')()}catch(a){}}},82453:function(i){var h=String;i.exports=function(t){try{return h(t)}catch(r){return"Object"}}},80357:function(i,h,t){var r=t(14304),n=t(66009),a=t(96499),o=t(92986),s=t(46868),u=t(88037),l=t(17468),v=t(12833),d=t(18526),g=t(90809),y=t(613),p=t(45344),m=t(9450),E=t(58143),S=t(76517),I=t(50035),P=t(94879),A=t(9205),R=t(37540),N=t(491),T=t(5406),C=t(95307),b=t(15861),L=t(83258).f,D=t(66169),$=t(66655).forEach,w=t(36167),H=t(85500),U=t(7831),B=t(71349),j=t(5220),Y=t(82367),k=t(32345),J=Y.get,nt=Y.set,_=Y.enforce,dt=U.f,lt=B.f,gt=n.RangeError,St=l.ArrayBuffer,It=St.prototype,Gt=l.DataView,jt=u.NATIVE_ARRAY_BUFFER_VIEWS,Ft=u.TYPED_ARRAY_TAG,vt=u.TypedArray,yt=u.TypedArrayPrototype,Pt=u.isTypedArray,Mt="BYTES_PER_ELEMENT",Ct="Wrong length",Lt=function(Xt,Vt){H(Xt,Vt,{configurable:!0,get:function(){return J(this)[Vt]}})},Zt=function(Xt){var Vt;return C(It,Xt)||(Vt=A(Xt))==="ArrayBuffer"||Vt==="SharedArrayBuffer"},kt=function(Xt,Vt){return Pt(Xt)&&!N(Vt)&&Vt in Xt&&y(+Vt)&&Vt>=0},Kt=function(Vt,Ut){return Ut=I(Ut),kt(Vt,Ut)?d(2,Vt[Ut]):lt(Vt,Ut)},Dt=function(Vt,Ut,st){return Ut=I(Ut),kt(Vt,Ut)&&R(st)&&P(st,"value")&&!P(st,"get")&&!P(st,"set")&&!st.configurable&&(!P(st,"writable")||st.writable)&&(!P(st,"enumerable")||st.enumerable)?(Vt[Ut]=st.value,Vt):dt(Vt,Ut,st)};o?(jt||(B.f=Kt,U.f=Dt,Lt(yt,"buffer"),Lt(yt,"byteOffset"),Lt(yt,"byteLength"),Lt(yt,"length")),r({target:"Object",stat:!0,forced:!jt},{getOwnPropertyDescriptor:Kt,defineProperty:Dt}),i.exports=function(Xt,Vt,Ut){var st=Xt.match(/\d+/)[0]/8,ht=Xt+(Ut?"Clamped":"")+"Array",rt="get"+Xt,Ot="set"+Xt,Tt=n[ht],xt=Tt,pt=xt&&xt.prototype,_t={},rr=function(z,Z){var K=J(z);return K.view[rt](Z*st+K.byteOffset,!0)},Q=function(z,Z,K){var ct=J(z);ct.view[Ot](Z*st+ct.byteOffset,Ut?S(K):K,!0)},ot=function(z,Z){dt(z,Z,{get:function(){return rr(this,Z)},set:function(K){return Q(this,Z,K)},enumerable:!0})};jt?s&&(xt=Vt(function(z,Z,K,ct){return v(z,pt),k(function(){return R(Z)?Zt(Z)?ct!==void 0?new Tt(Z,E(K,st),ct):K!==void 0?new Tt(Z,E(K,st)):new Tt(Z):Pt(Z)?j(xt,Z):a(D,xt,Z):new Tt(m(Z))}(),z,xt)}),b&&b(xt,vt),$(L(Tt),function(z){z in xt||g(xt,z,Tt[z])}),xt.prototype=pt):(xt=Vt(function(z,Z,K,ct){v(z,pt);var At=0,Nt=0,Wt,Jt,Yt;if(!R(Z))Yt=m(Z),Jt=Yt*st,Wt=new St(Jt);else if(Zt(Z)){Wt=Z,Nt=E(K,st);var er=Z.byteLength;if(ct===void 0){if(er%st)throw new gt(Ct);if(Jt=er-Nt,Jt<0)throw new gt(Ct)}else if(Jt=p(ct)*st,Jt+Nt>er)throw new gt(Ct);Yt=Jt/st}else return Pt(Z)?j(xt,Z):a(D,xt,Z);for(nt(z,{buffer:Wt,byteOffset:Nt,byteLength:Jt,length:Yt,view:new Gt(Wt)});At1?arguments[1]:void 0,A=P!==void 0,R=l(S),N,T,C,b,L,D,$,w;if(R&&!v(R))for($=u(S,R),w=$.next,S=[];!(D=n(w,$)).done;)S.push(D.value);for(A&&I>2&&(P=r(P,arguments[2])),T=s(S),C=new(g(E))(T),b=d(C),N=0;T>N;N++)L=A?P(S[N],N):S[N],C[N]=b?y(L):+L;return C}},21822:function(i,h,t){var r=t(88037),n=t(16887),a=r.aTypedArrayConstructor,o=r.getTypedArrayConstructor;i.exports=function(s){return a(n(s,o(s)))}},36374:function(i,h,t){var r=t(11286),n=0,a=Math.random(),o=r(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+o(++n+a,36)}},91918:function(i,h,t){var r=t(72069),n=t(18565),a=t(92986),o=t(70457),s=n("iterator");i.exports=!r(function(){var u=new URL("b?a=1&b=2&c=3","http://a"),l=u.searchParams,v=new URLSearchParams("a=1&a=2&b=3"),d="";return u.pathname="c%20d",l.forEach(function(g,y){l.delete("b"),d+=y+g}),v.delete("a",2),v.delete("b",void 0),o&&(!u.toJSON||!v.has("a",1)||v.has("a",2)||!v.has("a",void 0)||v.has("b"))||!l.size&&(o||!a)||!l.sort||u.href!=="http://a/c%20d?a=1&c=3"||l.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!l[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||d!=="a1c3"||new URL("http://x",void 0).host!=="x"})},50234:function(i,h,t){var r=t(39729);i.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(i,h,t){var r=t(92986),n=t(72069);i.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(i){var h=TypeError;i.exports=function(t,r){if(tR&&g(U,arguments[R]),U});if(D.prototype=b,T!=="Error"?s?s(D,L):u(D,L,{name:!0}):p&&A in C&&(l(D,C,A),l(D,C,"prepareStackTrace")),u(D,C),!m)try{b.name!==T&&a(b,"name",T),b.constructor=D}catch($){}return D}}},27796:function(i,h,t){var r=t(14304),n=t(38941),a=t(66543),o=t(72069),s=t(70003),u="AggregateError",l=n(u),v=!o(function(){return l([1]).errors[0]!==1})&&o(function(){return l([1],u,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:s(u,function(d){return function(y,p){return a(d,this,arguments)}},v,!0)})},85647:function(i,h,t){var r=t(14304),n=t(95307),a=t(26313),o=t(15861),s=t(93706),u=t(5406),l=t(90809),v=t(18526),d=t(31486),g=t(97077),y=t(55902),p=t(15453),m=t(18565),E=m("toStringTag"),S=Error,I=[].push,P=function(N,T){var C=n(A,this),b;o?b=o(new S,C?a(this):A):(b=C?this:u(A),l(b,E,"Error")),T!==void 0&&l(b,"message",p(T)),g(b,P,b.stack,1),arguments.length>2&&d(b,arguments[2]);var L=[];return y(N,I,{that:L}),l(b,"errors",L),b};o?o(P,S):s(P,S,{name:!0});var A=P.prototype=u(S.prototype,{constructor:v(1,P),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:P})},42861:function(i,h,t){t(85647)},35473:function(i,h,t){var r=t(14304),n=t(66009),a=t(17468),o=t(36167),s="ArrayBuffer",u=a[s],l=n[s];r({global:!0,constructor:!0,forced:l!==u},{ArrayBuffer:u}),o(s)},35495:function(i,h,t){var r=t(92986),n=t(85500),a=t(30736),o=ArrayBuffer.prototype;r&&!("detached"in o)&&n(o,"detached",{configurable:!0,get:function(){return a(this)}})},4983:function(i,h,t){var r=t(14304),n=t(88037),a=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!a},{isView:n.isView})},6875:function(i,h,t){var r=t(14304),n=t(77422),a=t(72069),o=t(17468),s=t(25001),u=t(4652),l=t(45344),v=t(16887),d=o.ArrayBuffer,g=o.DataView,y=g.prototype,p=n(d.prototype.slice),m=n(y.getUint8),E=n(y.setUint8),S=a(function(){return!new d(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(P,A){if(p&&A===void 0)return p(s(this),P);for(var R=s(this).byteLength,N=u(P,R),T=u(A===void 0?R:A,R),C=new(v(this,d))(l(T-N)),b=new g(this),L=new g(C),D=0;N=0?g:d+g;return y<0||y>=d?void 0:v[y]}}),s("at")},98700:function(i,h,t){var r=t(14304),n=t(72069),a=t(3438),o=t(37540),s=t(49671),u=t(82628),l=t(20095),v=t(84082),d=t(62083),g=t(52183),y=t(18565),p=t(73126),m=y("isConcatSpreadable"),E=p>=51||!n(function(){var P=[];return P[m]=!1,P.concat()[0]!==P}),S=function(P){if(!o(P))return!1;var A=P[m];return A!==void 0?!!A:a(P)},I=!E||!g("concat");r({target:"Array",proto:!0,arity:1,forced:I},{concat:function(A){var R=s(this),N=d(R,0),T=0,C,b,L,D,$;for(C=-1,L=arguments.length;C1?arguments[1]:void 0)}})},41585:function(i,h,t){var r=t(14304),n=t(43011),a=t(23811);r({target:"Array",proto:!0},{fill:n}),a("fill")},84554:function(i,h,t){var r=t(14304),n=t(66655).filter,a=t(52183),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},33818:function(i,h,t){var r=t(14304),n=t(66655).findIndex,a=t(23811),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{findIndex:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),a(o)},2209:function(i,h,t){var r=t(14304),n=t(73849).findLastIndex,a=t(23811);r({target:"Array",proto:!0},{findLastIndex:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},64096:function(i,h,t){var r=t(14304),n=t(73849).findLast,a=t(23811);r({target:"Array",proto:!0},{findLast:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},36619:function(i,h,t){var r=t(14304),n=t(66655).find,a=t(23811),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{find:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),a(o)},74092:function(i,h,t){var r=t(14304),n=t(53149),a=t(85156),o=t(49671),s=t(82628),u=t(62083);r({target:"Array",proto:!0},{flatMap:function(v){var d=o(this),g=s(d),y;return a(v),y=u(d,0),y.length=n(y,d,d,g,0,1,v,arguments.length>1?arguments[1]:void 0),y}})},91591:function(i,h,t){var r=t(14304),n=t(53149),a=t(49671),o=t(82628),s=t(12105),u=t(62083);r({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,d=a(this),g=o(d),y=u(d,0);return y.length=n(y,d,d,g,0,v===void 0?1:s(v)),y}})},54703:function(i,h,t){var r=t(14304),n=t(13349);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},82936:function(i,h,t){var r=t(14304),n=t(48258),a=t(97494),o=!a(function(s){Array.from(s)});r({target:"Array",stat:!0,forced:o},{from:n})},48493:function(i,h,t){var r=t(14304),n=t(94319).includes,a=t(72069),o=t(23811),s=a(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:s},{includes:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),o("includes")},64730:function(i,h,t){var r=t(14304),n=t(77422),a=t(94319).indexOf,o=t(6148),s=n([].indexOf),u=!!s&&1/s([1],1,-0)<0,l=u||!o("indexOf");r({target:"Array",proto:!0,forced:l},{indexOf:function(d){var g=arguments.length>1?arguments[1]:void 0;return u?s(this,d,g)||0:a(this,d,g)}})},95024:function(i,h,t){var r=t(14304),n=t(3438);r({target:"Array",stat:!0},{isArray:n})},35054:function(i,h,t){var r=t(36859),n=t(23811),a=t(29107),o=t(82367),s=t(7831).f,u=t(10218),l=t(10659),v=t(70457),d=t(92986),g="Array Iterator",y=o.set,p=o.getterFor(g);i.exports=u(Array,"Array",function(E,S){y(this,{type:g,target:r(E),index:0,kind:S})},function(){var E=p(this),S=E.target,I=E.index++;if(!S||I>=S.length)return E.target=void 0,l(void 0,!0);switch(E.kind){case"keys":return l(I,!1);case"values":return l(S[I],!1)}return l([I,S[I]],!1)},"values");var m=a.Arguments=a.Array;if(n("keys"),n("values"),n("entries"),!v&&d&&m.name!=="values")try{s(m,"name",{value:"values"})}catch(E){}},25460:function(i,h,t){var r=t(14304),n=t(11286),a=t(72181),o=t(36859),s=t(6148),u=n([].join),l=a!==Object,v=l||!s("join",",");r({target:"Array",proto:!0,forced:v},{join:function(g){return u(o(this),g===void 0?",":g)}})},60703:function(i,h,t){var r=t(14304),n=t(58465);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},90468:function(i,h,t){var r=t(14304),n=t(66655).map,a=t(52183),o=a("map");r({target:"Array",proto:!0,forced:!o},{map:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},69581:function(i,h,t){var r=t(14304),n=t(72069),a=t(11051),o=t(84082),s=Array,u=n(function(){function l(){}return!(s.of.call(l)instanceof l)});r({target:"Array",stat:!0,forced:u},{of:function(){for(var v=0,d=arguments.length,g=new(a(this)?this:s)(d);d>v;)o(g,v,arguments[v++]);return g.length=d,g}})},720:function(i,h,t){var r=t(14304),n=t(49671),a=t(82628),o=t(2213),s=t(20095),u=t(72069),l=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},d=l||!v();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(y){var p=n(this),m=a(p),E=arguments.length;s(m+E);for(var S=0;S79&&o<83,l=u||!a("reduceRight");r({target:"Array",proto:!0,forced:l},{reduceRight:function(d){return n(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(i,h,t){var r=t(14304),n=t(97264).left,a=t(6148),o=t(73126),s=t(42954),u=!s&&o>79&&o<83,l=u||!a("reduce");r({target:"Array",proto:!0,forced:l},{reduce:function(d){var g=arguments.length;return n(this,d,g,g>1?arguments[1]:void 0)}})},24608:function(i,h,t){var r=t(14304),n=t(11286),a=t(3438),o=n([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o(this)}})},51644:function(i,h,t){var r=t(14304),n=t(3438),a=t(11051),o=t(37540),s=t(4652),u=t(82628),l=t(36859),v=t(84082),d=t(18565),g=t(52183),y=t(22806),p=g("slice"),m=d("species"),E=Array,S=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(P,A){var R=l(this),N=u(R),T=s(P,N),C=s(A===void 0?N:A,N),b,L,D;if(n(R)&&(b=R.constructor,a(b)&&(b===E||n(b.prototype))?b=void 0:o(b)&&(b=b[m],b===null&&(b=void 0)),b===E||b===void 0))return y(R,T,C);for(L=new(b===void 0?E:b)(S(C-T,0)),D=0;T1?arguments[1]:void 0)}})},46828:function(i,h,t){var r=t(14304),n=t(11286),a=t(85156),o=t(49671),s=t(82628),u=t(12384),l=t(17361),v=t(72069),d=t(13270),g=t(6148),y=t(54040),p=t(87216),m=t(73126),E=t(68674),S=[],I=n(S.sort),P=n(S.push),A=v(function(){S.sort(void 0)}),R=v(function(){S.sort(null)}),N=g("sort"),T=!v(function(){if(m)return m<70;if(!(y&&y>3)){if(p)return!0;if(E)return E<603;var L="",D,$,w,H;for(D=65;D<76;D++){switch($=String.fromCharCode(D),D){case 66:case 69:case 70:case 72:w=3;break;case 68:case 71:w=4;break;default:w=2}for(H=0;H<47;H++)S.push({k:$+H,v:w})}for(S.sort(function(U,B){return B.v-U.v}),H=0;Hl($)?1:-1}};r({target:"Array",proto:!0,forced:C},{sort:function(D){D!==void 0&&a(D);var $=o(this);if(T)return D===void 0?I($):I($,D);var w=[],H=s($),U,B;for(B=0;BR-b+C;D--)g(A,D-1)}else if(C>b)for(D=R-b;D>N;D--)$=D+b-1,w=D+C-1,$ in A?A[w]=A[$]:g(A,w);for(D=0;D=0&&d<=99?d+1900:d;return u(this,g)}})},33685:function(i,h,t){var r=t(14304);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(i,h,t){var r=t(14304),n=t(11890);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},96049:function(i,h,t){var r=t(14304),n=t(72069),a=t(49671),o=t(89935),s=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(l){var v=a(this),d=o(v,"number");return typeof d=="number"&&!isFinite(d)?null:v.toISOString()}})},14038:function(i,h,t){var r=t(94879),n=t(16142),a=t(84306),o=t(18565),s=o("toPrimitive"),u=Date.prototype;r(u,s)||n(u,s,a)},55518:function(i,h,t){var r=t(11286),n=t(16142),a=Date.prototype,o="Invalid Date",s="toString",u=r(a[s]),l=r(a.getTime);String(new Date(NaN))!==o&&n(a,s,function(){var d=l(this);return d===d?u(this):o})},81742:function(i,h,t){var r=t(14304),n=t(66009),a=t(66543),o=t(70003),s="WebAssembly",u=n[s],l=new Error("e",{cause:7}).cause!==7,v=function(g,y){var p={};p[g]=o(g,y,l),r({global:!0,constructor:!0,arity:1,forced:l},p)},d=function(g,y){if(u&&u[g]){var p={};p[g]=o(s+"."+g,y,l),r({target:s,stat:!0,constructor:!0,arity:1,forced:l},p)}};v("Error",function(g){return function(p){return a(g,this,arguments)}}),v("EvalError",function(g){return function(p){return a(g,this,arguments)}}),v("RangeError",function(g){return function(p){return a(g,this,arguments)}}),v("ReferenceError",function(g){return function(p){return a(g,this,arguments)}}),v("SyntaxError",function(g){return function(p){return a(g,this,arguments)}}),v("TypeError",function(g){return function(p){return a(g,this,arguments)}}),v("URIError",function(g){return function(p){return a(g,this,arguments)}}),d("CompileError",function(g){return function(p){return a(g,this,arguments)}}),d("LinkError",function(g){return function(p){return a(g,this,arguments)}}),d("RuntimeError",function(g){return function(p){return a(g,this,arguments)}})},8720:function(i,h,t){var r=t(16142),n=t(58434),a=Error.prototype;a.toString!==n&&r(a,"toString",n)},8894:function(i,h,t){var r=t(14304),n=t(11286),a=t(17361),o=n("".charAt),s=n("".charCodeAt),u=n(/./.exec),l=n(1 .toString),v=n("".toUpperCase),d=/[\w*+\-./@]/,g=function(y,p){for(var m=l(y,16);m.length9490626562425156e-8?o(g)+u:n(g-1+s(g-1)*s(g+1))}})},15656:function(i,h,t){var r=t(14304),n=Math.asinh,a=Math.log,o=Math.sqrt;function s(l){var v=+l;return!isFinite(v)||v===0?v:v<0?-s(-v):a(v+o(v*v+1))}var u=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:u},{asinh:s})},22091:function(i,h,t){var r=t(14304),n=Math.atanh,a=Math.log,o=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:o},{atanh:function(u){var l=+u;return l===0?l:a((1+l)/(1-l))/2}})},2886:function(i,h,t){var r=t(14304),n=t(93976),a=Math.abs,o=Math.pow;r({target:"Math",stat:!0},{cbrt:function(u){var l=+u;return n(l)*o(a(l),.3333333333333333)}})},25895:function(i,h,t){var r=t(14304),n=Math.floor,a=Math.log,o=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(u){var l=u>>>0;return l?31-n(a(l+.5)*o):32}})},24228:function(i,h,t){var r=t(14304),n=t(98940),a=Math.cosh,o=Math.abs,s=Math.E,u=!a||a(710)===1/0;r({target:"Math",stat:!0,forced:u},{cosh:function(v){var d=n(o(v)-1)+1;return(d+1/(d*s*s))*(s/2)}})},79488:function(i,h,t){var r=t(14304),n=t(98940);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},75987:function(i,h,t){var r=t(14304),n=t(93279);r({target:"Math",stat:!0},{fround:n})},81555:function(i,h,t){var r=t(14304),n=Math.hypot,a=Math.abs,o=Math.sqrt,s=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(l,v){for(var d=0,g=0,y=arguments.length,p=0,m,E;g0?(E=m/p,d+=E*E):d+=m;return p===1/0?1/0:p*o(d)}})},87854:function(i,h,t){var r=t(14304),n=t(72069),a=Math.imul,o=n(function(){return a(4294967295,5)!==-5||a.length!==2});r({target:"Math",stat:!0,forced:o},{imul:function(u,l){var v=65535,d=+u,g=+l,y=v&d,p=v&g;return 0|y*p+((v&d>>>16)*p+y*(v&g>>>16)<<16>>>0)}})},35074:function(i,h,t){var r=t(14304),n=t(41942);r({target:"Math",stat:!0},{log10:n})},50946:function(i,h,t){var r=t(14304),n=t(49366);r({target:"Math",stat:!0},{log1p:n})},29417:function(i,h,t){var r=t(14304),n=Math.log,a=Math.LN2;r({target:"Math",stat:!0},{log2:function(s){return n(s)/a}})},80628:function(i,h,t){var r=t(14304),n=t(93976);r({target:"Math",stat:!0},{sign:n})},74375:function(i,h,t){var r=t(14304),n=t(72069),a=t(98940),o=Math.abs,s=Math.exp,u=Math.E,l=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:l},{sinh:function(d){var g=+d;return o(g)<1?(a(g)-a(-g))/2:(s(g-1)-s(-g-1))*(u/2)}})},29708:function(i,h,t){var r=t(14304),n=t(98940),a=Math.exp;r({target:"Math",stat:!0},{tanh:function(s){var u=+s,l=n(u),v=n(-u);return l===1/0?1:v===1/0?-1:(l-v)/(a(u)+a(-u))}})},93449:function(i,h,t){var r=t(78401);r(Math,"Math",!0)},9111:function(i,h,t){var r=t(14304),n=t(22459);r({target:"Math",stat:!0},{trunc:n})},83514:function(i,h,t){var r=t(14304),n=t(70457),a=t(92986),o=t(66009),s=t(75081),u=t(11286),l=t(13278),v=t(94879),d=t(32345),g=t(95307),y=t(491),p=t(89935),m=t(72069),E=t(83258).f,S=t(71349).f,I=t(7831).f,P=t(34338),A=t(85900).trim,R="Number",N=o[R],T=s[R],C=N.prototype,b=o.TypeError,L=u("".slice),D=u("".charCodeAt),$=function(Y){var k=p(Y,"number");return typeof k=="bigint"?k:w(k)},w=function(Y){var k=p(Y,"number"),J,nt,_,dt,lt,gt,St,It;if(y(k))throw new b("Cannot convert a Symbol value to a number");if(typeof k=="string"&&k.length>2){if(k=A(k),J=D(k,0),J===43||J===45){if(nt=D(k,2),nt===88||nt===120)return NaN}else if(J===48){switch(D(k,1)){case 66:case 98:_=2,dt=49;break;case 79:case 111:_=8,dt=55;break;default:return+k}for(lt=L(k,2),gt=lt.length,St=0;Stdt)return NaN;return parseInt(lt,_)}}return+k},H=l(R,!N(" 0o1")||!N("0b1")||N("+0x1")),U=function(Y){return g(C,Y)&&m(function(){P(Y)})},B=function(k){var J=arguments.length<1?0:N($(k));return U(this)?d(Object(J),this,B):J};B.prototype=C,H&&!n&&(C.constructor=B),r({global:!0,constructor:!0,wrap:!0,forced:H},{Number:B});var j=function(Y,k){for(var J=a?E(k):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),nt=0,_;J.length>nt;nt++)v(k,_=J[nt])&&!v(Y,_)&&I(Y,_,S(k,_))};n&&T&&j(s[R],T),(H||n)&&j(s[R],N)},15096:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(i,h,t){var r=t(14304),n=t(98074);r({target:"Number",stat:!0},{isFinite:n})},99663:function(i,h,t){var r=t(14304),n=t(613);r({target:"Number",stat:!0},{isInteger:n})},89988:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0},{isNaN:function(a){return a!==a}})},54427:function(i,h,t){var r=t(14304),n=t(613),a=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(s){return n(s)&&a(s)<=9007199254740991}})},67895:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(i,h,t){var r=t(14304),n=t(25838);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},55461:function(i,h,t){var r=t(14304),n=t(23009);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},97339:function(i,h,t){var r=t(14304),n=t(11286),a=t(12105),o=t(34338),s=t(79719),u=t(41942),l=t(72069),v=RangeError,d=String,g=isFinite,y=Math.abs,p=Math.floor,m=Math.pow,E=Math.round,S=n(1 .toExponential),I=n(s),P=n("".slice),A=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",R=function(){return l(function(){S(1,1/0)})&&l(function(){S(1,-1/0)})},N=function(){return!l(function(){S(1/0,1/0),S(NaN,1/0)})},T=!A||!R()||!N();r({target:"Number",proto:!0,forced:T},{toExponential:function(b){var L=o(this);if(b===void 0)return S(L);var D=a(b);if(!g(L))return String(L);if(D<0||D>20)throw new v("Incorrect fraction digits");if(A)return S(L,D);var $="",w="",H=0,U="",B="";if(L<0&&($="-",L=-L),L===0)H=0,w=I("0",D+1);else{var j=u(L);H=p(j);var Y=0,k=m(10,H-D);Y=E(L/k),2*L>=(2*Y+1)*k&&(Y+=1),Y>=m(10,D+1)&&(Y/=10,H+=1),w=d(Y)}return D!==0&&(w=P(w,0,1)+"."+P(w,1)),H===0?(U="+",B="0"):(U=H>0?"+":"-",B=d(y(H))),w+="e"+U+B,$+w}})},3670:function(i,h,t){var r=t(14304),n=t(11286),a=t(12105),o=t(34338),s=t(79719),u=t(72069),l=RangeError,v=String,d=Math.floor,g=n(s),y=n("".slice),p=n(1 .toFixed),m=function(R,N,T){return N===0?T:N%2===1?m(R,N-1,T*R):m(R*R,N/2,T)},E=function(R){for(var N=0,T=R;T>=4096;)N+=12,T/=4096;for(;T>=2;)N+=1,T/=2;return N},S=function(R,N,T){for(var C=-1,b=T;++C<6;)b+=N*R[C],R[C]=b%1e7,b=d(b/1e7)},I=function(R,N){for(var T=6,C=0;--T>=0;)C+=R[T],R[T]=d(C/N),C=C%N*1e7},P=function(R){for(var N=6,T="";--N>=0;)if(T!==""||N===0||R[N]!==0){var C=v(R[N]);T=T===""?C:T+g("0",7-C.length)+C}return T},A=u(function(){return p(8e-5,3)!=="0.000"||p(.9,0)!=="1"||p(1.255,2)!=="1.25"||p(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){p({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(N){var T=o(this),C=a(N),b=[0,0,0,0,0,0],L="",D="0",$,w,H,U;if(C<0||C>20)throw new l("Incorrect fraction digits");if(T!==T)return"NaN";if(T<=-1e21||T>=1e21)return v(T);if(T<0&&(L="-",T=-T),T>1e-21)if($=E(T*m(2,69,1))-69,w=$<0?T*m(2,-$,1):T/m(2,$,1),w*=4503599627370496,$=52-$,$>0){for(S(b,0,w),H=C;H>=7;)S(b,1e7,0),H-=7;for(S(b,m(10,H,1),0),H=$-1;H>=23;)I(b,8388608),H-=23;I(b,1<0?(U=D.length,D=L+(U<=C?"0."+g("0",C-U)+D:y(D,0,U-C)+"."+y(D,U-C))):D=L+D,D}})},15224:function(i,h,t){var r=t(14304),n=t(11286),a=t(72069),o=t(34338),s=n(1 .toPrecision),u=a(function(){return s(1,void 0)!=="1"})||!a(function(){s({})});r({target:"Number",proto:!0,forced:u},{toPrecision:function(v){return v===void 0?s(o(this)):s(o(this),v)}})},45891:function(i,h,t){var r=t(14304),n=t(16667);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},99910:function(i,h,t){var r=t(14304),n=t(92986),a=t(5406);r({target:"Object",stat:!0,sham:!n},{create:a})},92445:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(85156),s=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:a},{__defineGetter__:function(v,d){u.f(s(this),v,{get:o(d),enumerable:!0,configurable:!0})}})},21875:function(i,h,t){var r=t(14304),n=t(92986),a=t(61963).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!n},{defineProperties:a})},4383:function(i,h,t){var r=t(14304),n=t(92986),a=t(7831).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!n},{defineProperty:a})},11361:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(85156),s=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:a},{__defineSetter__:function(v,d){u.f(s(this),v,{set:o(d),enumerable:!0,configurable:!0})}})},13728:function(i,h,t){var r=t(14304),n=t(8511).entries;r({target:"Object",stat:!0},{entries:function(o){return n(o)}})},14885:function(i,h,t){var r=t(14304),n=t(27534),a=t(72069),o=t(37540),s=t(31853).onFreeze,u=Object.freeze,l=a(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!n},{freeze:function(d){return u&&o(d)?u(s(d)):d}})},30343:function(i,h,t){var r=t(14304),n=t(55902),a=t(84082);r({target:"Object",stat:!0},{fromEntries:function(s){var u={};return n(s,function(l,v){a(u,l,v)},{AS_ENTRIES:!0}),u}})},22045:function(i,h,t){var r=t(14304),n=t(72069),a=t(36859),o=t(71349).f,s=t(92986),u=!s||n(function(){o(1)});r({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(v,d){return o(a(v),d)}})},75e3:function(i,h,t){var r=t(14304),n=t(92986),a=t(16885),o=t(36859),s=t(71349),u=t(84082);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(v){for(var d=o(v),g=s.f,y=a(d),p={},m=0,E,S;y.length>m;)S=g(d,E=y[m++]),S!==void 0&&u(p,E,S);return p}})},64658:function(i,h,t){var r=t(14304),n=t(72069),a=t(92880).f,o=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:a})},45223:function(i,h,t){var r=t(14304),n=t(39729),a=t(72069),o=t(24943),s=t(49671),u=!n||a(function(){o.f(1)});r({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(v){var d=o.f;return d?d(s(v)):[]}})},16017:function(i,h,t){var r=t(14304),n=t(72069),a=t(49671),o=t(26313),s=t(87501),u=n(function(){o(1)});r({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(v){return o(a(v))}})},84681:function(i,h,t){var r=t(14304),n=t(38941),a=t(11286),o=t(85156),s=t(2068),u=t(50035),l=t(55902),v=t(72069),d=Object.groupBy,g=n("Object","create"),y=a([].push),p=!d||v(function(){return d("ab",function(m){return m}).a.length!==1});r({target:"Object",stat:!0,forced:p},{groupBy:function(E,S){s(E),o(S);var I=g(null),P=0;return l(E,function(A){var R=u(S(A,P++));R in I?y(I[R],A):I[R]=[A]}),I}})},73421:function(i,h,t){var r=t(14304),n=t(94879);r({target:"Object",stat:!0},{hasOwn:n})},31046:function(i,h,t){var r=t(14304),n=t(28174);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},94645:function(i,h,t){var r=t(14304),n=t(72069),a=t(37540),o=t(14274),s=t(72058),u=Object.isFrozen,l=s||n(function(){u(1)});r({target:"Object",stat:!0,forced:l},{isFrozen:function(d){return!a(d)||s&&o(d)==="ArrayBuffer"?!0:u?u(d):!1}})},62935:function(i,h,t){var r=t(14304),n=t(72069),a=t(37540),o=t(14274),s=t(72058),u=Object.isSealed,l=s||n(function(){u(1)});r({target:"Object",stat:!0,forced:l},{isSealed:function(d){return!a(d)||s&&o(d)==="ArrayBuffer"?!0:u?u(d):!1}})},93446:function(i,h,t){var r=t(14304),n=t(13944);r({target:"Object",stat:!0},{is:n})},62518:function(i,h,t){var r=t(14304),n=t(49671),a=t(18350),o=t(72069),s=o(function(){a(1)});r({target:"Object",stat:!0,forced:s},{keys:function(l){return a(n(l))}})},45130:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(49671),s=t(50035),u=t(26313),l=t(71349).f;n&&r({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(d){var g=o(this),y=s(d),p;do if(p=l(g,y))return p.get;while(g=u(g))}})},51542:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(49671),s=t(50035),u=t(26313),l=t(71349).f;n&&r({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(d){var g=o(this),y=s(d),p;do if(p=l(g,y))return p.set;while(g=u(g))}})},43781:function(i,h,t){var r=t(14304),n=t(37540),a=t(31853).onFreeze,o=t(27534),s=t(72069),u=Object.preventExtensions,l=s(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!o},{preventExtensions:function(d){return u&&n(d)?u(a(d)):d}})},25738:function(i,h,t){var r=t(92986),n=t(85500),a=t(37540),o=t(52427),s=t(49671),u=t(2068),l=Object.getPrototypeOf,v=Object.setPrototypeOf,d=Object.prototype,g="__proto__";if(r&&l&&v&&!(g in d))try{n(d,g,{configurable:!0,get:function(){return l(s(this))},set:function(p){var m=u(this);o(p)&&a(m)&&v(m,p)}})}catch(y){}},93247:function(i,h,t){var r=t(14304),n=t(37540),a=t(31853).onFreeze,o=t(27534),s=t(72069),u=Object.seal,l=s(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!o},{seal:function(d){return u&&n(d)?u(a(d)):d}})},41533:function(i,h,t){var r=t(14304),n=t(15861);r({target:"Object",stat:!0},{setPrototypeOf:n})},60225:function(i,h,t){var r=t(67878),n=t(16142),a=t(60105);r||n(Object.prototype,"toString",a,{unsafe:!0})},69920:function(i,h,t){var r=t(14304),n=t(8511).values;r({target:"Object",stat:!0},{values:function(o){return n(o)}})},89205:function(i,h,t){var r=t(14304),n=t(25838);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},78546:function(i,h,t){var r=t(14304),n=t(23009);r({global:!0,forced:parseInt!==n},{parseInt:n})},16893:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{allSettled:function(d){var g=this,y=o.f(g),p=y.resolve,m=y.reject,E=s(function(){var S=a(g.resolve),I=[],P=0,A=1;u(d,function(R){var N=P++,T=!1;A++,n(S,g,R).then(function(C){T||(T=!0,I[N]={status:"fulfilled",value:C},--A||p(I))},function(C){T||(T=!0,I[N]={status:"rejected",reason:C},--A||p(I))})}),--A||p(I)});return E.error&&m(E.value),y.promise}})},11733:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{all:function(d){var g=this,y=o.f(g),p=y.resolve,m=y.reject,E=s(function(){var S=a(g.resolve),I=[],P=0,A=1;u(d,function(R){var N=P++,T=!1;A++,n(S,g,R).then(function(C){T||(T=!0,I[N]=C,--A||p(I))},m)}),--A||p(I)});return E.error&&m(E.value),y.promise}})},3676:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(38941),s=t(24649),u=t(67805),l=t(55902),v=t(26035),d="No one promise resolved";r({target:"Promise",stat:!0,forced:v},{any:function(y){var p=this,m=o("AggregateError"),E=s.f(p),S=E.resolve,I=E.reject,P=u(function(){var A=a(p.resolve),R=[],N=0,T=1,C=!1;l(y,function(b){var L=N++,D=!1;T++,n(A,p,b).then(function($){D||C||(C=!0,S($))},function($){D||C||(D=!0,R[L]=$,--T||I(new m(R,d)))})}),--T||I(new m(R,d))});return P.error&&I(P.value),E.promise}})},14013:function(i,h,t){var r=t(14304),n=t(70457),a=t(37130).CONSTRUCTOR,o=t(98844),s=t(38941),u=t(23583),l=t(16142),v=o&&o.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(g){return this.then(void 0,g)}}),!n&&u(o)){var d=s("Promise").prototype.catch;v.catch!==d&&l(v,"catch",d,{unsafe:!0})}},20238:function(i,h,t){var r=t(14304),n=t(70457),a=t(42954),o=t(66009),s=t(96499),u=t(16142),l=t(15861),v=t(78401),d=t(36167),g=t(85156),y=t(23583),p=t(37540),m=t(12833),E=t(16887),S=t(23115).set,I=t(9709),P=t(99095),A=t(67805),R=t(76895),N=t(82367),T=t(98844),C=t(37130),b=t(24649),L="Promise",D=C.CONSTRUCTOR,$=C.REJECTION_EVENT,w=C.SUBCLASSING,H=N.getterFor(L),U=N.set,B=T&&T.prototype,j=T,Y=B,k=o.TypeError,J=o.document,nt=o.process,_=b.f,dt=_,lt=!!(J&&J.createEvent&&o.dispatchEvent),gt="unhandledrejection",St="rejectionhandled",It=0,Gt=1,jt=2,Ft=1,vt=2,yt,Pt,Mt,Ct,Lt=function(rt){var Ot;return p(rt)&&y(Ot=rt.then)?Ot:!1},Zt=function(rt,Ot){var Tt=Ot.value,xt=Ot.state===Gt,pt=xt?rt.ok:rt.fail,_t=rt.resolve,rr=rt.reject,Q=rt.domain,ot,it,z;try{pt?(xt||(Ot.rejection===vt&&Vt(Ot),Ot.rejection=Ft),pt===!0?ot=Tt:(Q&&Q.enter(),ot=pt(Tt),Q&&(Q.exit(),z=!0)),ot===rt.promise?rr(new k("Promise-chain cycle")):(it=Lt(ot))?s(it,ot,_t,rr):_t(ot)):rr(Tt)}catch(Z){Q&&!z&&Q.exit(),rr(Z)}},kt=function(rt,Ot){rt.notified||(rt.notified=!0,I(function(){for(var Tt=rt.reactions,xt;xt=Tt.get();)Zt(xt,rt);rt.notified=!1,Ot&&!rt.rejection&&Dt(rt)}))},Kt=function(rt,Ot,Tt){var xt,pt;lt?(xt=J.createEvent("Event"),xt.promise=Ot,xt.reason=Tt,xt.initEvent(rt,!1,!0),o.dispatchEvent(xt)):xt={promise:Ot,reason:Tt},!$&&(pt=o["on"+rt])?pt(xt):rt===gt&&P("Unhandled promise rejection",Tt)},Dt=function(rt){s(S,o,function(){var Ot=rt.facade,Tt=rt.value,xt=Xt(rt),pt;if(xt&&(pt=A(function(){a?nt.emit("unhandledRejection",Tt,Ot):Kt(gt,Ot,Tt)}),rt.rejection=a||Xt(rt)?vt:Ft,pt.error))throw pt.value})},Xt=function(rt){return rt.rejection!==Ft&&!rt.parent},Vt=function(rt){s(S,o,function(){var Ot=rt.facade;a?nt.emit("rejectionHandled",Ot):Kt(St,Ot,rt.value)})},Ut=function(rt,Ot,Tt){return function(xt){rt(Ot,xt,Tt)}},st=function(rt,Ot,Tt){rt.done||(rt.done=!0,Tt&&(rt=Tt),rt.value=Ot,rt.state=jt,kt(rt,!0))},ht=function(rt,Ot,Tt){if(!rt.done){rt.done=!0,Tt&&(rt=Tt);try{if(rt.facade===Ot)throw new k("Promise can't be resolved itself");var xt=Lt(Ot);xt?I(function(){var pt={done:!1};try{s(xt,Ot,Ut(ht,pt,rt),Ut(st,pt,rt))}catch(_t){st(pt,_t,rt)}}):(rt.value=Ot,rt.state=Gt,kt(rt,!1))}catch(pt){st({done:!1},pt,rt)}}};if(D&&(j=function(Ot){m(this,Y),g(Ot),s(yt,this);var Tt=H(this);try{Ot(Ut(ht,Tt),Ut(st,Tt))}catch(xt){st(Tt,xt)}},Y=j.prototype,yt=function(Ot){U(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:It,value:void 0})},yt.prototype=u(Y,"then",function(Ot,Tt){var xt=H(this),pt=_(E(this,j));return xt.parent=!0,pt.ok=y(Ot)?Ot:!0,pt.fail=y(Tt)&&Tt,pt.domain=a?nt.domain:void 0,xt.state===It?xt.reactions.add(pt):I(function(){Zt(pt,xt)}),pt.promise}),Pt=function(){var rt=new yt,Ot=H(rt);this.promise=rt,this.resolve=Ut(ht,Ot),this.reject=Ut(st,Ot)},b.f=_=function(rt){return rt===j||rt===Mt?new Pt(rt):dt(rt)},!n&&y(T)&&B!==Object.prototype)){Ct=B.then,w||u(B,"then",function(Ot,Tt){var xt=this;return new j(function(pt,_t){s(Ct,xt,pt,_t)}).then(Ot,Tt)},{unsafe:!0});try{delete B.constructor}catch(rt){}l&&l(B,Y)}r({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:j}),v(j,L,!1,!0),d(L)},58361:function(i,h,t){var r=t(14304),n=t(70457),a=t(98844),o=t(72069),s=t(38941),u=t(23583),l=t(16887),v=t(87408),d=t(16142),g=a&&a.prototype,y=!!a&&o(function(){g.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:y},{finally:function(m){var E=l(this,s("Promise")),S=u(m);return this.then(S?function(I){return v(E,m()).then(function(){return I})}:m,S?function(I){return v(E,m()).then(function(){throw I})}:m)}}),!n&&u(a)){var p=s("Promise").prototype.finally;g.finally!==p&&d(g,"finally",p,{unsafe:!0})}},63616:function(i,h,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{race:function(d){var g=this,y=o.f(g),p=y.reject,m=s(function(){var E=a(g.resolve);u(d,function(S){n(E,g,S).then(y.resolve,p)})});return m.error&&p(m.value),y.promise}})},36027:function(i,h,t){var r=t(14304),n=t(24649),a=t(37130).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:a},{reject:function(s){var u=n.f(this),l=u.reject;return l(s),u.promise}})},97282:function(i,h,t){var r=t(14304),n=t(38941),a=t(70457),o=t(98844),s=t(37130).CONSTRUCTOR,u=t(87408),l=n("Promise"),v=a&&!s;r({target:"Promise",stat:!0,forced:a||s},{resolve:function(g){return u(v&&this===l?o:this,g)}})},23958:function(i,h,t){var r=t(14304),n=t(24649);r({target:"Promise",stat:!0},{withResolvers:function(){var o=n.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})},9798:function(i,h,t){var r=t(14304),n=t(66543),a=t(85156),o=t(25001),s=t(72069),u=!s(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:u},{apply:function(v,d,g){return n(a(v),d,o(g))}})},2371:function(i,h,t){var r=t(14304),n=t(38941),a=t(66543),o=t(91384),s=t(80042),u=t(25001),l=t(37540),v=t(5406),d=t(72069),g=n("Reflect","construct"),y=Object.prototype,p=[].push,m=d(function(){function I(){}return!(g(function(){},[],I)instanceof I)}),E=!d(function(){g(function(){})}),S=m||E;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(P,A){s(P),u(A);var R=arguments.length<3?P:s(arguments[2]);if(E&&!m)return g(P,A,R);if(P===R){switch(A.length){case 0:return new P;case 1:return new P(A[0]);case 2:return new P(A[0],A[1]);case 3:return new P(A[0],A[1],A[2]);case 4:return new P(A[0],A[1],A[2],A[3])}var N=[null];return a(p,N,A),new(a(o,P,N))}var T=R.prototype,C=v(l(T)?T:y),b=a(P,C,A);return l(b)?b:C}})},76185:function(i,h,t){var r=t(14304),n=t(92986),a=t(25001),o=t(50035),s=t(7831),u=t(72069),l=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:l,sham:!n},{defineProperty:function(d,g,y){a(d);var p=o(g);a(y);try{return s.f(d,p,y),!0}catch(m){return!1}}})},76553:function(i,h,t){var r=t(14304),n=t(25001),a=t(71349).f;r({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var l=a(n(s),u);return l&&!l.configurable?!1:delete s[u]}})},25227:function(i,h,t){var r=t(14304),n=t(92986),a=t(25001),o=t(71349);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(u,l){return o.f(a(u),l)}})},91723:function(i,h,t){var r=t(14304),n=t(25001),a=t(26313),o=t(87501);r({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(u){return a(n(u))}})},93518:function(i,h,t){var r=t(14304),n=t(96499),a=t(37540),o=t(25001),s=t(69745),u=t(71349),l=t(26313);function v(d,g){var y=arguments.length<3?d:arguments[2],p,m;if(o(d)===y)return d[g];if(p=u.f(d,g),p)return s(p)?p.value:p.get===void 0?void 0:n(p.get,y);if(a(m=l(d)))return v(m,g,y)}r({target:"Reflect",stat:!0},{get:v})},57882:function(i,h,t){var r=t(14304);r({target:"Reflect",stat:!0},{has:function(a,o){return o in a}})},37796:function(i,h,t){var r=t(14304),n=t(25001),a=t(28174);r({target:"Reflect",stat:!0},{isExtensible:function(s){return n(s),a(s)}})},11563:function(i,h,t){var r=t(14304),n=t(16885);r({target:"Reflect",stat:!0},{ownKeys:n})},26159:function(i,h,t){var r=t(14304),n=t(38941),a=t(25001),o=t(27534);r({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(u){a(u);try{var l=n("Object","preventExtensions");return l&&l(u),!0}catch(v){return!1}}})},77487:function(i,h,t){var r=t(14304),n=t(25001),a=t(53408),o=t(15861);o&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(u,l){n(u),a(l);try{return o(u,l),!0}catch(v){return!1}}})},20962:function(i,h,t){var r=t(14304),n=t(96499),a=t(25001),o=t(37540),s=t(69745),u=t(72069),l=t(7831),v=t(71349),d=t(26313),g=t(18526);function y(m,E,S){var I=arguments.length<4?m:arguments[3],P=v.f(a(m),E),A,R,N;if(!P){if(o(R=d(m)))return y(R,E,S,I);P=g(0)}if(s(P)){if(P.writable===!1||!o(I))return!1;if(A=v.f(I,E)){if(A.get||A.set||A.writable===!1)return!1;A.value=S,l.f(I,E,A)}else l.f(I,E,g(0,S))}else{if(N=P.set,N===void 0)return!1;n(N,I,S)}return!0}var p=u(function(){var m=function(){},E=l.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,E)!==!1});r({target:"Reflect",stat:!0,forced:p},{set:y})},6130:function(i,h,t){var r=t(14304),n=t(66009),a=t(78401);r({global:!0},{Reflect:{}}),a(n.Reflect,"Reflect",!0)},1354:function(i,h,t){var r=t(92986),n=t(66009),a=t(11286),o=t(13278),s=t(32345),u=t(90809),l=t(5406),v=t(83258).f,d=t(95307),g=t(11566),y=t(17361),p=t(54932),m=t(39807),E=t(2594),S=t(16142),I=t(72069),P=t(94879),A=t(82367).enforce,R=t(36167),N=t(18565),T=t(76769),C=t(85220),b=N("match"),L=n.RegExp,D=L.prototype,$=n.SyntaxError,w=a(D.exec),H=a("".charAt),U=a("".replace),B=a("".indexOf),j=a("".slice),Y=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,J=/a/g,nt=new L(k)!==k,_=m.MISSED_STICKY,dt=m.UNSUPPORTED_Y,lt=r&&(!nt||_||T||C||I(function(){return J[b]=!1,L(k)!==k||L(J)===J||String(L(k,"i"))!=="/a/i"})),gt=function(Ft){for(var vt=Ft.length,yt=0,Pt="",Mt=!1,Ct;yt<=vt;yt++){if(Ct=H(Ft,yt),Ct==="\\"){Pt+=Ct+H(Ft,++yt);continue}!Mt&&Ct==="."?Pt+="[\\s\\S]":(Ct==="["?Mt=!0:Ct==="]"&&(Mt=!1),Pt+=Ct)}return Pt},St=function(Ft){for(var vt=Ft.length,yt=0,Pt="",Mt=[],Ct=l(null),Lt=!1,Zt=!1,kt=0,Kt="",Dt;yt<=vt;yt++){if(Dt=H(Ft,yt),Dt==="\\")Dt+=H(Ft,++yt);else if(Dt==="]")Lt=!1;else if(!Lt)switch(!0){case Dt==="[":Lt=!0;break;case Dt==="(":w(Y,j(Ft,yt+1))&&(yt+=2,Zt=!0),Pt+=Dt,kt++;continue;case(Dt===">"&&Zt):if(Kt===""||P(Ct,Kt))throw new $("Invalid capture group name");Ct[Kt]=!0,Mt[Mt.length]=[Kt,kt],Zt=!1,Kt="";continue}Zt?Kt+=Dt:Pt+=Dt}return[Pt,Mt]};if(o("RegExp",lt)){for(var It=function(vt,yt){var Pt=d(D,this),Mt=g(vt),Ct=yt===void 0,Lt=[],Zt=vt,kt,Kt,Dt,Xt,Vt,Ut;if(!Pt&&Mt&&Ct&&vt.constructor===It)return vt;if((Mt||d(D,vt))&&(vt=vt.source,Ct&&(yt=p(Zt))),vt=vt===void 0?"":y(vt),yt=yt===void 0?"":y(yt),Zt=vt,T&&"dotAll"in k&&(Kt=!!yt&&B(yt,"s")>-1,Kt&&(yt=U(yt,/s/g,""))),kt=yt,_&&"sticky"in k&&(Dt=!!yt&&B(yt,"y")>-1,Dt&&dt&&(yt=U(yt,/y/g,""))),C&&(Xt=St(vt),vt=Xt[0],Lt=Xt[1]),Vt=s(L(vt,yt),Pt?this:D,It),(Kt||Dt||Lt.length)&&(Ut=A(Vt),Kt&&(Ut.dotAll=!0,Ut.raw=It(gt(vt),kt)),Dt&&(Ut.sticky=!0),Lt.length&&(Ut.groups=Lt)),vt!==Zt)try{u(Vt,"source",Zt===""?"(?:)":Zt)}catch(st){}return Vt},Gt=v(L),jt=0;Gt.length>jt;)E(It,L,Gt[jt++]);D.constructor=It,It.prototype=D,S(n,"RegExp",It,{constructor:!0})}R("RegExp")},47119:function(i,h,t){var r=t(92986),n=t(76769),a=t(14274),o=t(85500),s=t(82367).get,u=RegExp.prototype,l=TypeError;r&&n&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(a(this)==="RegExp")return!!s(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},31145:function(i,h,t){var r=t(14304),n=t(44381);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},96773:function(i,h,t){var r=t(66009),n=t(92986),a=t(85500),o=t(29833),s=t(72069),u=r.RegExp,l=u.prototype,v=n&&s(function(){var d=!0;try{u(".","d")}catch(P){d=!1}var g={},y="",p=d?"dgimsy":"gimsy",m=function(P,A){Object.defineProperty(g,P,{get:function(){return y+=A,!0}})},E={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};d&&(E.hasIndices="d");for(var S in E)m(S,E[S]);var I=Object.getOwnPropertyDescriptor(l,"flags").get.call(g);return I!==p||y!==p});v&&a(l,"flags",{configurable:!0,get:o})},14371:function(i,h,t){var r=t(92986),n=t(39807).MISSED_STICKY,a=t(14274),o=t(85500),s=t(82367).get,u=RegExp.prototype,l=TypeError;r&&n&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(a(this)==="RegExp")return!!s(this).sticky;throw new l("Incompatible receiver, RegExp required")}}})},18180:function(i,h,t){t(31145);var r=t(14304),n=t(96499),a=t(23583),o=t(25001),s=t(17361),u=function(){var v=!1,d=/[ac]/;return d.exec=function(){return v=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&v}(),l=/./.test;r({target:"RegExp",proto:!0,forced:!u},{test:function(v){var d=o(this),g=s(v),y=d.exec;if(!a(y))return n(l,d,g);var p=n(y,d,g);return p===null?!1:(o(p),!0)}})},83147:function(i,h,t){var r=t(86588).PROPER,n=t(16142),a=t(25001),o=t(17361),s=t(72069),u=t(54932),l="toString",v=RegExp.prototype,d=v[l],g=s(function(){return d.call({source:"a",flags:"b"})!=="/a/b"}),y=r&&d.name!==l;(g||y)&&n(v,l,function(){var m=a(this),E=o(m.source),S=o(u(m));return"/"+E+"/"+S},{unsafe:!0})},6583:function(i,h,t){var r=t(89378),n=t(34440);r("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},n)},86548:function(i,h,t){var r=t(14304),n=t(41754),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("difference")},{difference:n})},15282:function(i,h,t){var r=t(14304),n=t(72069),a=t(92292),o=t(94118),s=!o("intersection")||n(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:s},{intersection:a})},51275:function(i,h,t){var r=t(14304),n=t(47391),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isDisjointFrom")},{isDisjointFrom:n})},91890:function(i,h,t){var r=t(14304),n=t(75492),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isSubsetOf")},{isSubsetOf:n})},15089:function(i,h,t){var r=t(14304),n=t(1333),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isSupersetOf")},{isSupersetOf:n})},75765:function(i,h,t){t(6583)},78134:function(i,h,t){var r=t(14304),n=t(64680),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("symmetricDifference")},{symmetricDifference:n})},56456:function(i,h,t){var r=t(14304),n=t(70402),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("union")},{union:n})},70641:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("anchor")},{anchor:function(s){return n(this,"a","name",s)}})},40735:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(12105),s=t(17361),u=t(72069),l=n("".charAt),v=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:v},{at:function(g){var y=s(a(this)),p=y.length,m=o(g),E=m>=0?m:p+m;return E<0||E>=p?void 0:l(y,E)}})},53892:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("big")},{big:function(){return n(this,"big","","")}})},95976:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("blink")},{blink:function(){return n(this,"blink","","")}})},399:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("bold")},{bold:function(){return n(this,"b","","")}})},8510:function(i,h,t){var r=t(14304),n=t(22149).codeAt;r({target:"String",proto:!0},{codePointAt:function(o){return n(this,o)}})},70159:function(i,h,t){var r=t(14304),n=t(77422),a=t(71349).f,o=t(45344),s=t(17361),u=t(92337),l=t(2068),v=t(8790),d=t(70457),g=n("".slice),y=Math.min,p=v("endsWith"),m=!d&&!p&&!!function(){var E=a(String.prototype,"endsWith");return E&&!E.writable}();r({target:"String",proto:!0,forced:!m&&!p},{endsWith:function(S){var I=s(l(this));u(S);var P=arguments.length>1?arguments[1]:void 0,A=I.length,R=P===void 0?A:y(o(P),A),N=s(S);return g(I,R-N.length,R)===N}})},72032:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fixed")},{fixed:function(){return n(this,"tt","","")}})},49442:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fontcolor")},{fontcolor:function(s){return n(this,"font","color",s)}})},16012:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fontsize")},{fontsize:function(s){return n(this,"font","size",s)}})},93087:function(i,h,t){var r=t(14304),n=t(11286),a=t(4652),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=n([].join),v=!!u&&u.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(g){for(var y=[],p=arguments.length,m=0,E;p>m;){if(E=+arguments[m++],a(E,1114111)!==E)throw new o(E+" is not a valid code point");y[m]=E<65536?s(E):s(((E-=65536)>>10)+55296,E%1024+56320)}return l(y,"")}})},26021:function(i,h,t){var r=t(14304),n=t(11286),a=t(92337),o=t(2068),s=t(17361),u=t(8790),l=n("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(d){return!!~l(s(o(this)),s(a(d)),arguments.length>1?arguments[1]:void 0)}})},93029:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(17361),s=n("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var l=o(a(this)),v=l.length,d=0;d=56320||++d>=v||(s(l,d)&64512)!==56320))return!1}return!0}})},9943:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("italics")},{italics:function(){return n(this,"i","","")}})},59158:function(i,h,t){var r=t(22149).charAt,n=t(17361),a=t(82367),o=t(10218),s=t(10659),u="String Iterator",l=a.set,v=a.getterFor(u);o(String,"String",function(d){l(this,{type:u,string:n(d),index:0})},function(){var g=v(this),y=g.string,p=g.index,m;return p>=y.length?s(void 0,!0):(m=r(y,p),g.index+=m.length,s(m,!1))})},33128:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("link")},{link:function(s){return n(this,"a","href",s)}})},18509:function(i,h,t){var r=t(14304),n=t(96499),a=t(77422),o=t(26820),s=t(10659),u=t(2068),l=t(45344),v=t(17361),d=t(25001),g=t(5683),y=t(14274),p=t(11566),m=t(54932),E=t(10512),S=t(16142),I=t(72069),P=t(18565),A=t(16887),R=t(24487),N=t(33064),T=t(82367),C=t(70457),b=P("matchAll"),L="RegExp String",D=L+" Iterator",$=T.set,w=T.getterFor(D),H=RegExp.prototype,U=TypeError,B=a("".indexOf),j=a("".matchAll),Y=!!j&&!I(function(){j("a",/./)}),k=o(function(_,dt,lt,gt){$(this,{type:D,regexp:_,string:dt,global:lt,unicode:gt,done:!1})},L,function(){var _=w(this);if(_.done)return s(void 0,!0);var dt=_.regexp,lt=_.string,gt=N(dt,lt);return gt===null?(_.done=!0,s(void 0,!0)):_.global?(v(gt[0])===""&&(dt.lastIndex=R(lt,l(dt.lastIndex),_.unicode)),s(gt,!1)):(_.done=!0,s(gt,!1))}),J=function(nt){var _=d(this),dt=v(nt),lt=A(_,RegExp),gt=v(m(_)),St,It,Gt;return St=new lt(lt===RegExp?_.source:_,gt),It=!!~B(gt,"g"),Gt=!!~B(gt,"u"),St.lastIndex=l(_.lastIndex),new k(St,dt,It,Gt)};r({target:"String",proto:!0,forced:Y},{matchAll:function(_){var dt=u(this),lt,gt,St,It;if(g(_)){if(Y)return j(dt,_)}else{if(p(_)&&(lt=v(u(m(_))),!~B(lt,"g")))throw new U("`.matchAll` does not allow non-global regexes");if(Y)return j(dt,_);if(St=E(_,b),St===void 0&&C&&y(_)==="RegExp"&&(St=J),St)return n(St,_,dt)}return gt=v(dt),It=new RegExp(_,"g"),C?n(J,It,gt):It[b](gt)}}),C||b in H||S(H,b,J)},15599:function(i,h,t){var r=t(96499),n=t(63194),a=t(25001),o=t(5683),s=t(45344),u=t(17361),l=t(2068),v=t(10512),d=t(24487),g=t(33064);n("match",function(y,p,m){return[function(S){var I=l(this),P=o(S)?void 0:v(S,y);return P?r(P,S,I):new RegExp(S)[y](u(I))},function(E){var S=a(this),I=u(E),P=m(p,S,I);if(P.done)return P.value;if(!S.global)return g(S,I);var A=S.unicode;S.lastIndex=0;for(var R=[],N=0,T;(T=g(S,I))!==null;){var C=u(T[0]);R[N]=C,C===""&&(S.lastIndex=d(I,s(S.lastIndex),A)),N++}return N===0?null:R}]})},21579:function(i,h,t){var r=t(14304),n=t(61607).end,a=t(36945);r({target:"String",proto:!0,forced:a},{padEnd:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},8854:function(i,h,t){var r=t(14304),n=t(61607).start,a=t(36945);r({target:"String",proto:!0,forced:a},{padStart:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},57676:function(i,h,t){var r=t(14304),n=t(11286),a=t(36859),o=t(49671),s=t(17361),u=t(82628),l=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(g){var y=a(o(g).raw),p=u(y);if(!p)return"";for(var m=arguments.length,E=[],S=0;;){if(l(E,s(y[S++])),S===p)return v(E,"");Sw.length?-1:I(w,H,k+j);return J")!=="7"});o("replace",function(U,B,j){var Y=w?"$":"$0";return[function(J,nt){var _=p(this),dt=v(J)?void 0:E(J,A);return dt?n(dt,J,_,nt):n(B,y(_),J,nt)},function(k,J){var nt=u(this),_=y(k);if(typeof J=="string"&&b(J,Y)===-1&&b(J,"$<")===-1){var dt=j(B,nt,_,J);if(dt.done)return dt.value}var lt=l(J);lt||(J=y(J));var gt=nt.global,St;gt&&(St=nt.unicode,nt.lastIndex=0);for(var It=[],Gt;Gt=I(nt,_),!(Gt===null||(C(It,Gt),!gt));){var jt=y(Gt[0]);jt===""&&(nt.lastIndex=m(_,g(nt.lastIndex),St))}for(var Ft="",vt=0,yt=0;yt=vt&&(Ft+=L(_,vt,Mt)+Lt,vt=Mt+Pt.length)}return Ft+L(_,vt)}]},!H||!$||w)},74980:function(i,h,t){var r=t(96499),n=t(63194),a=t(25001),o=t(5683),s=t(2068),u=t(13944),l=t(17361),v=t(10512),d=t(33064);n("search",function(g,y,p){return[function(E){var S=s(this),I=o(E)?void 0:v(E,g);return I?r(I,E,S):new RegExp(E)[g](l(S))},function(m){var E=a(this),S=l(m),I=p(y,E,S);if(I.done)return I.value;var P=E.lastIndex;u(P,0)||(E.lastIndex=0);var A=d(E,S);return u(E.lastIndex,P)||(E.lastIndex=P),A===null?-1:A.index}]})},95625:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("small")},{small:function(){return n(this,"small","","")}})},390:function(i,h,t){var r=t(96499),n=t(11286),a=t(63194),o=t(25001),s=t(5683),u=t(2068),l=t(16887),v=t(24487),d=t(45344),g=t(17361),y=t(10512),p=t(33064),m=t(39807),E=t(72069),S=m.UNSUPPORTED_Y,I=4294967295,P=Math.min,A=n([].push),R=n("".slice),N=!E(function(){var C=/(?:)/,b=C.exec;C.exec=function(){return b.apply(this,arguments)};var L="ab".split(C);return L.length!==2||L[0]!=="a"||L[1]!=="b"}),T="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;a("split",function(C,b,L){var D="0".split(void 0,0).length?function($,w){return $===void 0&&w===0?[]:r(b,this,$,w)}:b;return[function(w,H){var U=u(this),B=s(w)?void 0:y(w,C);return B?r(B,w,U,H):r(D,g(U),w,H)},function($,w){var H=o(this),U=g($);if(!T){var B=L(D,H,U,w,D!==b);if(B.done)return B.value}var j=l(H,RegExp),Y=H.unicode,k=(H.ignoreCase?"i":"")+(H.multiline?"m":"")+(H.unicode?"u":"")+(S?"g":"y"),J=new j(S?"^(?:"+H.source+")":H,k),nt=w===void 0?I:w>>>0;if(nt===0)return[];if(U.length===0)return p(J,U)===null?[U]:[];for(var _=0,dt=0,lt=[];dt1?arguments[1]:void 0,I.length)),A=s(S);return g(I,P,P+A.length)===A}})},90614:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("strike")},{strike:function(){return n(this,"strike","","")}})},60120:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("sub")},{sub:function(){return n(this,"sub","","")}})},21293:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(12105),s=t(17361),u=n("".slice),l=Math.max,v=Math.min,d=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:d},{substr:function(y,p){var m=s(a(this)),E=m.length,S=o(y),I,P;return S===1/0&&(S=0),S<0&&(S=l(E+S,0)),I=p===void 0?E:o(p),I<=0||I===1/0?"":(P=v(S+I,E),S>=P?"":u(m,S,P))}})},75826:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("sup")},{sup:function(){return n(this,"sup","","")}})},18184:function(i,h,t){var r=t(14304),n=t(96499),a=t(11286),o=t(2068),s=t(17361),u=t(72069),l=Array,v=a("".charAt),d=a("".charCodeAt),g=a([].join),y="".toWellFormed,p="\uFFFD",m=y&&u(function(){return n(y,1)!=="1"});r({target:"String",proto:!0,forced:m},{toWellFormed:function(){var S=s(o(this));if(m)return n(y,S);for(var I=S.length,P=l(I),A=0;A=56320||A+1>=I||(d(S,A+1)&64512)!==56320?P[A]=p:(P[A]=v(S,A),P[++A]=v(S,A))}return g(P,"")}})},19680:function(i,h,t){t(23283);var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},12272:function(i,h,t){var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},23283:function(i,h,t){var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},4193:function(i,h,t){t(12272);var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},75012:function(i,h,t){var r=t(14304),n=t(85900).trim,a=t(33328);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return n(this)}})},43606:function(i,h,t){var r=t(83749);r("asyncIterator")},51767:function(i,h,t){var r=t(14304),n=t(66009),a=t(96499),o=t(11286),s=t(70457),u=t(92986),l=t(39729),v=t(72069),d=t(94879),g=t(95307),y=t(25001),p=t(36859),m=t(50035),E=t(17361),S=t(18526),I=t(5406),P=t(18350),A=t(83258),R=t(92880),N=t(24943),T=t(71349),C=t(7831),b=t(61963),L=t(79591),D=t(16142),$=t(85500),w=t(96731),H=t(44869),U=t(19423),B=t(36374),j=t(18565),Y=t(56529),k=t(83749),J=t(60796),nt=t(78401),_=t(82367),dt=t(66655).forEach,lt=H("hidden"),gt="Symbol",St="prototype",It=_.set,Gt=_.getterFor(gt),jt=Object[St],Ft=n.Symbol,vt=Ft&&Ft[St],yt=n.RangeError,Pt=n.TypeError,Mt=n.QObject,Ct=T.f,Lt=C.f,Zt=R.f,kt=L.f,Kt=o([].push),Dt=w("symbols"),Xt=w("op-symbols"),Vt=w("wks"),Ut=!Mt||!Mt[St]||!Mt[St].findChild,st=function(ot,it,z){var Z=Ct(jt,it);Z&&delete jt[it],Lt(ot,it,z),Z&&ot!==jt&&Lt(jt,it,Z)},ht=u&&v(function(){return I(Lt({},"a",{get:function(){return Lt(this,"a",{value:7}).a}})).a!==7})?st:Lt,rt=function(ot,it){var z=Dt[ot]=I(vt);return It(z,{type:gt,tag:ot,description:it}),u||(z.description=it),z},Ot=function(it,z,Z){it===jt&&Ot(Xt,z,Z),y(it);var K=m(z);return y(Z),d(Dt,K)?(Z.enumerable?(d(it,lt)&&it[lt][K]&&(it[lt][K]=!1),Z=I(Z,{enumerable:S(0,!1)})):(d(it,lt)||Lt(it,lt,S(1,I(null))),it[lt][K]=!0),ht(it,K,Z)):Lt(it,K,Z)},Tt=function(it,z){y(it);var Z=p(z),K=P(Z).concat(Q(Z));return dt(K,function(ct){(!u||a(pt,Z,ct))&&Ot(it,ct,Z[ct])}),it},xt=function(it,z){return z===void 0?I(it):Tt(I(it),z)},pt=function(it){var z=m(it),Z=a(kt,this,z);return this===jt&&d(Dt,z)&&!d(Xt,z)?!1:Z||!d(this,z)||!d(Dt,z)||d(this,lt)&&this[lt][z]?Z:!0},_t=function(it,z){var Z=p(it),K=m(z);if(!(Z===jt&&d(Dt,K)&&!d(Xt,K))){var ct=Ct(Z,K);return ct&&d(Dt,K)&&!(d(Z,lt)&&Z[lt][K])&&(ct.enumerable=!0),ct}},rr=function(it){var z=Zt(p(it)),Z=[];return dt(z,function(K){!d(Dt,K)&&!d(U,K)&&Kt(Z,K)}),Z},Q=function(ot){var it=ot===jt,z=Zt(it?Xt:p(ot)),Z=[];return dt(z,function(K){d(Dt,K)&&(!it||d(jt,K))&&Kt(Z,Dt[K])}),Z};l||(Ft=function(){if(g(vt,this))throw new Pt("Symbol is not a constructor");var it=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),z=B(it),Z=function(K){var ct=this===void 0?n:this;ct===jt&&a(Z,Xt,K),d(ct,lt)&&d(ct[lt],z)&&(ct[lt][z]=!1);var At=S(1,K);try{ht(ct,z,At)}catch(Nt){if(!(Nt instanceof yt))throw Nt;st(ct,z,At)}};return u&&Ut&&ht(jt,z,{configurable:!0,set:Z}),rt(z,it)},vt=Ft[St],D(vt,"toString",function(){return Gt(this).tag}),D(Ft,"withoutSetter",function(ot){return rt(B(ot),ot)}),L.f=pt,C.f=Ot,b.f=Tt,T.f=_t,A.f=R.f=rr,N.f=Q,Y.f=function(ot){return rt(j(ot),ot)},u&&($(vt,"description",{configurable:!0,get:function(){return Gt(this).description}}),s||D(jt,"propertyIsEnumerable",pt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Ft}),dt(P(Vt),function(ot){k(ot)}),r({target:gt,stat:!0,forced:!l},{useSetter:function(){Ut=!0},useSimple:function(){Ut=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:xt,defineProperty:Ot,defineProperties:Tt,getOwnPropertyDescriptor:_t}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:rr}),J(),nt(Ft,gt),U[lt]=!0},43657:function(i,h,t){var r=t(14304),n=t(92986),a=t(66009),o=t(11286),s=t(94879),u=t(23583),l=t(95307),v=t(17361),d=t(85500),g=t(93706),y=a.Symbol,p=y&&y.prototype;if(n&&u(y)&&(!("description"in p)||y().description!==void 0)){var m={},E=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),b=l(p,this)?new y(C):C===void 0?y():y(C);return C===""&&(m[b]=!0),b};g(E,y),E.prototype=p,p.constructor=E;var S=String(y("description detection"))==="Symbol(description detection)",I=o(p.valueOf),P=o(p.toString),A=/^Symbol\((.*)\)[^)]+$/,R=o("".replace),N=o("".slice);d(p,"description",{configurable:!0,get:function(){var C=I(this);if(s(m,C))return"";var b=P(C),L=S?N(b,7,-1):R(b,A,"$1");return L===""?void 0:L}}),r({global:!0,constructor:!0,forced:!0},{Symbol:E})}},20872:function(i,h,t){var r=t(14304),n=t(38941),a=t(94879),o=t(17361),s=t(96731),u=t(61190),l=s("string-to-symbol-registry"),v=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(d){var g=o(d);if(a(l,g))return l[g];var y=n("Symbol")(g);return l[g]=y,v[y]=g,y}})},15855:function(i,h,t){var r=t(83749);r("hasInstance")},42026:function(i,h,t){var r=t(83749);r("isConcatSpreadable")},33257:function(i,h,t){var r=t(83749);r("iterator")},40949:function(i,h,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(i,h,t){var r=t(14304),n=t(94879),a=t(491),o=t(82453),s=t(96731),u=t(61190),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(d){if(!a(d))throw new TypeError(o(d)+" is not a symbol");if(n(l,d))return l[d]}})},88344:function(i,h,t){var r=t(83749);r("matchAll")},59414:function(i,h,t){var r=t(83749);r("match")},92579:function(i,h,t){var r=t(83749);r("replace")},94655:function(i,h,t){var r=t(83749);r("search")},8565:function(i,h,t){var r=t(83749);r("species")},60843:function(i,h,t){var r=t(83749);r("split")},65842:function(i,h,t){var r=t(83749),n=t(60796);r("toPrimitive"),n()},51595:function(i,h,t){var r=t(38941),n=t(83749),a=t(78401);n("toStringTag"),a(r("Symbol"),"Symbol")},54908:function(i,h,t){var r=t(83749);r("unscopables")},71998:function(i,h,t){var r=t(88037),n=t(82628),a=t(12105),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("at",function(l){var v=o(this),d=n(v),g=a(l),y=g>=0?g:d+g;return y<0||y>=d?void 0:v[y]})},6116:function(i,h,t){var r=t(11286),n=t(88037),a=t(81499),o=r(a),s=n.aTypedArray,u=n.exportTypedArrayMethod;u("copyWithin",function(v,d){return o(s(this),v,d,arguments.length>2?arguments[2]:void 0)})},33032:function(i,h,t){var r=t(88037),n=t(66655).every,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("every",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},80962:function(i,h,t){var r=t(88037),n=t(43011),a=t(11344),o=t(9205),s=t(96499),u=t(11286),l=t(72069),v=r.aTypedArray,d=r.exportTypedArrayMethod,g=u("".slice),y=l(function(){var p=0;return new Int8Array(2).fill({valueOf:function(){return p++}}),p!==1});d("fill",function(m){var E=arguments.length;v(this);var S=g(o(this),0,3)==="Big"?a(m):+m;return s(n,this,S,E>1?arguments[1]:void 0,E>2?arguments[2]:void 0)},y)},49381:function(i,h,t){var r=t(88037),n=t(66655).filter,a=t(3795),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("filter",function(l){var v=n(o(this),l,arguments.length>1?arguments[1]:void 0);return a(this,v)})},65961:function(i,h,t){var r=t(88037),n=t(66655).findIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findIndex",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},16028:function(i,h,t){var r=t(88037),n=t(73849).findLastIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLastIndex",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},94153:function(i,h,t){var r=t(88037),n=t(73849).findLast,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLast",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},38344:function(i,h,t){var r=t(88037),n=t(66655).find,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("find",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},25560:function(i,h,t){var r=t(80357);r("Float32",function(n){return function(o,s,u){return n(this,o,s,u)}})},22571:function(i,h,t){var r=t(80357);r("Float64",function(n){return function(o,s,u){return n(this,o,s,u)}})},20656:function(i,h,t){var r=t(88037),n=t(66655).forEach,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("forEach",function(u){n(a(this),u,arguments.length>1?arguments[1]:void 0)})},17063:function(i,h,t){var r=t(46868),n=t(88037).exportTypedArrayStaticMethod,a=t(66169);n("from",a,r)},21774:function(i,h,t){var r=t(88037),n=t(94319).includes,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("includes",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},51761:function(i,h,t){var r=t(88037),n=t(94319).indexOf,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("indexOf",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},36849:function(i,h,t){var r=t(80357);r("Int16",function(n){return function(o,s,u){return n(this,o,s,u)}})},49191:function(i,h,t){var r=t(80357);r("Int32",function(n){return function(o,s,u){return n(this,o,s,u)}})},40704:function(i,h,t){var r=t(80357);r("Int8",function(n){return function(o,s,u){return n(this,o,s,u)}})},12317:function(i,h,t){var r=t(66009),n=t(72069),a=t(11286),o=t(88037),s=t(35054),u=t(18565),l=u("iterator"),v=r.Uint8Array,d=a(s.values),g=a(s.keys),y=a(s.entries),p=o.aTypedArray,m=o.exportTypedArrayMethod,E=v&&v.prototype,S=!n(function(){E[l].call([1])}),I=!!E&&E.values&&E[l]===E.values&&E.values.name==="values",P=function(){return d(p(this))};m("entries",function(){return y(p(this))},S),m("keys",function(){return g(p(this))},S),m("values",P,S||!I,{name:"values"}),m(l,P,S||!I,{name:"values"})},19711:function(i,h,t){var r=t(88037),n=t(11286),a=r.aTypedArray,o=r.exportTypedArrayMethod,s=n([].join);o("join",function(l){return s(a(this),l)})},41034:function(i,h,t){var r=t(88037),n=t(66543),a=t(58465),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("lastIndexOf",function(l){var v=arguments.length;return n(a,o(this),v>1?[l,arguments[1]]:[l])})},13313:function(i,h,t){var r=t(88037),n=t(66655).map,a=t(21822),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("map",function(l){return n(o(this),l,arguments.length>1?arguments[1]:void 0,function(v,d){return new(a(v))(d)})})},44698:function(i,h,t){var r=t(88037),n=t(46868),a=r.aTypedArrayConstructor,o=r.exportTypedArrayStaticMethod;o("of",function(){for(var u=0,l=arguments.length,v=new(a(this))(l);l>u;)v[u]=arguments[u++];return v},n)},66178:function(i,h,t){var r=t(88037),n=t(97264).right,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduceRight",function(u){var l=arguments.length;return n(a(this),u,l,l>1?arguments[1]:void 0)})},7369:function(i,h,t){var r=t(88037),n=t(97264).left,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduce",function(u){var l=arguments.length;return n(a(this),u,l,l>1?arguments[1]:void 0)})},67961:function(i,h,t){var r=t(88037),n=r.aTypedArray,a=r.exportTypedArrayMethod,o=Math.floor;a("reverse",function(){for(var u=this,l=n(u).length,v=o(l/2),d=0,g;d1?arguments[1]:void 0,1),R=u(P);if(E)return n(y,this,R,A);var N=this.length,T=o(R),C=0;if(T+A>N)throw new v("Wrong length");for(;Cm;)S[m]=y[m++];return S},l)},9711:function(i,h,t){var r=t(88037),n=t(66655).some,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("some",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},3923:function(i,h,t){var r=t(66009),n=t(77422),a=t(72069),o=t(85156),s=t(13270),u=t(88037),l=t(54040),v=t(87216),d=t(73126),g=t(68674),y=u.aTypedArray,p=u.exportTypedArrayMethod,m=r.Uint16Array,E=m&&n(m.prototype.sort),S=!!E&&!(a(function(){E(new m(2),null)})&&a(function(){E(new m(2),{})})),I=!!E&&!a(function(){if(d)return d<74;if(l)return l<67;if(v)return!0;if(g)return g<602;var A=new m(516),R=Array(516),N,T;for(N=0;N<516;N++)T=N%4,A[N]=515-N,R[N]=N-2*T+3;for(E(A,function(C,b){return(C/4|0)-(b/4|0)}),N=0;N<516;N++)if(A[N]!==R[N])return!0}),P=function(A){return function(R,N){return A!==void 0?+A(R,N)||0:N!==N?-1:R!==R?1:R===0&&N===0?1/R>0&&1/N<0?1:-1:R>N}};p("sort",function(R){return R!==void 0&&o(R),I?E(this,R):s(y(this),P(R))},!I||S)},59728:function(i,h,t){var r=t(88037),n=t(45344),a=t(4652),o=t(21822),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("subarray",function(v,d){var g=s(this),y=g.length,p=a(v,y),m=o(g);return new m(g.buffer,g.byteOffset+p*g.BYTES_PER_ELEMENT,n((d===void 0?y:a(d,y))-p))})},85227:function(i,h,t){var r=t(66009),n=t(66543),a=t(88037),o=t(72069),s=t(22806),u=r.Int8Array,l=a.aTypedArray,v=a.exportTypedArrayMethod,d=[].toLocaleString,g=!!u&&o(function(){d.call(new u(1))}),y=o(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!o(function(){u.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){return n(d,g?s(l(this)):l(this),s(arguments))},y)},56933:function(i,h,t){var r=t(61638),n=t(88037),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=n.getTypedArrayConstructor;o("toReversed",function(){return r(a(this),s(this))})},91490:function(i,h,t){var r=t(88037),n=t(11286),a=t(85156),o=t(5220),s=r.aTypedArray,u=r.getTypedArrayConstructor,l=r.exportTypedArrayMethod,v=n(r.TypedArrayPrototype.sort);l("toSorted",function(g){g!==void 0&&a(g);var y=s(this),p=o(u(y),y);return v(p,g)})},61766:function(i,h,t){var r=t(88037).exportTypedArrayMethod,n=t(72069),a=t(66009),o=t(11286),s=a.Uint8Array,u=s&&s.prototype||{},l=[].toString,v=o([].join);n(function(){l.call({})})&&(l=function(){return v(this)});var d=u.toString!==l;r("toString",l,d)},44884:function(i,h,t){var r=t(80357);r("Uint16",function(n){return function(o,s,u){return n(this,o,s,u)}})},48658:function(i,h,t){var r=t(80357);r("Uint32",function(n){return function(o,s,u){return n(this,o,s,u)}})},81083:function(i,h,t){var r=t(80357);r("Uint8",function(n){return function(o,s,u){return n(this,o,s,u)}})},27428:function(i,h,t){var r=t(80357);r("Uint8",function(n){return function(o,s,u){return n(this,o,s,u)}},!0)},85143:function(i,h,t){var r=t(72302),n=t(88037),a=t(77129),o=t(12105),s=t(11344),u=n.aTypedArray,l=n.getTypedArrayConstructor,v=n.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(g){return g===8}}();v("with",function(g,y){var p=u(this),m=o(g),E=a(p)?s(y):+y;return r(p,l(p),m,E)},!d)},47005:function(i,h,t){var r=t(14304),n=t(11286),a=t(17361),o=String.fromCharCode,s=n("".charAt),u=n(/./.exec),l=n("".slice),v=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(y){for(var p=a(y),m="",E=p.length,S=0,I,P;S>(-2*U&6)));return w}})},60869:function(i,h,t){var r=t(14304),n=t(66009),a=t(38941),o=t(11286),s=t(96499),u=t(72069),l=t(17361),v=t(95486),d=t(6210).i2c,g=a("btoa"),y=o("".charAt),p=o("".charCodeAt),m=!!g&&!u(function(){return g("hi")!=="aGk="}),E=m&&!u(function(){g()}),S=m&&u(function(){return g(null)!=="bnVsbA=="}),I=m&&g.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!m||E||S||I},{btoa:function(A){if(v(arguments.length,1),m)return s(g,n,l(A));for(var R=l(A),N="",T=0,C=d,b,L;y(R,T)||(C="=",T%1);){if(L=p(R,T+=.75),L>255)throw new(a("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");b=b<<8|L,N+=y(C,63&b>>8-T%1*8)}return N}})},66722:function(i,h,t){var r=t(14304),n=t(66009),a=t(23115).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==a},{clearImmediate:a})},50338:function(i,h,t){var r=t(66009),n=t(93014),a=t(39882),o=t(13349),s=t(90809),u=function(v){if(v&&v.forEach!==o)try{s(v,"forEach",o)}catch(d){v.forEach=o}};for(var l in n)n[l]&&u(r[l]&&r[l].prototype);u(a)},53059:function(i,h,t){var r=t(66009),n=t(93014),a=t(39882),o=t(35054),s=t(90809),u=t(78401),l=t(18565),v=l("iterator"),d=o.values,g=function(p,m){if(p){if(p[v]!==d)try{s(p,v,d)}catch(S){p[v]=d}if(u(p,m,!0),n[m]){for(var E in o)if(p[E]!==o[E])try{s(p,E,o[E])}catch(S){p[E]=o[E]}}}};for(var y in n)g(r[y]&&r[y].prototype,y);g(a,"DOMTokenList")},5805:function(i,h,t){var r=t(14304),n=t(18096),a=t(38941),o=t(72069),s=t(5406),u=t(18526),l=t(7831).f,v=t(16142),d=t(85500),g=t(94879),y=t(12833),p=t(25001),m=t(58434),E=t(15453),S=t(74408),I=t(40851),P=t(82367),A=t(92986),R=t(70457),N="DOMException",T="DATA_CLONE_ERR",C=a("Error"),b=a(N)||function(){try{var vt=a("MessageChannel")||n("worker_threads").MessageChannel;new vt().port1.postMessage(new WeakMap)}catch(yt){if(yt.name===T&&yt.code===25)return yt.constructor}}(),L=b&&b.prototype,D=C.prototype,$=P.set,w=P.getterFor(N),H="stack"in new C(N),U=function(vt){return g(S,vt)&&S[vt].m?S[vt].c:0},B=function(){y(this,j);var yt=arguments.length,Pt=E(yt<1?void 0:arguments[0]),Mt=E(yt<2?void 0:arguments[1],"Error"),Ct=U(Mt);if($(this,{type:N,name:Mt,message:Pt,code:Ct}),A||(this.name=Mt,this.message=Pt,this.code=Ct),H){var Lt=new C(Pt);Lt.name=N,l(this,"stack",u(1,I(Lt.stack,1)))}},j=B.prototype=s(D),Y=function(vt){return{enumerable:!0,configurable:!0,get:vt}},k=function(vt){return Y(function(){return w(this)[vt]})};A&&(d(j,"code",k("code")),d(j,"message",k("message")),d(j,"name",k("name"))),l(j,"constructor",u(1,B));var J=o(function(){return!(new b instanceof C)}),nt=J||o(function(){return D.toString!==m||String(new b(1,2))!=="2: 1"}),_=J||o(function(){return new b(1,"DataCloneError").code!==25}),dt=J||b[T]!==25||L[T]!==25,lt=R?nt||_||dt:J;r({global:!0,constructor:!0,forced:lt},{DOMException:lt?B:b});var gt=a(N),St=gt.prototype;nt&&(R||b===gt)&&v(St,"toString",m),_&&A&&b===gt&&d(St,"code",Y(function(){return U(p(this).name)}));for(var It in S)if(g(S,It)){var Gt=S[It],jt=Gt.s,Ft=u(6,Gt.c);g(gt,jt)||l(gt,jt,Ft),g(St,jt)||l(St,jt,Ft)}},50685:function(i,h,t){var r=t(14304),n=t(66009),a=t(38941),o=t(18526),s=t(7831).f,u=t(94879),l=t(12833),v=t(32345),d=t(15453),g=t(74408),y=t(40851),p=t(92986),m=t(70457),E="DOMException",S=a("Error"),I=a(E),P=function(){l(this,A);var B=arguments.length,j=d(B<1?void 0:arguments[0]),Y=d(B<2?void 0:arguments[1],"Error"),k=new I(j,Y),J=new S(j);return J.name=E,s(k,"stack",o(1,y(J.stack,1))),v(k,this,P),k},A=P.prototype=I.prototype,R="stack"in new S(E),N="stack"in new I(1,2),T=I&&p&&Object.getOwnPropertyDescriptor(n,E),C=!!T&&!(T.writable&&T.configurable),b=R&&!C&&!N;r({global:!0,constructor:!0,forced:m||b},{DOMException:b?P:I});var L=a(E),D=L.prototype;if(D.constructor!==L){m||s(D,"constructor",o(1,L));for(var $ in g)if(u(g,$)){var w=g[$],H=w.s;u(L,H)||s(L,H,o(6,w.c))}}},70649:function(i,h,t){var r=t(38941),n=t(78401),a="DOMException";n(r(a),a)},39842:function(i,h,t){t(66722),t(8235)},82872:function(i,h,t){var r=t(14304),n=t(66009),a=t(9709),o=t(85156),s=t(95486),u=t(72069),l=t(92986),v=u(function(){return l&&Object.getOwnPropertyDescriptor(n,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:v},{queueMicrotask:function(g){s(arguments.length,1),a(o(g))}})},91401:function(i,h,t){var r=t(14304),n=t(66009),a=t(85500),o=t(92986),s=TypeError,u=Object.defineProperty,l=n.self!==n;try{if(o){var v=Object.getOwnPropertyDescriptor(n,"self");(l||!v||!v.get||!v.enumerable)&&a(n,"self",{get:function(){return n},set:function(g){if(this!==n)throw new s("Illegal invocation");u(n,"self",{value:g,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:l},{self:n})}catch(d){}},8235:function(i,h,t){var r=t(14304),n=t(66009),a=t(23115).set,o=t(9934),s=n.setImmediate?o(a,!1):a;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==s},{setImmediate:s})},63981:function(i,h,t){var r=t(14304),n=t(66009),a=t(9934),o=a(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==o},{setInterval:o})},23913:function(i,h,t){var r=t(14304),n=t(66009),a=t(9934),o=a(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==o},{setTimeout:o})},92904:function(i,h,t){var r=t(70457),n=t(14304),a=t(66009),o=t(38941),s=t(11286),u=t(72069),l=t(36374),v=t(23583),d=t(11051),g=t(5683),y=t(37540),p=t(491),m=t(55902),E=t(25001),S=t(9205),I=t(94879),P=t(84082),A=t(90809),R=t(82628),N=t(95486),T=t(54932),C=t(1774),b=t(172),L=t(35051),D=t(63741),$=t(16929),w=t(99050),H=a.Object,U=a.Array,B=a.Date,j=a.Error,Y=a.TypeError,k=a.PerformanceMark,J=o("DOMException"),nt=C.Map,_=C.has,dt=C.get,lt=C.set,gt=b.Set,St=b.add,It=b.has,Gt=o("Object","keys"),jt=s([].push),Ft=s((!0).valueOf),vt=s(1 .valueOf),yt=s("".valueOf),Pt=s(B.prototype.getTime),Mt=l("structuredClone"),Ct="DataCloneError",Lt="Transferring",Zt=function(Q){return!u(function(){var ot=new a.Set([7]),it=Q(ot),z=Q(H(7));return it===ot||!it.has(7)||!y(z)||+z!=7})&&Q},kt=function(Q,ot){return!u(function(){var it=new ot,z=Q({a:it,b:it});return!(z&&z.a===z.b&&z.a instanceof ot&&z.a.stack===it.stack)})},Kt=function(Q){return!u(function(){var ot=Q(new a.AggregateError([1],Mt,{cause:3}));return ot.name!=="AggregateError"||ot.errors[0]!==1||ot.message!==Mt||ot.cause!==3})},Dt=a.structuredClone,Xt=r||!kt(Dt,j)||!kt(Dt,J)||!Kt(Dt),Vt=!Dt&&Zt(function(Q){return new k(Mt,{detail:Q}).detail}),Ut=Zt(Dt)||Vt,st=function(Q){throw new J("Uncloneable type: "+Q,Ct)},ht=function(Q,ot){throw new J((ot||"Cloning")+" of "+Q+" cannot be properly polyfilled in this engine",Ct)},rt=function(Q,ot){return Ut||ht(ot),Ut(Q)},Ot=function(){var Q;try{Q=new a.DataTransfer}catch(ot){try{Q=new a.ClipboardEvent("").clipboardData}catch(it){}}return Q&&Q.items&&Q.files?Q:null},Tt=function(Q,ot,it){if(_(ot,Q))return dt(ot,Q);var z=it||S(Q),Z,K,ct,At,Nt,Wt;if(z==="SharedArrayBuffer")Ut?Z=Ut(Q):Z=Q;else{var Jt=a.DataView;!Jt&&!v(Q.slice)&&ht("ArrayBuffer");try{if(v(Q.slice)&&!Q.resizable)Z=Q.slice(0);else for(K=Q.byteLength,ct=("maxByteLength"in Q)?{maxByteLength:Q.maxByteLength}:void 0,Z=new ArrayBuffer(K,ct),At=new Jt(Q),Nt=new Jt(Z),Wt=0;Wt1&&!g(arguments[1])?E(arguments[1]):void 0,z=it?it.transfer:void 0,Z,K;z!==void 0&&(Z=new nt,K=_t(z,Z));var ct=pt(ot,Z);return K&&rr(K),ct}})},28381:function(i,h,t){t(63981),t(23913)},98812:function(i,h,t){t(35054);var r=t(14304),n=t(66009),a=t(28167),o=t(96499),s=t(11286),u=t(92986),l=t(91918),v=t(16142),d=t(85500),g=t(2725),y=t(78401),p=t(26820),m=t(82367),E=t(12833),S=t(23583),I=t(94879),P=t(45526),A=t(9205),R=t(25001),N=t(37540),T=t(17361),C=t(5406),b=t(18526),L=t(90619),D=t(81077),$=t(10659),w=t(95486),H=t(18565),U=t(13270),B=H("iterator"),j="URLSearchParams",Y=j+"Iterator",k=m.set,J=m.getterFor(j),nt=m.getterFor(Y),_=a("fetch"),dt=a("Request"),lt=a("Headers"),gt=dt&&dt.prototype,St=lt&<.prototype,It=n.RegExp,Gt=n.TypeError,jt=n.decodeURIComponent,Ft=n.encodeURIComponent,vt=s("".charAt),yt=s([].join),Pt=s([].push),Mt=s("".replace),Ct=s([].shift),Lt=s([].splice),Zt=s("".split),kt=s("".slice),Kt=/\+/g,Dt=Array(4),Xt=function(z){return Dt[z-1]||(Dt[z-1]=It("((?:%[\\da-f]{2}){"+z+"})","gi"))},Vt=function(z){try{return jt(z)}catch(Z){return z}},Ut=function(z){var Z=Mt(z,Kt," "),K=4;try{return jt(Z)}catch(ct){for(;K;)Z=Mt(Z,Xt(K--),Vt);return Z}},st=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},rt=function(z){return ht[z]},Ot=function(z){return Mt(Ft(z),st,rt)},Tt=p(function(Z,K){k(this,{type:Y,target:J(Z).entries,index:0,kind:K})},j,function(){var Z=nt(this),K=Z.target,ct=Z.index++;if(!K||ct>=K.length)return Z.target=void 0,$(void 0,!0);var At=K[ct];switch(Z.kind){case"keys":return $(At.key,!1);case"values":return $(At.value,!1)}return $([At.key,At.value],!1)},!0),xt=function(z){this.entries=[],this.url=null,z!==void 0&&(N(z)?this.parseObject(z):this.parseQuery(typeof z=="string"?vt(z,0)==="?"?kt(z,1):z:T(z)))};xt.prototype={type:j,bindURL:function(z){this.url=z,this.update()},parseObject:function(z){var Z=this.entries,K=D(z),ct,At,Nt,Wt,Jt,Yt,er;if(K)for(ct=L(z,K),At=ct.next;!(Nt=o(At,ct)).done;){if(Wt=L(R(Nt.value)),Jt=Wt.next,(Yt=o(Jt,Wt)).done||(er=o(Jt,Wt)).done||!o(Jt,Wt).done)throw new Gt("Expected sequence with length 2");Pt(Z,{key:T(Yt.value),value:T(er.value)})}else for(var Xr in z)I(z,Xr)&&Pt(Z,{key:Xr,value:T(z[Xr])})},parseQuery:function(z){if(z)for(var Z=this.entries,K=Zt(z,"&"),ct=0,At,Nt;ct0?arguments[0]:void 0,K=k(this,new xt(Z));u||(this.size=K.entries.length)},_t=pt.prototype;if(g(_t,{append:function(Z,K){var ct=J(this);w(arguments.length,2),Pt(ct.entries,{key:T(Z),value:T(K)}),u||this.length++,ct.updateURL()},delete:function(z){for(var Z=J(this),K=w(arguments.length,1),ct=Z.entries,At=T(z),Nt=K<2?void 0:arguments[1],Wt=Nt===void 0?Nt:T(Nt),Jt=0;Jtct.key?1:-1}),Z.updateURL()},forEach:function(Z){for(var K=J(this).entries,ct=P(Z,arguments.length>1?arguments[1]:void 0),At=0,Nt;At1?ot(arguments[1]):{})}}),S(dt)){var it=function(Z){return E(this,gt),new dt(Z,arguments.length>1?ot(arguments[1]):{})};gt.constructor=it,it.prototype=gt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:it})}}i.exports={URLSearchParams:pt,getState:J}},10901:function(i,h,t){var r=t(16142),n=t(11286),a=t(17361),o=t(95486),s=URLSearchParams,u=s.prototype,l=n(u.append),v=n(u.delete),d=n(u.forEach),g=n([].push),y=new s("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&r(u,"delete",function(p){var m=arguments.length,E=m<2?void 0:arguments[1];if(m&&E===void 0)return v(this,p);var S=[];d(this,function(b,L){g(S,{key:L,value:b})}),o(m,1);for(var I=a(p),P=a(E),A=0,R=0,N=!1,T=S.length,C;A?@[\\\]^|]/,Dt=/[\0\t\n\r #/:<>?@[\\\]^|]/,Xt=/^[\u0000-\u0020]+/,Vt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ut=/[\t\n\r]/g,st,ht=function(X){var ut=lt(X,"."),q,V,at,Ht,Rt,nr,ar;if(ut.length&&ut[ut.length-1]===""&&ut.length--,q=ut.length,q>4)return X;for(V=[],at=0;at1&&B(Ht,0)==="0"&&(Rt=j(Ct,Ht)?16:8,Ht=gt(Ht,Rt===8?1:2)),Ht==="")nr=0;else{if(!j(Rt===10?Zt:Rt===8?Lt:kt,Ht))return X;nr=w(Ht,Rt)}nt(V,nr)}for(at=0;at=U(256,5-q))return null}else if(nr>255)return null;for(ar=J(V),at=0;at6))return;for(nr=0;sr();){if(ar=null,nr>0)if(sr()==="."&&nr<4)at++;else return;if(!j(Mt,sr()))return;for(;j(Mt,sr());){if(ur=w(sr(),10),ar===null)ar=ur;else{if(ar===0)return;ar=ar*10+ur}if(ar>255)return;at++}ut[q]=ut[q]*256+ar,nr++,(nr===2||nr===4)&&q++}if(nr!==4)return;break}else if(sr()===":"){if(at++,!sr())return}else if(sr())return;ut[q++]=Ht}if(V!==null)for(Rr=q-V,q=7;q!==0&&Rr>0;)ft=ut[q],ut[q--]=ut[V+Rr-1],ut[V+--Rr]=ft;else if(q!==8)return;return ut},Ot=function(X){for(var ut=null,q=1,V=null,at=0,Ht=0;Ht<8;Ht++)X[Ht]!==0?(at>q&&(ut=V,q=at),V=null,at=0):(V===null&&(V=Ht),++at);return at>q&&(ut=V,q=at),ut},Tt=function(X){var ut,q,V,at;if(typeof X=="number"){for(ut=[],q=0;q<4;q++)It(ut,X%256),X=H(X/256);return Y(ut,".")}else if(typeof X=="object"){for(ut="",V=Ot(X),q=0;q<8;q++)at&&X[q]===0||(at&&(at=!1),V===q?(ut+=q?":":"::",at=!0):(ut+=k(X[q],16),q<7&&(ut+=":")));return"["+ut+"]"}return X},xt={},pt=y({},xt,{" ":1,'"':1,"<":1,">":1,"`":1}),_t=y({},pt,{"#":1,"?":1,"{":1,"}":1}),rr=y({},_t,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(X,ut){var q=E(X,0);return q>32&&q<127&&!g(ut,X)?X:encodeURIComponent(X)},ot={ftp:21,file:null,http:80,https:443,ws:80,wss:443},it=function(X,ut){var q;return X.length===2&&j(yt,B(X,0))&&((q=B(X,1))===":"||!ut&&q==="|")},z=function(X){var ut;return X.length>1&&it(gt(X,0,2))&&(X.length===2||(ut=B(X,2))==="/"||ut==="\\"||ut==="?"||ut==="#")},Z=function(X){return X==="."||St(X)==="%2e"},K=function(X){return X=St(X),X===".."||X==="%2e."||X===".%2e"||X==="%2e%2e"},ct={},At={},Nt={},Wt={},Jt={},Yt={},er={},Xr={},en={},an={},dn={},on={},hn={},gn={},Dn={},yn={},Nr={},br={},Fn={},Vr={},Dr={},sn=function(X,ut,q){var V=I(X),at,Ht,Rt;if(ut){if(Ht=this.parse(V),Ht)throw new $(Ht);this.searchParams=null}else{if(q!==void 0&&(at=new sn(q,!0)),Ht=this.parse(V,null,at),Ht)throw new $(Ht);Rt=L(new b),Rt.bindURL(this),this.searchParams=Rt}};sn.prototype={type:"URL",parse:function(X,ut,q){var V=this,at=ut||ct,Ht=0,Rt="",nr=!1,ar=!1,ur=!1,Rr,ft,sr,Fr;for(X=I(X),ut||(V.scheme="",V.username="",V.password="",V.host=null,V.port=null,V.path=[],V.query=null,V.fragment=null,V.cannotBeABaseURL=!1,X=_(X,Xt,""),X=_(X,Vt,"$1")),X=_(X,Ut,""),Rr=p(X);Ht<=Rr.length;){switch(ft=Rr[Ht],at){case ct:if(ft&&j(yt,ft))Rt+=St(ft),at=At;else{if(ut)return jt;at=Nt;continue}break;case At:if(ft&&(j(Pt,ft)||ft==="+"||ft==="-"||ft==="."))Rt+=St(ft);else if(ft===":"){if(ut&&(V.isSpecial()!==g(ot,Rt)||Rt==="file"&&(V.includesCredentials()||V.port!==null)||V.scheme==="file"&&!V.host))return;if(V.scheme=Rt,ut){V.isSpecial()&&ot[V.scheme]===V.port&&(V.port=null);return}Rt="",V.scheme==="file"?at=gn:V.isSpecial()&&q&&q.scheme===V.scheme?at=Wt:V.isSpecial()?at=Xr:Rr[Ht+1]==="/"?(at=Jt,Ht++):(V.cannotBeABaseURL=!0,nt(V.path,""),at=Fn)}else{if(ut)return jt;Rt="",at=Nt,Ht=0;continue}break;case Nt:if(!q||q.cannotBeABaseURL&&ft!=="#")return jt;if(q.cannotBeABaseURL&&ft==="#"){V.scheme=q.scheme,V.path=m(q.path),V.query=q.query,V.fragment="",V.cannotBeABaseURL=!0,at=Dr;break}at=q.scheme==="file"?gn:Yt;continue;case Wt:if(ft==="/"&&Rr[Ht+1]==="/")at=en,Ht++;else{at=Yt;continue}break;case Jt:if(ft==="/"){at=an;break}else{at=br;continue}case Yt:if(V.scheme=q.scheme,ft===st)V.username=q.username,V.password=q.password,V.host=q.host,V.port=q.port,V.path=m(q.path),V.query=q.query;else if(ft==="/"||ft==="\\"&&V.isSpecial())at=er;else if(ft==="?")V.username=q.username,V.password=q.password,V.host=q.host,V.port=q.port,V.path=m(q.path),V.query="",at=Vr;else if(ft==="#")V.username=q.username,V.password=q.password,V.host=q.host,V.port=q.port,V.path=m(q.path),V.query=q.query,V.fragment="",at=Dr;else{V.username=q.username,V.password=q.password,V.host=q.host,V.port=q.port,V.path=m(q.path),V.path.length--,at=br;continue}break;case er:if(V.isSpecial()&&(ft==="/"||ft==="\\"))at=en;else if(ft==="/")at=an;else{V.username=q.username,V.password=q.password,V.host=q.host,V.port=q.port,at=br;continue}break;case Xr:if(at=en,ft!=="/"||B(Rt,Ht+1)!=="/")continue;Ht++;break;case en:if(ft!=="/"&&ft!=="\\"){at=an;continue}break;case an:if(ft==="@"){nr&&(Rt="%40"+Rt),nr=!0,sr=p(Rt);for(var mn=0;mn65535)return vt;V.port=V.isSpecial()&&un===ot[V.scheme]?null:un,Rt=""}if(ut)return;at=Nr;continue}else return vt;break;case gn:if(V.scheme="file",ft==="/"||ft==="\\")at=Dn;else if(q&&q.scheme==="file")switch(ft){case st:V.host=q.host,V.path=m(q.path),V.query=q.query;break;case"?":V.host=q.host,V.path=m(q.path),V.query="",at=Vr;break;case"#":V.host=q.host,V.path=m(q.path),V.query=q.query,V.fragment="",at=Dr;break;default:z(Y(m(Rr,Ht),""))||(V.host=q.host,V.path=m(q.path),V.shortenPath()),at=br;continue}else{at=br;continue}break;case Dn:if(ft==="/"||ft==="\\"){at=yn;break}q&&q.scheme==="file"&&!z(Y(m(Rr,Ht),""))&&(it(q.path[0],!0)?nt(V.path,q.path[0]):V.host=q.host),at=br;continue;case yn:if(ft===st||ft==="/"||ft==="\\"||ft==="?"||ft==="#"){if(!ut&&it(Rt))at=br;else if(Rt===""){if(V.host="",ut)return;at=Nr}else{if(Fr=V.parseHost(Rt),Fr)return Fr;if(V.host==="localhost"&&(V.host=""),ut)return;Rt="",at=Nr}continue}else Rt+=ft;break;case Nr:if(V.isSpecial()){if(at=br,ft!=="/"&&ft!=="\\")continue}else if(!ut&&ft==="?")V.query="",at=Vr;else if(!ut&&ft==="#")V.fragment="",at=Dr;else if(ft!==st&&(at=br,ft!=="/"))continue;break;case br:if(ft===st||ft==="/"||ft==="\\"&&V.isSpecial()||!ut&&(ft==="?"||ft==="#")){if(K(Rt)?(V.shortenPath(),ft!=="/"&&!(ft==="\\"&&V.isSpecial())&&nt(V.path,"")):Z(Rt)?ft!=="/"&&!(ft==="\\"&&V.isSpecial())&&nt(V.path,""):(V.scheme==="file"&&!V.path.length&&it(Rt)&&(V.host&&(V.host=""),Rt=B(Rt,0)+":"),nt(V.path,Rt)),Rt="",V.scheme==="file"&&(ft===st||ft==="?"||ft==="#"))for(;V.path.length>1&&V.path[0]==="";)dt(V.path);ft==="?"?(V.query="",at=Vr):ft==="#"&&(V.fragment="",at=Dr)}else Rt+=Q(ft,_t);break;case Fn:ft==="?"?(V.query="",at=Vr):ft==="#"?(V.fragment="",at=Dr):ft!==st&&(V.path[0]+=Q(ft,xt));break;case Vr:!ut&&ft==="#"?(V.fragment="",at=Dr):ft!==st&&(ft==="'"&&V.isSpecial()?V.query+="%27":ft==="#"?V.query+="%23":V.query+=Q(ft,xt));break;case Dr:ft!==st&&(V.fragment+=Q(ft,pt));break}Ht++}},parseHost:function(X){var ut,q,V;if(B(X,0)==="["){if(B(X,X.length-1)!=="]"||(ut=rt(gt(X,1,-1)),!ut))return Ft;this.host=ut}else if(this.isSpecial()){if(X=S(X),j(Kt,X)||(ut=ht(X),ut===null))return Ft;this.host=ut}else{if(j(Dt,X))return Ft;for(ut="",q=p(X),V=0;V1?arguments[1]:void 0,at=T(q,new sn(ut,!1,V));n||(q.href=at.serialize(),q.origin=at.getOrigin(),q.protocol=at.getProtocol(),q.username=at.getUsername(),q.password=at.getPassword(),q.host=at.getHost(),q.hostname=at.getHostname(),q.port=at.getPort(),q.pathname=at.getPathname(),q.search=at.getSearch(),q.searchParams=at.getSearchParams(),q.hash=at.getHash())},dr=jr.prototype,Tr=function(X,ut){return{get:function(){return C(this)[X]()},set:ut&&function(q){return C(this)[ut](q)},configurable:!0,enumerable:!0}};if(n&&(v(dr,"href",Tr("serialize","setHref")),v(dr,"origin",Tr("getOrigin")),v(dr,"protocol",Tr("getProtocol","setProtocol")),v(dr,"username",Tr("getUsername","setUsername")),v(dr,"password",Tr("getPassword","setPassword")),v(dr,"host",Tr("getHost","setHost")),v(dr,"hostname",Tr("getHostname","setHostname")),v(dr,"port",Tr("getPort","setPort")),v(dr,"pathname",Tr("getPathname","setPathname")),v(dr,"search",Tr("getSearch","setSearch")),v(dr,"searchParams",Tr("getSearchParams")),v(dr,"hash",Tr("getHash","setHash"))),l(dr,"toJSON",function(){return C(this).serialize()},{enumerable:!0}),l(dr,"toString",function(){return C(this).serialize()},{enumerable:!0}),D){var pn=D.createObjectURL,Ln=D.revokeObjectURL;pn&&l(jr,"createObjectURL",s(pn,D)),Ln&&l(jr,"revokeObjectURL",s(Ln,D))}P(jr,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!n},{URL:jr})},51862:function(i,h,t){t(81888)},24119:function(i,h,t){var r=t(14304),n=t(38941),a=t(95486),o=t(17361),s=t(91918),u=n("URL");r({target:"URL",stat:!0,forced:!s},{parse:function(v){var d=a(arguments.length,1),g=o(v),y=d<2||arguments[1]===void 0?void 0:o(arguments[1]);try{return new u(g,y)}catch(p){return null}}})},97526:function(i,h,t){var r=t(14304),n=t(96499);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})},61969:function(i,h,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},Kr={};function Mr(i){var h=Kr[i];if(h!==void 0)return h.exports;var t=Kr[i]={exports:{}};return Ce[i].call(t.exports,t,t.exports,Mr),t.exports}(function(){Mr.d=function(i,h){for(var t in h)Mr.o(h,t)&&!Mr.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:h[t]})}})(),function(){Mr.o=function(i,h){return Object.prototype.hasOwnProperty.call(i,h)}}(),Mr(61969);var oe=Mr(68990);return oe=oe.default,oe}()}); diff --git a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js index e73306700..eca89f9ef 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -23835,7 +23835,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./node_modules/d3-axis/src/identity.js /* harmony default export */ function d3_axis_src_identity(x) { diff --git a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js index 757f0c918..0de0406f2 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(Xr,Lr){typeof exports=="object"&&typeof module=="object"?module.exports=Lr():typeof define=="function"&&define.amd?define("bb",[],Lr):typeof exports=="object"?exports.bb=Lr():(Xr.bb=Xr.bb||{},Xr.bb.plugin=Xr.bb.plugin||{},Xr.bb.plugin["stanford.pkgd"]=Lr())})(this,function(){return function(){"use strict";var Me={33539:function(u,g,t){t.d(g,{default:function(){return mf}});function n(r,a,f){r.prototype=a.prototype=f,f.constructor=r}function e(r,a){var f=Object.create(r.prototype);for(var d in a)f[d]=a[d];return f}function o(){}var s=.7,i=1/s,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",v="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,p=new RegExp(`^rgb\\(${l},${l},${l}\\)$`),y=new RegExp(`^rgb\\(${v},${v},${v}\\)$`),x=new RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),S=new RegExp(`^rgba\\(${v},${v},${v},${c}\\)$`),O=new RegExp(`^hsl\\(${c},${v},${v}\\)$`),E=new RegExp(`^hsla\\(${c},${v},${v},${c}\\)$`),A={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n(o,R,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:P,formatHsl:C,formatRgb:F,toString:F});function M(){return this.rgb().formatHex()}function P(){return this.rgb().formatHex8()}function C(){return k(this).formatHsl()}function F(){return this.rgb().formatRgb()}function R(r){var a,f;return r=(r+"").trim().toLowerCase(),(a=h.exec(r))?(f=a[1].length,a=parseInt(a[1],16),f===6?N(a):f===3?new B(a>>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):f===8?D(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):f===4?D(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=p.exec(r))?new B(a[1],a[2],a[3],1):(a=y.exec(r))?new B(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=x.exec(r))?D(a[1],a[2],a[3],a[4]):(a=S.exec(r))?D(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=O.exec(r))?rt(a[1],a[2]/100,a[3]/100,1):(a=E.exec(r))?rt(a[1],a[2]/100,a[3]/100,a[4]):A.hasOwnProperty(r)?N(A[r]):r==="transparent"?new B(NaN,NaN,NaN,0):null}function N(r){return new B(r>>16&255,r>>8&255,r&255,1)}function D(r,a,f,d){return d<=0&&(r=a=f=NaN),new B(r,a,f,d)}function j(r){return r instanceof o||(r=R(r)),r?(r=r.rgb(),new B(r.r,r.g,r.b,r.opacity)):new B}function U(r,a,f,d){return arguments.length===1?j(r):new B(r,a,f,d==null?1:d)}function B(r,a,f,d){this.r=+r,this.g=+a,this.b=+f,this.opacity=+d}n(B,U,e(o,{brighter(r){return r=r==null?i:Math.pow(i,r),new B(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new B(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new B(V(this.r),V(this.g),V(this.b),G(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:H,formatHex:H,formatHex8:z,formatRgb:w,toString:w}));function H(){return`#${J(this.r)}${J(this.g)}${J(this.b)}`}function z(){return`#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity)?1:this.opacity)*255)}`}function w(){const r=G(this.opacity);return`${r===1?"rgb(":"rgba("}${V(this.r)}, ${V(this.g)}, ${V(this.b)}${r===1?")":`, ${r})`}`}function G(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function V(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function J(r){return r=V(r),(r<16?"0":"")+r.toString(16)}function rt(r,a,f,d){return d<=0?r=a=f=NaN:f<=0||f>=1?r=a=NaN:a<=0&&(r=NaN),new _(r,a,f,d)}function k(r){if(r instanceof _)return new _(r.h,r.s,r.l,r.opacity);if(r instanceof o||(r=R(r)),!r)return new _;if(r instanceof _)return r;r=r.rgb();var a=r.r/255,f=r.g/255,d=r.b/255,m=Math.min(a,f,d),I=Math.max(a,f,d),T=NaN,b=I-m,L=(I+m)/2;return b?(a===I?T=(f-d)/b+(f0&&L<1?0:T,new _(T,b,L,r.opacity)}function ot(r,a,f,d){return arguments.length===1?k(r):new _(r,a,f,d==null?1:d)}function _(r,a,f,d){this.h=+r,this.s=+a,this.l=+f,this.opacity=+d}n(_,ot,e(o,{brighter(r){return r=r==null?i:Math.pow(i,r),new _(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new _(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,a=isNaN(r)||isNaN(this.s)?0:this.s,f=this.l,d=f+(f<.5?f:1-f)*a,m=2*f-d;return new B(xt(r>=240?r-240:r+120,m,d),xt(r,m,d),xt(r<120?r+240:r-120,m,d),this.opacity)},clamp(){return new _(mt(this.h),ct(this.s),ct(this.l),G(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=G(this.opacity);return`${r===1?"hsl(":"hsla("}${mt(this.h)}, ${ct(this.s)*100}%, ${ct(this.l)*100}%${r===1?")":`, ${r})`}`}}));function mt(r){return r=(r||0)%360,r<0?r+360:r}function ct(r){return Math.max(0,Math.min(1,r||0))}function xt(r,a,f){return(r<60?a+(f-a)*r/60:r<180?f:r<240?a+(f-a)*(240-r)/60:a)*255}var It=r=>()=>r;function Ct(r,a){return function(f){return r+f*a}}function Yt(r,a,f){return r=Math.pow(r,f),a=Math.pow(a,f)-r,f=1/f,function(d){return Math.pow(r+d*a,f)}}function Wt(r,a){var f=a-r;return f?Ct(r,f>180||f<-180?f-360*Math.round(f/360):f):It(isNaN(r)?a:r)}function Bt(r){return(r=+r)==1?vt:function(a,f){return f-a?Yt(a,f,r):It(isNaN(a)?f:a)}}function vt(r,a){var f=a-r;return f?Ct(r,f):It(isNaN(r)?a:r)}function St(r){return function(a,f){var d=r((a=ot(a)).h,(f=ot(f)).h),m=vt(a.s,f.s),I=vt(a.l,f.l),T=vt(a.opacity,f.opacity);return function(b){return a.h=d(b),a.s=m(b),a.l=I(b),a.opacity=T(b),a+""}}}var bt=St(Wt),Lt=St(vt);function Ft(r,a,f,d,m){var I=r*r,T=I*r;return((1-3*r+3*I-T)*a+(4-6*I+3*T)*f+(1+3*r+3*I-3*T)*d+T*m)/6}function jt(r){var a=r.length-1;return function(f){var d=f<=0?f=0:f>=1?(f=1,a-1):Math.floor(f*a),m=r[d],I=r[d+1],T=d>0?r[d-1]:2*m-I,b=df&&(I=a.slice(f,I),b[T]?b[T]+=I:b[++T]=I),(d=d[0])===(m=m[0])?b[T]?b[T]+=m:b[++T]=m:(b[++T]=null,L.push({i:T,x:dt(d,m)})),f=Pt.lastIndex;return fa?1:r>=a?0:NaN}function nt(r,a){return r==null||a==null?NaN:ar?1:a>=r?0:NaN}function Q(r){let a,f,d;r.length!==2?(a=X,f=(b,L)=>X(r(b),L),d=(b,L)=>r(b)-L):(a=r===X||r===nt?r:yt,f=r,d=r);function m(b,L,$=0,W=b.length){if($>>1;f(b[K],L)<0?$=K+1:W=K}while($>>1;f(b[K],L)<=0?$=K+1:W=K}while($$&&d(b[K-1],L)>-d(b[K],L)?K-1:K}return{left:m,center:T,right:I}}function yt(){return 0}function Nt(r){return r===null?NaN:+r}function*$t(r,a){if(a===void 0)for(let f of r)f!=null&&(f=+f)>=f&&(yield f);else{let f=-1;for(let d of r)(d=a(d,++f,r))!=null&&(d=+d)>=d&&(yield d)}}const Xt=Q(X),Qt=Xt.right,Zt=Xt.left,mr=Q(Nt).center;var Jr=Qt;function rn(r){return function(){return r}}function nn(r){return+r}var en=[0,1];function $r(r){return r}function qr(r,a){return(a-=r=+r)?function(f){return(f-r)/a}:rn(isNaN(a)?NaN:.5)}function dn(r,a){var f;return r>a&&(f=r,r=a,a=f),function(d){return Math.max(r,Math.min(a,d))}}function Mn(r,a,f){var d=r[0],m=r[1],I=a[0],T=a[1];return m2?hn:Mn,L=$=null,K}function K(et){return et==null||isNaN(et=+et)?I:(L||(L=b(r.map(d),a,f)))(d(T(et)))}return K.invert=function(et){return T(m(($||($=b(a,r.map(d),dt)))(et)))},K.domain=function(et){return arguments.length?(r=Array.from(et,nn),W()):r.slice()},K.range=function(et){return arguments.length?(a=Array.from(et),W()):a.slice()},K.rangeRound=function(et){return a=Array.from(et),f=lt,W()},K.clamp=function(et){return arguments.length?(T=et?!0:$r,W()):T!==$r},K.interpolate=function(et){return arguments.length?(f=et,W()):f},K.unknown=function(et){return arguments.length?(I=et,K):I},function(et,st){return d=et,m=st,W()}}function ee(){return Fr()($r,$r)}function Wr(r,a){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(a).domain(r);break}return this}function Ur(r,a){switch(arguments.length){case 0:break;case 1:{typeof r=="function"?this.interpolator(r):this.range(r);break}default:{this.domain(r),typeof a=="function"?this.interpolator(a):this.range(a);break}}return this}const gn=Math.sqrt(50),Zr=Math.sqrt(10),Tr=Math.sqrt(2);function Rr(r,a,f){const d=(a-r)/Math.max(0,f),m=Math.floor(Math.log10(d)),I=d/Math.pow(10,m),T=I>=gn?10:I>=Zr?5:I>=Tr?2:1;let b,L,$;return m<0?($=Math.pow(10,-m)/T,b=Math.round(r*$),L=Math.round(a*$),b/$a&&--L,$=-$):($=Math.pow(10,m)*T,b=Math.round(r/$),L=Math.round(a/$),b*$a&&--L),L0))return[];if(r===a)return[r];const d=a=m))return[];const b=I-m+1,L=new Array(b);if(d)if(T<0)for(let $=0;$=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tt(r){if(!(a=gt.exec(r)))throw new Error("invalid format: "+r);var a;return new Y({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}tt.prototype=Y.prototype;function Y(r){this.fill=r.fill===void 0?" ":r.fill+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!r.trim,this.type=r.type===void 0?"":r.type+""}Y.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ut(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function zt(r,a){if((f=(r=a?r.toExponential(a-1):r.toExponential()).indexOf("e"))<0)return null;var f,d=r.slice(0,f);return[d.length>1?d[0]+d.slice(2):d,+r.slice(f+1)]}function Tt(r){return r=zt(Math.abs(r)),r?r[1]:NaN}function dr(r,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Tt(a)/3)))*3-Tt(Math.abs(r)))}function yr(r,a){return function(f,d){for(var m=f.length,I=[],T=0,b=r[0],L=0;m>0&&b>0&&(L+b+1>d&&(b=Math.max(1,d-L)),I.push(f.substring(m-=b,m+b)),!((L+=b+1)>d));)b=r[T=(T+1)%r.length];return I.reverse().join(a)}}function Sr(r){return function(a){return a.replace(/[0-9]/g,function(f){return r[+f]})}}function Nr(r){t:for(var a=r.length,f=1,d=-1,m;f0&&(d=0);break}return d>0?r.slice(0,d)+r.slice(m+1):r}var ht;function xr(r,a){var f=zt(r,a);if(!f)return r+"";var d=f[0],m=f[1],I=m-(ht=Math.max(-8,Math.min(8,Math.floor(m/3)))*3)+1,T=d.length;return I===T?d:I>T?d+new Array(I-T+1).join("0"):I>0?d.slice(0,I)+"."+d.slice(I):"0."+new Array(1-I).join("0")+zt(r,Math.max(0,a+I-1))[0]}function Br(r,a){var f=zt(r,a);if(!f)return r+"";var d=f[0],m=f[1];return m<0?"0."+new Array(-m).join("0")+d:d.length>m+1?d.slice(0,m+1)+"."+d.slice(m+1):d+new Array(m-d.length+2).join("0")}var sn={"%":(r,a)=>(r*100).toFixed(a),b:r=>Math.round(r).toString(2),c:r=>r+"",d:ut,e:(r,a)=>r.toExponential(a),f:(r,a)=>r.toFixed(a),g:(r,a)=>r.toPrecision(a),o:r=>Math.round(r).toString(8),p:(r,a)=>Br(r*100,a),r:Br,s:xr,X:r=>Math.round(r).toString(16).toUpperCase(),x:r=>Math.round(r).toString(16)};function pn(r){return r}var yn=Array.prototype.map,un=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Ba(r){var a=r.grouping===void 0||r.thousands===void 0?pn:yr(yn.call(r.grouping,Number),r.thousands+""),f=r.currency===void 0?"":r.currency[0]+"",d=r.currency===void 0?"":r.currency[1]+"",m=r.decimal===void 0?".":r.decimal+"",I=r.numerals===void 0?pn:Sr(yn.call(r.numerals,String)),T=r.percent===void 0?"%":r.percent+"",b=r.minus===void 0?"\u2212":r.minus+"",L=r.nan===void 0?"NaN":r.nan+"";function $(K){K=tt(K);var et=K.fill,st=K.align,Vt=K.sign,er=K.symbol,pt=K.zero,Rt=K.width,Ut=K.comma,Mt=K.precision,kt=K.trim,Ht=K.type;Ht==="n"?(Ut=!0,Ht="g"):sn[Ht]||(Mt===void 0&&(Mt=12),kt=!0,Ht="g"),(pt||et==="0"&&st==="=")&&(pt=!0,et="0",st="=");var cr=er==="$"?f:er==="#"&&/[boxX]/.test(Ht)?"0"+Ht.toLowerCase():"",hr=er==="$"?d:/[%p]/.test(Ht)?T:"",ir=sn[Ht],Ar=/[defgprs%]/.test(Ht);Mt=Mt===void 0?6:/[gprs]/.test(Ht)?Math.max(1,Math.min(21,Mt)):Math.max(0,Math.min(20,Mt));function or(Dt){var fr=cr,nr=hr,vr,Gr,gr;if(Ht==="c")nr=ir(Dt)+nr,Dt="";else{Dt=+Dt;var pr=Dt<0||1/Dt<0;if(Dt=isNaN(Dt)?L:ir(Math.abs(Dt),Mt),kt&&(Dt=Nr(Dt)),pr&&+Dt==0&&Vt!=="+"&&(pr=!1),fr=(pr?Vt==="("?Vt:b:Vt==="-"||Vt==="("?"":Vt)+fr,nr=(Ht==="s"?un[8+ht/3]:"")+nr+(pr&&Vt==="("?")":""),Ar){for(vr=-1,Gr=Dt.length;++vrgr||gr>57){nr=(gr===46?m+Dt.slice(vr+1):Dt.slice(vr))+nr,Dt=Dt.slice(0,vr);break}}}Ut&&!pt&&(Dt=a(Dt,1/0));var Dr=fr.length+Dt.length+nr.length,sr=Dr>1)+fr+Dt+nr+sr.slice(Dr);break;default:Dt=sr+fr+Dt+nr;break}return I(Dt)}return or.toString=function(){return K+""},or}function W(K,et){var st=$((K=tt(K),K.type="f",K)),Vt=Math.max(-8,Math.min(8,Math.floor(Tt(et)/3)))*3,er=Math.pow(10,-Vt),pt=un[8+Vt/3];return function(Rt){return st(er*Rt)+pt}}return{format:$,formatPrefix:W}}var Nn,bn,Ne;ja({thousands:",",grouping:[3],currency:["$",""]});function ja(r){return Nn=Ba(r),bn=Nn.format,Ne=Nn.formatPrefix,Nn}function wa(r,a){return r=Math.abs(r),a=Math.abs(a)-r,Math.max(0,Tt(a)-Tt(r))+1}function Ga(r){return Math.max(0,-Tt(Math.abs(r)))}function Va(r,a,f,d){var m=Z(r,a,f),I;switch(d=tt(d==null?",f":d),d.type){case"s":{var T=Math.max(Math.abs(r),Math.abs(a));return d.precision==null&&!isNaN(I=dr(m,T))&&(d.precision=I),Ne(d,T)}case"":case"e":case"g":case"p":case"r":{d.precision==null&&!isNaN(I=wa(m,Math.max(Math.abs(r),Math.abs(a))))&&(d.precision=I-(d.type==="e"));break}case"f":case"%":{d.precision==null&&!isNaN(I=Ga(m))&&(d.precision=I-(d.type==="%")*2);break}}return bn(d)}function ae(r){var a=r.domain;return r.ticks=function(f){var d=a();return an(d[0],d[d.length-1],f==null?10:f)},r.tickFormat=function(f,d){var m=a();return Va(m[0],m[m.length-1],f==null?10:f,d)},r.nice=function(f){f==null&&(f=10);var d=a(),m=0,I=d.length-1,T=d[m],b=d[I],L,$,W=10;for(b0;){if($=on(T,b,f),$===L)return d[m]=T,d[I]=b,a(d);if($>0)T=Math.floor(T/$)*$,b=Math.ceil(b/$)*$;else if($<0)T=Math.ceil(T*$)/$,b=Math.floor(b*$)/$;else break;L=$}return r},r}function Ha(){var r=continuous();return r.copy=function(){return copy(r,Ha())},initRange.apply(r,arguments),ae(r)}function Wa(r,a){r=r.slice();var f=0,d=r.length-1,m=r[f],I=r[d],T;return IMath.pow(r,a)}function Ja(r){return r===Math.E?Math.log:r===10&&Math.log10||r===2&&Math.log2||(r=Math.log(r),a=>Math.log(a)/r)}function De(r){return(a,f)=>-r(-a,f)}function Le(r){const a=r(be,Fe),f=a.domain;let d=10,m,I;function T(){return m=Ja(d),I=Xa(d),f()[0]<0?(m=De(m),I=De(I),r(za,Ya)):r(be,Fe),a}return a.base=function(b){return arguments.length?(d=+b,T()):d},a.domain=function(b){return arguments.length?(f(b),T()):f()},a.ticks=b=>{const L=f();let $=L[0],W=L[L.length-1];const K=W<$;K&&([$,W]=[W,$]);let et=m($),st=m(W),Vt,er;const pt=b==null?10:+b;let Rt=[];if(!(d%1)&&st-et0){for(;et<=st;++et)for(Vt=1;VtW)break;Rt.push(er)}}else for(;et<=st;++et)for(Vt=d-1;Vt>=1;--Vt)if(er=et>0?Vt/I(-et):Vt*I(et),!(er<$)){if(er>W)break;Rt.push(er)}Rt.length*2{if(b==null&&(b=10),L==null&&(L=d===10?"s":","),typeof L!="function"&&(!(d%1)&&(L=tt(L)).precision==null&&(L.trim=!0),L=bn(L)),b===1/0)return L;const $=Math.max(1,d*b/a.ticks().length);return W=>{let K=W/I(Math.round(m(W)));return K*df(Wa(f(),{floor:b=>I(Math.floor(m(b))),ceil:b=>I(Math.ceil(m(b)))})),a}function Qa(){const r=Le(transformer()).domain([1,10]);return r.copy=()=>copy(r,Qa()).base(r.base()),initRange.apply(r,arguments),r}function Fn(){var r=0,a=1,f,d,m,I,T=$r,b=!1,L;function $(K){return K==null||isNaN(K=+K)?L:T(m===0?.5:(K=(I(K)-f)*m,b?Math.max(0,Math.min(1,K)):K))}$.domain=function(K){return arguments.length?([r,a]=K,f=I(r=+r),d=I(a=+a),m=f===d?0:1/(d-f),$):[r,a]},$.clamp=function(K){return arguments.length?(b=!!K,$):b},$.interpolator=function(K){return arguments.length?(T=K,$):T};function W(K){return function(et){var st,Vt;return arguments.length?([st,Vt]=et,T=K(st,Vt),$):[T(0),T(1)]}}return $.range=W(it),$.rangeRound=W(lt),$.unknown=function(K){return arguments.length?(L=K,$):L},function(K){return I=K,f=K(r),d=K(a),m=f===d?0:1/(d-f),$}}function Dn(r,a){return a.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function $e(){var r=ae(Fn()($r));return r.copy=function(){return Dn(r,$e())},Ur.apply(r,arguments)}function Ue(){var r=Le(Fn()).domain([1,10]);return r.copy=function(){return Dn(r,Ue()).base(r.base())},Ur.apply(r,arguments)}function Za(){var r=symlogish(Fn());return r.copy=function(){return Dn(r,Za()).constant(r.constant())},initInterpolator.apply(r,arguments)}function Be(){var r=powish(Fn());return r.copy=function(){return Dn(r,Be()).exponent(r.exponent())},initInterpolator.apply(r,arguments)}function Ef(){return Be.apply(null,arguments).exponent(.5)}var ka=Object.defineProperty,je=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,we=(r,a,f)=>a in r?ka(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,ur=(r,a)=>{for(var f in a||(a={}))qa.call(a,f)&&we(r,f,a[f]);if(je)for(var f of je(a))_a.call(a,f)&&we(r,f,a[f]);return r};const to={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},ro={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},no={area:"bb-area",areas:"bb-areas"},eo={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},ao={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},oo={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},so={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},io={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},uo={dragarea:"bb-dragarea",INCLUDED:"_included_"},fo={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},lo={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},co={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},vo={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},ho={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},go={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},po={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Of={level:"bb-level",levels:"bb-levels"},yo={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},mo={region:"bb-region",regions:"bb-regions"},xo={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},So={shape:"bb-shape",shapes:"bb-shapes"},Eo={brush:"bb-brush",subchart:"bb-subchart"},Oo={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},oe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},Io={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Ao={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var If=ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur({},to),ro),no),eo),ao),oo),so),io),uo),lo),co),vo),ho),go),fo),po),yo),mo),xo),So),Eo),Oo),oe),Io),Ao);function To(){}function se(r){return r==null?To:function(){return this.querySelector(r)}}function Ro(r){typeof r!="function"&&(r=se(r));for(var a=this._groups,f=a.length,d=new Array(f),m=0;m=Mt&&(Mt=Ut+1);!(Ht=pt[Mt])&&++Mt=0;)(T=d[m])&&(I&&T.compareDocumentPosition(I)^4&&I.parentNode.insertBefore(T,I),I=T);return this}function ko(r){r||(r=qo);function a(K,et){return K&&et?r(K.__data__,et.__data__):!K-!et}for(var f=this._groups,d=f.length,m=new Array(d),I=0;Ia?1:r>=a?0:NaN}function _o(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function ts(){return Array.from(this)}function rs(){for(var r=this._groups,a=0,f=r.length;a=0&&(a=r.slice(0,f))!=="xmlns"&&(r=r.slice(f+1)),ze.hasOwnProperty(a)?{space:ze[a],local:r}:r}function os(r){return function(){this.removeAttribute(r)}}function ss(r){return function(){this.removeAttributeNS(r.space,r.local)}}function is(r,a){return function(){this.setAttribute(r,a)}}function us(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function fs(r,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttribute(r):this.setAttribute(r,f)}}function ls(r,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,f)}}function cs(r,a){var f=$n(r);if(arguments.length<2){var d=this.node();return f.local?d.getAttributeNS(f.space,f.local):d.getAttribute(f)}return this.each((a==null?f.local?ss:os:typeof a=="function"?f.local?ls:fs:f.local?us:is)(f,a))}function Ye(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function vs(r){return function(){this.style.removeProperty(r)}}function ds(r,a,f){return function(){this.style.setProperty(r,a,f)}}function hs(r,a,f){return function(){var d=a.apply(this,arguments);d==null?this.style.removeProperty(r):this.style.setProperty(r,d,f)}}function gs(r,a,f){return arguments.length>1?this.each((a==null?vs:typeof a=="function"?hs:ds)(r,a,f==null?"":f)):fn(this.node(),r)}function fn(r,a){return r.style.getPropertyValue(a)||Ye(r).getComputedStyle(r,null).getPropertyValue(a)}function ps(r){return function(){delete this[r]}}function ys(r,a){return function(){this[r]=a}}function ms(r,a){return function(){var f=a.apply(this,arguments);f==null?delete this[r]:this[r]=f}}function xs(r,a){return arguments.length>1?this.each((a==null?ps:typeof a=="function"?ms:ys)(r,a)):this.node()[r]}function Ke(r){return r.trim().split(/^|\s+/)}function ue(r){return r.classList||new Xe(r)}function Xe(r){this._node=r,this._names=Ke(r.getAttribute("class")||"")}Xe.prototype={add:function(r){var a=this._names.indexOf(r);a<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Je(r,a){for(var f=ue(r),d=-1,m=a.length;++d=0&&(f=a.slice(d+1),a=a.slice(0,d)),{type:a,name:f}})}function Qs(r){return function(){var a=this.__on;if(a){for(var f=0,d=-1,m=a.length,I;f{}};function _e(){for(var r=0,a=arguments.length,f={},d;r=0&&(d=f.slice(m+1),f=f.slice(0,m)),f&&!a.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:d}})}Un.prototype=_e.prototype={constructor:Un,on:function(r,a){var f=this._,d=oi(r+"",f),m,I=-1,T=d.length;if(arguments.length<2){for(;++I0)for(var f=new Array(m),d=0,m,I;d=0&&r._call.call(void 0,a),r=r._next;--ln}function aa(){_r=(jn=On.now())+wn,ln=xn=0;try{fi()}finally{ln=0,ci(),_r=0}}function li(){var r=On.now(),a=r-jn;a>ra&&(wn-=a,jn=r)}function ci(){for(var r,a=Bn,f,d=1/0;a;)a._call?(d>a._time&&(d=a._time),r=a,a=a._next):(f=a._next,a._next=null,a=r?r._next=f:Bn=f);En=r,le(d)}function le(r){if(!ln){xn&&(xn=clearTimeout(xn));var a=r-_r;a>24?(r<1/0&&(xn=setTimeout(aa,r-On.now()-wn)),Sn&&(Sn=clearInterval(Sn))):(Sn||(jn=On.now(),Sn=setInterval(li,ra)),ln=1,na(aa))}}function oa(r,a,f){var d=new Gn;return a=a==null?0:+a,d.restart(m=>{d.stop(),r(m+a)},a,f),d}var vi=ii("start","end","cancel","interrupt"),di=[],sa=0,ia=1,ce=2,Vn=3,ua=4,ve=5,Hn=6;function Wn(r,a,f,d,m,I){var T=r.__transition;if(!T)r.__transition={};else if(f in T)return;hi(r,f,{name:a,index:d,group:m,on:vi,tween:di,time:I.time,delay:I.delay,duration:I.duration,ease:I.ease,timer:null,state:sa})}function de(r,a){var f=wr(r,a);if(f.state>sa)throw new Error("too late; already scheduled");return f}function Vr(r,a){var f=wr(r,a);if(f.state>Vn)throw new Error("too late; already running");return f}function wr(r,a){var f=r.__transition;if(!f||!(f=f[a]))throw new Error("transition not found");return f}function hi(r,a,f){var d=r.__transition,m;d[a]=f,f.timer=ea(I,0,f.time);function I($){f.state=ia,f.timer.restart(T,f.delay,f.time),f.delay<=$&&T($-f.delay)}function T($){var W,K,et,st;if(f.state!==ia)return L();for(W in d)if(st=d[W],st.name===f.name){if(st.state===Vn)return oa(T);st.state===ua?(st.state=Hn,st.timer.stop(),st.on.call("interrupt",r,r.__data__,st.index,st.group),delete d[W]):+Wce&&d.state180?W+=360:W-$>180&&($+=360),et.push({i:K.push(m(K)+"rotate(",null,d)-2,x:dt($,W)})):W&&K.push(m(K)+"rotate("+W+d)}function b($,W,K,et){$!==W?et.push({i:K.push(m(K)+"skewX(",null,d)-2,x:dt($,W)}):W&&K.push(m(K)+"skewX("+W+d)}function L($,W,K,et,st,Vt){if($!==K||W!==et){var er=st.push(m(st)+"scale(",null,",",null,")");Vt.push({i:er-4,x:dt($,K)},{i:er-2,x:dt(W,et)})}else(K!==1||et!==1)&&st.push(m(st)+"scale("+K+","+et+")")}return function($,W){var K=[],et=[];return $=r($),W=r(W),I($.translateX,$.translateY,W.translateX,W.translateY,K,et),T($.rotate,W.rotate,K,et),b($.skewX,W.skewX,K,et),L($.scaleX,$.scaleY,W.scaleX,W.scaleY,K,et),$=W=null,function(st){for(var Vt=-1,er=et.length,pt;++Vt=0&&(a=a.slice(0,f)),!a||a==="start"})}function Qi(r,a,f){var d,m,I=Ji(a)?de:Vr;return function(){var T=I(this,r),b=T.on;b!==d&&(m=(d=b).copy()).on(a,f),T.on=m}}function Zi(r,a){var f=this._id;return arguments.length<2?wr(this.node(),f).on.on(r):this.each(Qi(f,r,a))}function ki(r){return function(){var a=this.parentNode;for(var f in this.__transition)if(+f!==r)return;a&&a.removeChild(this)}}function qi(){return this.on("end.remove",ki(this._id))}function _i(r){var a=this._name,f=this._id;typeof r!="function"&&(r=se(r));for(var d=this._groups,m=d.length,I=new Array(m),T=0;T{const Ir=qt.identifier;return qt=pointer(qt,Rt),qt.point0=qt.slice(),qt.identifier=Ir,qt});interrupt(Rt);var Rn=W(Rt,arguments,!0).beforestart();if(Ut==="overlay"){ir&&(Ce=!0);const qt=[br[0],br[1]||br[0]];cr.selection=ir=[[or=r===Kn?Ar:Mr(qt[0][0],qt[1][0]),nr=r===Yn?fr:Mr(qt[0][1],qt[1][1])],[gr=r===Kn?Gr:Cr(qt[0][0],qt[1][0]),sr=r===Yn?Dr:Cr(qt[0][1],qt[1][1])]],br.length>1&&tn(pt)}else or=ir[0][0],nr=ir[0][1],gr=ir[1][0],sr=ir[1][1];Dt=or,vr=nr,pr=gr,Pr=sr;var Da=select(Rt).attr("pointer-events","none"),Pn=Da.selectAll(".overlay").attr("cursor",Kr[Ut]);if(pt.touches)Rn.moved=$a,Rn.ended=Ua;else{var La=select(pt.view).on("mousemove.brush",$a,!0).on("mouseup.brush",Ua,!0);m&&La.on("keydown.brush",xf,!0).on("keyup.brush",Sf,!0),dragDisable(pt.view)}$.call(Rt),Rn.start(pt,Mt.name);function $a(qt){for(const Ir of qt.changedTouches||[qt])for(const Cn of br)Cn.identifier===Ir.identifier&&(Cn.cur=pointer(Ir,Rt));if(_n&&!te&&!re&&br.length===1){const Ir=br[0];pa(Ir.cur[0]-Ir[0])>pa(Ir.cur[1]-Ir[1])?re=!0:te=!0}for(const Ir of br)Ir.cur&&(Ir[0]=Ir.cur[0],Ir[1]=Ir.cur[1]);Ce=!0,noevent(qt),tn(qt)}function tn(qt){const Ir=br[0],Cn=Ir.point0;var kr;switch(Er=Ir[0]-Cn[0],Or=Ir[1]-Cn[1],Mt){case pe:case ga:{kt&&(Er=Cr(Ar-or,Mr(Gr-gr,Er)),Dt=or+Er,pr=gr+Er),Ht&&(Or=Cr(fr-nr,Mr(Dr-sr,Or)),vr=nr+Or,Pr=sr+Or);break}case cn:{br[1]?(kt&&(Dt=Cr(Ar,Mr(Gr,br[0][0])),pr=Cr(Ar,Mr(Gr,br[1][0])),kt=1),Ht&&(vr=Cr(fr,Mr(Dr,br[0][1])),Pr=Cr(fr,Mr(Dr,br[1][1])),Ht=1)):(kt<0?(Er=Cr(Ar-or,Mr(Gr-or,Er)),Dt=or+Er,pr=gr):kt>0&&(Er=Cr(Ar-gr,Mr(Gr-gr,Er)),Dt=or,pr=gr+Er),Ht<0?(Or=Cr(fr-nr,Mr(Dr-nr,Or)),vr=nr+Or,Pr=sr):Ht>0&&(Or=Cr(fr-sr,Mr(Dr-sr,Or)),vr=nr,Pr=sr+Or));break}case vn:{kt&&(Dt=Cr(Ar,Mr(Gr,or-Er*kt)),pr=Cr(Ar,Mr(Gr,gr+Er*kt))),Ht&&(vr=Cr(fr,Mr(Dr,nr-Or*Ht)),Pr=Cr(fr,Mr(Dr,sr+Or*Ht)));break}}pr0&&(or=Dt-Er),Ht<0?sr=Pr-Or:Ht>0&&(nr=vr-Or),Mt=pe,Pn.attr("cursor",Kr.selection),tn(qt));break}default:return}noevent(qt)}function Sf(qt){switch(qt.keyCode){case 16:{_n&&(te=re=_n=!1,tn(qt));break}case 18:{Mt===vn&&(kt<0?gr=pr:kt>0&&(or=Dt),Ht<0?sr=Pr:Ht>0&&(nr=vr),Mt=cn,tn(qt));break}case 32:{Mt===pe&&(qt.altKey?(kt&&(gr=pr-Er*kt,or=Dt+Er*kt),Ht&&(sr=Pr-Or*Ht,nr=vr+Or*Ht),Mt=vn):(kt<0?gr=pr:kt>0&&(or=Dt),Ht<0?sr=Pr:Ht>0&&(nr=vr),Mt=cn),Pn.attr("cursor",Kr[Ut]),tn(qt));break}default:return}noevent(qt)}}function st(pt){W(this,arguments).moved(pt)}function Vt(pt){W(this,arguments).ended(pt)}function er(){var pt=this.__brush||{selection:null};return pt.extent=ye(a.apply(this,arguments)),pt.dim=r,pt}return L.extent=function(pt){return arguments.length?(a=typeof pt=="function"?pt:constant(ye(pt)),L):a},L.filter=function(pt){return arguments.length?(f=typeof pt=="function"?pt:constant(!!pt),L):f},L.touchable=function(pt){return arguments.length?(d=typeof pt=="function"?pt:constant(!!pt),L):d},L.handleSize=function(pt){return arguments.length?(T=+pt,L):T},L.keyModifiers=function(pt){return arguments.length?(m=!!pt,L):m},L.on=function(){var pt=I.on.apply(I,arguments);return pt===I?L:pt},L}function Fu(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Du(r){const a=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",f=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",d=I=>setTimeout(I,1),m=I=>clearTimeout(I);return[a?r.requestAnimationFrame:d,a?r.cancelAnimationFrame:m,f?r.requestIdleCallback:d,f?r.cancelIdleCallback:m]}const Xn=Fu(),Lu=Xn==null?void 0:Xn.document,[Nf,bf,Ff,Df]=Du(Xn);var $u=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Ea=(r,a,f)=>a in r?$u(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Oa=(r,a)=>{for(var f in a||(a={}))Uu.call(a,f)&&Ea(r,f,a[f]);if(Sa)for(var f of Sa(a))Bu.call(a,f)&&Ea(r,f,a[f]);return r};const Lf=r=>r||r===0,Se=r=>typeof r=="function",An=r=>typeof r=="string",Ee=r=>typeof r=="number",ju=r=>typeof r=="undefined",Ia=r=>typeof r!="undefined",$f=r=>typeof r=="boolean",Uf=r=>Math.ceil(r/10)*10,Bf=r=>Math.ceil(r)+.5,jf=r=>r[1]-r[0],Oe=r=>typeof r=="object",Aa=r=>ju(r)||r===null||An(r)&&r.length===0||Oe(r)&&!(r instanceof Date)&&Object.keys(r).length===0||Ee(r)&&isNaN(r),wu=r=>!Aa(r),Ie=r=>Array.isArray(r),Jn=r=>r&&!(r!=null&&r.nodeType)&&Oe(r)&&!Ie(r);function wf(r,a,f){return Ia(r[a])?r[a]:f}function Gf(r,a){let f=!1;return Object.keys(r).forEach(d=>r[d]===a&&(f=!0)),f}function Vf(r,a,...f){const d=Se(r);return d&&r.call(a,...f),d}function Hf(r,a){let f=0;const d=function(...m){!--f&&a.apply(this,...m)};"duration"in r?r.each(()=>++f).on("end",d):(++f,r.call(d))}function Wf(r){return An(r)?r.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):r}function zf(r,a,f=[-1,1],d=!1){if(!(!r||!An(a)))if(a.indexOf(` `)===-1)r.text(a);else{const m=[r.text(),a].map(I=>I.replace(/[\s\n]/g,""));if(m[0]!==m[1]){const I=a.split(` -`),T=d?I.length-1:1;r.html(""),I.forEach((b,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*T:f[1]}em`).text(b)})}}}function Gu(r){const{x:a,y:f,width:d,height:m}=r.getBBox();return[{x:a,y:f+m},{x:a,y:f},{x:a+d,y:f},{x:a+d,y:f+m}]}function Yf(r){const{width:a,height:f}=r.getBoundingClientRect(),d=Gu(r),m=d[0].x,I=Math.min(d[0].y,d[1].y);return{x:m,y:I,width:a,height:f}}function Kf(r,a){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let m=[0,0];try{m=d3Pointer(d||r,a)}catch(I){}return m.map(I=>isNaN(I)?0:I)}function Vu(r){const{event:a,$el:f}=r,d=f.subchart.main||f.main;let m;return a&&a.type==="brush"?m=a.selection:d&&(m=d.select(".bb-brush").node())&&(m=d3BrushSelection(m)),m}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,a=0,f=1e4){const d=window.crypto||window.msCrypto,m=d?a+d.getRandomValues(new Uint32Array(1))[0]%(f-a+1):Math.floor(Math.random()*(f-a)+a);return r?String(m):m}function Ta(r,a,f,d,m){if(f>d)return-1;const I=Math.floor((f+d)/2);let{x:T,w:b=0}=r[I];return m&&(T=r[I].y,b=r[I].h),a>=T&&a<=T+b?I:a{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const m in f)d[m]=a(f[m]);return d}return f};return r.map(f=>a(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},a){Ie(a)&&a.forEach(f=>Hu(r,f));for(const f in a)/^\d+$/.test(f)||f in r||(r[f]=a[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,a="-"){return r.split(a).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,a,f){const{rootSelector:d="",sheet:m}=r,T=`${d} ${(b=>b.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${f.join(";")}}`;return m[m.insertRule?"insertRule":"addRule"](T,m.cssRules.length)}function tl(r){let a=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(a=a.concat(Wu(f.cssRules)))}catch(m){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${m.toString()}`)}}),a}function rl(r){var a,f,d,m;return{x:((f=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?f:0)+r.scrollLeft,y:((m=(d=window.pageYOffset)!=null?d:window.scrollY)!=null?m:0)+r.scrollTop}}function nl(r){const a=r?r.transform:null,f=a&&a.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function el(r){const a=r[0]instanceof Date,f=(a?r.map(Number):r).filter((d,m,I)=>I.indexOf(d)===m);return a?f.map(d=>new Date(d)):f}function al(r){return r&&r.length?r.reduce((a,f)=>a.concat(f)):[]}function Ae(r,...a){if(!a.length||a.length===1&&!a[0])return r;const f=a.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const m=f[d];Jn(m)?(!r[d]&&(r[d]={}),r[d]=Ae(r[d],m)):r[d]=Ie(m)?m.concat():m}),Ae(r,...a)}function zu(r,a=!0){let f;return r[0]instanceof Date?f=a?(d,m)=>d-m:(d,m)=>m-d:a&&!r.every(isNaN)?f=(d,m)=>d-m:a||(f=(d,m)=>d>m&&-1||dwu(d));return f.length?Ee(f[0])?f=Math[r](...f):f[0]instanceof Date&&(f=zu(f,r==="min")[0]):f=void 0,f}const Yu=(r,a,f=1)=>{const d=[],m=Math.max(0,Math.ceil((a-r)/f))|0;for(let I=r;I{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,f,d=r())=>{a.dispatchEvent(new MouseEvent(f,d))}}catch(a){return(f,d,m=r())=>{const I=Lu.createEvent("MouseEvent");I.initMouseEvent(d,m.bubbles,m.cancelable,Xn,0,m.screenX,m.screenY,m.clientX,m.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(I)}}})(),touch:(r,a,f)=>{const d=new Touch(Ae({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},f));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function il(r,a){let f=r;for(const d in a)f=f.replace(new RegExp(`{=${d}}`,"g"),a[d]);return f}function Ku(r){var a;let f;if(r instanceof Date)f=r;else if(An(r)){const{config:d,format:m}=this;f=(a=m.dataTime(d.data_xFormat)(r))!=null?a:new Date(r)}else Ee(r)&&!isNaN(r)&&(f=new Date(+r));return(!f||isNaN(+f))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),f}function ul(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function fl(r,a){const{DocumentTouch:f,matchMedia:d,navigator:m}=window;let I=!1;if(a)if(m&&"maxTouchPoints"in m)I=m.maxTouchPoints>0;else if("ontouchmove"in window||f&&document instanceof f)I=!0;else if(d!=null&&d("(pointer:coarse)").matches)I=!0;else{const b=m.userAgent;I=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(b)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(b)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||I&&"touch"||"mouse"}function Xu(r,a){a()===!1?requestAnimationFrame(()=>Xu(r,a)):r()}function Ju(r){const a=this.config;let f,d,m;const I=()=>{const T=d.shift();if(T&&f&&Oe(f)&&T in f)return f=f[T],I();if(!T)return f};Object.keys(a).forEach(T=>{f=r,d=T.split("_"),m=I(),Ia(m)&&(a[T]=m)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,a,f)=>a in r?Qu(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Te=(r,a,f)=>Zu(r,typeof a!="symbol"?a+"":a,f);class Ra{constructor(a={}){Te(this,"$$"),Te(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}Te(Ra,"version","3.12.4-nightly-20240727004635");function ku(r){return r}var Qn=1,Zn=2,Re=3,Tn=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return a=>+r(a)}function rf(r,a){return a=Math.max(0,r.bandwidth()-a*2)/2,r.round()&&(a=Math.round(a)),f=>+r(f)+a}function nf(){return!this.__axis}function kn(r,a){var f=[],d=null,m=null,I=6,T=6,b=3,L=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,$=r===Qn||r===Tn?-1:1,W=r===Tn||r===Zn?"x":"y",K=r===Qn||r===Re?qu:_u;function et(st){var Vt=d==null?a.ticks?a.ticks.apply(a,f):a.domain():d,er=m==null?a.tickFormat?a.tickFormat.apply(a,f):ku:m,pt=Math.max(I,0)+b,Rt=a.range(),Ut=+Rt[0]+L,Mt=+Rt[Rt.length-1]+L,kt=(a.bandwidth?rf:tf)(a.copy(),L),Ht=st.selection?st.selection():st,cr=Ht.selectAll(".domain").data([null]),hr=Ht.selectAll(".tick").data(Vt,a).order(),ir=hr.exit(),Ar=hr.enter().append("g").attr("class","tick"),or=hr.select("line"),Dt=hr.select("text");cr=cr.merge(cr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),hr=hr.merge(Ar),or=or.merge(Ar.append("line").attr("stroke","currentColor").attr(W+"2",$*I)),Dt=Dt.merge(Ar.append("text").attr("fill","currentColor").attr(W,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),st!==Ht&&(cr=cr.transition(st),hr=hr.transition(st),or=or.transition(st),Dt=Dt.transition(st),ir=ir.transition(st).attr("opacity",Pa).attr("transform",function(fr){return isFinite(fr=kt(fr))?K(fr+L):this.getAttribute("transform")}),Ar.attr("opacity",Pa).attr("transform",function(fr){var nr=this.parentNode.__axis;return K((nr&&isFinite(nr=nr(fr))?nr:kt(fr))+L)})),ir.remove(),cr.attr("d",r===Tn||r===Zn?T?"M"+$*T+","+Ut+"H"+L+"V"+Mt+"H"+$*T:"M"+L+","+Ut+"V"+Mt:T?"M"+Ut+","+$*T+"V"+L+"H"+Mt+"V"+$*T:"M"+Ut+","+L+"H"+Mt),hr.attr("opacity",1).attr("transform",function(fr){return K(kt(fr)+L)}),or.attr(W+"2",$*I),Dt.attr(W,$*pt).text(er),Ht.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===Tn?"end":"middle"),Ht.each(function(){this.__axis=kt})}return et.scale=function(st){return arguments.length?(a=st,et):a},et.ticks=function(){return f=Array.from(arguments),et},et.tickArguments=function(st){return arguments.length?(f=st==null?[]:Array.from(st),et):f.slice()},et.tickValues=function(st){return arguments.length?(d=st==null?null:Array.from(st),et):d&&d.slice()},et.tickFormat=function(st){return arguments.length?(m=st,et):m},et.tickSize=function(st){return arguments.length?(I=T=+st,et):I},et.tickSizeInner=function(st){return arguments.length?(I=+st,et):I},et.tickSizeOuter=function(st){return arguments.length?(T=+st,et):T},et.tickPadding=function(st){return arguments.length?(b=+st,et):b},et.offset=function(st){return arguments.length?(L=+st,et):L},et}function ll(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function cl(r){return kn(Re,r)}function vl(r){return kn(Tn,r)}function Ca(r){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/r))}}function Ma(r){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a))*r}}function af(r){var a=1,f=r(Ca(a),Ma(a));return f.constant=function(d){return arguments.length?r(Ca(a=+d),Ma(a)):a},ae(f)}function Na(){var r=af(Fr());return r.copy=function(){return Qr(r,Na()).constant(r.constant())},Wr.apply(r,arguments)}var Hr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},of=Object.defineProperty,sf=(r,a,f)=>a in r?of(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,ba=(r,a,f)=>sf(r,typeof a!="symbol"?a+"":a,f);class uf{constructor(a){ba(this,"owner"),ba(this,"colorScale"),this.owner=a}drawColorScale(){const{$$:a,config:f}=this.owner,d=a.data.targets[0],m=a.state.height-f.padding_bottom-f.padding_top,I=f.scale_width,T=5,b=Yu(f.padding_bottom,m,T),L=$e(d.colors).domain([b[b.length-1],b[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=a.$el.svg.append("g").attr("width",50).attr("height",m).attr("class",Hr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(b).enter().append("rect").attr("y",(st,Vt)=>Vt*T).attr("x",0).attr("width",I).attr("height",T).attr("fill",st=>L(st));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([b[0]+f.padding_top+b[b.length-1]+T-1,b[0]+f.padding_top]),W=ef($),K=f.scale_format;K==="pow10"?W.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?W.tickFormat(K):W.tickFormat(bn("d"));const et=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${I},0)`).call(W);K==="pow10"&&et.selectAll(".tick text").text(null).filter(st=>st/Math.pow(10,Math.ceil(Math.log(st)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(st=>Math.round(Math.log(st)/Math.LN10)),this.colorScale.attr("transform",`translate(${a.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function ff(r,a){const f=r.x,d=r.value;let m=!1;for(let I=0,T=a.length-1;Id!=W>d&&f<($-b)*(d-L)/(W-L)+b&&(m=!m)}return m}function lf(r,a){return r.epochsa.epochs?1:0}function cf(r){let a=0,f,d;for(let m=0,I=r.length,T=I-1;ma in r?vf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,hf=(r,a,f)=>df(r,typeof a!="symbol"?a+"":a,f);class gf{constructor(a){hf(this,"owner"),this.owner=a;const f=a.$$.$el.main.select(".bb-chart").append("g").attr("class",Hr.stanfordElements);f.append("g").attr("class",Hr.stanfordLines),f.append("g").attr("class",Hr.stanfordRegions)}updateStanfordLines(a){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,I=d.axis_rotated,T=this.xvCustom.bind(f),b=this.yvCustom.bind(f),L=m.select(`.${Hr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Hr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(a).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",W=>Hr.stanfordLine+(W.class?` ${W.class}`:"")).select("line").transition().duration(a).attr("x1",W=>I?b(W,"y1"):T(W,"x1")).attr("x2",W=>I?b(W,"y2"):T(W,"x2")).attr("y1",W=>I?T(W,"x1"):b(W,"y1")).attr("y2",W=>I?T(W,"x2"):b(W,"y2")).transition().style("opacity",null)}updateStanfordRegions(a){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,I=d.axis_rotated,T=this.xvCustom.bind(f),b=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=m.select(`.${Hr.stanfordRegions}`).selectAll(`.${Hr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(a).style("opacity","0").remove();const W=$.enter().append("g");W.append("polygon").style("opacity","0"),W.append("text").attr("transform",I?"rotate(-90)":"").style("opacity","0"),$=W.merge($),$.attr("class",K=>Hr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(a).attr("points",K=>K.points.map(et=>[I?b(et,"y"):T(et,"x"),I?T(et,"x"):b(et,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(a).attr("x",K=>I?b(qn(K.points),"y"):T(qn(K.points),"x")).attr("y",K=>I?T(qn(K.points),"x"):b(qn(K.points),"y")).text(K=>{if(K.text){const{value:et,percentage:st}=L(K.points);return K.text(et,st)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(a=0){this.updateStanfordLines(a),this.updateStanfordRegions(a)}xvCustom(a,f){const d=this,{axis:m,config:I}=d;let T=f?a[f]:d.getBaseValue(a);return m.isTimeSeries()?T=Ku.call(d,T):m.isCategorized()&&An(T)&&(T=I.axis_x_categories.indexOf(a.value)),Math.ceil(d.scale.x(T))}yvCustom(a,f){const d=this,m=a.axis&&a.axis==="y2"?d.scale.y2:d.scale.y,I=f?a[f]:d.getBaseValue(a);return Math.ceil(m(I))}}class Fa{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var pf=Object.defineProperty,yf=(r,a,f)=>a in r?pf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Pe=(r,a,f)=>yf(r,typeof a!="symbol"?a+"":a,f);class mf extends Ra{constructor(a){return super(a),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:a}=this;a.config.data_xSort=!1,a.isMultipleX=()=>!0,a.showGridFocus=()=>{},a.labelishData=d=>d.values,a.opacityForCircle=()=>1;const f=a.getCurrentPadding.bind(a);a.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:a}=this;Ju.call(this,this.options),a.color=this.getStanfordPointColor.bind(a),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),a.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(a){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(a)}getOptions(){return new Fa}convertData(){const a=this.$$.data.targets,f=this.options.epochs;a.forEach(d=>{d.values.forEach((m,I)=>{m.epochs=f[I]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:a}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(m=>m.epochs);f.minEpochs=isNaN(a.scale_min)?Math.min(...d):a.scale_min,f.maxEpochs=isNaN(a.scale_max)?Math.max(...d):a.scale_max,f.colors=Se(a.colors)?a.colors:Lt(ot(250,1,.5),ot(0,1,.5)),f.colorscale=Ue(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(a){return this.data.targets[0].colorscale(a.epochs)}setStanfordTooltip(){const{config:a}=this.$$;Aa(a.tooltip_contents)&&(a.tooltip_contents=function(f,d,m,I){const{data_x:T}=a;let b=`
${a||""} ${o(g)}
`;return f.forEach(L=>{const{id:$="",value:W=0,epochs:K=0,x:et=""}=L;b+=` +`),T=d?I.length-1:1;r.html(""),I.forEach((b,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*T:f[1]}em`).text(b)})}}}function Gu(r){const{x:a,y:f,width:d,height:m}=r.getBBox();return[{x:a,y:f+m},{x:a,y:f},{x:a+d,y:f},{x:a+d,y:f+m}]}function Yf(r){const{width:a,height:f}=r.getBoundingClientRect(),d=Gu(r),m=d[0].x,I=Math.min(d[0].y,d[1].y);return{x:m,y:I,width:a,height:f}}function Kf(r,a){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let m=[0,0];try{m=d3Pointer(d||r,a)}catch(I){}return m.map(I=>isNaN(I)?0:I)}function Vu(r){const{event:a,$el:f}=r,d=f.subchart.main||f.main;let m;return a&&a.type==="brush"?m=a.selection:d&&(m=d.select(".bb-brush").node())&&(m=d3BrushSelection(m)),m}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,a=0,f=1e4){const d=window.crypto||window.msCrypto,m=d?a+d.getRandomValues(new Uint32Array(1))[0]%(f-a+1):Math.floor(Math.random()*(f-a)+a);return r?String(m):m}function Ta(r,a,f,d,m){if(f>d)return-1;const I=Math.floor((f+d)/2);let{x:T,w:b=0}=r[I];return m&&(T=r[I].y,b=r[I].h),a>=T&&a<=T+b?I:a{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const m in f)d[m]=a(f[m]);return d}return f};return r.map(f=>a(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},a){Ie(a)&&a.forEach(f=>Hu(r,f));for(const f in a)/^\d+$/.test(f)||f in r||(r[f]=a[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,a="-"){return r.split(a).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,a,f){const{rootSelector:d="",sheet:m}=r,T=`${d} ${(b=>b.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${f.join(";")}}`;return m[m.insertRule?"insertRule":"addRule"](T,m.cssRules.length)}function tl(r){let a=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(a=a.concat(Wu(f.cssRules)))}catch(m){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${m.toString()}`)}}),a}function rl(r){var a,f,d,m;return{x:((f=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?f:0)+r.scrollLeft,y:((m=(d=window.pageYOffset)!=null?d:window.scrollY)!=null?m:0)+r.scrollTop}}function nl(r){const a=r?r.transform:null,f=a&&a.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function el(r){const a=r[0]instanceof Date,f=(a?r.map(Number):r).filter((d,m,I)=>I.indexOf(d)===m);return a?f.map(d=>new Date(d)):f}function al(r){return r&&r.length?r.reduce((a,f)=>a.concat(f)):[]}function Ae(r,...a){if(!a.length||a.length===1&&!a[0])return r;const f=a.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const m=f[d];Jn(m)?(!r[d]&&(r[d]={}),r[d]=Ae(r[d],m)):r[d]=Ie(m)?m.concat():m}),Ae(r,...a)}function zu(r,a=!0){let f;return r[0]instanceof Date?f=a?(d,m)=>d-m:(d,m)=>m-d:a&&!r.every(isNaN)?f=(d,m)=>d-m:a||(f=(d,m)=>d>m&&-1||dwu(d));return f.length?Ee(f[0])?f=Math[r](...f):f[0]instanceof Date&&(f=zu(f,r==="min")[0]):f=void 0,f}const Yu=(r,a,f=1)=>{const d=[],m=Math.max(0,Math.ceil((a-r)/f))|0;for(let I=r;I{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,f,d=r())=>{a.dispatchEvent(new MouseEvent(f,d))}}catch(a){return(f,d,m=r())=>{const I=Lu.createEvent("MouseEvent");I.initMouseEvent(d,m.bubbles,m.cancelable,Xn,0,m.screenX,m.screenY,m.clientX,m.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(I)}}})(),touch:(r,a,f)=>{const d=new Touch(Ae({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},f));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function il(r,a){let f=r;for(const d in a)f=f.replace(new RegExp(`{=${d}}`,"g"),a[d]);return f}function Ku(r){var a;let f;if(r instanceof Date)f=r;else if(An(r)){const{config:d,format:m}=this;f=(a=m.dataTime(d.data_xFormat)(r))!=null?a:new Date(r)}else Ee(r)&&!isNaN(r)&&(f=new Date(+r));return(!f||isNaN(+f))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),f}function ul(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function fl(r,a){const{DocumentTouch:f,matchMedia:d,navigator:m}=window;let I=!1;if(a)if(m&&"maxTouchPoints"in m)I=m.maxTouchPoints>0;else if("ontouchmove"in window||f&&document instanceof f)I=!0;else if(d!=null&&d("(pointer:coarse)").matches)I=!0;else{const b=m.userAgent;I=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(b)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(b)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||I&&"touch"||"mouse"}function Xu(r,a){a()===!1?requestAnimationFrame(()=>Xu(r,a)):r()}function Ju(r){const a=this.config;let f,d,m;const I=()=>{const T=d.shift();if(T&&f&&Oe(f)&&T in f)return f=f[T],I();if(!T)return f};Object.keys(a).forEach(T=>{f=r,d=T.split("_"),m=I(),Ia(m)&&(a[T]=m)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,a,f)=>a in r?Qu(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Te=(r,a,f)=>Zu(r,typeof a!="symbol"?a+"":a,f);class Ra{constructor(a={}){Te(this,"$$"),Te(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}Te(Ra,"version","3.12.4-nightly-20240731004602");function ku(r){return r}var Qn=1,Zn=2,Re=3,Tn=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return a=>+r(a)}function rf(r,a){return a=Math.max(0,r.bandwidth()-a*2)/2,r.round()&&(a=Math.round(a)),f=>+r(f)+a}function nf(){return!this.__axis}function kn(r,a){var f=[],d=null,m=null,I=6,T=6,b=3,L=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,$=r===Qn||r===Tn?-1:1,W=r===Tn||r===Zn?"x":"y",K=r===Qn||r===Re?qu:_u;function et(st){var Vt=d==null?a.ticks?a.ticks.apply(a,f):a.domain():d,er=m==null?a.tickFormat?a.tickFormat.apply(a,f):ku:m,pt=Math.max(I,0)+b,Rt=a.range(),Ut=+Rt[0]+L,Mt=+Rt[Rt.length-1]+L,kt=(a.bandwidth?rf:tf)(a.copy(),L),Ht=st.selection?st.selection():st,cr=Ht.selectAll(".domain").data([null]),hr=Ht.selectAll(".tick").data(Vt,a).order(),ir=hr.exit(),Ar=hr.enter().append("g").attr("class","tick"),or=hr.select("line"),Dt=hr.select("text");cr=cr.merge(cr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),hr=hr.merge(Ar),or=or.merge(Ar.append("line").attr("stroke","currentColor").attr(W+"2",$*I)),Dt=Dt.merge(Ar.append("text").attr("fill","currentColor").attr(W,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),st!==Ht&&(cr=cr.transition(st),hr=hr.transition(st),or=or.transition(st),Dt=Dt.transition(st),ir=ir.transition(st).attr("opacity",Pa).attr("transform",function(fr){return isFinite(fr=kt(fr))?K(fr+L):this.getAttribute("transform")}),Ar.attr("opacity",Pa).attr("transform",function(fr){var nr=this.parentNode.__axis;return K((nr&&isFinite(nr=nr(fr))?nr:kt(fr))+L)})),ir.remove(),cr.attr("d",r===Tn||r===Zn?T?"M"+$*T+","+Ut+"H"+L+"V"+Mt+"H"+$*T:"M"+L+","+Ut+"V"+Mt:T?"M"+Ut+","+$*T+"V"+L+"H"+Mt+"V"+$*T:"M"+Ut+","+L+"H"+Mt),hr.attr("opacity",1).attr("transform",function(fr){return K(kt(fr)+L)}),or.attr(W+"2",$*I),Dt.attr(W,$*pt).text(er),Ht.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===Tn?"end":"middle"),Ht.each(function(){this.__axis=kt})}return et.scale=function(st){return arguments.length?(a=st,et):a},et.ticks=function(){return f=Array.from(arguments),et},et.tickArguments=function(st){return arguments.length?(f=st==null?[]:Array.from(st),et):f.slice()},et.tickValues=function(st){return arguments.length?(d=st==null?null:Array.from(st),et):d&&d.slice()},et.tickFormat=function(st){return arguments.length?(m=st,et):m},et.tickSize=function(st){return arguments.length?(I=T=+st,et):I},et.tickSizeInner=function(st){return arguments.length?(I=+st,et):I},et.tickSizeOuter=function(st){return arguments.length?(T=+st,et):T},et.tickPadding=function(st){return arguments.length?(b=+st,et):b},et.offset=function(st){return arguments.length?(L=+st,et):L},et}function ll(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function cl(r){return kn(Re,r)}function vl(r){return kn(Tn,r)}function Ca(r){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/r))}}function Ma(r){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a))*r}}function af(r){var a=1,f=r(Ca(a),Ma(a));return f.constant=function(d){return arguments.length?r(Ca(a=+d),Ma(a)):a},ae(f)}function Na(){var r=af(Fr());return r.copy=function(){return Qr(r,Na()).constant(r.constant())},Wr.apply(r,arguments)}var Hr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},of=Object.defineProperty,sf=(r,a,f)=>a in r?of(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,ba=(r,a,f)=>sf(r,typeof a!="symbol"?a+"":a,f);class uf{constructor(a){ba(this,"owner"),ba(this,"colorScale"),this.owner=a}drawColorScale(){const{$$:a,config:f}=this.owner,d=a.data.targets[0],m=a.state.height-f.padding_bottom-f.padding_top,I=f.scale_width,T=5,b=Yu(f.padding_bottom,m,T),L=$e(d.colors).domain([b[b.length-1],b[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=a.$el.svg.append("g").attr("width",50).attr("height",m).attr("class",Hr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(b).enter().append("rect").attr("y",(st,Vt)=>Vt*T).attr("x",0).attr("width",I).attr("height",T).attr("fill",st=>L(st));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([b[0]+f.padding_top+b[b.length-1]+T-1,b[0]+f.padding_top]),W=ef($),K=f.scale_format;K==="pow10"?W.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?W.tickFormat(K):W.tickFormat(bn("d"));const et=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${I},0)`).call(W);K==="pow10"&&et.selectAll(".tick text").text(null).filter(st=>st/Math.pow(10,Math.ceil(Math.log(st)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(st=>Math.round(Math.log(st)/Math.LN10)),this.colorScale.attr("transform",`translate(${a.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function ff(r,a){const f=r.x,d=r.value;let m=!1;for(let I=0,T=a.length-1;Id!=W>d&&f<($-b)*(d-L)/(W-L)+b&&(m=!m)}return m}function lf(r,a){return r.epochsa.epochs?1:0}function cf(r){let a=0,f,d;for(let m=0,I=r.length,T=I-1;ma in r?vf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,hf=(r,a,f)=>df(r,typeof a!="symbol"?a+"":a,f);class gf{constructor(a){hf(this,"owner"),this.owner=a;const f=a.$$.$el.main.select(".bb-chart").append("g").attr("class",Hr.stanfordElements);f.append("g").attr("class",Hr.stanfordLines),f.append("g").attr("class",Hr.stanfordRegions)}updateStanfordLines(a){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,I=d.axis_rotated,T=this.xvCustom.bind(f),b=this.yvCustom.bind(f),L=m.select(`.${Hr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Hr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(a).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",W=>Hr.stanfordLine+(W.class?` ${W.class}`:"")).select("line").transition().duration(a).attr("x1",W=>I?b(W,"y1"):T(W,"x1")).attr("x2",W=>I?b(W,"y2"):T(W,"x2")).attr("y1",W=>I?T(W,"x1"):b(W,"y1")).attr("y2",W=>I?T(W,"x2"):b(W,"y2")).transition().style("opacity",null)}updateStanfordRegions(a){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,I=d.axis_rotated,T=this.xvCustom.bind(f),b=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=m.select(`.${Hr.stanfordRegions}`).selectAll(`.${Hr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(a).style("opacity","0").remove();const W=$.enter().append("g");W.append("polygon").style("opacity","0"),W.append("text").attr("transform",I?"rotate(-90)":"").style("opacity","0"),$=W.merge($),$.attr("class",K=>Hr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(a).attr("points",K=>K.points.map(et=>[I?b(et,"y"):T(et,"x"),I?T(et,"x"):b(et,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(a).attr("x",K=>I?b(qn(K.points),"y"):T(qn(K.points),"x")).attr("y",K=>I?T(qn(K.points),"x"):b(qn(K.points),"y")).text(K=>{if(K.text){const{value:et,percentage:st}=L(K.points);return K.text(et,st)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(a=0){this.updateStanfordLines(a),this.updateStanfordRegions(a)}xvCustom(a,f){const d=this,{axis:m,config:I}=d;let T=f?a[f]:d.getBaseValue(a);return m.isTimeSeries()?T=Ku.call(d,T):m.isCategorized()&&An(T)&&(T=I.axis_x_categories.indexOf(a.value)),Math.ceil(d.scale.x(T))}yvCustom(a,f){const d=this,m=a.axis&&a.axis==="y2"?d.scale.y2:d.scale.y,I=f?a[f]:d.getBaseValue(a);return Math.ceil(m(I))}}class Fa{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var pf=Object.defineProperty,yf=(r,a,f)=>a in r?pf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Pe=(r,a,f)=>yf(r,typeof a!="symbol"?a+"":a,f);class mf extends Ra{constructor(a){return super(a),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:a}=this;a.config.data_xSort=!1,a.isMultipleX=()=>!0,a.showGridFocus=()=>{},a.labelishData=d=>d.values,a.opacityForCircle=()=>1;const f=a.getCurrentPadding.bind(a);a.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:a}=this;Ju.call(this,this.options),a.color=this.getStanfordPointColor.bind(a),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),a.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(a){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(a)}getOptions(){return new Fa}convertData(){const a=this.$$.data.targets,f=this.options.epochs;a.forEach(d=>{d.values.forEach((m,I)=>{m.epochs=f[I]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:a}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(m=>m.epochs);f.minEpochs=isNaN(a.scale_min)?Math.min(...d):a.scale_min,f.maxEpochs=isNaN(a.scale_max)?Math.max(...d):a.scale_max,f.colors=Se(a.colors)?a.colors:Lt(ot(250,1,.5),ot(0,1,.5)),f.colorscale=Ue(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(a){return this.data.targets[0].colorscale(a.epochs)}setStanfordTooltip(){const{config:a}=this.$$;Aa(a.tooltip_contents)&&(a.tooltip_contents=function(f,d,m,I){const{data_x:T}=a;let b=`
`;return f.forEach(L=>{const{id:$="",value:W=0,epochs:K=0,x:et=""}=L;b+=` diff --git a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js index d078b6130..1a698f89e 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -22745,7 +22745,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/tableview/const.ts diff --git a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js index d75114390..e6718daa8 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(Kr,Nr){typeof exports=="object"&&typeof module=="object"?module.exports=Nr():typeof define=="function"&&define.amd?define("bb",[],Nr):typeof exports=="object"?exports.bb=Nr():(Kr.bb=Kr.bb||{},Kr.bb.plugin=Kr.bb.plugin||{},Kr.bb.plugin["tableview.pkgd"]=Nr())})(this,function(){return function(){"use strict";var Re={72611:function(i,d,t){t.d(d,{default:function(){return Bs}});function r(){}function n(e){return e==null?r:function(){return this.querySelector(e)}}function a(e){typeof e!="function"&&(e=n(e));for(var f=this._groups,h=f.length,E=new Array(h),O=0;O=Bt&&(Bt=Wt+1);!(tr=mt[Bt])&&++Bt=0;)($=E[O])&&(M&&$.compareDocumentPosition(M)^4&&M.parentNode.insertBefore($,M),M=$);return this}function k(e){e||(e=J);function f(Et,Ct){return Et&&Ct?e(Et.__data__,Ct.__data__):!Et-!Ct}for(var h=this._groups,E=h.length,O=new Array(E),M=0;Mf?1:e>=f?0:NaN}function et(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function _(){return Array.from(this)}function dt(){for(var e=this._groups,f=0,h=e.length;f=0&&(f=e.slice(0,h))!=="xmlns"&&(e=e.slice(h+1)),Ht.hasOwnProperty(f)?{space:Ht[f],local:e}:e}function bt(e){return function(){this.removeAttribute(e)}}function vt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function gt(e,f){return function(){this.setAttribute(e,f)}}function Pt(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function Dt(e,f){return function(){var h=f.apply(this,arguments);h==null?this.removeAttribute(e):this.setAttribute(e,h)}}function Nt(e,f){return function(){var h=f.apply(this,arguments);h==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,h)}}function Ut(e,f){var h=$t(e);if(arguments.length<2){var E=this.node();return h.local?E.getAttributeNS(h.space,h.local):E.getAttribute(h)}return this.each((f==null?h.local?vt:bt:typeof f=="function"?h.local?Nt:Dt:h.local?Pt:gt)(h,f))}function Zt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function kt(e){return function(){this.style.removeProperty(e)}}function Jt(e,f,h){return function(){this.style.setProperty(e,f,h)}}function Lt(e,f,h){return function(){var E=f.apply(this,arguments);E==null?this.style.removeProperty(e):this.style.setProperty(e,E,h)}}function Qt(e,f,h){return arguments.length>1?this.each((f==null?kt:typeof f=="function"?Lt:Jt)(e,f,h==null?"":h)):Vt(this.node(),e)}function Vt(e,f){return e.style.getPropertyValue(f)||Zt(e).getComputedStyle(e,null).getPropertyValue(f)}function jt(e){return function(){delete this[e]}}function st(e,f){return function(){this[e]=f}}function ht(e,f){return function(){var h=f.apply(this,arguments);h==null?delete this[e]:this[e]=h}}function tt(e,f){return arguments.length>1?this.each((f==null?jt:typeof f=="function"?ht:st)(e,f)):this.node()[e]}function It(e){return e.trim().split(/^|\s+/)}function Tt(e){return e.classList||new xt(e)}function xt(e){this._node=e,this._names=It(e.getAttribute("class")||"")}xt.prototype={add:function(e){var f=this._names.indexOf(e);f<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var f=this._names.indexOf(e);f>=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function yt(e,f){for(var h=Tt(e),E=-1,O=f.length;++E=0&&(h=f.slice(E+1),f=f.slice(0,E)),{type:f,name:h}})}function dr(e){return function(){var f=this.__on;if(f){for(var h=0,E=-1,O=f.length,M;h{}};function Tr(){for(var e=0,f=arguments.length,h={},E;e=0&&(E=h.slice(O+1),h=h.slice(0,O)),h&&!f.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:E}})}it.prototype=Tr.prototype={constructor:it,on:function(e,f){var h=this._,E=sr(e+"",h),O,M=-1,$=E.length;if(arguments.length<2){for(;++M<$;)if((O=(e=E[M]).type)&&(O=Fr(h[O],e.name)))return O;return}if(f!=null&&typeof f!="function")throw new Error("invalid callback: "+f);for(;++M<$;)if(O=(e=E[M]).type)h[O]=un(h[O],e.name,f);else if(f==null)for(O in h)h[O]=un(h[O],e.name,null);return this},copy:function(){var e={},f=this._;for(var h in f)e[h]=f[h].slice();return new it(e)},call:function(e,f){if((O=arguments.length-2)>0)for(var h=new Array(O),E=0,O,M;E=0&&e._call.call(void 0,f),e=e._next;--Gr}function Me(){tn=(Un=En.now())+Bn,Gr=Vr=0;try{Ea()}finally{Gr=0,Ia(),tn=0}}function Oa(){var e=En.now(),f=e-Un;f>Pe&&(Bn-=f,Un=e)}function Ia(){for(var e,f=bn,h,E=1/0;f;)f._call?(E>f._time&&(E=f._time),e=f,f=f._next):(h=f._next,f._next=null,f=e?e._next=h:bn=h);Sn=e,se(E)}function se(e){if(!Gr){Vr&&(Vr=clearTimeout(Vr));var f=e-tn;f>24?(e<1/0&&(Vr=setTimeout(Me,e-En.now()-Bn)),xn&&(xn=clearInterval(xn))):(xn||(Un=En.now(),xn=setInterval(Oa,Pe)),Gr=1,Ce(Me))}}function De(e,f,h){var E=new jn;return f=f==null?0:+f,E.restart(O=>{E.stop(),e(O+f)},f,h),E}var Ta=$n("start","end","cancel","interrupt"),Aa=[],Fe=0,Le=1,ie=2,wn=3,$e=4,ue=5,Gn=6;function Vn(e,f,h,E,O,M){var $=e.__transition;if(!$)e.__transition={};else if(h in $)return;Ra(e,h,{name:f,index:E,group:O,on:Ta,tween:Aa,time:M.time,delay:M.delay,duration:M.duration,ease:M.ease,timer:null,state:Fe})}function fe(e,f){var h=Lr(e,f);if(h.state>Fe)throw new Error("too late; already scheduled");return h}function Ur(e,f){var h=Lr(e,f);if(h.state>wn)throw new Error("too late; already running");return h}function Lr(e,f){var h=e.__transition;if(!h||!(h=h[f]))throw new Error("transition not found");return h}function Ra(e,f,h){var E=e.__transition,O;E[f]=h,h.timer=Ne(M,0,h.time);function M(rt){h.state=Le,h.timer.restart($,h.delay,h.time),h.delay<=rt&&$(rt-h.delay)}function $(rt){var nt,Et,Ct,Gt;if(h.state!==Le)return Y();for(nt in E)if(Gt=E[nt],Gt.name===h.name){if(Gt.state===wn)return De($);Gt.state===$e?(Gt.state=Gn,Gt.timer.stop(),Gt.on.call("interrupt",e,e.__data__,Gt.index,Gt.group),delete E[nt]):+ntie&&E.state180?nt+=360:nt-rt>180&&(rt+=360),Ct.push({i:Et.push(O(Et)+"rotate(",null,E)-2,x:Qr(rt,nt)})):nt&&Et.push(O(Et)+"rotate("+nt+E)}function G(rt,nt,Et,Ct){rt!==nt?Ct.push({i:Et.push(O(Et)+"skewX(",null,E)-2,x:Qr(rt,nt)}):nt&&Et.push(O(Et)+"skewX("+nt+E)}function Y(rt,nt,Et,Ct,Gt,or){if(rt!==Et||nt!==Ct){var hr=Gt.push(O(Gt)+"scale(",null,",",null,")");or.push({i:hr-4,x:Qr(rt,Et)},{i:hr-2,x:Qr(nt,Ct)})}else(Et!==1||Ct!==1)&&Gt.push(O(Gt)+"scale("+Et+","+Ct+")")}return function(rt,nt){var Et=[],Ct=[];return rt=e(rt),nt=e(nt),M(rt.translateX,rt.translateY,nt.translateX,nt.translateY,Et,Ct),$(rt.rotate,nt.rotate,Et,Ct),G(rt.skewX,nt.skewX,Et,Ct),Y(rt.scaleX,rt.scaleY,nt.scaleX,nt.scaleY,Et,Ct),rt=nt=null,function(Gt){for(var or=-1,hr=Ct.length,mt;++or>8&15|f>>4&240,f>>4&15|f&240,(f&15)<<4|f&15,1):h===8?zn(f>>24&255,f>>16&255,f>>8&255,(f&255)/255):h===4?zn(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|f&240,((f&15)<<4|f&15)/255):null):(f=Ba.exec(e))?new Pr(f[1],f[2],f[3],1):(f=ja.exec(e))?new Pr(f[1]*255/100,f[2]*255/100,f[3]*255/100,1):(f=wa.exec(e))?zn(f[1],f[2],f[3],f[4]):(f=Ga.exec(e))?zn(f[1]*255/100,f[2]*255/100,f[3]*255/100,f[4]):(f=Va.exec(e))?Ke(f[1],f[2]/100,f[3]/100,1):(f=Ha.exec(e))?Ke(f[1],f[2]/100,f[3]/100,f[4]):we.hasOwnProperty(e)?He(we[e]):e==="transparent"?new Pr(NaN,NaN,NaN,0):null}function He(e){return new Pr(e>>16&255,e>>8&255,e&255,1)}function zn(e,f,h,E){return E<=0&&(e=f=h=NaN),new Pr(e,f,h,E)}function Ka(e){return e instanceof On||(e=An(e)),e?(e=e.rgb(),new Pr(e.r,e.g,e.b,e.opacity)):new Pr}function Kn(e,f,h,E){return arguments.length===1?Ka(e):new Pr(e,f,h,E==null?1:E)}function Pr(e,f,h,E){this.r=+e,this.g=+f,this.b=+h,this.opacity=+E}ce(Pr,Kn,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?In:Math.pow(In,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pr(rn(this.r),rn(this.g),rn(this.b),Yn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:We,formatHex:We,formatHex8:Ya,formatRgb:ze,toString:ze}));function We(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}`}function Ya(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}${nn((isNaN(this.opacity)?1:this.opacity)*255)}`}function ze(){const e=Yn(this.opacity);return`${e===1?"rgb(":"rgba("}${rn(this.r)}, ${rn(this.g)}, ${rn(this.b)}${e===1?")":`, ${e})`}`}function Yn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function nn(e){return e=rn(e),(e<16?"0":"")+e.toString(16)}function Ke(e,f,h,E){return E<=0?e=f=h=NaN:h<=0||h>=1?e=f=NaN:f<=0&&(e=NaN),new $r(e,f,h,E)}function Ye(e){if(e instanceof $r)return new $r(e.h,e.s,e.l,e.opacity);if(e instanceof On||(e=An(e)),!e)return new $r;if(e instanceof $r)return e;e=e.rgb();var f=e.r/255,h=e.g/255,E=e.b/255,O=Math.min(f,h,E),M=Math.max(f,h,E),$=NaN,G=M-O,Y=(M+O)/2;return G?(f===M?$=(h-E)/G+(h0&&Y<1?0:$,new $r($,G,Y,e.opacity)}function Xa(e,f,h,E){return arguments.length===1?Ye(e):new $r(e,f,h,E==null?1:E)}function $r(e,f,h,E){this.h=+e,this.s=+f,this.l=+h,this.opacity=+E}ce($r,Xa,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new $r(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?In:Math.pow(In,e),new $r(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,f=isNaN(e)||isNaN(this.s)?0:this.s,h=this.l,E=h+(h<.5?h:1-h)*f,O=2*h-E;return new Pr(de(e>=240?e-240:e+120,O,E),de(e,O,E),de(e<120?e+240:e-120,O,E),this.opacity)},clamp(){return new $r(Xe(this.h),Xn(this.s),Xn(this.l),Yn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Yn(this.opacity);return`${e===1?"hsl(":"hsla("}${Xe(this.h)}, ${Xn(this.s)*100}%, ${Xn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Xe(e){return e=(e||0)%360,e<0?e+360:e}function Xn(e){return Math.max(0,Math.min(1,e||0))}function de(e,f,h){return(e<60?f+(h-f)*e/60:e<180?h:e<240?f+(h-f)*(240-e)/60:f)*255}function Je(e,f,h,E,O){var M=e*e,$=M*e;return((1-3*e+3*M-$)*f+(4-6*M+3*$)*h+(1+3*e+3*M-3*$)*E+$*O)/6}function Ja(e){var f=e.length-1;return function(h){var E=h<=0?h=0:h>=1?(h=1,f-1):Math.floor(h*f),O=e[E],M=e[E+1],$=E>0?e[E-1]:2*O-M,G=E()=>e;function Ze(e,f){return function(h){return e+h*f}}function Za(e,f,h){return e=Math.pow(e,h),f=Math.pow(f,h)-e,h=1/h,function(E){return Math.pow(e+E*f,h)}}function Gs(e,f){var h=f-e;return h?Ze(e,h>180||h<-180?h-360*Math.round(h/360):h):constant(isNaN(e)?f:e)}function ka(e){return(e=+e)==1?ke:function(f,h){return h-f?Za(f,h,e):Qe(isNaN(f)?h:f)}}function ke(e,f){var h=f-e;return h?Ze(e,h):Qe(isNaN(e)?f:e)}var qe=function e(f){var h=ka(f);function E(O,M){var $=h((O=Kn(O)).r,(M=Kn(M)).r),G=h(O.g,M.g),Y=h(O.b,M.b),rt=ke(O.opacity,M.opacity);return function(nt){return O.r=$(nt),O.g=G(nt),O.b=Y(nt),O.opacity=rt(nt),O+""}}return E.gamma=e,E}(1);function _e(e){return function(f){var h=f.length,E=new Array(h),O=new Array(h),M=new Array(h),$,G;for($=0;$h&&(M=f.slice(h,M),G[$]?G[$]+=M:G[++$]=M),(E=E[0])===(O=O[0])?G[$]?G[$]+=O:G[++$]=O:(G[++$]=null,Y.push({i:$,x:Qr(E,O)})),h=ge.lastIndex;return h=0&&(f=f.slice(0,h)),!f||f==="start"})}function Po(e,f,h){var E,O,M=Ro(f)?fe:Ur;return function(){var $=M(this,e),G=$.on;G!==E&&(O=(E=G).copy()).on(f,h),$.on=O}}function Co(e,f){var h=this._id;return arguments.length<2?Lr(this.node(),h).on.on(e):this.each(Po(h,e,f))}function No(e){return function(){var f=this.parentNode;for(var h in this.__transition)if(+h!==e)return;f&&f.removeChild(this)}}function Mo(){return this.on("end.remove",No(this._id))}function Do(e){var f=this._name,h=this._id;typeof e!="function"&&(e=n(e));for(var E=this._groups,O=E.length,M=new Array(O),$=0;${const cr=Xt.identifier;return Xt=pointer(Xt,wt),Xt.point0=Xt.slice(),Xt.identifier=cr,Xt});interrupt(wt);var Cn=nt(wt,arguments,!0).beforestart();if(Wt==="overlay"){fr&&(Ae=!0);const Xt=[Cr[0],Cr[1]||Cr[0]];Ar.selection=fr=[[ir=e===Qn?br:Ir(Xt[0][0],Xt[1][0]),yr=e===Jn?Zr:Ir(Xt[0][1],Xt[1][1])],[mr=e===Qn?kr:Or(Xt[0][0],Xt[1][0]),Sr=e===Jn?qr:Or(Xt[0][1],Xt[1][1])]],Cr.length>1&&en(mt)}else ir=fr[0][0],yr=fr[0][1],mr=fr[1][0],Sr=fr[1][1];gr=ir,pr=yr,xr=mr,Er=Sr;var ya=select(wt).attr("pointer-events","none"),Nn=ya.selectAll(".overlay").attr("cursor",zr[Wt]);if(mt.touches)Cn.moved=ma,Cn.ended=xa;else{var pa=select(mt.view).on("mousemove.brush",ma,!0).on("mouseup.brush",xa,!0);O&&pa.on("keydown.brush",js,!0).on("keyup.brush",ws,!0),dragDisable(mt.view)}rt.call(wt),Cn.start(mt,Bt.name);function ma(Xt){for(const cr of Xt.changedTouches||[Xt])for(const Mn of Cr)Mn.identifier===cr.identifier&&(Mn.cur=pointer(cr,wt));if(re&&!ne&&!ee&&Cr.length===1){const cr=Cr[0];aa(cr.cur[0]-cr[0])>aa(cr.cur[1]-cr[1])?ee=!0:ne=!0}for(const cr of Cr)cr.cur&&(cr[0]=cr.cur[0],cr[1]=cr.cur[1]);Ae=!0,noevent(Xt),en(Xt)}function en(Xt){const cr=Cr[0],Mn=cr.point0;var _r;switch(lr=cr[0]-Mn[0],vr=cr[1]-Mn[1],Bt){case ye:case ea:{qt&&(lr=Or(br-ir,Ir(kr-mr,lr)),gr=ir+lr,xr=mr+lr),tr&&(vr=Or(Zr-yr,Ir(qr-Sr,vr)),pr=yr+vr,Er=Sr+vr);break}case ln:{Cr[1]?(qt&&(gr=Or(br,Ir(kr,Cr[0][0])),xr=Or(br,Ir(kr,Cr[1][0])),qt=1),tr&&(pr=Or(Zr,Ir(qr,Cr[0][1])),Er=Or(Zr,Ir(qr,Cr[1][1])),tr=1)):(qt<0?(lr=Or(br-ir,Ir(kr-ir,lr)),gr=ir+lr,xr=mr):qt>0&&(lr=Or(br-mr,Ir(kr-mr,lr)),gr=ir,xr=mr+lr),tr<0?(vr=Or(Zr-yr,Ir(qr-yr,vr)),pr=yr+vr,Er=Sr):tr>0&&(vr=Or(Zr-Sr,Ir(qr-Sr,vr)),pr=yr,Er=Sr+vr));break}case vn:{qt&&(gr=Or(br,Ir(kr,ir-lr*qt)),xr=Or(br,Ir(kr,mr+lr*qt))),tr&&(pr=Or(Zr,Ir(qr,yr-vr*tr)),Er=Or(Zr,Ir(qr,Sr+vr*tr)));break}}xr0&&(ir=gr-lr),tr<0?Sr=Er-vr:tr>0&&(yr=pr-vr),Bt=ye,Nn.attr("cursor",zr.selection),en(Xt));break}default:return}noevent(Xt)}function ws(Xt){switch(Xt.keyCode){case 16:{re&&(ne=ee=re=!1,en(Xt));break}case 18:{Bt===vn&&(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),Bt=ln,en(Xt));break}case 32:{Bt===ye&&(Xt.altKey?(qt&&(mr=xr-lr*qt,ir=gr+lr*qt),tr&&(Sr=Er-vr*tr,yr=pr+vr*tr),Bt=vn):(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),Bt=ln),Nn.attr("cursor",zr[Wt]),en(Xt));break}default:return}noevent(Xt)}}function Gt(mt){nt(this,arguments).moved(mt)}function or(mt){nt(this,arguments).ended(mt)}function hr(){var mt=this.__brush||{selection:null};return mt.extent=pe(f.apply(this,arguments)),mt.dim=e,mt}return Y.extent=function(mt){return arguments.length?(f=typeof mt=="function"?mt:constant(pe(mt)),Y):f},Y.filter=function(mt){return arguments.length?(h=typeof mt=="function"?mt:constant(!!mt),Y):h},Y.touchable=function(mt){return arguments.length?(E=typeof mt=="function"?mt:constant(!!mt),Y):E},Y.handleSize=function(mt){return arguments.length?($=+mt,Y):$},Y.keyModifiers=function(mt){return arguments.length?(O=!!mt,Y):O},Y.on=function(){var mt=M.on.apply(M,arguments);return mt===M?Y:mt},Y}function ls(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function vs(e){const f=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",h=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",E=M=>setTimeout(M,1),O=M=>clearTimeout(M);return[f?e.requestAnimationFrame:E,f?e.cancelAnimationFrame:O,h?e.requestIdleCallback:E,h?e.cancelIdleCallback:O]}const Zn=ls(),cs=Zn==null?void 0:Zn.document,[Qs,Zs,ks,qs]=vs(Zn);var ds=Object.defineProperty,ua=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,fa=(e,f,h)=>f in e?ds(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,la=(e,f)=>{for(var h in f||(f={}))hs.call(f,h)&&fa(e,h,f[h]);if(ua)for(var h of ua(f))gs.call(f,h)&&fa(e,h,f[h]);return e};const _s=e=>e||e===0,ys=e=>typeof e=="function",kn=e=>typeof e=="string",qn=e=>typeof e=="number",ps=e=>typeof e=="undefined",va=e=>typeof e!="undefined",ti=e=>typeof e=="boolean",ri=e=>Math.ceil(e/10)*10,ni=e=>Math.ceil(e)+.5,ei=e=>e[1]-e[0],Se=e=>typeof e=="object",ms=e=>ps(e)||e===null||kn(e)&&e.length===0||Se(e)&&!(e instanceof Date)&&Object.keys(e).length===0||qn(e)&&isNaN(e),xs=e=>!ms(e),Ee=e=>Array.isArray(e),_n=e=>e&&!(e!=null&&e.nodeType)&&Se(e)&&!Ee(e);function ai(e,f,h){return va(e[f])?e[f]:h}function oi(e,f){let h=!1;return Object.keys(e).forEach(E=>e[E]===f&&(h=!0)),h}function si(e,f,...h){const E=ys(e);return E&&e.call(f,...h),E}function ii(e,f){let h=0;const E=function(...O){!--h&&f.apply(this,...O)};"duration"in e?e.each(()=>++h).on("end",E):(++h,e.call(E))}function ui(e){return kn(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function fi(e,f,h=[-1,1],E=!1){if(!(!e||!kn(f)))if(f.indexOf(` `)===-1)e.text(f);else{const O=[e.text(),f].map(M=>M.replace(/[\s\n]/g,""));if(O[0]!==O[1]){const M=f.split(` -`),$=E?M.length-1:1;e.html(""),M.forEach((G,Y)=>{e.append("tspan").attr("x",0).attr("dy",`${Y===0?h[0]*$:h[1]}em`).text(G)})}}}function Ss(e){const{x:f,y:h,width:E,height:O}=e.getBBox();return[{x:f,y:h+O},{x:f,y:h},{x:f+E,y:h},{x:f+E,y:h+O}]}function li(e){const{width:f,height:h}=e.getBoundingClientRect(),E=Ss(e),O=E[0].x,M=Math.min(E[0].y,E[1].y);return{x:O,y:M,width:f,height:h}}function vi(e,f){var h;const E=e&&((h=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:h[0]);let O=[0,0];try{O=d3Pointer(E||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Es(e){const{event:f,$el:h}=e,E=h.subchart.main||h.main;let O;return f&&f.type==="brush"?O=f.selection:E&&(O=E.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function ci(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function di(e=!0,f=0,h=1e4){const E=window.crypto||window.msCrypto,O=E?f+E.getRandomValues(new Uint32Array(1))[0]%(h-f+1):Math.floor(Math.random()*(h-f)+f);return e?String(O):O}function ca(e,f,h,E,O){if(h>E)return-1;const M=Math.floor((h+E)/2);let{x:$,w:G=0}=e[M];return O&&($=e[M].y,G=e[M].h),f>=$&&f<=$+G?M:f<$?ca(e,f,h,M-1,O):ca(e,f,M+1,E,O)}function hi(e){const f=Es(e);return f?f[0]===f[1]:!0}function gi(...e){const f=h=>{if(_n(h)&&h.constructor){const E=new h.constructor;for(const O in h)E[O]=f(h[O]);return E}return h};return e.map(h=>f(h)).reduce((h,E)=>la(la({},h),E))}function Os(e={},f){Ee(f)&&f.forEach(h=>Os(e,h));for(const h in f)/^\d+$/.test(h)||h in e||(e[h]=f[h]);return e}const yi=e=>e.charAt(0).toUpperCase()+e.slice(1);function pi(e,f="-"){return e.split(f).map((h,E)=>E?h.charAt(0).toUpperCase()+h.slice(1).toLowerCase():h.toLowerCase()).join("")}const Is=e=>[].slice.call(e);function mi(e,f,h){const{rootSelector:E="",sheet:O}=e,$=`${E} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${h.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"]($,O.cssRules.length)}function xi(e){let f=[];return e.forEach(h=>{var E;try{h.cssRules&&h.cssRules.length&&(f=f.concat(Is(h.cssRules)))}catch(O){(E=window.console)==null||E.warn(`Error while reading rules from ${h.href}: ${O.toString()}`)}}),f}function Si(e){var f,h,E,O;return{x:((h=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?h:0)+e.scrollLeft,y:((O=(E=window.pageYOffset)!=null?E:window.scrollY)!=null?O:0)+e.scrollTop}}function Ei(e){const f=e?e.transform:null,h=f&&f.baseVal;return h&&h.numberOfItems?h.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oi(e){const f=e[0]instanceof Date,h=(f?e.map(Number):e).filter((E,O,M)=>M.indexOf(E)===O);return f?h.map(E=>new Date(E)):h}function Ii(e){return e&&e.length?e.reduce((f,h)=>f.concat(h)):[]}function Oe(e,...f){if(!f.length||f.length===1&&!f[0])return e;const h=f.shift();return _n(e)&&_n(h)&&Object.keys(h).forEach(E=>{const O=h[E];_n(O)?(!e[E]&&(e[E]={}),e[E]=Oe(e[E],O)):e[E]=Ee(O)?O.concat():O}),Oe(e,...f)}function Ts(e,f=!0){let h;return e[0]instanceof Date?h=f?(E,O)=>E-O:(E,O)=>O-E:f&&!e.every(isNaN)?h=(E,O)=>E-O:f||(h=(E,O)=>E>O&&-1||Exs(E));return h.length?qn(h[0])?h=Math[e](...h):h[0]instanceof Date&&(h=Ts(h,e==="min")[0]):h=void 0,h}const Ai=(e,f,h=1)=>{const E=[],O=Math.max(0,Math.ceil((f-e)/h))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,h,E=e())=>{f.dispatchEvent(new MouseEvent(h,E))}}catch(f){return(h,E,O=e())=>{const M=cs.createEvent("MouseEvent");M.initMouseEvent(E,O.bubbles,O.cancelable,Zn,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),h.dispatchEvent(M)}}})(),touch:(e,f,h)=>{const E=new Touch(Oe({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},h));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[E],targetTouches:[],changedTouches:[E]}))}};function te(e,f){let h=e;for(const E in f)h=h.replace(new RegExp(`{=${E}}`,"g"),f[E]);return h}function Pi(e){var f;let h;if(e instanceof Date)h=e;else if(kn(e)){const{config:E,format:O}=this;h=(f=O.dataTime(E.data_xFormat)(e))!=null?f:new Date(e)}else qn(e)&&!isNaN(e)&&(h=new Date(+e));return(!h||isNaN(+h))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),h}function Ci(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Ni(e,f){const{DocumentTouch:h,matchMedia:E,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||h&&document instanceof h)M=!0;else if(E!=null&&E("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((E==null?void 0:E("any-hover:hover").matches)||(E==null?void 0:E("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function As(e,f){f()===!1?requestAnimationFrame(()=>As(e,f)):e()}function Rs(e){const f=this.config;let h,E,O;const M=()=>{const $=E.shift();if($&&h&&Se(h)&&$ in h)return h=h[$],M();if(!$)return h};Object.keys(f).forEach($=>{h=e,E=$.split("_"),O=M(),va(O)&&(f[$]=O)}),this.api&&(this.state.orgConfig=e)}var Ps=Object.defineProperty,Cs=(e,f,h)=>f in e?Ps(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,Ie=(e,f,h)=>Cs(e,typeof f!="symbol"?f+"":f,h);class da{constructor(f={}){Ie(this,"$$"),Ie(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ie(da,"version","3.12.4-nightly-20240727004635");const cn={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),$=E?M.length-1:1;e.html(""),M.forEach((G,Y)=>{e.append("tspan").attr("x",0).attr("dy",`${Y===0?h[0]*$:h[1]}em`).text(G)})}}}function Ss(e){const{x:f,y:h,width:E,height:O}=e.getBBox();return[{x:f,y:h+O},{x:f,y:h},{x:f+E,y:h},{x:f+E,y:h+O}]}function li(e){const{width:f,height:h}=e.getBoundingClientRect(),E=Ss(e),O=E[0].x,M=Math.min(E[0].y,E[1].y);return{x:O,y:M,width:f,height:h}}function vi(e,f){var h;const E=e&&((h=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:h[0]);let O=[0,0];try{O=d3Pointer(E||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Es(e){const{event:f,$el:h}=e,E=h.subchart.main||h.main;let O;return f&&f.type==="brush"?O=f.selection:E&&(O=E.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function ci(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function di(e=!0,f=0,h=1e4){const E=window.crypto||window.msCrypto,O=E?f+E.getRandomValues(new Uint32Array(1))[0]%(h-f+1):Math.floor(Math.random()*(h-f)+f);return e?String(O):O}function ca(e,f,h,E,O){if(h>E)return-1;const M=Math.floor((h+E)/2);let{x:$,w:G=0}=e[M];return O&&($=e[M].y,G=e[M].h),f>=$&&f<=$+G?M:f<$?ca(e,f,h,M-1,O):ca(e,f,M+1,E,O)}function hi(e){const f=Es(e);return f?f[0]===f[1]:!0}function gi(...e){const f=h=>{if(_n(h)&&h.constructor){const E=new h.constructor;for(const O in h)E[O]=f(h[O]);return E}return h};return e.map(h=>f(h)).reduce((h,E)=>la(la({},h),E))}function Os(e={},f){Ee(f)&&f.forEach(h=>Os(e,h));for(const h in f)/^\d+$/.test(h)||h in e||(e[h]=f[h]);return e}const yi=e=>e.charAt(0).toUpperCase()+e.slice(1);function pi(e,f="-"){return e.split(f).map((h,E)=>E?h.charAt(0).toUpperCase()+h.slice(1).toLowerCase():h.toLowerCase()).join("")}const Is=e=>[].slice.call(e);function mi(e,f,h){const{rootSelector:E="",sheet:O}=e,$=`${E} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${h.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"]($,O.cssRules.length)}function xi(e){let f=[];return e.forEach(h=>{var E;try{h.cssRules&&h.cssRules.length&&(f=f.concat(Is(h.cssRules)))}catch(O){(E=window.console)==null||E.warn(`Error while reading rules from ${h.href}: ${O.toString()}`)}}),f}function Si(e){var f,h,E,O;return{x:((h=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?h:0)+e.scrollLeft,y:((O=(E=window.pageYOffset)!=null?E:window.scrollY)!=null?O:0)+e.scrollTop}}function Ei(e){const f=e?e.transform:null,h=f&&f.baseVal;return h&&h.numberOfItems?h.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oi(e){const f=e[0]instanceof Date,h=(f?e.map(Number):e).filter((E,O,M)=>M.indexOf(E)===O);return f?h.map(E=>new Date(E)):h}function Ii(e){return e&&e.length?e.reduce((f,h)=>f.concat(h)):[]}function Oe(e,...f){if(!f.length||f.length===1&&!f[0])return e;const h=f.shift();return _n(e)&&_n(h)&&Object.keys(h).forEach(E=>{const O=h[E];_n(O)?(!e[E]&&(e[E]={}),e[E]=Oe(e[E],O)):e[E]=Ee(O)?O.concat():O}),Oe(e,...f)}function Ts(e,f=!0){let h;return e[0]instanceof Date?h=f?(E,O)=>E-O:(E,O)=>O-E:f&&!e.every(isNaN)?h=(E,O)=>E-O:f||(h=(E,O)=>E>O&&-1||Exs(E));return h.length?qn(h[0])?h=Math[e](...h):h[0]instanceof Date&&(h=Ts(h,e==="min")[0]):h=void 0,h}const Ai=(e,f,h=1)=>{const E=[],O=Math.max(0,Math.ceil((f-e)/h))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,h,E=e())=>{f.dispatchEvent(new MouseEvent(h,E))}}catch(f){return(h,E,O=e())=>{const M=cs.createEvent("MouseEvent");M.initMouseEvent(E,O.bubbles,O.cancelable,Zn,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),h.dispatchEvent(M)}}})(),touch:(e,f,h)=>{const E=new Touch(Oe({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},h));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[E],targetTouches:[],changedTouches:[E]}))}};function te(e,f){let h=e;for(const E in f)h=h.replace(new RegExp(`{=${E}}`,"g"),f[E]);return h}function Pi(e){var f;let h;if(e instanceof Date)h=e;else if(kn(e)){const{config:E,format:O}=this;h=(f=O.dataTime(E.data_xFormat)(e))!=null?f:new Date(e)}else qn(e)&&!isNaN(e)&&(h=new Date(+e));return(!h||isNaN(+h))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),h}function Ci(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Ni(e,f){const{DocumentTouch:h,matchMedia:E,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||h&&document instanceof h)M=!0;else if(E!=null&&E("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((E==null?void 0:E("any-hover:hover").matches)||(E==null?void 0:E("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function As(e,f){f()===!1?requestAnimationFrame(()=>As(e,f)):e()}function Rs(e){const f=this.config;let h,E,O;const M=()=>{const $=E.shift();if($&&h&&Se(h)&&$ in h)return h=h[$],M();if(!$)return h};Object.keys(f).forEach($=>{h=e,E=$.split("_"),O=M(),va(O)&&(f[$]=O)}),this.api&&(this.state.orgConfig=e)}var Ps=Object.defineProperty,Cs=(e,f,h)=>f in e?Ps(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,Ie=(e,f,h)=>Cs(e,typeof f!="symbol"?f+"":f,h);class da{constructor(f={}){Ie(this,"$$"),Ie(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ie(da,"version","3.12.4-nightly-20240731004602");const cn={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { border-collapse:collapse; border-spacing:0; background:#fff; diff --git a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js index c82585e3f..46ae546ec 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */ @@ -26185,7 +26185,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240727004635"); +__publicField(Plugin, "version", "3.12.4-nightly-20240731004602"); ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts class Options { diff --git a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js index 3f675a057..1df068869 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 * @requires billboard.js * @summary billboard.js plugin */(function(Sn,sn){typeof exports=="object"&&typeof module=="object"?module.exports=sn():typeof define=="function"&&define.amd?define("bb",[],sn):typeof exports=="object"?exports.bb=sn():(Sn.bb=Sn.bb||{},Sn.bb.plugin=Sn.bb.plugin||{},Sn.bb.plugin["textoverlap.pkgd"]=sn())})(this,function(){return function(){"use strict";var ia={65908:function(l,p,t){t.d(p,{default:function(){return Kl}});const n=11102230246251565e-32,e=134217729,o=(3+8*n)*n;function i(r,a,s,d,h){let m,x,O,P,R=a[0],C=d[0],B=0,L=0;C>R==C>-R?(m=R,R=a[++B]):(m=C,C=d[++L]);let F=0;if(BR==C>-R?(x=R+m,O=m-(x-R),R=a[++B]):(x=C+m,O=m-(x-C),C=d[++L]),m=x,O!==0&&(h[F++]=O);BR==C>-R?(x=m+R,P=x-m,O=m-(x-P)+(R-P),R=a[++B]):(x=m+C,P=x-m,O=m-(x-P)+(C-P),C=d[++L]),m=x,O!==0&&(h[F++]=O);for(;B=V||-Gt>=V||(B=r-ft,O=r-(ft+B)+(B-h),B=s-It,R=s-(It+B)+(B-h),B=a-Nt,P=a-(Nt+B)+(B-m),B=d-Dt,C=d-(Dt+B)+(B-m),O===0&&P===0&&R===0&&C===0)||(V=E*x+o*Math.abs(Gt),Gt+=ft*C+Dt*O-(Nt*R+It*P),Gt>=V||-Gt>=V))return Gt;lt=O*Dt,L=e*O,F=L-(L-O),Z=O-F,L=e*Dt,b=L-(L-Dt),j=Dt-b,nt=Z*j-(lt-F*b-Z*b-F*j),xt=P*It,L=e*P,F=L-(L-P),Z=P-F,L=e*It,b=L-(L-It),j=It-b,it=Z*j-(xt-F*b-Z*b-F*j),H=nt-it,B=nt-H,D[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,D[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,D[2]=Q-(vt-B)+(H-B),D[3]=vt;const tt=i(4,I,4,D,A);lt=ft*C,L=e*ft,F=L-(L-ft),Z=ft-F,L=e*C,b=L-(L-C),j=C-b,nt=Z*j-(lt-F*b-Z*b-F*j),xt=Nt*R,L=e*Nt,F=L-(L-Nt),Z=Nt-F,L=e*R,b=L-(L-R),j=R-b,it=Z*j-(xt-F*b-Z*b-F*j),H=nt-it,B=nt-H,D[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,D[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,D[2]=Q-(vt-B)+(H-B),D[3]=vt;const _=i(tt,A,4,D,T);lt=O*C,L=e*O,F=L-(L-O),Z=O-F,L=e*C,b=L-(L-C),j=C-b,nt=Z*j-(lt-F*b-Z*b-F*j),xt=P*R,L=e*P,F=L-(L-P),Z=P-F,L=e*R,b=L-(L-R),j=R-b,it=Z*j-(xt-F*b-Z*b-F*j),H=nt-it,B=nt-H,D[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,D[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,D[2]=Q-(vt-B)+(H-B),D[3]=vt;const dt=i(_,T,4,D,M);return M[dt-1]}function U(r,a,s,d,h,m){const x=(a-m)*(s-h),O=(r-h)*(d-m),P=x-O,R=Math.abs(x+O);return Math.abs(P)>=y*R?P:-$(r,a,s,d,h,m,R)}function G(r,a,s,d,h,m){return(a-m)*(s-h)-(r-h)*(d-m)}const N=(7+56*n)*n,w=(3+28*n)*n,W=(26+288*n)*n*n,X=v(4),Y=v(4),k=v(4),st=v(4),ut=v(4),rt=v(4),at=v(4),ot=v(4),pt=v(4),Ct=v(8),St=v(8),$t=v(8),Rt=v(4),Qt=v(8),Yt=v(8),Xt=v(8),er=v(12);let ir=v(192),Or=v(192);function yr(r,a,s){r=sum(r,ir,a,s,Or);const d=ir;return ir=Or,Or=d,r}function xr(r,a,s,d,h,m,x,O){let P,R,C,B,L,F,Z,b,j,H,Q,J,lt,nt,xt,it;return r===0?a===0?(x[0]=0,O[0]=0,1):(it=-a,Q=it*s,R=splitter*it,C=R-(R-it),B=it-C,R=splitter*s,L=R-(R-s),F=s-L,x[0]=B*F-(Q-C*L-B*L-C*F),x[1]=Q,Q=a*h,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*h,L=R-(R-h),F=h-L,O[0]=B*F-(Q-C*L-B*L-C*F),O[1]=Q,2):a===0?(Q=r*d,R=splitter*r,C=R-(R-r),B=r-C,R=splitter*d,L=R-(R-d),F=d-L,x[0]=B*F-(Q-C*L-B*L-C*F),x[1]=Q,it=-r,Q=it*m,R=splitter*it,C=R-(R-it),B=it-C,R=splitter*m,L=R-(R-m),F=m-L,O[0]=B*F-(Q-C*L-B*L-C*F),O[1]=Q,2):(Q=r*d,R=splitter*r,C=R-(R-r),B=r-C,R=splitter*d,L=R-(R-d),F=d-L,J=B*F-(Q-C*L-B*L-C*F),lt=a*s,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*s,L=R-(R-s),F=s-L,nt=B*F-(lt-C*L-B*L-C*F),Z=J-nt,P=J-Z,x[0]=J-(Z+P)+(P-nt),b=Q+Z,P=b-Q,H=Q-(b-P)+(Z-P),Z=H-lt,P=H-Z,x[1]=H-(Z+P)+(P-lt),xt=b+Z,P=xt-b,x[2]=b-(xt-P)+(Z-P),x[3]=xt,Q=a*h,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*h,L=R-(R-h),F=h-L,J=B*F-(Q-C*L-B*L-C*F),lt=r*m,R=splitter*r,C=R-(R-r),B=r-C,R=splitter*m,L=R-(R-m),F=m-L,nt=B*F-(lt-C*L-B*L-C*F),Z=J-nt,P=J-Z,O[0]=J-(Z+P)+(P-nt),b=Q+Z,P=b-Q,H=Q-(b-P)+(Z-P),Z=H-lt,P=H-Z,O[1]=H-(Z+P)+(P-lt),xt=b+Z,P=xt-b,O[2]=b-(xt-P)+(Z-P),O[3]=xt,4)}function Kt(r,a,s,d,h){let m,x,O,P,R,C,B,L,F,Z,b,j,H;return b=a*s,x=splitter*a,O=x-(x-a),P=a-O,x=splitter*s,R=x-(x-s),C=s-R,j=P*C-(b-O*R-P*R-O*C),x=splitter*d,R=x-(x-d),C=d-R,B=j*d,x=splitter*j,O=x-(x-j),P=j-O,Rt[0]=P*C-(B-O*R-P*R-O*C),L=b*d,x=splitter*b,O=x-(x-b),P=b-O,Z=P*C-(L-O*R-P*R-O*C),F=B+Z,m=F-B,Rt[1]=B-(F-m)+(Z-m),H=L+F,Rt[2]=F-(H-L),Rt[3]=H,r=yr(r,4,Rt),h!==0&&(x=splitter*h,R=x-(x-h),C=h-R,B=j*h,x=splitter*j,O=x-(x-j),P=j-O,Rt[0]=P*C-(B-O*R-P*R-O*C),L=b*h,x=splitter*b,O=x-(x-b),P=b-O,Z=P*C-(L-O*R-P*R-O*C),F=B+Z,m=F-B,Rt[1]=B-(F-m)+(Z-m),H=L+F,Rt[2]=F-(H-L),Rt[3]=H,r=yr(r,4,Rt)),r}function _t(r,a,s,d,h,m,x,O,P,R,C,B,L){let F,Z,b,j,H,Q,J,lt,nt,xt,it,vt,ft,It,Nt,Dt,Gt,V,tt,_,dt,K,et,z,ct;const yt=r-R,Pt=d-R,Ot=x-R,Lt=a-C,zt=h-C,Ft=O-C,tr=s-B,nr=m-B,or=P-B;dt=Pt*Ft,vt=splitter*Pt,ft=vt-(vt-Pt),It=Pt-ft,vt=splitter*Ft,Nt=vt-(vt-Ft),Dt=Ft-Nt,K=It*Dt-(dt-ft*Nt-It*Nt-ft*Dt),et=Ot*zt,vt=splitter*Ot,ft=vt-(vt-Ot),It=Ot-ft,vt=splitter*zt,Nt=vt-(vt-zt),Dt=zt-Nt,z=It*Dt-(et-ft*Nt-It*Nt-ft*Dt),Gt=K-z,it=K-Gt,X[0]=K-(Gt+it)+(it-z),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,X[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,X[2]=V-(ct-it)+(Gt-it),X[3]=ct,dt=Ot*Lt,vt=splitter*Ot,ft=vt-(vt-Ot),It=Ot-ft,vt=splitter*Lt,Nt=vt-(vt-Lt),Dt=Lt-Nt,K=It*Dt-(dt-ft*Nt-It*Nt-ft*Dt),et=yt*Ft,vt=splitter*yt,ft=vt-(vt-yt),It=yt-ft,vt=splitter*Ft,Nt=vt-(vt-Ft),Dt=Ft-Nt,z=It*Dt-(et-ft*Nt-It*Nt-ft*Dt),Gt=K-z,it=K-Gt,Y[0]=K-(Gt+it)+(it-z),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,Y[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,Y[2]=V-(ct-it)+(Gt-it),Y[3]=ct,dt=yt*zt,vt=splitter*yt,ft=vt-(vt-yt),It=yt-ft,vt=splitter*zt,Nt=vt-(vt-zt),Dt=zt-Nt,K=It*Dt-(dt-ft*Nt-It*Nt-ft*Dt),et=Pt*Lt,vt=splitter*Pt,ft=vt-(vt-Pt),It=Pt-ft,vt=splitter*Lt,Nt=vt-(vt-Lt),Dt=Lt-Nt,z=It*Dt-(et-ft*Nt-It*Nt-ft*Dt),Gt=K-z,it=K-Gt,k[0]=K-(Gt+it)+(it-z),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,k[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,k[2]=V-(ct-it)+(Gt-it),k[3]=ct,F=sum(sum(scale(4,X,tr,Qt),Qt,scale(4,Y,nr,Yt),Yt,Xt),Xt,scale(4,k,or,Qt),Qt,ir);let sr=estimate(F,ir),ur=w*L;if(sr>=ur||-sr>=ur||(it=r-yt,Z=r-(yt+it)+(it-R),it=d-Pt,b=d-(Pt+it)+(it-R),it=x-Ot,j=x-(Ot+it)+(it-R),it=a-Lt,H=a-(Lt+it)+(it-C),it=h-zt,Q=h-(zt+it)+(it-C),it=O-Ft,J=O-(Ft+it)+(it-C),it=s-tr,lt=s-(tr+it)+(it-B),it=m-nr,nt=m-(nr+it)+(it-B),it=P-or,xt=P-(or+it)+(it-B),Z===0&&b===0&&j===0&&H===0&&Q===0&&J===0&<===0&&nt===0&&xt===0)||(ur=W*L+resulterrbound*Math.abs(sr),sr+=tr*(Pt*J+Ft*b-(zt*j+Ot*Q))+lt*(Pt*Ft-zt*Ot)+nr*(Ot*H+Lt*j-(Ft*Z+yt*J))+nt*(Ot*Lt-Ft*yt)+or*(yt*Q+zt*Z-(Lt*b+Pt*H))+xt*(yt*zt-Lt*Pt),sr>=ur||-sr>=ur))return sr;const lr=xr(Z,H,Pt,zt,Ot,Ft,st,ut),Nr=xr(b,Q,Ot,Ft,yt,Lt,rt,at),br=xr(j,J,yt,Lt,Pt,zt,ot,pt),Rr=sum(Nr,rt,br,pt,Ct);F=yr(F,scale(Rr,Ct,tr,Xt),Xt);const Zt=sum(br,ot,lr,ut,St);F=yr(F,scale(Zt,St,nr,Xt),Xt);const Mr=sum(lr,st,Nr,at,$t);return F=yr(F,scale(Mr,$t,or,Xt),Xt),lt!==0&&(F=yr(F,scale(4,X,lt,er),er),F=yr(F,scale(Rr,Ct,lt,Xt),Xt)),nt!==0&&(F=yr(F,scale(4,Y,nt,er),er),F=yr(F,scale(Zt,St,nt,Xt),Xt)),xt!==0&&(F=yr(F,scale(4,k,xt,er),er),F=yr(F,scale(Mr,$t,xt,Xt),Xt)),Z!==0&&(Q!==0&&(F=Kt(F,Z,Q,or,xt)),J!==0&&(F=Kt(F,-Z,J,nr,nt))),b!==0&&(J!==0&&(F=Kt(F,b,J,tr,lt)),H!==0&&(F=Kt(F,-b,H,or,xt))),j!==0&&(H!==0&&(F=Kt(F,j,H,nr,nt)),Q!==0&&(F=Kt(F,-j,Q,tr,lt))),ir[F-1]}function hr(r,a,s,d,h,m,x,O,P,R,C,B){const L=r-R,F=d-R,Z=x-R,b=a-C,j=h-C,H=O-C,Q=s-B,J=m-B,lt=P-B,nt=F*H,xt=Z*j,it=Z*b,vt=L*H,ft=L*j,It=F*b,Nt=Q*(nt-xt)+J*(it-vt)+lt*(ft-It),Dt=(Math.abs(nt)+Math.abs(xt))*Math.abs(Q)+(Math.abs(it)+Math.abs(vt))*Math.abs(J)+(Math.abs(ft)+Math.abs(It))*Math.abs(lt),Gt=N*Dt;return Nt>Gt||-Nt>Gt?Nt:_t(r,a,s,d,h,m,x,O,P,R,C,B,Dt)}function Sr(r,a,s,d,h,m,x,O,P,R,C,B){const L=r-R,F=d-R,Z=x-R,b=a-C,j=h-C,H=O-C,Q=s-B,J=m-B,lt=P-B;return L*(j*lt-J*H)+F*(H*Q-lt*b)+Z*(b*J-Q*j)}const mr=(10+96*n)*n,Ir=(4+48*n)*n,Fr=(44+576*n)*n*n,Dr=v(4),Pr=v(4),gr=v(4),Cr=v(4),Er=v(4),pr=v(4),Ut=v(4),Vt=v(4),bt=v(8),fr=v(8),cr=v(8),rr=v(8),qt=v(8),$r=v(8),Br=v(8),Et=v(8),Bt=v(8),wt=v(4),gt=v(4),Tt=v(4),q=v(8),At=v(16),Jt=v(16),kt=v(16),ar=v(32),Tr=v(32),dr=v(48),Lr=v(64);let on=v(1152),En=v(1152);function Ur(r,a,s){r=sum(r,on,a,s,En);const d=on;return on=En,En=d,r}function Vn(r,a,s,d,h,m,x,O,P){let R,C,B,L,F,Z,b,j,H,Q,J,lt,nt,xt,it,vt,ft,It,Nt,Dt,Gt,V,tt,_,dt,K,et,z,ct,yt,Pt,Ot,Lt,zt,Ft;const tr=r-x,nr=s-x,or=h-x,sr=a-O,ur=d-O,lr=m-O;Pt=nr*lr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*ur,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,Dr[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,Dr[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,Dr[2]=ct-(Ft-V)+(z-V),Dr[3]=Ft,Pt=or*sr,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*lr,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,Pr[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,Pr[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,Pr[2]=ct-(Ft-V)+(z-V),Pr[3]=Ft,Pt=tr*ur,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*sr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,gr[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,gr[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,gr[2]=ct-(Ft-V)+(z-V),gr[3]=Ft,R=sum(sum(sum(scale(scale(4,Dr,tr,q),q,tr,At),At,scale(scale(4,Dr,sr,q),q,sr,Jt),Jt,ar),ar,sum(scale(scale(4,Pr,nr,q),q,nr,At),At,scale(scale(4,Pr,ur,q),q,ur,Jt),Jt,Tr),Tr,Lr),Lr,sum(scale(scale(4,gr,or,q),q,or,At),At,scale(scale(4,gr,lr,q),q,lr,Jt),Jt,ar),ar,on);let Nr=estimate(R,on),br=Ir*P;if(Nr>=br||-Nr>=br||(V=r-tr,C=r-(tr+V)+(V-x),V=a-sr,F=a-(sr+V)+(V-O),V=s-nr,B=s-(nr+V)+(V-x),V=d-ur,Z=d-(ur+V)+(V-O),V=h-or,L=h-(or+V)+(V-x),V=m-lr,b=m-(lr+V)+(V-O),C===0&&B===0&&L===0&&F===0&&Z===0&&b===0)||(br=Fr*P+resulterrbound*Math.abs(Nr),Nr+=(tr*tr+sr*sr)*(nr*b+lr*B-(ur*L+or*Z))+2*(tr*C+sr*F)*(nr*lr-ur*or)+((nr*nr+ur*ur)*(or*F+sr*L-(lr*C+tr*b))+2*(nr*B+ur*Z)*(or*sr-lr*tr))+((or*or+lr*lr)*(tr*Z+ur*C-(sr*B+nr*F))+2*(or*L+lr*b)*(tr*ur-sr*nr)),Nr>=br||-Nr>=br))return Nr;if((B!==0||Z!==0||L!==0||b!==0)&&(Pt=tr*tr,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=sr*sr,tt=splitter*sr,_=tt-(tt-sr),dt=sr-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),z=Ot+zt,V=z-Ot,Cr[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Cr[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Cr[2]=ct-(Ft-V)+(z-V),Cr[3]=Ft),(L!==0||b!==0||C!==0||F!==0)&&(Pt=nr*nr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=ur*ur,tt=splitter*ur,_=tt-(tt-ur),dt=ur-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),z=Ot+zt,V=z-Ot,Er[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Er[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Er[2]=ct-(Ft-V)+(z-V),Er[3]=Ft),(C!==0||F!==0||B!==0||Z!==0)&&(Pt=or*or,tt=splitter*or,_=tt-(tt-or),dt=or-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=lr*lr,tt=splitter*lr,_=tt-(tt-lr),dt=lr-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),z=Ot+zt,V=z-Ot,pr[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,pr[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,pr[2]=ct-(Ft-V)+(z-V),pr[3]=Ft),C!==0&&(j=scale(4,Dr,C,bt),R=Ur(R,sum_three(scale(j,bt,2*tr,At),At,scale(scale(4,pr,C,q),q,ur,Jt),Jt,scale(scale(4,Er,C,q),q,-lr,kt),kt,ar,dr),dr)),F!==0&&(H=scale(4,Dr,F,fr),R=Ur(R,sum_three(scale(H,fr,2*sr,At),At,scale(scale(4,Er,F,q),q,or,Jt),Jt,scale(scale(4,pr,F,q),q,-nr,kt),kt,ar,dr),dr)),B!==0&&(Q=scale(4,Pr,B,cr),R=Ur(R,sum_three(scale(Q,cr,2*nr,At),At,scale(scale(4,Cr,B,q),q,lr,Jt),Jt,scale(scale(4,pr,B,q),q,-sr,kt),kt,ar,dr),dr)),Z!==0&&(J=scale(4,Pr,Z,rr),R=Ur(R,sum_three(scale(J,rr,2*ur,At),At,scale(scale(4,pr,Z,q),q,tr,Jt),Jt,scale(scale(4,Cr,Z,q),q,-or,kt),kt,ar,dr),dr)),L!==0&&(lt=scale(4,gr,L,qt),R=Ur(R,sum_three(scale(lt,qt,2*or,At),At,scale(scale(4,Er,L,q),q,sr,Jt),Jt,scale(scale(4,Cr,L,q),q,-ur,kt),kt,ar,dr),dr)),b!==0&&(nt=scale(4,gr,b,$r),R=Ur(R,sum_three(scale(nt,$r,2*lr,At),At,scale(scale(4,Cr,b,q),q,nr,Jt),Jt,scale(scale(4,Er,b,q),q,-tr,kt),kt,ar,dr),dr)),C!==0||F!==0){if(B!==0||Z!==0||L!==0||b!==0?(Pt=B*lr,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*b,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*b,K=tt-(tt-b),et=b-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Ut[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Ut[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Ut[2]=ct-(Ft-V)+(z-V),Ut[3]=Ft,Pt=L*-ur,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*-ur,K=tt-(tt- -ur),et=-ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*-Z,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*-Z,K=tt-(tt- -Z),et=-Z-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Vt[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Vt[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Vt[2]=ct-(Ft-V)+(z-V),Vt[3]=Ft,it=sum(4,Ut,4,Vt,Et),Pt=B*b,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*b,K=tt-(tt-b),et=b-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=L*Z,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*Z,K=tt-(tt-Z),et=Z-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,gt[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,gt[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,gt[2]=ct-(Ft-V)+(z-V),gt[3]=Ft,It=4):(Et[0]=0,it=1,gt[0]=0,It=1),C!==0){const Rr=scale(it,Et,C,kt);R=Ur(R,sum(scale(j,bt,C,At),At,scale(Rr,kt,2*tr,ar),ar,dr),dr);const Zt=scale(It,gt,C,q);R=Ur(R,sum_three(scale(Zt,q,2*tr,At),At,scale(Zt,q,C,Jt),Jt,scale(Rr,kt,C,ar),ar,Tr,Lr),Lr),Z!==0&&(R=Ur(R,scale(scale(4,pr,C,q),q,Z,At),At)),b!==0&&(R=Ur(R,scale(scale(4,Er,-C,q),q,b,At),At))}if(F!==0){const Rr=scale(it,Et,F,kt);R=Ur(R,sum(scale(H,fr,F,At),At,scale(Rr,kt,2*sr,ar),ar,dr),dr);const Zt=scale(It,gt,F,q);R=Ur(R,sum_three(scale(Zt,q,2*sr,At),At,scale(Zt,q,F,Jt),Jt,scale(Rr,kt,F,ar),ar,Tr,Lr),Lr)}}if(B!==0||Z!==0){if(L!==0||b!==0||C!==0||F!==0?(Pt=L*sr,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*F,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*F,K=tt-(tt-F),et=F-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Ut[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Ut[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Ut[2]=ct-(Ft-V)+(z-V),Ut[3]=Ft,Dt=-lr,Gt=-b,Pt=C*Dt,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*Dt,K=tt-(tt-Dt),et=Dt-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*Gt,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*Gt,K=tt-(tt-Gt),et=Gt-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Vt[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Vt[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Vt[2]=ct-(Ft-V)+(z-V),Vt[3]=Ft,vt=sum(4,Ut,4,Vt,Bt),Pt=L*F,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*F,K=tt-(tt-F),et=F-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=C*b,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*b,K=tt-(tt-b),et=b-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,Tt[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,Tt[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,Tt[2]=ct-(Ft-V)+(z-V),Tt[3]=Ft,Nt=4):(Bt[0]=0,vt=1,Tt[0]=0,Nt=1),B!==0){const Rr=scale(vt,Bt,B,kt);R=Ur(R,sum(scale(Q,cr,B,At),At,scale(Rr,kt,2*nr,ar),ar,dr),dr);const Zt=scale(Nt,Tt,B,q);R=Ur(R,sum_three(scale(Zt,q,2*nr,At),At,scale(Zt,q,B,Jt),Jt,scale(Rr,kt,B,ar),ar,Tr,Lr),Lr),b!==0&&(R=Ur(R,scale(scale(4,Cr,B,q),q,b,At),At)),F!==0&&(R=Ur(R,scale(scale(4,pr,-B,q),q,F,At),At))}if(Z!==0){const Rr=scale(vt,Bt,Z,kt);R=Ur(R,sum(scale(J,rr,Z,At),At,scale(Rr,kt,2*ur,ar),ar,dr),dr);const Zt=scale(Nt,Tt,Z,q);R=Ur(R,sum_three(scale(Zt,q,2*ur,At),At,scale(Zt,q,Z,Jt),Jt,scale(Rr,kt,Z,ar),ar,Tr,Lr),Lr)}}if(L!==0||b!==0){if(C!==0||F!==0||B!==0||Z!==0?(Pt=C*ur,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*Z,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*Z,K=tt-(tt-Z),et=Z-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Ut[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Ut[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Ut[2]=ct-(Ft-V)+(z-V),Ut[3]=Ft,Dt=-sr,Gt=-F,Pt=B*Dt,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*Dt,K=tt-(tt-Dt),et=Dt-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*Gt,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*Gt,K=tt-(tt-Gt),et=Gt-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot+zt,V=z-Ot,Vt[0]=Ot-(z-V)+(zt-V),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt+Lt,V=z-yt,Vt[1]=yt-(z-V)+(Lt-V),Ft=ct+z,V=Ft-ct,Vt[2]=ct-(Ft-V)+(z-V),Vt[3]=Ft,xt=sum(4,Ut,4,Vt,Br),Pt=C*Z,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*Z,K=tt-(tt-Z),et=Z-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=B*F,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*F,K=tt-(tt-F),et=F-K,zt=dt*et-(Lt-_*K-dt*K-_*et),z=Ot-zt,V=Ot-z,wt[0]=Ot-(z+V)+(V-zt),ct=Pt+z,V=ct-Pt,yt=Pt-(ct-V)+(z-V),z=yt-Lt,V=yt-z,wt[1]=yt-(z+V)+(V-Lt),Ft=ct+z,V=Ft-ct,wt[2]=ct-(Ft-V)+(z-V),wt[3]=Ft,ft=4):(Br[0]=0,xt=1,wt[0]=0,ft=1),L!==0){const Rr=scale(xt,Br,L,kt);R=Ur(R,sum(scale(lt,qt,L,At),At,scale(Rr,kt,2*or,ar),ar,dr),dr);const Zt=scale(ft,wt,L,q);R=Ur(R,sum_three(scale(Zt,q,2*or,At),At,scale(Zt,q,L,Jt),Jt,scale(Rr,kt,L,ar),ar,Tr,Lr),Lr),F!==0&&(R=Ur(R,scale(scale(4,Er,L,q),q,F,At),At)),Z!==0&&(R=Ur(R,scale(scale(4,Cr,-L,q),q,Z,At),At))}if(b!==0){const Rr=scale(xt,Br,b,kt);R=Ur(R,sum(scale(nt,$r,b,At),At,scale(Rr,kt,2*lr,ar),ar,dr),dr);const Zt=scale(ft,wt,b,q);R=Ur(R,sum_three(scale(Zt,q,2*lr,At),At,scale(Zt,q,b,Jt),Jt,scale(Rr,kt,b,ar),ar,Tr,Lr),Lr)}}return on[R-1]}function ee(r,a,s,d,h,m,x,O){const P=r-x,R=s-x,C=h-x,B=a-O,L=d-O,F=m-O,Z=R*F,b=C*L,j=P*P+B*B,H=C*B,Q=P*F,J=R*R+L*L,lt=P*L,nt=R*B,xt=C*C+F*F,it=j*(Z-b)+J*(H-Q)+xt*(lt-nt),vt=(Math.abs(Z)+Math.abs(b))*j+(Math.abs(H)+Math.abs(Q))*J+(Math.abs(lt)+Math.abs(nt))*xt,ft=mr*vt;return it>ft||-it>ft?it:Vn(r,a,s,d,h,m,x,O,vt)}function ae(r,a,s,d,h,m,x,O){const P=r-x,R=a-O,C=s-x,B=d-O,L=h-x,F=m-O,Z=P*B-C*R,b=C*F-L*B,j=L*R-P*F,H=P*P+R*R,Q=C*C+B*B,J=L*L+F*F;return H*b+Q*j+J*Z}const Hn=(16+224*n)*n,oe=(5+72*n)*n,Wn=(71+1408*n)*n*n,Xr=v(4),Vr=v(4),tn=v(4),en=v(4),kr=v(4),qr=v(4),Jr=v(4),Wr=v(4),wr=v(4),hn=v(4),Dn=v(24),mt=v(24),Wt=v(24),Mt=v(24),ht=v(24),jt=v(24),Ar=v(24),vr=v(24),Gr=v(24),Kr=v(24),Yr=v(1152),_r=v(1152),Ht=v(1152),zr=v(1152),un=v(1152),An=v(2304),Fn=v(2304),Kn=v(3456),bn=v(5760),ua=v(8),la=v(8),fa=v(8),Mo=v(16),se=v(24),In=v(48),Le=v(48),ie=v(96),Rn=v(192),ca=v(384),va=v(384),da=v(384),No=v(768);function fn(r,a,s,d,h,m,x){return sum_three(scale(4,r,d,ua),ua,scale(4,a,h,la),la,scale(4,s,m,fa),fa,Mo,x)}function Yn(r,a,s,d,h,m,x,O,P,R,C,B){const L=sum(sum(r,a,s,d,In),In,negate(sum(h,m,x,O,Le),Le),Le,ie);return sum_three(scale(scale(L,ie,P,Rn),Rn,P,ca),ca,scale(scale(L,ie,R,Rn),Rn,R,va),va,scale(scale(L,ie,C,Rn),Rn,C,da),da,No,B)}function Do(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z){let b,j,H,Q,J,lt,nt,xt,it,vt,ft,It,Nt,Dt;vt=r*h,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*h,J=j-(j-h),lt=h-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=d*a,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*a,J=j-(j-a),lt=a-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,Xr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,Xr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,Xr[2]=xt-(Dt-b)+(nt-b),Xr[3]=Dt,vt=d*O,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*O,J=j-(j-O),lt=O-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=x*h,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*h,J=j-(j-h),lt=h-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,Vr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,Vr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,Vr[2]=xt-(Dt-b)+(nt-b),Vr[3]=Dt,vt=x*C,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*C,J=j-(j-C),lt=C-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=R*O,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*O,J=j-(j-O),lt=O-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,tn[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,tn[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,tn[2]=xt-(Dt-b)+(nt-b),tn[3]=Dt,vt=R*F,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*F,J=j-(j-F),lt=F-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=L*C,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*C,J=j-(j-C),lt=C-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,en[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,en[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,en[2]=xt-(Dt-b)+(nt-b),en[3]=Dt,vt=L*a,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*a,J=j-(j-a),lt=a-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=r*F,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*F,J=j-(j-F),lt=F-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,kr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,kr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,kr[2]=xt-(Dt-b)+(nt-b),kr[3]=Dt,vt=r*O,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*O,J=j-(j-O),lt=O-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=x*a,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*a,J=j-(j-a),lt=a-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,qr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,qr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,qr[2]=xt-(Dt-b)+(nt-b),qr[3]=Dt,vt=d*C,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*C,J=j-(j-C),lt=C-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=R*h,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*h,J=j-(j-h),lt=h-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,Jr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,Jr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,Jr[2]=xt-(Dt-b)+(nt-b),Jr[3]=Dt,vt=x*F,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*F,J=j-(j-F),lt=F-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=L*O,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*O,J=j-(j-O),lt=O-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,Wr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,Wr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,Wr[2]=xt-(Dt-b)+(nt-b),Wr[3]=Dt,vt=R*a,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*a,J=j-(j-a),lt=a-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=r*C,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*C,J=j-(j-C),lt=C-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,wr[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,wr[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,wr[2]=xt-(Dt-b)+(nt-b),wr[3]=Dt,vt=L*h,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*h,J=j-(j-h),lt=h-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),It=d*F,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*F,J=j-(j-F),lt=F-J,Nt=Q*lt-(It-H*J-Q*J-H*lt),nt=ft-Nt,b=ft-nt,hn[0]=ft-(nt+b)+(b-Nt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-It,b=it-nt,hn[1]=it-(nt+b)+(b-It),Dt=xt+nt,b=Dt-xt,hn[2]=xt-(Dt-b)+(nt-b),hn[3]=Dt;const Gt=fn(Xr,Vr,qr,P,s,-m,Dn),V=fn(Vr,tn,Jr,B,m,-P,mt),tt=fn(tn,en,Wr,Z,P,-B,Wt),_=fn(en,kr,wr,s,B,-Z,Mt),dt=fn(kr,Xr,hn,m,Z,-s,ht),K=fn(Xr,Jr,wr,B,s,m,jt),et=fn(Vr,Wr,hn,Z,m,P,Ar),z=fn(tn,wr,qr,s,P,B,vr),ct=fn(en,hn,Jr,m,B,Z,Gr),yt=fn(kr,qr,Wr,P,Z,s,Kr),Pt=sum_three(Yn(tt,Wt,et,Ar,ct,Gr,V,mt,r,a,s,Yr),Yr,Yn(_,Mt,z,vr,yt,Kr,tt,Wt,d,h,m,_r),_r,sum_three(Yn(dt,ht,ct,Gr,K,jt,_,Mt,x,O,P,Ht),Ht,Yn(Gt,Dn,yt,Kr,et,Ar,dt,ht,R,C,B,zr),zr,Yn(V,mt,K,jt,z,vr,Gt,Dn,L,F,Z,un),un,Fn,Kn),Kn,An,bn);return bn[Pt-1]}const ha=v(96),ga=v(96),pa=v(96),ya=v(1152);function ue(r,a,s,d,h,m,x,O,P,R){const C=fn(r,a,s,d,h,m,se);return sum_three(scale(scale(C,se,x,In),In,x,ha),ha,scale(scale(C,se,O,In),In,O,ga),ga,scale(scale(C,se,P,In),In,P,pa),pa,Rn,R)}function Fo(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z,b){let j,H,Q,J,lt,nt,xt,it,vt,ft,It,Nt,Dt,Gt,V,tt,_,dt,K,et,z,ct,yt,Pt,Ot,Lt,zt,Ft,tr,nr,or;const sr=r-L,ur=d-L,lr=x-L,Nr=R-L,br=a-F,Rr=h-F,Zt=O-F,Mr=C-F,Hr=s-Z,jr=m-Z,Qr=P-Z,Zr=B-Z;Ft=sr*Rr,et=splitter*sr,z=et-(et-sr),ct=sr-z,et=splitter*Rr,yt=et-(et-Rr),Pt=Rr-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=ur*br,et=splitter*ur,z=et-(et-ur),ct=ur-z,et=splitter*br,yt=et-(et-br),Pt=br-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,Xr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Xr[1]=zt-(Ot+K)+(K-nr),j=Lt+Ot,K=j-Lt,Xr[2]=Lt-(j-K)+(Ot-K),Xr[3]=j,Ft=ur*Zt,et=splitter*ur,z=et-(et-ur),ct=ur-z,et=splitter*Zt,yt=et-(et-Zt),Pt=Zt-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=lr*Rr,et=splitter*lr,z=et-(et-lr),ct=lr-z,et=splitter*Rr,yt=et-(et-Rr),Pt=Rr-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,Vr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Vr[1]=zt-(Ot+K)+(K-nr),H=Lt+Ot,K=H-Lt,Vr[2]=Lt-(H-K)+(Ot-K),Vr[3]=H,Ft=lr*Mr,et=splitter*lr,z=et-(et-lr),ct=lr-z,et=splitter*Mr,yt=et-(et-Mr),Pt=Mr-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=Nr*Zt,et=splitter*Nr,z=et-(et-Nr),ct=Nr-z,et=splitter*Zt,yt=et-(et-Zt),Pt=Zt-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,tn[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,tn[1]=zt-(Ot+K)+(K-nr),Q=Lt+Ot,K=Q-Lt,tn[2]=Lt-(Q-K)+(Ot-K),tn[3]=Q,Ft=Nr*br,et=splitter*Nr,z=et-(et-Nr),ct=Nr-z,et=splitter*br,yt=et-(et-br),Pt=br-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=sr*Mr,et=splitter*sr,z=et-(et-sr),ct=sr-z,et=splitter*Mr,yt=et-(et-Mr),Pt=Mr-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,wr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,wr[1]=zt-(Ot+K)+(K-nr),J=Lt+Ot,K=J-Lt,wr[2]=Lt-(J-K)+(Ot-K),wr[3]=J,Ft=sr*Zt,et=splitter*sr,z=et-(et-sr),ct=sr-z,et=splitter*Zt,yt=et-(et-Zt),Pt=Zt-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=lr*br,et=splitter*lr,z=et-(et-lr),ct=lr-z,et=splitter*br,yt=et-(et-br),Pt=br-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,qr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,qr[1]=zt-(Ot+K)+(K-nr),lt=Lt+Ot,K=lt-Lt,qr[2]=Lt-(lt-K)+(Ot-K),qr[3]=lt,Ft=ur*Mr,et=splitter*ur,z=et-(et-ur),ct=ur-z,et=splitter*Mr,yt=et-(et-Mr),Pt=Mr-yt,tr=ct*Pt-(Ft-z*yt-ct*yt-z*Pt),nr=Nr*Rr,et=splitter*Nr,z=et-(et-Nr),ct=Nr-z,et=splitter*Rr,yt=et-(et-Rr),Pt=Rr-yt,or=ct*Pt-(nr-z*yt-ct*yt-z*Pt),Ot=tr-or,K=tr-Ot,Jr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Jr[1]=zt-(Ot+K)+(K-nr),nt=Lt+Ot,K=nt-Lt,Jr[2]=Lt-(nt-K)+(Ot-K),Jr[3]=nt;const Fe=sum(sum(negate(ue(Vr,tn,Jr,Zr,jr,-Qr,sr,br,Hr,Yr),Yr),Yr,ue(tn,wr,qr,Hr,Qr,Zr,ur,Rr,jr,_r),_r,An),An,sum(negate(ue(wr,Xr,Jr,jr,Zr,Hr,lr,Zt,Qr,Ht),Ht),Ht,ue(Xr,Vr,qr,Qr,Hr,-jr,Nr,Mr,Zr,zr),zr,Fn),Fn,ya);let ln=estimate(Fe,ya),Tn=oe*b;if(ln>=Tn||-ln>=Tn||(K=r-sr,xt=r-(sr+K)+(K-L),K=a-br,It=a-(br+K)+(K-F),K=s-Hr,V=s-(Hr+K)+(K-Z),K=d-ur,it=d-(ur+K)+(K-L),K=h-Rr,Nt=h-(Rr+K)+(K-F),K=m-jr,tt=m-(jr+K)+(K-Z),K=x-lr,vt=x-(lr+K)+(K-L),K=O-Zt,Dt=O-(Zt+K)+(K-F),K=P-Qr,_=P-(Qr+K)+(K-Z),K=R-Nr,ft=R-(Nr+K)+(K-L),K=C-Mr,Gt=C-(Mr+K)+(K-F),K=B-Zr,dt=B-(Zr+K)+(K-Z),xt===0&&It===0&&V===0&&it===0&&Nt===0&&tt===0&&vt===0&&Dt===0&&_===0&&ft===0&&Gt===0&&dt===0))return ln;Tn=Wn*b+resulterrbound*Math.abs(ln);const Oo=sr*Nt+Rr*xt-(br*it+ur*It),To=ur*Dt+Zt*it-(Rr*vt+lr*Nt),Ao=lr*Gt+Mr*vt-(Zt*ft+Nr*Dt),Ro=Nr*It+br*ft-(Mr*xt+sr*Gt),Po=sr*Dt+Zt*xt-(br*vt+lr*It),Co=ur*Gt+Mr*it-(Rr*ft+Nr*Nt);return ln+=(ur*ur+Rr*Rr+jr*jr)*(Qr*Ro+Zr*Po+Hr*Ao+(_*J+dt*lt+V*Q))+(Nr*Nr+Mr*Mr+Zr*Zr)*(Hr*To-jr*Po+Qr*Oo+(V*H-tt*lt+_*j))-((sr*sr+br*br+Hr*Hr)*(jr*Ao-Qr*Co+Zr*To+(tt*Q-_*nt+dt*H))+(lr*lr+Zt*Zt+Qr*Qr)*(Zr*Oo+Hr*Co+jr*Ro+(dt*j+V*nt+tt*J)))+2*((ur*it+Rr*Nt+jr*tt)*(Qr*J+Zr*lt+Hr*Q)+(Nr*ft+Mr*Gt+Zr*dt)*(Hr*H-jr*lt+Qr*j)-((sr*xt+br*It+Hr*V)*(jr*Q-Qr*nt+Zr*H)+(lr*vt+Zt*Dt+Qr*_)*(Zr*j+Hr*nt+jr*J))),ln>=Tn||-ln>=Tn?ln:Do(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z)}function Yl(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z){const b=r-L,j=d-L,H=x-L,Q=R-L,J=a-F,lt=h-F,nt=O-F,xt=C-F,it=s-Z,vt=m-Z,ft=P-Z,It=B-Z,Nt=b*lt,Dt=j*J,Gt=Nt-Dt,V=j*nt,tt=H*lt,_=V-tt,dt=H*xt,K=Q*nt,et=dt-K,z=Q*J,ct=b*xt,yt=z-ct,Pt=b*nt,Ot=H*J,Lt=Pt-Ot,zt=j*xt,Ft=Q*lt,tr=zt-Ft,nr=b*b+J*J+it*it,or=j*j+lt*lt+vt*vt,sr=H*H+nt*nt+ft*ft,ur=Q*Q+xt*xt+It*It,lr=sr*(It*Gt+it*tr+vt*yt)-ur*(it*_-vt*Lt+ft*Gt)+(nr*(vt*et-ft*tr+It*_)-or*(ft*yt+It*Lt+it*et)),Nr=Math.abs(it),br=Math.abs(vt),Rr=Math.abs(ft),Zt=Math.abs(It),Mr=Math.abs(Nt)+Math.abs(Dt),Hr=Math.abs(V)+Math.abs(tt),jr=Math.abs(dt)+Math.abs(K),Qr=Math.abs(z)+Math.abs(ct),Zr=Math.abs(Pt)+Math.abs(Ot),Fe=Math.abs(zt)+Math.abs(Ft),ln=(jr*br+Fe*Rr+Hr*Zt)*nr+(Qr*Rr+Zr*Zt+jr*Nr)*or+(Mr*Zt+Fe*Nr+Qr*br)*sr+(Hr*Nr+Zr*br+Mr*Rr)*ur,Tn=Hn*ln;return lr>Tn||-lr>Tn?lr:-Fo(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z,ln)}function zl(r,a,s,d,h,m,x,O,P,R,C,B,L,F,Z){const b=r-L,j=d-L,H=x-L,Q=R-L,J=a-F,lt=h-F,nt=O-F,xt=C-F,it=s-Z,vt=m-Z,ft=P-Z,It=B-Z,Nt=b*lt-j*J,Dt=j*nt-H*lt,Gt=H*xt-Q*nt,V=Q*J-b*xt,tt=b*nt-H*J,_=j*xt-Q*lt,dt=it*Dt-vt*tt+ft*Nt,K=vt*Gt-ft*_+It*Dt,et=ft*V+It*tt+it*Gt,z=It*Nt+it*_+vt*V,ct=b*b+J*J+it*it,yt=j*j+lt*lt+vt*vt,Pt=H*H+nt*nt+ft*ft,Ot=Q*Q+xt*xt+It*It;return Pt*z-Ot*dt+(ct*K-yt*et)}const ma=Math.pow(2,-52),le=new Uint32Array(512);class fe{static from(a,s=Bo,d=jo){const h=a.length,m=new Float64Array(h*2);for(let x=0;x>1;if(s>0&&typeof a[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=a;const d=Math.max(2*s-5,0);this._triangles=new Uint32Array(d*3),this._halfedges=new Int32Array(d*3),this._hashSize=Math.ceil(Math.sqrt(s)),this._hullPrev=new Uint32Array(s),this._hullNext=new Uint32Array(s),this._hullTri=new Uint32Array(s),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(s),this._dists=new Float64Array(s),this.update()}update(){const{coords:a,_hullPrev:s,_hullNext:d,_hullTri:h,_hullHash:m}=this,x=a.length>>1;let O=1/0,P=1/0,R=-1/0,C=-1/0;for(let ft=0;ftR&&(R=It),Nt>C&&(C=Nt),this._ids[ft]=ft}const B=(O+R)/2,L=(P+C)/2;let F,Z,b;for(let ft=0,It=1/0;ft0&&(Z=ft,It=Nt)}let Q=a[2*Z],J=a[2*Z+1],lt=1/0;for(let ft=0;ftDt&&(ft[It++]=Gt,Dt=V)}this.hull=ft.subarray(0,It),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(U(j,H,Q,J,nt,xt)<0){const ft=Z,It=Q,Nt=J;Z=b,Q=nt,J=xt,b=ft,nt=It,xt=Nt}const it=Uo(j,H,Q,J,nt,xt);this._cx=it.x,this._cy=it.y;for(let ft=0;ft0&&Math.abs(Gt-It)<=ma&&Math.abs(V-Nt)<=ma||(It=Gt,Nt=V,Dt===F||Dt===Z||Dt===b))continue;let tt=0;for(let z=0,ct=this._hashKey(Gt,V);z=0;)if(_=dt,_===tt){_=-1;break}if(_===-1)continue;let K=this._addTriangle(_,Dt,d[_],-1,-1,h[_]);h[Dt]=this._legalize(K+2),h[_]=K,vt++;let et=d[_];for(;dt=d[et],U(Gt,V,a[2*et],a[2*et+1],a[2*dt],a[2*dt+1])<0;)K=this._addTriangle(et,Dt,dt,h[Dt],-1,h[et]),h[Dt]=this._legalize(K+2),d[et]=et,vt--,et=dt;if(_===tt)for(;dt=s[_],U(Gt,V,a[2*dt],a[2*dt+1],a[2*_],a[2*_+1])<0;)K=this._addTriangle(dt,Dt,_,-1,h[_],h[dt]),this._legalize(K+2),h[dt]=K,d[_]=_,vt--,_=dt;this._hullStart=s[Dt]=_,d[_]=s[et]=Dt,d[Dt]=et,m[this._hashKey(Gt,V)]=Dt,m[this._hashKey(a[2*_],a[2*_+1])]=_}this.hull=new Uint32Array(vt);for(let ft=0,It=this._hullStart;ft0?3-s:1+s)/4}function $e(r,a,s,d){const h=r-s,m=a-d;return h*h+m*m}function Lo(r,a,s,d,h,m,x,O){const P=r-x,R=a-O,C=s-x,B=d-O,L=h-x,F=m-O,Z=P*P+R*R,b=C*C+B*B,j=L*L+F*F;return P*(B*j-b*F)-R*(C*j-b*L)+Z*(C*F-B*L)<0}function $o(r,a,s,d,h,m){const x=s-r,O=d-a,P=h-r,R=m-a,C=x*x+O*O,B=P*P+R*R,L=.5/(x*R-O*P),F=(R*C-O*B)*L,Z=(x*B-P*C)*L;return F*F+Z*Z}function Uo(r,a,s,d,h,m){const x=s-r,O=d-a,P=h-r,R=m-a,C=x*x+O*O,B=P*P+R*R,L=.5/(x*R-O*P),F=r+(R*C-O*B)*L,Z=a+(x*B-P*C)*L;return{x:F,y:Z}}function Ln(r,a,s,d){if(d-s<=20)for(let h=s+1;h<=d;h++){const m=r[h],x=a[m];let O=h-1;for(;O>=s&&a[r[O]]>x;)r[O+1]=r[O--];r[O+1]=m}else{const h=s+d>>1;let m=s+1,x=d;zn(r,h,m),a[r[s]]>a[r[d]]&&zn(r,s,d),a[r[m]]>a[r[d]]&&zn(r,m,d),a[r[s]]>a[r[m]]&&zn(r,s,m);const O=r[m],P=a[O];for(;;){do m++;while(a[r[m]]P);if(x=x-s?(Ln(r,a,m,d),Ln(r,a,s,x-1)):(Ln(r,a,s,x-1),Ln(r,a,m,d))}}function zn(r,a,s){const d=r[a];r[a]=r[s],r[s]=d}function Bo(r){return r[0]}function jo(r){return r[1]}const xa=1e-6;class Pn{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(a,s){this._+=`M${this._x0=this._x1=+a},${this._y0=this._y1=+s}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(a,s){this._+=`L${this._x1=+a},${this._y1=+s}`}arc(a,s,d){a=+a,s=+s,d=+d;const h=a+d,m=s;if(d<0)throw new Error("negative radius");this._x1===null?this._+=`M${h},${m}`:(Math.abs(this._x1-h)>xa||Math.abs(this._y1-m)>xa)&&(this._+="L"+h+","+m),d&&(this._+=`A${d},${d},0,1,1,${a-d},${s}A${d},${d},0,1,1,${this._x1=h},${this._y1=m}`)}rect(a,s,d,h){this._+=`M${this._x0=this._x1=+a},${this._y0=this._y1=+s}h${+d}v${+h}h${-d}Z`}value(){return this._||null}}class Ue{constructor(){this._=[]}moveTo(a,s){this._.push([a,s])}closePath(){this._.push(this._[0].slice())}lineTo(a,s){this._.push([a,s])}value(){return this._.length?this._:null}}class wo{constructor(a,[s,d,h,m]=[0,0,960,500]){if(!((h=+h)>=(s=+s))||!((m=+m)>=(d=+d)))throw new Error("invalid bounds");this.delaunay=a,this._circumcenters=new Float64Array(a.points.length*2),this.vectors=new Float64Array(a.points.length*2),this.xmax=h,this.xmin=s,this.ymax=m,this.ymin=d,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:a,hull:s,triangles:d},vectors:h}=this;let m,x;const O=this.circumcenters=this._circumcenters.subarray(0,d.length/3*2);for(let b=0,j=0,H=d.length,Q,J;b1;)m-=2;for(let x=2;x0){if(s>=this.ymax)return null;(x=(this.ymax-s)/h)0){if(a>=this.xmax)return null;(x=(this.xmax-a)/d)this.xmax?2:0)|(sthis.ymax?8:0)}_simplify(a){if(a&&a.length>4){for(let s=0;s1e-10)return!1}return!0}function Ko(r,a,s){return[r+Math.sin(r+a)*s,a+Math.cos(r-a)*s]}class Be{static from(a,s=Vo,d=Ho,h){return new Be("length"in a?Yo(a,s,d,h):Float64Array.from(zo(a,s,d,h)))}constructor(a){this._delaunator=new fe(a),this.inedges=new Int32Array(a.length/2),this._hullIndex=new Int32Array(a.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const a=this._delaunator,s=this.points;if(a.hull&&a.hull.length>2&&Wo(a)){this.collinear=Int32Array.from({length:s.length/2},(L,F)=>F).sort((L,F)=>s[2*L]-s[2*F]||s[2*L+1]-s[2*F+1]);const P=this.collinear[0],R=this.collinear[this.collinear.length-1],C=[s[2*P],s[2*P+1],s[2*R],s[2*R+1]],B=1e-8*Math.hypot(C[3]-C[1],C[2]-C[0]);for(let L=0,F=s.length/2;L0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=h[0],x[h[0]]=1,h.length===2&&(x[h[1]]=0,this.triangles[1]=h[1],this.triangles[2]=h[1]))}voronoi(a){return new wo(this,a)}*neighbors(a){const{inedges:s,hull:d,_hullIndex:h,halfedges:m,triangles:x,collinear:O}=this;if(O){const B=O.indexOf(a);B>0&&(yield O[B-1]),B=0&&m!==d&&m!==h;)d=m;return m}_step(a,s,d){const{inedges:h,hull:m,_hullIndex:x,halfedges:O,triangles:P,points:R}=this;if(h[a]===-1||!R.length)return(a+1)%(R.length>>1);let C=a,B=$n(s-R[a*2],2)+$n(d-R[a*2+1],2);const L=h[a];let F=L;do{let Z=P[F];const b=$n(s-R[Z*2],2)+$n(d-R[Z*2+1],2);if(b=J&&(J=Q+1);!(nt=j[J])&&++J=0;)(x=d[h])&&(m&&x.compareDocumentPosition(m)^4&&m.parentNode.insertBefore(x,m),m=x);return this}function Es(r){r||(r=Is);function a(B,L){return B&&L?r(B.__data__,L.__data__):!B-!L}for(var s=this._groups,d=s.length,h=new Array(d),m=0;ma?1:r>=a?0:NaN}function Os(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function Ts(){return Array.from(this)}function As(){for(var r=this._groups,a=0,s=r.length;a=0&&(a=r.slice(0,s))!=="xmlns"&&(r=r.slice(s+1)),Ta.hasOwnProperty(a)?{space:Ta[a],local:r}:r}function Ms(r){return function(){this.removeAttribute(r)}}function Ns(r){return function(){this.removeAttributeNS(r.space,r.local)}}function Ds(r,a){return function(){this.setAttribute(r,a)}}function Fs(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function bs(r,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttribute(r):this.setAttribute(r,s)}}function Ls(r,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,s)}}function $s(r,a){var s=ve(r);if(arguments.length<2){var d=this.node();return s.local?d.getAttributeNS(s.space,s.local):d.getAttribute(s)}return this.each((a==null?s.local?Ns:Ms:typeof a=="function"?s.local?Ls:bs:s.local?Fs:Ds)(s,a))}function Aa(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function Us(r){return function(){this.style.removeProperty(r)}}function Bs(r,a,s){return function(){this.style.setProperty(r,a,s)}}function js(r,a,s){return function(){var d=a.apply(this,arguments);d==null?this.style.removeProperty(r):this.style.setProperty(r,d,s)}}function ws(r,a,s){return arguments.length>1?this.each((a==null?Us:typeof a=="function"?js:Bs)(r,a,s==null?"":s)):Un(this.node(),r)}function Un(r,a){return r.style.getPropertyValue(a)||Aa(r).getComputedStyle(r,null).getPropertyValue(a)}function Gs(r){return function(){delete this[r]}}function Vs(r,a){return function(){this[r]=a}}function Hs(r,a){return function(){var s=a.apply(this,arguments);s==null?delete this[r]:this[r]=s}}function Ws(r,a){return arguments.length>1?this.each((a==null?Gs:typeof a=="function"?Hs:Vs)(r,a)):this.node()[r]}function Ra(r){return r.trim().split(/^|\s+/)}function Ge(r){return r.classList||new Pa(r)}function Pa(r){this._node=r,this._names=Ra(r.getAttribute("class")||"")}Pa.prototype={add:function(r){var a=this._names.indexOf(r);a<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Ca(r,a){for(var s=Ge(r),d=-1,h=a.length;++d=0&&(s=a.slice(d+1),a=a.slice(0,d)),{type:a,name:s}})}function xi(r){return function(){var a=this.__on;if(a){for(var s=0,d=-1,h=a.length,m;s{}};function ba(){for(var r=0,a=arguments.length,s={},d;r=0&&(d=s.slice(h+1),s=s.slice(0,h)),s&&!a.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:d}})}de.prototype=ba.prototype={constructor:de,on:function(r,a){var s=this._,d=Mi(r+"",s),h,m=-1,x=d.length;if(arguments.length<2){for(;++m0)for(var s=new Array(h),d=0,h,m;d=0&&r._call.call(void 0,a),r=r._next;--Bn}function ja(){Cn=(ge=kn.now())+pe,Bn=Jn=0;try{bi()}finally{Bn=0,$i(),Cn=0}}function Li(){var r=kn.now(),a=r-ge;a>$a&&(pe-=a,ge=r)}function $i(){for(var r,a=he,s,d=1/0;a;)a._call?(d>a._time&&(d=a._time),r=a,a=a._next):(s=a._next,a._next=null,a=r?r._next=s:he=s);Zn=r,He(d)}function He(r){if(!Bn){Jn&&(Jn=clearTimeout(Jn));var a=r-Cn;a>24?(r<1/0&&(Jn=setTimeout(ja,r-kn.now()-pe)),Qn&&(Qn=clearInterval(Qn))):(Qn||(ge=kn.now(),Qn=setInterval(Li,$a)),Bn=1,Ua(ja))}}function wa(r,a,s){var d=new ye;return a=a==null?0:+a,d.restart(h=>{d.stop(),r(h+a)},a,s),d}var Ui=Di("start","end","cancel","interrupt"),Bi=[],Ga=0,Va=1,We=2,me=3,Ha=4,Ke=5,xe=6;function Se(r,a,s,d,h,m){var x=r.__transition;if(!x)r.__transition={};else if(s in x)return;ji(r,s,{name:a,index:d,group:h,on:Ui,tween:Bi,time:m.time,delay:m.delay,duration:m.duration,ease:m.ease,timer:null,state:Ga})}function Ye(r,a){var s=vn(r,a);if(s.state>Ga)throw new Error("too late; already scheduled");return s}function gn(r,a){var s=vn(r,a);if(s.state>me)throw new Error("too late; already running");return s}function vn(r,a){var s=r.__transition;if(!s||!(s=s[a]))throw new Error("transition not found");return s}function ji(r,a,s){var d=r.__transition,h;d[a]=s,s.timer=Ba(m,0,s.time);function m(R){s.state=Va,s.timer.restart(x,s.delay,s.time),s.delay<=R&&x(R-s.delay)}function x(R){var C,B,L,F;if(s.state!==Va)return P();for(C in d)if(F=d[C],F.name===s.name){if(F.state===me)return wa(x);F.state===Ha?(F.state=xe,F.timer.stop(),F.on.call("interrupt",r,r.__data__,F.index,F.group),delete d[C]):+CWe&&d.state180?C+=360:C-R>180&&(R+=360),L.push({i:B.push(h(B)+"rotate(",null,d)-2,x:On(R,C)})):C&&B.push(h(B)+"rotate("+C+d)}function O(R,C,B,L){R!==C?L.push({i:B.push(h(B)+"skewX(",null,d)-2,x:On(R,C)}):C&&B.push(h(B)+"skewX("+C+d)}function P(R,C,B,L,F,Z){if(R!==B||C!==L){var b=F.push(h(F)+"scale(",null,",",null,")");Z.push({i:b-4,x:On(R,B)},{i:b-2,x:On(C,L)})}else(B!==1||L!==1)&&F.push(h(F)+"scale("+B+","+L+")")}return function(R,C){var B=[],L=[];return R=r(R),C=r(C),m(R.translateX,R.translateY,C.translateX,C.translateY,B,L),x(R.rotate,C.rotate,B,L),O(R.skewX,C.skewX,B,L),P(R.scaleX,R.scaleY,C.scaleX,C.scaleY,B,L),R=C=null,function(F){for(var Z=-1,b=L.length,j;++Z>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):s===8?Oe(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):s===4?Oe(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=Qi.exec(r))?new an(a[1],a[2],a[3],1):(a=Zi.exec(r))?new an(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=ki.exec(r))?Oe(a[1],a[2],a[3],a[4]):(a=qi.exec(r))?Oe(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=_i.exec(r))?_a(a[1],a[2]/100,a[3]/100,1):(a=tu.exec(r))?_a(a[1],a[2]/100,a[3]/100,a[4]):Xa.hasOwnProperty(r)?Za(Xa[r]):r==="transparent"?new an(NaN,NaN,NaN,0):null}function Za(r){return new an(r>>16&255,r>>8&255,r&255,1)}function Oe(r,a,s,d){return d<=0&&(r=a=s=NaN),new an(r,a,s,d)}function eu(r){return r instanceof qn||(r=re(r)),r?(r=r.rgb(),new an(r.r,r.g,r.b,r.opacity)):new an}function Te(r,a,s,d){return arguments.length===1?eu(r):new an(r,a,s,d==null?1:d)}function an(r,a,s,d){this.r=+r,this.g=+a,this.b=+s,this.opacity=+d}Je(an,Te,za(qn,{brighter(r){return r=r==null?Ie:Math.pow(Ie,r),new an(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?_n:Math.pow(_n,r),new an(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new an(Mn(this.r),Mn(this.g),Mn(this.b),Ae(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ka,formatHex:ka,formatHex8:au,formatRgb:qa,toString:qa}));function ka(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}`}function au(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}${Nn((isNaN(this.opacity)?1:this.opacity)*255)}`}function qa(){const r=Ae(this.opacity);return`${r===1?"rgb(":"rgba("}${Mn(this.r)}, ${Mn(this.g)}, ${Mn(this.b)}${r===1?")":`, ${r})`}`}function Ae(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function Mn(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function Nn(r){return r=Mn(r),(r<16?"0":"")+r.toString(16)}function _a(r,a,s,d){return d<=0?r=a=s=NaN:s<=0||s>=1?r=a=NaN:a<=0&&(r=NaN),new dn(r,a,s,d)}function to(r){if(r instanceof dn)return new dn(r.h,r.s,r.l,r.opacity);if(r instanceof qn||(r=re(r)),!r)return new dn;if(r instanceof dn)return r;r=r.rgb();var a=r.r/255,s=r.g/255,d=r.b/255,h=Math.min(a,s,d),m=Math.max(a,s,d),x=NaN,O=m-h,P=(m+h)/2;return O?(a===m?x=(s-d)/O+(s0&&P<1?0:x,new dn(x,O,P,r.opacity)}function ou(r,a,s,d){return arguments.length===1?to(r):new dn(r,a,s,d==null?1:d)}function dn(r,a,s,d){this.h=+r,this.s=+a,this.l=+s,this.opacity=+d}Je(dn,ou,za(qn,{brighter(r){return r=r==null?Ie:Math.pow(Ie,r),new dn(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?_n:Math.pow(_n,r),new dn(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,a=isNaN(r)||isNaN(this.s)?0:this.s,s=this.l,d=s+(s<.5?s:1-s)*a,h=2*s-d;return new an(Qe(r>=240?r-240:r+120,h,d),Qe(r,h,d),Qe(r<120?r+240:r-120,h,d),this.opacity)},clamp(){return new dn(ro(this.h),Re(this.s),Re(this.l),Ae(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=Ae(this.opacity);return`${r===1?"hsl(":"hsla("}${ro(this.h)}, ${Re(this.s)*100}%, ${Re(this.l)*100}%${r===1?")":`, ${r})`}`}}));function ro(r){return r=(r||0)%360,r<0?r+360:r}function Re(r){return Math.max(0,Math.min(1,r||0))}function Qe(r,a,s){return(r<60?a+(s-a)*r/60:r<180?s:r<240?a+(s-a)*(240-r)/60:a)*255}function no(r,a,s,d,h){var m=r*r,x=m*r;return((1-3*r+3*m-x)*a+(4-6*m+3*x)*s+(1+3*r+3*m-3*x)*d+x*h)/6}function su(r){var a=r.length-1;return function(s){var d=s<=0?s=0:s>=1?(s=1,a-1):Math.floor(s*a),h=r[d],m=r[d+1],x=d>0?r[d-1]:2*h-m,O=d()=>r;function ao(r,a){return function(s){return r+s*a}}function uu(r,a,s){return r=Math.pow(r,s),a=Math.pow(a,s)-r,s=1/s,function(d){return Math.pow(r+d*a,s)}}function Xl(r,a){var s=a-r;return s?ao(r,s>180||s<-180?s-360*Math.round(s/360):s):constant(isNaN(r)?a:r)}function lu(r){return(r=+r)==1?oo:function(a,s){return s-a?uu(a,s,r):eo(isNaN(a)?s:a)}}function oo(r,a){var s=a-r;return s?ao(r,s):eo(isNaN(r)?a:r)}var so=function r(a){var s=lu(a);function d(h,m){var x=s((h=Te(h)).r,(m=Te(m)).r),O=s(h.g,m.g),P=s(h.b,m.b),R=oo(h.opacity,m.opacity);return function(C){return h.r=x(C),h.g=O(C),h.b=P(C),h.opacity=R(C),h+""}}return d.gamma=r,d}(1);function io(r){return function(a){var s=a.length,d=new Array(s),h=new Array(s),m=new Array(s),x,O;for(x=0;xs&&(m=a.slice(s,m),O[x]?O[x]+=m:O[++x]=m),(d=d[0])===(h=h[0])?O[x]?O[x]+=h:O[++x]=h:(O[++x]=null,P.push({i:x,x:On(d,h)})),s=ke.lastIndex;return s=0&&(a=a.slice(0,s)),!a||a==="start"})}function ju(r,a,s){var d,h,m=Bu(a)?Ye:gn;return function(){var x=m(this,r),O=x.on;O!==d&&(h=(d=O).copy()).on(a,s),x.on=h}}function wu(r,a){var s=this._id;return arguments.length<2?vn(this.node(),s).on.on(r):this.each(ju(s,r,a))}function Gu(r){return function(){var a=this.parentNode;for(var s in this.__transition)if(+s!==r)return;a&&a.removeChild(this)}}function Vu(){return this.on("end.remove",Gu(this._id))}function Hu(r){var a=this._name,s=this._id;typeof r!="function"&&(r=je(r));for(var d=this._groups,h=d.length,m=new Array(h),x=0;x{const Mr=Zt.identifier;return Zt=pointer(Zt,H),Zt.point0=Zt.slice(),Zt.identifier=Mr,Zt});interrupt(H);var tr=C(H,arguments,!0).beforestart();if(Q==="overlay"){vt&&(Pt=!0);const Zt=[Ft[0],Ft[1]||Ft[0]];xt.selection=vt=[[It=r===Ce?ft:nn(Zt[0][0],Zt[1][0]),Gt=r===Pe?Dt:nn(Zt[0][1],Zt[1][1])],[_=r===Ce?tt:rn(Zt[0][0],Zt[1][0]),et=r===Pe?K:rn(Zt[0][1],Zt[1][1])]],Ft.length>1&&lr(j)}else It=vt[0][0],Gt=vt[0][1],_=vt[1][0],et=vt[1][1];Nt=It,V=Gt,dt=_,z=et;var nr=select(H).attr("pointer-events","none"),or=nr.selectAll(".overlay").attr("cursor",xn[Q]);if(j.touches)tr.moved=ur,tr.ended=Nr;else{var sr=select(j.view).on("mousemove.brush",ur,!0).on("mouseup.brush",Nr,!0);h&&sr.on("keydown.brush",br,!0).on("keyup.brush",Rr,!0),dragDisable(j.view)}R.call(H),tr.start(j,J.name);function ur(Zt){for(const Mr of Zt.changedTouches||[Zt])for(const Hr of Ft)Hr.identifier===Mr.identifier&&(Hr.cur=pointer(Mr,H));if(Ot&&!Lt&&!zt&&Ft.length===1){const Mr=Ft[0];vo(Mr.cur[0]-Mr[0])>vo(Mr.cur[1]-Mr[1])?zt=!0:Lt=!0}for(const Mr of Ft)Mr.cur&&(Mr[0]=Mr.cur[0],Mr[1]=Mr.cur[1]);Pt=!0,noevent(Zt),lr(Zt)}function lr(Zt){const Mr=Ft[0],Hr=Mr.point0;var jr;switch(ct=Mr[0]-Hr[0],yt=Mr[1]-Hr[1],J){case qe:case co:{lt&&(ct=rn(ft-It,nn(tt-_,ct)),Nt=It+ct,dt=_+ct),nt&&(yt=rn(Dt-Gt,nn(K-et,yt)),V=Gt+yt,z=et+yt);break}case wn:{Ft[1]?(lt&&(Nt=rn(ft,nn(tt,Ft[0][0])),dt=rn(ft,nn(tt,Ft[1][0])),lt=1),nt&&(V=rn(Dt,nn(K,Ft[0][1])),z=rn(Dt,nn(K,Ft[1][1])),nt=1)):(lt<0?(ct=rn(ft-It,nn(tt-It,ct)),Nt=It+ct,dt=_):lt>0&&(ct=rn(ft-_,nn(tt-_,ct)),Nt=It,dt=_+ct),nt<0?(yt=rn(Dt-Gt,nn(K-Gt,yt)),V=Gt+yt,z=et):nt>0&&(yt=rn(Dt-et,nn(K-et,yt)),V=Gt,z=et+yt));break}case Gn:{lt&&(Nt=rn(ft,nn(tt,It-ct*lt)),dt=rn(ft,nn(tt,_+ct*lt))),nt&&(V=rn(Dt,nn(K,Gt-yt*nt)),z=rn(Dt,nn(K,et+yt*nt)));break}}dt0&&(It=Nt-ct),nt<0?et=z-yt:nt>0&&(Gt=V-yt),J=qe,or.attr("cursor",xn.selection),lr(Zt));break}default:return}noevent(Zt)}function Rr(Zt){switch(Zt.keyCode){case 16:{Ot&&(Lt=zt=Ot=!1,lr(Zt));break}case 18:{J===Gn&&(lt<0?_=dt:lt>0&&(It=Nt),nt<0?et=z:nt>0&&(Gt=V),J=wn,lr(Zt));break}case 32:{J===qe&&(Zt.altKey?(lt&&(_=dt-ct*lt,It=Nt+ct*lt),nt&&(et=z-yt*nt,Gt=V+yt*nt),J=Gn):(lt<0?_=dt:lt>0&&(It=Nt),nt<0?et=z:nt>0&&(Gt=V),J=wn),or.attr("cursor",xn[Q]),lr(Zt));break}default:return}noevent(Zt)}}function F(j){C(this,arguments).moved(j)}function Z(j){C(this,arguments).ended(j)}function b(){var j=this.__brush||{selection:null};return j.extent=_e(a.apply(this,arguments)),j.dim=r,j}return P.extent=function(j){return arguments.length?(a=typeof j=="function"?j:constant(_e(j)),P):a},P.filter=function(j){return arguments.length?(s=typeof j=="function"?j:constant(!!j),P):s},P.touchable=function(j){return arguments.length?(d=typeof j=="function"?j:constant(!!j),P):d},P.handleSize=function(j){return arguments.length?(x=+j,P):x},P.keyModifiers=function(j){return arguments.length?(h=!!j,P):h},P.on=function(){var j=m.on.apply(m,arguments);return j===m?P:j},P}function El(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Il(r){const a=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",s=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",d=m=>setTimeout(m,1),h=m=>clearTimeout(m);return[a?r.requestAnimationFrame:d,a?r.cancelAnimationFrame:h,s?r.requestIdleCallback:d,s?r.cancelIdleCallback:h]}const Me=El(),Ol=Me==null?void 0:Me.document,[nf,ef,af,of]=Il(Me);var Tl=Object.defineProperty,yo=Object.getOwnPropertySymbols,Al=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,mo=(r,a,s)=>a in r?Tl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,xo=(r,a)=>{for(var s in a||(a={}))Al.call(a,s)&&mo(r,s,a[s]);if(yo)for(var s of yo(a))Rl.call(a,s)&&mo(r,s,a[s]);return r};const sf=r=>r||r===0,Pl=r=>typeof r=="function",Ne=r=>typeof r=="string",na=r=>typeof r=="number",Cl=r=>typeof r=="undefined",So=r=>typeof r!="undefined",uf=r=>typeof r=="boolean",lf=r=>Math.ceil(r/10)*10,ff=r=>Math.ceil(r)+.5,cf=r=>r[1]-r[0],ea=r=>typeof r=="object",Ml=r=>Cl(r)||r===null||Ne(r)&&r.length===0||ea(r)&&!(r instanceof Date)&&Object.keys(r).length===0||na(r)&&isNaN(r),Nl=r=>!Ml(r),aa=r=>Array.isArray(r),De=r=>r&&!(r!=null&&r.nodeType)&&ea(r)&&!aa(r);function vf(r,a,s){return So(r[a])?r[a]:s}function df(r,a){let s=!1;return Object.keys(r).forEach(d=>r[d]===a&&(s=!0)),s}function hf(r,a,...s){const d=Pl(r);return d&&r.call(a,...s),d}function gf(r,a){let s=0;const d=function(...h){!--s&&a.apply(this,...h)};"duration"in r?r.each(()=>++s).on("end",d):(++s,r.call(d))}function pf(r){return Ne(r)?r.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):r}function yf(r,a,s=[-1,1],d=!1){if(!(!r||!Ne(a)))if(a.indexOf(` `)===-1)r.text(a);else{const h=[r.text(),a].map(m=>m.replace(/[\s\n]/g,""));if(h[0]!==h[1]){const m=a.split(` -`),x=d?m.length-1:1;r.html(""),m.forEach((O,P)=>{r.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Dl(r){const{x:a,y:s,width:d,height:h}=r.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+d,y:s},{x:a+d,y:s+h}]}function mf(r){const{width:a,height:s}=r.getBoundingClientRect(),d=Dl(r),h=d[0].x,m=Math.min(d[0].y,d[1].y);return{x:h,y:m,width:a,height:s}}function xf(r,a){var s;const d=r&&((s=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(d||r,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Fl(r){const{event:a,$el:s}=r,d=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:d&&(h=d.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Ef(r=!0,a=0,s=1e4){const d=window.crypto||window.msCrypto,h=d?a+d.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return r?String(h):h}function Eo(r,a,s,d,h){if(s>d)return-1;const m=Math.floor((s+d)/2);let{x,w:O=0}=r[m];return h&&(x=r[m].y,O=r[m].h),a>=x&&a<=x+O?m:a{if(De(s)&&s.constructor){const d=new s.constructor;for(const h in s)d[h]=a(s[h]);return d}return s};return r.map(s=>a(s)).reduce((s,d)=>xo(xo({},s),d))}function bl(r={},a){aa(a)&&a.forEach(s=>bl(r,s));for(const s in a)/^\d+$/.test(s)||s in r||(r[s]=a[s]);return r}const Tf=r=>r.charAt(0).toUpperCase()+r.slice(1);function Af(r,a="-"){return r.split(a).map((s,d)=>d?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=r=>[].slice.call(r);function Rf(r,a,s){const{rootSelector:d="",sheet:h}=r,x=`${d} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(r){let a=[];return r.forEach(s=>{var d;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(d=window.console)==null||d.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(r){var a,s,d,h;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+r.scrollLeft,y:((h=(d=window.pageYOffset)!=null?d:window.scrollY)!=null?h:0)+r.scrollTop}}function Mf(r){const a=r?r.transform:null,s=a&&a.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Nf(r){const a=r[0]instanceof Date,s=(a?r.map(Number):r).filter((d,h,m)=>m.indexOf(d)===h);return a?s.map(d=>new Date(d)):s}function Df(r){return r&&r.length?r.reduce((a,s)=>a.concat(s)):[]}function oa(r,...a){if(!a.length||a.length===1&&!a[0])return r;const s=a.shift();return De(r)&&De(s)&&Object.keys(s).forEach(d=>{const h=s[d];De(h)?(!r[d]&&(r[d]={}),r[d]=oa(r[d],h)):r[d]=aa(h)?h.concat():h}),oa(r,...a)}function $l(r,a=!0){let s;return r[0]instanceof Date?s=a?(d,h)=>d-h:(d,h)=>h-d:a&&!r.every(isNaN)?s=(d,h)=>d-h:a||(s=(d,h)=>d>h&&-1||dNl(d));return s.length?na(s[0])?s=Math[r](...s):s[0]instanceof Date&&(s=$l(s,r==="min")[0]):s=void 0,s}const bf=(r,a,s=1)=>{const d=[],h=Math.max(0,Math.ceil((a-r)/s))|0;for(let m=r;m{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,d=r())=>{a.dispatchEvent(new MouseEvent(s,d))}}catch(a){return(s,d,h=r())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(d,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(r,a,s)=>{const d=new Touch(oa({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function $f(r,a){let s=r;for(const d in a)s=s.replace(new RegExp(`{=${d}}`,"g"),a[d]);return s}function Uf(r){var a;let s;if(r instanceof Date)s=r;else if(Ne(r)){const{config:d,format:h}=this;s=(a=h.dataTime(d.data_xFormat)(r))!=null?a:new Date(r)}else na(r)&&!isNaN(r)&&(s=new Date(+r));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),s}function Bf(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function jf(r,a){const{DocumentTouch:s,matchMedia:d,navigator:h}=window;let m=!1;if(a)if(h&&"maxTouchPoints"in h)m=h.maxTouchPoints>0;else if("ontouchmove"in window||s&&document instanceof s)m=!0;else if(d!=null&&d("(pointer:coarse)").matches)m=!0;else{const O=h.userAgent;m=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(O)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(O)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(r,a){a()===!1?requestAnimationFrame(()=>Ul(r,a)):r()}function Bl(r){const a=this.config;let s,d,h;const m=()=>{const x=d.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=r,d=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=r)}var jl=Object.defineProperty,wl=(r,a,s)=>a in r?jl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,sa=(r,a,s)=>wl(r,typeof a!="symbol"?a+"":a,s);class Io{constructor(a={}){sa(this,"$$"),sa(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}sa(Io,"version","3.12.4-nightly-20240727004635");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(r,a,s)=>a in r?Vl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,Wl=(r,a,s)=>Hl(r,typeof a!="symbol"?a+"":a,s);class Kl extends Io{constructor(a){return super(a),Wl(this,"config"),this.config=new Gl,this}$init(){Bl.call(this,this.options)}$redraw(){const{$$:{$el:a},config:{selector:s}}=this,d=s?a.main.selectAll(s):a.text;!d.empty()&&this.preventLabelOverlap(d)}generateVoronoi(a){const{$$:s}=this,{scale:d}=s,[h,m]=["x","y"].map(x=>d[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:d}=this.config,h=a.data().map(O=>[O.index,O.value]),m=this.generateVoronoi(h);let x=0;a.each(function(){const O=m.cellPolygon(x);if(O&&this){const[P,R]=h[x],[C,B]=Xo(O),L=Math.abs(Jo(O)),F=Math.round(Math.atan2(B-R,C-P)/Math.PI*2),Z=s*(F===0?1:-1),b=F===-1?-s:s+5,j=Math.abs(F)===1?"middle":F===0?"start":"end";this.style.display=L=Y&&(!W||k))st=M(N,0,Y);else{var ut=W&&!k&&$?{maxByteLength:$(N)}:void 0;st=new y(Y,ut);for(var rt=new S(N),at=new S(st),ot=I(Y,X),pt=0;pt>8&255]},Sr=function(Ut){return[Ut&255,Ut>>8&255,Ut>>16&255,Ut>>24&255]},mr=function(Ut){return Ut[3]<<24|Ut[2]<<16|Ut[1]<<8|Ut[0]},Ir=function(Ut){return xr(A(Ut),23,4)},Fr=function(Ut){return xr(Ut,52,8)},Dr=function(Ut,Vt,bt){c(Ut[ut],Vt,{configurable:!0,get:function(){return bt(this)[Vt]}})},Pr=function(Ut,Vt,bt,fr){var cr=pt(Ut),rr=I(bt),qt=!!fr;if(rr+Vt>cr.byteLength)throw new ir(at);var $r=cr.bytes,Br=rr+cr.byteOffset,Et=U($r,Br,Br+Vt);return qt?Et:yr(Et)},gr=function(Ut,Vt,bt,fr,cr,rr){var qt=pt(Ut),$r=I(bt),Br=fr(+cr),Et=!!rr;if($r+Vt>qt.byteLength)throw new ir(at);for(var Bt=qt.bytes,wt=$r+qt.byteOffset,gt=0;gtrr)throw new ir("Wrong offset");if(fr=fr===void 0?rr-qt:E(fr),qt+fr>rr)throw new ir(rt);Ct(this,{type:st,buffer:Vt,byteLength:fr,byteOffset:qt,bytes:cr.bytes}),o||(this.buffer=Vt,this.byteLength=fr,this.byteOffset=qt)},Yt=Qt[ut],o&&(Dr($t,"byteLength",ot),Dr(Qt,"buffer",pt),Dr(Qt,"byteLength",pt),Dr(Qt,"byteOffset",pt)),g(Yt,{getInt8:function(Vt){return Pr(this,1,Vt)[0]<<24>>24},getUint8:function(Vt){return Pr(this,1,Vt)[0]},getInt16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return bt[1]<<8|bt[0]},getInt32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))},getUint32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Vt){return Kt(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Vt){return Kt(Pr(this,8,Vt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Vt,bt){gr(this,1,Vt,_t,bt)},setUint8:function(Vt,bt){gr(this,1,Vt,_t,bt)},setInt16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setUint16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setInt32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setUint32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Vt,bt){gr(this,4,Vt,Ir,bt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Vt,bt){gr(this,8,Vt,Fr,bt,arguments.length>2?arguments[2]:!1)}});else{var Cr=X&&St.name!==k;!v(function(){St(1)})||!v(function(){new St(-1)})||v(function(){return new St,new St(1.5),new St(NaN),St.length!==1||Cr&&!Y})?($t=function(Vt){return y(this,Rt),G(new St(I(Vt)),this,$t)},$t[ut]=Rt,Rt.constructor=$t,N($t,St)):Cr&&Y&&f(St,"name",k),D&&M(Yt)!==Xt&&D(Yt,Xt);var Er=new Qt(new $t(2)),pr=e(Yt.setInt8);Er.setInt8(0,2147483648),Er.setInt8(1,2147483649),(Er.getInt8(0)||!Er.getInt8(1))&&g(Yt,{setInt8:function(Vt,bt){pr(this,Vt,bt<<24>>24)},setUint8:function(Vt,bt){pr(this,Vt,bt<<24>>24)}},{unsafe:!0})}w($t,k),w(Qt,st),l.exports={ArrayBuffer:$t,DataView:Qt}},81499:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var v=n(this),y=o(v),S=e(c,y),E=e(g,y),I=arguments.length>2?arguments[2]:void 0,A=u((I===void 0?y:e(I,y))-E,y-S),T=1;for(E0;)E in v?v[S]=v[E]:i(v,S),S+=T,E+=T;return v}},43011:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=n(this),c=o(f),g=arguments.length,v=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>v;)f[v++]=u;return f}},13349:function(l,p,t){var n=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var n=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:n(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var n=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),v=t(90619),y=t(81077),S=Array;l.exports=function(I){var A=o(I),T=f(this),M=arguments.length,D=M>1?arguments[1]:void 0,$=D!==void 0;$&&(D=n(D,M>2?arguments[2]:void 0));var U=y(A),G=0,N,w,W,X,Y,k;if(U&&!(this===S&&u(U)))for(w=T?new this:[],X=v(A,U),Y=X.next;!(W=e(Y,X)).done;G++)k=$?i(X,D,[W.value,G],!0):W.value,g(w,G,k);else for(N=c(A),w=T?new this(N):S(N);N>G;G++)k=$?D(A[G],G):A[G],g(w,G,k);return w.length=G,w}},94319:function(l,p,t){var n=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var v=n(f),y=o(v);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=v[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in v)&&v[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var n=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,v,y){for(var S=o(g),E=e(S),I=i(E),A=n(v,y),T,M;I-- >0;)if(T=E[I],M=A(T,I,S),M)switch(f){case 0:return T;case 1:return I}return c?-1:void 0}};l.exports={findLast:u(0),findLastIndex:u(1)}},66655:function(l,p,t){var n=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(v){var y=v===1,S=v===2,E=v===3,I=v===4,A=v===6,T=v===7,M=v===5||A;return function(D,$,U,G){for(var N=i(D),w=o(N),W=u(w),X=n($,U),Y=0,k=G||f,st=y?k(D,W):S||T?k(D,0):void 0,ut,rt;W>Y;Y++)if((M||Y in w)&&(ut=w[Y],rt=X(ut,Y,N),v))if(y)st[Y]=rt;else if(rt)switch(v){case 3:return!0;case 5:return ut;case 6:return Y;case 2:c(st,ut)}else switch(v){case 4:return!1;case 7:c(st,ut)}return A?-1:E||I?I:st}};l.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},58465:function(l,p,t){var n=t(66543),e=t(36859),o=t(12105),i=t(82628),u=t(6148),f=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,v=u("lastIndexOf"),y=g||!v;l.exports=y?function(E){if(g)return n(c,this,arguments)||0;var I=e(this),A=i(I);if(A===0)return-1;var T=A-1;for(arguments.length>1&&(T=f(T,o(arguments[1]))),T<0&&(T=A+T);T>=0;T--)if(T in I&&I[T]===E)return T||0;return-1}:c},52183:function(l,p,t){var n=t(72069),e=t(18565),o=t(73126),i=e("species");l.exports=function(u){return o>=51||!n(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var n=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&n(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var n=t(85156),e=t(49671),o=t(72181),i=t(82628),u=TypeError,f="Reduce of empty array with no initial value",c=function(g){return function(v,y,S,E){var I=e(v),A=o(I),T=i(I);if(n(y),T===0&&S<2)throw new u(f);var M=g?T-1:0,D=g?-1:1;if(S<2)for(;;){if(M in A){E=A[M],M+=D;break}if(M+=D,g?M<0:T<=M)throw new u(f)}for(;g?M>=0:T>M;M+=D)M in A&&(E=y(E,A[M],M,I));return E}};l.exports={left:c(!1),right:c(!0)}},2213:function(l,p,t){var n=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();l.exports=u?function(f,c){if(e(f)&&!i(f,"length").writable)throw new o("Cannot set read only .length");return f.length=c}:function(f,c){return f.length=c}},22806:function(l,p,t){var n=t(11286);l.exports=n([].slice)},13270:function(l,p,t){var n=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,v;c0;)i[v]=i[--v];v!==c++&&(i[v]=g)}else for(var y=e(f/2),S=o(n(i,0,y),u),E=o(n(i,y),u),I=S.length,A=E.length,T=0,M=0;T=g||y<0)throw new o("Incorrect index");for(var S=new u(g),E=0;E1?arguments[1]:void 0),rt;rt=rt?rt.next:st.first;)for(ut(rt.value,rt.key,this);rt&&rt.removed;)rt=rt.previous},has:function(k){return!!X(this,k)}}),o(N,$?{get:function(k){var st=X(this,k);return st&&st.value},set:function(k,st){return W(this,k===0?0:k,st)}}:{add:function(k){return W(this,k=k===0?0:k,k)}}),S&&e(N,"size",{configurable:!0,get:function(){return w(this).size}}),G},setStrong:function(M,D,$){var U=D+" Iterator",G=T(D),N=T(U);g(M,D,function(w,W){A(this,{type:U,target:w,state:G(w),kind:W,last:void 0})},function(){for(var w=N(this),W=w.kind,X=w.last;X&&X.removed;)X=X.previous;return!w.target||!(w.last=X=X?X.next:w.state.first)?(w.target=void 0,v(void 0,!0)):v(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},$?"entries":"values",!$,!0),y(D)}}},94667:function(l,p,t){var n=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),v=t(66655),y=t(94879),S=t(82367),E=S.set,I=S.getterFor,A=v.find,T=v.findIndex,M=n([].splice),D=0,$=function(N){return N.frozen||(N.frozen=new U)},U=function(){this.entries=[]},G=function(N,w){return A(N.entries,function(W){return W[0]===w})};U.prototype={get:function(N){var w=G(this,N);if(w)return w[1]},has:function(N){return!!G(this,N)},set:function(N,w){var W=G(this,N);W?W[1]=w:this.entries.push([N,w])},delete:function(N){var w=T(this.entries,function(W){return W[0]===N});return~w&&M(this.entries,w,1),!!~w}},l.exports={getConstructor:function(N,w,W,X){var Y=N(function(rt,at){i(rt,k),E(rt,{type:w,id:D++,frozen:void 0}),f(at)||g(at,rt[X],{that:rt,AS_ENTRIES:W})}),k=Y.prototype,st=I(w),ut=function(rt,at,ot){var pt=st(rt),Ct=o(u(at),!0);return Ct===!0?$(pt).set(at,ot):Ct[pt.id]=ot,rt};return e(k,{delete:function(rt){var at=st(this);if(!c(rt))return!1;var ot=o(rt);return ot===!0?$(at).delete(rt):ot&&y(ot,at.id)&&delete ot[at.id]},has:function(at){var ot=st(this);if(!c(at))return!1;var pt=o(at);return pt===!0?$(ot).has(at):pt&&y(pt,ot.id)}}),e(k,W?{get:function(at){var ot=st(this);if(c(at)){var pt=o(at);return pt===!0?$(ot).get(at):pt?pt[ot.id]:void 0}},set:function(at,ot){return ut(this,at,ot)}}:{add:function(at){return ut(this,at,!0)}}),Y}}},89378:function(l,p,t){var n=t(14304),e=t(66009),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),v=t(23583),y=t(5683),S=t(37540),E=t(72069),I=t(97494),A=t(78401),T=t(32345);l.exports=function(M,D,$){var U=M.indexOf("Map")!==-1,G=M.indexOf("Weak")!==-1,N=U?"set":"add",w=e[M],W=w&&w.prototype,X=w,Y={},k=function(Ct){var St=o(W[Ct]);u(W,Ct,Ct==="add"?function(Rt){return St(this,Rt===0?0:Rt),this}:Ct==="delete"?function($t){return G&&!S($t)?!1:St(this,$t===0?0:$t)}:Ct==="get"?function(Rt){return G&&!S(Rt)?void 0:St(this,Rt===0?0:Rt)}:Ct==="has"?function(Rt){return G&&!S(Rt)?!1:St(this,Rt===0?0:Rt)}:function(Rt,Qt){return St(this,Rt===0?0:Rt,Qt),this})},st=i(M,!v(w)||!(G||W.forEach&&!E(function(){new w().entries().next()})));if(st)X=$.getConstructor(D,M,U,N),f.enable();else if(i(M,!0)){var ut=new X,rt=ut[N](G?{}:-0,1)!==ut,at=E(function(){ut.has(1)}),ot=I(function(Ct){new w(Ct)}),pt=!G&&E(function(){for(var Ct=new w,St=5;St--;)Ct[N](St,St);return!Ct.has(-0)});ot||(X=D(function(Ct,St){g(Ct,W);var $t=T(new w,Ct,X);return y(St)||c(St,$t[N],{that:$t,AS_ENTRIES:U}),$t}),X.prototype=W,W.constructor=X),(at||pt)&&(k("delete"),k("has"),U&&k("get")),(pt||rt)&&k(N),G&&W.clear&&delete W.clear}return Y[M]=X,n({global:!0,constructor:!0,forced:X!==w},Y),A(X,M),G||$.setStrong(X,M,U),X}},93706:function(l,p,t){var n=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),v=i.f,y=o.f,S=0;S"+y+""}},10659:function(l){l.exports=function(p,t){return{value:p,done:t}}},90809:function(l,p,t){var n=t(92986),e=t(7831),o=t(18526);l.exports=n?function(i,u,f){return e.f(i,u,o(1,f))}:function(i,u,f){return i[u]=f,i}},18526:function(l){l.exports=function(p,t){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:t}}},84082:function(l,p,t){var n=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){n?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var n=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,v=n(c.getTime),y=n(c.getUTCDate),S=n(c.getUTCFullYear),E=n(c.getUTCHours),I=n(c.getUTCMilliseconds),A=n(c.getUTCMinutes),T=n(c.getUTCMonth),M=n(c.getUTCSeconds);l.exports=e(function(){return g.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){g.call(new Date(NaN))})?function(){if(!u(v(this)))throw new i("Invalid time value");var $=this,U=S($),G=I($),N=U<0?"-":U>9999?"+":"";return N+o(f(U),N?6:4,0)+"-"+o(T($)+1,2,0)+"-"+o(y($),2,0)+"T"+o(E($),2,0)+":"+o(A($),2,0)+":"+o(M($),2,0)+"."+o(G,3,0)+"Z"}:g},84306:function(l,p,t){var n=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(n(this),i==="string"||i==="default")i="string";else if(i!=="number")throw new o("Incorrect hint");return e(this,i)}},85500:function(l,p,t){var n=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&n(u.get,i,{getter:!0}),u.set&&n(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var n=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var v=g.enumerable,y=g.name!==void 0?g.name:f;if(n(c)&&o(c,y,g),g.global)v?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(v=!0):delete u[f]}catch(S){}v?u[f]=c:e.f(u,f,{value:c,enumerable:!1,configurable:!g.nonConfigurable,writable:!g.nonWritable})}return u}},2725:function(l,p,t){var n=t(16142);l.exports=function(e,o,i){for(var u in o)n(e,u,o[u],i);return e}},36003:function(l,p,t){var n=t(66009),e=Object.defineProperty;l.exports=function(o,i){try{e(n,o,{value:i,configurable:!0,writable:!0})}catch(u){n[o]=i}return i}},12384:function(l,p,t){var n=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+n(i)+" of "+n(o))}},92986:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var n=t(66009),e=t(18096),o=t(99050),i=n.structuredClone,u=n.ArrayBuffer,f=n.MessageChannel,c=!1,g,v,y,S;if(o)c=function(E){i(E,{transfer:[E]})};else if(u)try{f||(g=e("worker_threads"),g&&(f=g.MessageChannel)),f&&(v=new f,y=new u(2),S=function(E){v.port1.postMessage(null,[E])},y.byteLength===2&&(S(y),y.byteLength===0&&(c=S)))}catch(E){}l.exports=c},85501:function(l,p,t){var n=t(66009),e=t(37540),o=n.document,i=e(o)&&e(o.createElement);l.exports=function(u){return i?o.createElement(u):{}}},20095:function(l){var p=TypeError,t=9007199254740991;l.exports=function(n){if(n>t)throw p("Maximum allowed index exceeded");return n}},74408:function(l){l.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(l){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(l,p,t){var n=t(85501),e=n("span").classList,o=e&&e.constructor&&e.constructor.prototype;l.exports=o===Object.prototype?void 0:o},54040:function(l,p,t){var n=t(89042),e=n.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},63144:function(l,p,t){var n=t(56422),e=t(42954);l.exports=!n&&!e&&typeof window=="object"&&typeof document=="object"},5017:function(l){l.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(l){l.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(l,p,t){var n=t(89042);l.exports=/MSIE|Trident/.test(n)},92150:function(l,p,t){var n=t(89042);l.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},51149:function(l,p,t){var n=t(89042);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},42954:function(l,p,t){var n=t(66009),e=t(14274);l.exports=e(n.process)==="process"},81539:function(l,p,t){var n=t(89042);l.exports=/web0s(?!.*chrome)/i.test(n)},89042:function(l){l.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(l,p,t){var n=t(66009),e=t(89042),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8,c,g;f&&(c=f.split("."),g=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!g&&e&&(c=e.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=e.match(/Chrome\/(\d+)/),c&&(g=+c[1]))),l.exports=g},68674:function(l,p,t){var n=t(89042),e=n.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},75785:function(l){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(l,p,t){var n=t(11286),e=Error,o=n("".replace),i=function(c){return String(new e(c).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,f=u.test(i);l.exports=function(c,g){if(f&&typeof c=="string"&&!e.prepareStackTrace)for(;g--;)c=o(c,u,"");return c}},97077:function(l,p,t){var n=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):n(u,"stack",e(c,g)))}},16929:function(l,p,t){var n=t(72069),e=t(18526);l.exports=!n(function(){var o=new Error("a");return"stack"in o?(Object.defineProperty(o,"stack",e(1,7)),o.stack!==7):!0})},58434:function(l,p,t){var n=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(n){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(u.call(c)!=="true")return!0}return u.call({message:1,name:2})!=="2: 1"||u.call({})!=="Error"});l.exports=f?function(){var g=o(this),v=i(g.name,"Error"),y=i(g.message);return v?y?v+": "+y:v:y}:u},14304:function(l,p,t){var n=t(66009),e=t(71349).f,o=t(90809),i=t(16142),u=t(36003),f=t(93706),c=t(13278);l.exports=function(g,v){var y=g.target,S=g.global,E=g.stat,I,A,T,M,D,$;if(S?A=n:E?A=n[y]||u(y,{}):A=n[y]&&n[y].prototype,A)for(T in v){if(D=v[T],g.dontCallGetSet?($=e(A,T),M=$&&$.value):M=A[T],I=c(S?T:y+(E?".":"#")+T,g.forced),!I&&M!==void 0){if(typeof D==typeof M)continue;f(D,M)}(g.sham||M&&M.sham)&&o(D,"sham",!0),i(A,T,D,g)}}},72069:function(l){l.exports=function(p){try{return!!p()}catch(t){return!0}}},63194:function(l,p,t){t(31145);var n=t(96499),e=t(16142),o=t(44381),i=t(72069),u=t(18565),f=t(90809),c=u("species"),g=RegExp.prototype;l.exports=function(v,y,S,E){var I=u(v),A=!i(function(){var $={};return $[I]=function(){return 7},""[v]($)!==7}),T=A&&!i(function(){var $=!1,U=/a/;return v==="split"&&(U={},U.constructor={},U.constructor[c]=function(){return U},U.flags="",U[I]=/./[I]),U.exec=function(){return $=!0,null},U[I](""),!$});if(!A||!T||S){var M=/./[I],D=y(I,""[v],function($,U,G,N,w){var W=U.exec;return W===o||W===g.exec?A&&!w?{done:!0,value:n(M,U,G,N)}:{done:!0,value:n($,G,U,N)}:{done:!1}});e(String.prototype,v,D[0]),e(g,I,D[1])}E&&f(g[I],"sham",!0)}},53149:function(l,p,t){var n=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,v,y,S,E,I){for(var A=y,T=0,M=E?i(E,I):!1,D,$;T0&&n(D)?($=e(D),A=u(f,c,D,$,A,S-1)-1):(o(A+1),f[A]=D),A++),T++;return A};l.exports=u},27534:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var n=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var n=t(77422),e=t(85156),o=t(87878),i=n(n.bind);l.exports=function(u,f){return e(u),f===void 0?u:o?i(u,f):function(){return u.apply(f,arguments)}}},87878:function(l,p,t){var n=t(72069);l.exports=!n(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var n=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=n([].concat),v=n([].join),y={},S=function(E,I,A){if(!i(y,I)){for(var T=[],M=0;M]*>)/g,g=/\$([$&'`]|\d{1,2})/g;l.exports=function(v,y,S,E,I,A){var T=S+v.length,M=E.length,D=g;return I!==void 0&&(I=e(I),D=c),u(A,D,function($,U){var G;switch(i(U,0)){case"$":return"$";case"&":return v;case"`":return f(y,0,S);case"'":return f(y,T);case"<":G=I[f(U,1,-1)];break;default:var N=+U;if(N===0)return $;if(N>M){var w=o(N/10);return w===0?$:w<=M?E[w-1]===void 0?i(U,1):E[w-1]+i(U,1):$}G=E[N-1]}return G===void 0?"":G})}},66009:function(l){var p=function(t){return t&&t.Math===Math&&t};l.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof global=="object"&&global)||p(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(l,p,t){var n=t(11286),e=t(49671),o=n({}.hasOwnProperty);l.exports=Object.hasOwn||function(u,f){return o(e(u),f)}},19423:function(l){l.exports={}},99095:function(l){l.exports=function(p,t){try{arguments.length===1?console.error(p):console.error(p,t)}catch(n){}}},96439:function(l,p,t){var n=t(38941);l.exports=n("document","documentElement")},52515:function(l,p,t){var n=t(92986),e=t(72069),o=t(85501);l.exports=!n&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,n=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,v){var y=p(v),S=v*8-g-1,E=(1<>1,A=g===23?n(2,-24)-n(2,-77):0,T=c<0||c===0&&1/c<0?1:0,M=0,D,$,U;for(c=t(c),c!==c||c===1/0?($=c!==c?1:0,D=E):(D=e(o(c)/i),U=n(2,-D),c*U<1&&(D--,U*=2),D+I>=1?c+=A/U:c+=A*n(2,1-I),c*U>=2&&(D++,U/=2),D+I>=E?($=0,D=E):D+I>=1?($=(c*U-1)*n(2,g),D+=I):($=c*n(2,I-1)*n(2,g),D=0));g>=8;)y[M++]=$&255,$/=256,g-=8;for(D=D<0;)y[M++]=D&255,D/=256,S-=8;return y[--M]|=T*128,y},f=function(c,g){var v=c.length,y=v*8-g-1,S=(1<>1,I=y-7,A=v-1,T=c[A--],M=T&127,D;for(T>>=7;I>0;)M=M*256+c[A--],I-=8;for(D=M&(1<<-I)-1,M>>=-I,I+=g;I>0;)D=D*256+c[A--],I-=8;if(M===0)M=1-E;else{if(M===S)return D?NaN:T?-1/0:1/0;D+=n(2,g),M-=E}return(T?-1:1)*D*n(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var n=t(11286),e=t(72069),o=t(14274),i=Object,u=n("".split);l.exports=e(function(){return!i("z").propertyIsEnumerable(0)})?function(f){return o(f)==="String"?u(f,""):i(f)}:i},32345:function(l,p,t){var n=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&n(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var n=t(11286),e=t(23583),o=t(70443),i=n(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var n=t(37540),e=t(90809);l.exports=function(o,i){n(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var n=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),v=t(28174),y=t(36374),S=t(27534),E=!1,I=y("meta"),A=0,T=function(N){f(N,I,{value:{objectID:"O"+A++,weakData:{}}})},M=function(N,w){if(!i(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!u(N,I)){if(!v(N))return"F";if(!w)return"E";T(N)}return N[I].objectID},D=function(N,w){if(!u(N,I)){if(!v(N))return!0;if(!w)return!1;T(N)}return N[I].weakData},$=function(N){return S&&E&&v(N)&&!u(N,I)&&T(N),N},U=function(){G.enable=function(){},E=!0;var N=c.f,w=e([].splice),W={};W[I]=1,N(W).length&&(c.f=function(X){for(var Y=N(X),k=0,st=Y.length;kY;Y++)if(st=ot(A[Y]),st&&c(I,st))return st;return new E(!1)}W=g(A,X)}for(ut=U?A.next:W.next;!(rt=e(ut,W)).done;){try{st=ot(rt.value)}catch(pt){y(W,"throw",pt)}if(typeof st=="object"&&st&&c(I,st))return st}return new E(!1)}},99797:function(l,p,t){var n=t(96499),e=t(25001),o=t(10512);l.exports=function(i,u,f){var c,g;e(i);try{if(c=o(i,"return"),!c){if(u==="throw")throw f;return f}c=n(c,i)}catch(v){g=!0,c=v}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var n=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,v,y){var S=g+" Iterator";return c.prototype=e(n,{next:o(+!y,v)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var n=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),v=t(78401),y=t(90809),S=t(16142),E=t(18565),I=t(29107),A=t(24519),T=i.PROPER,M=i.CONFIGURABLE,D=A.IteratorPrototype,$=A.BUGGY_SAFARI_ITERATORS,U=E("iterator"),G="keys",N="values",w="entries",W=function(){return this};l.exports=function(X,Y,k,st,ut,rt,at){f(k,Y,st);var ot=function(ir){if(ir===ut&&Rt)return Rt;if(!$&&ir&&ir in St)return St[ir];switch(ir){case G:return function(){return new k(this,ir)};case N:return function(){return new k(this,ir)};case w:return function(){return new k(this,ir)}}return function(){return new k(this)}},pt=Y+" Iterator",Ct=!1,St=X.prototype,$t=St[U]||St["@@iterator"]||ut&&St[ut],Rt=!$&&$t||ot(ut),Qt=Y==="Array"&&St.entries||$t,Yt,Xt,er;if(Qt&&(Yt=c(Qt.call(new X)),Yt!==Object.prototype&&Yt.next&&(!o&&c(Yt)!==D&&(g?g(Yt,D):u(Yt[U])||S(Yt,U,W)),v(Yt,pt,!0,!0),o&&(I[pt]=W))),T&&ut===N&&$t&&$t.name!==N&&(!o&&M?y(St,"name",N):(Ct=!0,Rt=function(){return e($t,this)})),ut)if(Xt={values:ot(N),keys:rt?Rt:ot(G),entries:ot(w)},at)for(er in Xt)($||Ct||!(er in St))&&S(St,er,Xt[er]);else n({target:Y,proto:!0,forced:$||Ct},Xt);return(!o||at)&&St[U]!==Rt&&S(St,U,Rt,{name:ut}),I[Y]=Rt,Xt}},24519:function(l,p,t){var n=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),v=c("iterator"),y=!1,S,E,I;[].keys&&(I=[].keys(),"next"in I?(E=u(u(I)),E!==Object.prototype&&(S=E)):y=!0);var A=!o(S)||n(function(){var T={};return S[v].call(T)!==T});A?S={}:g&&(S=i(S)),e(S[v])||f(S,v,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var n=t(45344);l.exports=function(e){return n(e.length)}},13749:function(l,p,t){var n=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),v=g.enforce,y=g.get,S=String,E=Object.defineProperty,I=n("".slice),A=n("".replace),T=n([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),$=l.exports=function(U,G,N){I(S(G),0,7)==="Symbol("&&(G="["+A(S(G),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),N&&N.getter&&(G="get "+G),N&&N.setter&&(G="set "+G),(!i(U,"name")||f&&U.name!==G)&&(u?E(U,"name",{value:G,configurable:!0}):U.name=G),M&&N&&i(N,"arity")&&U.length!==N.arity&&E(U,"length",{value:N.arity});try{N&&i(N,"constructor")&&N.constructor?u&&E(U,"prototype",{writable:!1}):U.prototype&&(U.prototype=void 0)}catch(W){}var w=v(U);return i(w,"source")||(w.source=T(D,typeof G=="string"?G:"")),U};Function.prototype.toString=$(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var n=t(11286),e=Map.prototype;l.exports={Map,set:n(e.set),get:n(e.get),has:n(e.has),remove:n(e.delete),proto:e}},98940:function(l){var p=Math.expm1,t=Math.exp;l.exports=!p||p(10)>22025.465794806718||p(10)<22025.465794806718||p(-2e-17)!==-2e-17?function(e){var o=+e;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}:p},10418:function(l,p,t){var n=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,v){var y=+f,S=e(y),E=n(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var n=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return n(f,e,o,i)}},41942:function(l){var p=Math.log,t=Math.LOG10E;l.exports=Math.log10||function(e){return p(e)*t}},49366:function(l){var p=Math.log;l.exports=Math.log1p||function(n){var e=+n;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<0?-1:1}},22459:function(l){var p=Math.ceil,t=Math.floor;l.exports=Math.trunc||function(e){var o=+e;return(o>0?t:p)(o)}},9709:function(l,p,t){var n=t(66009),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(51149),c=t(92150),g=t(81539),v=t(42954),y=n.MutationObserver||n.WebKitMutationObserver,S=n.document,E=n.process,I=n.Promise,A=e("queueMicrotask"),T,M,D,$,U;if(!A){var G=new u,N=function(){var w,W;for(v&&(w=E.domain)&&w.exit();W=G.get();)try{W()}catch(X){throw G.head&&T(),X}w&&w.enter()};!f&&!v&&!g&&y&&S?(M=!0,D=S.createTextNode(""),new y(N).observe(D,{characterData:!0}),T=function(){D.data=M=!M}):!c&&I&&I.resolve?($=I.resolve(void 0),$.constructor=I,U=o($.then,$),T=function(){U(N)}):v?T=function(){E.nextTick(N)}:(i=o(i,n),T=function(){i(N)}),A=function(w){G.head||T(),G.add(w)}}l.exports=A},24649:function(l,p,t){var n=t(85156),e=TypeError,o=function(i){var u,f;this.promise=new i(function(c,g){if(u!==void 0||f!==void 0)throw new e("Bad Promise constructor");u=c,f=g}),this.resolve=n(u),this.reject=n(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var n=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:n(e)}},92337:function(l,p,t){var n=t(11566),e=TypeError;l.exports=function(o){if(n(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var n=t(66009),e=n.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var n=t(66009),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=n.parseFloat,v=n.Symbol,y=v&&v.iterator,S=1/g(f+"-0")!==-1/0||y&&!e(function(){g(Object(y))});l.exports=S?function(I){var A=u(i(I)),T=g(A);return T===0&&c(A,0)==="-"?-0:T}:g},23009:function(l,p,t){var n=t(66009),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=n.parseInt,g=n.Symbol,v=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||v&&!e(function(){c(Object(v))});l.exports=E?function(A,T){var M=u(i(A));return c(M,T>>>0||(S(y,M)?16:10))}:c},16667:function(l,p,t){var n=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),v=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(n&&y({b:1},y(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var I={},A={},T=Symbol("assign detection"),M="abcdefghijklmnopqrst";return I[T]=7,M.split("").forEach(function(D){A[D]=D}),y({},I)[T]!==7||u(y({},A)).join("")!==M})?function(A,T){for(var M=g(A),D=arguments.length,$=1,U=f.f,G=c.f;D>$;)for(var N=v(arguments[$++]),w=U?E(u(N),U(N)):u(N),W=w.length,X=0,Y;W>X;)Y=w[X++],(!n||o(G,N,Y))&&(M[Y]=N[Y]);return M}:y},5406:function(l,p,t){var n=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",v="<",y="prototype",S="script",E=c("IE_PROTO"),I=function(){},A=function(U){return v+S+g+U+v+"/"+S+g},T=function(U){U.write(A("")),U.close();var G=U.parentWindow.Object;return U=null,G},M=function(){var U=f("iframe"),G="java"+S+":",N;return U.style.display="none",u.appendChild(U),U.src=String(G),N=U.contentWindow.document,N.open(),N.write(A("document.F=Object")),N.close(),N.F},D,$=function(){try{D=new ActiveXObject("htmlfile")}catch(G){}$=typeof document!="undefined"?document.domain&&D?T(D):M():T(D);for(var U=o.length;U--;)delete $[y][o[U]];return $()};i[E]=!0,l.exports=Object.create||function(G,N){var w;return G!==null?(I[y]=n(G),w=new I,I[y]=null,w[E]=G):w=$(),N===void 0?w:e.f(w,N)}},61963:function(l,p,t){var n=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=n&&!e?Object.defineProperties:function(g,v){i(g);for(var y=u(v),S=f(v),E=S.length,I=0,A;E>I;)o.f(g,A=S[I++],y[A]);return g}},7831:function(l,p,t){var n=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v="enumerable",y="configurable",S="writable";p.f=n?o?function(I,A,T){if(i(I),A=u(A),i(T),typeof I=="function"&&A==="prototype"&&"value"in T&&S in T&&!T[S]){var M=g(I,A);M&&M[S]&&(I[A]=T.value,T={configurable:y in T?T[y]:M[y],enumerable:v in T?T[v]:M[v],writable:!1})}return c(I,A,T)}:c:function(I,A,T){if(i(I),A=u(A),i(T),e)try{return c(I,A,T)}catch(M){}if("get"in T||"set"in T)throw new f("Accessors not supported");return"value"in T&&(I[A]=T.value),I}},71349:function(l,p,t){var n=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),v=Object.getOwnPropertyDescriptor;p.f=n?v:function(S,E){if(S=u(S),E=f(E),g)try{return v(S,E)}catch(I){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var n=t(14274),e=t(36859),o=t(83258).f,i=t(22806),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(c){try{return o(c)}catch(g){return i(u)}};l.exports.f=function(g){return u&&n(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var n=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return n(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var n=t(94879),e=t(23583),o=t(49671),i=t(44869),u=t(87501),f=i("IE_PROTO"),c=Object,g=c.prototype;l.exports=u?c.getPrototypeOf:function(v){var y=o(v);if(n(y,f))return y[f];var S=y.constructor;return e(S)&&y instanceof S?S.prototype:y instanceof c?g:null}},28174:function(l,p,t){var n=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=n(function(){u(1)});l.exports=f||i?function(g){return!e(g)||i&&o(g)==="ArrayBuffer"?!1:u?u(g):!0}:u},95307:function(l,p,t){var n=t(11286);l.exports=n({}.isPrototypeOf)},6242:function(l,p,t){var n=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=n([].push);l.exports=function(c,g){var v=o(c),y=0,S=[],E;for(E in v)!e(u,E)&&e(v,E)&&f(S,E);for(;g.length>y;)e(v,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var n=t(6242),e=t(75785);l.exports=Object.keys||function(i){return n(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,e=n&&!t.call({1:2},1);p.f=e?function(i){var u=n(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var n=t(70457),e=t(66009),o=t(72069),i=t(68674);l.exports=n||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var n=t(84756),e=t(37540),o=t(2068),i=t(53408);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,f={},c;try{c=n(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(v,y){return o(v),i(y),e(v)&&(u?c(v,y):v.__proto__=y),v}}():void 0)},8511:function(l,p,t){var n=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),v=o([].push),y=n&&e(function(){var E=Object.create(null);return E[2]=2,!g(E,2)}),S=function(E){return function(I){for(var A=f(I),T=u(A),M=y&&i(A)===null,D=T.length,$=0,U=[],G;D>$;)G=T[$++],(!n||(M?G in A:g(A,G)))&&v(U,E?[G,A[G]]:A[G]);return U}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var n=t(67878),e=t(9205);l.exports=n?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var n=t(96499),e=t(23583),o=t(37540),i=TypeError;l.exports=function(u,f){var c,g;if(f==="string"&&e(c=u.toString)&&!o(g=n(c,u))||e(c=u.valueOf)&&!o(g=n(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=n(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var n=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=n("Reflect","ownKeys")||function(g){var v=o.f(u(g)),y=i.f;return y?f(v,y(g)):v}},75081:function(l,p,t){var n=t(66009);l.exports=n},67805:function(l){l.exports=function(p){try{return{error:!1,value:p()}}catch(t){return{error:!0,value:t}}}},37130:function(l,p,t){var n=t(66009),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(63144),g=t(56422),v=t(70457),y=t(73126),S=e&&e.prototype,E=f("species"),I=!1,A=o(n.PromiseRejectionEvent),T=i("Promise",function(){var M=u(e),D=M!==String(e);if(!D&&y===66||v&&!(S.catch&&S.finally))return!0;if(!y||y<51||!/native code/.test(M)){var $=new e(function(N){N(1)}),U=function(N){N(function(){},function(){})},G=$.constructor={};if(G[E]=U,I=$.then(function(){})instanceof U,!I)return!0}return!D&&(c||g)&&!A});l.exports={CONSTRUCTOR:T,REJECTION_EVENT:A,SUBCLASSING:I}},98844:function(l,p,t){var n=t(66009);l.exports=n.Promise},87408:function(l,p,t){var n=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(n(i),e(u)&&u.constructor===i)return u;var f=o.f(i),c=f.resolve;return c(u),f.promise}},26035:function(l,p,t){var n=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){n.all(i).then(void 0,function(){})})},2594:function(l,p,t){var n=t(7831).f;l.exports=function(e,o,i){i in e||n(e,i,{configurable:!0,get:function(){return o[i]},set:function(u){o[i]=u}})}},76895:function(l){var p=function(){this.head=null,this.tail=null};p.prototype={add:function(t){var n={item:t,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t){var n=this.head=t.next;return n===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var n=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var v=c.exec;if(o(v)){var y=n(v,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return n(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var n=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,v=t(76769),y=t(85220),S=f("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,I=E,A=e("".charAt),T=e("".indexOf),M=e("".replace),D=e("".slice),$=function(){var w=/a/,W=/b*/g;return n(E,w,"a"),n(E,W,"a"),w.lastIndex!==0||W.lastIndex!==0}(),U=u.BROKEN_CARET,G=/()??/.exec("")[1]!==void 0,N=$||G||U||v||y;N&&(I=function(W){var X=this,Y=g(X),k=o(W),st=Y.raw,ut,rt,at,ot,pt,Ct,St;if(st)return st.lastIndex=X.lastIndex,ut=n(I,st,k),X.lastIndex=st.lastIndex,ut;var $t=Y.groups,Rt=U&&X.sticky,Qt=n(i,X),Yt=X.source,Xt=0,er=k;if(Rt&&(Qt=M(Qt,"y",""),T(Qt,"g")===-1&&(Qt+="g"),er=D(k,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(k,X.lastIndex-1)!==` +`),x=d?m.length-1:1;r.html(""),m.forEach((O,P)=>{r.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Dl(r){const{x:a,y:s,width:d,height:h}=r.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+d,y:s},{x:a+d,y:s+h}]}function mf(r){const{width:a,height:s}=r.getBoundingClientRect(),d=Dl(r),h=d[0].x,m=Math.min(d[0].y,d[1].y);return{x:h,y:m,width:a,height:s}}function xf(r,a){var s;const d=r&&((s=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(d||r,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Fl(r){const{event:a,$el:s}=r,d=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:d&&(h=d.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Ef(r=!0,a=0,s=1e4){const d=window.crypto||window.msCrypto,h=d?a+d.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return r?String(h):h}function Eo(r,a,s,d,h){if(s>d)return-1;const m=Math.floor((s+d)/2);let{x,w:O=0}=r[m];return h&&(x=r[m].y,O=r[m].h),a>=x&&a<=x+O?m:a{if(De(s)&&s.constructor){const d=new s.constructor;for(const h in s)d[h]=a(s[h]);return d}return s};return r.map(s=>a(s)).reduce((s,d)=>xo(xo({},s),d))}function bl(r={},a){aa(a)&&a.forEach(s=>bl(r,s));for(const s in a)/^\d+$/.test(s)||s in r||(r[s]=a[s]);return r}const Tf=r=>r.charAt(0).toUpperCase()+r.slice(1);function Af(r,a="-"){return r.split(a).map((s,d)=>d?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=r=>[].slice.call(r);function Rf(r,a,s){const{rootSelector:d="",sheet:h}=r,x=`${d} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(r){let a=[];return r.forEach(s=>{var d;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(d=window.console)==null||d.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(r){var a,s,d,h;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+r.scrollLeft,y:((h=(d=window.pageYOffset)!=null?d:window.scrollY)!=null?h:0)+r.scrollTop}}function Mf(r){const a=r?r.transform:null,s=a&&a.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Nf(r){const a=r[0]instanceof Date,s=(a?r.map(Number):r).filter((d,h,m)=>m.indexOf(d)===h);return a?s.map(d=>new Date(d)):s}function Df(r){return r&&r.length?r.reduce((a,s)=>a.concat(s)):[]}function oa(r,...a){if(!a.length||a.length===1&&!a[0])return r;const s=a.shift();return De(r)&&De(s)&&Object.keys(s).forEach(d=>{const h=s[d];De(h)?(!r[d]&&(r[d]={}),r[d]=oa(r[d],h)):r[d]=aa(h)?h.concat():h}),oa(r,...a)}function $l(r,a=!0){let s;return r[0]instanceof Date?s=a?(d,h)=>d-h:(d,h)=>h-d:a&&!r.every(isNaN)?s=(d,h)=>d-h:a||(s=(d,h)=>d>h&&-1||dNl(d));return s.length?na(s[0])?s=Math[r](...s):s[0]instanceof Date&&(s=$l(s,r==="min")[0]):s=void 0,s}const bf=(r,a,s=1)=>{const d=[],h=Math.max(0,Math.ceil((a-r)/s))|0;for(let m=r;m{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,d=r())=>{a.dispatchEvent(new MouseEvent(s,d))}}catch(a){return(s,d,h=r())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(d,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(r,a,s)=>{const d=new Touch(oa({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function $f(r,a){let s=r;for(const d in a)s=s.replace(new RegExp(`{=${d}}`,"g"),a[d]);return s}function Uf(r){var a;let s;if(r instanceof Date)s=r;else if(Ne(r)){const{config:d,format:h}=this;s=(a=h.dataTime(d.data_xFormat)(r))!=null?a:new Date(r)}else na(r)&&!isNaN(r)&&(s=new Date(+r));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),s}function Bf(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function jf(r,a){const{DocumentTouch:s,matchMedia:d,navigator:h}=window;let m=!1;if(a)if(h&&"maxTouchPoints"in h)m=h.maxTouchPoints>0;else if("ontouchmove"in window||s&&document instanceof s)m=!0;else if(d!=null&&d("(pointer:coarse)").matches)m=!0;else{const O=h.userAgent;m=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(O)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(O)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(r,a){a()===!1?requestAnimationFrame(()=>Ul(r,a)):r()}function Bl(r){const a=this.config;let s,d,h;const m=()=>{const x=d.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=r,d=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=r)}var jl=Object.defineProperty,wl=(r,a,s)=>a in r?jl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,sa=(r,a,s)=>wl(r,typeof a!="symbol"?a+"":a,s);class Io{constructor(a={}){sa(this,"$$"),sa(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}sa(Io,"version","3.12.4-nightly-20240731004602");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(r,a,s)=>a in r?Vl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,Wl=(r,a,s)=>Hl(r,typeof a!="symbol"?a+"":a,s);class Kl extends Io{constructor(a){return super(a),Wl(this,"config"),this.config=new Gl,this}$init(){Bl.call(this,this.options)}$redraw(){const{$$:{$el:a},config:{selector:s}}=this,d=s?a.main.selectAll(s):a.text;!d.empty()&&this.preventLabelOverlap(d)}generateVoronoi(a){const{$$:s}=this,{scale:d}=s,[h,m]=["x","y"].map(x=>d[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:d}=this.config,h=a.data().map(O=>[O.index,O.value]),m=this.generateVoronoi(h);let x=0;a.each(function(){const O=m.cellPolygon(x);if(O&&this){const[P,R]=h[x],[C,B]=Xo(O),L=Math.abs(Jo(O)),F=Math.round(Math.atan2(B-R,C-P)/Math.PI*2),Z=s*(F===0?1:-1),b=F===-1?-s:s+5,j=Math.abs(F)===1?"middle":F===0?"start":"end";this.style.display=L=Y&&(!W||k))st=M(N,0,Y);else{var ut=W&&!k&&$?{maxByteLength:$(N)}:void 0;st=new y(Y,ut);for(var rt=new S(N),at=new S(st),ot=I(Y,X),pt=0;pt>8&255]},Sr=function(Ut){return[Ut&255,Ut>>8&255,Ut>>16&255,Ut>>24&255]},mr=function(Ut){return Ut[3]<<24|Ut[2]<<16|Ut[1]<<8|Ut[0]},Ir=function(Ut){return xr(A(Ut),23,4)},Fr=function(Ut){return xr(Ut,52,8)},Dr=function(Ut,Vt,bt){c(Ut[ut],Vt,{configurable:!0,get:function(){return bt(this)[Vt]}})},Pr=function(Ut,Vt,bt,fr){var cr=pt(Ut),rr=I(bt),qt=!!fr;if(rr+Vt>cr.byteLength)throw new ir(at);var $r=cr.bytes,Br=rr+cr.byteOffset,Et=U($r,Br,Br+Vt);return qt?Et:yr(Et)},gr=function(Ut,Vt,bt,fr,cr,rr){var qt=pt(Ut),$r=I(bt),Br=fr(+cr),Et=!!rr;if($r+Vt>qt.byteLength)throw new ir(at);for(var Bt=qt.bytes,wt=$r+qt.byteOffset,gt=0;gtrr)throw new ir("Wrong offset");if(fr=fr===void 0?rr-qt:E(fr),qt+fr>rr)throw new ir(rt);Ct(this,{type:st,buffer:Vt,byteLength:fr,byteOffset:qt,bytes:cr.bytes}),o||(this.buffer=Vt,this.byteLength=fr,this.byteOffset=qt)},Yt=Qt[ut],o&&(Dr($t,"byteLength",ot),Dr(Qt,"buffer",pt),Dr(Qt,"byteLength",pt),Dr(Qt,"byteOffset",pt)),g(Yt,{getInt8:function(Vt){return Pr(this,1,Vt)[0]<<24>>24},getUint8:function(Vt){return Pr(this,1,Vt)[0]},getInt16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return bt[1]<<8|bt[0]},getInt32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))},getUint32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Vt){return Kt(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Vt){return Kt(Pr(this,8,Vt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Vt,bt){gr(this,1,Vt,_t,bt)},setUint8:function(Vt,bt){gr(this,1,Vt,_t,bt)},setInt16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setUint16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setInt32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setUint32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Vt,bt){gr(this,4,Vt,Ir,bt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Vt,bt){gr(this,8,Vt,Fr,bt,arguments.length>2?arguments[2]:!1)}});else{var Cr=X&&St.name!==k;!v(function(){St(1)})||!v(function(){new St(-1)})||v(function(){return new St,new St(1.5),new St(NaN),St.length!==1||Cr&&!Y})?($t=function(Vt){return y(this,Rt),G(new St(I(Vt)),this,$t)},$t[ut]=Rt,Rt.constructor=$t,N($t,St)):Cr&&Y&&f(St,"name",k),D&&M(Yt)!==Xt&&D(Yt,Xt);var Er=new Qt(new $t(2)),pr=e(Yt.setInt8);Er.setInt8(0,2147483648),Er.setInt8(1,2147483649),(Er.getInt8(0)||!Er.getInt8(1))&&g(Yt,{setInt8:function(Vt,bt){pr(this,Vt,bt<<24>>24)},setUint8:function(Vt,bt){pr(this,Vt,bt<<24>>24)}},{unsafe:!0})}w($t,k),w(Qt,st),l.exports={ArrayBuffer:$t,DataView:Qt}},81499:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var v=n(this),y=o(v),S=e(c,y),E=e(g,y),I=arguments.length>2?arguments[2]:void 0,A=u((I===void 0?y:e(I,y))-E,y-S),T=1;for(E0;)E in v?v[S]=v[E]:i(v,S),S+=T,E+=T;return v}},43011:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=n(this),c=o(f),g=arguments.length,v=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>v;)f[v++]=u;return f}},13349:function(l,p,t){var n=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var n=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:n(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var n=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),v=t(90619),y=t(81077),S=Array;l.exports=function(I){var A=o(I),T=f(this),M=arguments.length,D=M>1?arguments[1]:void 0,$=D!==void 0;$&&(D=n(D,M>2?arguments[2]:void 0));var U=y(A),G=0,N,w,W,X,Y,k;if(U&&!(this===S&&u(U)))for(w=T?new this:[],X=v(A,U),Y=X.next;!(W=e(Y,X)).done;G++)k=$?i(X,D,[W.value,G],!0):W.value,g(w,G,k);else for(N=c(A),w=T?new this(N):S(N);N>G;G++)k=$?D(A[G],G):A[G],g(w,G,k);return w.length=G,w}},94319:function(l,p,t){var n=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var v=n(f),y=o(v);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=v[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in v)&&v[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var n=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,v,y){for(var S=o(g),E=e(S),I=i(E),A=n(v,y),T,M;I-- >0;)if(T=E[I],M=A(T,I,S),M)switch(f){case 0:return T;case 1:return I}return c?-1:void 0}};l.exports={findLast:u(0),findLastIndex:u(1)}},66655:function(l,p,t){var n=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(v){var y=v===1,S=v===2,E=v===3,I=v===4,A=v===6,T=v===7,M=v===5||A;return function(D,$,U,G){for(var N=i(D),w=o(N),W=u(w),X=n($,U),Y=0,k=G||f,st=y?k(D,W):S||T?k(D,0):void 0,ut,rt;W>Y;Y++)if((M||Y in w)&&(ut=w[Y],rt=X(ut,Y,N),v))if(y)st[Y]=rt;else if(rt)switch(v){case 3:return!0;case 5:return ut;case 6:return Y;case 2:c(st,ut)}else switch(v){case 4:return!1;case 7:c(st,ut)}return A?-1:E||I?I:st}};l.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},58465:function(l,p,t){var n=t(66543),e=t(36859),o=t(12105),i=t(82628),u=t(6148),f=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,v=u("lastIndexOf"),y=g||!v;l.exports=y?function(E){if(g)return n(c,this,arguments)||0;var I=e(this),A=i(I);if(A===0)return-1;var T=A-1;for(arguments.length>1&&(T=f(T,o(arguments[1]))),T<0&&(T=A+T);T>=0;T--)if(T in I&&I[T]===E)return T||0;return-1}:c},52183:function(l,p,t){var n=t(72069),e=t(18565),o=t(73126),i=e("species");l.exports=function(u){return o>=51||!n(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var n=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&n(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var n=t(85156),e=t(49671),o=t(72181),i=t(82628),u=TypeError,f="Reduce of empty array with no initial value",c=function(g){return function(v,y,S,E){var I=e(v),A=o(I),T=i(I);if(n(y),T===0&&S<2)throw new u(f);var M=g?T-1:0,D=g?-1:1;if(S<2)for(;;){if(M in A){E=A[M],M+=D;break}if(M+=D,g?M<0:T<=M)throw new u(f)}for(;g?M>=0:T>M;M+=D)M in A&&(E=y(E,A[M],M,I));return E}};l.exports={left:c(!1),right:c(!0)}},2213:function(l,p,t){var n=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();l.exports=u?function(f,c){if(e(f)&&!i(f,"length").writable)throw new o("Cannot set read only .length");return f.length=c}:function(f,c){return f.length=c}},22806:function(l,p,t){var n=t(11286);l.exports=n([].slice)},13270:function(l,p,t){var n=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,v;c0;)i[v]=i[--v];v!==c++&&(i[v]=g)}else for(var y=e(f/2),S=o(n(i,0,y),u),E=o(n(i,y),u),I=S.length,A=E.length,T=0,M=0;T=g||y<0)throw new o("Incorrect index");for(var S=new u(g),E=0;E1?arguments[1]:void 0),rt;rt=rt?rt.next:st.first;)for(ut(rt.value,rt.key,this);rt&&rt.removed;)rt=rt.previous},has:function(k){return!!X(this,k)}}),o(N,$?{get:function(k){var st=X(this,k);return st&&st.value},set:function(k,st){return W(this,k===0?0:k,st)}}:{add:function(k){return W(this,k=k===0?0:k,k)}}),S&&e(N,"size",{configurable:!0,get:function(){return w(this).size}}),G},setStrong:function(M,D,$){var U=D+" Iterator",G=T(D),N=T(U);g(M,D,function(w,W){A(this,{type:U,target:w,state:G(w),kind:W,last:void 0})},function(){for(var w=N(this),W=w.kind,X=w.last;X&&X.removed;)X=X.previous;return!w.target||!(w.last=X=X?X.next:w.state.first)?(w.target=void 0,v(void 0,!0)):v(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},$?"entries":"values",!$,!0),y(D)}}},94667:function(l,p,t){var n=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),v=t(66655),y=t(94879),S=t(82367),E=S.set,I=S.getterFor,A=v.find,T=v.findIndex,M=n([].splice),D=0,$=function(N){return N.frozen||(N.frozen=new U)},U=function(){this.entries=[]},G=function(N,w){return A(N.entries,function(W){return W[0]===w})};U.prototype={get:function(N){var w=G(this,N);if(w)return w[1]},has:function(N){return!!G(this,N)},set:function(N,w){var W=G(this,N);W?W[1]=w:this.entries.push([N,w])},delete:function(N){var w=T(this.entries,function(W){return W[0]===N});return~w&&M(this.entries,w,1),!!~w}},l.exports={getConstructor:function(N,w,W,X){var Y=N(function(rt,at){i(rt,k),E(rt,{type:w,id:D++,frozen:void 0}),f(at)||g(at,rt[X],{that:rt,AS_ENTRIES:W})}),k=Y.prototype,st=I(w),ut=function(rt,at,ot){var pt=st(rt),Ct=o(u(at),!0);return Ct===!0?$(pt).set(at,ot):Ct[pt.id]=ot,rt};return e(k,{delete:function(rt){var at=st(this);if(!c(rt))return!1;var ot=o(rt);return ot===!0?$(at).delete(rt):ot&&y(ot,at.id)&&delete ot[at.id]},has:function(at){var ot=st(this);if(!c(at))return!1;var pt=o(at);return pt===!0?$(ot).has(at):pt&&y(pt,ot.id)}}),e(k,W?{get:function(at){var ot=st(this);if(c(at)){var pt=o(at);return pt===!0?$(ot).get(at):pt?pt[ot.id]:void 0}},set:function(at,ot){return ut(this,at,ot)}}:{add:function(at){return ut(this,at,!0)}}),Y}}},89378:function(l,p,t){var n=t(14304),e=t(66009),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),v=t(23583),y=t(5683),S=t(37540),E=t(72069),I=t(97494),A=t(78401),T=t(32345);l.exports=function(M,D,$){var U=M.indexOf("Map")!==-1,G=M.indexOf("Weak")!==-1,N=U?"set":"add",w=e[M],W=w&&w.prototype,X=w,Y={},k=function(Ct){var St=o(W[Ct]);u(W,Ct,Ct==="add"?function(Rt){return St(this,Rt===0?0:Rt),this}:Ct==="delete"?function($t){return G&&!S($t)?!1:St(this,$t===0?0:$t)}:Ct==="get"?function(Rt){return G&&!S(Rt)?void 0:St(this,Rt===0?0:Rt)}:Ct==="has"?function(Rt){return G&&!S(Rt)?!1:St(this,Rt===0?0:Rt)}:function(Rt,Qt){return St(this,Rt===0?0:Rt,Qt),this})},st=i(M,!v(w)||!(G||W.forEach&&!E(function(){new w().entries().next()})));if(st)X=$.getConstructor(D,M,U,N),f.enable();else if(i(M,!0)){var ut=new X,rt=ut[N](G?{}:-0,1)!==ut,at=E(function(){ut.has(1)}),ot=I(function(Ct){new w(Ct)}),pt=!G&&E(function(){for(var Ct=new w,St=5;St--;)Ct[N](St,St);return!Ct.has(-0)});ot||(X=D(function(Ct,St){g(Ct,W);var $t=T(new w,Ct,X);return y(St)||c(St,$t[N],{that:$t,AS_ENTRIES:U}),$t}),X.prototype=W,W.constructor=X),(at||pt)&&(k("delete"),k("has"),U&&k("get")),(pt||rt)&&k(N),G&&W.clear&&delete W.clear}return Y[M]=X,n({global:!0,constructor:!0,forced:X!==w},Y),A(X,M),G||$.setStrong(X,M,U),X}},93706:function(l,p,t){var n=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),v=i.f,y=o.f,S=0;S"+y+""}},10659:function(l){l.exports=function(p,t){return{value:p,done:t}}},90809:function(l,p,t){var n=t(92986),e=t(7831),o=t(18526);l.exports=n?function(i,u,f){return e.f(i,u,o(1,f))}:function(i,u,f){return i[u]=f,i}},18526:function(l){l.exports=function(p,t){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:t}}},84082:function(l,p,t){var n=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){n?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var n=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,v=n(c.getTime),y=n(c.getUTCDate),S=n(c.getUTCFullYear),E=n(c.getUTCHours),I=n(c.getUTCMilliseconds),A=n(c.getUTCMinutes),T=n(c.getUTCMonth),M=n(c.getUTCSeconds);l.exports=e(function(){return g.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){g.call(new Date(NaN))})?function(){if(!u(v(this)))throw new i("Invalid time value");var $=this,U=S($),G=I($),N=U<0?"-":U>9999?"+":"";return N+o(f(U),N?6:4,0)+"-"+o(T($)+1,2,0)+"-"+o(y($),2,0)+"T"+o(E($),2,0)+":"+o(A($),2,0)+":"+o(M($),2,0)+"."+o(G,3,0)+"Z"}:g},84306:function(l,p,t){var n=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(n(this),i==="string"||i==="default")i="string";else if(i!=="number")throw new o("Incorrect hint");return e(this,i)}},85500:function(l,p,t){var n=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&n(u.get,i,{getter:!0}),u.set&&n(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var n=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var v=g.enumerable,y=g.name!==void 0?g.name:f;if(n(c)&&o(c,y,g),g.global)v?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(v=!0):delete u[f]}catch(S){}v?u[f]=c:e.f(u,f,{value:c,enumerable:!1,configurable:!g.nonConfigurable,writable:!g.nonWritable})}return u}},2725:function(l,p,t){var n=t(16142);l.exports=function(e,o,i){for(var u in o)n(e,u,o[u],i);return e}},36003:function(l,p,t){var n=t(66009),e=Object.defineProperty;l.exports=function(o,i){try{e(n,o,{value:i,configurable:!0,writable:!0})}catch(u){n[o]=i}return i}},12384:function(l,p,t){var n=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+n(i)+" of "+n(o))}},92986:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var n=t(66009),e=t(18096),o=t(99050),i=n.structuredClone,u=n.ArrayBuffer,f=n.MessageChannel,c=!1,g,v,y,S;if(o)c=function(E){i(E,{transfer:[E]})};else if(u)try{f||(g=e("worker_threads"),g&&(f=g.MessageChannel)),f&&(v=new f,y=new u(2),S=function(E){v.port1.postMessage(null,[E])},y.byteLength===2&&(S(y),y.byteLength===0&&(c=S)))}catch(E){}l.exports=c},85501:function(l,p,t){var n=t(66009),e=t(37540),o=n.document,i=e(o)&&e(o.createElement);l.exports=function(u){return i?o.createElement(u):{}}},20095:function(l){var p=TypeError,t=9007199254740991;l.exports=function(n){if(n>t)throw p("Maximum allowed index exceeded");return n}},74408:function(l){l.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(l){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(l,p,t){var n=t(85501),e=n("span").classList,o=e&&e.constructor&&e.constructor.prototype;l.exports=o===Object.prototype?void 0:o},54040:function(l,p,t){var n=t(89042),e=n.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},63144:function(l,p,t){var n=t(56422),e=t(42954);l.exports=!n&&!e&&typeof window=="object"&&typeof document=="object"},5017:function(l){l.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},56422:function(l){l.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},87216:function(l,p,t){var n=t(89042);l.exports=/MSIE|Trident/.test(n)},92150:function(l,p,t){var n=t(89042);l.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},51149:function(l,p,t){var n=t(89042);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},42954:function(l,p,t){var n=t(66009),e=t(14274);l.exports=e(n.process)==="process"},81539:function(l,p,t){var n=t(89042);l.exports=/web0s(?!.*chrome)/i.test(n)},89042:function(l){l.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},73126:function(l,p,t){var n=t(66009),e=t(89042),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8,c,g;f&&(c=f.split("."),g=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!g&&e&&(c=e.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=e.match(/Chrome\/(\d+)/),c&&(g=+c[1]))),l.exports=g},68674:function(l,p,t){var n=t(89042),e=n.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},75785:function(l){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40851:function(l,p,t){var n=t(11286),e=Error,o=n("".replace),i=function(c){return String(new e(c).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,f=u.test(i);l.exports=function(c,g){if(f&&typeof c=="string"&&!e.prepareStackTrace)for(;g--;)c=o(c,u,"");return c}},97077:function(l,p,t){var n=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):n(u,"stack",e(c,g)))}},16929:function(l,p,t){var n=t(72069),e=t(18526);l.exports=!n(function(){var o=new Error("a");return"stack"in o?(Object.defineProperty(o,"stack",e(1,7)),o.stack!==7):!0})},58434:function(l,p,t){var n=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(n){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(u.call(c)!=="true")return!0}return u.call({message:1,name:2})!=="2: 1"||u.call({})!=="Error"});l.exports=f?function(){var g=o(this),v=i(g.name,"Error"),y=i(g.message);return v?y?v+": "+y:v:y}:u},14304:function(l,p,t){var n=t(66009),e=t(71349).f,o=t(90809),i=t(16142),u=t(36003),f=t(93706),c=t(13278);l.exports=function(g,v){var y=g.target,S=g.global,E=g.stat,I,A,T,M,D,$;if(S?A=n:E?A=n[y]||u(y,{}):A=n[y]&&n[y].prototype,A)for(T in v){if(D=v[T],g.dontCallGetSet?($=e(A,T),M=$&&$.value):M=A[T],I=c(S?T:y+(E?".":"#")+T,g.forced),!I&&M!==void 0){if(typeof D==typeof M)continue;f(D,M)}(g.sham||M&&M.sham)&&o(D,"sham",!0),i(A,T,D,g)}}},72069:function(l){l.exports=function(p){try{return!!p()}catch(t){return!0}}},63194:function(l,p,t){t(31145);var n=t(96499),e=t(16142),o=t(44381),i=t(72069),u=t(18565),f=t(90809),c=u("species"),g=RegExp.prototype;l.exports=function(v,y,S,E){var I=u(v),A=!i(function(){var $={};return $[I]=function(){return 7},""[v]($)!==7}),T=A&&!i(function(){var $=!1,U=/a/;return v==="split"&&(U={},U.constructor={},U.constructor[c]=function(){return U},U.flags="",U[I]=/./[I]),U.exec=function(){return $=!0,null},U[I](""),!$});if(!A||!T||S){var M=/./[I],D=y(I,""[v],function($,U,G,N,w){var W=U.exec;return W===o||W===g.exec?A&&!w?{done:!0,value:n(M,U,G,N)}:{done:!0,value:n($,G,U,N)}:{done:!1}});e(String.prototype,v,D[0]),e(g,I,D[1])}E&&f(g[I],"sham",!0)}},53149:function(l,p,t){var n=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,v,y,S,E,I){for(var A=y,T=0,M=E?i(E,I):!1,D,$;T0&&n(D)?($=e(D),A=u(f,c,D,$,A,S-1)-1):(o(A+1),f[A]=D),A++),T++;return A};l.exports=u},27534:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var n=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var n=t(77422),e=t(85156),o=t(87878),i=n(n.bind);l.exports=function(u,f){return e(u),f===void 0?u:o?i(u,f):function(){return u.apply(f,arguments)}}},87878:function(l,p,t){var n=t(72069);l.exports=!n(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var n=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=n([].concat),v=n([].join),y={},S=function(E,I,A){if(!i(y,I)){for(var T=[],M=0;M]*>)/g,g=/\$([$&'`]|\d{1,2})/g;l.exports=function(v,y,S,E,I,A){var T=S+v.length,M=E.length,D=g;return I!==void 0&&(I=e(I),D=c),u(A,D,function($,U){var G;switch(i(U,0)){case"$":return"$";case"&":return v;case"`":return f(y,0,S);case"'":return f(y,T);case"<":G=I[f(U,1,-1)];break;default:var N=+U;if(N===0)return $;if(N>M){var w=o(N/10);return w===0?$:w<=M?E[w-1]===void 0?i(U,1):E[w-1]+i(U,1):$}G=E[N-1]}return G===void 0?"":G})}},66009:function(l){var p=function(t){return t&&t.Math===Math&&t};l.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof global=="object"&&global)||p(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(l,p,t){var n=t(11286),e=t(49671),o=n({}.hasOwnProperty);l.exports=Object.hasOwn||function(u,f){return o(e(u),f)}},19423:function(l){l.exports={}},99095:function(l){l.exports=function(p,t){try{arguments.length===1?console.error(p):console.error(p,t)}catch(n){}}},96439:function(l,p,t){var n=t(38941);l.exports=n("document","documentElement")},52515:function(l,p,t){var n=t(92986),e=t(72069),o=t(85501);l.exports=!n&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,n=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,v){var y=p(v),S=v*8-g-1,E=(1<>1,A=g===23?n(2,-24)-n(2,-77):0,T=c<0||c===0&&1/c<0?1:0,M=0,D,$,U;for(c=t(c),c!==c||c===1/0?($=c!==c?1:0,D=E):(D=e(o(c)/i),U=n(2,-D),c*U<1&&(D--,U*=2),D+I>=1?c+=A/U:c+=A*n(2,1-I),c*U>=2&&(D++,U/=2),D+I>=E?($=0,D=E):D+I>=1?($=(c*U-1)*n(2,g),D+=I):($=c*n(2,I-1)*n(2,g),D=0));g>=8;)y[M++]=$&255,$/=256,g-=8;for(D=D<0;)y[M++]=D&255,D/=256,S-=8;return y[--M]|=T*128,y},f=function(c,g){var v=c.length,y=v*8-g-1,S=(1<>1,I=y-7,A=v-1,T=c[A--],M=T&127,D;for(T>>=7;I>0;)M=M*256+c[A--],I-=8;for(D=M&(1<<-I)-1,M>>=-I,I+=g;I>0;)D=D*256+c[A--],I-=8;if(M===0)M=1-E;else{if(M===S)return D?NaN:T?-1/0:1/0;D+=n(2,g),M-=E}return(T?-1:1)*D*n(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var n=t(11286),e=t(72069),o=t(14274),i=Object,u=n("".split);l.exports=e(function(){return!i("z").propertyIsEnumerable(0)})?function(f){return o(f)==="String"?u(f,""):i(f)}:i},32345:function(l,p,t){var n=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&n(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var n=t(11286),e=t(23583),o=t(70443),i=n(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var n=t(37540),e=t(90809);l.exports=function(o,i){n(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var n=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),v=t(28174),y=t(36374),S=t(27534),E=!1,I=y("meta"),A=0,T=function(N){f(N,I,{value:{objectID:"O"+A++,weakData:{}}})},M=function(N,w){if(!i(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!u(N,I)){if(!v(N))return"F";if(!w)return"E";T(N)}return N[I].objectID},D=function(N,w){if(!u(N,I)){if(!v(N))return!0;if(!w)return!1;T(N)}return N[I].weakData},$=function(N){return S&&E&&v(N)&&!u(N,I)&&T(N),N},U=function(){G.enable=function(){},E=!0;var N=c.f,w=e([].splice),W={};W[I]=1,N(W).length&&(c.f=function(X){for(var Y=N(X),k=0,st=Y.length;kY;Y++)if(st=ot(A[Y]),st&&c(I,st))return st;return new E(!1)}W=g(A,X)}for(ut=U?A.next:W.next;!(rt=e(ut,W)).done;){try{st=ot(rt.value)}catch(pt){y(W,"throw",pt)}if(typeof st=="object"&&st&&c(I,st))return st}return new E(!1)}},99797:function(l,p,t){var n=t(96499),e=t(25001),o=t(10512);l.exports=function(i,u,f){var c,g;e(i);try{if(c=o(i,"return"),!c){if(u==="throw")throw f;return f}c=n(c,i)}catch(v){g=!0,c=v}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var n=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,v,y){var S=g+" Iterator";return c.prototype=e(n,{next:o(+!y,v)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var n=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),v=t(78401),y=t(90809),S=t(16142),E=t(18565),I=t(29107),A=t(24519),T=i.PROPER,M=i.CONFIGURABLE,D=A.IteratorPrototype,$=A.BUGGY_SAFARI_ITERATORS,U=E("iterator"),G="keys",N="values",w="entries",W=function(){return this};l.exports=function(X,Y,k,st,ut,rt,at){f(k,Y,st);var ot=function(ir){if(ir===ut&&Rt)return Rt;if(!$&&ir&&ir in St)return St[ir];switch(ir){case G:return function(){return new k(this,ir)};case N:return function(){return new k(this,ir)};case w:return function(){return new k(this,ir)}}return function(){return new k(this)}},pt=Y+" Iterator",Ct=!1,St=X.prototype,$t=St[U]||St["@@iterator"]||ut&&St[ut],Rt=!$&&$t||ot(ut),Qt=Y==="Array"&&St.entries||$t,Yt,Xt,er;if(Qt&&(Yt=c(Qt.call(new X)),Yt!==Object.prototype&&Yt.next&&(!o&&c(Yt)!==D&&(g?g(Yt,D):u(Yt[U])||S(Yt,U,W)),v(Yt,pt,!0,!0),o&&(I[pt]=W))),T&&ut===N&&$t&&$t.name!==N&&(!o&&M?y(St,"name",N):(Ct=!0,Rt=function(){return e($t,this)})),ut)if(Xt={values:ot(N),keys:rt?Rt:ot(G),entries:ot(w)},at)for(er in Xt)($||Ct||!(er in St))&&S(St,er,Xt[er]);else n({target:Y,proto:!0,forced:$||Ct},Xt);return(!o||at)&&St[U]!==Rt&&S(St,U,Rt,{name:ut}),I[Y]=Rt,Xt}},24519:function(l,p,t){var n=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),v=c("iterator"),y=!1,S,E,I;[].keys&&(I=[].keys(),"next"in I?(E=u(u(I)),E!==Object.prototype&&(S=E)):y=!0);var A=!o(S)||n(function(){var T={};return S[v].call(T)!==T});A?S={}:g&&(S=i(S)),e(S[v])||f(S,v,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var n=t(45344);l.exports=function(e){return n(e.length)}},13749:function(l,p,t){var n=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),v=g.enforce,y=g.get,S=String,E=Object.defineProperty,I=n("".slice),A=n("".replace),T=n([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),$=l.exports=function(U,G,N){I(S(G),0,7)==="Symbol("&&(G="["+A(S(G),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),N&&N.getter&&(G="get "+G),N&&N.setter&&(G="set "+G),(!i(U,"name")||f&&U.name!==G)&&(u?E(U,"name",{value:G,configurable:!0}):U.name=G),M&&N&&i(N,"arity")&&U.length!==N.arity&&E(U,"length",{value:N.arity});try{N&&i(N,"constructor")&&N.constructor?u&&E(U,"prototype",{writable:!1}):U.prototype&&(U.prototype=void 0)}catch(W){}var w=v(U);return i(w,"source")||(w.source=T(D,typeof G=="string"?G:"")),U};Function.prototype.toString=$(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var n=t(11286),e=Map.prototype;l.exports={Map,set:n(e.set),get:n(e.get),has:n(e.has),remove:n(e.delete),proto:e}},98940:function(l){var p=Math.expm1,t=Math.exp;l.exports=!p||p(10)>22025.465794806718||p(10)<22025.465794806718||p(-2e-17)!==-2e-17?function(e){var o=+e;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}:p},10418:function(l,p,t){var n=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,v){var y=+f,S=e(y),E=n(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var n=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return n(f,e,o,i)}},41942:function(l){var p=Math.log,t=Math.LOG10E;l.exports=Math.log10||function(e){return p(e)*t}},49366:function(l){var p=Math.log;l.exports=Math.log1p||function(n){var e=+n;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<0?-1:1}},22459:function(l){var p=Math.ceil,t=Math.floor;l.exports=Math.trunc||function(e){var o=+e;return(o>0?t:p)(o)}},9709:function(l,p,t){var n=t(66009),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(51149),c=t(92150),g=t(81539),v=t(42954),y=n.MutationObserver||n.WebKitMutationObserver,S=n.document,E=n.process,I=n.Promise,A=e("queueMicrotask"),T,M,D,$,U;if(!A){var G=new u,N=function(){var w,W;for(v&&(w=E.domain)&&w.exit();W=G.get();)try{W()}catch(X){throw G.head&&T(),X}w&&w.enter()};!f&&!v&&!g&&y&&S?(M=!0,D=S.createTextNode(""),new y(N).observe(D,{characterData:!0}),T=function(){D.data=M=!M}):!c&&I&&I.resolve?($=I.resolve(void 0),$.constructor=I,U=o($.then,$),T=function(){U(N)}):v?T=function(){E.nextTick(N)}:(i=o(i,n),T=function(){i(N)}),A=function(w){G.head||T(),G.add(w)}}l.exports=A},24649:function(l,p,t){var n=t(85156),e=TypeError,o=function(i){var u,f;this.promise=new i(function(c,g){if(u!==void 0||f!==void 0)throw new e("Bad Promise constructor");u=c,f=g}),this.resolve=n(u),this.reject=n(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var n=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:n(e)}},92337:function(l,p,t){var n=t(11566),e=TypeError;l.exports=function(o){if(n(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var n=t(66009),e=n.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var n=t(66009),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=n.parseFloat,v=n.Symbol,y=v&&v.iterator,S=1/g(f+"-0")!==-1/0||y&&!e(function(){g(Object(y))});l.exports=S?function(I){var A=u(i(I)),T=g(A);return T===0&&c(A,0)==="-"?-0:T}:g},23009:function(l,p,t){var n=t(66009),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=n.parseInt,g=n.Symbol,v=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||v&&!e(function(){c(Object(v))});l.exports=E?function(A,T){var M=u(i(A));return c(M,T>>>0||(S(y,M)?16:10))}:c},16667:function(l,p,t){var n=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),v=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(n&&y({b:1},y(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var I={},A={},T=Symbol("assign detection"),M="abcdefghijklmnopqrst";return I[T]=7,M.split("").forEach(function(D){A[D]=D}),y({},I)[T]!==7||u(y({},A)).join("")!==M})?function(A,T){for(var M=g(A),D=arguments.length,$=1,U=f.f,G=c.f;D>$;)for(var N=v(arguments[$++]),w=U?E(u(N),U(N)):u(N),W=w.length,X=0,Y;W>X;)Y=w[X++],(!n||o(G,N,Y))&&(M[Y]=N[Y]);return M}:y},5406:function(l,p,t){var n=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",v="<",y="prototype",S="script",E=c("IE_PROTO"),I=function(){},A=function(U){return v+S+g+U+v+"/"+S+g},T=function(U){U.write(A("")),U.close();var G=U.parentWindow.Object;return U=null,G},M=function(){var U=f("iframe"),G="java"+S+":",N;return U.style.display="none",u.appendChild(U),U.src=String(G),N=U.contentWindow.document,N.open(),N.write(A("document.F=Object")),N.close(),N.F},D,$=function(){try{D=new ActiveXObject("htmlfile")}catch(G){}$=typeof document!="undefined"?document.domain&&D?T(D):M():T(D);for(var U=o.length;U--;)delete $[y][o[U]];return $()};i[E]=!0,l.exports=Object.create||function(G,N){var w;return G!==null?(I[y]=n(G),w=new I,I[y]=null,w[E]=G):w=$(),N===void 0?w:e.f(w,N)}},61963:function(l,p,t){var n=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=n&&!e?Object.defineProperties:function(g,v){i(g);for(var y=u(v),S=f(v),E=S.length,I=0,A;E>I;)o.f(g,A=S[I++],y[A]);return g}},7831:function(l,p,t){var n=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v="enumerable",y="configurable",S="writable";p.f=n?o?function(I,A,T){if(i(I),A=u(A),i(T),typeof I=="function"&&A==="prototype"&&"value"in T&&S in T&&!T[S]){var M=g(I,A);M&&M[S]&&(I[A]=T.value,T={configurable:y in T?T[y]:M[y],enumerable:v in T?T[v]:M[v],writable:!1})}return c(I,A,T)}:c:function(I,A,T){if(i(I),A=u(A),i(T),e)try{return c(I,A,T)}catch(M){}if("get"in T||"set"in T)throw new f("Accessors not supported");return"value"in T&&(I[A]=T.value),I}},71349:function(l,p,t){var n=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),v=Object.getOwnPropertyDescriptor;p.f=n?v:function(S,E){if(S=u(S),E=f(E),g)try{return v(S,E)}catch(I){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var n=t(14274),e=t(36859),o=t(83258).f,i=t(22806),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(c){try{return o(c)}catch(g){return i(u)}};l.exports.f=function(g){return u&&n(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var n=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return n(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var n=t(94879),e=t(23583),o=t(49671),i=t(44869),u=t(87501),f=i("IE_PROTO"),c=Object,g=c.prototype;l.exports=u?c.getPrototypeOf:function(v){var y=o(v);if(n(y,f))return y[f];var S=y.constructor;return e(S)&&y instanceof S?S.prototype:y instanceof c?g:null}},28174:function(l,p,t){var n=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=n(function(){u(1)});l.exports=f||i?function(g){return!e(g)||i&&o(g)==="ArrayBuffer"?!1:u?u(g):!0}:u},95307:function(l,p,t){var n=t(11286);l.exports=n({}.isPrototypeOf)},6242:function(l,p,t){var n=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=n([].push);l.exports=function(c,g){var v=o(c),y=0,S=[],E;for(E in v)!e(u,E)&&e(v,E)&&f(S,E);for(;g.length>y;)e(v,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var n=t(6242),e=t(75785);l.exports=Object.keys||function(i){return n(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,e=n&&!t.call({1:2},1);p.f=e?function(i){var u=n(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var n=t(70457),e=t(66009),o=t(72069),i=t(68674);l.exports=n||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var n=t(84756),e=t(37540),o=t(2068),i=t(53408);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,f={},c;try{c=n(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(v,y){return o(v),i(y),e(v)&&(u?c(v,y):v.__proto__=y),v}}():void 0)},8511:function(l,p,t){var n=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),v=o([].push),y=n&&e(function(){var E=Object.create(null);return E[2]=2,!g(E,2)}),S=function(E){return function(I){for(var A=f(I),T=u(A),M=y&&i(A)===null,D=T.length,$=0,U=[],G;D>$;)G=T[$++],(!n||(M?G in A:g(A,G)))&&v(U,E?[G,A[G]]:A[G]);return U}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var n=t(67878),e=t(9205);l.exports=n?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var n=t(96499),e=t(23583),o=t(37540),i=TypeError;l.exports=function(u,f){var c,g;if(f==="string"&&e(c=u.toString)&&!o(g=n(c,u))||e(c=u.valueOf)&&!o(g=n(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=n(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var n=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=n("Reflect","ownKeys")||function(g){var v=o.f(u(g)),y=i.f;return y?f(v,y(g)):v}},75081:function(l,p,t){var n=t(66009);l.exports=n},67805:function(l){l.exports=function(p){try{return{error:!1,value:p()}}catch(t){return{error:!0,value:t}}}},37130:function(l,p,t){var n=t(66009),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(63144),g=t(56422),v=t(70457),y=t(73126),S=e&&e.prototype,E=f("species"),I=!1,A=o(n.PromiseRejectionEvent),T=i("Promise",function(){var M=u(e),D=M!==String(e);if(!D&&y===66||v&&!(S.catch&&S.finally))return!0;if(!y||y<51||!/native code/.test(M)){var $=new e(function(N){N(1)}),U=function(N){N(function(){},function(){})},G=$.constructor={};if(G[E]=U,I=$.then(function(){})instanceof U,!I)return!0}return!D&&(c||g)&&!A});l.exports={CONSTRUCTOR:T,REJECTION_EVENT:A,SUBCLASSING:I}},98844:function(l,p,t){var n=t(66009);l.exports=n.Promise},87408:function(l,p,t){var n=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(n(i),e(u)&&u.constructor===i)return u;var f=o.f(i),c=f.resolve;return c(u),f.promise}},26035:function(l,p,t){var n=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){n.all(i).then(void 0,function(){})})},2594:function(l,p,t){var n=t(7831).f;l.exports=function(e,o,i){i in e||n(e,i,{configurable:!0,get:function(){return o[i]},set:function(u){o[i]=u}})}},76895:function(l){var p=function(){this.head=null,this.tail=null};p.prototype={add:function(t){var n={item:t,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t){var n=this.head=t.next;return n===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var n=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var v=c.exec;if(o(v)){var y=n(v,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return n(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var n=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,v=t(76769),y=t(85220),S=f("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,I=E,A=e("".charAt),T=e("".indexOf),M=e("".replace),D=e("".slice),$=function(){var w=/a/,W=/b*/g;return n(E,w,"a"),n(E,W,"a"),w.lastIndex!==0||W.lastIndex!==0}(),U=u.BROKEN_CARET,G=/()??/.exec("")[1]!==void 0,N=$||G||U||v||y;N&&(I=function(W){var X=this,Y=g(X),k=o(W),st=Y.raw,ut,rt,at,ot,pt,Ct,St;if(st)return st.lastIndex=X.lastIndex,ut=n(I,st,k),X.lastIndex=st.lastIndex,ut;var $t=Y.groups,Rt=U&&X.sticky,Qt=n(i,X),Yt=X.source,Xt=0,er=k;if(Rt&&(Qt=M(Qt,"y",""),T(Qt,"g")===-1&&(Qt+="g"),er=D(k,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(k,X.lastIndex-1)!==` `)&&(Yt="(?: "+Yt+")",er=" "+er,Xt++),rt=new RegExp("^(?:"+Yt+")",Qt)),G&&(rt=new RegExp("^"+Yt+"$(?!\\s)",Qt)),$&&(at=X.lastIndex),ot=n(E,Rt?rt:X,er),Rt?ot?(ot.input=D(ot.input,Xt),ot[0]=D(ot[0],Xt),ot.index=X.lastIndex,X.lastIndex+=ot[0].length):X.lastIndex=0:$&&ot&&(X.lastIndex=X.global?ot.index+ot[0].length:at),G&&ot&&ot.length>1&&n(S,ot[0],rt,function(){for(pt=1;ptb)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})},2068:function(l,p,t){var n=t(5683),e=TypeError;l.exports=function(o){if(n(o))throw new e("Can't call method on "+o);return o}},28167:function(l,p,t){var n=t(66009),e=t(92986),o=Object.getOwnPropertyDescriptor;l.exports=function(i){if(!e)return n[i];var u=o(n,i);return u&&u.value}},13944:function(l){l.exports=Object.is||function(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}},9934:function(l,p,t){var n=t(66009),e=t(66543),o=t(23583),i=t(5017),u=t(89042),f=t(22806),c=t(95486),g=n.Function,v=/MSIE .\./.test(u)||i&&function(){var y=n.Bun.version.split(".");return y.length<3||y[0]==="0"&&(y[1]<3||y[1]==="3"&&y[2]==="0")}();l.exports=function(y,S){var E=S?2:1;return v?function(I,A){var T=c(arguments.length,1)>E,M=o(I)?I:g(I),D=T?f(arguments,E):[],$=T?function(){e(M,this,D)}:M;return S?y($,A):y($)}:y}},48348:function(l,p,t){var n=t(172),e=t(35051),o=n.Set,i=n.add;l.exports=function(u){var f=new o;return e(u,function(c){i(f,c)}),f}},41754:function(l,p,t){var n=t(76602),e=t(172),o=t(48348),i=t(17768),u=t(65263),f=t(35051),c=t(9573),g=e.has,v=e.remove;l.exports=function(S){var E=n(this),I=u(S),A=o(E);return i(E)<=I.size?f(E,function(T){I.includes(T)&&v(A,T)}):c(I.getIterator(),function(T){g(E,T)&&v(A,T)}),A}},172:function(l,p,t){var n=t(11286),e=Set.prototype;l.exports={Set,add:n(e.add),has:n(e.has),remove:n(e.delete),proto:e}},92292:function(l,p,t){var n=t(76602),e=t(172),o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=e.Set,g=e.add,v=e.has;l.exports=function(S){var E=n(this),I=i(S),A=new c;return o(E)>I.size?f(I.getIterator(),function(T){v(E,T)&&g(A,T)}):u(E,function(T){I.includes(T)&&g(A,T)}),A}},47391:function(l,p,t){var n=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=t(99797);l.exports=function(v){var y=n(this),S=i(v);if(o(y)<=S.size)return u(y,function(I){if(S.includes(I))return!1},!0)!==!1;var E=S.getIterator();return f(E,function(I){if(e(y,I))return c(E,"normal",!1)})!==!1}},75492:function(l,p,t){var n=t(76602),e=t(17768),o=t(35051),i=t(65263);l.exports=function(f){var c=n(this),g=i(f);return e(c)>g.size?!1:o(c,function(v){if(!g.includes(v))return!1},!0)!==!1}},1333:function(l,p,t){var n=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(9573),f=t(99797);l.exports=function(g){var v=n(this),y=i(g);if(o(v)3})}},22149:function(l,p,t){var n=t(11286),e=t(12105),o=t(17361),i=t(2068),u=n("".charAt),f=n("".charCodeAt),c=n("".slice),g=function(v){return function(y,S){var E=o(i(y)),I=e(S),A=E.length,T,M;return I<0||I>=A?v?"":void 0:(T=f(E,I),T<55296||T>56319||I+1===A||(M=f(E,I+1))<56320||M>57343?v?u(E,I):T:v?c(E,I,I+2):(T-55296<<10)+(M-56320)+65536)}};l.exports={codeAt:g(!1),charAt:g(!0)}},36945:function(l,p,t){var n=t(89042);l.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},61607:function(l,p,t){var n=t(11286),e=t(45344),o=t(17361),i=t(79719),u=t(2068),f=n(i),c=n("".slice),g=Math.ceil,v=function(y){return function(S,E,I){var A=o(u(S)),T=e(E),M=A.length,D=I===void 0?" ":o(I),$,U;return T<=M||D===""?A:($=T-M,U=f(D,g($/D.length)),U.length>$&&(U=c(U,0,$)),y?A+U:U+A)}};l.exports={start:v(!1),end:v(!0)}},38679:function(l,p,t){var n=t(11286),e=2147483647,o=36,i=1,u=26,f=38,c=700,g=72,v=128,y="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,I="Overflow: input needs wider integers to process",A=o-i,T=RangeError,M=n(E.exec),D=Math.floor,$=String.fromCharCode,U=n("".charCodeAt),G=n([].join),N=n([].push),w=n("".replace),W=n("".split),X=n("".toLowerCase),Y=function(rt){for(var at=[],ot=0,pt=rt.length;ot=55296&&Ct<=56319&&ot>1,rt+=D(rt/at);rt>A*u>>1;)rt=D(rt/A),pt+=o;return D(pt+(A+1)*rt/(rt+f))},ut=function(rt){var at=[];rt=Y(rt);var ot=rt.length,pt=v,Ct=0,St=g,$t,Rt;for($t=0;$t=pt&&RtD((e-Ct)/er))throw new T(I);for(Ct+=(Xt-pt)*er,pt=Xt,$t=0;$te)throw new T(I);if(Rt===pt){for(var ir=Ct,Or=o;;){var yr=Or<=St?i:Or>=St+u?u:Or-St;if(ir0;(v>>>=1)&&(c+=c))v&1&&(g+=c);return g}},75176:function(l,p,t){var n=t(85900).end,e=t(33328);l.exports=e("trimEnd")?function(){return n(this)}:"".trimEnd},33328:function(l,p,t){var n=t(86588).PROPER,e=t(72069),o=t(77082),i="\u200B\x85\u180E";l.exports=function(u){return e(function(){return!!o[u]()||i[u]()!==i||n&&o[u].name!==u})}},83481:function(l,p,t){var n=t(85900).start,e=t(33328);l.exports=e("trimStart")?function(){return n(this)}:"".trimStart},85900:function(l,p,t){var n=t(11286),e=t(2068),o=t(17361),i=t(77082),u=n("".replace),f=RegExp("^["+i+"]+"),c=RegExp("(^|[^"+i+"])["+i+"]+$"),g=function(v){return function(y){var S=o(e(y));return v&1&&(S=u(S,f,"")),v&2&&(S=u(S,c,"$1")),S}};l.exports={start:g(1),end:g(2),trim:g(3)}},99050:function(l,p,t){var n=t(66009),e=t(72069),o=t(73126),i=t(63144),u=t(56422),f=t(42954),c=n.structuredClone;l.exports=!!c&&!e(function(){if(u&&o>92||f&&o>94||i&&o>97)return!1;var g=new ArrayBuffer(8),v=c(g,{transfer:[g]});return g.byteLength!==0||v.byteLength!==8})},39729:function(l,p,t){var n=t(73126),e=t(72069),o=t(66009),i=o.String;l.exports=!!Object.getOwnPropertySymbols&&!e(function(){var u=Symbol("symbol detection");return!i(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&n&&n<41})},60796:function(l,p,t){var n=t(96499),e=t(38941),o=t(18565),i=t(16142);l.exports=function(){var u=e("Symbol"),f=u&&u.prototype,c=f&&f.valueOf,g=o("toPrimitive");f&&!f[g]&&i(f,g,function(v){return n(c,this)},{arity:1})}},61190:function(l,p,t){var n=t(39729);l.exports=n&&!!Symbol.for&&!!Symbol.keyFor},23115:function(l,p,t){var n=t(66009),e=t(66543),o=t(45526),i=t(23583),u=t(94879),f=t(72069),c=t(96439),g=t(22806),v=t(85501),y=t(95486),S=t(51149),E=t(42954),I=n.setImmediate,A=n.clearImmediate,T=n.process,M=n.Dispatch,D=n.Function,$=n.MessageChannel,U=n.String,G=0,N={},w="onreadystatechange",W,X,Y,k;f(function(){W=n.location});var st=function(ot){if(u(N,ot)){var pt=N[ot];delete N[ot],pt()}},ut=function(ot){return function(){st(ot)}},rt=function(ot){st(ot.data)},at=function(ot){n.postMessage(U(ot),W.protocol+"//"+W.host)};(!I||!A)&&(I=function(pt){y(arguments.length,1);var Ct=i(pt)?pt:D(pt),St=g(arguments,1);return N[++G]=function(){e(Ct,void 0,St)},X(G),G},A=function(pt){delete N[pt]},E?X=function(ot){T.nextTick(ut(ot))}:M&&M.now?X=function(ot){M.now(ut(ot))}:$&&!S?(Y=new $,k=Y.port2,Y.port1.onmessage=rt,X=o(k.postMessage,k)):n.addEventListener&&i(n.postMessage)&&!n.importScripts&&W&&W.protocol!=="file:"&&!f(at)?(X=at,n.addEventListener("message",rt,!1)):w in v("script")?X=function(ot){c.appendChild(v("script"))[w]=function(){c.removeChild(this),st(ot)}}:X=function(ot){setTimeout(ut(ot),0)}),l.exports={set:I,clear:A}},34338:function(l,p,t){var n=t(11286);l.exports=n(1 .valueOf)},4652:function(l,p,t){var n=t(12105),e=Math.max,o=Math.min;l.exports=function(i,u){var f=n(i);return f<0?e(f+u,0):o(f,u)}},11344:function(l,p,t){var n=t(89935),e=TypeError;l.exports=function(o){var i=n(o,"number");if(typeof i=="number")throw new e("Can't convert number to bigint");return BigInt(i)}},9450:function(l,p,t){var n=t(12105),e=t(45344),o=RangeError;l.exports=function(i){if(i===void 0)return 0;var u=n(i),f=e(u);if(u!==f)throw new o("Wrong length or index");return f}},36859:function(l,p,t){var n=t(72181),e=t(2068);l.exports=function(o){return n(e(o))}},12105:function(l,p,t){var n=t(22459);l.exports=function(e){var o=+e;return o!==o||o===0?0:n(o)}},45344:function(l,p,t){var n=t(12105),e=Math.min;l.exports=function(o){var i=n(o);return i>0?e(i,9007199254740991):0}},49671:function(l,p,t){var n=t(2068),e=Object;l.exports=function(o){return e(n(o))}},58143:function(l,p,t){var n=t(98072),e=RangeError;l.exports=function(o,i){var u=n(o);if(u%i)throw new e("Wrong offset");return u}},98072:function(l,p,t){var n=t(12105),e=RangeError;l.exports=function(o){var i=n(o);if(i<0)throw new e("The argument can't be less than 0");return i}},89935:function(l,p,t){var n=t(96499),e=t(37540),o=t(491),i=t(10512),u=t(2064),f=t(18565),c=TypeError,g=f("toPrimitive");l.exports=function(v,y){if(!e(v)||o(v))return v;var S=i(v,g),E;if(S){if(y===void 0&&(y="default"),E=n(S,v,y),!e(E)||o(E))return E;throw new c("Can't convert object to primitive value")}return y===void 0&&(y="number"),u(v,y)}},50035:function(l,p,t){var n=t(89935),e=t(491);l.exports=function(o){var i=n(o,"string");return e(i)?i:i+""}},67878:function(l,p,t){var n=t(18565),e=n("toStringTag"),o={};o[e]="z",l.exports=String(o)==="[object z]"},17361:function(l,p,t){var n=t(9205),e=String;l.exports=function(o){if(n(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(o)}},76517:function(l){var p=Math.round;l.exports=function(t){var n=p(t);return n<0?0:n>255?255:n&255}},18096:function(l,p,t){var n=t(42954);l.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(o){}}},82453:function(l){var p=String;l.exports=function(t){try{return p(t)}catch(n){return"Object"}}},80357:function(l,p,t){var n=t(14304),e=t(66009),o=t(96499),i=t(92986),u=t(46868),f=t(88037),c=t(17468),g=t(12833),v=t(18526),y=t(90809),S=t(613),E=t(45344),I=t(9450),A=t(58143),T=t(76517),M=t(50035),D=t(94879),$=t(9205),U=t(37540),G=t(491),N=t(5406),w=t(95307),W=t(15861),X=t(83258).f,Y=t(66169),k=t(66655).forEach,st=t(36167),ut=t(85500),rt=t(7831),at=t(71349),ot=t(5220),pt=t(82367),Ct=t(32345),St=pt.get,$t=pt.set,Rt=pt.enforce,Qt=rt.f,Yt=at.f,Xt=e.RangeError,er=c.ArrayBuffer,ir=er.prototype,Or=c.DataView,yr=f.NATIVE_ARRAY_BUFFER_VIEWS,xr=f.TYPED_ARRAY_TAG,Kt=f.TypedArray,_t=f.TypedArrayPrototype,hr=f.isTypedArray,Sr="BYTES_PER_ELEMENT",mr="Wrong length",Ir=function(Cr,Er){ut(Cr,Er,{configurable:!0,get:function(){return St(this)[Er]}})},Fr=function(Cr){var Er;return w(ir,Cr)||(Er=$(Cr))==="ArrayBuffer"||Er==="SharedArrayBuffer"},Dr=function(Cr,Er){return hr(Cr)&&!G(Er)&&Er in Cr&&S(+Er)&&Er>=0},Pr=function(Er,pr){return pr=M(pr),Dr(Er,pr)?v(2,Er[pr]):Yt(Er,pr)},gr=function(Er,pr,Ut){return pr=M(pr),Dr(Er,pr)&&U(Ut)&&D(Ut,"value")&&!D(Ut,"get")&&!D(Ut,"set")&&!Ut.configurable&&(!D(Ut,"writable")||Ut.writable)&&(!D(Ut,"enumerable")||Ut.enumerable)?(Er[pr]=Ut.value,Er):Qt(Er,pr,Ut)};i?(yr||(at.f=Pr,rt.f=gr,Ir(_t,"buffer"),Ir(_t,"byteOffset"),Ir(_t,"byteLength"),Ir(_t,"length")),n({target:"Object",stat:!0,forced:!yr},{getOwnPropertyDescriptor:Pr,defineProperty:gr}),l.exports=function(Cr,Er,pr){var Ut=Cr.match(/\d+/)[0]/8,Vt=Cr+(pr?"Clamped":"")+"Array",bt="get"+Cr,fr="set"+Cr,cr=e[Vt],rr=cr,qt=rr&&rr.prototype,$r={},Br=function(gt,Tt){var q=St(gt);return q.view[bt](Tt*Ut+q.byteOffset,!0)},Et=function(gt,Tt,q){var At=St(gt);At.view[fr](Tt*Ut+At.byteOffset,pr?T(q):q,!0)},Bt=function(gt,Tt){Qt(gt,Tt,{get:function(){return Br(this,Tt)},set:function(q){return Et(this,Tt,q)},enumerable:!0})};yr?u&&(rr=Er(function(gt,Tt,q,At){return g(gt,qt),Ct(function(){return U(Tt)?Fr(Tt)?At!==void 0?new cr(Tt,A(q,Ut),At):q!==void 0?new cr(Tt,A(q,Ut)):new cr(Tt):hr(Tt)?ot(rr,Tt):o(Y,rr,Tt):new cr(I(Tt))}(),gt,rr)}),W&&W(rr,Kt),k(X(cr),function(gt){gt in rr||y(rr,gt,cr[gt])}),rr.prototype=qt):(rr=Er(function(gt,Tt,q,At){g(gt,qt);var Jt=0,kt=0,ar,Tr,dr;if(!U(Tt))dr=I(Tt),Tr=dr*Ut,ar=new er(Tr);else if(Fr(Tt)){ar=Tt,kt=A(q,Ut);var Lr=Tt.byteLength;if(At===void 0){if(Lr%Ut)throw new Xt(mr);if(Tr=Lr-kt,Tr<0)throw new Xt(mr)}else if(Tr=E(At)*Ut,Tr+kt>Lr)throw new Xt(mr);dr=Tr/Ut}else return hr(Tt)?ot(rr,Tt):o(Y,rr,Tt);for($t(gt,{buffer:ar,byteOffset:kt,byteLength:Tr,length:dr,view:new Or(ar)});Jt1?arguments[1]:void 0,$=D!==void 0,U=c(T),G,N,w,W,X,Y,k,st;if(U&&!g(U))for(k=f(T,U),st=k.next,T=[];!(Y=e(st,k)).done;)T.push(Y.value);for($&&M>2&&(D=n(D,arguments[2])),N=u(T),w=new(y(A))(N),W=v(w),G=0;N>G;G++)X=$?D(T[G],G):T[G],w[G]=W?S(X):+X;return w}},21822:function(l,p,t){var n=t(88037),e=t(16887),o=n.aTypedArrayConstructor,i=n.getTypedArrayConstructor;l.exports=function(u){return o(e(u,i(u)))}},36374:function(l,p,t){var n=t(11286),e=0,o=Math.random(),i=n(1 .toString);l.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+i(++e+o,36)}},91918:function(l,p,t){var n=t(72069),e=t(18565),o=t(92986),i=t(70457),u=e("iterator");l.exports=!n(function(){var f=new URL("b?a=1&b=2&c=3","http://a"),c=f.searchParams,g=new URLSearchParams("a=1&a=2&b=3"),v="";return f.pathname="c%20d",c.forEach(function(y,S){c.delete("b"),v+=S+y}),g.delete("a",2),g.delete("b",void 0),i&&(!f.toJSON||!g.has("a",1)||g.has("a",2)||!g.has("a",void 0)||g.has("b"))||!c.size&&(i||!o)||!c.sort||f.href!=="http://a/c%20d?a=1&c=3"||c.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!c[u]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||v!=="a1c3"||new URL("http://x",void 0).host!=="x"})},50234:function(l,p,t){var n=t(39729);l.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(l,p,t){var n=t(92986),e=t(72069);l.exports=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(l){var p=TypeError;l.exports=function(t,n){if(tU&&y(rt,arguments[U]),rt});if(Y.prototype=W,N!=="Error"?u?u(Y,X):f(Y,X,{name:!0}):E&&$ in w&&(c(Y,w,$),c(Y,w,"prepareStackTrace")),f(Y,w),!I)try{W.name!==N&&o(W,"name",N),W.constructor=Y}catch(k){}return Y}}},27796:function(l,p,t){var n=t(14304),e=t(38941),o=t(66543),i=t(72069),u=t(70003),f="AggregateError",c=e(f),g=!i(function(){return c([1]).errors[0]!==1})&&i(function(){return c([1],f,{cause:7}).cause!==7});n({global:!0,constructor:!0,arity:2,forced:g},{AggregateError:u(f,function(v){return function(S,E){return o(v,this,arguments)}},g,!0)})},85647:function(l,p,t){var n=t(14304),e=t(95307),o=t(26313),i=t(15861),u=t(93706),f=t(5406),c=t(90809),g=t(18526),v=t(31486),y=t(97077),S=t(55902),E=t(15453),I=t(18565),A=I("toStringTag"),T=Error,M=[].push,D=function(G,N){var w=e($,this),W;i?W=i(new T,w?o(this):$):(W=w?this:f($),c(W,A,"Error")),N!==void 0&&c(W,"message",E(N)),y(W,D,W.stack,1),arguments.length>2&&v(W,arguments[2]);var X=[];return S(G,M,{that:X}),c(W,"errors",X),W};i?i(D,T):u(D,T,{name:!0});var $=D.prototype=f(T.prototype,{constructor:g(1,D),message:g(1,""),name:g(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:D})},42861:function(l,p,t){t(85647)},35473:function(l,p,t){var n=t(14304),e=t(66009),o=t(17468),i=t(36167),u="ArrayBuffer",f=o[u],c=e[u];n({global:!0,constructor:!0,forced:c!==f},{ArrayBuffer:f}),i(u)},35495:function(l,p,t){var n=t(92986),e=t(85500),o=t(30736),i=ArrayBuffer.prototype;n&&!("detached"in i)&&e(i,"detached",{configurable:!0,get:function(){return o(this)}})},4983:function(l,p,t){var n=t(14304),e=t(88037),o=e.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:e.isView})},6875:function(l,p,t){var n=t(14304),e=t(77422),o=t(72069),i=t(17468),u=t(25001),f=t(4652),c=t(45344),g=t(16887),v=i.ArrayBuffer,y=i.DataView,S=y.prototype,E=e(v.prototype.slice),I=e(S.getUint8),A=e(S.setUint8),T=o(function(){return!new v(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:T},{slice:function(D,$){if(E&&$===void 0)return E(u(this),D);for(var U=u(this).byteLength,G=f(D,U),N=f($===void 0?U:$,U),w=new(g(this,v))(c(N-G)),W=new y(this),X=new y(w),Y=0;G=0?y:v+y;return S<0||S>=v?void 0:g[S]}}),u("at")},98700:function(l,p,t){var n=t(14304),e=t(72069),o=t(3438),i=t(37540),u=t(49671),f=t(82628),c=t(20095),g=t(84082),v=t(62083),y=t(52183),S=t(18565),E=t(73126),I=S("isConcatSpreadable"),A=E>=51||!e(function(){var D=[];return D[I]=!1,D.concat()[0]!==D}),T=function(D){if(!i(D))return!1;var $=D[I];return $!==void 0?!!$:o(D)},M=!A||!y("concat");n({target:"Array",proto:!0,arity:1,forced:M},{concat:function($){var U=u(this),G=v(U,0),N=0,w,W,X,Y,k;for(w=-1,X=arguments.length;w1?arguments[1]:void 0)}})},41585:function(l,p,t){var n=t(14304),e=t(43011),o=t(23811);n({target:"Array",proto:!0},{fill:e}),o("fill")},84554:function(l,p,t){var n=t(14304),e=t(66655).filter,o=t(52183),i=o("filter");n({target:"Array",proto:!0,forced:!i},{filter:function(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}})},33818:function(l,p,t){var n=t(14304),e=t(66655).findIndex,o=t(23811),i="findIndex",u=!0;i in[]&&Array(1)[i](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{findIndex:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),o(i)},2209:function(l,p,t){var n=t(14304),e=t(73849).findLastIndex,o=t(23811);n({target:"Array",proto:!0},{findLastIndex:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},64096:function(l,p,t){var n=t(14304),e=t(73849).findLast,o=t(23811);n({target:"Array",proto:!0},{findLast:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},36619:function(l,p,t){var n=t(14304),e=t(66655).find,o=t(23811),i="find",u=!0;i in[]&&Array(1)[i](function(){u=!1}),n({target:"Array",proto:!0,forced:u},{find:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),o(i)},74092:function(l,p,t){var n=t(14304),e=t(53149),o=t(85156),i=t(49671),u=t(82628),f=t(62083);n({target:"Array",proto:!0},{flatMap:function(g){var v=i(this),y=u(v),S;return o(g),S=f(v,0),S.length=e(S,v,v,y,0,1,g,arguments.length>1?arguments[1]:void 0),S}})},91591:function(l,p,t){var n=t(14304),e=t(53149),o=t(49671),i=t(82628),u=t(12105),f=t(62083);n({target:"Array",proto:!0},{flat:function(){var g=arguments.length?arguments[0]:void 0,v=o(this),y=i(v),S=f(v,0);return S.length=e(S,v,v,y,0,g===void 0?1:u(g)),S}})},54703:function(l,p,t){var n=t(14304),e=t(13349);n({target:"Array",proto:!0,forced:[].forEach!==e},{forEach:e})},82936:function(l,p,t){var n=t(14304),e=t(48258),o=t(97494),i=!o(function(u){Array.from(u)});n({target:"Array",stat:!0,forced:i},{from:e})},48493:function(l,p,t){var n=t(14304),e=t(94319).includes,o=t(72069),i=t(23811),u=o(function(){return!Array(1).includes()});n({target:"Array",proto:!0,forced:u},{includes:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),i("includes")},64730:function(l,p,t){var n=t(14304),e=t(77422),o=t(94319).indexOf,i=t(6148),u=e([].indexOf),f=!!u&&1/u([1],1,-0)<0,c=f||!i("indexOf");n({target:"Array",proto:!0,forced:c},{indexOf:function(v){var y=arguments.length>1?arguments[1]:void 0;return f?u(this,v,y)||0:o(this,v,y)}})},95024:function(l,p,t){var n=t(14304),e=t(3438);n({target:"Array",stat:!0},{isArray:e})},35054:function(l,p,t){var n=t(36859),e=t(23811),o=t(29107),i=t(82367),u=t(7831).f,f=t(10218),c=t(10659),g=t(70457),v=t(92986),y="Array Iterator",S=i.set,E=i.getterFor(y);l.exports=f(Array,"Array",function(A,T){S(this,{type:y,target:n(A),index:0,kind:T})},function(){var A=E(this),T=A.target,M=A.index++;if(!T||M>=T.length)return A.target=void 0,c(void 0,!0);switch(A.kind){case"keys":return c(M,!1);case"values":return c(T[M],!1)}return c([M,T[M]],!1)},"values");var I=o.Arguments=o.Array;if(e("keys"),e("values"),e("entries"),!g&&v&&I.name!=="values")try{u(I,"name",{value:"values"})}catch(A){}},25460:function(l,p,t){var n=t(14304),e=t(11286),o=t(72181),i=t(36859),u=t(6148),f=e([].join),c=o!==Object,g=c||!u("join",",");n({target:"Array",proto:!0,forced:g},{join:function(y){return f(i(this),y===void 0?",":y)}})},60703:function(l,p,t){var n=t(14304),e=t(58465);n({target:"Array",proto:!0,forced:e!==[].lastIndexOf},{lastIndexOf:e})},90468:function(l,p,t){var n=t(14304),e=t(66655).map,o=t(52183),i=o("map");n({target:"Array",proto:!0,forced:!i},{map:function(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}})},69581:function(l,p,t){var n=t(14304),e=t(72069),o=t(11051),i=t(84082),u=Array,f=e(function(){function c(){}return!(u.of.call(c)instanceof c)});n({target:"Array",stat:!0,forced:f},{of:function(){for(var g=0,v=arguments.length,y=new(o(this)?this:u)(v);v>g;)i(y,g,arguments[g++]);return y.length=v,y}})},720:function(l,p,t){var n=t(14304),e=t(49671),o=t(82628),i=t(2213),u=t(20095),f=t(72069),c=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),g=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(y){return y instanceof TypeError}},v=c||!g();n({target:"Array",proto:!0,arity:1,forced:v},{push:function(S){var E=e(this),I=o(E),A=arguments.length;u(I+A);for(var T=0;T79&&i<83,c=f||!o("reduceRight");n({target:"Array",proto:!0,forced:c},{reduceRight:function(v){return e(this,v,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(l,p,t){var n=t(14304),e=t(97264).left,o=t(6148),i=t(73126),u=t(42954),f=!u&&i>79&&i<83,c=f||!o("reduce");n({target:"Array",proto:!0,forced:c},{reduce:function(v){var y=arguments.length;return e(this,v,y,y>1?arguments[1]:void 0)}})},24608:function(l,p,t){var n=t(14304),e=t(11286),o=t(3438),i=e([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i(this)}})},51644:function(l,p,t){var n=t(14304),e=t(3438),o=t(11051),i=t(37540),u=t(4652),f=t(82628),c=t(36859),g=t(84082),v=t(18565),y=t(52183),S=t(22806),E=y("slice"),I=v("species"),A=Array,T=Math.max;n({target:"Array",proto:!0,forced:!E},{slice:function(D,$){var U=c(this),G=f(U),N=u(D,G),w=u($===void 0?G:$,G),W,X,Y;if(e(U)&&(W=U.constructor,o(W)&&(W===A||e(W.prototype))?W=void 0:i(W)&&(W=W[I],W===null&&(W=void 0)),W===A||W===void 0))return S(U,N,w);for(X=new(W===void 0?A:W)(T(w-N,0)),Y=0;N1?arguments[1]:void 0)}})},46828:function(l,p,t){var n=t(14304),e=t(11286),o=t(85156),i=t(49671),u=t(82628),f=t(12384),c=t(17361),g=t(72069),v=t(13270),y=t(6148),S=t(54040),E=t(87216),I=t(73126),A=t(68674),T=[],M=e(T.sort),D=e(T.push),$=g(function(){T.sort(void 0)}),U=g(function(){T.sort(null)}),G=y("sort"),N=!g(function(){if(I)return I<70;if(!(S&&S>3)){if(E)return!0;if(A)return A<603;var X="",Y,k,st,ut;for(Y=65;Y<76;Y++){switch(k=String.fromCharCode(Y),Y){case 66:case 69:case 70:case 72:st=3;break;case 68:case 71:st=4;break;default:st=2}for(ut=0;ut<47;ut++)T.push({k:k+ut,v:st})}for(T.sort(function(rt,at){return at.v-rt.v}),ut=0;utc(k)?1:-1}};n({target:"Array",proto:!0,forced:w},{sort:function(Y){Y!==void 0&&o(Y);var k=i(this);if(N)return Y===void 0?M(k):M(k,Y);var st=[],ut=u(k),rt,at;for(at=0;atU-W+w;Y--)y($,Y-1)}else if(w>W)for(Y=U-W;Y>G;Y--)k=Y+W-1,st=Y+w-1,k in $?$[st]=$[k]:y($,st);for(Y=0;Y=0&&v<=99?v+1900:v;return f(this,y)}})},33685:function(l,p,t){var n=t(14304);n({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(l,p,t){var n=t(14304),e=t(11890);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==e},{toISOString:e})},96049:function(l,p,t){var n=t(14304),e=t(72069),o=t(49671),i=t(89935),u=e(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});n({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(c){var g=o(this),v=i(g,"number");return typeof v=="number"&&!isFinite(v)?null:g.toISOString()}})},14038:function(l,p,t){var n=t(94879),e=t(16142),o=t(84306),i=t(18565),u=i("toPrimitive"),f=Date.prototype;n(f,u)||e(f,u,o)},55518:function(l,p,t){var n=t(11286),e=t(16142),o=Date.prototype,i="Invalid Date",u="toString",f=n(o[u]),c=n(o.getTime);String(new Date(NaN))!==i&&e(o,u,function(){var v=c(this);return v===v?f(this):i})},81742:function(l,p,t){var n=t(14304),e=t(66009),o=t(66543),i=t(70003),u="WebAssembly",f=e[u],c=new Error("e",{cause:7}).cause!==7,g=function(y,S){var E={};E[y]=i(y,S,c),n({global:!0,constructor:!0,arity:1,forced:c},E)},v=function(y,S){if(f&&f[y]){var E={};E[y]=i(u+"."+y,S,c),n({target:u,stat:!0,constructor:!0,arity:1,forced:c},E)}};g("Error",function(y){return function(E){return o(y,this,arguments)}}),g("EvalError",function(y){return function(E){return o(y,this,arguments)}}),g("RangeError",function(y){return function(E){return o(y,this,arguments)}}),g("ReferenceError",function(y){return function(E){return o(y,this,arguments)}}),g("SyntaxError",function(y){return function(E){return o(y,this,arguments)}}),g("TypeError",function(y){return function(E){return o(y,this,arguments)}}),g("URIError",function(y){return function(E){return o(y,this,arguments)}}),v("CompileError",function(y){return function(E){return o(y,this,arguments)}}),v("LinkError",function(y){return function(E){return o(y,this,arguments)}}),v("RuntimeError",function(y){return function(E){return o(y,this,arguments)}})},8720:function(l,p,t){var n=t(16142),e=t(58434),o=Error.prototype;o.toString!==e&&n(o,"toString",e)},8894:function(l,p,t){var n=t(14304),e=t(11286),o=t(17361),i=e("".charAt),u=e("".charCodeAt),f=e(/./.exec),c=e(1 .toString),g=e("".toUpperCase),v=/[\w*+\-./@]/,y=function(S,E){for(var I=c(S,16);I.length9490626562425156e-8?i(y)+f:e(y-1+u(y-1)*u(y+1))}})},15656:function(l,p,t){var n=t(14304),e=Math.asinh,o=Math.log,i=Math.sqrt;function u(c){var g=+c;return!isFinite(g)||g===0?g:g<0?-u(-g):o(g+i(g*g+1))}var f=!(e&&1/e(0)>0);n({target:"Math",stat:!0,forced:f},{asinh:u})},22091:function(l,p,t){var n=t(14304),e=Math.atanh,o=Math.log,i=!(e&&1/e(-0)<0);n({target:"Math",stat:!0,forced:i},{atanh:function(f){var c=+f;return c===0?c:o((1+c)/(1-c))/2}})},2886:function(l,p,t){var n=t(14304),e=t(93976),o=Math.abs,i=Math.pow;n({target:"Math",stat:!0},{cbrt:function(f){var c=+f;return e(c)*i(o(c),.3333333333333333)}})},25895:function(l,p,t){var n=t(14304),e=Math.floor,o=Math.log,i=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(f){var c=f>>>0;return c?31-e(o(c+.5)*i):32}})},24228:function(l,p,t){var n=t(14304),e=t(98940),o=Math.cosh,i=Math.abs,u=Math.E,f=!o||o(710)===1/0;n({target:"Math",stat:!0,forced:f},{cosh:function(g){var v=e(i(g)-1)+1;return(v+1/(v*u*u))*(u/2)}})},79488:function(l,p,t){var n=t(14304),e=t(98940);n({target:"Math",stat:!0,forced:e!==Math.expm1},{expm1:e})},75987:function(l,p,t){var n=t(14304),e=t(93279);n({target:"Math",stat:!0},{fround:e})},81555:function(l,p,t){var n=t(14304),e=Math.hypot,o=Math.abs,i=Math.sqrt,u=!!e&&e(1/0,NaN)!==1/0;n({target:"Math",stat:!0,arity:2,forced:u},{hypot:function(c,g){for(var v=0,y=0,S=arguments.length,E=0,I,A;y0?(A=I/E,v+=A*A):v+=I;return E===1/0?1/0:E*i(v)}})},87854:function(l,p,t){var n=t(14304),e=t(72069),o=Math.imul,i=e(function(){return o(4294967295,5)!==-5||o.length!==2});n({target:"Math",stat:!0,forced:i},{imul:function(f,c){var g=65535,v=+f,y=+c,S=g&v,E=g&y;return 0|S*E+((g&v>>>16)*E+S*(g&y>>>16)<<16>>>0)}})},35074:function(l,p,t){var n=t(14304),e=t(41942);n({target:"Math",stat:!0},{log10:e})},50946:function(l,p,t){var n=t(14304),e=t(49366);n({target:"Math",stat:!0},{log1p:e})},29417:function(l,p,t){var n=t(14304),e=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(u){return e(u)/o}})},80628:function(l,p,t){var n=t(14304),e=t(93976);n({target:"Math",stat:!0},{sign:e})},74375:function(l,p,t){var n=t(14304),e=t(72069),o=t(98940),i=Math.abs,u=Math.exp,f=Math.E,c=e(function(){return Math.sinh(-2e-17)!==-2e-17});n({target:"Math",stat:!0,forced:c},{sinh:function(v){var y=+v;return i(y)<1?(o(y)-o(-y))/2:(u(y-1)-u(-y-1))*(f/2)}})},29708:function(l,p,t){var n=t(14304),e=t(98940),o=Math.exp;n({target:"Math",stat:!0},{tanh:function(u){var f=+u,c=e(f),g=e(-f);return c===1/0?1:g===1/0?-1:(c-g)/(o(f)+o(-f))}})},93449:function(l,p,t){var n=t(78401);n(Math,"Math",!0)},9111:function(l,p,t){var n=t(14304),e=t(22459);n({target:"Math",stat:!0},{trunc:e})},83514:function(l,p,t){var n=t(14304),e=t(70457),o=t(92986),i=t(66009),u=t(75081),f=t(11286),c=t(13278),g=t(94879),v=t(32345),y=t(95307),S=t(491),E=t(89935),I=t(72069),A=t(83258).f,T=t(71349).f,M=t(7831).f,D=t(34338),$=t(85900).trim,U="Number",G=i[U],N=u[U],w=G.prototype,W=i.TypeError,X=f("".slice),Y=f("".charCodeAt),k=function(pt){var Ct=E(pt,"number");return typeof Ct=="bigint"?Ct:st(Ct)},st=function(pt){var Ct=E(pt,"number"),St,$t,Rt,Qt,Yt,Xt,er,ir;if(S(Ct))throw new W("Cannot convert a Symbol value to a number");if(typeof Ct=="string"&&Ct.length>2){if(Ct=$(Ct),St=Y(Ct,0),St===43||St===45){if($t=Y(Ct,2),$t===88||$t===120)return NaN}else if(St===48){switch(Y(Ct,1)){case 66:case 98:Rt=2,Qt=49;break;case 79:case 111:Rt=8,Qt=55;break;default:return+Ct}for(Yt=X(Ct,2),Xt=Yt.length,er=0;erQt)return NaN;return parseInt(Yt,Rt)}}return+Ct},ut=c(U,!G(" 0o1")||!G("0b1")||G("+0x1")),rt=function(pt){return y(w,pt)&&I(function(){D(pt)})},at=function(Ct){var St=arguments.length<1?0:G(k(Ct));return rt(this)?v(Object(St),this,at):St};at.prototype=w,ut&&!e&&(w.constructor=at),n({global:!0,constructor:!0,wrap:!0,forced:ut},{Number:at});var ot=function(pt,Ct){for(var St=o?A(Ct):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),$t=0,Rt;St.length>$t;$t++)g(Ct,Rt=St[$t])&&!g(pt,Rt)&&M(pt,Rt,T(Ct,Rt))};e&&N&&ot(u[U],N),(ut||e)&&ot(u[U],G)},15096:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(l,p,t){var n=t(14304),e=t(98074);n({target:"Number",stat:!0},{isFinite:e})},99663:function(l,p,t){var n=t(14304),e=t(613);n({target:"Number",stat:!0},{isInteger:e})},89988:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0},{isNaN:function(o){return o!==o}})},54427:function(l,p,t){var n=t(14304),e=t(613),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(u){return e(u)&&o(u)<=9007199254740991}})},67895:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(l,p,t){var n=t(14304),e=t(25838);n({target:"Number",stat:!0,forced:Number.parseFloat!==e},{parseFloat:e})},55461:function(l,p,t){var n=t(14304),e=t(23009);n({target:"Number",stat:!0,forced:Number.parseInt!==e},{parseInt:e})},97339:function(l,p,t){var n=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(41942),c=t(72069),g=RangeError,v=String,y=isFinite,S=Math.abs,E=Math.floor,I=Math.pow,A=Math.round,T=e(1 .toExponential),M=e(u),D=e("".slice),$=T(-69e-12,4)==="-6.9000e-11"&&T(1.255,2)==="1.25e+0"&&T(12345,3)==="1.235e+4"&&T(25,0)==="3e+1",U=function(){return c(function(){T(1,1/0)})&&c(function(){T(1,-1/0)})},G=function(){return!c(function(){T(1/0,1/0),T(NaN,1/0)})},N=!$||!U()||!G();n({target:"Number",proto:!0,forced:N},{toExponential:function(W){var X=i(this);if(W===void 0)return T(X);var Y=o(W);if(!y(X))return String(X);if(Y<0||Y>20)throw new g("Incorrect fraction digits");if($)return T(X,Y);var k="",st="",ut=0,rt="",at="";if(X<0&&(k="-",X=-X),X===0)ut=0,st=M("0",Y+1);else{var ot=f(X);ut=E(ot);var pt=0,Ct=I(10,ut-Y);pt=A(X/Ct),2*X>=(2*pt+1)*Ct&&(pt+=1),pt>=I(10,Y+1)&&(pt/=10,ut+=1),st=v(pt)}return Y!==0&&(st=D(st,0,1)+"."+D(st,1)),ut===0?(rt="+",at="0"):(rt=ut>0?"+":"-",at=v(S(ut))),st+="e"+rt+at,k+st}})},3670:function(l,p,t){var n=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(72069),c=RangeError,g=String,v=Math.floor,y=e(u),S=e("".slice),E=e(1 .toFixed),I=function(U,G,N){return G===0?N:G%2===1?I(U,G-1,N*U):I(U*U,G/2,N)},A=function(U){for(var G=0,N=U;N>=4096;)G+=12,N/=4096;for(;N>=2;)G+=1,N/=2;return G},T=function(U,G,N){for(var w=-1,W=N;++w<6;)W+=G*U[w],U[w]=W%1e7,W=v(W/1e7)},M=function(U,G){for(var N=6,w=0;--N>=0;)w+=U[N],U[N]=v(w/G),w=w%G*1e7},D=function(U){for(var G=6,N="";--G>=0;)if(N!==""||G===0||U[G]!==0){var w=g(U[G]);N=N===""?w:N+y("0",7-w.length)+w}return N},$=f(function(){return E(8e-5,3)!=="0.000"||E(.9,0)!=="1"||E(1.255,2)!=="1.25"||E(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!f(function(){E({})});n({target:"Number",proto:!0,forced:$},{toFixed:function(G){var N=i(this),w=o(G),W=[0,0,0,0,0,0],X="",Y="0",k,st,ut,rt;if(w<0||w>20)throw new c("Incorrect fraction digits");if(N!==N)return"NaN";if(N<=-1e21||N>=1e21)return g(N);if(N<0&&(X="-",N=-N),N>1e-21)if(k=A(N*I(2,69,1))-69,st=k<0?N*I(2,-k,1):N/I(2,k,1),st*=4503599627370496,k=52-k,k>0){for(T(W,0,st),ut=w;ut>=7;)T(W,1e7,0),ut-=7;for(T(W,I(10,ut,1),0),ut=k-1;ut>=23;)M(W,8388608),ut-=23;M(W,1<0?(rt=Y.length,Y=X+(rt<=w?"0."+y("0",w-rt)+Y:S(Y,0,rt-w)+"."+S(Y,rt-w))):Y=X+Y,Y}})},15224:function(l,p,t){var n=t(14304),e=t(11286),o=t(72069),i=t(34338),u=e(1 .toPrecision),f=o(function(){return u(1,void 0)!=="1"})||!o(function(){u({})});n({target:"Number",proto:!0,forced:f},{toPrecision:function(g){return g===void 0?u(i(this)):u(i(this),g)}})},45891:function(l,p,t){var n=t(14304),e=t(16667);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})},99910:function(l,p,t){var n=t(14304),e=t(92986),o=t(5406);n({target:"Object",stat:!0,sham:!e},{create:o})},92445:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(g,v){f.f(u(this),g,{get:i(v),enumerable:!0,configurable:!0})}})},21875:function(l,p,t){var n=t(14304),e=t(92986),o=t(61963).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!e},{defineProperties:o})},4383:function(l,p,t){var n=t(14304),e=t(92986),o=t(7831).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!e},{defineProperty:o})},11361:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(g,v){f.f(u(this),g,{set:i(v),enumerable:!0,configurable:!0})}})},13728:function(l,p,t){var n=t(14304),e=t(8511).entries;n({target:"Object",stat:!0},{entries:function(i){return e(i)}})},14885:function(l,p,t){var n=t(14304),e=t(27534),o=t(72069),i=t(37540),u=t(31853).onFreeze,f=Object.freeze,c=o(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!e},{freeze:function(v){return f&&i(v)?f(u(v)):v}})},30343:function(l,p,t){var n=t(14304),e=t(55902),o=t(84082);n({target:"Object",stat:!0},{fromEntries:function(u){var f={};return e(u,function(c,g){o(f,c,g)},{AS_ENTRIES:!0}),f}})},22045:function(l,p,t){var n=t(14304),e=t(72069),o=t(36859),i=t(71349).f,u=t(92986),f=!u||e(function(){i(1)});n({target:"Object",stat:!0,forced:f,sham:!u},{getOwnPropertyDescriptor:function(g,v){return i(o(g),v)}})},75e3:function(l,p,t){var n=t(14304),e=t(92986),o=t(16885),i=t(36859),u=t(71349),f=t(84082);n({target:"Object",stat:!0,sham:!e},{getOwnPropertyDescriptors:function(g){for(var v=i(g),y=u.f,S=o(v),E={},I=0,A,T;S.length>I;)T=y(v,A=S[I++]),T!==void 0&&f(E,A,T);return E}})},64658:function(l,p,t){var n=t(14304),e=t(72069),o=t(92880).f,i=e(function(){return!Object.getOwnPropertyNames(1)});n({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:o})},45223:function(l,p,t){var n=t(14304),e=t(39729),o=t(72069),i=t(24943),u=t(49671),f=!e||o(function(){i.f(1)});n({target:"Object",stat:!0,forced:f},{getOwnPropertySymbols:function(g){var v=i.f;return v?v(u(g)):[]}})},16017:function(l,p,t){var n=t(14304),e=t(72069),o=t(49671),i=t(26313),u=t(87501),f=e(function(){i(1)});n({target:"Object",stat:!0,forced:f,sham:!u},{getPrototypeOf:function(g){return i(o(g))}})},84681:function(l,p,t){var n=t(14304),e=t(38941),o=t(11286),i=t(85156),u=t(2068),f=t(50035),c=t(55902),g=t(72069),v=Object.groupBy,y=e("Object","create"),S=o([].push),E=!v||g(function(){return v("ab",function(I){return I}).a.length!==1});n({target:"Object",stat:!0,forced:E},{groupBy:function(A,T){u(A),i(T);var M=y(null),D=0;return c(A,function($){var U=f(T($,D++));U in M?S(M[U],$):M[U]=[$]}),M}})},73421:function(l,p,t){var n=t(14304),e=t(94879);n({target:"Object",stat:!0},{hasOwn:e})},31046:function(l,p,t){var n=t(14304),e=t(28174);n({target:"Object",stat:!0,forced:Object.isExtensible!==e},{isExtensible:e})},94645:function(l,p,t){var n=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isFrozen,c=u||e(function(){f(1)});n({target:"Object",stat:!0,forced:c},{isFrozen:function(v){return!o(v)||u&&i(v)==="ArrayBuffer"?!0:f?f(v):!1}})},62935:function(l,p,t){var n=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isSealed,c=u||e(function(){f(1)});n({target:"Object",stat:!0,forced:c},{isSealed:function(v){return!o(v)||u&&i(v)==="ArrayBuffer"?!0:f?f(v):!1}})},93446:function(l,p,t){var n=t(14304),e=t(13944);n({target:"Object",stat:!0},{is:e})},62518:function(l,p,t){var n=t(14304),e=t(49671),o=t(18350),i=t(72069),u=i(function(){o(1)});n({target:"Object",stat:!0,forced:u},{keys:function(c){return o(e(c))}})},45130:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(v){var y=i(this),S=u(v),E;do if(E=c(y,S))return E.get;while(y=f(y))}})},51542:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(v){var y=i(this),S=u(v),E;do if(E=c(y,S))return E.set;while(y=f(y))}})},43781:function(l,p,t){var n=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.preventExtensions,c=u(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!i},{preventExtensions:function(v){return f&&e(v)?f(o(v)):v}})},25738:function(l,p,t){var n=t(92986),e=t(85500),o=t(37540),i=t(52427),u=t(49671),f=t(2068),c=Object.getPrototypeOf,g=Object.setPrototypeOf,v=Object.prototype,y="__proto__";if(n&&c&&g&&!(y in v))try{e(v,y,{configurable:!0,get:function(){return c(u(this))},set:function(E){var I=f(this);i(E)&&o(I)&&g(I,E)}})}catch(S){}},93247:function(l,p,t){var n=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.seal,c=u(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!i},{seal:function(v){return f&&e(v)?f(o(v)):v}})},41533:function(l,p,t){var n=t(14304),e=t(15861);n({target:"Object",stat:!0},{setPrototypeOf:e})},60225:function(l,p,t){var n=t(67878),e=t(16142),o=t(60105);n||e(Object.prototype,"toString",o,{unsafe:!0})},69920:function(l,p,t){var n=t(14304),e=t(8511).values;n({target:"Object",stat:!0},{values:function(i){return e(i)}})},89205:function(l,p,t){var n=t(14304),e=t(25838);n({global:!0,forced:parseFloat!==e},{parseFloat:e})},78546:function(l,p,t){var n=t(14304),e=t(23009);n({global:!0,forced:parseInt!==e},{parseInt:e})},16893:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{allSettled:function(v){var y=this,S=i.f(y),E=S.resolve,I=S.reject,A=u(function(){var T=o(y.resolve),M=[],D=0,$=1;f(v,function(U){var G=D++,N=!1;$++,e(T,y,U).then(function(w){N||(N=!0,M[G]={status:"fulfilled",value:w},--$||E(M))},function(w){N||(N=!0,M[G]={status:"rejected",reason:w},--$||E(M))})}),--$||E(M)});return A.error&&I(A.value),S.promise}})},11733:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{all:function(v){var y=this,S=i.f(y),E=S.resolve,I=S.reject,A=u(function(){var T=o(y.resolve),M=[],D=0,$=1;f(v,function(U){var G=D++,N=!1;$++,e(T,y,U).then(function(w){N||(N=!0,M[G]=w,--$||E(M))},I)}),--$||E(M)});return A.error&&I(A.value),S.promise}})},3676:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(38941),u=t(24649),f=t(67805),c=t(55902),g=t(26035),v="No one promise resolved";n({target:"Promise",stat:!0,forced:g},{any:function(S){var E=this,I=i("AggregateError"),A=u.f(E),T=A.resolve,M=A.reject,D=f(function(){var $=o(E.resolve),U=[],G=0,N=1,w=!1;c(S,function(W){var X=G++,Y=!1;N++,e($,E,W).then(function(k){Y||w||(w=!0,T(k))},function(k){Y||w||(Y=!0,U[X]=k,--N||M(new I(U,v)))})}),--N||M(new I(U,v))});return D.error&&M(D.value),A.promise}})},14013:function(l,p,t){var n=t(14304),e=t(70457),o=t(37130).CONSTRUCTOR,i=t(98844),u=t(38941),f=t(23583),c=t(16142),g=i&&i.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(y){return this.then(void 0,y)}}),!e&&f(i)){var v=u("Promise").prototype.catch;g.catch!==v&&c(g,"catch",v,{unsafe:!0})}},20238:function(l,p,t){var n=t(14304),e=t(70457),o=t(42954),i=t(66009),u=t(96499),f=t(16142),c=t(15861),g=t(78401),v=t(36167),y=t(85156),S=t(23583),E=t(37540),I=t(12833),A=t(16887),T=t(23115).set,M=t(9709),D=t(99095),$=t(67805),U=t(76895),G=t(82367),N=t(98844),w=t(37130),W=t(24649),X="Promise",Y=w.CONSTRUCTOR,k=w.REJECTION_EVENT,st=w.SUBCLASSING,ut=G.getterFor(X),rt=G.set,at=N&&N.prototype,ot=N,pt=at,Ct=i.TypeError,St=i.document,$t=i.process,Rt=W.f,Qt=Rt,Yt=!!(St&&St.createEvent&&i.dispatchEvent),Xt="unhandledrejection",er="rejectionhandled",ir=0,Or=1,yr=2,xr=1,Kt=2,_t,hr,Sr,mr,Ir=function(bt){var fr;return E(bt)&&S(fr=bt.then)?fr:!1},Fr=function(bt,fr){var cr=fr.value,rr=fr.state===Or,qt=rr?bt.ok:bt.fail,$r=bt.resolve,Br=bt.reject,Et=bt.domain,Bt,wt,gt;try{qt?(rr||(fr.rejection===Kt&&Er(fr),fr.rejection=xr),qt===!0?Bt=cr:(Et&&Et.enter(),Bt=qt(cr),Et&&(Et.exit(),gt=!0)),Bt===bt.promise?Br(new Ct("Promise-chain cycle")):(wt=Ir(Bt))?u(wt,Bt,$r,Br):$r(Bt)):Br(cr)}catch(Tt){Et&&!gt&&Et.exit(),Br(Tt)}},Dr=function(bt,fr){bt.notified||(bt.notified=!0,M(function(){for(var cr=bt.reactions,rr;rr=cr.get();)Fr(rr,bt);bt.notified=!1,fr&&!bt.rejection&&gr(bt)}))},Pr=function(bt,fr,cr){var rr,qt;Yt?(rr=St.createEvent("Event"),rr.promise=fr,rr.reason=cr,rr.initEvent(bt,!1,!0),i.dispatchEvent(rr)):rr={promise:fr,reason:cr},!k&&(qt=i["on"+bt])?qt(rr):bt===Xt&&D("Unhandled promise rejection",cr)},gr=function(bt){u(T,i,function(){var fr=bt.facade,cr=bt.value,rr=Cr(bt),qt;if(rr&&(qt=$(function(){o?$t.emit("unhandledRejection",cr,fr):Pr(Xt,fr,cr)}),bt.rejection=o||Cr(bt)?Kt:xr,qt.error))throw qt.value})},Cr=function(bt){return bt.rejection!==xr&&!bt.parent},Er=function(bt){u(T,i,function(){var fr=bt.facade;o?$t.emit("rejectionHandled",fr):Pr(er,fr,bt.value)})},pr=function(bt,fr,cr){return function(rr){bt(fr,rr,cr)}},Ut=function(bt,fr,cr){bt.done||(bt.done=!0,cr&&(bt=cr),bt.value=fr,bt.state=yr,Dr(bt,!0))},Vt=function(bt,fr,cr){if(!bt.done){bt.done=!0,cr&&(bt=cr);try{if(bt.facade===fr)throw new Ct("Promise can't be resolved itself");var rr=Ir(fr);rr?M(function(){var qt={done:!1};try{u(rr,fr,pr(Vt,qt,bt),pr(Ut,qt,bt))}catch($r){Ut(qt,$r,bt)}}):(bt.value=fr,bt.state=Or,Dr(bt,!1))}catch(qt){Ut({done:!1},qt,bt)}}};if(Y&&(ot=function(fr){I(this,pt),y(fr),u(_t,this);var cr=ut(this);try{fr(pr(Vt,cr),pr(Ut,cr))}catch(rr){Ut(cr,rr)}},pt=ot.prototype,_t=function(fr){rt(this,{type:X,done:!1,notified:!1,parent:!1,reactions:new U,rejection:!1,state:ir,value:void 0})},_t.prototype=f(pt,"then",function(fr,cr){var rr=ut(this),qt=Rt(A(this,ot));return rr.parent=!0,qt.ok=S(fr)?fr:!0,qt.fail=S(cr)&&cr,qt.domain=o?$t.domain:void 0,rr.state===ir?rr.reactions.add(qt):M(function(){Fr(qt,rr)}),qt.promise}),hr=function(){var bt=new _t,fr=ut(bt);this.promise=bt,this.resolve=pr(Vt,fr),this.reject=pr(Ut,fr)},W.f=Rt=function(bt){return bt===ot||bt===Sr?new hr(bt):Qt(bt)},!e&&S(N)&&at!==Object.prototype)){mr=at.then,st||f(at,"then",function(fr,cr){var rr=this;return new ot(function(qt,$r){u(mr,rr,qt,$r)}).then(fr,cr)},{unsafe:!0});try{delete at.constructor}catch(bt){}c&&c(at,pt)}n({global:!0,constructor:!0,wrap:!0,forced:Y},{Promise:ot}),g(ot,X,!1,!0),v(X)},58361:function(l,p,t){var n=t(14304),e=t(70457),o=t(98844),i=t(72069),u=t(38941),f=t(23583),c=t(16887),g=t(87408),v=t(16142),y=o&&o.prototype,S=!!o&&i(function(){y.finally.call({then:function(){}},function(){})});if(n({target:"Promise",proto:!0,real:!0,forced:S},{finally:function(I){var A=c(this,u("Promise")),T=f(I);return this.then(T?function(M){return g(A,I()).then(function(){return M})}:I,T?function(M){return g(A,I()).then(function(){throw M})}:I)}}),!e&&f(o)){var E=u("Promise").prototype.finally;y.finally!==E&&v(y,"finally",E,{unsafe:!0})}},63616:function(l,p,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{race:function(v){var y=this,S=i.f(y),E=S.reject,I=u(function(){var A=o(y.resolve);f(v,function(T){e(A,y,T).then(S.resolve,E)})});return I.error&&E(I.value),S.promise}})},36027:function(l,p,t){var n=t(14304),e=t(24649),o=t(37130).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:o},{reject:function(u){var f=e.f(this),c=f.reject;return c(u),f.promise}})},97282:function(l,p,t){var n=t(14304),e=t(38941),o=t(70457),i=t(98844),u=t(37130).CONSTRUCTOR,f=t(87408),c=e("Promise"),g=o&&!u;n({target:"Promise",stat:!0,forced:o||u},{resolve:function(y){return f(g&&this===c?i:this,y)}})},23958:function(l,p,t){var n=t(14304),e=t(24649);n({target:"Promise",stat:!0},{withResolvers:function(){var i=e.f(this);return{promise:i.promise,resolve:i.resolve,reject:i.reject}}})},9798:function(l,p,t){var n=t(14304),e=t(66543),o=t(85156),i=t(25001),u=t(72069),f=!u(function(){Reflect.apply(function(){})});n({target:"Reflect",stat:!0,forced:f},{apply:function(g,v,y){return e(o(g),v,i(y))}})},2371:function(l,p,t){var n=t(14304),e=t(38941),o=t(66543),i=t(91384),u=t(80042),f=t(25001),c=t(37540),g=t(5406),v=t(72069),y=e("Reflect","construct"),S=Object.prototype,E=[].push,I=v(function(){function M(){}return!(y(function(){},[],M)instanceof M)}),A=!v(function(){y(function(){})}),T=I||A;n({target:"Reflect",stat:!0,forced:T,sham:T},{construct:function(D,$){u(D),f($);var U=arguments.length<3?D:u(arguments[2]);if(A&&!I)return y(D,$,U);if(D===U){switch($.length){case 0:return new D;case 1:return new D($[0]);case 2:return new D($[0],$[1]);case 3:return new D($[0],$[1],$[2]);case 4:return new D($[0],$[1],$[2],$[3])}var G=[null];return o(E,G,$),new(o(i,D,G))}var N=U.prototype,w=g(c(N)?N:S),W=o(D,w,$);return c(W)?W:w}})},76185:function(l,p,t){var n=t(14304),e=t(92986),o=t(25001),i=t(50035),u=t(7831),f=t(72069),c=f(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})});n({target:"Reflect",stat:!0,forced:c,sham:!e},{defineProperty:function(v,y,S){o(v);var E=i(y);o(S);try{return u.f(v,E,S),!0}catch(I){return!1}}})},76553:function(l,p,t){var n=t(14304),e=t(25001),o=t(71349).f;n({target:"Reflect",stat:!0},{deleteProperty:function(u,f){var c=o(e(u),f);return c&&!c.configurable?!1:delete u[f]}})},25227:function(l,p,t){var n=t(14304),e=t(92986),o=t(25001),i=t(71349);n({target:"Reflect",stat:!0,sham:!e},{getOwnPropertyDescriptor:function(f,c){return i.f(o(f),c)}})},91723:function(l,p,t){var n=t(14304),e=t(25001),o=t(26313),i=t(87501);n({target:"Reflect",stat:!0,sham:!i},{getPrototypeOf:function(f){return o(e(f))}})},93518:function(l,p,t){var n=t(14304),e=t(96499),o=t(37540),i=t(25001),u=t(69745),f=t(71349),c=t(26313);function g(v,y){var S=arguments.length<3?v:arguments[2],E,I;if(i(v)===S)return v[y];if(E=f.f(v,y),E)return u(E)?E.value:E.get===void 0?void 0:e(E.get,S);if(o(I=c(v)))return g(I,y,S)}n({target:"Reflect",stat:!0},{get:g})},57882:function(l,p,t){var n=t(14304);n({target:"Reflect",stat:!0},{has:function(o,i){return i in o}})},37796:function(l,p,t){var n=t(14304),e=t(25001),o=t(28174);n({target:"Reflect",stat:!0},{isExtensible:function(u){return e(u),o(u)}})},11563:function(l,p,t){var n=t(14304),e=t(16885);n({target:"Reflect",stat:!0},{ownKeys:e})},26159:function(l,p,t){var n=t(14304),e=t(38941),o=t(25001),i=t(27534);n({target:"Reflect",stat:!0,sham:!i},{preventExtensions:function(f){o(f);try{var c=e("Object","preventExtensions");return c&&c(f),!0}catch(g){return!1}}})},77487:function(l,p,t){var n=t(14304),e=t(25001),o=t(53408),i=t(15861);i&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(f,c){e(f),o(c);try{return i(f,c),!0}catch(g){return!1}}})},20962:function(l,p,t){var n=t(14304),e=t(96499),o=t(25001),i=t(37540),u=t(69745),f=t(72069),c=t(7831),g=t(71349),v=t(26313),y=t(18526);function S(I,A,T){var M=arguments.length<4?I:arguments[3],D=g.f(o(I),A),$,U,G;if(!D){if(i(U=v(I)))return S(U,A,T,M);D=y(0)}if(u(D)){if(D.writable===!1||!i(M))return!1;if($=g.f(M,A)){if($.get||$.set||$.writable===!1)return!1;$.value=T,c.f(M,A,$)}else c.f(M,A,y(0,T))}else{if(G=D.set,G===void 0)return!1;e(G,M,T)}return!0}var E=f(function(){var I=function(){},A=c.f(new I,"a",{configurable:!0});return Reflect.set(I.prototype,"a",1,A)!==!1});n({target:"Reflect",stat:!0,forced:E},{set:S})},6130:function(l,p,t){var n=t(14304),e=t(66009),o=t(78401);n({global:!0},{Reflect:{}}),o(e.Reflect,"Reflect",!0)},1354:function(l,p,t){var n=t(92986),e=t(66009),o=t(11286),i=t(13278),u=t(32345),f=t(90809),c=t(5406),g=t(83258).f,v=t(95307),y=t(11566),S=t(17361),E=t(54932),I=t(39807),A=t(2594),T=t(16142),M=t(72069),D=t(94879),$=t(82367).enforce,U=t(36167),G=t(18565),N=t(76769),w=t(85220),W=G("match"),X=e.RegExp,Y=X.prototype,k=e.SyntaxError,st=o(Y.exec),ut=o("".charAt),rt=o("".replace),at=o("".indexOf),ot=o("".slice),pt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ct=/a/g,St=/a/g,$t=new X(Ct)!==Ct,Rt=I.MISSED_STICKY,Qt=I.UNSUPPORTED_Y,Yt=n&&(!$t||Rt||N||w||M(function(){return St[W]=!1,X(Ct)!==Ct||X(St)===St||String(X(Ct,"i"))!=="/a/i"})),Xt=function(xr){for(var Kt=xr.length,_t=0,hr="",Sr=!1,mr;_t<=Kt;_t++){if(mr=ut(xr,_t),mr==="\\"){hr+=mr+ut(xr,++_t);continue}!Sr&&mr==="."?hr+="[\\s\\S]":(mr==="["?Sr=!0:mr==="]"&&(Sr=!1),hr+=mr)}return hr},er=function(xr){for(var Kt=xr.length,_t=0,hr="",Sr=[],mr=c(null),Ir=!1,Fr=!1,Dr=0,Pr="",gr;_t<=Kt;_t++){if(gr=ut(xr,_t),gr==="\\")gr+=ut(xr,++_t);else if(gr==="]")Ir=!1;else if(!Ir)switch(!0){case gr==="[":Ir=!0;break;case gr==="(":st(pt,ot(xr,_t+1))&&(_t+=2,Fr=!0),hr+=gr,Dr++;continue;case(gr===">"&&Fr):if(Pr===""||D(mr,Pr))throw new k("Invalid capture group name");mr[Pr]=!0,Sr[Sr.length]=[Pr,Dr],Fr=!1,Pr="";continue}Fr?Pr+=gr:hr+=gr}return[hr,Sr]};if(i("RegExp",Yt)){for(var ir=function(Kt,_t){var hr=v(Y,this),Sr=y(Kt),mr=_t===void 0,Ir=[],Fr=Kt,Dr,Pr,gr,Cr,Er,pr;if(!hr&&Sr&&mr&&Kt.constructor===ir)return Kt;if((Sr||v(Y,Kt))&&(Kt=Kt.source,mr&&(_t=E(Fr))),Kt=Kt===void 0?"":S(Kt),_t=_t===void 0?"":S(_t),Fr=Kt,N&&"dotAll"in Ct&&(Pr=!!_t&&at(_t,"s")>-1,Pr&&(_t=rt(_t,/s/g,""))),Dr=_t,Rt&&"sticky"in Ct&&(gr=!!_t&&at(_t,"y")>-1,gr&&Qt&&(_t=rt(_t,/y/g,""))),w&&(Cr=er(Kt),Kt=Cr[0],Ir=Cr[1]),Er=u(X(Kt,_t),hr?this:Y,ir),(Pr||gr||Ir.length)&&(pr=$(Er),Pr&&(pr.dotAll=!0,pr.raw=ir(Xt(Kt),Dr)),gr&&(pr.sticky=!0),Ir.length&&(pr.groups=Ir)),Kt!==Fr)try{f(Er,"source",Fr===""?"(?:)":Fr)}catch(Ut){}return Er},Or=g(X),yr=0;Or.length>yr;)A(ir,X,Or[yr++]);Y.constructor=ir,ir.prototype=Y,T(e,"RegExp",ir,{constructor:!0})}U("RegExp")},47119:function(l,p,t){var n=t(92986),e=t(76769),o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;n&&e&&i(f,"dotAll",{configurable:!0,get:function(){if(this!==f){if(o(this)==="RegExp")return!!u(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},31145:function(l,p,t){var n=t(14304),e=t(44381);n({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},96773:function(l,p,t){var n=t(66009),e=t(92986),o=t(85500),i=t(29833),u=t(72069),f=n.RegExp,c=f.prototype,g=e&&u(function(){var v=!0;try{f(".","d")}catch(D){v=!1}var y={},S="",E=v?"dgimsy":"gimsy",I=function(D,$){Object.defineProperty(y,D,{get:function(){return S+=$,!0}})},A={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};v&&(A.hasIndices="d");for(var T in A)I(T,A[T]);var M=Object.getOwnPropertyDescriptor(c,"flags").get.call(y);return M!==E||S!==E});g&&o(c,"flags",{configurable:!0,get:i})},14371:function(l,p,t){var n=t(92986),e=t(39807).MISSED_STICKY,o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;n&&e&&i(f,"sticky",{configurable:!0,get:function(){if(this!==f){if(o(this)==="RegExp")return!!u(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},18180:function(l,p,t){t(31145);var n=t(14304),e=t(96499),o=t(23583),i=t(25001),u=t(17361),f=function(){var g=!1,v=/[ac]/;return v.exec=function(){return g=!0,/./.exec.apply(this,arguments)},v.test("abc")===!0&&g}(),c=/./.test;n({target:"RegExp",proto:!0,forced:!f},{test:function(g){var v=i(this),y=u(g),S=v.exec;if(!o(S))return e(c,v,y);var E=e(S,v,y);return E===null?!1:(i(E),!0)}})},83147:function(l,p,t){var n=t(86588).PROPER,e=t(16142),o=t(25001),i=t(17361),u=t(72069),f=t(54932),c="toString",g=RegExp.prototype,v=g[c],y=u(function(){return v.call({source:"a",flags:"b"})!=="/a/b"}),S=n&&v.name!==c;(y||S)&&e(g,c,function(){var I=o(this),A=i(I.source),T=i(f(I));return"/"+A+"/"+T},{unsafe:!0})},6583:function(l,p,t){var n=t(89378),e=t(34440);n("Set",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},e)},86548:function(l,p,t){var n=t(14304),e=t(41754),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("difference")},{difference:e})},15282:function(l,p,t){var n=t(14304),e=t(72069),o=t(92292),i=t(94118),u=!i("intersection")||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:u},{intersection:o})},51275:function(l,p,t){var n=t(14304),e=t(47391),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:e})},91890:function(l,p,t){var n=t(14304),e=t(75492),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:e})},15089:function(l,p,t){var n=t(14304),e=t(1333),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:e})},75765:function(l,p,t){t(6583)},78134:function(l,p,t){var n=t(14304),e=t(64680),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:e})},56456:function(l,p,t){var n=t(14304),e=t(70402),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:e})},70641:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("anchor")},{anchor:function(u){return e(this,"a","name",u)}})},40735:function(l,p,t){var n=t(14304),e=t(11286),o=t(2068),i=t(12105),u=t(17361),f=t(72069),c=e("".charAt),g=f(function(){return"\u{20BB7}".at(-2)!=="\uD842"});n({target:"String",proto:!0,forced:g},{at:function(y){var S=u(o(this)),E=S.length,I=i(y),A=I>=0?I:E+I;return A<0||A>=E?void 0:c(S,A)}})},53892:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("big")},{big:function(){return e(this,"big","","")}})},95976:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("blink")},{blink:function(){return e(this,"blink","","")}})},399:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return e(this,"b","","")}})},8510:function(l,p,t){var n=t(14304),e=t(22149).codeAt;n({target:"String",proto:!0},{codePointAt:function(i){return e(this,i)}})},70159:function(l,p,t){var n=t(14304),e=t(77422),o=t(71349).f,i=t(45344),u=t(17361),f=t(92337),c=t(2068),g=t(8790),v=t(70457),y=e("".slice),S=Math.min,E=g("endsWith"),I=!v&&!E&&!!function(){var A=o(String.prototype,"endsWith");return A&&!A.writable}();n({target:"String",proto:!0,forced:!I&&!E},{endsWith:function(T){var M=u(c(this));f(T);var D=arguments.length>1?arguments[1]:void 0,$=M.length,U=D===void 0?$:S(i(D),$),G=u(T);return y(M,U-G.length,U)===G}})},72032:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return e(this,"tt","","")}})},49442:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(u){return e(this,"font","color",u)}})},16012:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(u){return e(this,"font","size",u)}})},93087:function(l,p,t){var n=t(14304),e=t(11286),o=t(4652),i=RangeError,u=String.fromCharCode,f=String.fromCodePoint,c=e([].join),g=!!f&&f.length!==1;n({target:"String",stat:!0,arity:1,forced:g},{fromCodePoint:function(y){for(var S=[],E=arguments.length,I=0,A;E>I;){if(A=+arguments[I++],o(A,1114111)!==A)throw new i(A+" is not a valid code point");S[I]=A<65536?u(A):u(((A-=65536)>>10)+55296,A%1024+56320)}return c(S,"")}})},26021:function(l,p,t){var n=t(14304),e=t(11286),o=t(92337),i=t(2068),u=t(17361),f=t(8790),c=e("".indexOf);n({target:"String",proto:!0,forced:!f("includes")},{includes:function(v){return!!~c(u(i(this)),u(o(v)),arguments.length>1?arguments[1]:void 0)}})},93029:function(l,p,t){var n=t(14304),e=t(11286),o=t(2068),i=t(17361),u=e("".charCodeAt);n({target:"String",proto:!0},{isWellFormed:function(){for(var c=i(o(this)),g=c.length,v=0;v=56320||++v>=g||(u(c,v)&64512)!==56320))return!1}return!0}})},9943:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("italics")},{italics:function(){return e(this,"i","","")}})},59158:function(l,p,t){var n=t(22149).charAt,e=t(17361),o=t(82367),i=t(10218),u=t(10659),f="String Iterator",c=o.set,g=o.getterFor(f);i(String,"String",function(v){c(this,{type:f,string:e(v),index:0})},function(){var y=g(this),S=y.string,E=y.index,I;return E>=S.length?u(void 0,!0):(I=n(S,E),y.index+=I.length,u(I,!1))})},33128:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("link")},{link:function(u){return e(this,"a","href",u)}})},18509:function(l,p,t){var n=t(14304),e=t(96499),o=t(77422),i=t(26820),u=t(10659),f=t(2068),c=t(45344),g=t(17361),v=t(25001),y=t(5683),S=t(14274),E=t(11566),I=t(54932),A=t(10512),T=t(16142),M=t(72069),D=t(18565),$=t(16887),U=t(24487),G=t(33064),N=t(82367),w=t(70457),W=D("matchAll"),X="RegExp String",Y=X+" Iterator",k=N.set,st=N.getterFor(Y),ut=RegExp.prototype,rt=TypeError,at=o("".indexOf),ot=o("".matchAll),pt=!!ot&&!M(function(){ot("a",/./)}),Ct=i(function(Rt,Qt,Yt,Xt){k(this,{type:Y,regexp:Rt,string:Qt,global:Yt,unicode:Xt,done:!1})},X,function(){var Rt=st(this);if(Rt.done)return u(void 0,!0);var Qt=Rt.regexp,Yt=Rt.string,Xt=G(Qt,Yt);return Xt===null?(Rt.done=!0,u(void 0,!0)):Rt.global?(g(Xt[0])===""&&(Qt.lastIndex=U(Yt,c(Qt.lastIndex),Rt.unicode)),u(Xt,!1)):(Rt.done=!0,u(Xt,!1))}),St=function($t){var Rt=v(this),Qt=g($t),Yt=$(Rt,RegExp),Xt=g(I(Rt)),er,ir,Or;return er=new Yt(Yt===RegExp?Rt.source:Rt,Xt),ir=!!~at(Xt,"g"),Or=!!~at(Xt,"u"),er.lastIndex=c(Rt.lastIndex),new Ct(er,Qt,ir,Or)};n({target:"String",proto:!0,forced:pt},{matchAll:function(Rt){var Qt=f(this),Yt,Xt,er,ir;if(y(Rt)){if(pt)return ot(Qt,Rt)}else{if(E(Rt)&&(Yt=g(f(I(Rt))),!~at(Yt,"g")))throw new rt("`.matchAll` does not allow non-global regexes");if(pt)return ot(Qt,Rt);if(er=A(Rt,W),er===void 0&&w&&S(Rt)==="RegExp"&&(er=St),er)return e(er,Rt,Qt)}return Xt=g(Qt),ir=new RegExp(Rt,"g"),w?e(St,ir,Xt):ir[W](Xt)}}),w||W in ut||T(ut,W,St)},15599:function(l,p,t){var n=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(45344),f=t(17361),c=t(2068),g=t(10512),v=t(24487),y=t(33064);e("match",function(S,E,I){return[function(T){var M=c(this),D=i(T)?void 0:g(T,S);return D?n(D,T,M):new RegExp(T)[S](f(M))},function(A){var T=o(this),M=f(A),D=I(E,T,M);if(D.done)return D.value;if(!T.global)return y(T,M);var $=T.unicode;T.lastIndex=0;for(var U=[],G=0,N;(N=y(T,M))!==null;){var w=f(N[0]);U[G]=w,w===""&&(T.lastIndex=v(M,u(T.lastIndex),$)),G++}return G===0?null:U}]})},21579:function(l,p,t){var n=t(14304),e=t(61607).end,o=t(36945);n({target:"String",proto:!0,forced:o},{padEnd:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}})},8854:function(l,p,t){var n=t(14304),e=t(61607).start,o=t(36945);n({target:"String",proto:!0,forced:o},{padStart:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}})},57676:function(l,p,t){var n=t(14304),e=t(11286),o=t(36859),i=t(49671),u=t(17361),f=t(82628),c=e([].push),g=e([].join);n({target:"String",stat:!0},{raw:function(y){var S=o(i(y).raw),E=f(S);if(!E)return"";for(var I=arguments.length,A=[],T=0;;){if(c(A,u(S[T++])),T===E)return g(A,"");Tst.length?-1:M(st,ut,Ct+ot);return St")!=="7"});i("replace",function(rt,at,ot){var pt=st?"$":"$0";return[function(St,$t){var Rt=E(this),Qt=g(St)?void 0:A(St,$);return Qt?e(Qt,St,Rt,$t):e(at,S(Rt),St,$t)},function(Ct,St){var $t=f(this),Rt=S(Ct);if(typeof St=="string"&&W(St,pt)===-1&&W(St,"$<")===-1){var Qt=ot(at,$t,Rt,St);if(Qt.done)return Qt.value}var Yt=c(St);Yt||(St=S(St));var Xt=$t.global,er;Xt&&(er=$t.unicode,$t.lastIndex=0);for(var ir=[],Or;Or=M($t,Rt),!(Or===null||(w(ir,Or),!Xt));){var yr=S(Or[0]);yr===""&&($t.lastIndex=I(Rt,y($t.lastIndex),er))}for(var xr="",Kt=0,_t=0;_t=Kt&&(xr+=X(Rt,Kt,Sr)+Ir,Kt=Sr+hr.length)}return xr+X(Rt,Kt)}]},!ut||!k||st)},74980:function(l,p,t){var n=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(2068),f=t(13944),c=t(17361),g=t(10512),v=t(33064);e("search",function(y,S,E){return[function(A){var T=u(this),M=i(A)?void 0:g(A,y);return M?n(M,A,T):new RegExp(A)[y](c(T))},function(I){var A=o(this),T=c(I),M=E(S,A,T);if(M.done)return M.value;var D=A.lastIndex;f(D,0)||(A.lastIndex=0);var $=v(A,T);return f(A.lastIndex,D)||(A.lastIndex=D),$===null?-1:$.index}]})},95625:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("small")},{small:function(){return e(this,"small","","")}})},390:function(l,p,t){var n=t(96499),e=t(11286),o=t(63194),i=t(25001),u=t(5683),f=t(2068),c=t(16887),g=t(24487),v=t(45344),y=t(17361),S=t(10512),E=t(33064),I=t(39807),A=t(72069),T=I.UNSUPPORTED_Y,M=4294967295,D=Math.min,$=e([].push),U=e("".slice),G=!A(function(){var w=/(?:)/,W=w.exec;w.exec=function(){return W.apply(this,arguments)};var X="ab".split(w);return X.length!==2||X[0]!=="a"||X[1]!=="b"}),N="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;o("split",function(w,W,X){var Y="0".split(void 0,0).length?function(k,st){return k===void 0&&st===0?[]:n(W,this,k,st)}:W;return[function(st,ut){var rt=f(this),at=u(st)?void 0:S(st,w);return at?n(at,st,rt,ut):n(Y,y(rt),st,ut)},function(k,st){var ut=i(this),rt=y(k);if(!N){var at=X(Y,ut,rt,st,Y!==W);if(at.done)return at.value}var ot=c(ut,RegExp),pt=ut.unicode,Ct=(ut.ignoreCase?"i":"")+(ut.multiline?"m":"")+(ut.unicode?"u":"")+(T?"g":"y"),St=new ot(T?"^(?:"+ut.source+")":ut,Ct),$t=st===void 0?M:st>>>0;if($t===0)return[];if(rt.length===0)return E(St,rt)===null?[rt]:[];for(var Rt=0,Qt=0,Yt=[];Qt1?arguments[1]:void 0,M.length)),$=u(T);return y(M,D,D+$.length)===$}})},90614:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("strike")},{strike:function(){return e(this,"strike","","")}})},60120:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("sub")},{sub:function(){return e(this,"sub","","")}})},21293:function(l,p,t){var n=t(14304),e=t(11286),o=t(2068),i=t(12105),u=t(17361),f=e("".slice),c=Math.max,g=Math.min,v=!"".substr||"ab".substr(-1)!=="b";n({target:"String",proto:!0,forced:v},{substr:function(S,E){var I=u(o(this)),A=I.length,T=i(S),M,D;return T===1/0&&(T=0),T<0&&(T=c(A+T,0)),M=E===void 0?A:i(E),M<=0||M===1/0?"":(D=g(T+M,A),T>=D?"":f(I,T,D))}})},75826:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("sup")},{sup:function(){return e(this,"sup","","")}})},18184:function(l,p,t){var n=t(14304),e=t(96499),o=t(11286),i=t(2068),u=t(17361),f=t(72069),c=Array,g=o("".charAt),v=o("".charCodeAt),y=o([].join),S="".toWellFormed,E="\uFFFD",I=S&&f(function(){return e(S,1)!=="1"});n({target:"String",proto:!0,forced:I},{toWellFormed:function(){var T=u(i(this));if(I)return e(S,T);for(var M=T.length,D=c(M),$=0;$=56320||$+1>=M||(v(T,$+1)&64512)!==56320?D[$]=E:(D[$]=g(T,$),D[++$]=g(T,$))}return y(D,"")}})},19680:function(l,p,t){t(23283);var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==e},{trimEnd:e})},12272:function(l,p,t){var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==e},{trimLeft:e})},23283:function(l,p,t){var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==e},{trimRight:e})},4193:function(l,p,t){t(12272);var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==e},{trimStart:e})},75012:function(l,p,t){var n=t(14304),e=t(85900).trim,o=t(33328);n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return e(this)}})},43606:function(l,p,t){var n=t(83749);n("asyncIterator")},51767:function(l,p,t){var n=t(14304),e=t(66009),o=t(96499),i=t(11286),u=t(70457),f=t(92986),c=t(39729),g=t(72069),v=t(94879),y=t(95307),S=t(25001),E=t(36859),I=t(50035),A=t(17361),T=t(18526),M=t(5406),D=t(18350),$=t(83258),U=t(92880),G=t(24943),N=t(71349),w=t(7831),W=t(61963),X=t(79591),Y=t(16142),k=t(85500),st=t(96731),ut=t(44869),rt=t(19423),at=t(36374),ot=t(18565),pt=t(56529),Ct=t(83749),St=t(60796),$t=t(78401),Rt=t(82367),Qt=t(66655).forEach,Yt=ut("hidden"),Xt="Symbol",er="prototype",ir=Rt.set,Or=Rt.getterFor(Xt),yr=Object[er],xr=e.Symbol,Kt=xr&&xr[er],_t=e.RangeError,hr=e.TypeError,Sr=e.QObject,mr=N.f,Ir=w.f,Fr=U.f,Dr=X.f,Pr=i([].push),gr=st("symbols"),Cr=st("op-symbols"),Er=st("wks"),pr=!Sr||!Sr[er]||!Sr[er].findChild,Ut=function(Bt,wt,gt){var Tt=mr(yr,wt);Tt&&delete yr[wt],Ir(Bt,wt,gt),Tt&&Bt!==yr&&Ir(yr,wt,Tt)},Vt=f&&g(function(){return M(Ir({},"a",{get:function(){return Ir(this,"a",{value:7}).a}})).a!==7})?Ut:Ir,bt=function(Bt,wt){var gt=gr[Bt]=M(Kt);return ir(gt,{type:Xt,tag:Bt,description:wt}),f||(gt.description=wt),gt},fr=function(wt,gt,Tt){wt===yr&&fr(Cr,gt,Tt),S(wt);var q=I(gt);return S(Tt),v(gr,q)?(Tt.enumerable?(v(wt,Yt)&&wt[Yt][q]&&(wt[Yt][q]=!1),Tt=M(Tt,{enumerable:T(0,!1)})):(v(wt,Yt)||Ir(wt,Yt,T(1,M(null))),wt[Yt][q]=!0),Vt(wt,q,Tt)):Ir(wt,q,Tt)},cr=function(wt,gt){S(wt);var Tt=E(gt),q=D(Tt).concat(Et(Tt));return Qt(q,function(At){(!f||o(qt,Tt,At))&&fr(wt,At,Tt[At])}),wt},rr=function(wt,gt){return gt===void 0?M(wt):cr(M(wt),gt)},qt=function(wt){var gt=I(wt),Tt=o(Dr,this,gt);return this===yr&&v(gr,gt)&&!v(Cr,gt)?!1:Tt||!v(this,gt)||!v(gr,gt)||v(this,Yt)&&this[Yt][gt]?Tt:!0},$r=function(wt,gt){var Tt=E(wt),q=I(gt);if(!(Tt===yr&&v(gr,q)&&!v(Cr,q))){var At=mr(Tt,q);return At&&v(gr,q)&&!(v(Tt,Yt)&&Tt[Yt][q])&&(At.enumerable=!0),At}},Br=function(wt){var gt=Fr(E(wt)),Tt=[];return Qt(gt,function(q){!v(gr,q)&&!v(rt,q)&&Pr(Tt,q)}),Tt},Et=function(Bt){var wt=Bt===yr,gt=Fr(wt?Cr:E(Bt)),Tt=[];return Qt(gt,function(q){v(gr,q)&&(!wt||v(yr,q))&&Pr(Tt,gr[q])}),Tt};c||(xr=function(){if(y(Kt,this))throw new hr("Symbol is not a constructor");var wt=!arguments.length||arguments[0]===void 0?void 0:A(arguments[0]),gt=at(wt),Tt=function(q){var At=this===void 0?e:this;At===yr&&o(Tt,Cr,q),v(At,Yt)&&v(At[Yt],gt)&&(At[Yt][gt]=!1);var Jt=T(1,q);try{Vt(At,gt,Jt)}catch(kt){if(!(kt instanceof _t))throw kt;Ut(At,gt,Jt)}};return f&&pr&&Vt(yr,gt,{configurable:!0,set:Tt}),bt(gt,wt)},Kt=xr[er],Y(Kt,"toString",function(){return Or(this).tag}),Y(xr,"withoutSetter",function(Bt){return bt(at(Bt),Bt)}),X.f=qt,w.f=fr,W.f=cr,N.f=$r,$.f=U.f=Br,G.f=Et,pt.f=function(Bt){return bt(ot(Bt),Bt)},f&&(k(Kt,"description",{configurable:!0,get:function(){return Or(this).description}}),u||Y(yr,"propertyIsEnumerable",qt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:xr}),Qt(D(Er),function(Bt){Ct(Bt)}),n({target:Xt,stat:!0,forced:!c},{useSetter:function(){pr=!0},useSimple:function(){pr=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!f},{create:rr,defineProperty:fr,defineProperties:cr,getOwnPropertyDescriptor:$r}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Br}),St(),$t(xr,Xt),rt[Yt]=!0},43657:function(l,p,t){var n=t(14304),e=t(92986),o=t(66009),i=t(11286),u=t(94879),f=t(23583),c=t(95307),g=t(17361),v=t(85500),y=t(93706),S=o.Symbol,E=S&&S.prototype;if(e&&f(S)&&(!("description"in E)||S().description!==void 0)){var I={},A=function(){var w=arguments.length<1||arguments[0]===void 0?void 0:g(arguments[0]),W=c(E,this)?new S(w):w===void 0?S():S(w);return w===""&&(I[W]=!0),W};y(A,S),A.prototype=E,E.constructor=A;var T=String(S("description detection"))==="Symbol(description detection)",M=i(E.valueOf),D=i(E.toString),$=/^Symbol\((.*)\)[^)]+$/,U=i("".replace),G=i("".slice);v(E,"description",{configurable:!0,get:function(){var w=M(this);if(u(I,w))return"";var W=D(w),X=T?G(W,7,-1):U(W,$,"$1");return X===""?void 0:X}}),n({global:!0,constructor:!0,forced:!0},{Symbol:A})}},20872:function(l,p,t){var n=t(14304),e=t(38941),o=t(94879),i=t(17361),u=t(96731),f=t(61190),c=u("string-to-symbol-registry"),g=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!f},{for:function(v){var y=i(v);if(o(c,y))return c[y];var S=e("Symbol")(y);return c[y]=S,g[S]=y,S}})},15855:function(l,p,t){var n=t(83749);n("hasInstance")},42026:function(l,p,t){var n=t(83749);n("isConcatSpreadable")},33257:function(l,p,t){var n=t(83749);n("iterator")},40949:function(l,p,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(l,p,t){var n=t(14304),e=t(94879),o=t(491),i=t(82453),u=t(96731),f=t(61190),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!f},{keyFor:function(v){if(!o(v))throw new TypeError(i(v)+" is not a symbol");if(e(c,v))return c[v]}})},88344:function(l,p,t){var n=t(83749);n("matchAll")},59414:function(l,p,t){var n=t(83749);n("match")},92579:function(l,p,t){var n=t(83749);n("replace")},94655:function(l,p,t){var n=t(83749);n("search")},8565:function(l,p,t){var n=t(83749);n("species")},60843:function(l,p,t){var n=t(83749);n("split")},65842:function(l,p,t){var n=t(83749),e=t(60796);n("toPrimitive"),e()},51595:function(l,p,t){var n=t(38941),e=t(83749),o=t(78401);e("toStringTag"),o(n("Symbol"),"Symbol")},54908:function(l,p,t){var n=t(83749);n("unscopables")},71998:function(l,p,t){var n=t(88037),e=t(82628),o=t(12105),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("at",function(c){var g=i(this),v=e(g),y=o(c),S=y>=0?y:v+y;return S<0||S>=v?void 0:g[S]})},6116:function(l,p,t){var n=t(11286),e=t(88037),o=t(81499),i=n(o),u=e.aTypedArray,f=e.exportTypedArrayMethod;f("copyWithin",function(g,v){return i(u(this),g,v,arguments.length>2?arguments[2]:void 0)})},33032:function(l,p,t){var n=t(88037),e=t(66655).every,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("every",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},80962:function(l,p,t){var n=t(88037),e=t(43011),o=t(11344),i=t(9205),u=t(96499),f=t(11286),c=t(72069),g=n.aTypedArray,v=n.exportTypedArrayMethod,y=f("".slice),S=c(function(){var E=0;return new Int8Array(2).fill({valueOf:function(){return E++}}),E!==1});v("fill",function(I){var A=arguments.length;g(this);var T=y(i(this),0,3)==="Big"?o(I):+I;return u(e,this,T,A>1?arguments[1]:void 0,A>2?arguments[2]:void 0)},S)},49381:function(l,p,t){var n=t(88037),e=t(66655).filter,o=t(3795),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("filter",function(c){var g=e(i(this),c,arguments.length>1?arguments[1]:void 0);return o(this,g)})},65961:function(l,p,t){var n=t(88037),e=t(66655).findIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},16028:function(l,p,t){var n=t(88037),e=t(73849).findLastIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLastIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},94153:function(l,p,t){var n=t(88037),e=t(73849).findLast,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLast",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},38344:function(l,p,t){var n=t(88037),e=t(66655).find,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("find",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},25560:function(l,p,t){var n=t(80357);n("Float32",function(e){return function(i,u,f){return e(this,i,u,f)}})},22571:function(l,p,t){var n=t(80357);n("Float64",function(e){return function(i,u,f){return e(this,i,u,f)}})},20656:function(l,p,t){var n=t(88037),e=t(66655).forEach,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("forEach",function(f){e(o(this),f,arguments.length>1?arguments[1]:void 0)})},17063:function(l,p,t){var n=t(46868),e=t(88037).exportTypedArrayStaticMethod,o=t(66169);e("from",o,n)},21774:function(l,p,t){var n=t(88037),e=t(94319).includes,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("includes",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},51761:function(l,p,t){var n=t(88037),e=t(94319).indexOf,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("indexOf",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},36849:function(l,p,t){var n=t(80357);n("Int16",function(e){return function(i,u,f){return e(this,i,u,f)}})},49191:function(l,p,t){var n=t(80357);n("Int32",function(e){return function(i,u,f){return e(this,i,u,f)}})},40704:function(l,p,t){var n=t(80357);n("Int8",function(e){return function(i,u,f){return e(this,i,u,f)}})},12317:function(l,p,t){var n=t(66009),e=t(72069),o=t(11286),i=t(88037),u=t(35054),f=t(18565),c=f("iterator"),g=n.Uint8Array,v=o(u.values),y=o(u.keys),S=o(u.entries),E=i.aTypedArray,I=i.exportTypedArrayMethod,A=g&&g.prototype,T=!e(function(){A[c].call([1])}),M=!!A&&A.values&&A[c]===A.values&&A.values.name==="values",D=function(){return v(E(this))};I("entries",function(){return S(E(this))},T),I("keys",function(){return y(E(this))},T),I("values",D,T||!M,{name:"values"}),I(c,D,T||!M,{name:"values"})},19711:function(l,p,t){var n=t(88037),e=t(11286),o=n.aTypedArray,i=n.exportTypedArrayMethod,u=e([].join);i("join",function(c){return u(o(this),c)})},41034:function(l,p,t){var n=t(88037),e=t(66543),o=t(58465),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("lastIndexOf",function(c){var g=arguments.length;return e(o,i(this),g>1?[c,arguments[1]]:[c])})},13313:function(l,p,t){var n=t(88037),e=t(66655).map,o=t(21822),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("map",function(c){return e(i(this),c,arguments.length>1?arguments[1]:void 0,function(g,v){return new(o(g))(v)})})},44698:function(l,p,t){var n=t(88037),e=t(46868),o=n.aTypedArrayConstructor,i=n.exportTypedArrayStaticMethod;i("of",function(){for(var f=0,c=arguments.length,g=new(o(this))(c);c>f;)g[f]=arguments[f++];return g},e)},66178:function(l,p,t){var n=t(88037),e=t(97264).right,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("reduceRight",function(f){var c=arguments.length;return e(o(this),f,c,c>1?arguments[1]:void 0)})},7369:function(l,p,t){var n=t(88037),e=t(97264).left,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("reduce",function(f){var c=arguments.length;return e(o(this),f,c,c>1?arguments[1]:void 0)})},67961:function(l,p,t){var n=t(88037),e=n.aTypedArray,o=n.exportTypedArrayMethod,i=Math.floor;o("reverse",function(){for(var f=this,c=e(f).length,g=i(c/2),v=0,y;v1?arguments[1]:void 0,1),U=f(D);if(A)return e(S,this,U,$);var G=this.length,N=i(U),w=0;if(N+$>G)throw new g("Wrong length");for(;wI;)T[I]=S[I++];return T},c)},9711:function(l,p,t){var n=t(88037),e=t(66655).some,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("some",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},3923:function(l,p,t){var n=t(66009),e=t(77422),o=t(72069),i=t(85156),u=t(13270),f=t(88037),c=t(54040),g=t(87216),v=t(73126),y=t(68674),S=f.aTypedArray,E=f.exportTypedArrayMethod,I=n.Uint16Array,A=I&&e(I.prototype.sort),T=!!A&&!(o(function(){A(new I(2),null)})&&o(function(){A(new I(2),{})})),M=!!A&&!o(function(){if(v)return v<74;if(c)return c<67;if(g)return!0;if(y)return y<602;var $=new I(516),U=Array(516),G,N;for(G=0;G<516;G++)N=G%4,$[G]=515-G,U[G]=G-2*N+3;for(A($,function(w,W){return(w/4|0)-(W/4|0)}),G=0;G<516;G++)if($[G]!==U[G])return!0}),D=function($){return function(U,G){return $!==void 0?+$(U,G)||0:G!==G?-1:U!==U?1:U===0&&G===0?1/U>0&&1/G<0?1:-1:U>G}};E("sort",function(U){return U!==void 0&&i(U),M?A(this,U):u(S(this),D(U))},!M||T)},59728:function(l,p,t){var n=t(88037),e=t(45344),o=t(4652),i=t(21822),u=n.aTypedArray,f=n.exportTypedArrayMethod;f("subarray",function(g,v){var y=u(this),S=y.length,E=o(g,S),I=i(y);return new I(y.buffer,y.byteOffset+E*y.BYTES_PER_ELEMENT,e((v===void 0?S:o(v,S))-E))})},85227:function(l,p,t){var n=t(66009),e=t(66543),o=t(88037),i=t(72069),u=t(22806),f=n.Int8Array,c=o.aTypedArray,g=o.exportTypedArrayMethod,v=[].toLocaleString,y=!!f&&i(function(){v.call(new f(1))}),S=i(function(){return[1,2].toLocaleString()!==new f([1,2]).toLocaleString()})||!i(function(){f.prototype.toLocaleString.call([1,2])});g("toLocaleString",function(){return e(v,y?u(c(this)):c(this),u(arguments))},S)},56933:function(l,p,t){var n=t(61638),e=t(88037),o=e.aTypedArray,i=e.exportTypedArrayMethod,u=e.getTypedArrayConstructor;i("toReversed",function(){return n(o(this),u(this))})},91490:function(l,p,t){var n=t(88037),e=t(11286),o=t(85156),i=t(5220),u=n.aTypedArray,f=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,g=e(n.TypedArrayPrototype.sort);c("toSorted",function(y){y!==void 0&&o(y);var S=u(this),E=i(f(S),S);return g(E,y)})},61766:function(l,p,t){var n=t(88037).exportTypedArrayMethod,e=t(72069),o=t(66009),i=t(11286),u=o.Uint8Array,f=u&&u.prototype||{},c=[].toString,g=i([].join);e(function(){c.call({})})&&(c=function(){return g(this)});var v=f.toString!==c;n("toString",c,v)},44884:function(l,p,t){var n=t(80357);n("Uint16",function(e){return function(i,u,f){return e(this,i,u,f)}})},48658:function(l,p,t){var n=t(80357);n("Uint32",function(e){return function(i,u,f){return e(this,i,u,f)}})},81083:function(l,p,t){var n=t(80357);n("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}})},27428:function(l,p,t){var n=t(80357);n("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}},!0)},85143:function(l,p,t){var n=t(72302),e=t(88037),o=t(77129),i=t(12105),u=t(11344),f=e.aTypedArray,c=e.getTypedArrayConstructor,g=e.exportTypedArrayMethod,v=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(y){return y===8}}();g("with",function(y,S){var E=f(this),I=i(y),A=o(E)?u(S):+S;return n(E,c(E),I,A)},!v)},47005:function(l,p,t){var n=t(14304),e=t(11286),o=t(17361),i=String.fromCharCode,u=e("".charAt),f=e(/./.exec),c=e("".slice),g=/^[\da-f]{2}$/i,v=/^[\da-f]{4}$/i;n({global:!0},{unescape:function(S){for(var E=o(S),I="",A=E.length,T=0,M,D;T>(-2*rt&6)));return st}})},60869:function(l,p,t){var n=t(14304),e=t(66009),o=t(38941),i=t(11286),u=t(96499),f=t(72069),c=t(17361),g=t(95486),v=t(6210).i2c,y=o("btoa"),S=i("".charAt),E=i("".charCodeAt),I=!!y&&!f(function(){return y("hi")!=="aGk="}),A=I&&!f(function(){y()}),T=I&&f(function(){return y(null)!=="bnVsbA=="}),M=I&&y.length!==1;n({global:!0,bind:!0,enumerable:!0,forced:!I||A||T||M},{btoa:function($){if(g(arguments.length,1),I)return u(y,e,c($));for(var U=c($),G="",N=0,w=v,W,X;S(U,N)||(w="=",N%1);){if(X=E(U,N+=.75),X>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");W=W<<8|X,G+=S(w,63&W>>8-N%1*8)}return G}})},66722:function(l,p,t){var n=t(14304),e=t(66009),o=t(23115).clear;n({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==o},{clearImmediate:o})},50338:function(l,p,t){var n=t(66009),e=t(93014),o=t(39882),i=t(13349),u=t(90809),f=function(g){if(g&&g.forEach!==i)try{u(g,"forEach",i)}catch(v){g.forEach=i}};for(var c in e)e[c]&&f(n[c]&&n[c].prototype);f(o)},53059:function(l,p,t){var n=t(66009),e=t(93014),o=t(39882),i=t(35054),u=t(90809),f=t(78401),c=t(18565),g=c("iterator"),v=i.values,y=function(E,I){if(E){if(E[g]!==v)try{u(E,g,v)}catch(T){E[g]=v}if(f(E,I,!0),e[I]){for(var A in i)if(E[A]!==i[A])try{u(E,A,i[A])}catch(T){E[A]=i[A]}}}};for(var S in e)y(n[S]&&n[S].prototype,S);y(o,"DOMTokenList")},5805:function(l,p,t){var n=t(14304),e=t(18096),o=t(38941),i=t(72069),u=t(5406),f=t(18526),c=t(7831).f,g=t(16142),v=t(85500),y=t(94879),S=t(12833),E=t(25001),I=t(58434),A=t(15453),T=t(74408),M=t(40851),D=t(82367),$=t(92986),U=t(70457),G="DOMException",N="DATA_CLONE_ERR",w=o("Error"),W=o(G)||function(){try{var Kt=o("MessageChannel")||e("worker_threads").MessageChannel;new Kt().port1.postMessage(new WeakMap)}catch(_t){if(_t.name===N&&_t.code===25)return _t.constructor}}(),X=W&&W.prototype,Y=w.prototype,k=D.set,st=D.getterFor(G),ut="stack"in new w(G),rt=function(Kt){return y(T,Kt)&&T[Kt].m?T[Kt].c:0},at=function(){S(this,ot);var _t=arguments.length,hr=A(_t<1?void 0:arguments[0]),Sr=A(_t<2?void 0:arguments[1],"Error"),mr=rt(Sr);if(k(this,{type:G,name:Sr,message:hr,code:mr}),$||(this.name=Sr,this.message=hr,this.code=mr),ut){var Ir=new w(hr);Ir.name=G,c(this,"stack",f(1,M(Ir.stack,1)))}},ot=at.prototype=u(Y),pt=function(Kt){return{enumerable:!0,configurable:!0,get:Kt}},Ct=function(Kt){return pt(function(){return st(this)[Kt]})};$&&(v(ot,"code",Ct("code")),v(ot,"message",Ct("message")),v(ot,"name",Ct("name"))),c(ot,"constructor",f(1,at));var St=i(function(){return!(new W instanceof w)}),$t=St||i(function(){return Y.toString!==I||String(new W(1,2))!=="2: 1"}),Rt=St||i(function(){return new W(1,"DataCloneError").code!==25}),Qt=St||W[N]!==25||X[N]!==25,Yt=U?$t||Rt||Qt:St;n({global:!0,constructor:!0,forced:Yt},{DOMException:Yt?at:W});var Xt=o(G),er=Xt.prototype;$t&&(U||W===Xt)&&g(er,"toString",I),Rt&&$&&W===Xt&&v(er,"code",pt(function(){return rt(E(this).name)}));for(var ir in T)if(y(T,ir)){var Or=T[ir],yr=Or.s,xr=f(6,Or.c);y(Xt,yr)||c(Xt,yr,xr),y(er,yr)||c(er,yr,xr)}},50685:function(l,p,t){var n=t(14304),e=t(66009),o=t(38941),i=t(18526),u=t(7831).f,f=t(94879),c=t(12833),g=t(32345),v=t(15453),y=t(74408),S=t(40851),E=t(92986),I=t(70457),A="DOMException",T=o("Error"),M=o(A),D=function(){c(this,$);var at=arguments.length,ot=v(at<1?void 0:arguments[0]),pt=v(at<2?void 0:arguments[1],"Error"),Ct=new M(ot,pt),St=new T(ot);return St.name=A,u(Ct,"stack",i(1,S(St.stack,1))),g(Ct,this,D),Ct},$=D.prototype=M.prototype,U="stack"in new T(A),G="stack"in new M(1,2),N=M&&E&&Object.getOwnPropertyDescriptor(e,A),w=!!N&&!(N.writable&&N.configurable),W=U&&!w&&!G;n({global:!0,constructor:!0,forced:I||W},{DOMException:W?D:M});var X=o(A),Y=X.prototype;if(Y.constructor!==X){I||u(Y,"constructor",i(1,X));for(var k in y)if(f(y,k)){var st=y[k],ut=st.s;f(X,ut)||u(X,ut,i(6,st.c))}}},70649:function(l,p,t){var n=t(38941),e=t(78401),o="DOMException";e(n(o),o)},39842:function(l,p,t){t(66722),t(8235)},82872:function(l,p,t){var n=t(14304),e=t(66009),o=t(9709),i=t(85156),u=t(95486),f=t(72069),c=t(92986),g=f(function(){return c&&Object.getOwnPropertyDescriptor(e,"queueMicrotask").value.length!==1});n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:g},{queueMicrotask:function(y){u(arguments.length,1),o(i(y))}})},91401:function(l,p,t){var n=t(14304),e=t(66009),o=t(85500),i=t(92986),u=TypeError,f=Object.defineProperty,c=e.self!==e;try{if(i){var g=Object.getOwnPropertyDescriptor(e,"self");(c||!g||!g.get||!g.enumerable)&&o(e,"self",{get:function(){return e},set:function(y){if(this!==e)throw new u("Illegal invocation");f(e,"self",{value:y,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:c},{self:e})}catch(v){}},8235:function(l,p,t){var n=t(14304),e=t(66009),o=t(23115).set,i=t(9934),u=e.setImmediate?i(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==u},{setImmediate:u})},63981:function(l,p,t){var n=t(14304),e=t(66009),o=t(9934),i=o(e.setInterval,!0);n({global:!0,bind:!0,forced:e.setInterval!==i},{setInterval:i})},23913:function(l,p,t){var n=t(14304),e=t(66009),o=t(9934),i=o(e.setTimeout,!0);n({global:!0,bind:!0,forced:e.setTimeout!==i},{setTimeout:i})},92904:function(l,p,t){var n=t(70457),e=t(14304),o=t(66009),i=t(38941),u=t(11286),f=t(72069),c=t(36374),g=t(23583),v=t(11051),y=t(5683),S=t(37540),E=t(491),I=t(55902),A=t(25001),T=t(9205),M=t(94879),D=t(84082),$=t(90809),U=t(82628),G=t(95486),N=t(54932),w=t(1774),W=t(172),X=t(35051),Y=t(63741),k=t(16929),st=t(99050),ut=o.Object,rt=o.Array,at=o.Date,ot=o.Error,pt=o.TypeError,Ct=o.PerformanceMark,St=i("DOMException"),$t=w.Map,Rt=w.has,Qt=w.get,Yt=w.set,Xt=W.Set,er=W.add,ir=W.has,Or=i("Object","keys"),yr=u([].push),xr=u((!0).valueOf),Kt=u(1 .valueOf),_t=u("".valueOf),hr=u(at.prototype.getTime),Sr=c("structuredClone"),mr="DataCloneError",Ir="Transferring",Fr=function(Et){return!f(function(){var Bt=new o.Set([7]),wt=Et(Bt),gt=Et(ut(7));return wt===Bt||!wt.has(7)||!S(gt)||+gt!=7})&&Et},Dr=function(Et,Bt){return!f(function(){var wt=new Bt,gt=Et({a:wt,b:wt});return!(gt&>.a===gt.b&>.a instanceof Bt&>.a.stack===wt.stack)})},Pr=function(Et){return!f(function(){var Bt=Et(new o.AggregateError([1],Sr,{cause:3}));return Bt.name!=="AggregateError"||Bt.errors[0]!==1||Bt.message!==Sr||Bt.cause!==3})},gr=o.structuredClone,Cr=n||!Dr(gr,ot)||!Dr(gr,St)||!Pr(gr),Er=!gr&&Fr(function(Et){return new Ct(Sr,{detail:Et}).detail}),pr=Fr(gr)||Er,Ut=function(Et){throw new St("Uncloneable type: "+Et,mr)},Vt=function(Et,Bt){throw new St((Bt||"Cloning")+" of "+Et+" cannot be properly polyfilled in this engine",mr)},bt=function(Et,Bt){return pr||Vt(Bt),pr(Et)},fr=function(){var Et;try{Et=new o.DataTransfer}catch(Bt){try{Et=new o.ClipboardEvent("").clipboardData}catch(wt){}}return Et&&Et.items&&Et.files?Et:null},cr=function(Et,Bt,wt){if(Rt(Bt,Et))return Qt(Bt,Et);var gt=wt||T(Et),Tt,q,At,Jt,kt,ar;if(gt==="SharedArrayBuffer")pr?Tt=pr(Et):Tt=Et;else{var Tr=o.DataView;!Tr&&!g(Et.slice)&&Vt("ArrayBuffer");try{if(g(Et.slice)&&!Et.resizable)Tt=Et.slice(0);else for(q=Et.byteLength,At=("maxByteLength"in Et)?{maxByteLength:Et.maxByteLength}:void 0,Tt=new ArrayBuffer(q,At),Jt=new Tr(Et),kt=new Tr(Tt),ar=0;ar1&&!y(arguments[1])?A(arguments[1]):void 0,gt=wt?wt.transfer:void 0,Tt,q;gt!==void 0&&(Tt=new $t,q=$r(gt,Tt));var At=qt(Bt,Tt);return q&&Br(q),At}})},28381:function(l,p,t){t(63981),t(23913)},98812:function(l,p,t){t(35054);var n=t(14304),e=t(66009),o=t(28167),i=t(96499),u=t(11286),f=t(92986),c=t(91918),g=t(16142),v=t(85500),y=t(2725),S=t(78401),E=t(26820),I=t(82367),A=t(12833),T=t(23583),M=t(94879),D=t(45526),$=t(9205),U=t(25001),G=t(37540),N=t(17361),w=t(5406),W=t(18526),X=t(90619),Y=t(81077),k=t(10659),st=t(95486),ut=t(18565),rt=t(13270),at=ut("iterator"),ot="URLSearchParams",pt=ot+"Iterator",Ct=I.set,St=I.getterFor(ot),$t=I.getterFor(pt),Rt=o("fetch"),Qt=o("Request"),Yt=o("Headers"),Xt=Qt&&Qt.prototype,er=Yt&&Yt.prototype,ir=e.RegExp,Or=e.TypeError,yr=e.decodeURIComponent,xr=e.encodeURIComponent,Kt=u("".charAt),_t=u([].join),hr=u([].push),Sr=u("".replace),mr=u([].shift),Ir=u([].splice),Fr=u("".split),Dr=u("".slice),Pr=/\+/g,gr=Array(4),Cr=function(gt){return gr[gt-1]||(gr[gt-1]=ir("((?:%[\\da-f]{2}){"+gt+"})","gi"))},Er=function(gt){try{return yr(gt)}catch(Tt){return gt}},pr=function(gt){var Tt=Sr(gt,Pr," "),q=4;try{return yr(Tt)}catch(At){for(;q;)Tt=Sr(Tt,Cr(q--),Er);return Tt}},Ut=/[!'()~]|%20/g,Vt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},bt=function(gt){return Vt[gt]},fr=function(gt){return Sr(xr(gt),Ut,bt)},cr=E(function(Tt,q){Ct(this,{type:pt,target:St(Tt).entries,index:0,kind:q})},ot,function(){var Tt=$t(this),q=Tt.target,At=Tt.index++;if(!q||At>=q.length)return Tt.target=void 0,k(void 0,!0);var Jt=q[At];switch(Tt.kind){case"keys":return k(Jt.key,!1);case"values":return k(Jt.value,!1)}return k([Jt.key,Jt.value],!1)},!0),rr=function(gt){this.entries=[],this.url=null,gt!==void 0&&(G(gt)?this.parseObject(gt):this.parseQuery(typeof gt=="string"?Kt(gt,0)==="?"?Dr(gt,1):gt:N(gt)))};rr.prototype={type:ot,bindURL:function(gt){this.url=gt,this.update()},parseObject:function(gt){var Tt=this.entries,q=Y(gt),At,Jt,kt,ar,Tr,dr,Lr;if(q)for(At=X(gt,q),Jt=At.next;!(kt=i(Jt,At)).done;){if(ar=X(U(kt.value)),Tr=ar.next,(dr=i(Tr,ar)).done||(Lr=i(Tr,ar)).done||!i(Tr,ar).done)throw new Or("Expected sequence with length 2");hr(Tt,{key:N(dr.value),value:N(Lr.value)})}else for(var on in gt)M(gt,on)&&hr(Tt,{key:on,value:N(gt[on])})},parseQuery:function(gt){if(gt)for(var Tt=this.entries,q=Fr(gt,"&"),At=0,Jt,kt;At0?arguments[0]:void 0,q=Ct(this,new rr(Tt));f||(this.size=q.entries.length)},$r=qt.prototype;if(y($r,{append:function(Tt,q){var At=St(this);st(arguments.length,2),hr(At.entries,{key:N(Tt),value:N(q)}),f||this.length++,At.updateURL()},delete:function(gt){for(var Tt=St(this),q=st(arguments.length,1),At=Tt.entries,Jt=N(gt),kt=q<2?void 0:arguments[1],ar=kt===void 0?kt:N(kt),Tr=0;TrAt.key?1:-1}),Tt.updateURL()},forEach:function(Tt){for(var q=St(this).entries,At=D(Tt,arguments.length>1?arguments[1]:void 0),Jt=0,kt;Jt1?Bt(arguments[1]):{})}}),T(Qt)){var wt=function(Tt){return A(this,Xt),new Qt(Tt,arguments.length>1?Bt(arguments[1]):{})};Xt.constructor=wt,wt.prototype=Xt,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:wt})}}l.exports={URLSearchParams:qt,getState:St}},10901:function(l,p,t){var n=t(16142),e=t(11286),o=t(17361),i=t(95486),u=URLSearchParams,f=u.prototype,c=e(f.append),g=e(f.delete),v=e(f.forEach),y=e([].push),S=new u("a=1&a=2&b=3");S.delete("a",1),S.delete("b",void 0),S+""!="a=2"&&n(f,"delete",function(E){var I=arguments.length,A=I<2?void 0:arguments[1];if(I&&A===void 0)return g(this,E);var T=[];v(this,function(W,X){y(T,{key:X,value:W})}),i(I,1);for(var M=o(E),D=o(A),$=0,U=0,G=!1,N=T.length,w;$?@[\\\]^|]/,gr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Cr=/^[\u0000-\u0020]+/,Er=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,pr=/[\t\n\r]/g,Ut,Vt=function(mt){var Wt=Yt(mt,"."),Mt,ht,jt,Ar,vr,Gr,Kr;if(Wt.length&&Wt[Wt.length-1]===""&&Wt.length--,Mt=Wt.length,Mt>4)return mt;for(ht=[],jt=0;jt1&&at(Ar,0)==="0"&&(vr=ot(mr,Ar)?16:8,Ar=Xt(Ar,vr===8?1:2)),Ar==="")Gr=0;else{if(!ot(vr===10?Fr:vr===8?Ir:Dr,Ar))return mt;Gr=st(Ar,vr)}$t(ht,Gr)}for(jt=0;jt=rt(256,5-Mt))return null}else if(Gr>255)return null;for(Kr=St(ht),jt=0;jt6))return;for(Gr=0;zr();){if(Kr=null,Gr>0)if(zr()==="."&&Gr<4)jt++;else return;if(!ot(Sr,zr()))return;for(;ot(Sr,zr());){if(Yr=st(zr(),10),Kr===null)Kr=Yr;else{if(Kr===0)return;Kr=Kr*10+Yr}if(Kr>255)return;jt++}Wt[Mt]=Wt[Mt]*256+Kr,Gr++,(Gr===2||Gr===4)&&Mt++}if(Gr!==4)return;break}else if(zr()===":"){if(jt++,!zr())return}else if(zr())return;Wt[Mt++]=Ar}if(ht!==null)for(_r=Mt-ht,Mt=7;Mt!==0&&_r>0;)Ht=Wt[Mt],Wt[Mt--]=Wt[ht+_r-1],Wt[ht+--_r]=Ht;else if(Mt!==8)return;return Wt},fr=function(mt){for(var Wt=null,Mt=1,ht=null,jt=0,Ar=0;Ar<8;Ar++)mt[Ar]!==0?(jt>Mt&&(Wt=ht,Mt=jt),ht=null,jt=0):(ht===null&&(ht=Ar),++jt);return jt>Mt&&(Wt=ht,Mt=jt),Wt},cr=function(mt){var Wt,Mt,ht,jt;if(typeof mt=="number"){for(Wt=[],Mt=0;Mt<4;Mt++)ir(Wt,mt%256),mt=ut(mt/256);return pt(Wt,".")}else if(typeof mt=="object"){for(Wt="",ht=fr(mt),Mt=0;Mt<8;Mt++)jt&&mt[Mt]===0||(jt&&(jt=!1),ht===Mt?(Wt+=Mt?":":"::",jt=!0):(Wt+=Ct(mt[Mt],16),Mt<7&&(Wt+=":")));return"["+Wt+"]"}return mt},rr={},qt=S({},rr,{" ":1,'"':1,"<":1,">":1,"`":1}),$r=S({},qt,{"#":1,"?":1,"{":1,"}":1}),Br=S({},$r,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Et=function(mt,Wt){var Mt=A(mt,0);return Mt>32&&Mt<127&&!y(Wt,mt)?mt:encodeURIComponent(mt)},Bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},wt=function(mt,Wt){var Mt;return mt.length===2&&ot(_t,at(mt,0))&&((Mt=at(mt,1))===":"||!Wt&&Mt==="|")},gt=function(mt){var Wt;return mt.length>1&&wt(Xt(mt,0,2))&&(mt.length===2||(Wt=at(mt,2))==="/"||Wt==="\\"||Wt==="?"||Wt==="#")},Tt=function(mt){return mt==="."||er(mt)==="%2e"},q=function(mt){return mt=er(mt),mt===".."||mt==="%2e."||mt===".%2e"||mt==="%2e%2e"},At={},Jt={},kt={},ar={},Tr={},dr={},Lr={},on={},En={},Ur={},Vn={},ee={},ae={},Hn={},oe={},Wn={},Xr={},Vr={},tn={},en={},kr={},qr=function(mt,Wt,Mt){var ht=M(mt),jt,Ar,vr;if(Wt){if(Ar=this.parse(ht),Ar)throw new k(Ar);this.searchParams=null}else{if(Mt!==void 0&&(jt=new qr(Mt,!0)),Ar=this.parse(ht,null,jt),Ar)throw new k(Ar);vr=X(new W),vr.bindURL(this),this.searchParams=vr}};qr.prototype={type:"URL",parse:function(mt,Wt,Mt){var ht=this,jt=Wt||At,Ar=0,vr="",Gr=!1,Kr=!1,Yr=!1,_r,Ht,zr,un;for(mt=M(mt),Wt||(ht.scheme="",ht.username="",ht.password="",ht.host=null,ht.port=null,ht.path=[],ht.query=null,ht.fragment=null,ht.cannotBeABaseURL=!1,mt=Rt(mt,Cr,""),mt=Rt(mt,Er,"$1")),mt=Rt(mt,pr,""),_r=E(mt);Ar<=_r.length;){switch(Ht=_r[Ar],jt){case At:if(Ht&&ot(_t,Ht))vr+=er(Ht),jt=Jt;else{if(Wt)return yr;jt=kt;continue}break;case Jt:if(Ht&&(ot(hr,Ht)||Ht==="+"||Ht==="-"||Ht==="."))vr+=er(Ht);else if(Ht===":"){if(Wt&&(ht.isSpecial()!==y(Bt,vr)||vr==="file"&&(ht.includesCredentials()||ht.port!==null)||ht.scheme==="file"&&!ht.host))return;if(ht.scheme=vr,Wt){ht.isSpecial()&&Bt[ht.scheme]===ht.port&&(ht.port=null);return}vr="",ht.scheme==="file"?jt=Hn:ht.isSpecial()&&Mt&&Mt.scheme===ht.scheme?jt=ar:ht.isSpecial()?jt=on:_r[Ar+1]==="/"?(jt=Tr,Ar++):(ht.cannotBeABaseURL=!0,$t(ht.path,""),jt=tn)}else{if(Wt)return yr;vr="",jt=kt,Ar=0;continue}break;case kt:if(!Mt||Mt.cannotBeABaseURL&&Ht!=="#")return yr;if(Mt.cannotBeABaseURL&&Ht==="#"){ht.scheme=Mt.scheme,ht.path=I(Mt.path),ht.query=Mt.query,ht.fragment="",ht.cannotBeABaseURL=!0,jt=kr;break}jt=Mt.scheme==="file"?Hn:dr;continue;case ar:if(Ht==="/"&&_r[Ar+1]==="/")jt=En,Ar++;else{jt=dr;continue}break;case Tr:if(Ht==="/"){jt=Ur;break}else{jt=Vr;continue}case dr:if(ht.scheme=Mt.scheme,Ht===Ut)ht.username=Mt.username,ht.password=Mt.password,ht.host=Mt.host,ht.port=Mt.port,ht.path=I(Mt.path),ht.query=Mt.query;else if(Ht==="/"||Ht==="\\"&&ht.isSpecial())jt=Lr;else if(Ht==="?")ht.username=Mt.username,ht.password=Mt.password,ht.host=Mt.host,ht.port=Mt.port,ht.path=I(Mt.path),ht.query="",jt=en;else if(Ht==="#")ht.username=Mt.username,ht.password=Mt.password,ht.host=Mt.host,ht.port=Mt.port,ht.path=I(Mt.path),ht.query=Mt.query,ht.fragment="",jt=kr;else{ht.username=Mt.username,ht.password=Mt.password,ht.host=Mt.host,ht.port=Mt.port,ht.path=I(Mt.path),ht.path.length--,jt=Vr;continue}break;case Lr:if(ht.isSpecial()&&(Ht==="/"||Ht==="\\"))jt=En;else if(Ht==="/")jt=Ur;else{ht.username=Mt.username,ht.password=Mt.password,ht.host=Mt.host,ht.port=Mt.port,jt=Vr;continue}break;case on:if(jt=En,Ht!=="/"||at(vr,Ar+1)!=="/")continue;Ar++;break;case En:if(Ht!=="/"&&Ht!=="\\"){jt=Ur;continue}break;case Ur:if(Ht==="@"){Gr&&(vr="%40"+vr),Gr=!0,zr=E(vr);for(var An=0;An65535)return Kt;ht.port=ht.isSpecial()&&bn===Bt[ht.scheme]?null:bn,vr=""}if(Wt)return;jt=Xr;continue}else return Kt;break;case Hn:if(ht.scheme="file",Ht==="/"||Ht==="\\")jt=oe;else if(Mt&&Mt.scheme==="file")switch(Ht){case Ut:ht.host=Mt.host,ht.path=I(Mt.path),ht.query=Mt.query;break;case"?":ht.host=Mt.host,ht.path=I(Mt.path),ht.query="",jt=en;break;case"#":ht.host=Mt.host,ht.path=I(Mt.path),ht.query=Mt.query,ht.fragment="",jt=kr;break;default:gt(pt(I(_r,Ar),""))||(ht.host=Mt.host,ht.path=I(Mt.path),ht.shortenPath()),jt=Vr;continue}else{jt=Vr;continue}break;case oe:if(Ht==="/"||Ht==="\\"){jt=Wn;break}Mt&&Mt.scheme==="file"&&!gt(pt(I(_r,Ar),""))&&(wt(Mt.path[0],!0)?$t(ht.path,Mt.path[0]):ht.host=Mt.host),jt=Vr;continue;case Wn:if(Ht===Ut||Ht==="/"||Ht==="\\"||Ht==="?"||Ht==="#"){if(!Wt&&wt(vr))jt=Vr;else if(vr===""){if(ht.host="",Wt)return;jt=Xr}else{if(un=ht.parseHost(vr),un)return un;if(ht.host==="localhost"&&(ht.host=""),Wt)return;vr="",jt=Xr}continue}else vr+=Ht;break;case Xr:if(ht.isSpecial()){if(jt=Vr,Ht!=="/"&&Ht!=="\\")continue}else if(!Wt&&Ht==="?")ht.query="",jt=en;else if(!Wt&&Ht==="#")ht.fragment="",jt=kr;else if(Ht!==Ut&&(jt=Vr,Ht!=="/"))continue;break;case Vr:if(Ht===Ut||Ht==="/"||Ht==="\\"&&ht.isSpecial()||!Wt&&(Ht==="?"||Ht==="#")){if(q(vr)?(ht.shortenPath(),Ht!=="/"&&!(Ht==="\\"&&ht.isSpecial())&&$t(ht.path,"")):Tt(vr)?Ht!=="/"&&!(Ht==="\\"&&ht.isSpecial())&&$t(ht.path,""):(ht.scheme==="file"&&!ht.path.length&&wt(vr)&&(ht.host&&(ht.host=""),vr=at(vr,0)+":"),$t(ht.path,vr)),vr="",ht.scheme==="file"&&(Ht===Ut||Ht==="?"||Ht==="#"))for(;ht.path.length>1&&ht.path[0]==="";)Qt(ht.path);Ht==="?"?(ht.query="",jt=en):Ht==="#"&&(ht.fragment="",jt=kr)}else vr+=Et(Ht,$r);break;case tn:Ht==="?"?(ht.query="",jt=en):Ht==="#"?(ht.fragment="",jt=kr):Ht!==Ut&&(ht.path[0]+=Et(Ht,rr));break;case en:!Wt&&Ht==="#"?(ht.fragment="",jt=kr):Ht!==Ut&&(Ht==="'"&&ht.isSpecial()?ht.query+="%27":Ht==="#"?ht.query+="%23":ht.query+=Et(Ht,rr));break;case kr:Ht!==Ut&&(ht.fragment+=Et(Ht,qt));break}Ar++}},parseHost:function(mt){var Wt,Mt,ht;if(at(mt,0)==="["){if(at(mt,mt.length-1)!=="]"||(Wt=bt(Xt(mt,1,-1)),!Wt))return xr;this.host=Wt}else if(this.isSpecial()){if(mt=T(mt),ot(Pr,mt)||(Wt=Vt(mt),Wt===null))return xr;this.host=Wt}else{if(ot(gr,mt))return xr;for(Wt="",Mt=E(mt),ht=0;ht1?arguments[1]:void 0,jt=N(Mt,new qr(Wt,!1,ht));e||(Mt.href=jt.serialize(),Mt.origin=jt.getOrigin(),Mt.protocol=jt.getProtocol(),Mt.username=jt.getUsername(),Mt.password=jt.getPassword(),Mt.host=jt.getHost(),Mt.hostname=jt.getHostname(),Mt.port=jt.getPort(),Mt.pathname=jt.getPathname(),Mt.search=jt.getSearch(),Mt.searchParams=jt.getSearchParams(),Mt.hash=jt.getHash())},Wr=Jr.prototype,wr=function(mt,Wt){return{get:function(){return w(this)[mt]()},set:Wt&&function(Mt){return w(this)[Wt](Mt)},configurable:!0,enumerable:!0}};if(e&&(g(Wr,"href",wr("serialize","setHref")),g(Wr,"origin",wr("getOrigin")),g(Wr,"protocol",wr("getProtocol","setProtocol")),g(Wr,"username",wr("getUsername","setUsername")),g(Wr,"password",wr("getPassword","setPassword")),g(Wr,"host",wr("getHost","setHost")),g(Wr,"hostname",wr("getHostname","setHostname")),g(Wr,"port",wr("getPort","setPort")),g(Wr,"pathname",wr("getPathname","setPathname")),g(Wr,"search",wr("getSearch","setSearch")),g(Wr,"searchParams",wr("getSearchParams")),g(Wr,"hash",wr("getHash","setHash"))),c(Wr,"toJSON",function(){return w(this).serialize()},{enumerable:!0}),c(Wr,"toString",function(){return w(this).serialize()},{enumerable:!0}),Y){var hn=Y.createObjectURL,Dn=Y.revokeObjectURL;hn&&c(Jr,"createObjectURL",u(hn,Y)),Dn&&c(Jr,"revokeObjectURL",u(Dn,Y))}D(Jr,"URL"),n({global:!0,constructor:!0,forced:!o,sham:!e},{URL:Jr})},51862:function(l,p,t){t(81888)},24119:function(l,p,t){var n=t(14304),e=t(38941),o=t(95486),i=t(17361),u=t(91918),f=e("URL");n({target:"URL",stat:!0,forced:!u},{parse:function(g){var v=o(arguments.length,1),y=i(g),S=v<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return new f(y,S)}catch(E){return null}}})},97526:function(l,p,t){var n=t(14304),e=t(96499);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return e(URL.prototype.toString,this)}})},61969:function(l,p,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},Sn={};function sn(l){var p=Sn[l];if(p!==void 0)return p.exports;var t=Sn[l]={exports:{}};return ia[l].call(t.exports,t,t.exports,sn),t.exports}(function(){sn.d=function(l,p){for(var t in p)sn.o(p,t)&&!sn.o(l,t)&&Object.defineProperty(l,t,{enumerable:!0,get:p[t]})}})(),function(){sn.o=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)}}(),sn(61969);var be=sn(65908);return be=be.default,be}()}); diff --git a/dist/theme/dark.css b/dist/theme/dark.css index e8dadc42d..be86ea2fa 100644 --- a/dist/theme/dark.css +++ b/dist/theme/dark.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ /*-- Dark Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/dark.min.css b/dist/theme/dark.min.css index 7d06b1434..cceab6b8a 100644 --- a/dist/theme/dark.min.css +++ b/dist/theme/dark.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb-color-pattern{background-image:url(#4a7fff;#b02c2c;#1ca46c;#b47300;#49baf3;#ed7e13;#cfaa00;#a6cd19;#dccb52;#f5d194;)}.bb svg{font-size:12px;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8d9cab}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#8d9cab;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid,.bb-line{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#8d9cab}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#8d9cab}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#5c666e}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ccd9e6}.bb-text.bb-empty{fill:#8d9cab}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:8d9cab}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.selection{stroke:none;fill:#ccd9e6}.bb-selected-circle{fill:#ccd9e6;stroke-width:2px}.bb-bar{stroke-width:.5px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.5!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.5}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.25;fill:#ccd9e6}.bb-brush .extent{fill-opacity:.5}.bb-legend-item{user-select:none}.bb-legend-item line{stroke-width:10px;stroke-dasharray:3px}.bb-legend-item text{transform:translateY(-1px)}.bb-legend-item-hidden{opacity:.5}.bb-legend-background{opacity:.75;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#8d9cab;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #828181;border-radius:5px;background-color:#000;text-align:left;font-size:11px;color:#fff;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #828181}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:7px;height:7px;margin:-1px 6px 0 0;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.5}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#3f3f3f;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#828181;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#b6c2ce;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#b6c2ce}.bb-chart-arc rect{stroke:#8d9cab;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#000;color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/datalab.css b/dist/theme/datalab.css index 59fa0abf0..369789b27 100644 --- a/dist/theme/datalab.css +++ b/dist/theme/datalab.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ /*-- Datalab Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/datalab.min.css b/dist/theme/datalab.min.css index 3411b963c..39971fed6 100644 --- a/dist/theme/datalab.min.css +++ b/dist/theme/datalab.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb-color-pattern{background-image:url(#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;)}.bb svg{font-size:11px;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#000}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;user-select:none;fill:#555;font-size:11px}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{stroke-width:.7px}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:.7px}.bb-circle{fill:#fff!important}.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:1px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;stroke-width:8px;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;border-radius:2px;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;-webkit-font-smoothing:antialiased;white-space:nowrap}.bb-tooltip th{font-size:13px;padding:2px 8px;text-align:left;border-bottom:solid 2px #ff2d2d;background-color:#0b00b1;color:#fffdfd}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:8px;height:8px;margin-right:6px;border:solid 1px #000;border-radius:3px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:11px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:18px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:18px!important;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-line{shape-rendering:crispEdges}.bb-chart-arc .bb-gauge-value{fill:#3b6969}.bb-chart-arc path{stroke:#000;stroke-width:.5px}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:14px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:.7px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/graph.css b/dist/theme/graph.css index 07c03f350..0ed617759 100644 --- a/dist/theme/graph.css +++ b/dist/theme/graph.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ /*-- Graph Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/graph.min.css b/dist/theme/graph.min.css index cc5d5f493..6ee02bf47 100644 --- a/dist/theme/graph.min.css +++ b/dist/theme/graph.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb-color-pattern{background-image:url(#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;)}.bb svg{font-size:12px;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8c8c8c}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:12px;letter-spacing:-.3px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1px}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;border-radius:2px;background-color:#fff;text-align:left;font-size:12px;box-shadow:.5px .5px 1px #999;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:center;border-bottom:dotted 1px #000;background-color:#efefef;color:#000}.bb-tooltip tr:last-child td{border-bottom:none}.bb-tooltip td{padding:3px 6px;background-color:#fff;border-bottom:solid 1px #eee}.bb-tooltip td:first-child{padding-left:5px;border-right:solid 1px #eee}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:5px;height:12px;margin-right:6px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#8c8c8c;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:700}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;font-weight:700;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer;opacity:.8;box-shadow:1px 1px 2px #ccc} diff --git a/dist/theme/insight.css b/dist/theme/insight.css index b6512f156..1de2db5c9 100644 --- a/dist/theme/insight.css +++ b/dist/theme/insight.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ /*-- Insight Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/insight.min.css b/dist/theme/insight.min.css index c7fb06758..3a5c0ee4a 100644 --- a/dist/theme/insight.min.css +++ b/dist/theme/insight.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb-color-pattern{background-image:url(#00c73c;#fa7171;#2ad0ff;#7294ce;#e3e448;#cc7e6e;#fb6ccf;#c98dff;#4aea99;#bbbbbb;)}.bb svg{font-size:12px;font-family:sans-serif,Arial,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#c4c4c4}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{fill:#fff!important;stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:sans-serif,Arial,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #eee}.bb-tooltip td{padding:4px 6px;background-color:#fff}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/modern.css b/dist/theme/modern.css index f5e6734fd..c31acc346 100644 --- a/dist/theme/modern.css +++ b/dist/theme/modern.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */ @charset "UTF-8"; /*-- Insight Theme --*/ diff --git a/dist/theme/modern.min.css b/dist/theme/modern.min.css index 59bf928be..6597b27fe 100644 --- a/dist/theme/modern.min.css +++ b/dist/theme/modern.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240727004635 + * @version 3.12.4-nightly-20240731004602 */.bb-color-pattern{background-image:url(#7ea9fa;#ffcd1e;#d33043;#41c464;#c86b74;#006bc2;#2a7e41;#f27c00;#c159ff;#bed017;)}.bb svg{font-size:12px;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;line-height:1}.bb path,.bb line{fill:none;stroke:#cecece}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:10.5px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#d2bad8}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#71808d}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.1;fill:#838181}.bb-brush .extent{fill-opacity:.1}.bb-brush .selection{fill:#838181;fill-opacity:.2}.bb-brush path{stroke:#838181}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:.5px}.bb-tooltip-container{z-index:10;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;color:#fff;border-radius:5px;background-color:#404244;text-align:left;font-size:11px;white-space:nowrap;opacity:.9}.bb-tooltip th{font-size:11px;padding:3px 6px 0;text-align:left}.bb-tooltip td{padding:3px}.bb-tooltip td:first-child{padding-left:7px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#ccc}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:1.8em;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:11px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:1px solid #999;background-color:#404244;color:#fff;opacity:.9;padding:5px;border-radius:5px;cursor:pointer}
${T||""} ${d(et)}