1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96377,(i,r,s)=>{var n;n="u">typeof self?self:i.e,r.exports=function(i){var r=[function(i,r,s){"use strict";function n(){return(n=Object.assign.bind()).apply(this,arguments)}function a(i){return c(i)||h(i)||l(i)||o()}function o(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(i,r){if(i){if("string"==typeof i)return d(i,r);var s=Object.prototype.toString.call(i).slice(8,-1);return"Object"===s&&i.constructor&&(s=i.constructor.name),"Map"===s||"Set"===s?Array.from(i):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?d(i,r):void 0}}function h(i){if("u">typeof Symbol&&null!=i[Symbol.iterator]||null!=i["@@iterator"])return Array.from(i)}function c(i){if(Array.isArray(i))return d(i)}function d(i,r){(null==r||r>i.length)&&(r=i.length);for(var s=0,n=Array(r);s<r;s++)n[s]=i[s];return n}function u(i){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}Object.defineProperty(r,"__esModule",{value:!0}),s.d(r,"HighchartsReact",function(){return f});var p=s(1),m=s.n(p),g="u">typeof window?p.useLayoutEffect:p.useEffect,f=Object(p.memo)(Object(p.forwardRef)(function(i,r){var s=Object(p.useRef)(),o=Object(p.useRef)(),l=Object(p.useRef)(i.constructorType),h=Object(p.useRef)(i.highcharts);return g(function(){function r(){var r=i.highcharts||"object"===("u"<typeof window?"undefined":u(window))&&window.Highcharts,n=i.constructorType||"chart";r?r[n]?i.options?o.current=r[n](s.current,i.options,i.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(o.current){if(!1!==i.allowChartUpdate)if(i.constructorType!==l.current||i.highcharts!==h.current)l.current=i.constructorType,h.current=i.highcharts,r();else if(!i.immutable&&o.current){var n;(n=o.current).update.apply(n,[i.options].concat(a(i.updateArgs||[!0,!0])))}else r()}else r()},[i.options,i.allowChartUpdate,i.updateArgs,i.containerProps,i.highcharts,i.constructorType]),g(function(){return function(){o.current&&(o.current.destroy(),o.current=null)}},[]),Object(p.useImperativeHandle)(r,function(){return{get chart(){return o.current},container:s}},[]),m.a.createElement("div",n({},i.containerProps,{ref:s}))}));r.default=f},function(r,s){r.exports=i}];function s(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,s),a.l=!0,a.exports}var n={};return s.m=r,s.c=n,s.d=function(i,r,n){s.o(i,r)||Object.defineProperty(i,r,{configurable:!1,enumerable:!0,get:n})},s.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(r,"a",r),r},s.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},s.p="",s(s.s=0)}(i.r(61567))},17596,i=>{"use strict";var r,s,n,a,o,l=i.i(26963),h={};h.n=i=>{var r=i&&i.__esModule?()=>i.default:()=>i;return h.d(r,{a:r}),r},h.d=(i,r)=>{for(var s in r)h.o(r,s)&&!h.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},h.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r);let c=l.default;var d=h.n(c);let u=l.default.SeriesRegistry;var p=h.n(u);let{deg2rad:m}=d();(r=n||(n={})).getCenter=function(){let i=this.options,r=this.chart,s=2*(i.slicedOffset||0),n=r.plotWidth-2*s,a=r.plotHeight-2*s,o=i.center,l=Math.min(n,a),h=i.thickness,d,u=i.size,p=i.innerSize||0,m,g;"string"==typeof u&&(u=parseFloat(u)),"string"==typeof p&&(p=parseFloat(p));let f=[(0,c.pick)(o?.[0],"50%"),(0,c.pick)(o?.[1],"50%"),(0,c.pick)(u&&u<0?void 0:i.size,"100%"),(0,c.pick)(p&&p<0?void 0:i.innerSize||0,"0%")];for(m=0;m<4;++m)g=f[m],d=m<2||2===m&&/%$/.test(g),f[m]=(0,c.relativeLength)(g,[n,a,l,f[2]][m])+(d?s:0);return f[3]>f[2]&&(f[3]=f[2]),(0,c.isNumber)(h)&&2*h<f[2]&&h>0&&(f[3]=f[2]-2*h),(0,c.fireEvent)(this,"afterGetCenter",{positions:f}),f},r.getStartAndEndRadians=function(i,r){let s=(0,c.isNumber)(i)?i:0,n=(0,c.isNumber)(r)&&r>s&&r-s<360?r:s+360;return{start:m*(s+-90),end:m*(n+-90)}};let g=n;function f(i){let r,s=this;return i&&s.pane.forEach(n=>{A(i.chartX-s.plotLeft,i.chartY-s.plotTop,n.center)&&(r=n)}),r}function A(i,r,s,n,a){let o=!0,l=s[0],h=s[1],d=2*Math.PI,u=Math.sqrt(Math.pow(i-l,2)+Math.pow(r-h,2));
vendor: 5,686 bytes, line 1
1if((0,c.defined)(n)&&(0,c.defined)(a)){let s=Math.atan2((0,c.correctFloat)(r-h,8),(0,c.correctFloat)(i-l,8));s=(s+d)%d,n=(n+d)%d,Math.abs((a=(a+d)%d)-n)>1e-6&&(o=n>a?s>=n||s<=a:s>=n&&s<=a)}else o=!0;return u<=Math.ceil(s[2]/2)&&o}function b(i){this.polar&&(i.options.inverted&&([i.x,i.y]=[i.y,i.x]),i.isInsidePlot=this.pane.some(r=>A(i.x,i.y,r.center,r.axis&&r.axis.normalizedStartAngleRad,r.axis&&r.axis.normalizedEndAngleRad)))}function y(i){let r=this.chart;i.hoverPoint&&i.hoverPoint.plotX&&i.hoverPoint.plotY&&r.hoverPane&&!A(i.hoverPoint.plotX,i.hoverPoint.plotY,r.hoverPane.center)&&(i.hoverPoint=void 0)}function x(i){let r=this.chart;r.polar?(r.hoverPane=r.getHoverPane(i),i.filter=function(s){return s.visible&&!(!i.shared&&s.directTouch)&&(0,c.pick)(s.options.enableMouseTracking,!0)&&(!r.hoverPane||s.xAxis.pane===r.hoverPane)}):r.hoverPane=void 0}let{defaultOptions:E}=d(),T={shape:"arc",borderRadius:void 0,borderWidth:0,borderColor:"var(--highcharts-neutral-color-20)",backgroundColor:"var(--highcharts-neutral-color-3)",from:-Number.MAX_VALUE,to:Number.MAX_VALUE,outerRadius:"100%"},C={borderRadius:3,margin:void 0};E.pane=C;class v{constructor(i,r){this.coll="pane",this.init(i,r)}init(i,r){this.chart=r,this.background=[],r.pane.push(this),this.setOptions(i)}hasSeriesType(i){return!!(this.chart.options?.chart?.type===i||this.chart.options?.series?.some(r=>r.type===i))}setOptions(i){this.options=(0,c.merge)(C,this.chart.angular?{background:{},innerSize:"85%"}:{},i)}render(){let i=this.options,r=this.chart.renderer;this.group||(this.group=r.g("pane-group").attr({zIndex:i.zIndex||0}).add()),this.updateCenter();let s=this.options.background;if(s){let i=Math.max((s=(0,c.splat)(s)).length,this.background.length||0);for(let r=0;r<i;r++)s[r]&&this.axis?this.renderBackground((0,c.merge)(T,{borderRadius:this.options.borderRadius},s[r]),r):this.background[r]&&(this.background[r]=this.background[r].destroy(),this.background.splice(r,1))}}renderBackground(i,r){let s={class:"highcharts-pane "+(i.className||"")},n="animate";this.chart.styledMode||(0,c.extend)(s,{fill:i.backgroundColor,stroke:i.borderColor,"stroke-width":i.borderWidth}),this.background[r]||(this.background[r]=this.chart.renderer.path().add(this.group),n="attr"),this.background[r][n]({d:this.axis.getPlotBandPath(i.from,i.to,i)}).attr(s)}updateCenter(){let{axis:i,chart:r,options:s}=this,{plotHeight:n,plotWidth:a}=r,o=s.center?.[1],l=s.margin,h=this.axis?.options.labels,d=s.thickness,u=Array.isArray(l)?l:[l,l,l,l],p=[],m=s.size,f,A=0,b=0,y=Math.min(r.series.reduce((i,r)=>{if(!r.is("gauge")||r.yAxis?.pane!==this)return i;let s=(0,c.splat)(r.options.dataLabels)[0],n=0;return s&&!1!==s.enabled&&(n=(1-(0,c.getAlignFactor)(s.verticalAlign))*30+(s.y||0)),Math.max(i,n)},0),.3*n);if(h?.enabled){let i=String(h.style?.fontSize||""),r=(/px$/.test(i)?parseFloat(i):/em$/.test(i)?12*parseFloat(i):12)*1.2;b=Math.max(h.distance||0,0)+r/2}if(u.forEach((i,r)=>{p[r]=i??Math.max(b||0)}),i&&(void 0===m||void 0===o)){let{endAngleRad:r,startAngleRad:o}=i,l=2*Math.PI/360,h=.5+.5*Math.max(Math.sin((o<Math.PI/2&&r>Math.PI/2||(0,c.splat)(s.background).some(i=>i?.shape==="circle")?Math.PI:Math.max(Math.abs(o+Math.PI/2),Math.abs(r+Math.PI/2)))-Math.PI/2),Math.sin(0*l));if(f=(n-p[0]-p[2])/h,void 0===m){let i=(m=Math.max(Math.min(f,a-p[1]-p[3]),1))+p[0]+p[2]+2*(y-n);i>0&&(m=Math.max(1,m-(A=i)))}}this.center=(i||{}).center=g.getCenter.call(this),(0,c.isNumber)(m)&&m>=0&&(this.center[2]=m,(0,c.isNumber)(d)?this.center[3]=this.center[2]-2*d:this.center[3]=Math.min(m,(0,c.relativeLength)(s.innerSize||0,m))),!(0,c.defined)(o)&&(s.size?this.center[1]=n/2:(0,c.isNumber)(f)&&(this.center[1]=(f+this.center[2]-A)/4+p[0]))}update(i,r){(0,c.merge)(!0,this.options,i),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(i){i.pane===this&&(i.pane=null,i.update({},r))},this)}}v.compose=function(i,r){let s=i.prototype;s.getHoverPane||(s.collectionsWithUpdate.push("pane"),s.getHoverPane=f,(0,c.addEvent)(i,"afterIsInsidePlot",b),(0,c.addEvent)(r,"afterGetHoverData",y),(0,c.addEvent)(r,"beforeGetHoverData",x))};let{area:{prototype:{pointClass:S,pointClass:{prototype:I}}}}=p().seriesTypes,w=class extends S{setState(){let i=this.state,r=this.series,s=r.chart.polar;(0,c.defined)(this.plotHigh)||(this.plotHigh=r.yAxis.toPixels(this.high,!0)),(0,c.defined)(this.plotLow)||(this.plotLow=this.plotY=r.yAxis.toPixels(this.low,!0)),r.lowerStateMarkerGraphic=r.stateMarkerGraphic,r.stateMarkerGraphic=r.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,s&&(0,c.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),I.setState.apply(this,arguments),this.state=i,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],s&&(0,c.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),r.upperStateMarkerGraphic=r.stateMarkerGraphic,r.stateMarkerGraphic=r.lowerStateMarkerGraphic,r.lowerStateMarkerGraphic=void 0;let n=r.modifyMarkerSettings();I.setState.apply(this,arguments),r.restoreMarkerSettings(n)}haloPath(){let i=this.series.chart.polar,r=[];return this.plotY=this.plotLow,i&&(0,c.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(r=I.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,i&&(0,c.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(r=r.concat(I.haloPath.apply(this,arguments))),r}isValid(){return(0,c.isNumber)(this.low)&&(0,c.isNumber)(this.high)}},{noop:_}=d(),{area:k,area:{prototype:N},column:{prototype:M}}=p().seriesTypes;class L extends k{toYData(i){return[i.low,i.high]}highToXY(i){let r=this.chart,s=this.xAxis.postTranslate(i.rectPlotX||0,this.yAxis.len-(i.plotHigh||
10));i.plotHighX=s.x-r.plotLeft,i.plotHigh=s.y-r.plotTop,i.plotLowX=i.plotX}getGraphPath(i){let r=[],s=[],n=N.getGraphPath,a=this.options,o=this.chart.polar,l=o&&!1!==a.connectEnds,h=a.connectNulls,d,u,p,m=a.step;for(d=(i=i||this.points).length;d--;){u=i[d];let n=o?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||l||h||i[d+1]&&!i[d+1].isNull||s.push(n),p={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:(0,c.pick)(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull},s.push(p),r.push(p),u.isNull||l||h||i[d-1]&&!i[d-1].isNull||s.push(n)}let g=n.call(this,i);m&&(!0===m&&(m="left"),a.step=({left:"right",center:"center",right:"left"})[m]);let f=n.call(this,r),A=n.call(this,s);a.step=m;let b=[].concat(g,f);return!this.chart.polar&&A[0]&&"M"===A[0][0]&&(A[0]=["L",A[0][1],A[0][2]]),this.graphPath=b,this.areaPath=g.concat(A),b.isArea=!0,b.xMap=g.xMap,this.areaPath.xMap=g.xMap,b}drawDataLabels(){let i,r,s,n,a,o=this.points,l=o.length,h=[],d=this.options.dataLabels,u=this.chart.inverted;if(d){if((0,c.isArray)(d)?(n=d[0]||{enabled:!1},a=d[1]||{enabled:!1}):((n=(0,c.extend)({},d)).x=d.xHigh,n.y=d.yHigh,(a=(0,c.extend)({},d)).x=d.xLow,a.y=d.yLow),n.enabled||this.hasDataLabels?.()){for(i=l;i--;)if(r=o[i]){let{plotHigh:a=0,plotLow:o=0}=r;s=n.inside?a<o:a>o,r.y=r.high,r._plotY=r.plotY,r.plotY=a,h[i]=r.dataLabel,r.dataLabel=r.dataLabelUpper,r.below=s,u?n.align||(n.align=s?"right":"left"):n.verticalAlign||(n.verticalAlign=s?"top":"bottom")}for(this.options.dataLabels=n,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments),i=l;i--;)(r=o[i])&&(r.dataLabelUpper=r.dataLabel,r.dataLabel=h[i],delete r.dataLabels,r.y=r.low,r.plotY=r._plotY)}if(a.enabled||this.hasDataLabels?.()){for(i=l;i--;)if(r=o[i]){let{plotHigh:i=0,plotLow:n=0}=r;s=a.inside?i<n:i>n,r.below=!s,u?a.align||(a.align=s?"left":"right"):a.verticalAlign||(a.verticalAlign=s?"bottom":"top")}this.options.dataLabels=a,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments)}if(n.enabled)for(i=l;i--;)(r=o[i])&&(r.dataLabels=[r.dataLabelUpper,r.dataLabel].filter(function(i){return!!i}));this.options.dataLabels=d}}alignDataLabel(){M.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let i={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:i,lowMarker:r}}=this;this.options.marker=(0,c.merge)(i,r),r.symbol&&(this.symbol=r.symbol)}return i}restoreMarkerSettings(i){this.options.marker=i.marker,this.symbol=i.symbol}drawPoints(){let i,r,s=this.points.length,n=this.modifyMarkerSettings();for(N.drawPoints.apply(this,arguments),this.restoreMarkerSettings(n),i=0;i<s;)(r=this.points[i]).graphics=r.graphics||[],r.origProps={plotY:r.plotY,plotX:r.plotX,isInside:r.isInside,negative:r.negative,zone:r.zone,y:r.y},(r.graphic||r.graphics[0])&&(r.graphics[0]=r.graphic),r.graphic=r.graphics[1],r.plotY=r.plotHigh,(0,c.defined)(r.plotHighX)&&(r.plotX=r.plotHighX),r.y=(0,c.pick)(r.high,r.origProps.y),r.negative=r.y<(this.options.threshold||0),this.zones.length&&(r.zone=r.getZone()),this.chart.polar||(r.isInside=r.isTopInside=void 0!==r.plotY&&r.plotY>=0&&r.plotY<=this.yAxis.len&&r.plotX>=0&&r.plotX<=this.xAxis.len),i++;for(N.drawPoints.apply(this,arguments),i=0;i<s;)(r=this.points[i]).graphics=r.graphics||[],(r.graphic||r.graphics[1])&&(r.graphics[1]=r.graphic),r.graphic=r.graphics[0],r.origProps&&((0,c.extend)(r,r.origProps),delete r.origProps),i++}hasMarkerChanged(i,r){let s=i.lowMarker,n=r.lowMarker||{};return s&&(!1===s.enabled||n.symbol!==s.symbol||n.height!==s.height||n.width!==s.width)||super.hasMarkerChanged(i,r)}}L.defaultOptions=(0,c.merge)(k.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">â</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),(0,c.addEvent)(L,"afterTranslate",function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach(i=>{let r=i.high,s=i.plotY;i.isNull?i.plotY=void 0:(i.plotLow=s,i.plotHigh=(0,c.isNumber)(r)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(r):r,!1,!0,void 0,!0):void 0,this.dataModify&&(i.yBottom=i.plotHigh))})},{order:0}),(0,c.addEvent)(L,"afterTranslate",function(){this.points.forEac
vendor: 80,048 bytes, line 1
1h(i=>{if(this.chart.polar)this.highToXY(i),i.plotLow=i.plotY,i.tooltipPos=[((i.plotHighX||0)+(i.plotLowX||0))/2,((i.plotHigh||0)+(i.plotLow||0))/2];else{let r=i.pos(!1,void 0,i.plotLow),s=i.pos(!1,void 0,i.plotHigh);r&&s&&(r[0]=(r[0]+s[0])/2,r[1]=(r[1]+s[1])/2),i.tooltipPos=r}})},{order:3}),(0,c.extend)(L.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:w,pointValKey:"low",setStackedPoints:_}),p().registerSeriesType("arearange",L);let D=L,{spline:{prototype:O}}=p().seriesTypes;class P extends D{}P.defaultOptions=(0,c.merge)(D.defaultOptions),(0,c.extend)(P.prototype,{getPointSpline:O.getPointSpline}),p().registerSeriesType("areasplinerange",P);let R=l.default.Series.types.column;var B=h.n(R);let{noop:F}=d();class H extends B(){pointAttribs(){return{fill:this.color}}getWhiskerPair(i,r,s,n,a){let o=a.whiskers.strokeWidth(),l=(s,n)=>{let a=(0,c.relativeLength)(s,2*i)/2,l=(0,c.crisp)(n,o);return[["M",(0,c.crisp)(r-a),l],["L",(0,c.crisp)(r+a),l]]};return[...l(s,a.highPlot),...l(n,a.lowPlot)]}translate(){let i=this.yAxis,r=this.pointArrayMap;super.translate.apply(this),this.points.forEach(function(s){r.forEach(function(r){null!==s[r]&&(s[r+"Plot"]=i.translate(s[r],0,1,0,1))}),s.plotHigh=s.highPlot})}drawPoints(){let i,r,s,n,a,o,l,h,d,u,p,m=this.points,g=this.options,f=this.chart,A=f.renderer,b=!1!==this.doQuartiles,y=this.options.whiskerLength;for(let x of m){let m=(h=x.graphic)?"animate":"attr",E=x.shapeArgs,T={},C={},v={},S={},I=x.color||this.color,w=x.options.whiskerLength||y;if(void 0!==x.plotY){let _;d=E.width,p=(u=E.x)+d,i=b?x.q1Plot:x.lowPlot,r=b?x.q3Plot:x.lowPlot,s=x.highPlot,n=x.lowPlot,h||(x.graphic=h=A.g("point").add(this.group),x.stem=A.path().addClass("highcharts-boxplot-stem").add(h),y&&(x.whiskers=A.path().addClass("highcharts-boxplot-whisker").add(h)),b&&(x.box=A.path(l).addClass("highcharts-boxplot-box").add(h)),x.medianShape=A.path(o).addClass("highcharts-boxplot-median").add(h)),f.styledMode||(C.stroke=x.stemColor||g.stemColor||I,C["stroke-width"]=(0,c.pick)(x.stemWidth,g.stemWidth,g.lineWidth),C.dashstyle=x.stemDashStyle||g.stemDashStyle||g.dashStyle,x.stem.attr(C),w&&(v.stroke=x.whiskerColor||g.whiskerColor||I,v["stroke-width"]=(0,c.pick)(x.whiskerWidth,g.whiskerWidth,g.lineWidth),v.dashstyle=x.whiskerDashStyle||g.whiskerDashStyle||g.dashStyle,x.whiskers.attr(v)),b&&(T.fill=x.fillColor||g.fillColor||I,T.stroke=g.lineColor||I,T["stroke-width"]=g.lineWidth||0,T.dashstyle=x.boxDashStyle||g.boxDashStyle||g.dashStyle,x.box.attr(T)),S.stroke=x.medianColor||g.medianColor||I,S["stroke-width"]=(0,c.pick)(x.medianWidth,g.medianWidth,g.lineWidth),S.dashstyle=x.medianDashStyle||g.medianDashStyle||g.dashStyle,x.medianShape.attr(S));let k=(0,c.crisp)((x.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,x.stem.strokeWidth());if(_=[["M",k,r],["L",k,s],["M",k,i],["L",k,n]],x.stem[m]({d:_}),b){let s=x.box.strokeWidth();i=(0,c.crisp)(i,s),r=(0,c.crisp)(r,s),_=[["M",u=(0,c.crisp)(u,s),r],["L",u,i],["L",p=(0,c.crisp)(p,s),i],["L",p,r],["L",u,r],["Z"]],x.box[m]({d:_})}if(w){let i=d/2,r=this.getWhiskerPair(i,k,x.upperWhiskerLength??g.upperWhiskerLength??w,x.lowerWhiskerLength??g.lowerWhiskerLength??w,x);x.whiskers[m]({d:r})}_=[["M",u,a=(0,c.crisp)(x.medianPlot,x.medianShape.strokeWidth())],["L",p,a]],x.medianShape[m]({d:_})}}}toYData(i){return[i.low,i.q1,i.median,i.q3,i.high]}}H.defaultOptions=(0,c.merge)(B().defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">â</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"var(--highcharts-background-color)",lineWidth:1,medianWidth:2,whiskerWidth:2}),(0,c.extend)(H.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:F,setStackedPoints:F}),p().registerSeriesType("boxplot",H);let G=H,U={borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"var(--highcharts-neutral-color-100)"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0},Y=l.default.Templating;var W=h.n(Y);let{noop:j}=d(),z=class{constructor(i,r){this.setState=j,this.init(i,r)}init(i,r){this.options=i,this.visible=!0,this.chart=r.chart,this.legend=r}addToLegend(i){i.splice(this.options.legendIndex,0,this)}drawLegendSymbol(i){let r,s=(0,c.pick)(i.options.itemDistance,20),n=this.legendItem||{},a=this.options,o=a.ranges,l=a.connectorDistance;if(!o||!o.length||!(0,c.isNumber)(o[0].value)){i.options.bubbleLegend.autoRanges=!0;return}(0,c.stableSort)(o,function(i,r){return r.value-i.value}),this.ranges=o,this.setOptions(),this.render();let h=this.getMaxLabelSize(),d=this.ranges[0].radius,u=2*d;r=(r=l-d+h.width)>0?r:0,this.maxLabel=h,this.movementX="left"===a.labels.align?r:0,n.labelWidth=u+r+s,n.labelHeight=u+h.height/2}setOptions(){let i=this.ranges,r=this.options,s=this.chart.series[r.seriesIndex],n=this.legend.baseline,a={zIndex:r.zIndex,"stroke-width":r.borderWidth},o={zIndex:r.zIndex,"stroke-width":r.connectorWidth},l={align:this.legend.options.rtl||"left"===r.labels.align?"right":"left",zIndex:r.zIndex},h=s.options.marker.fillOpacity,d=this.chart.styledMode;i.forEach(function(u,p){d||(a.stroke=(0,c.pick)(u.borderColor,r.borderColor,s.color),a.fill=u.color||r.color,a.fill||(a.fill=s.color,a["fill-opacity"]=h??1),o.stroke=(0,c.pick)(u.connectorColor,r.connectorColor,s.color)),i[p].radius=this.getRangeRadius(u.value),i[p]=(0,c.merge)(i[p],{center:i[0].radius-i[p].radius+n}),d||(0,c.merge)(!0,i[p],{bubbleAttribs:(0,c.merge)(a),connectorAttribs:(0,c.merge)(o),labelAttribs:l})},this)}getRangeRadius(i){let r=this.options,s=this.options.seriesIndex,n=this.chart.series[s],a=r.ranges[0].value,o=r.ranges[r.ranges.length-1].value,l=r.minSize,h=r.maxSize;return n.getRadius.call(this,o,a,l,h,i)}render(){let i=this.legendItem||{},r=this.chart.renderer,s=this.options.zThreshold;for(let n of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),i.symbol=r.g("bubble-legend"),i.label=r.g("bubble-legend-item").css(this.legend.itemStyle||{}),i.symbol.translateX=0,i.symbol.translateY=0,i.symbol.add(i.label),i.label.add(i.group),this.ranges))n.value>=s&&this.renderRange(n);this.hideOverlappingLabels()}renderRange(i){let r=this.ranges[0],s=this.legend,n=this.options,a=n.labels,o=this.chart,l=o.series[n.seriesIndex],h=o.renderer,c=this.symbols,d=c.labels,u=i.center,p=Math.abs(i.radius),m=n.connectorDistance||0,g=a.align,f=s.options.rtl,A=n.borderWidth,b=n.connectorWidth,y=r.radius||0,x=u-p-A/2+b/2,E=(x%1?1:.5)-(b%2?0:.5),T=h.styledMode,C=f||"left"===g?-m:m;"center"===g&&(C=0,n.connectorDistance=0,i.labelAttribs.align="center"),c.bubbleItems.push(h.circle(y,u+E,p).attr(T?{}:i.bubbleAttribs).addClass((T?"highcharts-color-"+l.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(n.className||"")).add(this.legendItem.symbol)),c.connectors.push(h.path(h.crispLine([["M",y,x],["L",y+C,x]],n.connectorWidth)).attr(T?{}:i.connectorAttribs).addClass((T?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(n.connectorClassName||"")).add(this.legendItem.symbol));let v=h.text(this.formatLabel(i)).attr(T?{}:i.labelAttribs).css(T?{}:a.style).addClass("highcharts-bubble-legend-labels "+(n.labels.className||"")).add(this.legendItem.symbol),S={x:y+C+n.labels.x,y:x+n.labels.y+.4*v.getBBox().height};v.attr(S),d.push(v),v.placed=!0,v.alignAttr=S}getMaxLabelSize(){let i,r;return this.symbols.labels.forEach(function(s){r=s.getBBox(!0),i=i?r.width>i.width?r:i:r}),i||{}}formatLabel(i){let r=this.options,s=r.labels.formatter,n=r.labels.format,{numberFormatter:a}=this.chart;return n?W().format(n,i,this.chart):s?s.call(i,i):a(i.value,1)}hideOverlappingLabels(){let i=this.chart,r=this.options.labels.allowOverlap,s=this.symbols;!r&&s&&(i.hideOverlappingLabels(s.labels),s.labels.forEach(function(i,r){i.newOpacity?i.newOpacity!==i.oldOpacity&&s.connectors[r].show():s.connectors[r].hide()}))}getRanges(){let i=this.legend.bubbleLegend,r=i.chart.series,s=i.options.ranges,n,a,o=Number.MAX_VALUE,l=-Number.MAX_VALUE;return r.forEach(function(i){i.isBubble&&!i.ignoreSeries&&(a=i.getColumn("z").filter(c.isNumber)).length&&(o=(0,c.pick)(i.options.zMin,Math.min(o,Math.max((0,c.arrayMin)(a),!1===i.options.displayNegative?i.options.zThreshold:-Number.MAX_VALUE))),l=(0,c.pick)(i.options.zMax,Math.max(l,(0,c.arrayMax)(a))))}),n=o===l?[{value:l}]:[{value:o},{value:(o+l)/2},{value:l,autoRanges:!0}],s.length&&s[0].radius&&n.reverse(),n.forEach(function(i,r){s&&s[r]&&(n[r]=(0,c.merge)(s[r],i))}),n}predictBubbleSizes(){let i=this.chart,r=i.legend.options,s=r.floating,n="horizontal"===r.layout,a=n?i.legend.lastLineHeight:0,o=i.plotSizeX,l=i.plotSizeY,h=i.series[this.options.seriesIndex],c=h.getPxExtremes(),d=Math.ceil(c.minPxSize),u=Math.ceil(c.maxPxSize),p=Math.min(l,o),m,g=h.options.maxSize;return s||!/%$/.test(g)?m=u:(m=(p+a)*(g=parseFloat(g))/100/(g/100+1),(n&&l-m>=o||!n&&o-m>=l)&&(m=u)),[d,Math.ceil(m)]}updateRanges(i,r){let s=this.legend.options.bubbleLegend;s.minSize=i,s.maxSize=r,s.ranges=this.getRanges()}correctSizes(){let i=this.legend,r=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(r.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,r.maxPxSize),i.render())}},{setOptions:X}=d(),{composed:Q}=d();function K(i,r,s){let n,a,o,l=this.legend,h=V(this)>=0;l&&l.options.enabled&&l.bubbleLegend&&l.options.bubbleLegend.autoRanges&&h?(n=l.bubbleLegend.options,a=l.bubbleLegend.predictBubbleSizes(),l.bubbleLegend.updateRanges(a[0],a[1]),n.placed||(l.group.placed=!1,l.allItems.forEach(i=>{(o=i.legendItem||{}).group&&(o.group.translateY=void 0)})),l.render(),n.placed||(this.getMargins(),this.axes.forEach(i=>{i.setScale(),i.updateNames(),(0,c.objectEach)(i.ticks,function(i){i.isNew=!0,i.isNewLabel=!0})}),this.getMargins()),n.placed=!0,i.call(this,r,s),l.bubbleLegend.correctSizes()):(i.call(this,r,s),l&&l.options.enabled&&l.bubbleLegend&&l.render())}function V(i){let r=i.series,s=0;for(;s<r.length;){if(r[s]&&r[s].isBubble&&r[s].visible&&r[s].dataTable.rowCount)return s;s++}return -1}function q(i){let r=this.bubbleLegend,s=this.options,n=s.bubbleLegend,a=V(this.chart);r&&r.ranges&&r.ranges.length&&(n.ranges.length&&(n.autoRanges=!!n.ranges[0].autoRanges),this.destroyItem(r)),a>=0&&s.enabled&&n.enabled&&(n.seriesIndex=a,this.bubbleLegend=new z(n,this),this.bubbleLegend.addToLegend(i.allItems))}function Z(){if(this.bubbleLegend){let i=this.allItems,r=this.options.rtl,s=function(i){let r=i.allItems,s=[],n=r.length,a,o,l,h=0,c=0;for(h=0;h<n;h++)if(o=r[h].legendItem||{},l=(r[h+1]||{}).legendItem||{},o.labelHeight&&(r[h].itemHeight=o.labelHeight),r[h]===r[n-1]||o.y!==l.y){for(s.push({height:0}),a=s[s.length-1];c<=h;c++)r[c].itemHeight>a.height&&(a.height=r[c].itemHeight);a.step=h}return s}(this),n,a,o,l,h=0;i.forEach((i,c)=>{(l=i.legendItem||{}).group&&(n=l.group.translateX||0,a=l.y||0,((o=i.movementX)||r&&i.ranges)&&(o=r?n-i.options.maxSize/2:n+o,l.group.attr({translateX:o})),c>s[h].step&&h++,l.group.attr({translateY:Math.round(a+s[h].height/2)}),l.y=a+s[h].height/2)})}}function J(i){let r;if(i.defaultPrevented)return!1;let s=i.legendItem,n=this.chart,a=s.visible;this&&this.bubbleLegend&&(s.visible=!a,s.ignoreSeries=a,r=V(n)>=0,this.bubbleLegend.visible!==r&&(this.update({bubbleLegend:{enabled:r}}),this.bubbleLegend.visible=r),s.visible=a)}let $=function(i,r){(0,c.pushUnique)(Q,"Series.BubbleLegend")&&(X({legend:{bubbleLegend:U}}),(0,c.wrap)(i.prototype,"drawChartBox",K),(0,c.addEvent)(r,"afterGetAllItems",q),(0,c.addEvent)(r,"afterRender",Z),(0,c.addEvent)(r,"itemClick",J))},tt=l.default.Point;var te=h.n(tt);let{seriesTypes:{scatter:{prototype:{pointClass:ti}}}}=p();class tr extends ti{haloPath(i){let r=(i&&this.marker&&this.marker.radius||0)+i;if(this.series.chart.inverted){let i=this.pos()||[0,0],{xAxis:s,yAxis:n,chart:a}=this.series,o=2*r;return a.renderer.symbols.circle((s?.len||0)-i[1]-r,(n?.len||0)-i[0]-r,o,o)}return te().prototype.haloPath.call(this,r)}}(0,c.extend)(tr.prototype,{ttBelow:!1});let{composed:ts,noop:tn}=d(),{series:ta,seriesTypes:{column:{prototype:to},scatter:tl}}=p();function th(){let i=this.len,{coll:r,isXAxis:s,min:n}=this,a=(this.max||0)-(n||0),o=0,l=i,h=i/a,d;("xAxis"===r||"yAxis"===r)&&(this.series.forEach(i=>{if(i.bubblePadding&&i.reserveSpace()){this.allowZoomOutside=!0,d=!0;let r=i.getColumn(s?"x":"y");if(s&&((i.onPoint||i).getRadii(0,0,i),i.onPoint&&(i.radii=i.onPoint.radii)),a>0){let s=r.length;for(;s--;)if((0,c.isNumber)(r[s])&&this.dataMin<=r[s]&&r[s]<=this.max){let a=i.radii&&i.radii[s]||0;o=Math.min((r[s]-n)*h-a,o),l=Math.max((r[s]-n)*h+a,l)}}}}),d&&a>0&&!this.logarithmic&&(l-=i,h*=(i+Math.max(0,o)-Math.min(l,i))/i,[["min","userMin",o],["max","userMax",l]].forEach(i=>{void 0===(0,c.pick)(this.options[i[0]],this[i[1]])&&(this[i[0]]+=i[2]/h)})))}function tc(){let{ticks:i,tickPositions:r,dataMin:s=0,dataMax:n=0,categories:a}=this,o=this.options.type;if((a?.length||"category"===o)&&this.series.find(i=>i.bubblePadding)){let a=r.length;for(;a--;){let o=i[r[a]],l=o.pos||0;(l>n||l<s)&&o.label?.hide()}}}class td extends tl{static compose(i,r,s){$(r,s),(0,c.pushUnique)(ts,"Series.Bubble")&&((0,c.addEvent)(i,"foundExtremes",th),(0,c.addEvent)(i,"afterRender",tc))}animate(i){!i&&this.points.length<this.options.animationLimit&&this.points.forEach(function(i){let{graphic:r,plotX:s=0,plotY:n=0}=i;r&&r.width&&(this.hasRendered||r.attr({x:s,y:n,width:1,height:1}),r.animate(this.markerAttribs(i),this.options.animation))},this)}getRadii(){let i=[...this.getColumn("z",!1,!0)],r=this.getColumn("y"),s=[],n,a,o,l=this.chart.bubbleZExtremes,{minPxSize:h,maxPxSize:d}=this.getPxExtremes();if(!l){let i,r=Number.MAX_VALUE,s=-Number.MAX_VALUE;this.chart.series.forEach(n=>{if(n.bubblePadding&&n.reserveSpace()){let a=(n.onPoint||n).getZExtremes();a&&(r=Math.min((0,c.pick)(r,a.zMin),a.zMin),s=Math.max((0,c.pick)(s,a.zMax),a.zMax),i=!0)}}),i?(l={zMin:r,zMax:s},this.chart.bubbleZExtremes=l):l={zMin:0,zMax:0}}for(a=0,n=i.length;a<n;a++)o=i[a],s.push(this.getRadius(l.zMin,l.zMax,h,d,o,r&&r[a]));this.radii=s}getRadius(i,r,s,n,a,o){let l=this.options,h="width"!==l.sizeBy,d=l.zThreshold,u=r-i,p=.5;if(null===o||null===a)return null;if((0,c.isNumber)(a)){if(l.sizeByAbsoluteValue&&(a=Math.abs(a-d),r=u=Math.max(r-d,Math.abs(i-d)),i=0),a<i)return s/2-1;u>0&&(p=(a-i)/u)}return h&&p>=0&&(p=Math.sqrt(p)),Math.ceil(s+p*(n-s))/2}hasData(){return!!this.dataTable.rowCount}markerAttribs(i,r){let s=super.markerAttribs(i,r),{height:n=0,width:a=0}=s;return this.chart.inverted?(0,c.extend)(s,{x:(i.plotX||0)-a/2,y:(i.plotY||0)-n/2}):s}pointAttribs(i,r){let s=this.options.marker,n=s?.fillOpacity,a=ta.prototype.pointAttribs.call(this,i,r);return a["fill-opacity"]=n??1,a}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{options:i,radii:r}=this,{minPxSize:s}=this.getPxExtremes();this.data.concat(this.condemnedPoints).forEach((n,a)=>{let{plotX:o=0,plotY:l=0}=n,h=n.condemned?n.marker?.radius||0:r?r[a]:0;"z"===this.zoneAxis&&(n.negative=(n.z||0)<(i.zThreshold||0)),(0,c.isNumber)(h)&&(n.marker=(0,c.extend)(n.marker,{radius:h,width:2*h,height:2*h})),(0,c.isNumber)(h)&&h>=s/2?n.dlBox={x:o-h,y:l-h,width:2*h,height:2*h}:(n.shapeArgs=n.plotY=n.dlBox=void 0,n.isInside=!1)})}getPxExtremes(){let i=Math.min(this.chart.plotWidth,this.chart.plotHeight),r=r=>{let s;return"string"==typeof r&&(s=/%$/.test(r),r=parseInt(r,10)),s?i*r/100:r},s=r((0,c.pick)(this.options.minSize,8)),n=Math.max(r((0,c.pick)(this.options.maxSize,"20%")),s);return{minPxSize:s,maxPxSize:n}}getZExtremes(){let i=this.options,r=this.getColumn("z").filter(c.isNumber);if(r.length){let s=(0,c.pick)(i.zMin,(0,c.clamp)((0,c.arrayMin)(r),!1===i.displayNegative?i.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),n=(0,c.pick)(i.zMax,(0,c.arrayMax)(r));if((0,c.isNumber)(s)&&(0,c.isNumber)(n))return{zMin:s,zMax:n}}}searchKDTree(i,r,s,n=tn,a=tn){return n=(i,r,s)=>{let n=i[s]||0,a=r[s]||0,o,l=!1;return n===a?o=i.index>r.index?i:r:n<0&&a<0?(o=n-(i.marker?.radius||0)>=a-(r.marker?.radius||0)?i:r,l=!0):o=n<a?i:r,[o,l]},a=(i,r,s)=>!s&&i>r||i<r,super.searchKDTree(i,r,s,n,a)}}td.defaultOptions=(0,c.merge)(tl.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:i}=this.series.chart,{z:r}=this.point;return(0,c.isNumber)(r)?i(r,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),(0,c.extend)(td.prototype,{alignDataLabel:to.alignDataLabel,applyZones:tn,bubblePadding:!0,isBubble:!0,keysAffectYAxis:["y"],pointArrayMap:["y","z"],pointClass:tr,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),(0,c.addEvent)(td,"updatedData",i=>{delete i.target.chart.bubbleZExtremes}),(0,c.addEvent)(td,"remove",i=>{delete i.target.chart.bubbleZExtremes}),(0,c.addEvent)(td,"update",i=>{let r=i.target.options;((0,c.defined)(r.zMin)||(0,c.defined)(r.zMax))&&delete i.target.chart.bubbleZExtremes}),p().registerSeriesType("bubble",td);let{seriesTypes:{column:{prototype:{pointClass:{prototype:tu}}},arearange:{prototype:{pointClass:tp}}}}=p();class tm extends tp{isValid(){return(0,c.isNumber)(this.low)}}(0,c.extend)(tm.prototype,{setState:tu.setState});let{noop:tg}=d(),{seriesTypes:{arearange:tf,column:tA,column:{prototype:tb}}}=p();class ty extends tf{setOptions(){return(0,c.merge)(!0,arguments[0],{stacking:void 0}),tf.prototype.setOptions.apply(this,arguments)}translate(){return tb.translate.apply(this)}pointAttribs(){return tb.pointAttribs.apply(this,arguments)}translate3dPoints(){return tb.translate3dPoints.apply(this,arguments)}translate3dShapes(){return tb.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let i,r,s,n,a=this.yAxis,o=this.xAxis,l=o.startAngleRad,h=this.chart,d=this.xAxis.isRadial,u=Math.max(h.chartWidth,h.chartHeight)+999;function p(i){return(0,c.clamp)(i,-u,u)}this.points.forEach(u=>{let m=u.shapeArgs||{},g=this.options.minPointLength,f=u.plotY,A=a.translate(u.high,0,1,0,1);if((0,c.isNumber)(A)&&(0,c.isNumber)(f))if(u.plotHigh=p(A),u.plotLow=p(f),n=u.plotHigh,Math.abs(i=(0,c.pick)(u.rectPlotY,u.plotY)-u.plotHigh)<g?(r=g-i,i+=r,n-=r/2):i<0&&(i*=-1,n-=i),d&&this.polar)s=u.barX+l,u.shapeType="arc",u.shapeArgs=this.polar.arc(n+i,n,s,s+(u.pointWidth||0));else{m.height=i,m.y=n;let{x:r=0,width:s=0}=m;u.shapeArgs=(0,c.merge)(u.shapeArgs,this.crispCol(r,n,s,i)),u.tooltipPos=h.inverted?[a.len+a.pos-h.plotLeft-n-i/2,o.len+o.pos-h.plotTop-r-s/2,i]:[o.left-h.plotLeft+r+s/2,a.pos-h.plotTop+n+i/2,i]}})}}ty.defaultOptions=(0,c.merge)(tA.defaultOptions,tf.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:!1}}}),(0,c.addEvent)(ty,"afterColumnTranslate",function(){ty.prototype.afterColumnTranslate.apply(this)},{order:5}),(0,c.extend)(ty.prototype,{directTouch:!0,pointClass:tm,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:tb.adjustForMissingColumns,animate:tb.animate,crispCol:tb.crispCol,drawGraph:tg,drawPoints:tb.drawPoints,getSymbol:tg,drawTracker:tb.drawTracker,getColumnMetrics:tb.getColumnMetrics}),p().registerSeriesType("columnrange",ty);let{column:tx}=p().seriesTypes;class tE extends tx{translate(){let i=this.chart,r=this.options,s=this.dense=this.closestPointRange*this.xAxis.transA<2,n=this.borderWidth=(0,c.pick)(r.borderWidth,+!s),a=this.yAxis,o=r.threshold,l=(0,c.pick)(r.minPointLength,5),h=this.getColumnMetrics(),d=h.width,u=this.pointXOffset=h.offset,p=this.translatedThreshold=a.getThreshold(o),m=this.barW=Math.max(d,1+2*n);for(let s of(i.inverted&&(p-=.5),r.pointPadding&&(m=Math.ceil(m)),super.translate(),this.points)){let n=(0,c.pick)(s.yBottom,p),g=999+Math.abs(n),f=(0,c.clamp)(s.plotY,-g,a.len+g),A=m/2,b=Math.min(f,n),y=Math.max(f,n)-b,x=s.plotX+u,E,T,C,v,S,I,w,_,k,N,M;r.centerInCategory&&(x=this.adjustForMissingColumns(x,d,s,h)),s.barX=x,s.pointWidth=d,s.tooltipPos=i.inverted?[a.len+a.pos-i.plotLeft-f,this.xAxis.len-x-A,y]:[x+A,f+a.pos-i.plotTop,y],E=o+(s.total||s.y),"percent"===r.stacking&&(E=o+(s.y<0)?-100:100);let L=a.toPixels(E,!0);C=(T=i.plotHeight-L-(i.plotHeight-p))?A*(b-L)/T:0,v=T?A*(b+y-L)/T:0,I=x-C+A,w=x+C+A,_=x+v+A,k=x-v+A,N=b-l,M=b+y,s.y<0&&(N=b,M=b+y+l),i.inverted&&(S=a.width-b,T=L-(a.width-p),C=A*(L-S)/T,v=A*(L-(S-y))/T,w=(I=x+A+C)-2*C,_=x-v+A,k=x+v+A,N=b,M=b+y-l,s.y<0&&(M=b+y+l)),s.shapeType="path",s.shapeArgs={x:I,y:N,width:w-I,height:y,d:[["M",I,N],["L",w,N],["L",_,M],["L",k,M],["Z"]]}}}}tE.defaultOptions=(0,c.merge)(tx.defaultOptions,{}),p().registerSeriesType("columnpyramid",tE);let{arearange:tT}=p().seriesTypes;class tC extends G{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||B().prototype.getColumnMetrics.call(this)}drawDataLabels(){let i=this.pointValKey;if(tT)for(let r of(tT.prototype.drawDataLabels.call(this),this.points))r.y=r[i]}toYData(i){return[i.low,i.high]}}tC.defaultOptions=(0,c.merge)(G.defaultOptions,{color:"var(--highcharts-neutral-color-100)",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),(0,c.addEvent)(tC,"afterTranslate",function(){for(let i of this.points)i.plotLow=i.plotY},{order:0}),(0,c.extend)(tC.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),p().registerSeriesType("errorbar",tC);let{series:{prototype:{pointClass:tv}}}=p(),{noop:tS}=d(),{series:tI,seriesTypes:{column:tw}}=p();class t_ extends tI{translate(){let i=this.yAxis,r=this.options,s=i.center;this.generatePoints(),this.points.forEach(n=>{if(!(0,c.isNumber)(n.y))return;let a=(0,c.merge)(r.dial,n.dial),o=(0,c.relativeLength)(a.radius,s[2]/2),l=(0,c.relativeLength)(a.baseLength,o),h=Math.min((0,c.relativeLength)(a.rearLength,o),o),d=Math.min((0,c.relativeLength)(a.baseWidth,o),o),u=(0,c.relativeLength)(a.topWidth,o),p=(0,c.relativeLength)(a.borderRadius,o),m=Math.min(p,d/2),g=Math.min(p,u/2),f=r.wrap??i.endAngleRad-i.startAngleRad>2*Math.PI-.01,A=r.overshoot,b=i.startAngleRad+i.translate(n.y,void 0,void 0,void 0,!0);((0,c.isNumber)(A)||!f)&&(A=(0,c.isNumber)(A)?A/180*Math.PI:0,b=(0,c.clamp)(b,i.startAngleRad-A,i.endAngleRad+A)),n.tooltipPos=[s[0]+Math.cos(b)*o,s[1]+Math.sin(b)*o],b=180*b/Math.PI,n.shapeType="path",n.shapeArgs={d:a.path||[["M",m-h,-d/2],["L",l,-d/2],["L",o-g,-u/2],["A",g,g,0,0,1,o,-u/2+g],["L",o,u/2-g],["A",g,g,0,0,1,o-g,u/2],["L",l,d/2],["L",m-h,d/2],["A",m,m,0,0,1,-h,d/2-m],["L",-h,m-d/2],["A",m,m,0,0,1,m-h,-d/2],["Z"]],translateX:s[0],translateY:s[1],rotation:b},n.plotX=s[0],n.plotY=s[1],(0,c.defined)(n.y)&&i.max-i.min&&(n.percentage=(n.y-i.min)/(i.max-i.min)*100)})}drawPoints(){let i=this,r=i.chart,s=i.yAxis.center,n=i.pivot,a=i.options,o=a.pivot,l=r.renderer,h=(0,c.relativeLength)(o?.radius||0,s[2]/2);i.points.forEach(s=>{if((0,c.isNumber)(s.y)){let n=s.graphic,o=s.shapeArgs,h=o.d,d=(0,c.merge)(a.dial,s.dial);n?(n.animate(o),o.d=h):s.graphic=l[s.shapeType](o).addClass("highcharts-dial").add(i.group),!r.styledMode&&s.graphic&&s.graphic[n?"animate":"attr"]({stroke:d.borderColor,"stroke-width":d.borderWidth,fill:d.backgroundColor})}}),n?n.animate({translateX:s[0],translateY:s[1],r:h}):o&&(i.pivot=l.circle(0,0,h).attr({zIndex:2}).addClass("highcharts-pivot").translate(s[0],s[1]).add(i.group),r.styledMode||i.pivot.attr({fill:o.backgroundColor,stroke:o.borderColor,"stroke-width":o.borderWidth}))}animate(i){let r=this;i||r.points.forEach(i=>{let s=i.graphic;s&&(s.attr({rotation:180*r.yAxis.startAngleRad/Math.PI}),s.animate({rotation:i.shapeArgs.rotation},r.options.animation))})}setData(i,r){tI.prototype.setData.call(this,i,!1),this.processData(),this.generatePoints(),(0,c.pick)(r,!0)&&this.chart.redraw()}hasData(){return!!this.points.length}}t_.defaultOptions=(0,c.merge)(tI.defaultOptions,{clip:!1,color:"var(--highcharts-neutral-color-20)",dataLabels:{crop:!1,defer:!1,distance:0,enabled:!0,padding:5,verticalAlign:"top",style:{fontSize:"1.4em"},y:25,zIndex:2},dial:{backgroundColor:"var(--highcharts-neutral-color-100)",baseLength:0,baseWidth:"18%",borderColor:"var(--highcharts-neutral-color-20)",borderRadius:"9%",borderWidth:0,radius:"70%",rearLength:"9%",topWidth:"4%"},pivot:{radius:"4%",borderWidth:2,borderColor:"var(--highcharts-neutral-color-100)",backgroundColor:"var(--highcharts-background-color)"},threshold:0,tooltip:{headerFormat:""},showInLegend:!1}),(0,c.extend)(t_.prototype,{angular:!0,directTouch:!0,drawGraph:tS,drawTracker:tw.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:class extends tv{setState(i){this.state=i}},trackerGroups:["group","dataLabelsGroup"]}),p().registerSeriesType("gauge",t_);let tk=l.default.Color;var tN=h.n(tk);let{composed:tM}=d();function tL(){let i,r,s,n,a=this;a.container&&(i=(0,c.addEvent)(a.container,"mousedown",i=>{r&&r(),s&&s(),(n=a.hoverPoint)&&n.series&&n.series.hasDraggableNodes&&n.series.options.draggable&&(n.series.onMouseDown(n,i),r=(0,c.addEvent)(a.container,"mousemove",i=>n&&n.series&&n.series.onMouseMove(n,i)),s=(0,c.addEvent)(a.container.ownerDocument,"mouseup",i=>(r(),s(),n&&n.series&&n.series.onMouseUp(n,i))))})),(0,c.addEvent)(a,"destroy",function(){i()})}let tD={compose:function(i){(0,c.pushUnique)(tM,"DragNodes")&&(0,c.addEvent)(i,"load",tL)},onMouseDown:function(i,r){let{panKey:s}=this.chart.options.chart;if(s&&r[`${s}Key`])return;let n=this.chart.pointer?.normalize(r)||r;i.fixedPosition={chartX:n.chartX,chartY:n.chartY,plotX:i.plotX,plotY:i.plotY},i.inDragMode=!0},onMouseMove:function(i,r){if(i.fixedPosition&&i.inDragMode){let s,n,a=this.chart,o=a.pointer?.normalize(r)||r,l=i.fixedPosition.chartX-o.chartX,h=i.fixedPosition.chartY-o.chartY,c=a.graphLayoutsLookup;(Math.abs(l)>5||Math.abs(h)>5)&&(s=i.fixedPosition.plotX-l,n=i.fixedPosition.plotY-h,a.isInsidePlot(s,n)&&(i.plotX=s,i.plotY=n,i.hasDragged=!0,this.redrawHalo(i),c.forEach(i=>{i.restartSimulation()})))}},onMouseUp:function(i){i.fixedPosition&&(i.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),i.inDragMode=i.hasDragged=!1,this.options.fixedDraggable||delete i.fixedPosition)},redrawHalo:function(i){i&&this.halo&&this.halo.attr({d:i.haloPath(this.options.states.hover.halo.size)})}},{setAnimation:tO}=d(),{composed:tP}=d();function tR(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(i=>{i.updateSimulation()}),this.redraw())}function tB(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(i=>{i.updateSimulation(!1)}),this.redraw())}function tF(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(i=>{i.stop()})}function tH(){let i,r=!1,s=s=>{s.maxIterations--&&isFinite(s.temperature)&&!s.isStable()&&!s.enableSimulation&&(s.beforeStep&&s.beforeStep(),s.step(),i=!1,r=!0)};if(this.graphLayoutsLookup&&!this.pointer?.hasDragged){for(tO(!1,this),this.graphLayoutsLookup.forEach(i=>i.start());!i;)i=!0,this.graphLayoutsLookup.forEach(s);r&&this.series.forEach(i=>{i&&i.layout&&i.render()})}}let tG=function(i){(0,c.pushUnique)(tP,"GraphLayout")&&((0,c.addEvent)(i,"afterPrint",tR),(0,c.addEvent)(i,"beforePrint",tB),(0,c.addEvent)(i,"predraw",tF),(0,c.addEvent)(i,"render",tH))},tU={},tY={},tW=l.default.Chart;var tj=h.n(tW);let{seriesTypes:{bubble:{prototype:{pointClass:tz}}}}=p(),tX=class extends tz{destroy(){return this.series?.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),te().prototype.destroy.apply(this,arguments)}firePointEvent(){let i=this.series.options;if(this.isParentNode&&i.parentNode){let r=i.allowPointSelect;i.allowPointSelect=i.parentNode.allowPointSelect,te().prototype.firePointEvent.apply(this,arguments),i.allowPointSelect=r}else te().prototype.firePointEvent.apply(this,arguments)}select(){let i=this.series.chart;this.isParentNode?(i.getSelectedPoints=i.getSelectedParentNodes,te().prototype.select.apply(this,arguments),i.getSelectedPoints=tj().prototype.getSelectedPoints):te().prototype.select.apply(this,arguments)}setState(i,r){this?.graphic?.parentGroup?.element&&super.setState(i,r)}},tQ={attractive:function(i,r,s){let n=i.getMass(),a=-s.x*r*this.diffTemperature,o=-s.y*r*this.diffTemperature;i.fromNode.fixedPosition||(i.fromNode.plotX-=a*n.fromNode/i.fromNode.degree,i.fromNode.plotY-=o*n.fromNode/i.fromNode.degree),i.toNode.fixedPosition||(i.toNode.plotX+=a*n.toNode/i.toNode.degree,i.toNode.plotY+=o*n.toNode/i.toNode.degree)},attractiveForceFunction:function(i,r){return(r-i)/i},barycenter:function(){let i=this.options.gravitationalConstant||0,r=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*i,s=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*i;this.nodes.forEach(function(i){i.fixedPosition||(i.plotX-=r/i.mass/i.degree,i.plotY-=s/i.mass/i.degree)})},getK:function(i){return Math.pow(i.box.width*i.box.height/i.nodes.length,.5)},integrate:function(i,r){let s=-i.options.friction,n=i.options.maxSpeed,a=r.prevX,o=r.prevY,l=(r.plotX+r.dispX-a)*s,h=(r.plotY+r.dispY-o)*s,c=Math.abs,d=c(l)/(l||1),u=c(h)/(h||1),p=d*Math.min(n,Math.abs(l)),m=u*Math.min(n,Math.abs(h));r.prevX=r.plotX+r.dispX,r.prevY=r.plotY+r.dispY,r.plotX+=p,r.plotY+=m,r.temperature=i.vectorLength({x:p,y:m})},repulsive:function(i,r,s){let n=r*this.diffTemperature/i.mass/i.degree;i.fixedPosition||(i.plotX+=s.x*n,i.plotY+=s.y*n)},repulsiveForceFunction:function(i,r){return(r-i)/i*(r>i)}},{noop:tK}=d(),tV={barycenter:function(){let i,r,s=this.options.gravitationalConstant||0,n=this.box,a=this.nodes,o=Math.sqrt(a.length);for(let l of a)if(!l.fixedPosition){let a=l.mass*o,h=l.plotX||0,c=l.plotY||0,d=l.series,u=d.parentNode;this.resolveSplitSeries(l)&&u&&!l.isParentNode?(i=u.plotX||0,r=u.plotY||0):(i=n.width/2,r=n.height/2),l.plotX=h-(h-i)*s/a,l.plotY=c-(c-r)*s/a,d.chart.hoverPoint===l&&d.redrawHalo&&d.halo&&d.redrawHalo(l)}},getK:tK,integrate:tQ.integrate,repulsive:function(i,r,s,n){let a=r*this.diffTemperature/i.mass/i.degree,o=s.x*a,l=s.y*a;i.fixedPosition||(i.plotX+=o,i.plotY+=l),n.fixedPosition||(n.plotX-=o,n.plotY-=l)},repulsiveForceFunction:function(i,r,s,n){return Math.min(i,(s.marker.radius+n.marker.radius)/2)}},tq={attractive:function(i,r,s,n){let a=i.getMass(),o=s.x/n*r,l=s.y/n*r;i.fromNode.fixedPosition||(i.fromNode.dispX-=o*a.fromNode/i.fromNode.degree,i.fromNode.dispY-=l*a.fromNode/i.fromNode.degree),i.toNode.fixedPosition||(i.toNode.dispX+=o*a.toNode/i.toNode.degree,i.toNode.dispY+=l*a.toNode/i.toNode.degree)},attractiveForceFunction:function(i,r){return i*i/r},barycenter:function(){let i=this.options.gravitationalConstant,r=this.barycenter.xFactor,s=this.barycenter.yFactor;this.nodes.forEach(function(n){if(!n.fixedPosition){let a=n.getDegree(),o=a*(1+a/2);n.dispX+=(r-n.plotX)*i*o/n.degree,n.dispY+=(s-n.plotY)*i*o/n.degree}})},getK:function(i){return Math.pow(i.box.width*i.box.height/i.nodes.length,.3)},integrate:function(i,r){r.dispX+=r.dispX*i.options.friction,r.dispY+=r.dispY*i.options.friction;let s=r.temperature=i.vectorLength({x:r.dispX,y:r.dispY});0!==s&&(r.plotX+=r.dispX/s*Math.min(Math.abs(r.dispX),i.temperature),r.plotY+=r.dispY/s*Math.min(Math.abs(r.dispY),i.temperature))},repulsive:function(i,r,s,n){i.dispX+=s.x/n*r/i.degree,i.dispY+=s.y/n*r/i.degree},repulsiveForceFunction:function(i,r){return r*r/i}};class tZ{constructor(i){this.body=!1,this.isEmpty=!1,this.isInternal=!1,this.nodes=[],this.box=i,this.boxSize=Math.min(i.width,i.height)}divideBox(){let i=this.box.width/2,r=this.box.height/2;this.nodes[0]=new tZ({left:this.box.left,top:this.box.top,width:i,height:r}),this.nodes[1]=new tZ({left:this.box.left+i,top:this.box.top,width:i,height:r}),this.nodes[2]=new tZ({left:this.box.left+i,top:this.box.top+r,width:i,height:r}),this.nodes[3]=new tZ({left:this.box.left,top:this.box.top+r,width:i,height:r})}getBoxPosition(i){let r=i.plotX<this.box.left+this.box.width/2,s=i.plotY<this.box.top+this.box.height/2;return r?3*!s:s?1:2}insert(i,r){let s;this.isInternal?this.nodes[this.getBoxPosition(i)].insert(i,r-1):(this.isEmpty=!1,this.body?r?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,r-1),this.body=!0),this.nodes[this.getBoxPosition(i)].insert(i,r-1)):((s=new tZ({top:i.plotX||NaN,left:i.plotY||NaN,width:.1,height:.1})).body=i,s.isInternal=!1,this.nodes.push(s)):(this.isInternal=!1,this.body=i))}updateMassAndCenter(){let i=0,r=0,s=0;if(this.isInternal){for(let n of this.nodes)n.isEmpty||(i+=n.mass,r+=n.plotX*n.mass,s+=n.plotY*n.mass);r/=i,s/=i}else this.body&&(i=this.body.mass,r=this.body.plotX,s=this.body.plotY);this.mass=i,this.plotX=r,this.plotY=s}}let tJ=class{constructor(i,r,s,n){this.box={left:i,top:r,width:s,height:n},this.maxDepth=25,this.root=new tZ(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,function(i){i.updateMassAndCenter()})}insertNodes(i){for(let r of i)this.root.insert(r,this.maxDepth)}visitNodeRecursive(i,r,s){let n;if(i||(i=this.root),i===this.root&&r&&(n=r(i)),!1!==n){for(let a of i.nodes){if(a.isInternal){if(r&&(n=r(a)),!1===n)continue;this.visitNodeRecursive(a,r,s)}else a.body&&r&&r(a.body);s&&s(a)}i===this.root&&s&&s(i)}}},{win:t$}=d();class t0{constructor(){this.box={},this.currentStep=0,this.initialRendering=!0,this.links=[],this.nodes=[],this.series=[],this.simulation=!1}static compose(i){tG(i),tU.euler=tq,tU.verlet=tQ,tY["reingold-fruchterman"]=t0}init(i){this.options=i,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=tU[i.integration],this.enableSimulation=i.enableSimulation,this.attractiveForce=(0,c.pick)(i.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=(0,c.pick)(i.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=i.approximation}updateSimulation(i){this.enableSimulation=(0,c.pick)(i,this.options.enableSimulation)}start(){let i=this.series,r=this.options;this.currentStep=0,this.forces=i[0]&&i[0].forces||[],this.chart=i[0]&&i[0].chart,this.initialRendering&&(this.initPositions(),i.forEach(function(i){i.finishedAnimating=!0,i.render()})),this.setK(),this.resetSimulation(r),this.enableSimulation&&this.step()}step(){let i=this.series;for(let i of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[i+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(let r of i)r.chart&&r.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&t$.cancelAnimationFrame(this.simulation),this.simulation=t$.requestAnimationFrame(()=>this.step())):(this.simulation=!1,this.series.forEach(i=>{(0,c.fireEvent)(i,"afterSimulation")}))}}stop(){this.simulation&&t$.cancelAnimationFrame(this.simulation)}setArea(i,r,s,n){this.box={left:i,top:r,width:s,height:n}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(i,r){for(let s of i)-1===r.indexOf(s)&&r.push(s)}removeElementFromCollection(i,r){let s=r.indexOf(i);-1!==s&&r.splice(s,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))}setMaxIterations(i){this.maxIterations=(0,c.pick)(i,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(i){this.initialRendering=i}createQuadTree(){this.quadTree=new tJ(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let i=this.options.initialPositions;if((0,c.isFunction)(i))for(let r of(i.call(this),this.nodes))(0,c.defined)(r.prevX)||(r.prevX=r.plotX),(0,c.defined)(r.prevY)||(r.prevY=r.plotY),r.dispX=0,r.dispY=0;else"circle"===i?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let i,r=this.box,s=this.nodes,n=2*Math.PI/(s.length+1),a=s.filter(function(i){return 0===i.linksTo.length}),o={},l=this.options.initialPositionRadius,h=i=>{for(let r of i.linksFrom||[])o[r.toNode.id]||(o[r.toNode.id]=!0,d.push(r.toNode),h(r.toNode))},d=[];for(let i of a)d.push(i),h(i);if(d.length)for(let i of s)-1===d.indexOf(i)&&d.push(i);else d=s;for(let s=0,a=d.length;s<a;++s)(i=d[s]).plotX=i.prevX=(0,c.pick)(i.plotX,r.width/2+l*Math.cos(s*n)),i.plotY=i.prevY=(0,c.pick)(i.plotY,r.height/2+l*Math.sin(s*n)),i.dispX=0,i.dispY=0}setRandomPositions(){let i,r=this.box,s=this.nodes,n=s.length+1,a=i=>{let r=i*i/Math.PI;return r-Math.floor(r)};for(let o=0,l=s.length;o<l;++o)(i=s[o]).plotX=i.prevX=(0,c.pick)(i.plotX,r.width*a(o)),i.plotY=i.prevY=(0,c.pick)(i.plotY,r.height*a(n+o)),i.dispX=0,i.dispY=0}force(i,...r){this.integration[i].apply(this,r)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let i=0,r=0,s=0;for(let n of this.nodes)r+=n.plotX*n.mass,s+=n.plotY*n.mass,i+=n.mass;return this.barycenter={x:r,y:s,xFactor:r/i,yFactor:s/i},this.barycenter}barnesHutApproximation(i,r){let s,n,a=this.getDistXY(i,r),o=this.vectorLength(a);return i!==r&&0!==o&&(r.isInternal?r.boxSize/o<this.options.theta&&0!==o?(n=this.repulsiveForce(o,this.k),this.force("repulsive",i,n*r.mass,a,o),s=!1):s=!0:(n=this.repulsiveForce(o,this.k),this.force("repulsive",i,n*r.mass,a,o))),s}repulsiveForces(){if("barnes-hut"===this.approximation)for(let i of this.nodes)this.quadTree.visitNodeRecursive(null,r=>this.barnesHutApproximation(i,r));else{let i,r,s;for(let n of this.nodes)for(let a of this.nodes)n===a||n.fixedPosition||(s=this.getDistXY(n,a),0!==(r=this.vectorLength(s))&&(i=this.repulsiveForce(r,this.k),this.force("repulsive",n,i*a.mass,s,r)))}}attractiveForces(){let i,r,s;for(let n of this.links)n.fromNode&&n.toNode&&(i=this.getDistXY(n.fromNode,n.toNode),0!==(r=this.vectorLength(i))&&(s=this.attractiveForce(r,this.k),this.force("attractive",n,s,i,r)))}applyLimits(){for(let i of this.nodes)i.fixedPosition||(this.integration.integrate(this,i),this.applyLimitBox(i,this.box),i.dispX=0,i.dispY=0)}applyLimitBox(i,r){let s=i.radius;i.plotX=(0,c.clamp)(i.plotX,r.left+s,r.width-s),i.plotY=(0,c.clamp)(i.plotY,r.top+s,r.height-s)}coolDown(i,r,s){return i-r*s}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let i=0;for(let r of this.nodes)i+=r.temperature;return i}vectorLength(i){return Math.sqrt(i.x*i.x+i.y*i.y)}getDistR(i,r){let s=this.getDistXY(i,r);return this.vectorLength(s)}getDistXY(i,r){let s=i.plotX-r.plotX,n=i.plotY-r.plotY;return{x:s,y:n,absX:Math.abs(s),absY:Math.abs(n)}}}let t1=t0;function t2(){let i=this.series,r=[];return i.forEach(i=>{i.parentNode&&i.parentNode.selected&&r.push(i.parentNode)}),r}function t3(){this.allDataPoints&&delete this.allDataPoints}class t5 extends t1{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(i){t1.compose(i),tU.packedbubble=tV,tY.packedbubble=t5;let r=i.prototype;r.getSelectedParentNodes||((0,c.addEvent)(i,"beforeRedraw",t3),r.getSelectedParentNodes=t2),r.allParentNodes||(r.allParentNodes=[])}beforeStep(){this.options.marker&&this.series.forEach(i=>{i&&i.calculateParentRadius()})}isStable(){let i=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&i<1e-5||this.temperature<=0}setCircularPositions(){let i=this.box,r=[...this.nodes,...this?.chart?.allParentNodes||[]],s=2*Math.PI/(r.length+1),n=this.options.initialPositionRadius,a,o,l=0;for(let h of r)this.resolveSplitSeries(h)&&!h.isParentNode?(a=h.series.parentNode.plotX,o=h.series.parentNode.plotY):(a=i.width/2,o=i.height/2),h.plotX=h.prevX=(0,c.pick)(h.plotX,a+n*Math.cos(h.index||l*s)),h.plotY=h.prevY=(0,c.pick)(h.plotY,o+n*Math.sin(h.index||l*s)),h.dispX=0,h.dispY=0,l++}repulsiveForces(){let{options:i,k:r}=this,{bubblePadding:s=0,seriesInteraction:n}=i,a=[...this.nodes,...this?.chart?.allParentNodes||[]];for(let i of a){let o=i.series,l=i.fixedPosition,h=(i.marker?.radius||0)+s;for(let s of(i.degree=i.mass,i.neighbors=0,a)){let a=s.series;if(i!==s&&!l&&(n||o===a)&&!(o===a&&(s.isParentNode||i.isParentNode))){let n,a=this.getDistXY(i,s),o=this.vectorLength(a)-(h+(s.marker?.radius||0));o<0&&(i.degree+=.01,n=this.repulsiveForce(-o/Math.sqrt(++i.neighbors),r,i,s)*s.mass),this.force("repulsive",i,n||0,a,s,o)}}}}resolveSplitSeries(i){let r=i.series?.options?.layoutAlgorithm?.splitSeries;return!(0,c.defined)(r)&&i.series.chart?.options?.plotOptions?.packedbubble?.layoutAlgorithm?.splitSeries||r||!1}applyLimitBox(i,r){let s,n;this.resolveSplitSeries(i)&&!i.isParentNode&&this.options.parentNodeLimit&&(s=this.getDistXY(i,i.series.parentNode),(n=i.series.parentNodeRadius-i.marker.radius-this.vectorLength(s))<0&&n>-2*i.marker.radius&&(i.plotX-=.01*s.x,i.plotY-=.01*s.y)),super.applyLimitBox(i,r)}}tY.packedbubble=t5;let{animObject:t4}=d(),t8=l.default.SVGElement;var t6=h.n(t8);let{composed:t9,deg2rad:t7}=d(),{parse:et}=tN(),{noop:ee}=d(),{series:{prototype:ei},seriesTypes:{bubble:er}}=p(),{initDataLabels:es,initDataLabelsDefer:en}={initDataLabels:function(){let i=this.options.dataLabels;if(!this.dataLabelsGroup){let r=this.initDataLabelsGroup(0,i);return!this.chart.styledMode&&i?.style&&r.css(i.style),r.attr({opacity:0}),this.visible&&(this.options.animation&&i?.animation?r.animate({opacity:1},i.animation):r.attr({opacity:1}),r.show()),r}return this.dataLabelsGroup.attr({opacity:1,...this.getPlotBox("data-labels")}),this.dataLabelsGroup},initDataLabelsDefer:function(){let i=this.options.dataLabels;i?.defer&&this.options.layoutAlgorithm?.enableSimulation?(0,c.syncTimeout)(()=>{this.deferDataLabels=!1},i?t4(i.animation).defer:0):this.deferDataLabels=!1}};s=t6(),(0,c.pushUnique)(t9,"TextPath")&&((0,c.addEvent)(s,"afterGetBBox",function(i){let r=i.bBox,s=this.element?.querySelector("textPath");if(s){let i=[],{b:n,h:a}=this.renderer.fontMetrics(this.element),o=a-n,l=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),h=s.innerHTML.replace(l,"").split(/<tspan class="highcharts-br"[^>]*>/),c=h.length,d=(i,r)=>{let{x:a,y:l}=r,h=(s.getRotationOfChar(i)-90)*t7,c=Math.cos(h),d=Math.sin(h);return[[a-o*c,l-o*d],[a+n*c,l+n*d]]};for(let r=0,n=0;n<c;n++){let a=h[n].length;for(let o=0;o<a;o+=5)try{let a=r+o+n,[l,h]=d(a,s.getStartPositionOfChar(a));0===o?(i.push(h),i.push(l)):(0===n&&i.unshift(h),n===c-1&&i.push(l))}catch{break}r+=a-1;try{let a=r+n,o=s.getEndPositionOfChar(a),[l,h]=d(a,o);i.unshift(h),i.unshift(l)}catch{break}}i.length&&i.push(i[0].slice()),r.polygon=i}return r}),(0,c.addEvent)(s,"beforeAddingDataLabel",function(i){let r=i.labelOptions,s=i.point,n=r[s.formatPrefix+"TextPath"]||r.textPath;n&&!r.useHTML&&(this.setTextPath(s.getDataLabelPath?.(this)||s.graphic,n),s.dataLabelPath&&!n.enabled&&(s.dataLabelPath=s.dataLabelPath.destroy()))}),s.prototype.setTextPath=s.prototype.setTextPath??function(i,r){let s=this.renderer.url,n=this.text||this,a=n.textPath,{attributes:o,enabled:l}=(0,c.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},r);if(i=i||a&&a.path,a?.undo(),i&&l){let r=(0,c.addEvent)(n,"afterModifyTree",r=>{if(i&&l){let a=i.attr("id");a||i.attr("id",a=(0,c.uniqueKey)());let l={x:0,y:0};(0,c.defined)(o.dx)&&(l.dx=o.dx,delete o.dx),(0,c.defined)(o.dy)&&(l.dy=o.dy,delete o.dy),n.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let h=r.nodes.slice(0);r.nodes.length=0,r.nodes[0]={tagName:"textPath",attributes:(0,c.extend)(o,{"text-anchor":o.textAnchor,href:`${s}#${a}`}),children:h}}});n.textPath={path:i,undo:r}}else n.attr({dx:0,dy:0}),delete n.textPath;return this.added&&(n.textCache="",this.renderer.buildText(n)),this});class ea extends er{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=!0}static compose(i,r,s){er.compose(i,r,s),tD.compose(r),t5.compose(r)}accumulateAllPoints(){let i=this.chart,r=[];for(let s of i.series)if(s.is("packedbubble")&&s.reserveSpace()){let i=s.getColumn("value");for(let n=0;n<i.length;n++)r.push([null,null,i[n],s.index,n,{id:n,marker:{radius:0}}])}return r}addLayout(){let i=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},r=i.type||"packedbubble",s=this.chart.options.chart,n=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,o;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=a=[]),(o=n[r])||(i.enableSimulation=(0,c.defined)(s.forExport)?!s.forExport:i.enableSimulation,n[r]=o=new tY[r],o.init(i),a.splice(o.index,0,o)),this.layout=o,this.points.forEach(i=>{i.mass=2,i.degree=1,i.collisionNmb=1}),o.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),o.addElementsToCollection([this],o.series),o.addElementsToCollection(this.points,o.nodes)}addSeriesLayout(){let i=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},r=i.type||"packedbubble",s=this.chart.graphLayoutsStorage,n=this.chart.graphLayoutsLookup,a=(0,c.merge)(i,i.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),o=s[r+"-series"];o||(s[r+"-series"]=o=new tY[r],o.init(a),n.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()}calculateParentRadius(){let i=this.seriesBox();this.parentNodeRadius=(0,c.clamp)(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,i?Math.max(Math.sqrt(Math.pow(i.width,2)+Math.pow(i.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)}calculateZExtremes(){let i=this.chart.series,r=this.options.zMin,s=this.options.zMax,n=1/0,a=-1/0;return r&&s?[r,s]:(i.forEach(i=>{i.getColumn("value").forEach(i=>{(0,c.defined)(i)&&(i>a&&(a=i),i<n&&(n=i))})}),[r=(0,c.pick)(r,n),s=(0,c.pick)(s,a)])}checkOverlap(i,r){let s=i[0]-r[0],n=i[1]-r[1];return Math.sqrt(s*s+n*n)-Math.abs(i[2]+r[2])<-.001}createParentNodes(){let i=this.pointClass,r=this.chart,s=this.parentNodeLayout,n=this.layout.options,a,o=this.parentNode,l={radius:this.parentNodeRadius,lineColor:this.color,fillColor:et(this.color).brighten(.4).get()};n.parentNodeOptions&&(l=(0,c.merge)(n.parentNodeOptions.marker||{},l)),this.parentNodeMass=0,this.points.forEach(i=>{this.parentNodeMass+=Math.PI*Math.pow(i.marker.radius,2)}),this.calculateParentRadius(),s.nodes.forEach(i=>{i.seriesIndex===this.index&&(a=!0)}),s.setArea(0,0,r.plotWidth,r.plotHeight),a||(o||(o=new i(this,{mass:this.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index}),this.chart.allParentNodes.push(o)),this.parentNode&&(o.plotX=this.parentNode.plotX,o.plotY=this.parentNode.plotY),this.parentNode=o,s.addElementsToCollection([this],s.series),s.addElementsToCollection([o],s.nodes))}deferLayout(){let i=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),i.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(i=>{i.removeElementFromCollection(this,i.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),ei.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(ei.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",ei.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){if(!this.layout||!this.layout.options.splitSeries)return;let i=this.chart,r=this.layout.options.parentNodeOptions.marker,s={fill:r.fillColor||et(this.color).brighten(.4).get(),opacity:r.fillOpacity,stroke:r.lineColor||this.color,"stroke-width":(0,c.pick)(r.lineWidth,this.options.lineWidth)},n={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,i.seriesGroup),this.group?.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&(0,c.defined)(this.parentNode.plotX)&&(0,c.defined)(this.parentNode.plotY)&&(0,c.defined)(this.parentNodeRadius)&&(n=(0,c.merge)({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},s),this.parentNode.graphic||(this.graph=this.parentNode.graphic=i.renderer.symbol(s.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(n))}drawTracker(){let i,r=this.parentNode;super.drawTracker(),r&&(i=(0,c.isArray)(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[],r.graphic&&(r.graphic.element.point=r),i.forEach(i=>{(i.div||i.element).point=r}))}getPointRadius(){let i,r,s,n,a=this.chart,o=a.plotWidth,l=a.plotHeight,h=this.options,d=h.useSimulation,u=Math.min(o,l),p={},m=[],g=a.allDataPoints||[],f=g.length;["minSize","maxSize"].forEach(i=>{let r=parseInt(h[i],10),s=/%$/.test(h[i]);p[i]=s?u*r/100:r*Math.sqrt(f)}),a.minRadius=i=p.minSize/Math.sqrt(f),a.maxRadius=r=p.maxSize/Math.sqrt(f);let A=d?this.calculateZExtremes():[i,r];g.forEach((a,o)=>{s=d?(0,c.clamp)(a[2],A[0],A[1]):a[2],0===(n=this.getRadius(A[0],A[1],i,r,s))&&(n=null),g[o][2]=n,m.push(n)}),this.radii=m}init(){return ei.init.apply(this,arguments),en.call(this),this.eventsToUnbind.push((0,c.addEvent)(this,"updatedData",function(){this.chart.series.forEach(i=>{i.type===this.type&&(i.isDirty=!0)},this)})),this}onMouseUp(i){if(i.fixedPosition&&!i.removed){let r,s=this.layout,n=this.parentNodeLayout;!i.isParentNode&&n&&s.options.dragBetweenSeries&&n.nodes.forEach(n=>{i&&i.marker&&n!==i.series.parentNode&&(r=s.getDistXY(i,n),s.vectorLength(r)-n.marker.radius-i.marker.radius<0&&(n.series.addPoint((0,c.merge)(i.options,{plotX:i.plotX,plotY:i.plotY}),!1),s.removeElementFromCollection(i,s.nodes),i.remove()))}),tD.onMouseUp.apply(this,arguments)}}placeBubbles(i){let r=this.checkOverlap,s=this.positionBubble,n=[],a=1,o=0,l=0,h,c=[],d,u=i.sort((i,r)=>r[2]-i[2]);if(u.length){if(n.push([[0,0,u[0][2],u[0][3],u[0][4]]]),u.length>1)for(n.push([[0,0-u[1][2]-u[0][2],u[1][2],u[1][3],u[1][4]]]),d=2;d<u.length;d++)u[d][2]=u[d][2]||1,r(h=s(n[a][o],n[a-1][l],u[d]),n[a][0])?(n.push([]),l=0,n[a+1].push(s(n[a][o],n[a][0],u[d])),a++,o=0):a>1&&n[a-1][l+1]&&r(h,n[a-1][l+1])?(l++,n[a].push(s(n[a][o],n[a-1][l],u[d])),o++):(o++,n[a].push(h));this.chart.stages=n,this.chart.rawPositions=[].concat.apply([],n),this.resizeRadius(),c=this.chart.rawPositions}return c}pointAttribs(i,r){let s=this.options,n=i&&i.isParentNode,a=s.marker;n&&s.layoutAlgorithm&&s.layoutAlgorithm.parentNodeOptions&&(a=s.layoutAlgorithm.parentNodeOptions.marker);let o=a.fillOpacity,l=ei.pointAttribs.call(this,i,r);return 1!==o&&(l["fill-opacity"]=o),l}positionBubble(i,r,s){let n=Math.asin,a=Math.acos,o=Math.pow,l=Math.abs,h=(0,Math.sqrt)(o(i[0]-r[0],2)+o(i[1]-r[1],2)),c=a((o(h,2)+o(s[2]+r[2],2)-o(s[2]+i[2],2))/(2*(s[2]+r[2])*h)),d=n(l(i[0]-r[0])/h),u=(i[1]-r[1]<0?0:Math.PI)+c+d*((i[0]-r[0])*(i[1]-r[1])<0?1:-1),p=Math.cos(u),m=Math.sin(u);return[r[0]+(r[2]+s[2])*m,r[1]-(r[2]+s[2])*p,s[2],s[3],s[4]]}render(){let i=[];ei.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach(r=>{(0,c.isArray)(r.dataLabels)&&r.dataLabels.forEach(r=>{i.push(r)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(i))}resizeRadius(){let i,r,s,n,a,o=this.chart,l=o.rawPositions,h=Math.min,c=Math.max,d=o.plotLeft,u=o.plotTop,p=o.plotHeight,m=o.plotWidth;for(let o of(i=s=1/0,r=n=-1/0,l))a=o[2],i=h(i,o[0]-a),r=c(r,o[0]+a),s=h(s,o[1]-a),n=c(n,o[1]+a);let g=[r-i,n-s],f=[(m-d)/g[0],(p-u)/g[1]],A=h.apply([],f);if(Math.abs(A-1)>1e-10){for(let i of l)i[2]*=A;this.placeBubbles(l)}else o.diffY=p/2+u-s-(n-s)/2,o.diffX=m/2+d-i-(r-i)/2}seriesBox(){let i,r=this.chart,s=this.data,n=Math.max,a=Math.min,o=[r.plotLeft,r.plotLeft+r.plotWidth,r.plotTop,r.plotTop+r.plotHeight];return s.forEach(r=>{(0,c.defined)(r.plotX)&&(0,c.defined)(r.plotY)&&r.marker.radius&&(i=r.marker.radius,o[0]=a(o[0],r.plotX-i),o[1]=n(o[1],r.plotX+i),o[2]=a(o[2],r.plotY-i),o[3]=n(o[3],r.plotY+i))}),(0,c.isNumber)(o.width/o.height)?o:null}setVisible(){let i=this;ei.setVisible.apply(i,arguments),i.parentNodeLayout&&i.graph?i.visible?(i.graph.show(),i.parentNode.dataLabel&&i.parentNode.dataLabel.show()):(i.graph.hide(),i.parentNodeLayout.removeElementFromCollection(i.parentNode,i.parentNodeLayout.nodes),i.parentNode.dataLabel&&i.parentNode.dataLabel.hide()):i.layout&&(i.visible?i.layout.addElementsToCollection(i.points,i.layout.nodes):i.points.forEach(r=>{i.layout.removeElementFromCollection(r,i.layout.nodes)}))}translate(){let i,r,s,n=this.chart,a=this.data,o=this.index,l=this.options.useSimulation;for(let h of(this.generatePoints(),(0,c.defined)(n.allDataPoints)||(n.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),l?s=n.allDataPoints:(s=this.placeBubbles(n.allDataPoints),this.options.draggable=!1),s))h[3]===o&&(i=a[h[4]],r=(0,c.pick)(h[2],void 0),l||(i.plotX=h[0]-n.plotLeft+n.diffX,i.plotY=h[1]-n.plotTop+n.diffY),(0,c.isNumber)(r)&&(i.marker=(0,c.extend)(i.marker,{radius:r,width:2*r,height:2*r}),i.radius=r));l&&this.deferLayout(),(0,c.fireEvent)(this,"afterTranslate")}}ea.defaultOptions=(0,c.merge)(er.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){let{numberFormatter:i}=this.series.chart,{value:r}=this.point;return(0,c.isNumber)(r)?i(r,-1):""},parentNodeFormatter:function(){return this.name||""},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981},stickyTracking:!1}),(0,c.extend)(ea.prototype,{pointClass:tX,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:es,alignDataLabel:ei.alignDataLabel,indexateNodes:ee,onMouseDown:tD.onMouseDown,onMouseMove:tD.onMouseMove,redrawHalo:tD.redrawHalo,searchPoint:ee}),p().registerSeriesType("packedbubble",ea);let{noop:eo}=d(),{area:el,line:eh,scatter:ec}=p().seriesTypes;class ed extends ec{getGraphPath(){let i=eh.prototype.getGraphPath.call(this),r=i.length+1;for(;r--;)(r===i.length||"M"===i[r][0])&&r>0&&i.splice(r,0,["Z"]);return this.areaPath=i,i}drawGraph(){this.options.fillColor=this.color,el.prototype.drawGraph.call(this)}}ed.defaultOptions=(0,c.merge)(ec.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0,legendSymbol:"rectangle"}),(0,c.extend)(ed.prototype,{type:"polygon",drawTracker:eh.prototype.drawTracker,setStackedPoints:eo}),p().registerSeriesType("polygon",ed);let{defaultOptions:eu}=d(),{noop:ep}=d(),em={radius:0,scope:"stack",where:void 0};function eg(i,r){return(0,c.isObject)(i)||(i={radius:i||0}),(0,c.merge)(em,r,i)}let ef=l.default.Series;var eA=h.n(ef);let eb={circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},radialGauge:{gridLineWidth:0,labels:{align:"center",distance:15,x:0,y:void 0},minorGridLineWidth:0,minorTickLength:5,minorTickPosition:"inside",minorTicksPerMajor:10,minorTickWidth:1,tickLength:void 0,tickWidth:2,tickPixelInterval:100,tickPosition:"inside",title:{rotation:0,text:""},zIndex:2}},{defaultOptions:ey}=d(),{composed:ex,noop:eE}=d();!function(i){function r(){this.autoConnect=this.isCircular&&void 0===(0,c.pick)(this.userMax,this.options.max)&&(0,c.correctFloat)(this.endAngleRad-this.startAngleRad)===(0,c.correctFloat)(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(0,c.isNumber)(this.max)&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function s(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&!0!==this.options.labels.allowOverlap)return this.tickPositions.map(i=>this.ticks[i]?.label).filter(i=>!!i)}}function n(){return eE}function a(i,r,s){let n=this.pane.center,a=i.value,o,l,h;return this.isCircular?((0,c.defined)(a)?i.point&&(i.point.shapeArgs||{}).start&&(a=this.chart.inverted?this.translate(i.point.rectPlotY,!0):i.point.x):(l=i.chartX||0,h=i.chartY||0,a=this.translate(Math.atan2(h-s,l-r)-this.startAngleRad,!0)),l=(o=this.getPosition(a)).x,h=o.y):((0,c.defined)(a)||(l=i.chartX,h=i.chartY),(0,c.defined)(l)&&(0,c.defined)(h)&&(s=n[1]+this.chart.plotTop,a=this.translate(Math.min(Math.sqrt(Math.pow(l-r,2)+Math.pow(h-s,2)),n[2]/2)-n[3]/2,!0))),[a,l||0,h||0]}function o(i,r,s){let n=this.pane.center,a=this.chart,o=this.left||0,l=this.top||0,h,d,u=(0,c.pick)(r,n[2]/2-this.offset);return s??(s=this.horiz?0:this.center&&-this.center[3]/2),s&&s>0&&(u+=s),this.isCircular||void 0!==r?((d=this.chart.renderer.symbols.arc(o+n[0],l+n[1],u,u,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[o+n[0]],d.yBounds=[l+n[1]-u]):(h=this.postTranslate(this.angleRad,u),d=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",h.x,h.y]]),d}function l(){this.constructor.prototype.getOffset.call(this);let i=this.options.offset??(this.pane.hasSeriesType("gauge")?"-20%":void 0);(0,c.defined)(i)&&(this.offset=-1*(0,c.relativeLength)(i,this.center[2]/2)),this.chart.axisOffset[this.side]=0}function h(i,r,s){let n=this.chart,a=i=>{if("string"==typeof i){let r=parseInt(i,10);return f.test(i)&&(r=r*u/100),r}return i},o=this.center,{endAngleRad:l,startAngleRad:h}=this,d=eg(s.borderRadius??this.pane.options.borderRadius),u=o[2]/2,p=Math.min(this.offset||0,0),m=this.left||0,g=this.top||0,f=/%$/,A=this.isCircular,b=this.options.plotBands||[],y=b.indexOf(s),x,E,T,C,v,S,I=(0,c.pick)(a(s.outerRadius),u),w=a(s.innerRadius),_=a(s.thickness),k=!0,N=!0;if(d.radius&&"stack"===d.scope&&y>-1&&(b[y-1]&&b[y-1].to===i&&(k=!1),b[y+1]&&b[y+1].from===r&&(N=!1)),"polygon"===this.options.gridLineInterpolation)S=this.getPlotLinePath({value:i}).concat(this.getPlotLinePath({value:r,reverse:!0}));else{(0,c.isNumber)(this.min)&&(i=Math.max(i,this.min)),(0,c.isNumber)(this.max)&&(r=Math.min(r,this.max));let a=this.translate(i),u=this.translate(r);A||(I=a||0,w=u||0),(0,c.isNumber)(this.min)||(0,c.isNumber)(this.max)||s.color||s.className?"circle"!==s.shape&&A?(x=h+(a||0),E=h+(u||0)):(x=-Math.PI/2,E=1.5*Math.PI,v=!0):(x=h,E=l),I-=p,(0,c.isNumber)(_)&&(_-=p),S=n.renderer.symbols.arc(m+o[0],g+o[1],I,I,{start:Math.min(x,E),end:Math.max(x,E),innerR:(0,c.pick)(w,(0,c.isNumber)(_)?I-_:void 0,this.center[3]/2),open:v,borderRadius:d.radius,brStart:k,brEnd:N}),A&&(T=(E+x)/2,C=m+o[0]+o[2]/2*Math.cos(T),S.xBounds=T>-Math.PI/2&&T<Math.PI/2?[C,n.plotWidth]:[0,C],S.yBounds=[g+o[1]+o[2]/2*Math.sin(T)],S.yBounds[0]+=T>-Math.PI&&T<0||T>Math.PI?-10:10)}return S}function u(i){let r=this.pane.center,s=this.chart,n=s.inverted,a=i.reverse,o=this.pane.options.background,l=o?(0,c.splat)(o)[0]:{},h=l.innerRadius||"0%",d=l.outerRadius||"100%",u=r[0]+s.plotLeft,p=r[1]+s.plotTop,m=this.height,g=i.isCrosshair,f=r[3]/2,A=s.time.parse(i.value)||0,b,y,x,E,T,C,v,S,I,w=this.getPosition(A,r[2]/2+(this.isCircular?this.offset:0)),_=w.x,k=w.y;if(g&&(A=(S=this.getCrosshairPosition(i,u,p))[0]||0,_=S[1],k=S[2]),this.isCircular)y=Math.sqrt(Math.pow(_-u,2)+Math.pow(k-p,2)),x="string"==typeof h?(0,c.relativeLength)(h,1):h/y,E="string"==typeof d?(0,c.relativeLength)(d,1):d/y,r&&f&&(x<(b=f/y)&&(x=b),E<b&&(E=b)),I=[["M",u+x*(_-u),p-x*(p-k)],["L",_-(1-E)*(_-u),k+(1-E)*(p-k)]];else{let i=this.translate(A);if(i&&(i<0||i>m)&&(i=0),"circle"===this.options.gridLineInterpolation)I=this.getLinePath(0,i,f);else if(I=[],s[n?"yAxis":"xAxis"].forEach(i=>{i.pane===this.pane&&(T=i)}),T){v=T.tickPositions,T.autoConnect&&(v=v.concat([v[0]])),a&&(v=v.slice().reverse()),i&&(i+=f);for(let r=0;r<v.length;r++)C=T.getPosition(v[r],i),I.push(r?["L",C.x,C.y]:["M",C.x,C.y])}}return I}function p(i,r){let s=this.translate(i);return this.postTranslate(this.isCircular?s:this.angleRad,(0,c.pick)(this.isCircular?r:s<0?0:s,this.center[2]/2)-this.offset)}function m(){let i=this.center,r=this.chart,s=this.options.title;return{x:r.plotLeft+i[0]+(s.x||0),y:r.plotTop+i[1]-({high:.5,middle:.25,low:0})[s.align]*i[2]+(s.y||0)}}function g(i){i.beforeSetTickPositions=r,i.createLabelCollector=s,i.getCrosshairPosition=a,i.getLinePath=o,i.getOffset=l,i.getPlotBandPath=h,i.getPlotLinePath=u,i.getPosition=p,i.getTitlePosition=m,i.postTranslate=S,i.setAxisSize=w,i.setAxisTranslation=_,i.setOptions=k}function f(){let i=this.chart,r=this.options,s=i.angular&&this.isXAxis,n=this.pane,a=n?.options;if(!s&&n&&(i.angular||i.polar)){let s=2*Math.PI,n=a.startAngle??(i.angular?-135:0),o=(n-90)*Math.PI/180,l=((0,c.pick)(a.endAngle,n+(i.angular?270:360))-90)*Math.PI/180;this.angleRad=(r.angle||0)*Math.PI/180,this.startAngleRad=o,this.endAngleRad=l;let h=(o%s+s)%s,d=(l%s+s)%s;h>Math.PI&&(h-=s),d>Math.PI&&(d-=s),this.normalizedStartAngleRad=h,this.normalizedEndAngleRad=d}}function A(i){if(this.chart.angular){let{options:r,pane:s}=this;s.hasSeriesType("gauge")&&(i.tickSize=[r[`${i.prefix}Length`]??10,r[`${i.prefix}Width`]??1],"inside"===r[`${i.prefix}Position`]&&(i.tickSize[0]*=-1))}}function b(i){this.isRadial&&(i.align=void 0,i.preventDefault())}function y(){if(this.chart?.labelCollectors){let i=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;i>=0&&this.chart.labelCollectors.splice(i,1)}}function x(i){let r,s=this.chart,a=s.angular,o=s.polar,l=this.isXAxis,h=this.coll,c=i.userOptions.pane||0,d=this.pane=s.pane&&s.pane[c];if("colorAxis"===h){this.isRadial=!1;return}a?(a&&l?(this.isHidden=!0,this.createLabelCollector=n,this.getOffset=eE,this.redraw=I,this.render=I,this.setCategories=eE,this.setTitle=eE):g(this),r=!l):o&&(g(this),r=this.horiz),a||o?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&s.labelCollectors.push(this.labelCollector)):this.isRadial=!1,d&&r&&(d.axis=this),this.isCircular=r}function E(){this.isRadial&&this.beforeSetTickPositions?.()}function T(i){let r=this.label;if(!r)return;let s=this.axis,n=r.getBBox(),a=s.options.labels,o=(s.translate(this.pos)+s.startAngleRad+Math.PI/2)/Math.PI*180%360,l=Math.round(o),h=(0,c.defined)(a.y)?0:-(.3*n.height),d=a.y,u,p=20,m=a.align,g="end",f=l<0?l+360:l,A=f,b=0,y=0;s.isRadial&&(u=s.getPosition(this.pos,s.center[2]/2+(0,c.relativeLength)(a.distance??-25,s.center[2]/2)+s.offset),"auto"===a.rotation?r.attr({rotation:o}):(0,c.defined)(d)||(d=s.chart.renderer.fontMetrics(r).b-n.height/2),(0,c.defined)(m)||(s.isCircular?(n.width>s.len*s.tickInterval/(s.max-s.min)&&(p=0),m=o>p&&o<180-p?"left":o>180+p&&o<360-p?"right":"center"):m="center",r.attr({align:m})),"auto"===m&&2===s.tickPositions.length&&s.isCircular&&(f>90&&f<180?f=180-f:f>270&&f<=360&&(f=540-f),A>180&&A<=360&&(A=360-A),(s.pane.options.startAngle===l||s.pane.options.startAngle===l+360||s.pane.options.startAngle===l-360)&&(g="start"),m=l>=-90&&l<=90||l>=-360&&l<=-270||l>=270&&l<=360?"start"===g?"right":"left":"start"===g?"left":"right",A>70&&A<110&&(m="center"),f<15||f>=180&&f<195?b=.3*n.height:f>=15&&f<=35?b="start"===g?0:.75*n.height:f>=195&&f<=215?b="start"===g?.75*n.height:0:f>35&&f<=90?b="start"===g?-(.25*n.height):n.height:f>215&&f<=270&&(b="start"===g?n.height:-(.25*n.height)),A<15?y="start"===g?-(.15*n.height):.15*n.height:A>165&&A<=180&&(y="start"===g?.15*n.height:-(.15*n.height)),r.attr({align:m}),r.translate(y,b+h)),i.pos.x=u.x+(a.x||0),i.pos.y=u.y+(d||0))}function C(i){this.axis.getPosition&&(0,c.extend)(i.pos,this.axis.getPosition(this.pos))}function v({options:r}){r.xAxis&&(0,c.merge)(!0,i.radialDefaultOptions.circular,r.xAxis),r.yAxis&&(0,c.merge)(!0,i.radialDefaultOptions.radialGauge,r.yAxis)}function S(i,r){let s=this.chart,n=this.center;return i=this.startAngleRad+i,{x:s.plotLeft+n[0]+Math.cos(i)*r,y:s.plotTop+n[1]+Math.sin(i)*r}}function I(){this.isDirty=!1}function w(){let i,r;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(),i=this.center=this.pane.center.slice(),this.isCircular?(this.sector=this.endAngleRad-this.startAngleRad,this.len=this.width=this.height=i[2]*this.sector/2):(r=this.postTranslate(this.angleRad,i[3]/2),i[0]=r.x-this.chart.plotLeft,i[1]=r.y-this.chart.plotTop,this.len=this.width=this.height=(i[2]-i[3])/2))}function _(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function k(r){let{coll:s}=this,{angular:n,inverted:a,polar:o}=this.chart,l={};n?this.isXAxis||(l=(0,c.merge)(ey.yAxis,i.radialDefaultOptions.radialGauge)):o&&(l=this.horiz?(0,c.merge)(ey.xAxis,i.radialDefaultOptions.circular):(0,c.merge)("xAxis"===s?ey.xAxis:ey.yAxis,i.radialDefaultOptions.radial)),a&&"yAxis"===s&&(l.stackLabels=(0,c.isObject)(ey.yAxis,!0)?ey.yAxis.stackLabels:{},l.reversedStacks=!0);let h=this.options=(0,c.merge)(l,r);h.plotBands||(h.plotBands=[]),(0,c.fireEvent)(this,"afterSetOptions")}function N(i){return!(0,c.defined)(this.options.minorTicks)&&this.pane.hasSeriesType("gauge")?"auto":i.apply(this,Array.prototype.slice.call(arguments,1))}function M(i,r,s,n,a,o,l){let h,c=this.axis;return c.isRadial?["M",r,s,"L",(h=c.getPosition(this.pos,c.center[2]/2+n)).x,h.y]:i.call(this,r,s,n,a,o,l)}i.radialDefaultOptions=(0,c.merge)(eb),i.compose=function(i,r){return(0,c.pushUnique)(ex,"Axis.Radial")&&((0,c.addEvent)(i,"afterInit",f),(0,c.addEvent)(i,"afterTickSize",A),(0,c.addEvent)(i,"autoLabelAlign",b),(0,c.addEvent)(i,"destroy",y),(0,c.addEvent)(i,"init",x),(0,c.addEvent)(i,"initialAxisTranslation",E),(0,c.addEvent)(r,"afterGetLabelPosition",T),(0,c.addEvent)(r,"afterGetPosition",C),(0,c.addEvent)(d(),"setOptions",v),(0,c.wrap)(i.prototype,"getMinorTickInterval",N),(0,c.wrap)(r.prototype,"getMarkPath",M)),i}}(a||(a={}));let eT=a,{animObject:eC}=d(),{defaultOptions:ev}=d(),{composed:eS}=d();function eI(){(this.pane||[]).forEach(i=>{i.render()})}function ew(i){let r=i.args[0].xAxis,s=i.args[0].yAxis,n=i.args[0].chart;r&&s&&("polygon"===s.gridLineInterpolation?(r.startOnTick=!0,r.endOnTick=!0):"polygon"===r.gridLineInterpolation&&n.inverted&&(s.startOnTick=!0,s.endOnTick=!0))}function e_(){this.pane||(this.pane=[]),this.options.pane=(0,c.splat)(this.options.pane||{}),(0,c.splat)(this.userOptions.pane||{}).forEach(i=>{new v(i,this)},this)}function ek(i){let r=i.args.marker,s=this.chart.xAxis[0],n=this.chart.yAxis[0],a=this.chart.inverted,o=a?n:s,l=a?s:n;if(this.chart.polar){i.preventDefault();let s=(r.attr?r.attr("start"):r.start)-o.startAngleRad,n=r.attr?r.attr("r"):r.r,a=(r.attr?r.attr("end"):r.end)-o.startAngleRad,h=r.attr?r.attr("innerR"):r.innerR;i.result.x=s+o.pos,i.result.width=a-s,i.result.y=l.len+l.pos-n,i.result.height=n-h}}function eN(i){let r=this.chart;if(r.polar&&r.hoverPane&&r.hoverPane.axis){i.preventDefault();let s=r.hoverPane.center,n=r.mouseDownX||0,a=r.mouseDownY||0,o=i.args.chartY,l=i.args.chartX,h=2*Math.PI,c=r.hoverPane.axis.startAngleRad,d=r.hoverPane.axis.endAngleRad,u=r.inverted?r.xAxis[0]:r.yAxis[0],p={},m="arc";if(p.x=s[0]+r.plotLeft,p.y=s[1]+r.plotTop,this.zoomHor){let i=c>0?d-c:Math.abs(c)+Math.abs(d),g=Math.atan2(a-r.plotTop-s[1],n-r.plotLeft-s[0])-c,f=Math.atan2(o-r.plotTop-s[1],l-r.plotLeft-s[0])-c;p.r=s[2]/2,p.innerR=s[3]/2,g<=0&&(g+=h),f<=0&&(f+=h),f<g&&(f=[g,g=f][0]),i<h&&c+f>d+(h-i)/2&&(f=g,g=c<=0?c:0);let A=p.start=Math.max(g+c,c),b=p.end=Math.min(f+c,d);if("polygon"===u.options.gridLineInterpolation){let i=r.hoverPane.axis,n=A-i.startAngleRad+i.pos,a=u.getPlotLinePath({value:u.max}),o=i.toValue(n),l=i.toValue(n+(b-A));if(o<i.getExtremes().min){let{min:r,max:s}=i.getExtremes();o=s-(r-o)}if(l<i.getExtremes().min){let{min:r,max:s}=i.getExtremes();l=s-(r-l)}l<o&&(l=[o,o=l][0]),(a=eP(a,o,l,i)).push(["L",s[0]+r.plotLeft,r.plotTop+s[1]]),p.d=a,m="path"}}if(this.zoomVert){let i=r.inverted?r.xAxis[0]:r.yAxis[0],h=Math.sqrt(Math.pow(n-r.plotLeft-s[0],2)+Math.pow(a-r.plotTop-s[1],2)),u=Math.sqrt(Math.pow(l-r.plotLeft-s[0],2)+Math.pow(o-r.plotTop-s[1],2));if(u<h&&(h=[u,u=h][0]),u>s[2]/2&&(u=s[2]/2),h<s[3]/2&&(h=s[3]/2),this.zoomHor||(p.start=c,p.end=d),p.r=u,p.innerR=h,"polygon"===i.options.gridLineInterpolation){let r=i.toValue(i.len+i.pos-h),s=i.toValue(i.len+i.pos-u);p.d=i.getPlotLinePath({value:s}).concat(i.getPlotLinePath({value:r,reverse:!0})),m="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===u.options.gridLineInterpolation){let i=r.hoverPane.axis,s=p.start||0,n=p.end||0,a=s-i.startAngleRad+i.pos,o=i.toValue(a),l=i.toValue(a+(n-s));if(p.d instanceof Array){let i=p.d.slice(0,p.d.length/2),s=p.d.slice(p.d.length/2,p.d.length);s=[...s].reverse();let n=r.hoverPane.axis;i=eP(i,o,l,n),(s=eP(s,o,l,n))&&(s[0][0]="L"),s=[...s].reverse(),p.d=i.concat(s),m="path"}}i.attrs=p,i.shapeType=m}}function eM(){let i=this.chart;i.polar&&(this.polar=new ez(this),i.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function eL(){let{chart:i,options:r,yAxis:s}=this;if(r.borderRadius&&i.polar&&i.inverted){let i=ev.plotOptions?.[this.type]?.borderRadius,{scope:n,where:a="end"}=eg(r.borderRadius,(0,c.isObject)(i)?i:{});for(let i of this.points){let{shapeArgs:o}=i;if("arc"===i.shapeType&&o){let l="all"===a,h=!0;r.stacking&&"stack"===n&&(l=i.stackY===i.y&&"all"===a,h=i.stackY===i.stackTotal),s.reversed&&([l,h]=[h,l]),o.brStart=l,o.brEnd=h}}}}function eD(){if(this.chart.polar&&this.xAxis){let{xAxis:i,yAxis:r}=this,s=this.chart;this.kdByAngle=s.tooltip&&s.tooltip.shared,this.kdByAngle||s.inverted?this.searchPoint=eO:this.options.findNearestPointBy="xy";let n=this.points,a=n.length;for(;a--;)this.is("column")||this.is("columnrange")||this.polar.toXY(n[a]),s.hasParallelCoordinates||this.yAxis.reversed||((0,c.pick)(n[a].y,5e-324)<r.min||n[a].x<i.min||n[a].x>i.max?(n[a].isNull=!0,n[a].plotY=NaN):n[a].isNull=n[a].isValid&&!n[a].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push((0,c.addEvent)(this,"afterRender",function(){let i;if(s.polar&&!1!==this.options.clip){if(i=this.yAxis.pane.center,this.clipCircle)this.clipCircle.animate({x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2});else{var r,n,a,o,l;let h,d,u;this.clipCircle=(r=s.renderer,n=i[0],a=i[1],o=i[2]/2,l=i[3]/2,h=(0,c.uniqueKey)(),d=r.createElement("clipPath").attr({id:h}).add(r.defs),(u=l?r.arc(n,a,o,l,0,2*Math.PI).add(d):r.circle(n,a,o).add(d)).id=h,u.clipPath=d,u)}this.group.clip(this.clipCircle),this.setClip=d().noop}})))}}function eO(i){let r=this.chart,s=this.xAxis,n=this.yAxis,a=s.pane&&s.pane.center,o=i.chartX-(a&&a[0]||0)-r.plotLeft,l=i.chartY-(a&&a[1]||0)-r.plotTop,h=r.inverted?{clientX:i.chartX-n.pos,plotY:i.chartY-s.pos}:{clientX:180+-180/Math.PI*Math.atan2(o,l)};return this.searchKDTree(h)}function eP(i,r,s,n){let a=n.tickInterval,o=n.tickPositions,l=(0,c.find)(o,i=>i>=s),h=(0,c.find)([...o].reverse(),i=>i<=r);return(0,c.defined)(l)||(l=o[o.length-1]),(0,c.defined)(h)||(h=o[0],l+=a,i[0][0]="L",i.unshift(i[i.length-3])),(i=i.slice(o.indexOf(h),o.indexOf(l)+1))[0][0]="M",i}function eR(i,r){return(0,c.find)(this.pane||[],i=>i.options.id===r)||i.call(this,r)}function eB(i,r,s,n,a,o){let l,h,d,u=this.chart,p=(0,c.pick)(n.inside,!!this.options.stacking);if(u.polar){if(l=r.rectPlotX/Math.PI*180,u.inverted)this.forceDL=u.isInsidePlot(r.plotX,r.plotY),p&&r.shapeArgs?(h=r.shapeArgs,d=this.yAxis.postTranslate(((h.start||0)+(h.end||0))/2-this.xAxis.startAngleRad,r.barX+(r.pointWidth||0)/2),a=(0,c.merge)(a,{x:d.x-u.plotLeft,y:d.y-u.plotTop})):r.tooltipPos&&(a=(0,c.merge)(a,{x:r.tooltipPos[0],y:r.tooltipPos[1]})),n.align=(0,c.pick)(n.align,"center"),n.verticalAlign=(0,c.pick)(n.verticalAlign,"middle");else{var m;null===(m=n).align&&(m.align=l>20&&l<160?"left":l>200&&l<340?"right":"center"),null===m.verticalAlign&&(m.verticalAlign=l<45||l>315?"bottom":l>135&&l<225?"top":"middle"),n=m}eA().prototype.alignDataLabel.call(this,r,s,n,a,o),this.isRadialBar&&r.shapeArgs&&r.shapeArgs.start===r.shapeArgs.end?s.hide():s.show()}else i.call(this,r,s,n,a,o)}function eF(){let i=this.options,r=i.stacking,s=this.chart,n=this.xAxis,a=this.yAxis,o=a.reversed,l=a.center,h=n.startAngleRad,d=n.endAngleRad-h,u=i.threshold,p=0,m,g,f,A,b,y=0,x=0,E,T,C,v,S,I,w,_;if(n.isRadial)for(f=(m=this.points).length,A=a.translate(a.min),b=a.translate(a.max),u=i.threshold||0,s.inverted&&(0,c.isNumber)(u)&&(p=a.translate(u),(0,c.defined)(p)&&(p<0?p=0:p>d&&(p=d),this.translatedThreshold=p+h));f--;){if(I=(g=m[f]).barX,T=g.x,C=g.y,g.shapeType="arc",s.inverted){g.plotY=a.translate(C),r&&a.stacking?(S=a.stacking.stacks[(C<0?"-":"")+this.stackKey],this.visible&&S&&S[T]&&!g.isNull&&(v=S[T].points[this.getStackIndicator(void 0,T,this.index).key],y=a.translate(v[0]),x=a.translate(v[1]),(0,c.defined)(y)&&(y=(0,c.clamp)(y,0,d)))):(y=p,x=g.plotY),y>x&&(x=[y,y=x][0]),o?x>A?x=A:y<b?y=b:(y>A||x<b)&&(y=x=d):y<A?y=A:x>b?x=b:(x<A||y>b)&&(y=x=0),a.min>a.max&&(y=x=o?d:0),y+=h,x+=h,l&&(g.barX=I+=l[3]/2),w=Math.max(I,0),_=Math.max(I+(g.pointWidth||0),0);let s=i.borderRadius,n="object"==typeof s?s.radius:s,u=(0,c.relativeLength)(n||0,_-w);g.shapeArgs={x:l[0],y:l[1],r:_,innerR:w,start:y,end:x,borderRadius:u},g.opacity=y===x?0:void 0,g.plotY=((0,c.defined)(this.translatedThreshold)&&(y<this.translatedThreshold?y:x))-h}else y=I+h,g.shapeArgs=this.polar.arc(g.yBottom,g.plotY,y,y+(g.pointWidth||0)),g.shapeArgs.borderRadius=0;this.polar.toXY(g),s.inverted?(E=a.postTranslate(g.rectPlotY,I+(g.pointWidth||0)/2),g.tooltipPos=[E.x-s.plotLeft,E.y-s.plotTop]):g.tooltipPos=[g.plotX,g.plotY],l&&(g.ttBelow=g.plotY>l[1])}}function eH(i,r){let s,n,a=this;if(this.chart.polar){r=r||this.points;for(let i=0;i<r.length;i++)if(!r[i].isNull){s=i;break}!1!==this.options.connectEnds&&void 0!==s&&(this.connectEnds=!0,r.splice(r.length,0,r[s]),n=!0),r.forEach(i=>{void 0===i.polarPlotY&&a.polar.toXY(i)})}let o=i.apply(this,[].slice.call(arguments,1));return n&&r.pop(),o}function eG(i,r){let s=this.chart,n={xAxis:[],yAxis:[]};return s.polar?s.axes.forEach(i=>{if("colorAxis"===i.coll)return;let a=i.isXAxis,o=i.center,l=r.chartX-o[0]-s.plotLeft,h=r.chartY-o[1]-s.plotTop;n[a?"xAxis":"yAxis"].push({axis:i,value:i.translate(a?Math.PI-Math.atan2(l,h):Math.sqrt(Math.pow(l,2)+Math.pow(h,2)),!0)})}):n=i.call(this,r),n}function eU(i,r){this.chart.polar||i.call(this,r)}function eY(i,r){let s=this,n=this.chart,a=this.group,o=this.markerGroup,l=this.xAxis&&this.xAxis.center,h=n.plotLeft,u=n.plotTop,p=this.options.animation,m,g,f,A,b,y;n.polar?s.isRadialBar?r||(s.startAngleRad=(0,c.pick)(s.translatedThreshold,s.xAxis.startAngleRad),d().seriesTypes.pie.prototype.animate.call(s,r)):(p=eC(p),s.is("column")?r||(g=l[3]/2,s.points.forEach(i=>{f=i.graphic,b=(A=i.shapeArgs)&&A.r,y=A&&A.innerR,f&&A&&(f.attr({r:g,innerR:g}),f.animate({r:b,innerR:y},s.options.animation))})):r?(m={translateX:l[0]+h,translateY:l[1]+u,scaleX:.001,scaleY:.001},a.attr(m),o&&o.attr(m)):(m={translateX:h,translateY:u,scaleX:1,scaleY:1},a.animate(m,p),o&&o.animate(m,p))):i.call(this,r)}function eW(i,r,s,n){let a,o;if(this.chart.polar)if(n){let i=(o=function i(r,s,n,a){let o,l,h,c,d,u,p=+!!a,m=(o=s>=0&&s<=r.length-1?s:s<0?r.length-1+s:0)-1<0?r.length-(1+p):o-1,g=o+1>r.length-1?p:o+1,f=r[m],A=r[g],b=f.plotX,y=f.plotY,x=A.plotX,E=A.plotY,T=r[o].plotX,C=r[o].plotY;l=(1.5*T+b)/2.5,h=(1.5*C+y)/2.5,c=(1.5*T+x)/2.5,d=(1.5*C+E)/2.5;let v=Math.sqrt(Math.pow(l-T,2)+Math.pow(h-C,2)),S=Math.sqrt(Math.pow(c-T,2)+Math.pow(d-C,2)),I=Math.atan2(h-C,l-T);u=Math.PI/2+(I+Math.atan2(d-C,c-T))/2,Math.abs(I-u)>Math.PI/2&&(u-=Math.PI),l=T+Math.cos(u)*v,h=C+Math.sin(u)*v;let w={rightContX:c=T+Math.cos(Math.PI+u)*S,rightContY:d=C+Math.sin(Math.PI+u)*S,leftContX:l,leftContY:h,plotX:T,plotY:C};return n&&(w.prevPointCont=i(r,m,!1,a)),w}(r,n,!0,this.connectEnds)).prevPointCont&&o.prevPointCont.rightContX,s=o.prevPointCont&&o.prevPointCont.rightContY;a=["C",(0,c.isNumber)(i)?i:o.plotX,(0,c.isNumber)(s)?s:o.plotY,(0,c.isNumber)(o.leftContX)?o.leftContX:o.plotX,(0,c.isNumber)(o.leftContY)?o.leftContY:o.plotY,o.plotX,o.plotY]}else a=["M",s.plotX,s.plotY];else a=i.call(this,r,s,n);return a}function ej(i,r,s=this.plotX,n=this.plotY){let{series:a}=this,{chart:o}=a||{};return o?.polar&&(0,c.isNumber)(s)&&(0,c.isNumber)(n)?[s+(r?o.plotLeft:0),n+(r?o.plotTop:0)]:i.call(this,r,s,n)}class ez{static compose(i,r,s,n,a,o,l,h,d,u){if(v.compose(r,s),eT.compose(i,a),(0,c.pushUnique)(eS,"Polar")){let i=r.prototype,a=o.prototype,p=s.prototype,m=n.prototype;if((0,c.addEvent)(r,"afterDrawChartBox",eI),(0,c.addEvent)(r,"createAxes",e_),(0,c.addEvent)(r,"init",ew),(0,c.wrap)(i,"get",eR),(0,c.wrap)(p,"getCoordinates",eG),(0,c.wrap)(p,"pinch",eU),(0,c.addEvent)(s,"getSelectionMarkerAttrs",eN),(0,c.addEvent)(s,"getSelectionBox",ek),(0,c.addEvent)(n,"afterInit",eM),(0,c.addEvent)(n,"afterColumnTranslate",eL,{order:9}),(0,c.addEvent)(n,"afterTranslate",eD,{order:2}),(0,c.addEvent)(n,"afterColumnTranslate",eF,{order:4}),(0,c.wrap)(m,"animate",eY),(0,c.wrap)(a,"pos",ej),h){let i=h.prototype;(0,c.wrap)(i,"alignDataLabel",eB),(0,c.wrap)(i,"animate",eY)}if(d){let i=d.prototype;(0,c.wrap)(i,"getGraphPath",eH)}if(u){let i=u.prototype;(0,c.wrap)(i,"getPointSpline",eW),l&&(l.prototype.getPointSpline=i.getPointSpline)}}}constructor(i){this.series=i}arc(i,r,s,n){let a=this.series,o=a.xAxis.center,l=a.yAxis.len,h=o[3]/2,d=l-r+h,u=l-(0,c.pick)(i,l)+h;return a.yAxis.reversed&&(d<0&&(d=h),u<0&&(u=h)),{x:o[0],y:o[1],r:d,innerR:u,start:s,end:n}}toXY(i){let r=this.series,s=r.chart,n=r.xAxis,a=r.yAxis,o=i.plotX,l=s.inverted,h=i.y,d=i.plotY,u=l?o:a.len-d,p;if(l&&r&&!r.isRadialBar&&(i.plotY=d=(0,c.isNumber)(h)?a.translate(h):0),i.rectPlotX=o,i.rectPlotY=d,a.center&&(u+=a.center[3]/2),(0,c.isNumber)(d)){let r=l?a.postTranslate(d,u):n.postTranslate(o,u);i.plotX=i.polarPlotX=r.x-s.plotLeft,i.plotY=i.polarPlotY=r.y-s.plotTop}r.kdByAngle?((p=(o/Math.PI*180+(n.pane.options.startAngle||0))%360)<0&&(p+=360),i.clientX=p):i.clientX=i.plotX}}let eX=l.default.StackItem;var eQ=h.n(eX);let{composed:eK}=d();!function(i){function r(){let i=this.waterfall?.stacks;
1i&&(i.changed=!1,delete i.alreadyChanged)}function s(){let i=this.options.stackLabels;i?.enabled&&this.waterfall?.stacks&&this.waterfall.renderStackTotals()}function n(){this.waterfall||(this.waterfall=new o(this))}function a(){let i=this.axes;for(let r of this.series)if(r.options.stacking){for(let r of i)!r.isXAxis&&r.waterfall&&(r.waterfall.stacks.changed=!0);break}}i.compose=function(i,o){(0,c.pushUnique)(eK,"Axis.Waterfall")&&((0,c.addEvent)(i,"init",n),(0,c.addEvent)(i,"afterBuildStacks",r),(0,c.addEvent)(i,"afterRender",s),(0,c.addEvent)(o,"beforeRedraw",a))};class o{constructor(i){this.axis=i,this.stacks={changed:!1}}renderStackTotals(){let i=this.axis,r=i.waterfall?.stacks,s=i.stacking?.stackTotalGroup,n=new(eQ())(i,i.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=n,s&&(0,c.objectEach)(r,i=>{(0,c.objectEach)(i,(i,r)=>{n.total=i.stackTotal,n.x=+r,i.label&&(n.label=i.label),eQ().prototype.render.call(n,s),i.label=n.label,delete n.label})}),n.total=null}}i.Composition=o}(o||(o={}));let eV=o;class eq extends B().prototype.pointClass{getClassName(){let i=te().prototype.getClassName.call(this);return this.isSum?i+=" highcharts-sum":this.isIntermediateSum&&(i+=" highcharts-intermediate-sum"),i}isValid(){return(0,c.isNumber)(this.y)||this.isSum||!!this.isIntermediateSum}}let{column:eZ,line:eJ}=p().seriesTypes;function e$(i,r){return Object.hasOwnProperty.call(i,r)}class e0 extends eZ{generatePoints(){eZ.prototype.generatePoints.apply(this);let i=this.getColumn("y",!0);for(let r=0,s=this.points.length;r<s;r++){let s=this.points[r],n=i[r];(0,c.isNumber)(n)&&(s.isIntermediateSum||s.isSum)&&(s.y=(0,c.correctFloat)(n))}}processData(i){let r,s,n,a,o,l=this.options,h=this.getColumn("y"),d=this.getColumn("isSum"),u=this.getColumn("isIntermediateSum"),p=h.length,m=l.threshold||0;s=r=n=a=0;for(let i=0;i<p;i++)"sum"===(o=h[i])||d[i]?h[i]=(0,c.correctFloat)(s):"intermediateSum"===o||u[i]?(h[i]=(0,c.correctFloat)(r),r=0):(s+=o,r+=o),n=Math.min(s,n),a=Math.max(s,a);super.processData.call(this,i),l.stacking||(this.dataMin=n+m,this.dataMax=a)}toYData(i){return i.isSum?"sum":i.isIntermediateSum?"intermediateSum":i.y}pointAttribs(i,r){let s=this.options.upColor;s&&!i.options.color&&(0,c.isNumber)(i.y)&&(i.color=i.y>0?s:void 0);let n=eZ.prototype.pointAttribs.call(this,i,r);return delete n.dashstyle,n}getGraphPath(){return this.graph?.pathArray||[["M",0,0]]}getCrispPath(){let i=this.points.filter(i=>(0,c.isNumber)(i.y)),r=this.yAxis,s=i.length,n=this.graph?.strokeWidth()||0,a=this.xAxis.reversed,o=this.yAxis.reversed,l=this.options.stacking,h=[];for(let d=1;d<s;d++){if(!(this.options.connectNulls||(0,c.isNumber)(this.data[i[d].index-1].y)))continue;let s=i[d].box,u=i[d-1],p=u.y||0,m=i[d-1].box;if(!s||!m)continue;let g=r.waterfall?.stacks[this.stackKey],f=p>0?-m.height:0;if(g&&m&&s){let i,p=g[d-1];i=l?(0,c.crisp)(r.translate(p.connectorThreshold||0,!1,!0,!1,!0)+(o?f:0),n):(0,c.crisp)(m.y+(u.minPointLengthOffset||0),n),h.push(["M",(m.x||0)+(a?0:m.width||0),i],["L",(s.x||0)+(a&&s.width||0),i])}if(m&&h.length&&(!l&&p<0&&!o||p>0&&o)){let i=h[h.length-2];i&&"number"==typeof i[2]&&(i[2]+=m.height||0);let r=h[h.length-1];r&&"number"==typeof r[2]&&(r[2]+=m.height||0)}}return h}drawGraph(){eJ.prototype.drawGraph.call(this),this.graph?.animate({d:this.getCrispPath()})}setStackedPoints(i){let r=this.options,s=i.waterfall?.stacks,n=r.threshold||0,a=this.stackKey,o=this.getColumn("x"),l=this.getColumn("y"),h=o.length,d=n,u=d,p,m=0,g=0,f=0,A,b,y,x,E,T,C,v,S=(i,r,s,n)=>{if(p){if(A)for(;s<A;s++)p.stackState[s]+=n;else p.stackState[0]=i,A=p.stackState.length;p.stackState.push(p.stackState[A-1]+r)}};if(i.stacking&&s&&this.reserveSpace()){v=s.changed,(C=s.alreadyChanged)&&0>C.indexOf(a)&&(v=!0),s[a]||(s[a]={});let i=s[a];if(i)for(let s=0;s<h;s++)(!i[T=o[s]]||v)&&(i[T]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:v&&i[T]?i[T].label:void 0}),p=i[T],(E=l[s])>=0?p.posTotal+=E:p.negTotal+=E,x=r.data?.[s],b=p.absolutePos=p.posTotal,y=p.absoluteNeg=p.negTotal,p.stackTotal=b+y,A=p.stackState.length,(0,c.isObject)(x,!0)&&x.isIntermediateSum?(S(f,g,0,f),f=g,g=n,d^=u,u^=d,d^=u):(0,c.isObject)(x,!0)&&x.isSum?(S(n,m,A,0),d=n):(S(d,E,0,m),x&&(m+=E,g+=E)),p.stateIndex++,p.threshold=d,d+=p.stackTotal;s.changed=!1,s.alreadyChanged||(s.alreadyChanged=[]),s.alreadyChanged.push(a)}}getExtremes(){let i,r,s=this.options.stacking,n=this.yAxis,a=n.waterfall?.stacks;return s&&a?(i=this.stackedYNeg=[],r=this.stackedYPos=[],"overlap"===s?(0,c.objectEach)(a[this.stackKey],function(s){i.push((0,c.arrayMin)(s.stackState)),r.push((0,c.arrayMax)(s.stackState))}):(0,c.objectEach)(a[this.stackKey],function(s){i.push(s.negTotal+s.threshold),r.push(s.posTotal+s.threshold)}),{dataMin:(0,c.arrayMin)(i),dataMax:(0,c.arrayMax)(r)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}e0.defaultOptions=(0,c.merge)(eZ.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"var(--highcharts-neutral-color-80)",dashStyle:"Dot",borderColor:"var(--highcharts-neutral-color-80)",states:{hover:{lineWidthPlus:0}}}),e0.compose=eV.compose,(0,c.extend)(e0.prototype,{pointValKey:"y",showLine:!0,pointClass:eq}),(0,c.addEvent)(e0,"afterColumnTranslate",function(){let{options:i,points:r,yAxis:s}=this,n=(0,c.pick)(i.minPointLength,5),a=n/2,o=i.threshold||0,l=i.stacking,h=s.waterfall?.stacks[this.stackKey],d=this.getColumn("y",!0),u=o,p=o,m,g,f;for(let i=0;i<r.length;i++){let A=r[i],b=d[i],y=A.shapeArgs,x=(0,c.extend)({x:0,y:0,width:0,height:0},y||{});A.box=x;let E=[0,b],T=A.y||0;if(l){if(h){let r=h[i];"overlap"===l?(g=r.stackState[r.stateIndex--],m=T>=0?g:g-T,e$(r,"absolutePos")&&delete r.absolutePos,e$(r,"absoluteNeg")&&delete r.absoluteNeg):(T>=0?(g=r.threshold+r.posTotal,r.posTotal-=T,m=g):(g=r.threshold+r.negTotal,r.negTotal-=T,m=g-T),!r.posTotal&&(0,c.isNumber)(r.absolutePos)&&e$(r,"absolutePos")&&(r.posTotal=r.absolutePos,delete r.absolutePos),!r.negTotal&&(0,c.isNumber)(r.absoluteNeg)&&e$(r,"absoluteNeg")&&(r.negTotal=r.absoluteNeg,delete r.absoluteNeg)),A.isSum||(r.connectorThreshold=r.threshold+r.stackTotal),f=m-Math.abs(T),s.reversed&&([m,f]=[f,m]),A.below=m<=o,x.y=s.translate(m,!1,!0,!1,!0),x.height=s.translate(f,!1,!0,!1,!0)-x.y;let n=s.waterfall?.dummyStackItem;n&&(n.x=i,n.label=h[i].label,n.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[i],this.stackedYPos[i],void 0,this.xAxis))}}else m=Math.max(p,p+T)+E[0],x.y=s.translate(m,!1,!0,!1,!0),A.isSum?(x.y=s.translate(E[1],!1,!0,!1,!0),x.height=Math.min(s.translate(E[0],!1,!0,!1,!0),s.len)-x.y,A.below=E[1]<=o):A.isIntermediateSum?(T>=0?(m=E[1]+u,f=u):(m=u,f=E[1]+u),s.reversed&&([m,f]=[f,m]),x.y=s.translate(m,!1,!0,!1,!0),x.height=Math.abs(x.y-Math.min(s.translate(f,!1,!0,!1,!0),s.len)),u+=E[1],A.below=m<=o):(x.height=b>0?s.translate(p,!1,!0,!1,!0)-x.y:s.translate(p+b,!1,!0,!1,!0)-s.translate(p,!1,!0,!1,!0),A.below=(p+=b)<o);x.height<0&&(x.y+=x.height,x.height*=-1),A.plotY=x.y,A.yBottom=x.y+x.height,x.height<=n&&!A.isNull?(x.height=n,x.y-=a,A.yBottom=x.y+x.height,A.plotY=x.y,T<0?A.minPointLengthOffset=-a:A.minPointLengthOffset=a):(A.isNull&&(x.width=0),A.minPointLengthOffset=0);let C=A.plotY+(A.negative?x.height:0);A.below&&(A.plotY+=x.height),A.tooltipPos&&(this.chart.inverted?A.tooltipPos[0]=s.len-C:A.tooltipPos[1]=C),A.isInside=this.isPointInside(A);let v=(0,c.crisp)(A.yBottom,this.borderWidth);x.y=(0,c.crisp)(x.y,this.borderWidth),x.height=v-x.y,(0,c.merge)(!0,A.shapeArgs,x)}},{order:2}),p().registerSeriesType("waterfall",e0);let e1=d();e1.RadialAxis=eT,td.compose(e1.Axis,e1.Chart,e1.Legend),ea.compose(e1.Axis,e1.Chart,e1.Legend),v.compose(e1.Chart,e1.Pointer),ez.compose(e1.Axis,e1.Chart,e1.Pointer,e1.Series,e1.Tick,e1.Point,p().seriesTypes.areasplinerange,p().seriesTypes.column,p().seriesTypes.line,p().seriesTypes.spline),e0.compose(e1.Axis,e1.Chart),i.s([])},26963,i=>{"use strict";let r,s,n,a,o;var l,h,c,d,u,p,m,g,f,A,b,y,x,E,T,C,v,S,I,w,_,k,N,M,L={};L.d=(i,r)=>{for(var s in r)L.o(r,s)&&!L.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},L.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r),(l=f||(f={})).SVG_NS="http://www.w3.org/2000/svg",l.product="Highcharts",l.version="13.0.0",l.win="u">typeof window?window:{},l.doc=l.win.document,l.svg=!!l.doc?.createElementNS?.(l.SVG_NS,"svg")?.createSVGRect,l.pageLang=l.doc?.documentElement?.closest("[lang]")?.lang,l.userAgent=l.win.navigator?.userAgent||"",l.isChrome=l.win.chrome,l.isFirefox=-1!==l.userAgent.indexOf("Firefox"),l.isMS=/(edge|msie|trident)/i.test(l.userAgent)&&!l.win.opera,l.isSafari=!l.isChrome&&-1!==l.userAgent.indexOf("Safari"),l.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(l.userAgent),l.isWebKit=-1!==l.userAgent.indexOf("AppleWebKit"),l.deg2rad=2*Math.PI/360,l.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],l.noop=function(){},l.supportsPassiveEvents=function(){let i=!1;if(!l.isMS){let r=Object.defineProperty({},"passive",{get:function(){i=!0}});l.win.addEventListener&&l.win.removeEventListener&&(l.win.addEventListener("testPassive",l.noop,r),l.win.removeEventListener("testPassive",l.noop,r))}return i}(),l.charts=[],l.composed=[],l.dateFormats={},l.seriesTypes={},l.symbolSizes={},l.chartCount=0;let D=f,O={dark:{backgroundColor:"#141414",neutralColor:"#ffffff",highlightColor:"#2caffe"},light:{backgroundColor:"#ffffff",neutralColor:"#000000",highlightColor:"#0022ff",positiveColor:"#06b535",negativeColor:"#f21313"}},{doc:P,win:R}=D;function B(i,r,s,n={}){let a="function"==typeof i&&i.prototype||i;Object.hasOwnProperty.call(a,"hcEvents")||(a.hcEvents={});let o=a.hcEvents;D.Point&&i instanceof D.Point&&i.series&&i.series.chart&&(i.series.chart.runTrackerClick=!0);let l=i.addEventListener;l&&l.call(i,r,s,!!D.supportsPassiveEvents&&{passive:void 0===n.passive?-1!==r.indexOf("touch"):n.passive,capture:!1}),o[r]||(o[r]=[]);let h={fn:s,order:"number"==typeof n.order?n.order:1/0};return o[r].push(h),o[r].sort((i,r)=>i.order-r.order),function(){tv(i,r,s)}}function F(i){let r=i.length,s=i[0];for(;r--;)i[r]<s&&(s=i[r]);return s}function H(i){let r=i.length,s=i[0];for(;r--;)i[r]>s&&(s=i[r]);return s}function G(i,r,s){let n,a=tc(r)&&!X(s),o=(r,s)=>{X(r)?i.setAttribute(s,r):a?(n=i.getAttribute(s))||"class"!==s||(n=i.getAttribute(s+"Name")):i.removeAttribute(s)};return tc(r)?o(s,r):tf(r,o),n}function U(i,r,s){return i>r?i<s?i:s:r}function Y(i,r){return i>1e14?i:parseFloat(i.toPrecision(r||14))}function W(i,r,s,n,a){let o=P.createElement(i);return r&&Z(o,r),a&&z(o,{padding:"0",border:"none",margin:"0"}),s&&z(o,s),n&&n.appendChild(o),o}function j(i,r=0,s){let n=r%2/2,a=s?-1:1;return(Math.round(i*a-n)+n)*a}function z(i,r){Z(i.style,r)}function X(i){return null!=i}function Q(i,r,s){tf(i,function(n,a){n!==r&&n?.destroy&&n.destroy(),(n?.destroy||!s)&&delete i[a]})}function K(i){i?.parentElement?.removeChild(i)}function V(i,r,s,n){let a={};return!function i(r,a,o,l){let h=s?a:r;tf(r,function(s,c){if(!l&&n&&n.indexOf(c)>-1&&a[c]){s=tS(s),o[c]=[];for(let r=0;r<Math.max(s.length,a[c].length);r++)a[c][r]&&(void 0===s[r]?o[c][r]=a[c][r]:(o[c][r]={},i(s[r],a[c][r],o[c][r],l+1)))}else tp(s,!0)&&!s.nodeType?(o[c]=td(s)?[]:{},i(s,a[c]||{},o[c],l+1),0===Object.keys(o[c]).length&&("colorAxis"!==c||0!==l)&&delete o[c]):(r[c]!==a[c]||c in r&&!(c
vendor: 22,098 bytes, lines 1-2
1in a))&&"__proto__"!==c&&"constructor"!==c&&(o[c]=h[c])})}(i,r,a,0),a}function q(i,r){let s=i.length;for(;s--;)if(i[s]===r){i.splice(s,1);break}}function Z(i,r){let s;for(s in i||(i={}),r)i[s]=r[s];return i}function J(i,r){let s=function(){};return s.prototype=new i,Z(s.prototype,r),s}function $(i,r,s,n){if(s=s||{},P?.createEvent&&(i.dispatchEvent||i.fireEvent&&i!==D)){let n=P.createEvent("Events");n.initEvent(r,!0,!0),s=Z(n,s),i.dispatchEvent?i.dispatchEvent(s):i.fireEvent(r,s)}else if(i.hcEvents){s.target||Z(s,{preventDefault:function(){s.defaultPrevented=!0},target:i,type:r});let n=[],a=i,o=!1;for(;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[r]&&(n.length&&(o=!0),n.unshift.apply(n,a.hcEvents[r])),a=Object.getPrototypeOf(a);o&&n.sort((i,r)=>i.order-r.order),n.forEach(r=>{!1===r.fn.call(i,s,i)&&s.preventDefault()})}n&&!s.defaultPrevented&&n.call(i,s)}let tt=(i="")=>({center:.5,right:1,middle:.5,bottom:1})[i]||0;function te(i,r){let s,n,a,o,l=!r;return i.forEach(i=>{if(i.length>1)for(o=n=i.length-1;o>0;o--)(a=i[o]-i[o-1])<0&&!l?(r?.(),r=void 0):a&&(void 0===s||a<s)&&(s=a)}),s}function ti(i){return Math.pow(10,Math.floor(Math.log(i)/Math.LN10))}function tr(i,r){let s=i.split(".");for(;s.length&&X(r);){let i=s.shift();if(void 0===i||"__proto__"===i)return;if("this"===i){let i;return tp(r)&&(i=r["@this"]),i??r}let n=r[i.replace(/[\\'"]/g,"")];if(!X(n)||"function"==typeof n||"number"==typeof n.nodeType||n===R)return;r=n}return r}function ts(i,r,s){let n;if("width"===r){let r=Math.min(i.offsetWidth,i.scrollWidth),s=i.getBoundingClientRect?.().width;return s<r&&s>=r-1&&(r=Math.floor(s)),Math.max(0,r-(ts(i,"padding-left",!0)||0)-(ts(i,"padding-right",!0)||0))}if("height"===r)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(ts(i,"padding-top",!0)||0)-(ts(i,"padding-bottom",!0)||0));let a=R.getComputedStyle(i,void 0);return a&&(n=a.getPropertyValue(r),ty(s,"opacity"!==r)&&(n=tx(n))),n}let tn=Array.prototype.find?function(i,r){return i.find(r)}:function(i,r){let s,n=i.length;for(s=0;s<n;s++)if(r(i[s],s))return i[s]};function ta(i){X(i)&&clearTimeout(i)}function to(i){return tp(i)&&"number"==typeof i.nodeType}function tl(i){let r=i?.constructor;return!!(tp(i,!0)&&!to(i)&&r?.name&&"Object"!==r.name)}function th(i){return"number"==typeof i&&!isNaN(i)&&i<1/0&&i>-1/0}function tc(i){return"string"==typeof i}function td(i){let r=Object.prototype.toString.call(i);return"[object Array]"===r||"[object Array Iterator]"===r}function tu(i){return"function"==typeof i}function tp(i,r){return!!i&&"object"==typeof i&&(!r||!td(i))}function tm(i,...r){let s,n=[i,...r],a={},o=function(i,r){return"object"!=typeof i&&(i={}),tf(r,function(s,n){"__proto__"!==n&&"constructor"!==n&&(!tp(s,!0)||tl(s)||to(s)?i[n]=r[n]:i[n]=o(i[n]||{},s))}),i};!0===i&&(a=n[1],n=Array.prototype.slice.call(n,2));let l=n.length;for(s=0;s<l;s++)a=o(a,n[s]);return a}function tg(i,r,s,n,a){let o,l=i;s=ty(s,ti(i));let h=i/s;for(!r&&(r=a?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===s?r=r.filter(function(i){return i%1==0}):s<=.1&&(r=[1/s]))),o=0;o<r.length&&(l=r[o],(!a||!(l*s>=i))&&(a||!(h<=(r[o]+(r[o+1]||r[o]))/2)));o++);return Y(l*s,-Math.round(Math.log(.001)/Math.LN10))}function tf(i,r,s){for(let n in i)Object.hasOwnProperty.call(i,n)&&r.call(s||i[n],i[n],n,i)}function tA(i){let r=P.documentElement,s=i.parentElement||i.parentNode?i.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:s.top+(R.pageYOffset||r.scrollTop)-(r.clientTop||0),left:s.left+(R.pageXOffset||r.scrollLeft)-(r.clientLeft||0),width:s.width,height:s.height}}function tb(i,r,s){return Array((r||2)+1-String(i).replace("-","").length).join(s||"0")+i}function ty(){let i=arguments,r=i.length;for(let s=0;s<r;s++){let r=i[s];if(null!=r)return r}}function tx(i,r){return parseInt(i,r||10)}function tE(i,r){return 0>i.indexOf(r)&&!!i.push(r)}function tT(i,r,s){return/%$/.test(i)?r*parseFloat(i)/100+(s||0):parseFloat(i)}function tC(i,...r){let s,n;do for(n of(s=i,r))i=i.replace(n[0],n[1]);while(i!==s)return i}function tv(i,r,s){function n(r,s){let n=i.removeEventListener;n&&n.call(i,r,s,!1)}function a(s){let a,o;i.nodeName&&(r?(a={})[r]=!0:a=s,tf(a,function(i,r){if(s[r])for(o=s[r].length;o--;)n(r,s[r][o].fn)}))}let o="function"==typeof i&&i.prototype||i;if(Object.hasOwnProperty.call(o,"hcEvents")){let i=o.hcEvents;if(r){let o=i[r]||[];s?(i[r]=o.filter(function(i){return s!==i.fn}),n(r,s)):(a(i),i[r]=[])}else a(i),delete o.hcEvents}}function tS(i){return td(i)?i:[i]}function tI(i,r){let s,n,a=i.length;for(n=0;n<a;n++)i[n].safeI=n;for(i.sort(function(i,n){return 0===(s=r(i,n))?i.safeI-n.safeI:s}),n=0;n<a;n++)delete i[n].safeI}function tw(i,r,s){return r>0?setTimeout(i,r,s):(i.call(0,s),-1)}function t_(i){return tc(i)?i.substring(0,1).toUpperCase()+i.substring(1):String(i)}let{charts:tk,win:tN}=D;function tM(i,r,s,n){let a=r?"Highcharts error":"Highcharts warning";32===i&&(i=`${a}: Deprecated member`);let o=th(i),l=o?`${a} #${i}: www.highcharts.com/errors/${i}/`:i.toString();if(void 0!==n){let i="";o&&(l+="?"),tf(n,function(r,s){i+=` 2 - ${s}: ${r}`,o&&(l+=encodeURI(s)+"="+encodeURI(r))}),l+=i}$(D,"displayError",{chart:s,code:i,message:l,params:n},function(){if(r)throw Error(l);tN.console&&-1===tM.messages.indexOf(l)&&console.warn(l)}),tM.messages.push(l)}function tL(i,r){let s,n=i.options.index,a=r.length;for(s=i.options.isInternal?a:0;s<a+1;s++)if(!r[s]||th(n)&&n<ty(r[s].options.index,r[s]._i)||r[s].options.isInternal){r.splice(s,0,i);break}return s}(tM||(tM={})).messages=[];let tD={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5};Math.easeInOutSine=function(i){return -.5*(Math.cos(Math.PI*i)-1)};let tO=(n=Math.random().toString(36).substring(2,9)+"-",a=0,function(){return"highcharts-"+(r?"":n)+a++});tN.jQuery&&(tN.jQuery.fn.highcharts=function(){let i=[].slice.call(arguments);if(this[0])return i[0]?(new D[tc(i[0])?i.shift():"Chart"](this[0],i[0],i[1]),this):tk[G(this[0],"data-highcharts-chart")]});let{pageLang:tP,win:tR}=D,tB=D.isSafari&&tR.Intl&&!tR.Intl.DateTimeFormat.prototype.formatRange,tF=class{constructor(i,r){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=tR.Date,this.update(i),this.lang=r}update(i={}){this.dTLCache={},this.options=i=tm(!0,this.options,i);let{timezoneOffset:r,useUTC:s,locale:n}=i;this.Date=i.Date||tR.Date||Date;let a=i.timezone;X(s)&&(a=s?"UTC":void 0),r&&r%60==0&&(a="Etc/GMT"+(r>0?"+":"")+r/60),this.variableTimezone="UTC"!==a&&a?.indexOf("Etc/GMT")!==0,this.timezone=a,this.lang&&n&&(this.lang.locale=n),["months","shortMonths","weekdays","shortWeekdays"].forEach(i=>{let r=/months/i.test(i),s=/short/.test(i),n={timeZone:"UTC"};n[r?"month":"weekday"]=s?"short":"long",this[i]=(r?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(i=>this.dateFormat(n,(r?31:1)*24*36e5*i))})}toParts(i){let[r,s,n,a,o,l,h]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},i,"es").split(/(?:, | |\/|:)/g);return[+a,n-1,+s,+o,+l,+h,Math.floor(Number(i)||0)%1e3,"DLMXJVS".indexOf(r)]}dateTimeFormat(i,r,s=this.options.locale||tP){let n=JSON.stringify(i)+s;tc(i)&&(i=this.str2dtf(i));let a=this.dTLCache[n];if(!a){i.timeZone??(i.timeZone=this.timezone);try{a=new Intl.DateTimeFormat(s,i)}catch(r){/Invalid time zone/i.test(r.message)?(tM(34),i.timeZone="UTC",a=new Intl.DateTimeFormat(s,i)):tM(r.message,!1)}}return this.dTLCache[n]=a,a?.format(r)||""}str2dtf(i,r={}){let s={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(s).forEach(n=>{-1!==i.indexOf(n)&&Z(r,s[n])}),r}makeTime(i,r,s=1,n=0,a,o,l){let h=this.Date.UTC(i,r,s,n,a||0,o||0,l||0);if("UTC"!==this.timezone){let i=this.getTimezoneOffset(h);if(h+=i,-1!==[2,3,8,9,10,11].indexOf(r)&&(n<5||n>20)){let r=this.getTimezoneOffset(h);i!==r?h+=r-i:i-36e5!==this.getTimezoneOffset(h-36e5)||tB||(h-=36e5)}}return h}parse(i){if(!tc(i))return i??void 0;let r=(i=i.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(i),s=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(i);r||s||(i+="Z");let n=Date.parse(i);if(th(n))return n+(!r||s?this.getTimezoneOffset(n):0)}getTimezoneOffset(i){if("UTC"!==this.timezone){let[r,s,n,a,o=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},i,"en").split(/(GMT|:)/).map(Number),l=-(60*(n+o/60)*6e4);if(th(l))return l}return 0}dateFormat(i,r,s){let n=this.lang;if(!X(r)||isNaN(r))return n?.invalidDate||"";if(tc(i=i??"%Y-%m-%d %H:%M:%S")){let s,a=/%\[([a-zA-Z]+)\]/g;for(;s=a.exec(i);)i=i.replace(s[0],this.dateTimeFormat(s[1],r,n?.locale))}if(tc(i)&&-1!==i.indexOf("%")){let s=this,[a,o,l,h,c,d,u,p]=this.toParts(r),m=n?.weekdays||this.weekdays,g=n?.shortWeekdays||this.shortWeekdays,f=n?.months||this.months,A=n?.shortMonths||this.shortMonths;tf(Z({a:g?g[p]:m[p].substr(0,3),A:m[p],d:tb(l),e:tb(l,2," "),w:p,v:n?.weekFrom??"",b:A[o],B:f[o],m:tb(o+1),o:o+1,y:a.toString().substr(2,2),Y:a,H:tb(h),k:h,I:tb(h%12||12),l:h%12||12,M:tb(c),p:h<12?"AM":"PM",P:h<12?"am":"pm",S:tb(d),L:tb(u,3)},D.dateFormats),function(n,a){if(tc(i))for(;-1!==i.indexOf("%"+a);)i=i.replace("%"+a,"function"==typeof n?n.call(s,r,s):n)})}else if(tp(i)){let s=(this.getTimezoneOffset(r)||0)/36e5,n=this.timezone||"Etc/GMT"+(s>=0?"+":"")+s,{prefix:a="",suffix:o=""}=i;i=a+this.dateTimeFormat(Z({timeZone:n},i),r)+o}return s?t_(i):i}resolveDTLFormat(i){return tp(i,!0)?tp(i,!0)&&void 0===i.main?{main:i}:i:{main:(i=tS(i))[0],from:i[1],to:i[2]}}getDateFormat(i,r,s,n){let a=this.dateFormat("%m-%d %H:%M:%S.%L",r),o="01-01 00:00:00.000",l={millisecond:15,second:12,minute:9,hour:6,day:3},h="millisecond",c=h;for(h in tD){if(i&&i===tD.week&&+this.dateFormat("%w",r)===s&&a.substr(6)===o.substr(6)){h="week";break}if(i&&tD[h]>i){h=c;break}if(l[h]&&a.substr(l[h])!==o.substr(l[h]))break;"week"!==h&&(c=h)}return this.resolveDTLFormat(n[h]).main}},tH=class extends tF{getBoundaryTicks(i,r,s,n){let a={};if(r===tD.year)return a;let o=X(s)&&X(n),l=r<tD.hour,h=r<tD.day,c=r<tD.month,d=r>=tD.hour?9e5:r>=tD.minute?6e4:r>=tD.second&&1e3;if(i.length<1e4){let u=!0;for(let p=0;p<i.length;p++){let m=i[p];if(o){if(m<s)continue;if(m>n)break}if(u){if(r===tD.month){a[m]="year",u=!1;continue}if(r===tD.hour){a[m]="day",u=!1;continue}}if(d&&m%d!=0){u=!1;continue}let[,g,f,A,b,y,x]=this.toParts(m),E=!A&&!b&&!y&&!x;l&&0===b&&(a[m]="hour"),h&&E&&(a[m]="day"),c&&1===f&&E&&(a[m]="month"),0===g&&1===f&&E&&(a[m]="year"),u=!1}}return a}getTimeTicks(i,r,s,n){let a=[],{count:o=1,unitRange:l}=i,h=r,[c,d,u,p,m,g]=this.toParts(r),f=(r||0)%1e3,A;if(n??(n=1),X(r)){if(f=l>=tD.second?0:o*Math.floor(f/o),l>=tD.second&&(g=l>=tD.minute?0:o*Math.floor(g/o)),l>=tD.minute&&(m=l>=tD.hour?0:o*Math.floor(m/o)),l>=tD.hour&&(p=l>=tD.day?0:o*Math.floor(p/o)),l>=tD.day&&(u=l>=tD.month?1:Math.max(1,o*Math.floor(u/o))),l>=tD.month&&(d=l>=tD.year?0:o*Math.floor(d/o)),l>=tD.year&&(c-=c%o),l===tD.week){o&&(r=this.makeTime(c,d,u,p,m,g,f));let i=this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},r,"es"),s="DLMXJVS".indexOf(i);u+=-s+n+(s<n?-7:0)}r=this.makeTime(c,d,u,p,m,g,f),this.variableTimezone&&X(s)&&(A=s-r>4*tD.month||this.getTimezoneOffset(r)!==this.getTimezoneOffset(s));let i=r,h=1;for(;i<s;)a.push(i),l===tD.year?i=this.makeTime(c+h*o,0):l===tD.month?i=this.makeTime(c,d+h*o):A&&(l===tD.day||l===tD.week)?i=this.makeTime(c,d,u+h*o*(l===tD.day?1:7)):A&&l===tD.hour&&o>1?i=this.makeTime(c,d,u,p+h*o):i+=l*o,h++;a.push(i)}return a.info=Z(i,{boundaryTicks:this.getBoundaryTicks(a,l,h,s),totalRange:l*o}),a}},{isTouchDevice:tG}=D,tU={palette:O,colors:Array(10).fill(1).map((i,r)=>`var(--highcharts-color-${r})`),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{weekFrom:"week from",chartTitle:"Chart title",locale:void 0,loading:"Loading...",months:void 0,seriesName:"Series {add index 1}",shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],pieSliceName:"Slice",resetZoom:"Reset zoom",yAxisTitle:"Values",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"var(--highcharts-neutral-color-3)",padding:8,r:2,stroke:"var(--highcharts-neutral-color-20)","stroke-width":1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"var(--highcharts-neutral-color-10)"},select:{fill:"var(--highcharts-highlight-color-10)",style:{color:"var(--highcharts-neutral-color-100)",fontWeight:"bold"}},disabled:{style:{color:"var(--highcharts-neutral-color-20)"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,selectionMarkerFill:"color-mix(var(--highcharts-highlight-color-80) 25%, transparent)",type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"var(--highcharts-highlight-color-80)",backgroundColor:"var(--highcharts-background-color)",plotBorderColor:"var(--highcharts-neutral-color-20)"},title:{style:{color:"var(--highcharts-neutral-color-80)",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"var(--highcharts-neutral-color-40)",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"var(--highcharts-highlight-color-100)",inactiveColor:"var(--highcharts-neutral-color-20)"},itemStyle:{color:"var(--highcharts-neutral-color-80)",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"var(--highcharts-neutral-color-100)"},itemHiddenStyle:{color:"var(--highcharts-neutral-color-60)",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{color:"var(--highcharts-neutral-color-80)",fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"var(--highcharts-background-color)",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:i=>Math.sqrt(1-Math.pow(i-1,2))},borderColor:"light-dark(var(--highcharts-neutral-color-5), var(--highcharts-neutral-color-20))",borderRadius:5,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"%v %[AebY]",month:"%[BY]",year:"%[Y]"},footerFormat:"",header:{distance:5,shape:"callout",style:{fontSize:"1em"}},hideDelay:500,showDelay:0,padding:8,position:{x:0,y:3},shared:!1,snap:tG?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"var(--highcharts-background-color)",borderWidth:void 0,stickOnContact:!1,style:{color:"var(--highcharts-neutral-color-80)",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",verticalAlign:"bottom",x:-10,y:-5},style:{cursor:"pointer",color:"var(--highcharts-neutral-color-40)",fontSize:"0.6em"},text:"Highcharts.com"}},tY=new tH(tU.time,tU.lang),tW={defaultOptions:tU,defaultTime:tY,getOptions:function(){return tU},setOptions:function(i){return $(D,"setOptions",{options:i}),tm(!0,tU,i),i.time&&tY.update(tU.time),i.lang&&"locale"in i.lang&&tY.update({locale:i.lang.locale}),i.lang?.chartTitle&&(tU.title={...tU.title,text:i.lang.chartTitle}),tU}},{win:tj}=D,tz=(i,r,s)=>0===s?i:1===s?r:`color-mix(in srgb,${i},${r} ${100*s}%)`,tX=i=>tc(i)&&!!i&&"none"!==i;class tQ{static parse(i){return i?new tQ(i):tQ.None}constructor(i){let r,s,n,a;this.rgba=[NaN,NaN,NaN,NaN],this.input=i;let o=D.Color;if(o&&o!==tQ)return new o(i);if("object"==typeof i&&void 0!==i.stops)this.stops=i.stops.map(i=>new tQ(i[1]));else if("string"==typeof i)for(this.input=i=tQ.names[i.toLowerCase()]||i,n=tQ.parsers.length;n--&&!s;)(r=(a=tQ.parsers[n]).regex.exec(i))&&(s=a.parse(r));s&&(this.rgba=s)}get(i){let r=this.input,s=this.rgba;if(this.output)return this.output;if("object"==typeof r&&void 0!==this.stops){let s=tm(r);return s.stops=[].slice.call(s.stops),this.stops.forEach((r,n)=>{s.stops[n]=[s.stops[n][0],r.get(i)]}),s}return s&&th(s[0])?"rgb"!==i&&(i||1!==s[3])?"a"===i?`${s[3]}`:"rgba("+s.join(",")+")":"rgb("+s[0]+","+s[1]+","+s[2]+")":r}brighten(i){let r=this.rgba;if(this.stops)this.stops.forEach(function(r){r.brighten(i)});else if(th(i)&&0!==i)if(th(r[0]))for(let s=0;s<3;s++)r[s]+=tx(255*i),r[s]<0&&(r[s]=0),r[s]>255&&(r[s]=255);else tQ.useColorMix&&tX(this.input)&&(this.output=tz(this.input,i>0?"white":"black",Math.abs(i)));return this}setOpacity(i){return th(this.rgba[0])?this.rgba[3]=i:tQ.useColorMix&&tX(this.input)&&(this.output=tz(this.input,"#0000",1-i)),this}tweenTo(i,r){let s=this.rgba,n=i.rgba;if(!th(s[0])||!th(n[0]))return tQ.useColorMix&&tX(this.input)&&tX(i.input)&&r<.99?tz(this.input,i.input,r):i.input||"none";let a=1!==n[3]||1!==s[3],o=(i,n)=>i+(s[n]-i)*(1-r),l=n.slice(0,3).map(o).map(Math.round);return a&&l.push(o(n[3],3)),(a?"rgba(":"rgb(")+l.join(",")+")"}}tQ.names={white:"#ffffff",black:"#000000"},tQ.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(i){return[tx(i[1]),tx(i[2]),tx(i[3]),parseFloat(i[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(i){return[tx(i[1]),tx(i[2]),tx(i[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(i){return[tx(i[1]+i[1],16),tx(i[2]+i[2],16),tx(i[3]+i[3],16),X(i[4])?tx(i[4]+i[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(i){return[tx(i[1],16),tx(i[2],16),tx(i[3],16),X(i[4])?tx(i[4],16)/255:1]}}],tQ.useColorMix=tj.CSS?.supports("color","color-mix(in srgb,red,blue 9%)"),tQ.None=new tQ("");let{parse:tK}=tQ,{win:tV}=D;class tq{constructor(i,r,s){this.pos=NaN,this.options=r,this.elem=i,this.prop=s}dSetter(){let i=this.paths,r=i?.[0],s=i?.[1],n=this.now||0,a=[];if(1!==n&&r&&s)if(r.length===s.length&&n<1)for(let i=0;i<s.length;i++){let o=r[i],l=s[i],h=[];for(let i=0;i<l.length;i++){let r=o[i],s=l[i];th(r)&&th(s)&&("A"!==l[0]||4!==i&&5!==i)?h[i]=r+n*(s-r):h[i]=s}a.push(h)}else a=s;else a=this.toD||[];this.elem.attr("d",a,void 0,!0)}update(){let i=this.elem,r=this.prop,s=this.now,n=this.options.step;this[r+"Setter"]?this[r+"Setter"]():i.attr?i.element&&i.attr(r,s,null,!0):i.style[r]=s+this.unit,n&&n.call(i,s,this)}run(i,r,s){let n=this,a=n.options,o=function(i){return!o.stopped&&n.step(i)},l=tV.requestAnimationFrame||function(i){setTimeout(i,13)},h=function(){for(let i=0;i<tq.timers.length;i++)tq.timers[i]()||tq.timers.splice(i--,1);tq.timers.length&&l(h)};i!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=i,this.end=r,this.unit=s,this.now=this.start,this.pos=0,o.elem=this.elem,o.prop=this.prop,o()&&1===tq.timers.push(o)&&l(h)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))}step(i){let r,s,n=+new Date,a=this.options,o=this.elem,l=a.complete,h=a.duration,c=a.curAnim;return o.attr&&!o.element?r=!1:i||n>=h+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,s=!0,tf(c,function(i){!0!==i&&(s=!1)}),s&&l&&l.call(o),r=!1):(this.pos=a.easing((n-this.startTime)/h),this.now=this.start+(this.end-this.start)*this.pos,this.update(),r=!0),r}initPath(i,r,s){let n=i.startX,a=i.endX,o=s.slice(),l=i.isArea,h=l?2:1,c=r&&s.length>r.length&&s.hasStackedCliffs,d,u,p,m,g=r?.slice();if(!g||c)return[o,o];function f(i,r){for(;i.length<u;){let s=i[0],n=r[u-i.length];if(n&&"M"===s[0]&&("C"===n[0]?i[0]=["C",s[1],s[2],s[1],s[2],s[1],s[2]]:i[0]=["L",s[1],s[2]]),i.unshift(s),l){let r=i.pop();i.push(i[i.length-1],r)}}}function A(i){for(;i.length<u;){let r=i[Math.floor(i.length/h)-1].slice();if("C"===r[0]&&(r[1]=r[5],r[2]=r[6]),l){let s=i[Math.floor(i.length/h)].slice();i.splice(i.length/2,0,r,s)}else i.push(r)}}if(n&&a&&a.length){for(p=0;p<n.length;p++)if(n[p]===a[0]){d=p;break}else if(n[0]===a[a.length-n.length+p]){d=p,m=!0;break}else if(n[n.length-1]===a[a.length-n.length+p]){d=n.length-p;break}void 0===d&&(g=[])}return g.length&&th(d)&&(u=o.length+d*h,m?(f(g,o),A(o)):(f(o,g),A(g))),[g,o]}fillSetter(){tq.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,tK(this.start).tweenTo(tK(this.end),this.pos),void 0,!0)}}function tZ(i){return tp(i)?tm({duration:500,defer:0},i):{duration:500*!!i,defer:0}}function tJ(i,r){let s=tq.timers.length;for(;s--;)tq.timers[s].elem!==i||r&&r!==tq.timers[s].prop||(tq.timers[s].stopped=!0)}tq.timers=[];let t$={animate:function(i,r,s){let n,a="",o,l,h;tp(s)||(h=arguments,s={duration:h[2],easing:h[3],complete:h[4]}),th(s.duration)||(s.duration=400),s.easing="function"==typeof s.easing?s.easing:Math[s.easing]||Math.easeInOutSine,s.curAnim=tm(r),tf(r,function(h,c){tJ(i,c),l=new tq(i,s,c),o=void 0,"d"===c&&td(r.d)?(l.paths=l.initPath(i,i.pathArray,r.d),l.toD=r.d,n=0,o=1):i.attr?n=i.attr(c):(n=parseFloat(ts(i,c))||0,"opacity"!==c&&(a="px")),o||(o=h),"string"==typeof o&&o.match("px")&&(o=o.replace(/px/g,"")),l.run(n,o,a)})},animObject:tZ,getDeferredAnimation:function(i,r,s){let n=tZ(r),a=s?[s]:i.series,o=0,l=0;return a.forEach(i=>
vendor: 4,669 bytes, line 2
2{let s=tZ(i.options.animation);o=tp(r)&&X(r.defer)?n.defer:Math.max(o,s.duration+s.defer),l=Math.min(n.duration,s.duration)}),i.renderer.forExport&&(o=0),{defer:Math.max(0,o-l),duration:Math.min(o,l)}},setAnimation:function(i,r){r.renderer.globalAnimation=ty(i,r.options.chart.animation,!0)},stop:tJ},{SVG_NS:t0,win:t1}=D,{trustedTypes:t2}=t1,t3=t2&&tu(t2.createPolicy)&&t2.createPolicy("highcharts",{createHTML:i=>i}),t5=t3?t3.createHTML(""):"";class t4{static filterUserAttributes(i){return tf(i,(r,s)=>{let n=!0;-1===t4.allowedAttributes.indexOf(s)&&(n=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(s)&&(n=tc(r)&&t4.allowedReferences.some(i=>0===r.indexOf(i))),n||(tM(33,!1,void 0,{"Invalid attribute in config":`${s}`}),delete i[s]),tc(r)&&i[s]&&(i[s]=r.replace(/</g,"<"))}),i}static parseStyle(i){return i.split(";").reduce((i,r)=>{let s=r.split(":").map(i=>i.trim()),n=s.shift();return n&&s.length&&(i[n.replace(/-([a-z])/g,i=>i[1].toUpperCase())]=s.join(":")),i},{})}static setElementHTML(i,r){i.innerHTML=t4.emptyHTML,r&&new t4(r).addToDOM(i)}constructor(i){this.nodes="string"==typeof i?this.parseMarkup(i):i}addToDOM(i){return function i(r,s){let n;return tS(r).forEach(function(r){let a,o=r.tagName,l=r.textContent?D.doc.createTextNode(r.textContent):void 0,h=t4.bypassHTMLFiltering;if(o)if("#text"===o)a=l;else if(-1!==t4.allowedTags.indexOf(o)||h){let n="svg"===o?t0:s.namespaceURI||t0,c=D.doc.createElementNS(n,o),d=r.attributes||{};tf(r,function(i,r){"tagName"!==r&&"attributes"!==r&&"children"!==r&&"style"!==r&&"textContent"!==r&&(d[r]=i)}),G(c,h?d:t4.filterUserAttributes(d)),r.style&&z(c,r.style),l&&c.appendChild(l),i(r.children||[],c),a=c}else tM(33,!1,void 0,{"Invalid tagName in config":o});a&&s.appendChild(a),n=a}),n}(this.nodes,i)}parseMarkup(i){let r,s=[];i=i.trim().replace(/ style=(["'])/g," data-style=$1");try{r=new DOMParser().parseFromString(t3?t3.createHTML(i):i,"text/html")}catch{}if(!r){let s=W("div");s.innerHTML=i,r={body:s}}let n=(i,r)=>{let s=i.nodeName.toLowerCase(),a={tagName:s};"#text"===s&&(a.textContent=i.textContent||"");let o=i.attributes;if(o){let i={};[].forEach.call(o,r=>{"data-style"===r.name?a.style=t4.parseStyle(r.value):i[r.name]=r.value}),a.attributes=i}if(i.childNodes.length){let r=[];[].forEach.call(i.childNodes,i=>{n(i,r)}),r.length&&(a.children=r)}r.push(a)};return[].forEach.call(r.body.childNodes,i=>n(i,s)),s}}t4.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","aria-sort","class","clip-path","color","colspan","cx","cy","d","disabled","dx","dy","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","result","role","rowspan","scope","slope","src","startOffset","stdDeviation","stroke-linecap","stroke-width","stroke","style","summary","tabindex","tableValues","target","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],t4.allowedReferences=["https://","http://","mailto:","/","../","./","#"],t4.allowedTags=["#text","a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","tbody","td","text","textPath","th","thead","title","tr","tspan","u","ul"],t4.emptyHTML=t5,t4.bypassHTMLFiltering=!1;let{defaultOptions:t8,defaultTime:t6}=tW,{pageLang:t9}=D,t7={add:(i,r)=>i+r,divide:(i,r)=>0!==r?Y(i/r):"",eq:(i,r)=>i==r,each:function(i){let r=arguments[arguments.length-1];return!!td(i)&&i.map((s,n)=>ee(r.body,Z(tp(s)?s:{"@this":s},{"@index":n,"@first":0===n,"@last":n===i.length-1}))).join("")},ge:(i,r)=>i>=r,gt:(i,r)=>i>r,if:i=>!!i,le:(i,r)=>i<=r,lt:(i,r)=>i<r,multiply:(i,r)=>Y(i*r,15),ne:(i,r)=>i!=r,subtract:(i,r)=>i-r,ucfirst:t_,unless:i=>!i},et={};function ee(i="",r,s){let n=/\{([^{}]+)\}/g,a=/\(([^()]+)\)/g,o=[],l=/f$/,h=/\.(\d)/,c=s?.options?.lang||t8.lang,d=s?.time||t6,u=s?.numberFormatter||ei.bind(s),p=(i="")=>{let s;return"true"===i||"false"!==i&&((s=Number(i)).toString()===i?s:/^["'].+["']$/.test(i)?i.slice(1,-1):tr(i,r))},m,g,f=0,A;
vendor: 41,473 bytes, lines 2-20
2for(;null!==(m=n.exec(i));){let s=m,n=a.exec(m[1]);n&&(m=n,A=!0),g?.isBlock||(g={ctx:r,expression:m[1],find:m[0],isBlock:"#"===m[1].charAt(0),start:m.index,startInner:m.index+m[0].length,length:m[0].length});let l=(g.isBlock?s:m)[1].split(" ")[0].replace("#","");t7[l]&&(g.isBlock&&l===g.fn&&f++,g.fn||(g.fn=l));let h="else"===m[1];if(g.isBlock&&g.fn&&(m[1]===`/${g.fn}`||h))if(f)!h&&f--;else{let r=g.startInner,s=i.substr(r,m.index-r);void 0===g.body?(g.body=s,g.startInner=m.index+m[0].length):g.elseBody=s,g.find+=s+m[0],h||(o.push(g),g=void 0)}else g.isBlock||o.push(g);if(n&&!g?.isBlock)break}return o.forEach(n=>{let o,m,{body:g,elseBody:f,expression:A,fn:b}=n;if(b){let i=[n],a=[],l=A.length,h=0,c;for(m=0;m<=l;m++){let i=A.charAt(m);c||'"'!==i&&"'"!==i?c===i&&(c=""):c=i,c||" "!==i&&m!==l||(a.push(A.substr(h,m-h)),h=m+1)}for(m=t7[b].length;m--;)i.unshift(p(a[m+1]));o=t7[b].apply(r,i),n.isBlock&&"boolean"==typeof o&&(o=ee(o?g:f,r,s))}else{let i=/^["'].+["']$/.test(A)?[A]:A.split(":");if(o=p(i.shift()||""),i.length&&"number"==typeof o){let r=i.join(":");if(l.test(r)){let i=parseInt((r.match(h)||["","-1"])[1],10);null!==o&&(o=u(o,i,c.decimalPoint,r.indexOf(",")>-1?c.thousandsSep:""))}else o=d.dateFormat(r,o)}a.lastIndex=0,a.test(n.find)&&tc(o)&&(o=`"${o}"`)}i=i.replace(n.find,ty(o,""))}),A?ee(i,r,s):i}function ei(i,r,s,n){r*=1;let a,o,[l,h]=(i=+i||0).toString().split("e").map(Number),c=this?.options?.lang||t8.lang,d=(i.toString().split(".")[1]||"").split("e")[0].length,u=r,p={};s??(s=c.decimalPoint),n??(n=c.thousandsSep),-1===r?r=Math.min(d,20):th(r)?r&&h<0&&((o=r+h)>=0?(l=+l.toExponential(o).split("e")[0],r=o):(l=Math.floor(l),i=r<20?+(l*Math.pow(10,h)).toFixed(r):0,h=0)):r=2,h&&(r??(r=2),i=l),th(r)&&r>=0&&(p.minimumFractionDigits=r,p.maximumFractionDigits=r),""===n&&(p.useGrouping=!1);let m=n||s,g=m?"en":this?.locale||c.locale||t9,f=JSON.stringify(p)+g;return a=(et[f]??(et[f]=new Intl.NumberFormat(g,p))).format(i),m&&(a=a.replace(/([,\.])/g,"_$1").replace(/_\,/g,n??",").replace("_.",s??".")),(r||0!=+a)&&(!(h<0)||u)||(a="0"),h&&0!=+a&&(a+="e"+(h<0?"":"+")+h),a}let er={dateFormat:function(i,r,s){return t6.dateFormat(i,r,s)},format:ee,helpers:t7,numberFormat:ei};(A||(A={})).distribute=function i(r,s,n){let a=r,o=a.reducedLen||s,l=(i,r)=>i.target-r.target,h=[],c=r.length,d=[],u=h.push,p,m=!0,g,f,A=0;for(p=c;p--;)A+=r[p].size;if(A>o){if(tI(r,(i,r)=>(r.rank||0)-(i.rank||0)),r[0].rank===r[r.length-1].rank){let i=[[0,c-1]];for(;i.length&&A>o;){let s=i.shift();if(!s)break;g=r[p=Math.floor((s[0]+s[1])/2)],tE(d,p)&&(A-=g.size),s[0]<p&&i.push([s[0],p-1]),p<s[1]&&i.push([p+1,s[1]])}}else for(p=c-1;A>o&&p>=0;)g=r[p],tE(d,p)&&(A-=g.size),p--;d.sort((i,r)=>r-i).forEach(i=>u.apply(h,r.splice(i,1)))}for(tI(r,l),r=r.map(i=>({size:i.size,targets:[i.target],align:ty(i.align,.5)}));m;){for(p=r.length;p--;)g=r[p],f=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=U(f-g.size*g.align,0,s-g.size);for(p=r.length,m=!1;p--;)p>0&&r[p-1].pos+r[p-1].size>r[p].pos&&(r[p-1].size+=r[p].size,r[p-1].targets=r[p-1].targets.concat(r[p].targets),r[p-1].align=.5,r[p-1].pos+r[p-1].size>s&&(r[p-1].pos=s-r[p-1].size),r.splice(p,1),m=!0)}return u.apply(a,h),p=0,r.some(r=>{let o=0;return(r.targets||[]).some(()=>(a[p].pos=r.pos+o,void 0!==n&&Math.abs(a[p].pos-a[p].target)>n)?(a.slice(0,p+1).forEach(i=>delete i.pos),a.reducedLen=(a.reducedLen||s)-.1*s,a.reducedLen>.1*s&&i(a,s,n),!0):(o+=a[p].size,p++,!1))}),tI(a,l),a};let es=A,{animate:en,animObject:ea,stop:eo}=t$,{deg2rad:el,doc:eh,svg:ec,SVG_NS:ed,win:eu,isFirefox:ep}=D;class em{_defaultGetter(i){let r=ty(this[i+"Value"],this[i],this.element?this.element.getAttribute(i):null,0);return/^-?[\d\.]+$/.test(r)&&(r=parseFloat(r)),r}_defaultSetter(i,r,s){s.setAttribute(r,i)}add(i){let r,s=this.renderer,n=this.element;return i&&(this.parentGroup=i),void 0!==this.textStr&&"text"===this.element.nodeName&&s.buildText(this),this.added=!0,(!i||i.handleZ||this.zIndex)&&(r=this.zIndexSetter()),r||(i?i.element:s.box).appendChild(n),this.onAdd&&this.onAdd(),this}addClass(i,r){let s=r?"":this.attr("class")||"";return(i=(i||"").split(/ /g).reduce(function(i,r){return -1===s.indexOf(r)&&i.push(r),i},s?[s]:[]).join(" "))!==s&&this.attr("class",i),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(i,r,s,n=!0){let a=this.renderer,o=a.alignedObjects,l=!!i;i?(this.alignOptions=i,this.alignByTranslate=r,this.alignTo=s):(i=this.alignOptions||{},r=this.alignByTranslate,s=this.alignTo);let h=!s||tc(s)?s||"renderer":void 0;h&&(l&&tE(o,this),s=void 0);let c=ty(s,a[h],a),d=(c.x||0)+(i.x||0)+((c.width||0)-(i.width||0))*tt(i.align),u=(c.y||0)+(i.y||0)+((c.height||0)-(i.height||0))*tt(i.verticalAlign),p={};return i.align&&(p["text-align"]=i.align),p[r?"translateX":"x"]=Math.round(d),p[r?"translateY":"y"]=Math.round(u),n&&(this[this.placed?"animate":"attr"](p),this.placed=!0),this.alignAttr=p,this}alignSetter(i){let r={left:"start",center:"middle",right:"end"};r[i]&&(this.alignValue=i,this.element.setAttribute("text-anchor",r[i]))}animate(i,r,s){let n=ea(ty(r,this.renderer.globalAnimation,!0)),a=n.defer;return eh.hidden&&(n.duration=0),0!==n.duration?(s&&(n.complete=s),tw(()=>{this.element&&en(this,i,n)},a)):(this.attr(i,void 0,s||n.complete),tf(i,function(i,r){n.step&&n.step.call(this,i,{prop:r,pos:1,elem:this})},this)),this}applyTextOutline(i){let r=this.element;-1!==i.indexOf("contrast")&&(i=i.replace(/contrast/g,this.renderer.getContrast(r.style.fill)));let s=i.indexOf(" "),n=i.substring(s+1),a=i.substring(0,s);if(a&&"none"!==a&&D.svg){this.fakeTS=!0,a=a.replace(/(^[\d\.]+)(.*?)$/g,function(i,r,s){return 2*Number(r)+s}),this.removeTextOutline();let i=eh.createElementNS(ed,"tspan");G(i,{class:"highcharts-text-outline",fill:n,stroke:n,"stroke-width":a,"stroke-linejoin":"round"});let s=r.querySelector("textPath")||r;[].forEach.call(s.childNodes,r=>{let s=r.cloneNode(!0);s.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(i=>s.removeAttribute(i)),i.appendChild(s)});let o=0;[].forEach.call(s.querySelectorAll("text tspan"),i=>{o+=Number(i.getAttribute("dy"))});let l=eh.createElementNS(ed,"tspan");l.textContent="â",G(l,{x:Number(r.getAttribute("x")),dy:-o}),i.appendChild(l),s.insertBefore(i,s.firstChild)}}attr(i,r,s,n){let{element:a}=this,o=em.symbolCustomAttribs,l,h,c=this,d;return"string"==typeof i&&void 0!==r&&(l=i,(i={})[l]=r),"string"==typeof i?c=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(tf(i,function(r,s){d=!1,n||eo(this,s),this.symbolName&&-1!==o.indexOf(s)&&(h||(this.symbolAttr(i),h=!0),d=!0),this.rotation&&("x"===s||"y"===s)&&(this.doTransform=!0),d||(this[s+"Setter"]||this._defaultSetter).call(this,r,s,a)},this),this.afterSetters()),s&&s.call(this),c}clip(i){if(i&&!i.clipPath){let r=tO()+"-",s=this.renderer.createElement("clipPath").attr({id:r}).add(this.renderer.defs);Z(i,{clipPath:s,id:r,count:0}),i.add(s)}return this.attr("clip-path",i?`url(${this.renderer.url}#${i.id})`:"none")}crisp(i,r){r=Math.round(r||i.strokeWidth||0);let s=i.x||this.x||0,n=i.y||this.y||0,a=(i.width||this.width||0)+s,o=(i.height||this.height||0)+n,l=j(s,r),h=j(n,r);return Z(i,{x:l,y:h,width:j(a,r)-l,height:j(o,r)-h}),X(i.strokeWidth)&&(i.strokeWidth=r),i}complexColor(i,r,s){let n=this.renderer,a,o,l,h,c,d,u,p,m,g=[],f;$(this.renderer,"complexColor",{args:arguments},()=>{if(i.radialGradient?o="radialGradient":i.linearGradient&&(o="linearGradient"),o){if(l=i[o],c=n.gradients,d=i.stops,p=s.radialReference,td(l)&&(i[o]=l={x1:l[0],y1:l[1],x2:l[2],y2:l[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&p&&!X(l.gradientUnits)&&(h=l,l=tm(l,n.getRadialAttr(p,h),{gradientUnits:"userSpaceOnUse"})),tf(l,function(i,r){"id"!==r&&g.push(r,i)}),tf(d,function(i){g.push(i)}),c[g=g.join(",")])m=c[g].attr("id");else{l.id=m=tO();let i=c[g]=n.createElement(o).attr(l).add(n.defs);i.radAttr=h,i.stops=[],d.forEach(([r,s])=>{0===s.indexOf("rgba")?(s=(a=tQ.parse(s)).get("rgb"),u=a.get("a")):u=1;let o=n.createElement("stop").attr({offset:r,"stop-color":s,"stop-opacity":u}).add(i);i.stops.push(o)})}f="url("+n.url+"#"+m+")",s.setAttribute(r,f),s.gradient=g,i.toString=function(){return f}}})}css(i){let r=this.styles,s={},n=this.element,a=this.renderer,o,l=!r;if(r&&tf(i,function(i,n){r&&r[n]!==i&&(s[n]=i,l=!0)}),l){r&&(i=Z(r,s)),null===i.width||"auto"===i.width?delete this.textWidth:"text"===n.nodeName.toLowerCase()&&i.width&&(o=this.textWidth=tx(i.width)),Z(this.styles,i),o&&!ec&&a.forExport&&delete i.width;let l=ep&&i.fontSize||null;l&&(th(l)||/^\d+$/.test(l))&&(i.fontSize+="px");let h=tm(i);n.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(i=>h&&delete h[i]),h.color&&(h.fill=h.color,delete h.color)),z(n,h)}return this.added&&("text"===this.element.nodeName&&a.buildText(this),i.textOutline&&this.applyTextOutline(i.textOutline)),this}dashstyleSetter(i){let r,s=this["stroke-width"];if("inherit"===s&&(s=1),i){let n=(i=i.toLowerCase()).replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(r=n.length;r--;)n[r]=""+tx(n[r])*ty(s,NaN);i=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",i)}}destroy(){let i=this,{element:r={},renderer:s,stops:n}=i,a=r.ownerSVGElement;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,eo(i),i.clipPath&&a){let r=i.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),function(i){i.getAttribute("clip-path").indexOf(r.element.id)>-1&&i.removeAttribute("clip-path")}),i.clipPath=r.destroy()}if(n){for(let i of n)i.destroy();n.length=0}i.safeRemoveChild(r),i.alignOptions&&q(s.alignedObjects,i),tf(i,(r,s)=>{(i[s]?.parentGroup===i||-1!==["connector","foreignObject"].indexOf(s))&&i[s]?.destroy?.(),delete i[s]})}dSetter(i,r,s){td(i)&&("string"==typeof i[0]&&(i=this.renderer.pathToSegments(i)),this.pathArray=i,i=i.reduce((i,r,s)=>r?.join?(s?i+" ":"")+r.join(" "):(r||"").toString(),"")),/(NaN| {2}|^$)/.test(i)&&(i="M 0 0"),this[r]!==i&&(s.setAttribute(r,i),this[r]=i)}fillSetter(i,r,s){"string"==typeof i?s.setAttribute(r,i):i&&this.complexColor(i,r,s)}hrefSetter(i,r,s){s.setAttributeNS("http://www.w3.org/1999/xlink",r,i)}getBBox(i,r){let s,n,a,{element:o,renderer:l,styles:h,textStr:c}=this,{cache:d,cacheKeys:u}=l,p=o.namespaceURI===this.SVG_NS,m=ty(r,this.rotation,0),g=l.styledMode?o&&em.prototype.getStyle.call(o,"font-size"):h.fontSize,f=this.getBBoxCacheKey([l.rootFontSize,this.textWidth,this.alignValue,h.fontWeight,h.lineClamp,h.textOverflow,g,m]);if(f&&!i&&(s=d[f]),!s||s.polygon){if(p||l.forExport){try{a=this.fakeTS&&function(i){let r=o.querySelector(".highcharts-text-outline");r&&z(r,{display:i})},tu(a)&&a("none"),s=o.getBBox?Z({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight,x:0,y:0},tu(a)&&a("")}catch{}(!s||s.width<0)&&(s={x:0,y:0,width:0,height:0})}else s=this.htmlGetBBox();n=s.height,p&&(s.height=n=({"11px,17":14,"13px,20":16})[`${g||""},${Math.round(n)}`]||n),m&&(s=this.getRotatedBox(s,m));let i={bBox:s};$(this,"afterGetBBox",i),s=i.bBox}if(f&&(""===c||s.height>0)){for(;u.length>250;)delete d[u.shift()];d[f]||u.push(f),d[f]=s}return s}getBBoxCacheKey(i){if(X(this.textStr)){let r=""+this.textStr;return -1===r.indexOf("<")&&(r=r.replace(/\d/g,"0")),[r,...i].join(",")}}getRotatedBox(i,r){let{x:s,y:n,width:a,height:o}=i,{alignValue:l,translateY:h,rotationOriginX:c=0,rotationOriginY:d=0}=this,u=tt(l),p=Number(this.element.getAttribute("y")||0)-(h?0:n),m=r*el,g=(r-90)*el,f=Math.cos(m),A=Math.sin(m),b=a*f,y=a*A,x=Math.cos(g),E=Math.sin(g),[[T,C],[v,S]]=[c,d].map(i=>[i-i*f,i*A]),I=s+u*(a-b)+T+S+p*x,w=I+b,_=w-o*x,k=_-b,N=n+p-u*y-C+v+p*E,M=N+y,L=M-o*E,D=L-y,O=Math.min(I,w,_,k),P=Math.min(N,M,L,D),R=Math.max(I,w,_,k)-O,B=Math.max(N,M,L,D)-P;return{x:O,y:P,width:R,height:B,polygon:[[I,N],[w,M],[_,L],[k,D]]}}getStyle(i){return eu.getComputedStyle(this.element||this,"").getPropertyValue(i)}hasClass(i){return -1!==(""+this.attr("class")).split(" ").indexOf(i)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(i,r){this.onEvents={},this.opacity=1,this.SVG_NS=ed,this.element="div"===r||"body"===r?W(r):eh.createElementNS(this.SVG_NS,r),this.renderer=i,this.styles={},$(this,"afterInit")}on(i,r){let{onEvents:s}=this;return s[i]&&s[i](),s[i]=B(this.element,i,r),this}opacitySetter(i,r,s){let n=Number(Number(i).toFixed(3));this.opacity=n,s.setAttribute(r,n)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(i){return this.attr("class",(""+this.attr("class")).replace(tc(i)?RegExp(`(^| )${i}( |$)`):i," ").replace(/ +/g," ").trim())}removeTextOutline(){let i=this.element.querySelector("tspan.highcharts-text-outline");i&&this.safeRemoveChild(i)}safeRemoveChild(i){let r=i.parentNode;r&&r.removeChild(i)}setRadialReference(i){let r=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=i,r?.radAttr&&r.animate(this.renderer.getRadialAttr(i,r.radAttr)),this}shadow(i){let{renderer:r}=this,s=tm(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},tp(i)?i:{}),n=r.shadowDefinition(s);return this.attr({filter:i?`url(${r.url}#${n})`:"none"})}show(i=!0){return this.attr({visibility:i?"inherit":"visible"})}"stroke-widthSetter"(i,r,s){this[r]=i,s.setAttribute(r,i)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let i=this.getStyle("stroke-width"),r=0,s;return/px$/.test(i)?r=tx(i):""!==i&&(G(s=eh.createElementNS(ed,"rect"),{width:i,"stroke-width":0}),this.element.parentNode.appendChild(s),r=s.getBBox().width,s.parentNode.removeChild(s)),r}symbolAttr(i){let r=this;em.symbolCustomAttribs.forEach(function(s){r[s]=ty(i[s],r[s])}),r.attr({d:r.renderer.symbols[r.symbolName](r.x,r.y,r.width,r.height,r)})}textSetter(i){i!==this.textStr&&(delete this.textPxLength,this.textStr=i,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(i){let r=this.element,s=r.getElementsByTagName("title")[0]||eh.createElementNS(this.SVG_NS,"title");r.insertBefore?r.insertBefore(s,r.firstChild):r.appendChild(s),s.textContent=tC(ty(i,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let i=this.element;return i.parentNode.appendChild(i),this}translate(i,r){return this.attr({translateX:i,translateY:r})}updateTransform(i="transform"){let{element:r,foreignObject:s,matrix:n,rotation:a=0,rotationOriginX:o,rotationOriginY:l,scaleX:h,scaleY:c,text:d,translateX:u=0,translateY:p=0}=this,m=[`translate(${u},${p})`];X(n)&&m.push("matrix("+n.join(",")+")"),a&&m.push("rotate("+a+" "+(o??r.getAttribute("x")??this.x??0)+" "+(l??r.getAttribute("y")??this.y??0)+")"),(X(h)||X(c))&&m.push(`scale(${h??1} ${c??1})`),m.length&&!(d||this).textPath&&(s?.element||r).setAttribute(i,m.join(" "))}visibilitySetter(i,r,s){"inherit"===i?s.removeAttribute(r):this[r]!==i&&s.setAttribute(r,i),this[r]=i}xGetter(i){return"circle"===this.element.nodeName&&("x"===i?i="cx":"y"===i&&(i="cy")),this._defaultGetter(i)}zIndexSetter(i,r){let{element:s,parentGroup:n,renderer:a}=this,o=n?.element||a.box,l=o===a.box,h,c,d,u=!1,p,m=this.added,g;if(X(i)?(s.setAttribute("data-z-index",i),i*=1,this[r]===i&&(m=!1)):X(this[r])&&s.removeAttribute("data-z-index"),this[r]=i,m){for((i=this.zIndex)&&n&&(n.handleZ=!0),g=(h=o.childNodes).length-1;g>=0&&!u;g--)p=!X(d=(c=h[g]).getAttribute("data-z-index")),c!==s&&(X(i)&&i<0&&p&&!l&&!g?(o.insertBefore(s,h[g]),u=!0):(X(i)&&parseFloat(d||"")<=i||p&&(!X(i)||i>=0))&&(o.insertBefore(s,h[g+1]),u=!0));u||(o.insertBefore(s,h[3*!!l]),u=!0)}return u}}em.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],em.prototype.strokeSetter=em.prototype.fillSetter,em.prototype.yGetter=em.prototype.xGetter,em.prototype.matrixSetter=em.prototype.rotationOriginXSetter=em.prototype.rotationOriginYSetter=em.prototype.rotationSetter=em.prototype.scaleXSetter=em.prototype.scaleYSetter=em.prototype.translateXSetter=em.prototype.translateYSetter=em.prototype.verticalAlignSetter=function(i,r){this[r]=i,this.doTransform=!0};let eg=em,{charts:ef}=D,eA=["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],eb=[null,"#00e272","#efdf00"];class ey{constructor(i,r){this.defaultOptions=O,this.options=tm(O),this.cssVars={light:{},dark:{}},this.renderer=i,this.update(r)}injectCSS(i){let r,s,n,{cssVars:a,renderer:o}=this,l=Object.keys(V(i,this.defaultOptions)).length>0,h=Math.max(i.colors?.length||0,eA.length),c="light",d=(i,r)=>{tc(i)&&(r=r.replace(/([0-9]+)/g,"-$1").replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`),a[c][`--highcharts-${r}`]=i)};for(let r of["light","dark"]){let s=i[r]||{},n={},o=new tQ(s?.neutralColor||""),l=new tQ(s?.backgroundColor||""),u=new tQ(s?.highlightColor||"");c=r,[3,5,10,20,40,60,80,100].forEach(i=>{n[`neutralColor${i}`]=l.tweenTo(o,i/100),n[`highlightColor${i}`]=l.tweenTo(u,i/100)});for(let n=0;n<h;n++)d(s?.colors?.[n]||i.colors?.[n]||("dark"===r?eb:[])?.[n]||eA[n]||"#888a",`color${n}`);tf(s,d),tf(n,d),"light"===r&&Z(a.dark,a.light)}let u=o.defs.element,p=l?`*[data-highcharts-chart="${o.chartIndex}"]`:"",m=u.querySelector("style.highcharts-palette")||o.box.ownerDocument.createElement("style");m.parentNode||(m.nonce="highcharts",m.className="highcharts-palette",u.appendChild(m)),s=(r=i=>{let r="";return tf(a.light,(s,n)=>{r+=i&&s!==a.dark[n]?` ${n}: light-dark(${s}, ${a.dark[n]}); 3`:` ${n}: ${s}; 4`}),r})(),n=r(!0),m.textContent=`${p||":root"} { 5${s} 6} 7@supports (color: light-dark(#fff, #000)) { 8 ${p||":root"} { 9${n} 10 } 11} 12.highcharts-container { 13 color-scheme: light dark; 14} 15.highcharts-light .highcharts-container { 16 color-scheme: light; 17} 18.highcharts-dark .highcharts-container { 19 color-scheme: dark; 20}`}update(i){let r=this.renderer.box.parentElement,s=ef?.[this.renderer.chartIndex];i=tm(!0,this.options,i),s&&(s.options.palette=i),!1!==i.injectCSS&&this.injectCSS(i),r&&(tc(i.colorScheme)&&["light","dark","inherit"].includes(i.colorScheme)?r.style.colorScheme=i.colorScheme:r.style.removeProperty("color-scheme"))}}class ex extends eg{constructor(i,r,s,n,a,o,l,h,c,d){let u;super(i,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=r,this.x=s,this.y=n,this.anchorX=o,this.anchorY=l,this.baseline=c,this.className=d,this.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&this.addClass("highcharts-"+d),this.text=i.text(void 0,0,0,h).attr({zIndex:1}),"string"==typeof a&&((u=/^url\((.*?)\)$/.test(a))||this.renderer.symbols[a])&&(this.symbolKey=a),this.bBox=ex.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=i.styledMode||u,this.deferredAttr={},this.alignFactor=0}alignSetter(i){let r=tt(i);this.textAlign=i,r!==this.alignFactor&&(this.alignFactor=r,this.bBox&&th(this.xSetting)&&this.attr({x:this.xSetting}),this.updateTextPadding())}anchorXSetter(i,r){this.anchorX=i,this.boxAttr(r,Math.round(i)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(i,r){this.anchorY=i,this.boxAttr(r,i-this.ySetting)}boxAttr(i,r){this.box?this.box.attr(i,r):this.deferredAttr[i]=r}css(i){if(i){let r={};i=tm(i),ex.textProps.forEach(s=>{void 0!==i[s]&&(r[s]=i[s],delete i[s])}),this.text.css(r),"fontSize"in r||"fontWeight"in r||"width"in r?this.updateTextPadding():"textOverflow"in r&&this.updateBoxSize(),"color"in r&&this.updateBackground()}return eg.prototype.css.call(this,i)}destroy(){tv(this.element,"mouseenter"),tv(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),eg.prototype.destroy.call(this)}fillSetter(i,r){i&&(this.needsBox=!0),this.fill=i,this.boxAttr(r,i)}getBBox(i,r){(this.textStr&&0===this.bBox.width&&0===this.bBox.height||this.rotation)&&this.updateBoxSize();let{padding:s,height:n=0,translateX:a=0,translateY:o=0,width:l=0}=this,h=ty(this.paddingLeft,s),c=r??(this.rotation||0),d={width:l,height:n,x:a+this.bBox.x-h,y:o+this.bBox.y-s+this.baselineOffset};return c&&(d=this.getRotatedBox(d,c)),d}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(i){this.heightSetting=i,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1),this.updateBackground()}onAdd(){this.text.add(this),this.attr({text:ty(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&X(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(i,r){th(i)?i!==this[r]&&(this[r]=i,this.updateTextPadding()):this[r]=void 0}rSetter(i,r){this.boxAttr(r,i)}strokeSetter(i,r){this.stroke=i,this.boxAttr(r,i)}"stroke-widthSetter"(i,r){i&&(this.needsBox=!0),this["stroke-width"]=i,this.boxAttr(r,i)}"text-alignSetter"(i){this.textAlign=this["text-align"]=i,this.updateTextPadding()}textSetter(i){void 0!==i&&this.text.attr({text:i}),this.updateTextPadding(),this.reAlign()}updateBackground(){"contrast"===this.fill&&this.box?.attr({fill:this.renderer.getContrast(this.text.styles.color||"#000"),"fill-opacity":.65})}updateBoxSize(){let i,r=this.text,s={},n=this.padding,a=this.bBox=(!th(this.widthSetting)||!th(this.heightSetting)||this.textAlign)&&X(r.textStr)?r.getBBox(void 0,0):ex.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n;let o=this.renderer.fontMetrics(r);if(this.baselineOffset=n+Math.min((this.text.firstLineMetrics||o).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-o.h)/2),this.needsBox&&!r.textPath){if(!this.box){let i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();i.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)}s.x=i=this.getCrispAdjust(),s.y=(this.baseline?-this.baselineOffset:0)+i,s.width=Math.round(this.width),s.height=Math.round(this.height),this.box.attr(Z(s,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let i=this.text,r=i.styles.textAlign||this.textAlign;if(!i.textPath){this.updateBoxSize();let s=this.baseline?0:this.baselineOffset,n=(this.paddingLeft??this.padding)+tt(r)*(this.widthSetting??this.bBox.width);(n!==i.x||s!==i.y)&&(i.attr({align:r,x:n}),void 0!==s&&i.attr("y",s)),i.x=n,i.y=s}}widthSetter(i){this.widthSetting=th(i)?i:void 0,this.doUpdate=!0}getPaddedWidth(){let i=this.padding,r=ty(this.paddingLeft,i),s=ty(this.paddingRight,i);return(this.widthSetting||this.bBox.width||0)+r+s}xSetter(i){this.x=i,this.alignFactor&&(i-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.anchorX&&(this["forceAnimate:anchorX"]=!0),this.xSetting=Math.round(i),this.attr("translateX",this.xSetting)}ySetter(i){this.anchorY&&(this["forceAnimate:anchorY"]=!0),this.ySetting=this.y=Math.round(i),this.attr("translateY",this.ySetting)}}function eE(i,r,s,n,a){let o=[];if(a){let l=a.start||0,h=a.end||0,c=ty(a.r,s),d=ty(a.r,n||s),u=1e-4>Math.abs(h-l-2*Math.PI);u&&(l=Math.PI/2,h=2.5*Math.PI-1e-4);let p=a.innerR,m=ty(a.open,u),g=u?0:Math.cos(l),f=u?1:Math.sin(l),A=u?0:Math.cos(h),b=u?1:Math.sin(h),y=ty(a.longArc,h-l-Math.PI<1e-4?0:1),x=["A",c,d,0,y,ty(a.clockwise,1),i+(u?.001:c*A),r+d*b];x.params={start:l,end:h,cx:i,cy:r},o.push(["M",i+c*g,r+d*f],x),X(p)&&((x=["A",p,p,0,y,X(a.clockwise)?1-a.clockwise:0,i+(u?-.001:p*g),r+p*f]).params={start:h,end:l,cx:i,cy:r},o.push(m?["M",i+p*A,r+p*b]:["L",i+p*A,r+p*b],x)),m||o.push(["Z"])}return o}function eT(i,r,s,n,a){return a?.r?eC(i,r,s,n,a):[["M",i,r],["L",i+s,r],["L",i+s,r+n],["L",i,r+n],["Z"]]}function eC(i,r,s,n,a){let o=a?.r||0;return[["M",i+o,r],["L",i+s-o,r],["A",o,o,0,0,1,i+s,r+o],["L",i+s,r+n-o],["A",o,o,0,0,1,i+s-o,r+n],["L",i+o,r+n],["A",o,o,0,0,1,i,r+n-o],["L",i,r+o],["A",o,o,0,0,1,i+o,r],["Z"]]}ex.emptyBBox={width:0,height:0,x:0,y:0},ex.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let ev={arc:eE,callout:function(i,r,s,n,a){let o=Math.min(a?.r||0,s,n),l=o+6,h=a?.anchorX,c=a?.anchorY||0,d=eC(i,r,s,n,{r:o});if(!th(h)||h<s&&h>0&&c<n&&c>0)return d;if(i+h>s-l)if(c>r+l&&c<r+n-l)d.splice(3,1,["L",i+s,c-6],["L",i+s+6,c],["L",i+s,c+6],["L",i+s,r+n-o]);else if(h<s){let a=c<r+l,u=a?r:r+n;d.splice(a?2:5,0,["L",h,c],["L",i+s-o,u])}else d.splice(3,1,["L",i+s,n/2],["L",h,c],["L",i+s,n/2],["L",i+s,r+n-o]);else if(i+h<l)if(c>r+l&&c<r+n-l)d.splice(7,1,["L",i,c+6],["L",i-6,c],["L",i,c-6],["L",i,r+o]);else if(h>0){let s=c<r+l,a=s?r:r+n;d.splice(s?1:6,0,["L",h,c],["L",i+o,a])}else d.splice(7,1,["L",i,n/2],["L",h,c],["L",i,n/2],["L",i,r+o]);else c>n&&h<s-l?d.splice(5,1,["L",h+6,r+n],["L",h,r+n+6],["L",h-6,r+n],["L",i+o,r+n]):c<0&&h>l&&d.splice(1,1,["L",h-6,r],["L",h,r-6],["L",h+6,r],["L",s-o,r]);return d},circle:function(i,r,s,n){return eE(i+s/2,r+n/2,s/2,n/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(i,r,s,n){return[["M",i+s/2,r],["L",i+s,r+n/2],["L",i+s/2,r+n],["L",i,r+n/2],["Z"]]},rect:eT,roundedRect:eC,square:eT,triangle:function(i,r,s,n){return[["M",i+s/2,r],["L",i+s,r+n],["L",i,r+n],["Z"]]},"triangle-down":function(i,r,s,n){return[["M",i,r],["L",i+s,r],["L",i+s/2,r+n],["Z"]]}},{doc:eS,SVG_NS:eI,win:ew}=D,e_=(i,r)=>i.substring(0,r)+"â¦",ek=class{constructor(i){let r=i.styles;this.renderer=i.renderer,this.svgElement=i,this.width=i.textWidth,this.textLineHeight=r?.lineHeight,this.textOutline=r?.textOutline,this.ellipsis=r?.textOverflow==="ellipsis",this.lineClamp=r?.lineClamp,this.noWrap=r?.whiteSpace==="nowrap"}buildSVG(){let i=this.svgElement,r=i.element,s=i.renderer,n=ty(i.textStr,"").toString(),a=-1!==n.indexOf("<"),o=r.childNodes,l=!i.added&&s.box,h=[n,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,i.getStyle("font-size"),i.styles.lineClamp,this.width].join(",");if(h!==i.textCache){i.textCache=h,delete i.actualWidth;for(let i=o.length;i--;)r.removeChild(o[i]);if(a||this.ellipsis||this.width||i.textPath||-1!==n.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(n))){if(""!==n){l&&l.appendChild(r);let s=new t4(n);this.modifyTree(s.nodes),s.addToDOM(r),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("â¦")&&i.attr("title",this.unescapeEntities(i.textStr||"",["<",">"])),l&&l.removeChild(r)}}else r.appendChild(eS.createTextNode(this.unescapeEntities(n)));tc(this.textOutline)&&i.applyTextOutline&&i.applyTextOutline(this.textOutline)}}modifyDOM(){let i,r=this.svgElement,s=G(r.element,"x");for(r.firstLineMetrics=void 0;i=r.element.firstChild;)if(/^[\s\u200B]*$/.test(i.textContent||" "))r.element.removeChild(i);else break;[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(i,n)=>{i.nextSibling&&i.previousSibling&&(0===n&&1===i.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(i.previousSibling)),G(i,{dy:this.getLineHeight(i.nextSibling),x:s}))});let n=this.width||0;if(!n)return;let a=(i,a)=>{let o=i.textContent||"",l=o.replace(/([^\^])-/g,"$1- ").split(" "),h=!this.noWrap&&(l.length>1||r.element.childNodes.length>1),c=this.getLineHeight(a),d=Math.max(0,n-.8*c),u=0,p=r.actualWidth;if(h){let o=[],h=[];for(;a.firstChild&&a.firstChild!==i;)h.push(a.firstChild),a.removeChild(a.firstChild);for(;l.length;)if(l.length&&!this.noWrap&&u>0&&(o.push(i.textContent||""),i.textContent=l.join(" ").replace(/- /g,"-")),this.truncate(i,void 0,l,0===u&&p||0,n,d,(i,r)=>l.slice(0,r).join(" ").replace(/- /g,"-")),p=r.actualWidth,u++,this.lineClamp&&u>=this.lineClamp){l.length&&(this.truncate(i,i.textContent||"",void 0,0,n,d,e_),i.textContent=i.textContent?.replace("â¦","")+"â¦");break}h.forEach(r=>{a.insertBefore(r,i)}),o.forEach(r=>{a.insertBefore(eS.createTextNode(r),i);let n=eS.createElementNS(eI,"tspan");n.textContent="â",G(n,{dy:c,x:s}),a.insertBefore(n,i)})}else this.ellipsis&&o&&this.truncate(i,o,void 0,0,n,d,e_)},o=i=>{[].slice.call(i.childNodes).forEach(s=>{s.nodeType===ew.Node.TEXT_NODE?a(s,i):(-1!==s.className.baseVal.indexOf("highcharts-br")&&(r.actualWidth=0),o(s))})};o(r.element)}getLineHeight(i){let r=i.nodeType===ew.Node.TEXT_NODE?i.parentElement:i;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(r||this.svgElement.element).h}modifyTree(i){let r=(s,n)=>{let{attributes:a={},children:o,style:l={},tagName:h}=s,c=this.renderer.styledMode;if("b"===h||"strong"===h?c?a.class="highcharts-strong":l.fontWeight="bold":("i"===h||"em"===h)&&(c?a.class="highcharts-emphasized":l.fontStyle="italic"),l?.color&&(l.fill=l.color),"br"===h){a.class="highcharts-br",s.textContent="â";let r=i[n+1];r?.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))}else"a"===h&&o&&o.some(i=>"#text"===i.tagName)&&(s.children=[{children:o,tagName:"tspan"}]);"#text"!==h&&"a"!==h&&(s.tagName="tspan"),Z(s,{attributes:a,style:l}),o&&o.filter(i=>"#text"!==i.tagName).forEach(r)};i.forEach(r),$(this.svgElement,"afterModifyTree",{nodes:i})}truncate(i,r,s,n,a,o,l){let h,c,d=this.svgElement,{rotation:u}=d,p=[],m=s&&!n?1:0,g=(r||s||"").length,f=g;s||(a=o);let A=function(r,a){let o=a||r,l=i.parentNode;if(l&&void 0===p[o]&&l.getSubStringLength)try{p[o]=n+l.getSubStringLength(0,s?o+1:o)}catch{}return p[o]};if(d.rotation=0,n+(c=A(i.textContent.length))>a){for(;m<=g;)f=Math.ceil((m+g)/2),s&&(h=l(s,f)),c=A(f,h&&h.length-1),m===g?m=g+1:c>a?g=f-1:m=f;0===g?i.textContent="":r&&g===r.length-1||(i.textContent=h||l(r||s,f)),this.ellipsis&&c>a&&this.truncate(i,i.textContent||"",void 0,0,a,o,e_)}s&&s.splice(0,f),d.actualWidth=c,d.rotation=u}unescapeEntities(i,r){return tf(this.renderer.escapes,function(s,n){r&&-1!==r.indexOf(s)||(i=i.toString().replace(RegExp(s,"g"),n))}),i}},{defaultOptions:eN}=tW,{charts:eM,deg2rad:eL,doc:eD,isFirefox:eO,isMS:eP,isWebKit:eR,noop:eB,SVG_NS:eF,symbolSizes:eH,win:eG}=D;class eU{constructor(i,r,s,n,a,o,l,h,c){let d,u;this.x=0,this.y=0;let p=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),m=p.element;i.appendChild(m),G(i,"dir","ltr"),-1===i.innerHTML.indexOf("xmlns")&&G(m,"xmlns",this.SVG_NS),this.box=m,this.boxWrapper=p,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(eD.createTextNode("Created with Highcharts 13.0.0")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=a,this.styledMode=l,this.chartIndex=c||0,this.gradients={},this.cache={},this.cacheKeys=[],this.asyncCounter=0,this.rootFontSize=p.getStyle("font-size"),this.setSize(r,s,!1),l||(p.css(this.getStyle(n||{})),this.palette=new ey(this,h||eN.palette)),eO&&i.getBoundingClientRect&&((d=function(){z(i,{left:0,top:0}),u=i.getBoundingClientRect(),z(i,{left:Math.ceil(u.left)-u.left+"px",top:Math.ceil(u.top)-u.top+"px"})})(),this.unSubPixelFix=B(eG,"resize",d))}definition(i){return new t4([i]).addToDOM(this.defs.element)}getReferenceURL(){if((eO||eR)&&eD.getElementsByTagName("base").length){if(!X(s)){let i=tO(),r=new t4([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:i},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${i})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(eD.body);z(r,{position:"fixed",top:0,left:0,zIndex:9e5});let n=eD.elementFromPoint(6,6);s=n?.id==="hitme",eD.body.removeChild(r)}if(s)return tC(eG.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(i){return this.style=Z({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},i),this.style}setStyle(i){this.boxWrapper.css(this.getStyle(i))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let i=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),Q(this.gradients||{}),this.gradients=null,this.defs=i.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects.length=0,null}createElement(i){return new this.Element(this,i)}getRadialAttr(i,r){return{cx:i[0]-i[2]/2+(r.cx||0)*i[2],cy:i[1]-i[2]/2+(r.cy||0)*i[2],r:(r.r||0)*i[2]}}shadowDefinition(i){let r=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(i).map(r=>`${r}-${i[r]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),s=tm({color:"#000000",offsetX:0,offsetY:2,opacity:.05,width:6},i);return this.defs.element.querySelector(`#${r}`)||this.definition({tagName:"filter",attributes:{id:r,filterUnits:s.filterUnits},children:this.getShadowFilterContent(s)}),r}getShadowFilterContent(i){return[{tagName:"feDropShadow",attributes:{dx:i.offsetX,dy:i.offsetY,"flood-color":i.color,"flood-opacity":Math.min(5*i.opacity,1),stdDeviation:i.width/2}}]}buildText(i){new ek(i).buildSVG()}getContrast(i){if("transparent"===i)return"#000000";let r=tQ.parse(i).rgba,s=" clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";if(th(r[0])||!tQ.useColorMix){let i=r.map(i=>{let r=i/255;return r<=.04?r/12.92:Math.pow((r+.055)/1.055,2.4)}),s=.2126*i[0]+.7152*i[1]+.0722*i[2];return 1.05/(s+.05)>(s+.05)/.05?"#FFFFFF":"#000000"}return"color(from "+i+" srgb"+s+s+s+")"}button(i,r,s,n,a={},o,l,h,c,d){let u=this.label(i,r,s,c,void 0,void 0,d,void 0,"button"),p=this.styledMode,m=arguments,g=0;a=tm(eN.global.buttonTheme,a),p&&(delete a.fill,delete a.stroke,delete a["stroke-width"]);let f=a.states||{},A=a.style||{};delete a.states,delete a.style;let b=[t4.filterUserAttributes(a)],y=[A];return p||["hover","select","disabled"].forEach((i,r)=>{b.push(tm(b[0],t4.filterUserAttributes(m[r+5]||f[i]||{}))),y.push(b[r+1].style),delete b[r+1].style}),B(u.element,eP?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),B(u.element,eP?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=(i=0)=>{if(1!==i&&(u.state=g=i),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][i]),!p){u.attr(b[i]);let r=y[i];tp(r)&&u.css(r)}},u.attr(b[0]),!p&&(u.css(Z({cursor:"default"},A)),d&&u.text.css({pointerEvents:"none"})),u.on("touchstart",i=>i.stopPropagation()).on("click",function(i){3!==g&&n?.call(u,i)})}crispLine(i,r){let[s,n]=i;return X(s[1])&&s[1]===n[1]&&(s[1]=n[1]=j(s[1],r)),X(s[2])&&s[2]===n[2]&&(s[2]=n[2]=j(s[2],r)),i}path(i){let r=this.styledMode?{}:{fill:"none"};return td(i)?r.d=i:tp(i)&&Z(r,i),this.createElement("path").attr(r)}circle(i,r,s){let n=tp(i)?i:void 0===i?{}:{x:i,y:r,r:s},a=this.createElement("circle");return a.xSetter=a.ySetter=function(i,r,s){s.setAttribute("c"+r,i)},a.attr(n)}arc(i,r,s,n,a,o){let l;tp(i)?(r=(l=i).y,s=l.r,n=l.innerR,a=l.start,o=l.end,i=l.x):l={innerR:n,start:a,end:o};let h=this.symbol("arc",i,r,s,s,l);return h.r=s,h}rect(i,r,s,n,a,o){let l=tp(i)?i:void 0===i?{}:{x:i,y:r,r:a,width:Math.max(s||0,0),height:Math.max(n||0,0)},h=this.createElement("rect");return this.styledMode||(void 0!==o&&(l["stroke-width"]=o,Z(l,h.crisp(l))),l.fill="none"),h.rSetter=function(i,r,s){h.r=i,G(s,{rx:i,ry:i})},h.rGetter=function(){return h.r||0},h.attr(l)}roundedRect(i){return this.symbol("roundedRect").attr(i)}setSize(i,r,s){this.width=i,this.height=r,this.boxWrapper.animate({width:i,height:r},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:ty(s,!0)?void 0:0}),this.alignElements()}g(i){let r=this.createElement("g");return i?r.attr({class:"highcharts-"+i}):r}image(i,r,s,n,a,o){let l={preserveAspectRatio:"none"};th(r)&&(l.x=r),th(s)&&(l.y=s),th(n)&&(l.width=n),th(a)&&(l.height=a);let h=this.createElement("image").attr(l),c=function(r){h.attr({href:i}),o.call(h,r)};if(o){h.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let r=new eG.Image;B(r,"load",c),r.src=i,r.complete&&c({})}else h.attr({href:i});return h}symbol(i,r,s,n,a,o){let l,h,c,d,u=this,p=/^url\((.*?)\)$/,m=p.test(i),g=!m&&(this.symbols[i]?i:"circle"),f=g&&this.symbols[g];if(f)"number"==typeof r&&(h=f.call(this.symbols,r||0,s||0,n||0,a||0,o)),l=this.path(h),u.styledMode||l.attr("fill","none"),Z(l,{symbolName:g||void 0,x:r,y:s,width:n,height:a}),o&&Z(l,o);else if(m){c=i.match(p)[1];let n=l=this.image(c);n.imgwidth=ty(o?.width,eH[c]?.width),n.imgheight=ty(o?.height,eH[c]?.height),d=i=>i.attr({width:i.width,height:i.height}),["width","height"].forEach(i=>{n[`${i}Setter`]=function(i,r){this[r]=i;let{alignByTranslate:s,element:n,width:a,height:l,imgwidth:h,imgheight:c}=this,d="width"===r?h:c,u=1;o&&"within"===o.backgroundSize&&a&&l&&h&&c?(u=Math.min(a/h,l/c),G(n,{width:Math.round(h*u),height:Math.round(c*u)})):n&&d&&n.setAttribute(r,d),!s&&h&&c&&this.translate(((a||0)-h*u)/2,((l||0)-c*u)/2)}}),X(r)&&n.attr({x:r,y:s}),n.isImg=!0,X(n.imgwidth)&&X(n.imgheight)?d(n):(n.attr({width:0,height:0}),W("img",{onload:function(){let i=eM[u.chartIndex];0===this.width&&(z(this,{position:"absolute",top:"-999em"}),eD.body.appendChild(this)),eH[c]={width:this.width,height:this.height},n.imgwidth=this.width,n.imgheight=this.height,n.element&&d(n),this.parentNode&&this.parentNode.removeChild(this),u.asyncCounter--,u.asyncCounter||!i||i.hasLoaded||i.onload()},src:c}),this.asyncCounter++)}return l}clipRect(i,r,s,n){return this.rect(i,r,s,n,0)}text(i,r,s,n){let a={};if(n&&(this.allowHTML||!this.forExport))return this.html(i,r,s);a.x=Math.round(r||0),s&&(a.y=Math.round(s)),X(i)&&(a.text=i);let o=this.createElement("text").attr(a);return n&&(!this.forExport||this.allowHTML)||(o.xSetter=function(i,r,s){let n=s.getElementsByTagName("tspan"),a=s.getAttribute(r);for(let s=0,o;s<n.length;s++)(o=n[s]).getAttribute(r)===a&&o.setAttribute(r,i);s.setAttribute(r,i)}),o}fontMetrics(i){let r=th(i)?i:tx(eg.prototype.getStyle.call(i,"font-size")||0),s=r<24?r+3:Math.round(1.2*r),n=Math.round(.8*s);return{h:s,b:n,f:r}}rotCorr(i,r,s){let n=i;return r&&s&&(n=Math.max(n*Math.cos(r*eL),4)),{x:-i/3*Math.sin(r*eL),y:n}}pathToSegments(i){let r=[],s=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let a=0;a<i.length;a++)tc(s[0])&&th(i[a])&&s.length===n[s[0].toUpperCase()]&&i.splice(a,0,s[0].replace("M","L").replace("m","l")),"string"==typeof i[a]&&(s.length&&r.push(s.slice(0)),s.length=0),s.push(i[a]);return r.push(s.slice(0)),r}label(i,r,s,n,a,o,l,h,c){return new ex(this,i,r,s,n,a,o,l,h,c)}alignElements(){this.alignedObjects.forEach(i=>i.align())}}Z(eU.prototype,{Element:eg,SVG_NS:eF,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:ev,draw:eB}),D.Renderer=eU;let{composed:eY,isFirefox:eW}=D;class ej extends eg{static compose(i){tE(eY,"HTMLElement")&&(i.prototype.html=function(i,r,s){return new ej(this,"div").attr({text:i,x:Math.round(r),y:Math.round(s)})})}constructor(i,r){super(i,r),this.foreignObject=i.createElement("foreignObject").attr({zIndex:2}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(i,r,s){this.xCorr=-i*s,this.yCorr=-r}css(i){let r,{element:s}=this,n=i&&"width"in i,a=n&&i.width;return n&&(delete i.width,this.textWidth=tx(a)||void 0,r=!0),i?.textOverflow==="ellipsis"&&(i.overflow="hidden",i.whiteSpace="nowrap"),i?.lineClamp?(i.display="-webkit-box",i.WebkitLineClamp=i.lineClamp,i.WebkitBoxOrient="vertical",i.overflow="hidden"):i?.lineClamp===0&&(i.display="inline-block"),th(Number(i?.fontSize))&&(i.fontSize+="px"),Z(this.styles,i),z(s,i),r&&this.updateTransform(),this}htmlGetBBox(){let{element:i}=this;return{x:i.offsetLeft,y:i.offsetTop,width:i.offsetWidth,height:i.offsetHeight}}updateTransform(){let i;if(!this.added){this.alignOnAdd=!0;return}let{element:r,foreignObject:s,oldTextWidth:n,renderer:a,rotation:o,scaleX:l,styles:{display:h="inline-block",whiteSpace:c},textAlign:d="left",textWidth:u,x:p=0,y:m=0}=this,g=()=>this.textPxLength?this.textPxLength:(z(r,{width:"",whiteSpace:c||"nowrap"}),r.offsetWidth),f=[o,d,r.innerHTML,u,this.textAlign].join(",");if(z(r,{display:"inline-block",verticalAlign:"top"}),u!==n){let i=g(),s=u||0,d=!a.styledMode&&""===r.style.textOverflow&&r.style.webkitLineClamp;(s>n||i>s||d)&&(/[\-\s\u00AD]/.test(r.textContent||r.innerText)||"ellipsis"===r.style.textOverflow)&&(z(r,{width:(o||l||i>s)&&th(u)?u+"px":d?Math.min(i+1,s)+"px":"auto",display:h,whiteSpace:c||"normal"}),this.oldTextWidth=u)}s.attr({width:a.width,height:a.height}),f!==this.cTT&&(i=a.fontMetrics(r).b,this.getSpanCorrection(!X(o)&&!this.textWidth&&this.textPxLength||r.offsetWidth,i,tt(d))),super.updateTransform(),th(p)&&th(m)?(s.attr({x:p+(this.xCorr||0),y:m+(this.yCorr||0),width:r.offsetWidth+4,height:r.offsetHeight+1,"transform-origin":r.getAttribute("transform-origin")||"0 0"}),z(r,{display:h,textAlign:d})):eW&&s.attr({width:0,height:0}),this.cTT=f}add(i){let{foreignObject:r,renderer:s}=this;return r.add(i),super.add(s.createElement("body").attr({xmlns:"http://www.w3.org/1999/xhtml"}).css({background:"transparent",margin:"0 3px 0 0"}).add(r)),this.alignOnAdd&&this.updateTransform(),this}textSetter(i){i!==this.textStr&&(delete this.oldTextWidth,t4.setElementHTML(this.element,i??""),this.textStr=i,this.doTransform=!0)}alignSetter(i){this.alignValue=this.textAlign=i,this.doTransform=!0}xSetter(i,r){this[r]=i,this.doTransform=!0}}let ez=ej.prototype;ez.ySetter=ez.xSetter,(h=b||(b={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"
20%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",boundary:void 0,range:!1},day:{main:"%[eb]",boundary:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]",boundary:void 0},year:{main:"%[Y]",boundary:void 0}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"var(--highcharts-neutral-color-80)",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"var(--highcharts-neutral-color-5)",minorGridLineWidth:1,minorTickColor:"var(--highcharts-neutral-color-40)",lineColor:"var(--highcharts-neutral-color-80)",lineWidth:1,gridLineColor:"var(--highcharts-neutral-color-10)",gridLineWidth:void 0,tickColor:"var(--highcharts-neutral-color-80)"},h.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return this.axis.chart.numberFormatter(this.total||0,-1)},style:{color:"var(--highcharts-neutral-color-100)",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};let eX=b;(y||(y={})).registerEventOptions=function(i,r){i.eventOptions=i.eventOptions||{},tf(r.events,function(r,s){i.eventOptions[s]!==r&&(i.eventOptions[s]&&(tv(i,s,i.eventOptions[s]),delete i.eventOptions[s]),tu(r)&&(i.eventOptions[s]=r,B(i,s,r,{order:0})))})};let eQ=y,{deg2rad:eK}=D,eV=class{constructor(i,r,s,n,a){this.isNew=!0,this.isNewLabel=!0,this.axis=i,this.pos=r,this.type=s||"",this.parameters=a||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,$(this,"init"),s||n||this.addLabel()}addLabel(){let i=this,r=i.axis,s=r.options,n=r.chart,a=r.categories,o=r.logarithmic,l=r.names,h=i.pos,c=ty(i.options?.labels,s.labels),d=r.tickPositions,u=h===d[0],p=h===d[d.length-1],m=d.info,g=m?.boundaryTicks[h],f=s.dateTimeLabelFormats,A=i.label,b,y,x,E=this.parameters.category||(a?ty(a[h],l[h],h):h);if(o&&th(E)&&(E=Y(o.lin2log(E))),r.dateTime&&f)if(m){let i=m.unitName,r={millisecond:"hour",second:"hour",minute:"hour",hour:"day",day:"month",week:"month",month:"year",year:"year"}[i],a=!s.grid?.enabled&&g&&r&&f[r]?.boundary||f[i];b=(y=n.time.resolveDTLFormat(a)).main}else th(E)&&(b=r.dateTime.getXDateFormat(E,f||{}));i.isFirst=u,i.isLast=p,i.boundary=g;let T={axis:r,chart:n,dateTimeLabelFormat:b,boundary:g,isFirst:u,isLast:p,pos:h,tick:i,tickPositionInfo:m,value:E};$(this,"labelFormat",T);let C=i=>c.formatter?c.formatter.call(i,i):c.format?(i.text=r.defaultLabelFormatter.call(i),er.format(c.format,i,n)):r.defaultLabelFormatter.call(i),v=C.call(T,T),S=y?.list;S?i.shortenLabel=function(){for(x=0;x<S.length;x++)if(Z(T,{dateTimeLabelFormat:S[x]}),A.attr({text:C.call(T,T)}),A.getBBox().width<r.getSlotWidth(i)-2*(c.padding||0))return;A.attr({text:""})}:i.shortenLabel=void 0,A?A.textStr!==v&&(!A.textWidth||c.style.width||A.styles.width||A.css({width:void 0}),A.attr({text:v}),A.textPxLength=A.getBBox().width):(i.label=A=i.createLabel(v,c),i.rotation=0)}createLabel(i,r,s){let n=this.axis,{renderer:a,styledMode:o}=n.chart,l=r.style.whiteSpace,h=X(i)&&r.enabled?a.text(i,s?.x,s?.y,r.useHTML).add(n.labelGroup):void 0;return h&&(o||h.css(tm(r.style)),h.textPxLength=h.getBBox().width,!o&&l&&h.css({whiteSpace:l})),h}destroy(){Q(this,this.axis)}getPosition(i,r,s,n){let a=this.axis,o=a.chart,l=n&&o.oldChartHeight||o.chartHeight,h={x:i?Y(a.translate(r+s,void 0,void 0,n)+a.transB):a.left+a.offset+(a.opposite?(n&&o.oldChartWidth||o.chartWidth)-a.right-a.left:0),y:i?l-a.bottom+a.offset-(a.opposite?a.height:0):Y(l-a.translate(r+s,void 0,void 0,n)-a.transB)};return h.y=U(h.y,-1e9,1e9),$(this,"afterGetPosition",{pos:h}),h}getLabelPosition(i,r,s,n,a,o,l,h){let c,d,u=this.axis,p=u.transA,m=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,g=u.staggerLines,f=u.tickRotCorr||{x:0,y:0},A=n||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),b=a.distance,y={};return c=0===u.side?s.rotation?-b:-s.getBBox().height:2===u.side?f.y+b:Math.cos(s.rotation*eK)*(f.y-s.getBBox(!1,0).height/2),X(a.y)&&(c=0===u.side&&u.horiz?a.y+c:a.y),i=i+ty(a.x,[0,1,0,-1][u.side]*b)+A+f.x-(o&&n?o*p*(m?-1:1):0),r=r+c-(o&&!n?o*p*(m?1:-1):0),g&&(d=l/(h||1)%g,u.opposite&&(d=g-d-1),r+=d*(u.labelOffset/g)),y.x=i,y.y=Math.round(r),$(this,"afterGetLabelPosition",{pos:y,tickmarkOffset:o,index:l}),y}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(i,r,s,n,a=!1,o){return o.crispLine([["M",i,r],["L",i+(a?0:-s),r+(a?s:0)]],n)}handleOverflow(i){let r=this.axis,s=r.options.labels,n=i.x,a=r.chart.chartWidth,o=r.chart.spacing,l=ty(r.labelLeft,Math.min(r.pos,o[3])),h=ty(r.labelRight,Math.max(r.isRadial?
vendor: 4,870 bytes, line 20
200:r.pos+r.len,a-o[1])),c=this.label,d=this.rotation,u=tt(r.labelAlign||c.attr("align")),p=c.getBBox().width,m=r.getSlotWidth(this),g=m,f=1,A;d||"justify"!==s.overflow?d<0&&n-u*p<l?A=Math.round(n/Math.cos(d*eK)-l):d>0&&n+u*p>h&&(A=Math.round((a-n)/Math.cos(d*eK))):(n-u*p<l?g=i.x+g*(1-u)-l:n+(1-u)*p>h&&(g=h-i.x+g*u,f=-1),(g=Math.min(m,g))<m&&"center"===r.labelAlign&&(i.x+=f*(m-g-u*(m-Math.min(p,g)))),(p>g||r.autoRotation&&c?.styles?.width)&&(A=g)),A&&c&&(this.shortenLabel?this.shortenLabel():c.css(Z({},{width:Math.floor(A)+"px",lineClamp:+!r.isRadial})))}render(i,r,s){let n=this.axis,a=n.horiz,o=this.pos,l=ty(this.tickmarkOffset,n.tickmarkOffset),h=this.getPosition(a,o,l,r),c=h.x,d=h.y,u=n.pos,p=u+n.len,m=a?c:d,g=ty(s,this.label?.newOpacity,1);!n.chart.polar&&(Y(m)<u||m>p)&&(s=0),s??(s=1),this.isActive=!0,this.renderGridLine(r,s),this.renderMark(h,s),this.renderLabel(h,r,g,i),this.isNew=!1,$(this,"afterRender")}renderGridLine(i,r){let s=this.axis,n=s.options,a={},o=this.pos,l=this.type,h=ty(this.tickmarkOffset,s.tickmarkOffset),c=s.chart.renderer,d=this.gridLine,u,p=n.gridLineWidth,m=n.gridLineColor,g=n.gridLineDashStyle;"minor"===this.type&&(p=n.minorGridLineWidth,m=n.minorGridLineColor,g=n.minorGridLineDashStyle),d||(s.chart.styledMode||(a.stroke=m,a["stroke-width"]=p||0,a.dashstyle=g),l||(a.zIndex=1),i&&(r=0),this.gridLine=d=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(s.gridGroup)),d&&(u=s.getPlotLinePath({value:o+h,lineWidth:d.strokeWidth(),force:"pass",old:i,acrossPanes:!1}))&&d[i||this.isNew?"attr":"animate"]({d:u,opacity:r})}renderMark(i,r){let s=this.axis,n=s.options,a=s.chart.renderer,o=this.type,l=s.tickSize(o?o+"Tick":"tick"),h=i.x,c=i.y,d=ty(n["minor"!==o?"tickWidth":"minorTickWidth"],!o&&s.isXAxis?1:0),u=n["minor"!==o?"tickColor":"minorTickColor"],p=this.mark,m=!p;l&&(s.opposite&&(l[0]=-l[0]),!p&&(this.mark=p=a.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(s.axisGroup),s.chart.styledMode||p.attr({stroke:u,"stroke-width":d})),p[m?"attr":"animate"]({d:this.getMarkPath(h,c,l[0],p.strokeWidth(),s.horiz,a),opacity:r}))}renderLabel(i,r,s,n){let a=this.axis,o=a.horiz,l=a.options,h=this.label,c=l.labels,d=c.step,u=ty(this.tickmarkOffset,a.tickmarkOffset),p=i.x,m=i.y,g=!0;h&&th(p)&&(h.xy=i=this.getLabelPosition(p,m,h,o,c,u,n,d),(!this.isFirst||this.isLast||l.showFirstLabel)&&(!this.isLast||this.isFirst||l.showLastLabel)?o&&!r&&0!==s&&this.handleOverflow(i):g=!1,d&&n%d&&(g=!1),g&&th(i.y)?(i.opacity=s,h[this.isNewLabel?"attr":"animate"](i).show(!0),this.isNewLabel=!1):(h.hide(),this.isNewLabel=!0))}},{animObject:eq}=t$,{xAxis:eZ,yAxis:eJ}=eX,{parse:e$}=tQ,{defaultOptions:e0}=tW,{registerEventOptions:e1}=eQ,{deg2rad:e2}=D,e3=(i,r)=>tg(r,void 0,void 0,ty(i.options.allowDecimals,r<.5||void 0!==i.tickAmount),!!i.tickAmount);Z(e0,{xAxis:eZ,yAxis:tm(eZ,eJ)});class e5{constructor(i,r,s){this.clippable=!0,this.init(i,r,s)}init(i,r,s=this.coll){let n="xAxis"===s,a=this.isZAxis||(i.inverted?!n:n);this.chart=i,this.horiz=a,this.isXAxis=n,this.coll=s,$(this,"init",{userOptions:r}),this.opposite=ty(r.opposite,this.opposite),this.side=ty(r.side,this.side,a?2*!this.opposite:this.opposite?1:3),this.setOptions(r);let o=this.options,l=o.labels;this.type??(this.type=o.type||"linear"),this.uniqueNames??(this.uniqueNames=o.uniqueNames??!0),$(this,"afterSetType"),this.userOptions=r,this.minPixelPadding=0,this.reversed=ty(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===this.type||!0===o.categories,this.categories=td(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[]),this.namesMap||(this.namesMap={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=X(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.max=void 0,this.min=void 0;let h=ty(o.crosshair,tS(i.options.tooltip.crosshairs)[+!n]);this.crosshair=!0===h?{}:h,-1===i.axes.indexOf(this)&&(n?i.axes.splice(i.xAxis.length,0,this):i.axes.push(this),tL(this,i[this.coll])),i.orderItems(this.coll),this.series=this.series||[],i.inverted&&!this.isZAxis&&n&&!X(this.reversed)&&(this.reversed=!0),this.labelRotation=th(l.rotation)?l.rotation:void 0,e1(this,o),$(this,"afterInit")}setOptions(i){let r=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=tm(r,"yAxis"===this.coll?{title:{text:this.chart.options.lang.yAxisTitle}}:{},e0[this.coll],i),$(this,"afterSetOptions",{userOptions:i})}defaultLabelFormatter(){let i=this.axis,r=this.chart,{numberFormatter:s}=r,n=th(this.value)?this.value:NaN,a=i.chart.time,o=i.categories,l=this.dateTimeLabelFormat,h=e0.lang,c=h.numericSymbol
vendor: 16,524 bytes, line 20
20s,d=h.numericSymbolMagnitude||1e3,u=i.logarithmic?Math.abs(n):i.tickInterval,p=c?.length,m,g;if(o)g=`${this.value}`;else if(l)g=a.dateFormat(l,n,!0);else if(p&&c&&u>=1e3)for(;p--&&void 0===g;)u>=(m=Math.pow(d,p+1))&&10*n%m==0&&null!==c[p]&&0!==n&&(g=s(n/m,-1,void 0,void 0,r)+c[p]);return g??(g=s(n,-1,void 0,1e4>Math.abs(n)?"":void 0,r)),g}getSeriesExtremes(){let i,r=this;$(this,"getSeriesExtremes",null,function(){r.hasVisibleSeries=!1,r.dataMin=r.dataMax=r.threshold=void 0,r.softThreshold=!r.isXAxis,r.series.forEach(s=>{if(s.reserveSpace()){let n=s.options,a,o=n.threshold,l,h;if(r.hasVisibleSeries=!0,r.positiveValuesOnly&&0>=(o||0)&&(o=void 0),r.isXAxis)(a=s.getColumn("x")).length&&(a=r.logarithmic?a.filter(i=>i>0):a,l=(i=s.getXExtremes(a)).min,h=i.max,th(l)||l instanceof Date||(a=a.filter(th),l=(i=s.getXExtremes(a)).min,h=i.max),a.length&&(r.dataMin=Math.min(ty(r.dataMin,l),l),r.dataMax=Math.max(ty(r.dataMax,h),h)));else{let i=s.applyExtremes();th(i.dataMin)&&(l=i.dataMin,r.dataMin=Math.min(ty(r.dataMin,l),l)),th(i.dataMax)&&(h=i.dataMax,r.dataMax=Math.max(ty(r.dataMax,h),h)),X(o)&&(r.threshold=o),(!n.softThreshold||r.positiveValuesOnly)&&(r.softThreshold=!1)}}})}),$(this,"afterGetSeriesExtremes")}translate(i,r,s,n,a,o){let l=this.linkedParent||this,h=n&&l.old?l.old.min:l.min;if(!th(h))return NaN;let c=l.minPixelPadding,d=(l.isOrdinal||l.brokenAxis?.hasBreaks||l.logarithmic&&a)&&!!l.lin2val,u=1,p=0,m=n&&l.old?l.old.transA:l.transA,g=0;return m||(m=l.transA),s&&(u*=-1,p=l.len),l.reversed&&(u*=-1,p-=u*(l.sector||l.len)),r?(g=(i=i*u+p-c)/m+h,d&&(g=l.lin2val(g))):(d&&(i=l.val2lin(i)),g=u*(i-h)*m+p+u*c+(th(o)?m*o:0),l.isRadial||(g=Y(g))),g}toPixels(i,r){return this.translate(this.chart?.time.parse(i)??NaN,!1,!this.horiz,void 0,!0)+(r?0:this.pos)}toValue(i,r){return this.translate(i-(r?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(i){let r=this,s=r.chart,n=r.left,a=r.top,o=i.old,l=i.value,h=i.lineWidth,c=o&&s.oldChartHeight||s.chartHeight,d=o&&s.oldChartWidth||s.chartWidth,u=r.transB,p=i.translatedValue,m=i.force,g,f,A,b,y;function x(i,r,s){return"pass"!==m&&(i<r||i>s)&&(m?i=U(i,r,s):y=!0),i}let E={value:l,lineWidth:h,old:o,force:m,acrossPanes:i.acrossPanes,translatedValue:p};return $(this,"getPlotLinePath",E,function(i){g=A=(p=U(p=ty(p,r.translate(l,void 0,void 0,o)),-1e9,1e9))+u,f=b=c-p-u,th(p)?r.horiz?(f=a,b=c-r.bottom+(r.options.isInternal?0:s.scrollablePixelsY||0),g=A=x(g,n,n+r.width)):(g=n,A=d-r.right+(s.scrollablePixelsX||0),f=b=x(f,a,a+r.height)):(y=!0,m=!1),i.path=y&&!m?void 0:s.renderer.crispLine([["M",g,f],["L",A,b]],h||1)}),E.path}getLinearTickPositions(i,r,s){let n,a,o,l=Y(Math.floor(r/i)*i),h=Y(Math.ceil(s/i)*i),c=[];if(Y(l+i)===l&&(o=20),this.single)return[r];for(n=l;n<=h&&(c.push(n),(n=Y(n+i,o))!==a);)a=n;return c}getMinorTickInterval(){let{minorTicks:i,minorTickInterval:r}=this.options;return!0===i?ty(r,"auto"):!1!==i?r:void 0}getMinorTickPositions(){let i=this.options,r=this.tickPositions,s=this.minorTickInterval,n=this.pointRangePadding||0,a=(this.min||0)-n,o=(this.max||0)+n,l=this.brokenAxis?.hasBreaks?this.brokenAxis.unitLength:o-a,h=[],c;if(l&&l/s<this.len/3){let n=this.logarithmic;if(n)this.paddedTicks.forEach(function(i,r,a){r&&h.push.apply(h,n.getLogTickPositions(s,a[r-1],a[r],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())h=h.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(s),a,o,i.startOfWeek));else for(c=a+(r[0]-a)%s;c<=o&&c!==h[0];c+=s)h.push(c)}return 0!==h.length&&this.trimTicks(h),h}adjustForMinRange(){let i=this.options,r=this.logarithmic,s=this.chart.time,{max:n,min:a,minRange:o}=this,l,h,c,d;this.isXAxis&&void 0===o&&!r&&(o=X(i.min)||X(i.max)||X(i.floor)||X(i.ceiling)?null:Math.min(5*(te(this.series.map(i=>{let r=i.getColumn("x");return i.xIncrement?r.slice(0,2):r}))||0),this.dataMax-this.dataMin)),th(n)&&th(a)&&th(o)&&n-a<o&&(h=this.dataMax-this.dataMin>=o,l=(o-n+a)/2,c=[a-l,s.parse(i.min)??a-l],h&&(c[2]=r?r.log2lin(this.dataMin):this.dataMin),d=[(a=H(c))+o,s.parse(i.max)??a+o],h&&(d[2]=r?r.log2lin(this.dataMax):this.dataMax),(n=F(d))-a<o&&(c[0]=n-o,c[1]=s.parse(i.min)??n-o,a=H(c))),this.minRange=o,this.min=a,this.max=n}getClosest(){let i,r;if(this.categories)r=1;else{let s=[];this.series.forEach(function(i){let n=i.closestPointRange,a=i.getColumn("x");1===a.length?s.push(a[0]):i.sorted&&X(n)&&i.reserveSpace()&&(r=X(r)?Math.min(r,n):n)}),s.length&&(s.sort((i,r)=>i-r),i=te([s]))}return i&&r?Math.min(i,r):i||r}nameToX(i,r){let s,n=td(this.options.categories),{name:a,series:o}=i,l=n?this.categories:this.names,h=this.namesMap;return o.requireSorting=!1,X(r)||(r=this.uniqueNames&&l?n?l.indexOf(a):h[a]??-1:o.autoIncrement()),-1===r?!n&&l&&(s=l.length):th(r)&&(s=r),void 0!==s?(this.names[s]=i.name,h[i.name]=s):s=th(i.x)?i.x:o.autoIncrement(),s}updateNames(){let i=this,{names:r,namesMap:s}=this;r.length>0&&(Object.keys(s).forEach(function(i){delete s[i]}),r.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(r=>{if(r.xIncrement=null,delete r.xColumn,!r.points||r.isDirtyData)i.max=Math.max(i.max||0,r.dataTable.rowCount-1),r.processData(),r.generatePoints();else{let i=r.getColumn("x");r.points?.forEach(r=>{r.x=i[r.index]})}}))}setAxisTranslation(){let i=this,r=i.max-i.min,s=i.linkedParent,n=!!i.categories,a=i.isXAxis,o=i.axisPointRange||0,l,h=0,c=0,d,u=i.transA;(a||n||o)&&(l=i.getClosest(),s?(h=s.minPointOffset,c=s.pointRangePadding):i.series.forEach(function(r){let s=n?1:a?ty(r.options.pointRange,l,0):i.axisPointRange||0,d=r.options.pointPlacement;if(o=Math.max(o,s),!i.single||n){let i=r.is("xrange")?!a:a;h=Math.max(h,i&&tc(d)?0:s/2),c=Math.max(c,i&&"on"===d?0:s)}}),d=i.ordinal?.slope&&l?i.ordinal.slope/l:1,i.minPointOffset=h*=d,i.pointRangePadding=c*=d,i.pointRange=Math.min(o,i.single&&n?1:r),a&&(i.closestPointRange=l)),i.translationSlope=i.transA=u=i.staticScale||i.len/(r+c||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=u*h,$(this,"afterSetAxisTranslation")}minFromRange(){let{max:i,min:r}=this;return th(i)&&th(r)&&i-r||void 0}setTickInterval(i){let{categories:r,chart:s,dataMax:n,dataMin:a,dateTime:o,isXAxis:l,logarithmic:h,options:c,softThreshold:d}=this,u=s.time,p=th(this.threshold)?this.threshold:void 0,m=this.minRange||0,{ceiling:g,floor:f,linkedTo:A,softMax:b,softMin:y}=c,x=th(A)&&s[this.coll]?.[A],E=c.tickPixelInterval,T=c.maxPadding,C=c.minPadding,v=0,S,I=th(c.tickInterval)&&c.tickInterval>=0?c.tickInterval:void 0,w,_,k,N;if(o||r||x||this.getTickAmount(),k=ty(this.userMin,u.parse(c.min)),N=ty(this.userMax,u.parse(c.max)),x?(this.linkedParent=x,S=x.getExtremes(),this.min=ty(S.min,S.dataMin),this.max=ty(S.max,S.dataMax),this.type!==x.type&&tM(11,!0,s)):(d&&X(p)&&th(n)&&th(a)&&(a>=p?(w=p,C=0):n<=p&&(_=p,T=0)),this.min=ty(k,w,a),this.max=ty(N,_,n)),th(this.max)&&th(this.min)&&(h&&(this.positiveValuesOnly&&!i&&0>=Math.min(this.min,ty(a,this.min))&&tM(10,!0,s),this.min=Y(h.log2lin(this.min),16),this.max=Y(h.log2lin(this.max),16)),this.range&&th(a)&&(this.userMin=this.min=k=Math.max(a,this.minFromRange()||0),this.userMax=N=this.max,this.range=void 0)),$(this,"foundExtremes"),this.adjustForMinRange(),th(this.min)&&th(this.max)){if(!th(this.userMin)&&th(y)&&y<this.min&&(this.min=k=y),!th(this.userMax)&&th(b)&&b>this.max&&(this.max=N=b),r||this.axisPointRange||this.stacking?.usePercentage||x||(v=this.max-this.min)&&(!X(k)&&C&&(this.min-=v*C),!X(N)&&T&&(this.max+=v*T)),!th(this.userMin)&&th(f)&&(this.min=Math.max(this.min,f)),!th(this.userMax)&&th(g)&&(this.max=Math.min(this.max,g)),d&&th(a)&&th(n)){let i=p||0;!X(k)&&this.min<i&&a>=i?this.min=c.minRange?Math.min(i,this.max-m):i:!X(N)&&this.max>i&&n<=i&&(this.max=c.minRange?Math.max(i,this.min+m):i)}!s.polar&&this.min>this.max&&(X(c.min)?this.max=this.min:X(c.max)&&(this.min=this.max)),v=this.max-this.min}if(this.min!==this.max&&th(this.min)&&th(this.max)?x&&!I&&E===x.options.tickPixelInterval?this.tickInterval=I=x.tickInterval:this.tickInterval=ty(I,this.tickAmount?v/Math.max(this.tickAmount-1,1):void 0,r?1:v*E/Math.max(this.len,E)):this.tickInterval=1,l&&!i){let i=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function(r){r.forceCrop=r.forceCropping?.(),r.processData(i)}),$(this,"postProcessData",{hasExtremesChanged:i})}this.setAxisTranslation(),$(this,"initialAxisTranslation"),this.pointRange&&!I&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let M=ty(c.minTickInterval,o&&!this.series.some(i=>!i.sorted)?this.closestPointRange:0);!I&&M&&this.tickInterval<M&&(this.tickInterval=M),o||h||I||(this.tickInterval=e3(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let i=this.options,r=i.tickPositions,s=i.tickPositioner,n=this.getMinorTickInterval(),a=!this.isPanning,o=a&&i.startOnTick,l=a&&i.endOnTick,h=[],c;if(this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&X(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==i.allowDecimals),r)h=r.slice();else if(th(this.min)&&th(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))h=[this.min,this.max],tM(19,!1,this.chart);else if(this.dateTime)h=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)h=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let i=this.tickInterval,r=i;for(;r<=2*i;)if(h=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&h.length>this.tickAmount)this.tickInterval=e3(this,r*=1.1);else break}h.length>this.len&&(h=[h[0],h[h.length-1]])[0]===h[1]&&(h.length=1),s&&(this.tickPositions=h,(c=s.apply(this,[this.min,this.max,this]))&&(h=c))}this.isDirty||h.length===this.tickPositions?.length||(this.isDirty=!0),this.tickPositions=h,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:n,this.paddedTicks=h.slice(0),this.trimTicks(h,o,l),!this.isLinked&&th(this.min)&&th(this.max)&&(this.single&&h.length<2&&!this.categories&&!this.series.some(i=>i.is("heatmap")&&"between"===i.options.pointPlacement)&&(this.min-=.5,this.max+=.5),r||c||this.adjustTickAmount()),$(this,"afterSetTickPositions")}trimTicks(i,r,s){let n=i[0],a=i[i.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if($(this,"trimTicks"),!this.isLinked||!this.grid){if(r&&th(n))this.min=n;else if(i.length)for(;this.min-o>i[0];)i.shift();if(s&&th(a))this.max=a;else for(;this.max+o<i[i.length-1];)i.pop();0===i.length&&X(n)&&!this.options.tickPositions&&i.push((a+n)/2)}}alignToOthers(){let i,r=this,s=r.chart,n=[this],a=r.options,o=s.options.chart,l="yAxis"===this.coll&&o.alignThresholds,h=[];if(r.thresholdAlignment=void 0,(!1!==o.alignTicks&&a.alignTicks||l)&&!1!==a.startOnTick&&!1!==a.endOnTick&&!r.logarithmic){let a=i=>{let{horiz:r,options:s}=i;return[r?s.left:s.top,s.width,s.height,s.pane].join(",")},o=a(this);s[this.coll].forEach(function(s){let{series:l}=s;l.length&&l.some(i=>i.visible)&&s!==r&&a(s)===o&&(i=!0,n.push(s))})}if(i&&l){n.forEach(i=>{let s=i.getThresholdAlignment(r);th(s)&&h.push(s)});let i=h.length>1?h.reduce((i,r)=>i+=r,0)/h.length:void 0;n.forEach(r=>{r.thresholdAlignment=i})}return i}getThresholdAlignment(i){if((!th(this.dataMin)||this!==i&&this.series.some(i=>i.isDirty||i.isDirtyData||i.xAxis?.isDirty))&&this.getSeriesExtremes(),th(this.threshold)){let i=U((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(i=1-i),i}}getTickAmount(){let i=this.options,r=i.tickPixelInterval,s=i.tickAmount;X(i.tickInterval)||s||!(this.len<r)||this.isRadial||this.logarithmic||!i.startOnTick||!i.endOnTick||(s=2),!s&&this.alignToOthers()&&(s=Math.ceil(this.len/r)+1),s<4&&(this.finalTickAmt=s,s=5),this.tickAmount=s}adjustTickAmount(){let i=this,{finalTickAmt:r,max:s,min:n,options:a,tickPositions:o,tickAmount:l,thresholdAlignment:h}=i,c=o?.length,d=ty(i.threshold,i.softThreshold?0:null),u,p,m=i.tickInterval,g,f=()=>o.push(Y(o[o.length-1]+m)),A=()=>o.unshift(Y(o[0]-m));if(th(h)&&(g=0===h?0:1===h?l-1:Math.round(U(h*(l-1),1,l-2)),a.reversed&&(g=l-1-g)),i.hasData()&&th(n)&&th(s)){let h=()=>{i.transA*=(c-1)/(l-1),i.min=a.startOnTick?o[0]:Math.min(n,o[0]),i.max=a.endOnTick?o[o.length-1]:Math.max(s,o[o.length-1])};if(th(g)&&th(i.threshold)){for(;o[g]!==d||o.length!==l||o[0]>n||o[o.length-1]<s;){for(o.length=0,o.push(i.threshold);o.length<l;)void 0===o[g]||o[g]>i.threshold?A():f();if(m>8*i.tickInterval)break;m*=2}h()}else if(c<l){for(;o.length<l;)o.length%2||n===d?f():A();h()}if(X(r)){for(p=u=o.length;p--;)(3===r&&p%2==1||r<=2&&p>0&&p<u-1)&&o.splice(p,1);i.finalTickAmt=void 0}}}setScale(){let{coll:i,stacking:r}=this,s=!1,n=!1;this.series.forEach(i=>{s=s||i.isDirtyData||i.isDirty,n=n||i.xAxis?.isDirty||!1}),this.setAxisSize();let a=this.len!==this.old?.len;a||s||n||this.isLinked||this.forceRedraw||this.userMin!==this.old?.userMin||this.userMax!==this.old?.userMax||this.alignToOthers()?(r&&"yAxis"===i&&r.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),r&&"xAxis"===i&&r.buildStacks(),this.isDirty||(this.isDirty=a||this.min!==this.old?.min||this.max!==this.old?.max)):r&&r.cleanStacks(),s&&delete this.allExtremes,$(this,"afterSetScale")}setExtremes(i,r,s=!0,n,a){let o=this.chart;this.series.forEach(i=>{delete i.kdTree}),i=o.time.parse(i),r=o.time.parse(r),$(this,"setExtremes",a=Z(a,{min:i,max:r}),i=>{this.userMin=i.min,this.userMax=i.max,this.eventArgs=i,s&&o.redraw(n)})}setAxisSize(){let i=this.chart,r=this.options,s=r.offsets||[0,0,0,0],n=this.horiz,a=this.width=Math.round(tT(ty(r.width,i.plotWidth-s[3]+s[1]),i.plotWidth)),o=this.height=Math.round(tT(ty(r.height,i.plotHeight-s[0]+s[2]),i.plotHeight)),l=this.top=Math.round(tT(ty(r.top,i.plotTop+s[0]),i.plotHeight,i.plotTop)),h=this.left=Math.round(tT(ty(r.left,i.plotLeft+s[3]),i.plotWidth,i.plotLeft));this.bottom=i.chartHeight-o-l,this.right=i.chartWidth-a-h,this.len=Math.max(n?a:o,0),this.pos=n?h:l}getExtremes(){let i=this.logarithmic;return{min:i?Y(i.lin2log(this.min)):this.min,max:i?Y(i.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(i){let r=this.logarithmic,s=r?r.lin2log(this.min):this.min,n=r?r.lin2log(this.max):this.max;return null===i||i===-1/0?i=s:i===1/0?i=n:s>i?i=s:n<i&&(i=n),this.translate(i,0,1,0,1)}autoLabelAlign(i){let r=((i-90*this.side)%360+360)%360,s={align:"center"};return $(this,"autoLabelAlign",s,function(i){r>15&&r<165?i.align="right":r>195&&r<345&&(i.align="left")}),s.align}tickSize(i){let r=this.options,s=ty(r["tick"===i?"tickWidth":"minorTickWidth"],"tick"===i&&this.isXAxis&&!this.categories?1:0),n=r["tick"===i?"tickLength":"minorTickLength"],a;s&&n&&("inside"===r[i+"Position"]&&(n=-n),a=[n,s]);let o={tickSize:a,prefix:i};return $(this,"afterTickSize",o),o.tickSize}labelMetrics(){let i=this.chart.renderer,r=this.ticks,s=r[Object.keys(r)[0]]||{};return this.chart.renderer.fontMetrics(s.label||i.box)}unsquish(){let i=this.options.labels,r=i.padding||0,s=this.horiz,n=this.tickInterval,a=this.len/((+!!this.categories+this.max-this.min)/n),o=i.rotation,l=Y(.8*this.labelMetrics().h),h=Math.max(this.max-this.min,0),c=function(i){let s=(i+2*r)/(a||1);return(s=s>1?Math.ceil(s):1)*n>h&&i!==1/0&&a!==1/0&&h&&(s=Math.ceil(h/n)),Y(s*n)},d=n,u,p=Number.MAX_VALUE,m;if(s){if(!i.staggerLines&&(th(o)?m=[o]:a<i.autoRotationLimit&&(m=i.autoRotation)),m){let i,r;for(let s of m)(s===o||s&&s>=-90&&s<=90)&&(r=(i=c(Math.abs(l/Math.sin(e2*s))))+Math.abs(s/360))<p&&(p=r,u=s,d=i)}}else d=c(.75*l);return this.autoRotation=m,this.labelRotation=ty(u,th(o)?o:0),i.step?n:d}getSlotWidth(i){let r=this.chart,s=this.horiz,n=this.options.labels,a=Math.max(this.tickPositions.length-!this.categories,1),o=r.margin[3];if(i&&th(i.slotWidth))return i.slotWidth;if(s&&n.step<2&&!this.isRadial)return n.rotation?0:(this.staggerLines||1)*this.len/a;if(!s){let i=n.style.width;if(void 0!==i)return parseInt(String(i),10);if(!this.opposite&&o)return o-r.spacing[3]}return .33*r.chartWidth}renderUnsquish(){let i=this.chart,r=i.renderer,s=this.tickPositions,n=this.ticks,a=this.options.labels,o=a.style,l=this.horiz,h=this.getSlotWidth(),c=Math.max(1,Math.round(h-(l?2*(a.padding||0):a.distance||0))),d={},u=this.labelMetrics(),p=o.lineClamp,m,g=p??(Math.floor(this.len/(s.length*u.h))||1),f=0;
20tc(a.rotation)||(d.rotation=a.rotation||0),s.forEach(function(i){f=Math.max(f,n[i].label?.textPxLength||0)}),this.maxLabelLength=f,this.autoRotation?f>c&&f>u.h?d.rotation=this.labelRotation:this.labelRotation=0:h&&(m=c),d.rotation&&(m=f>.5*i.chartHeight?.33*i.chartHeight:f,p||(g=1)),this.labelAlign=a.align||this.autoLabelAlign(this.labelRotation||0),this.labelAlign&&(d.align=this.labelAlign),s.forEach(function(i){let r=n[i],s=r?.label,a=o.width,l={};s&&(s.attr(d),r.shortenLabel?r.shortenLabel():m&&!a&&"nowrap"!==o.whiteSpace&&(m<(s.textPxLength||0)||"DIV"===s.element.tagName)?s.css(Z(l,{width:`${m}px`,lineClamp:g})):(s.styles.width||s.textWidth||s.styles.lineClamp)&&!l.width&&!a&&s.css({width:"auto",lineClamp:0}),r.rotation=d.rotation)},this),this.tickRotCorr=r.rotCorr(u.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some(function(i){return i.hasData()})||this.options.showEmpty&&X(this.min)&&X(this.max)}addTitle(i){let r,s=this.chart.renderer,n=this.horiz,a=this.opposite,o=this.options.title,l=this.chart.styledMode;this.axisTitle||((r=o.textAlign)||(r=(n?{low:"left",middle:"center",high:"right"}:{low:a?"right":"left",middle:"center",high:a?"left":"right"})[o.align]),this.axisTitle=s.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:r}).addClass("highcharts-axis-title"),l||this.axisTitle.css(tm(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),l||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[i?"show":"hide"](i)}generateTick(i){let r=this.ticks;r[i]?r[i].addLabel():r[i]=new eV(this,i)}createGroups(){let{axisParent:i,chart:r,coll:s,options:n}=this,a=r.renderer,o=(r,o,l)=>a.g(r).attr({zIndex:l}).addClass(`highcharts-${s.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o}
20 `:"")+(n.className||"")).add(i);this.axisGroup||(this.gridGroup=o("grid","-grid",n.gridZIndex).clip(this.clippable?r.plotClipInner:void 0),this.axisGroup=o("axis","",n.zIndex),this.labelGroup=o("axis-labels","-labels",n.labels.zIndex))}shuffleTicks(){let i=this.ticks,r=this.old?.names;if("category"===this.type&&r){r.forEach((s,n)=>{let a=this.namesMap[s];X(a)&&n!==a&&(i[n]&&(i[n].pos=a,this.isDirty=!0),i[a]&&-1===this.names.indexOf(r[a])&&(i[a].pos=NaN))});let s=Object.values(i);Object.keys(i).forEach(r=>{delete i[r]}),s.forEach(r=>{isNaN(r.pos)?r.destroy():i[r.pos]=r})}}getOffset(){let{chart:i,horiz:r,options:s,side:n,ticks:a,tickPositions:o,coll:l}=this,h=this.hasData(),c=s.title,d=s.labels,u=th(s.crossing),p=i.axisOffset,m=i.clipOffset,g=[-1,1,1,-1][n],f=this.tickRotCorr||{x:0,y:0},A=0,b,y=0,x,E=0,T=0,C,v,S;if(this.showAxis=b=h||s.showEmpty,this.staggerLines=this.horiz&&d.staggerLines||void 0,this.createGroups(),h||this.isLinked?(this.shuffleTicks(),o.forEach(this.generateTick.bind(this)),this.renderUnsquish(),A=Math.abs((f=this.tickRotCorr).x),S=this.reserveSpaceDefault=0===n||2===n||({1:"left",3:"right"})[n]===this.labelAlign,(d.reserveSpace??(!u&&null)??("center"===this.labelAlign||null)??S)&&o.forEach(function(i){T=Math.max(a[i].getLabelSize(),T)}),this.staggerLines&&(T*=this.staggerLines),!r&&th(this.labelRotation)&&S&&(T-=A),this.labelOffset=T*(this.opposite?-1:1)):tf(a,function(i,r){i.destroy(),delete a[r]}),c?.text&&!1!==c.enabled&&(this.addTitle(b),b&&!u&&!1!==c.reserveSpace&&(this.titleOffset=y=this.axisTitle.getBBox()[r?"height":"width"],E=X(x=c.offset)?0:ty(c.margin,r?5:10))),this.renderLine(),this.offset=g*(th(s.offset)?s.offset:p[n]?p[n]+(s.margin||0):0),v=0===n?-this.labelMetrics().h:2===n?f.y:0,C=Math.abs(T)+E,T&&(C-=v,C+=g*(r?d.y??f.y+g*d.distance:d.x??(S?g*(d.distance-A):f.x+g*d.distance)),!r&&!S&&"center"===this.labelAlign&&th(this.labelRotation)&&(C+=A)),this.axisTitleMargin=x??C,this.maxLabelDimensions=this.getMaxLabelDimensions?.(a,o),"colorAxis"!==l&&m){let i=this.tickSize("tick");p[n]=Math.max(p[n],(this.axisTitleMargin||0)+y+g*this.offset,C,o?.length&&i?i[0]+g*this.offset:0);let r=!this.axisLine||s.offset?0:this.axisLine.strokeWidth()/2;m[n]=Math.max(m[n],r)}$(this,"afterGetOffset")}getLinePath(i){let r=this.chart,s=this.opposite,n=this.offset,a=this.horiz,o=this.left+(s?this.width:0)+n,l=r.chartHeight-this.bottom-(s?this.height:0)+n;return s&&(i*=-1),r.renderer.crispLine([["M",a?this.left:o,a?l:this.top],["L",a?r.chartWidth-this.right:o,a?l:r.chartHeight-this.bottom]],i)}renderLine(){let{chart:i,offset:r=0,options:s}=this;this.axisLine||(this.axisLine=i.renderer.path().addClass("highcharts-axis-line").attr(i.styledMode?{}:{stroke:s.lineColor,"stroke-width":s.lineWidth,zIndex:7}).clip(this.clippable&&r<=0?i.plotClipOuter:void 0).add(this.axisGroup))}getTitlePosition(i){let r=this.horiz,s=this.left,n=this.top,a=this.len,o=this.options.title,l=r?s:n,h=this.opposite,c=this.offset,d=o.x,u=o.y,p=this.chart.renderer.fontMetrics(i),m=i?Math.max(i.getBBox(!1,0).height-p.h-1,0):0,g={low:l+(r?0:a),middle:l+a/2,high:l+(r?a:0)}[o.align],f=(r?n+this.height:s)+(r?1:-1)*(h?-1:1)*(this.axisTitleMargin||0)+[-m,m,p.f,-m][this.side],A={x:r?g+d:f+(h?this.width:0)+c+d,y:r?f+u-(h?this.height:0)+c:g+u};return $(this,"afterGetTitlePosition",{titlePosition:A}),A}renderMinorTick(i,r){let s=this.minorTicks;s[i]||(s[i]=new eV(this,i,"minor")),r&&s[i].isNew&&s[i].render(null,!0),s[i].render(null,!1,1)}renderTick(i,r,s){let n=this.isLinked,a=this.ticks;(!n||i>=this.min&&i<=this.max||this.grid?.isColumn)&&(a[i]||(a[i]=new eV(this,i)),s&&a[i].isNew&&a[i].render(r,!0,-1),a[i].render(r))}render(){let i,r,s=this,n=s.chart,a=s.logarithmic,o=n.renderer,l=s.options,h=s.isLinked,c=s.tickPositions,d=s.axisTitle,u=s.ticks,p=s.minorTicks,m=s.alternateBands,g=l.stackLabels,f=l.alternateGridColor,A=l.crossing,b
20=s.tickmarkOffset,y=s.axisLine,x=s.showAxis,E=eq(o.globalAnimation);if(s.labelEdge.length=0,s.overlap=!1,[u,p,m].forEach(function(i){tf(i,function(i){i.isActive=!1})}),th(A)){let i=this.isXAxis?n.yAxis[0]:n.xAxis[0],r=[1,-1,-1,1][this.side];if(i){let n=i.toPixels(A,!0);s.horiz&&(n=i.len-n),s.offset=r*n}}if(s.hasData()||h){let o=s.chart.hasRendered&&s.old&&th(s.old.min);s.minorTickInterval&&!s.categories&&s.getMinorTickPositions().forEach(function(i){s.renderMinorTick(i,o)}),c.length&&(c.forEach(function(i,r){s.renderTick(i,r,o)}),b&&(0===s.min||s.single)&&(u[-1]||(u[-1]=new eV(s,-1,null,!0)),u[-1].render(-1))),f&&c.forEach(function(o,l){r=void 0!==c[l+1]?c[l+1]+b:s.max-b,l%2==0&&o<s.max&&r<=s.max+(n.polar?-b:b)&&(m[o]||(m[o]=new D.PlotLineOrBand(s,{})),i=o+b,m[o].options={from:a?a.lin2log(i):i,to:a?a.lin2log(r):r,color:f,className:"highcharts-alternate-grid"},m[o].render(),m[o].isActive=!0)}),s._addedPlotLB||(s._addedPlotLB=!0,(l.plotLines||[]).concat(l.plotBands||[]).forEach(function(i){s.addPlotBandOrLine(i)}))}[u,p,m].forEach(function(i){let r=[],s=E.duration;tf(i,function(i,s){i.isActive||(i.render(s,!1,0),i.isActive=!1,r.push(s))}),tw(function(){let s=r.length;for(;s--;)i[r[s]]&&!i[r[s]].isActive&&(i[r[s]].destroy(),delete i[r[s]])},i!==m&&n.hasRendered&&s?s:0)}),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[x?"show":"hide"](x)),d&&x&&(d[d.isNew?"attr":"animate"](s.getTitlePosition(d)),d.isNew=!1),g?.enabled&&s.stacking&&s.stacking.renderStackTotals(),this.old||this.saveOld(),s.isDirty=!1,$(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(i){i.render()})),this.series.forEach(function(i){i.isDirty=!0})}saveOld(){this.old=th(this.min)?{len:this.len,max:this.max,min:this.min,names:this.names.slice(),transA:this.transA,userMax:this.userMax,userMin:this.userMin}:void 0}getKeepProps(){return this.keepProps||e5.keepProps}destroy(i){let r=this,s=r.plotLinesAndBands,n=this.eventOptions;if($(this,"destroy",{keepEvents:i}),i||tv(r),[r.ticks,r.minorTicks,r.alternateBands].forEach(function(i){Q(i)}),s){let i=s.length;for(;i--;)s[i].destroy()}for(let i in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(i){r[i]&&(r[i]=r[i].destroy())}),r.plotLinesAndBandsGroups)r.plotLinesAndBandsGroups[i]=r.plotLinesAndBandsGroups[i].destroy();tf(r,function(i,s){-1===r.getKeepProps().indexOf(s)&&delete r[s]}),this.eventOptions=n}drawCrosshair(i,r){let s,n,a,o,l=this.crosshair,h=l?.snap??!0,c=this.chart,d=this.cross;if($(this,"drawCrosshair",{e:i,point:r}),i||(i=this.cross?.e),l&&!1!==(X(r)||!h)){if(clearTimeout(this.crossShowTimer),h?X(r)&&(n=ty("colorAxis"!==this.coll?r.crosshairPos:null,this.isXAxis?r.plotX:this.len-r.plotY)):n=i&&(this.horiz?i.chartX-this.pos:this.len-i.chartY+this.pos),X(n)&&(o={value:r&&(this.isXAxis?r.x:ty(r.stackY,r.y)),translatedValue:n},c.polar&&Z(o,{isCrosshair:!0,chartX:i?.chartX,chartY:i?.chartY,point:r}),s=this.getPlotLinePath(o)||null),!X(s))return void this.hideCrosshair();a=this.categories&&!this.isRadial,this.crossShowTimer=tw(()=>{let r=this.cross;r||(this.cross=r=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(a?"category ":"thin ")+(l.className||"")).attr({zIndex:ty(l.zIndex,2)}).clip(!1===l.clip?void 0:c.plotClipInner).add(),!c.styledMode&&(r.attr({stroke:l.color||(a?e$("var(--highcharts-highlight-color-20)").setOpacity(.25).get():"var(--highcharts-neutral-color-20)"),"stroke-width":ty(l.width,1)}).css({"pointer-events":"none"}),l.dashStyle&&r.attr({dashstyle:l.dashStyle}))),r.show().animate({d:s},eq(l?.animation)),a&&!l.width&&r.attr({"stroke-width":this.transA}),this.cross&&(this.cross.e=i)},(!d||"hidden"===d.attr("visibility"))&&l.showDelay||0)}else this.hideCrosshair();$(this,"afterDrawCrosshair",{e:i,point:r})}hideCrosshair(){clearTimeout(this.crossShowTimer),this.cross&&this.cross.hide(),$(this,"afterHideCrosshair")}update(i,r){let s=this.chart;i=tm(this.userOptions,i),this.destroy(!0),this.init(s,i),s.isDirtyBox=!0,ty(r,!0)&&s.redraw()}remove(i){let r=this.chart,s=this.coll,n=this.series,a=n.length;for(;a--;)n[a]&&n[a].remove(!1);q(r.axes,this),q(r[s]||[],this),r.orderItems(s),this.destroy(),r.isDirtyBox=!0,ty(i,!0)&&r.redraw()}setTitle(i,r){this.update({title:i},r)}setCategories(i,r){this.update({categories:i},r)}}e5.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],function(i){function r(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new n(this))}i.compose=function(i){return i.keepProps.includes("dateTime")||(i.keepProps.push("dateTime"),i.prototype.getTimeTicks=r,B(i,"afterSetType",s)),i};
vendor: 7,045 bytes, line 20
20class n{constructor(i){this.axis=i}normalizeTimeTickInterval(i,r){let s=r||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],n=s[s.length-1],a=tD[n[0]],o=n[1],l,h;for(l=0;l<s.length;l++)if(a=tD[(n=s[l])[0]],o=n[1],s[l+1]){let r=(a*o[o.length-1]+tD[s[l+1][0]])/2;if(i<=r){h=r/i;break}}a===tD.year&&i<5*a&&(o=[1,2,5]);let c=tg(i/a,o,"year"===n[0]?Math.max(ti(i/a),1):1);return{unitRange:a,count:c,unitName:n[0],match:h}}getXDateFormat(i,r){let{axis:s}=this,n=s.chart.time;return s.closestPointRange?n.getDateFormat(s.closestPointRange,i,s.options.startOfWeek,r)||n.resolveDTLFormat(r.year).main:n.resolveDTLFormat(r.day).main}}i.Additions=n}(x||(x={}));let e4=x;!function(i){function r(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new n(this))}function s(){let i=this.logarithmic;i&&(this.lin2val=function(r){return i.lin2log(r)},this.val2lin=function(r){return i.log2lin(r)})}i.compose=function(i){return i.keepProps.includes("logarithmic")||(i.keepProps.push("logarithmic"),B(i,"afterSetType",r),B(i,"afterInit",s)),i};class n{constructor(i){this.axis=i}getLogTickPositions(i,r,s,n){let a=this.axis,o=a.len,l=a.options,h=[];if(n||(this.minorAutoInterval=void 0),i>=.5)i=Math.round(i),h=a.getLinearTickPositions(i,r,s);else if(i>=.08){let a,o,l,c,d,u,p,m=Math.floor(r);for(a=i>.3?[1,2,4]:i>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],o=m;o<s+1&&!p;o++)for(l=0,c=a.length;l<c&&!p;l++)(d=this.log2lin(this.lin2log(o)*a[l]))>r&&(!n||u<=s)&&void 0!==u&&h.push(u),u>s&&(p=!0),u=d}else{let c=this.lin2log(r),d=this.lin2log(s),u=n?a.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(n?5:1),m=n?o/a.tickPositions.length:o;i=tg(i=ty("auto"===u?null:u,this.minorAutoInterval,(d-c)*p/(m||1))),h=a.getLinearTickPositions(i,c,d).map(this.log2lin),n||(this.minorAutoInterval=i/5)}return n||(a.tickInterval=i),h}lin2log(i){return Math.pow(10,i)}log2lin(i){return Math.log(i)/Math.LN10}}i.Additions=n}(E||(E={}));let e8=E;!function(i){let r;function s(i){return this.addPlotBandOrLine(i,"plotBands")}function n(i,s){let n=this.userOptions,a=new r(this,i);if(this.visible&&(a=a.render()),a){if(this._addedPlotLB||(this._addedPlotLB=!0,(n.plotLines||[]).concat(n.plotBands||[]).forEach(i=>{this.addPlotBandOrLine(i)})),s){let r=n[s]||[];r.push(i),n[s]=r}this.plotLinesAndBands.push(a)}return a}function a(i){return this.addPlotBandOrLine(i,"plotLines")}function o(i,r,s){s=s||this.options;let n=this.getPlotLinePath({value:r,force:!0,acrossPanes:s.acrossPanes}),a=[],o=this.horiz,l=!th(this.min)||!th(this.max)||i<this.min&&r<this.min||i>this.max&&r>this.max,h=this.getPlotLinePath({value:i,force:!0,acrossPanes:s.acrossPanes}),c,d=1,u;if(h&&n)for(l&&(u=h.toString()===n.toString(),d=0),c=0;c<h.length;c+=2){let i=h[c],r=h[c+1],s=n[c],l=n[c+1];("M"===i[0]||"L"===i[0])&&("M"===r[0]||"L"===r[0])&&("M"===s[0]||"L"===s[0])&&("M"===l[0]||"L"===l[0])&&(o&&s[1]===i[1]?(s[1]+=d,l[1]+=d):o||s[2]!==i[2]||(s[2]+=d,l[2]+=d),a.push(["M",i[1],i[2]],["L",r[1],r[2]],["L",l[1],l[2]],["L",s[1],s[2]],["Z"])),a.isFlat=u}return a}function l(i){this.removePlotBandOrLine(i)}function h(i){let r=this.plotLinesAndBands,s=this.options,n=this.userOptions;if(r){let a=r.length;for(;a--;)r[a].id===i&&r[a].destroy();[s.plotLines||[],n.plotLines||[],s.plotBands||[],n.plotBands||[]].forEach(function(r){for(a=r.length;a--;)r[a]?.id===i&&q(r,r[a])})}}function c(i){this.removePlotBandOrLine(i)}i.compose=function(i,d){let u=d.prototype;return u.addPlotBand||(r=i,Z(u,{addPlotBand:s,addPlotLine:a,addPlotBandOrLine:n,getPlotBandPath:o,removePlotBand:l,removePlotLine:c,removePlotBandOrLine:h})),d}}(T||(T={}));let e6=T;class e9{static compose(i,r){return B(i,"afterInit",function(){this.labelCollectors.push(()=>{let i=[];for(let r of this.axes)for(let{label:s,options:n}of r.plotLinesAndBands)s&&!n?.label?.allowOverlap&&i.push(s);return i})}),e6.compose(e9,r)}constructor(i,r){this.axis=i,this.options=r,this.id=r.id}render(){$(this,"render");let{axis:i,options:r}=this,{chart:s,horiz:n,logarithmic:a}=i,{color:o,events:l,zIndex:h=0}=r,{renderer:c,time:d}=i.chart,u={},p=d.parse(r.to),m=d.parse(r.from),g=d.parse(r.value),f=r.borderWidth,A=r.label,{label:b,svgElem:y}=this,x=[],E,T=X(m)&&X(p),C=X(g),v=!y,S={class:"highcharts-plot-"+(T?"band ":"line ")+(r.className||"")},I=T?"bands":"lines";if(!s.styledMode&&(C?(S.stroke=o||"var(--highcharts-neutral-color-40)",S["stroke-width"]=ty(r.width,1),r.dashStyle&&(S.dashstyle=r.dashStyle)):T&&(S.fill=o||"var(--highcharts-highlight-color-10)",f&&(S.stroke=r.borderColor,S["stroke-width"]=f))),u.zIndex=h,I+="-"+h,(E=i.plotLinesAndBandsGroups[I])||(i.plotLinesAndBandsGroups[I]=E=c.g("plot-"+I).clip(s.plotClipOuter).attr(u).add()),y||(this.svgElem=y=c.path().attr(S).add(E)),X(g))x=i.getPlotLinePath({value:a?.log2lin(g)??g,lineWidth:y.strokeWidth(),acrossPanes:r.acrossPanes});else{if(!(X(m)&&X(p)))return;x=i.getPlotBandPath(a?.log2lin(m)??m,a?.log2lin(p)??p,r)}return!this.eventsAdded&&l&&(tf(l,(i,r)=>{y?.on(r,i=>{l[r].apply(this,[i,this])})}),this.eventsAdded=!0),(v||!y.d)&&x?.length?y.attr({d:x}):y&&(x?(y.show(),y.animate({d:x})):y.d&&(y.hide(),b&&(this.label=b=b.destroy()))),A&&(X(A.text)||X(A.formatter))&&x?.length&&i.width>0&&i.height>0&&!x.isFlat?(A=tm({align:n&&T?"center":void 0,x:n?!T&&4:10,verticalAlign:!n&&T?"middle":void 0,y:n?T?16:10:T?6:-4,rotation:n&&!T?90:0,...T?{inside:!0}:{}},A),this.renderLabel(A,x,T,h)):b&&b.hide(),this}renderLabel(i,r,s,n){let a=this.axis,o=a.chart.renderer,l=i.inside,h=this.label;h||(this.label=h=o.text(this.getLabelText(i),0,0,i.useHTML).attr({align:i.textAlign||i.align,rotation:i.rotation,class:"highcharts-plot-"+(s?"band":"line")+"-label "+(i.className||""),zIndex:n}),a.chart.styledMode||h.css(tm({color:a.chart.options.title?.style?.color,fontSize:"0.8em",textOverflow:s&&!l?"":"ellipsis"},i.style)),h.add());let c=r.xBounds||[r[0][1],r[1][1],s?r[2][1]:r[0][1]],d=r.yBounds||[r[0][2],r[1][2],s?r[2][2]:r[0][2]],u=F(c),p=F(d),m=H(c)-u;h.align(i,!1,{x:u,y:p,width:m,height:H(d)-p}),h.alignAttr.y-=o.fontMetrics(h).b,(!h.alignValue||"left"===h.alignValue||X(l))&&h.css({width:(i.style?.width||(s&&l?m:90===h.rotation?a.height-(h.alignAttr.y-a.top):(i.clip?a.width+a.left:a.chart.chartWidth)-h.alignAttr.x))+"px"}),h.show(!0)}getLabelText(i){return X(i.formatter)?i.formatter.call(this,this):i.text}destroy(){q(this.axis.plotLinesAndBands,this),delete this.axis,Q(this)}}let{animObject:e7}=t$,{format:it}=er,{composed:ie,dateFormats:ii,doc:ir,isSafari:is}=D,{distribute:ia}=es,io=i=>{clearTimeout(i.hideTimer),clearTimeout(i.showTimer)};class il{constructor(i,r,s){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=i,this.init(i,r),this.pointer=s}bodyFormatter(i){return i.map(i=>{let r=i.series.tooltipOptions,s=i.formatPrefix||"point";return(r[s+"Formatter"]||i.tooltipFormatter).call(i,r[s+"Format"]||"",i)})}
vendor: 4,077 bytes, line 20
20cleanSplit(i){this.chart.series.forEach(function(r){let s=r?.tt;s&&(!s.isActive||i?r.tt=s.destroy():s.isActive=!1)})}defaultFormatter(i){let r,s=this.points||tS(this);return(r=(r=[i.headerFooterFormatter(s[0])]).concat(i.bodyFormatter(s))).push(i.headerFooterFormatter(s[0],!0)),r}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),K(this.container)),ta(this.hideTimer),io(this)}getAnchor(i,r){let s,{chart:n,pointer:a}=this,o=n.inverted,l=n.plotTop,h=n.plotLeft;if(i=tS(i),i[0].series?.yAxis&&!i[0].series.yAxis.options.reversedStacks&&(i=i.slice().reverse()),this.followPointer&&r)void 0===r.chartX&&(r=a.normalize(r)),s=[r.chartX-h,r.chartY-l];else if(i[0].tooltipPos)s=i[0].tooltipPos;else{let n=0,a=0;i.forEach(function(i){let r=i.pos(!0);r&&(n+=r[0],a+=r[1])}),n/=i.length,a/=i.length,this.shared&&i.length>1&&r&&(o?n=r.chartX:a=r.chartY),s=[n-h,a-l]}let c={point:i[0],ret:s};return $(this,"getAnchor",c),c.ret.map(Math.round)}getClassName(i,r,s){let n=this.options,a=i.series,o=a.options;return[n.className,"highcharts-label",s&&"highcharts-tooltip-header",r?"highcharts-tooltip-box":"highcharts-tooltip",!s&&"highcharts-color-"+ty(i.colorIndex,a.colorIndex),o?.className].filter(tc).join(" ")}getLabel({anchorX:i,anchorY:r}={anchorX:0,anchorY:0}){let s=this,n=this.chart.styledMode,a=this.options,o=this.split&&this.allowShared,l=this.container,h=this.chart.renderer;if(this.label){let i=!this.label.hasClass("highcharts-label");(!o&&i||o&&!i)&&this.destroy()}if(!this.label){if(this.outside){let i=this.chart,r=i.options.chart.style;this.container=l=D.doc.createElement("div"),l.className="highcharts-container highcharts-tooltip-container "+(i.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),l.dataset.highchartsChart=i.index.toString(),z(l,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(a.style.zIndex||0,(r?.zIndex||0)+3)}),this.renderer=h=new eU(l,0,0,r,void 0,void 0,h.styledMode)}if(o?this.label=h.g("tooltip"):(this.label=h.label("",i,r,a.shape||"callout",void 0,void 0,a.useHTML,void 0,"tooltip").attr({padding:a.padding,r:a.borderRadius}),n||this.label.attr({fill:a.backgroundColor,"stroke-width":a.borderWidth??+!a.fixed}).css(a.style).css({pointerEvents:a.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),s.outside){let i=this.label;[i.xSetter,i.ySetter].forEach((r,n)=>{i[n?"ySetter":"xSetter"]=a=>{r.call(i,s.distance),i[n?"y":"x"]=a,l&&(l.style[n?"top":"left"]=`${a}px`)}})}this.label.attr({zIndex:8}).shadow(a.shadow??!a.fixed).add()}return l&&!l.parentElement&&D.doc.body.appendChild(l),this.label}getPlayingField(){let{body:i,documentElement:r}=ir,{chart:s,distance:n,outside:a}=this;return{width:a?Math.max(i.scrollWidth,r.scrollWidth,i.offsetWidth,r.offsetWidth,r.clientWidth)-2*n-2:s.chartWidth,height:a?Math.max(i.scrollHeight,r.scrollHeight,i.offsetHeight,r.offsetHeight,r.clientHeight):s.chartHeight}}getPosition(i,r,s){let{distance:n,chart:a,outside:o,pointer:l}=this,{inverted:h,plotLeft:c,plotTop:d,polar:u}=a,{plotX:p=0,plotY:m=0}=s,g={},f=h&&s.h||0,{height:A,width:b}=this.getPlayingField(),y=l.getChartPosition(),x=s=>{let l="x"===s;return[s,l?b:A,l?i:r].concat(o?[l?i*y.scaleX:r*y.scaleY,l?y.left-n+(p+c)*y.scaleX:y.top-n+(m+d)*y.scaleY,0,l?b:A]:[l?i:r,l?p+c:m+d,l?c:d,l?c+a.plotWidth:d+a.plotHeight])},E=x("y"),T=x("x"),C,v=!!s.negative;!u&&a.hoverSeries?.yAxis?.reversed&&(v=!v);let S=!this.followPointer&&ty(s.ttBelow,!u&&!h===v),I=function(i,r,s,a,l,h,c){let d=o?"y"===i?n*y.scaleY:n*y.scaleX:n,u=(s-a)/2,p=a<l-n,m=l+n+a<r,A=l-d-s+u,b=l+d-u;if(S&&m)g[i]=b;else if(!S&&p)g[i]=A;else if(p)g[i]=Math.min(c-a,A-f<0?A:A-f);else{if(!m)return g[i]=0,!1;g[i]=Math.max(h,b+f+s>r?b:b+f)}},w=function(i,r,s,a,o){if(o<n||o>r-n)return!1;o<s/2?g[i]=1:o>r-a/2?g[i]=r-a-2:g[i]=o-s/2},_=function(i){[E,T]=[T,E],C=i},k=()=>{!1!==I.apply(0,E)?!1!==w.apply(0,T)||C||(_(!0),k()):C?g.x=g.y=0:(_(!0),k())};return(h&&!u||this.len>1)&&_(),k(),o&&(g.x-=y.left,g.y-=y.top),g}
vendor: 5,470 bytes, line 20
20getFixedPosition(i,r,s){let n=s.series,{chart:a,options:o,split:l}=this,h=o.position,c=h.relativeTo,d=o.shared||n?.yAxis?.isRadial&&("pane"===c||!c)?"plotBox":c,u="chart"===d?a.renderer:a[d]||a.getClipBox(n,!0);return{x:u.x+(u.width-i)*tt(h.align)+h.x,y:u.y+(u.height-r)*tt(h.verticalAlign)+(!l&&h.y||0)}}hide(i){let r=this;io(this),i=ty(i,this.options.hideDelay),this.isHidden||(this.hideTimer=tw(function(){let s=r.getLabel();r.getLabel().animate({opacity:0},{duration:i?150:i,complete:()=>{s.hide(),r.container&&r.container.remove()}}),r.isHidden=!0},i))}init(i,r){this.chart=i,this.options=r,this.crosshairs=[],this.isHidden=!0,this.split=r.split&&!i.inverted&&!i.polar,this.shared=r.shared||this.split,this.outside=ty(r.outside,!!(i.scrollablePixelsX||i.scrollablePixelsY))}shouldStickOnContact(i){return!!(!this.followPointer&&this.options.stickOnContact&&(!i||this.pointer.inClass(i.target,"highcharts-tooltip")))}move(i,r,s,n){let{followPointer:a,options:o}=this,l=e7(!a&&!this.isHidden&&!o.fixed&&o.animation),h=a||(this.len||0)>1,c={x:i,y:r};h?c.anchorX=c.anchorY=NaN:(c.anchorX=s,c.anchorY=n),l.step=()=>this.drawTracker(),this.getLabel().animate(c,l)}refresh(i,r){let s=this,{chart:n,options:a,pointer:o,shared:l}=this,h=tS(i),c=h[0],d=a.format,u=a.formatter||s.defaultFormatter,p=n.styledMode,m=s.allowShared;if(!a.enabled||!c.series)return;io(this),s.allowShared=!(!td(i)&&i.series&&i.series.noSharedTooltip),m=m&&!s.allowShared,s.followPointer=!s.split&&c.series.tooltipOptions.followPointer;let g=s.getAnchor(i,r),f=g[0],A=g[1];l&&s.allowShared&&(o.applyInactiveState(h),h.forEach(i=>i.setState("hover")),c.points=h),this.len=h.length;let b=tc(d)?it(d,c,n):u.call(c,s,c);c.points=void 0;let y=c.series;this.distance=ty(y.tooltipOptions.distance,16),!1===b?this.hide():this.showTimer=tw(()=>{if(s.split&&s.allowShared)s.renderSplit(b,h);else{let i=f,l=A;if(r&&o.isDirectTouch&&(i=r.chartX-n.plotLeft,l=r.chartY-n.plotTop),!(n.polar||!1===y.options.clip||h.some(r=>o.isDirectTouch||r.series.shouldShowTooltip(i,l))))return void s.hide();{let i=s.getLabel(m&&s.tt||{});(!a.style.width||p)&&i.css({width:(this.outside?this.getPlayingField():n.spacingBox).width-2*a.padding+"px"}),i.attr({class:s.getClassName(c),text:td(b)?b.join(""):b}),this.outside&&i.attr({x:U(i.x||0,0,this.getPlayingField().width-(i.width||0)-1)}),p||i.attr({stroke:a.borderColor||c.color||y.color||"var(--highcharts-neutral-color-60)"}),s.updatePosition({plotX:f,plotY:A,negative:c.negative,ttBelow:c.ttBelow,series:y,h:g[2]||0})}}s.isHidden&&s.label&&s.label.attr({opacity:1}).show(),s.isHidden=!1},s.isHidden&&a.showDelay||0),$(this,"refresh")}renderSplit(i,r){let s=this,{chart:n,chart:{chartWidth:a,chartHeight:o,plotHeight:l,plotLeft:h,plotTop:c,scrollablePixelsY:d=0,scrollablePixelsX:u,styledMode:p},distance:m,options:g,options:{fixed:f,position:A,positioner:b},pointer:y}=s,{scrollLeft:x=0,scrollTop:E=0}=n.scrollablePlotArea?.scrollingContainer||{},T=s.outside&&"number"!=typeof u?ir.documentElement.getBoundingClientRect():{left:x,right:x+a,top:E,bottom:E+o},C=s.getLabel(),v=this.renderer||n.renderer,S=!!n.xAxis[0]?.opposite,{left:I,top:w}=y.getChartPosition(),_=b||f,k=c+E,N=0,M=l-d,L=function(i,r,n,a,o=[0,0],l=!0){let h,c;if(n.isHeader)c=S?0:M,h=U(o[0]-i/2,T.left,T.right-i-(s.outside?I:0));else if(f&&n){let a=s.getFixedPosition(i,r,n);h=a.x,c=a.y-k}else c=o[1]-k,h=U(h=l?o[0]-i-m:o[0]+m,l?h:T.left,T.right);return{x:h,y:c}};tc(i)&&(i=[!1,i]);let D=i.slice(0,r.length+1).reduce(function(i,n,a){if(!1!==n&&""!==n){let o=r[a-1]||{isHeader:!0,plotX:r[0].plotX,plotY:l,series:{}},d=o.isHeader,u=d?s:o.series,A=u.tt=function(i,r,n){let a=i,{isHeader:o,series:l}=r,h=l.tooltipOptions||g,c=o?tm(h,h.header):h;if(!a){let i={padding:h.padding,r:h.borderRadius};p||(i.fill=c.backgroundColor,i["stroke-width"]=c.borderWidth??+!h.fixed),a=v.label("",0,0,c.shape||(f&&!o?"rect":"callout"),void 0,void 0,h.useHTML).addClass(s.getClassName(r,!0,o)).attr(i).add(C)}return a.isActive=!0,p||a.css(c.style),a.attr({text:n}),p||a.attr({stroke:c.borderColor||r.color||l.color||"var(--highcharts-neutral-color-80)"}),a}(u.tt,o,n.toString()),y=A.getBBox(),x=y.width+A.strokeWidth();d&&(N=y.height+g.header.distance,M+=N,S&&(k-=N));let{anchorX:E,anchorY:I}=function(i){let r,s,{isHeader:n,plotX:a=0,plotY:o=0,series:d}=i;if(n)r=Math.max(h+a,h),s=c+l/2;else{let{xAxis:i,yAxis:n}=d;r=i.pos+U(a,-m,i.len+m),d.shouldShowTooltip(0,n.pos-c+o,{ignoreX:!0})&&(s=n.pos+o)}return{anchorX:r=U(r,T.left-m,T.right+m),anchorY:s}}(o);if("number"==typeof I){let r=y.height+1,n=(b||L).call(s,x,r,o,s,[E,I]);i.push({align:_?0:void 0,anchorX:E,anchorY:I,boxWidth:x,point:o,rank:ty(n.rank,+!!d),size:r,target:n.y,tt:A,x:n.x})}else A.isActive=!1}return i},[]);!_&&D.some(i=>{let{outside:r}=s,n=(r?I:0)+i.anchorX;return n<T.left&&n+i.boxWidth<T.right||n<I-T.left+i.boxWidth&&T.right-n>n})&&(D=D.map(i=>{let{x:r,y:s}=L.call(this,i.boxWidth,i.size,i.point,void 0,[i.anchorX,i.anchorY],!1);return Z(i,{target:s,x:r})})),s.cleanSplit(),ia(D,M);let O={left:I,right:I};D.forEach(function(i){let{x:r,boxWidth:n,isHeader:a}=i;!a&&(s.outside&&I+r<O.left&&(O.left=I+r),s.outside&&O.left+n>O.right&&(O.right=I+r))}),D.forEach(function(i){let{x:r,anchorX:n,anchorY:a,pos:o,point:{isHeader:l}}=i,h={visibility:void 0===o?"hidden":"inherit",x:r,y:(o||0)+k+(f&&A.y||0),anchorX:n,anchorY:a};if(s.outside&&r<n){let i=I-O.left;i>0&&(h.x=l?(O.right-O.left)/2:r+i,h.anchorX=n+i)}i.tt.attr(h)});let{container:P,outside:R,renderer:B}=s;
20if(R&&P&&B){let{width:i,height:r,x:s,y:n}=C.getBBox();B.setSize(i+s,r+n,!1),P.style.left=O.left+"px",P.style.top=w+"px"}is&&C.attr({opacity:1===C.opacity?.999:1})}drawTracker(){let i=this;if(!this.shouldStickOnContact()){i.tracker&&(i.tracker=i.tracker.destroy());return}let r=i.chart,s=i.label,n=i.shared?r.hoverPoints:r.hoverPoint;if(!s||!n)return;let a={x:0,y:0,width:0,height:0},o=this.getAnchor(n),l=s.getBBox();o[0]+=r.plotLeft-(s.translateX||0),o[1]+=r.plotTop-(s.translateY||0),a.x=Math.min(0,o[0]),a.y=Math.min(0,o[1]),a.width=o[0]<0?Math.max(Math.abs(o[0]),l.width-o[0]):Math.max(Math.abs(o[0]),l.width),a.height=o[1]<0?Math.max(Math.abs(o[1]),l.height-Math.abs(o[1])):Math.max(Math.abs(o[1]),l.height),i.tracker?i.tracker.attr(a):(i.tracker=s.renderer.rect(a).addClass("highcharts-tracker").add(s),B(i.tracker.element,"mouseenter",()=>io(i)),r.styledMode||i.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(i){return i.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(i,r){let s=i.series,n=s.tooltipOptions,a=s.xAxis,o=a?.dateTime,l={isFooter:r,point:i},h=n.xDateFormat||"",c=n[r?"footerFormat":"headerFormat"];return $(this,"headerFormatter",l,function(r){if(o&&!h&&th(i.key)&&(h=o.getXDateFormat(i.key,n.dateTimeLabelFormats)),o&&h){if(tp(h)){let i=h;ii[0]=r=>s.chart.time.dateFormat(i,r),h="%0"}
vendor: 4,801 bytes, line 20
20(i.tooltipDateKeys||["key"]).forEach(i=>{c=c.replace(RegExp("point\\."+i+"([ \\)}])"),`(point.${i}:${h})$1`)})}s.chart.styledMode&&(c=this.styledModeFormat(c)),r.text=it(c,i,this.chart)}),l.text||""}update(i){this.destroy(),this.init(this.chart,tm(!0,this.options,i))}updatePosition(i){let{chart:r,container:s,distance:n,options:a,pointer:o,renderer:l}=this,{height:h=0,width:c=0}=this.getLabel(),{fixed:d,positioner:u}=a,{left:p,top:m,scaleX:g,scaleY:f}=o.getChartPosition(),A=(u||d&&this.getFixedPosition||this.getPosition).call(this,c,h,i,this),b=D.doc,y=(i.plotX||0)+r.plotLeft,x=(i.plotY||0)+r.plotTop,E;if(l&&s){if(A.x+=p,A.y+=m,u||d){let{scrollLeft:i=0,scrollTop:s=0}=r.scrollablePlotArea?.scrollingContainer||{};A.x+=i,A.y+=s}E=(a.borderWidth??+!d)+2*n+2,l.setSize(U(c+E,0,b.documentElement.clientWidth)-1,h+E,!1),(1!==g||1!==f)&&(z(s,{transform:`scale(${g}, ${f})`}),y*=g,x*=f),y+=p-A.x,x+=m-A.y}this.move(Math.round(A.x),Math.round(A.y||0),y,x)}}(c=il||(il={})).compose=function(i){tE(ie,"Core.Tooltip")&&B(i,"afterInit",function(){let i=this.chart;i.options.tooltip&&(i.tooltip=new c(i,i.options.tooltip,this))})};let ih=il,{animObject:ic}=t$,{defaultOptions:id}=tW,{format:iu}=er;class ip{constructor(i,r,s){this.formatPrefix="point",this.visible=!0,this.point=this,this.series=i,this.applyOptions(r,s),this.id??(this.id=tO()),this.resolveColor(),this.dataLabelOnNull??(this.dataLabelOnNull=i.options.nullInteraction),i.chart.pointCount++,this.category=i.xAxis?.categories?.[this.x]??this.x,this.key=this.name??this.category,$(this,"afterInit")}applyOptions(i,r,s){let n=this.series,a=n.options.pointValKey||n.pointValKey;return Z(this,i=ip.prototype.optionsToObject.call(this,i)),this.options?this.options=n.chart.options.chart.allowMutatingData?Z(this.options,i):tm(this.options,i):this.options=i,a&&(this.y=ip.prototype.getNestedProperty.call(this,a)),th(r)&&(this.x=r),s||(this.selected&&(this.state="select"),i.group&&delete this.group,i.dataLabels&&delete this.dataLabels,this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point"),this}getOrigin({x:i=0,y:r=0},s={}){let{graphic:n,series:a}=this;if(a.chart.inverted&&n?.parentGroup&&!n?.parentGroup?.rotation){let s=this.pos(!1,i,r);s&&(i=s[0],r=s[1])}i-=(s.width||0)/2,r-=(s.height||0)/2;let o={x:i};return a.is("column")||this.plotHigh||(o.y=r),o}destroy(){if(!this.condemned){let i=this,r=i.series,s=r.chart,n=s.hoverPoints,{duration:a}=ic(i.series.chart.renderer.globalAnimation),o=()=>{for(let r in(i.graphic||i.graphics||i.dataLabel||i.dataLabels)&&(tv(i),i.destroyElements()),i)delete i[r]};i.legendItem&&s.legend.destroyItem(i),n&&(i.setState(),q(n,i),n.length||(s.hoverPoints=void 0)),i===s.hoverPoint&&i.onMouseOut(),a&&r.condemnedPoints?(r.condemnedPoints.push(this),this.graphic?.addClass("highcharts-point-condemned"),setTimeout(o,a)):o(),s.pointCount--}this.condemned=!0}destroyElements(i={graphic:1,dataLabel:1}){let r,s,n=this,a=[];for(i.graphic&&a.push("graphic","connector"),i.dataLabel&&a.push("dataLabel","dataLabelPath","dataLabelUpper"),s=a.length;s--;)n[r=a[s]]&&(n[r]=n[r].destroy());["graphic","dataLabel"].forEach(r=>{let s=`${r}s`;i[r]&&n[s]&&(n[s].forEach(i=>{i?.element&&i.destroy()}),delete n[s])})}firePointEvent(i,r,s){let n=this,a=this.series.options;n.manageEvent(i),"click"===i&&a.allowPointSelect&&(s=function(i){!n.condemned&&n.select&&n.select(null,i.ctrlKey||i.metaKey||i.shiftKey)}),$(n,i,r,s)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative&&!1!==this.series.options.negativeColor?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone?.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getNestedProperty(i){if(i)return 0===i.indexOf("custom.")?tr(i,this.options):this[i]}getZone(){let i=this.series,r=i.zones,s=i.zoneAxis||"y",n,a=0;for(n=r[0];this[s]>=n.value;)n=r[++a];return this.nonZonedColor||(this.nonZonedColor=this.color),n?.color&&!this.options.color?this.color=n.color:this.color=this.nonZonedColor,n}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}isValid(){return(th(this.x)||this.x instanceof Date)&&th(this.y)}optionsToObject(i){let r=this.series,s=r.options.keys,n=s||r.pointArrayMap||["y"],a=n.length,o={},l,h=0,c=0;if(th(i)||null===i)o[n[0]]=i;else if(td(i))for(!s&&i.length>a&&("string"==(l=typeof i[0])?r.xAxis?.dateTime?o.x=r.chart.time.parse(i[0]):o[r.tupleKey||"name"]=i[0]:"number"===l&&(o.x=i[0]),h++);c<a;)s&&void 0===i[h]||(o[n[c]]=i[h]),h++,c++;else"object"==typeof i&&(o=i,i.dataLabels&&(r.hasDataLabels=()=>!0),i.marker&&(r._hasPointMarkers=!0));
vendor: 6,728 bytes, line 20
20return(s||!r.options.data)&&Object.keys(o).forEach(i=>{i.indexOf(".")>0&&(ip.prototype.setNestedProperty(o,o[i],i),delete o[i])}),o}pos(i,r=this.plotX,s=this.plotY){let{series:n}=this,{chart:a,xAxis:o,yAxis:l}=n||{},h=0,c=0;if(a&&th(r)&&th(s))return i&&(h=o?o.pos:a.plotLeft,c=l?l.pos:a.plotTop),a.inverted&&o&&l?[l.len-s+c,o.len-r+h]:[r+h,s+c]}resolveColor(){let{options:i,series:r}=this,s=r.chart,n=s.options.chart,a=s.styledMode,o,l=n.colorCount,h;if(delete this.nonZonedColor,r.options.colorByPoint){if(!a){let i=r.options.colors||s.options.colors;o=i?.[r.colorCounter],l=i?.length}h=r.colorCounter,r.colorCounter++,r.colorCounter===l&&(r.colorCounter=0)}else a||(o=r.color),h=r.colorIndex;this.colorIndex=i.colorIndex??h,this.color=i.color??o}setNestedProperty(i,r,s){return s.split(".").reduce(function(i,s,n,a){let o=a.length-1===n;return i[s]=o?r:tp(i[s],!0)?i[s]:{},i[s]},i),i}shouldDraw(){return!this.isNull}tooltipFormatter(i){let{chart:r,pointArrayMap:s=["y"],tooltipOptions:n}=this.series,{valueDecimals:a="",valuePrefix:o="",valueSuffix:l=""}=n;return r.styledMode&&(i=r.tooltip?.styledModeFormat(i)||i),s.forEach(r=>{r="{point."+r,(o||l)&&(i=i.replace(RegExp(r+"}","g"),o+r+"}"+l)),i=i.replace(RegExp(r+"}","g"),r+":,."+a+"f}")}),iu(i,this,r)}update(i,r=!0,s,n){let a=this,o=a.series,l=a.graphic,h=o.chart,c=o.options,d=c.data;function u(){a.applyOptions(i);let n=l&&a.hasMockGraphic,u=a.index,p=null===a.y?!n:n;l&&p&&(a.graphic=l.destroy(),delete a.hasMockGraphic),tp(i,!0)&&(l?.element&&i?.marker&&void 0!==i.marker.symbol&&(a.graphic=l.destroy()),i?.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()));let m=a.optionsToObject(i);!o.hasProcessedDataTable&&(o.dataTable.setRow(m,u),d&&(d[u]=tp(d[u],!0)||tp(i,!0)?a.options:i??d[u])),o.isDirty=o.isDirtyData=!0,"x"in m&&(tc(m.x)&&(o.xColumnIsNumbers=void 0),a.x=o.getX(m.x),a.isNull=a.isValid&&!a.isValid(),o.xColumn&&(o.xColumn[u]=a.x)),!o.fixedBox&&o.hasCartesianSeries&&(h.isDirtyBox=!0),"point"===c.legendType&&(h.isDirtyLegend=!0),r&&h.redraw(s)}!1===n?u():a.firePointEvent("update",{options:i},u)}remove(i,r){this.series.removePoint(this.series.data.indexOf(this),i,r)}select(i,r){let s=this,n=s.series,a=n.chart;i=ty(i,!s.selected),this.selectedStaging=i,s.firePointEvent(i?"select":"unselect",{accumulate:r},function(){s.selected=s.options.selected=i,n.options.data&&(n.options.data[n.data.indexOf(s)]=s.options),s.setState(i&&"select"),r||a.getSelectedPoints().forEach(function(i){let r=i.series,n=r.options;i.selected&&i!==s&&(i.selected=i.options.selected=!1,n.data&&(n.data[r.data.indexOf(i)]=i.options),i.setState(a.hoverPoints&&n.inactiveOtherPoints?"inactive":""),i.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(i){let{inverted:r,pointer:s}=this.series.chart;s&&(i=i?s.normalize(i):s.getChartCoordinatesFromPoint(this,r),s.runPointActions(i,this))}onMouseOut(){if(!this.series)return;let i=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(i.hoverPoints||[]).forEach(function(i){i.setState()}),i.hoverPoints=i.hoverPoint=null}manageEvent(i){let r=tm(this.series.options.point,this.options),s=r.events?.[i];tu(s)&&(!this.hcEvents?.[i]||this.hcEvents?.[i]?.map(i=>i.fn).indexOf(s)===-1)?(this.importedUserEvent?.(),this.importedUserEvent=B(this,i,s),this.hcEvents&&(this.hcEvents[i].userEvent=!0)):this.importedUserEvent&&!s&&this.hcEvents?.[i]&&this.hcEvents?.[i].userEvent&&(tv(this,i),delete this.hcEvents[i],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(i,r){let s=this.series,n=this.state,a=s.options.states[i||"normal"]||{},o=id.plotOptions[s.type].marker&&s.options.marker,l=o&&!1===o.enabled,h=o?.states?.[i||"normal"]||{},c=!1===h.enabled,d=this.marker||{},u=s.chart,p=o&&s.markerAttribs,m=s.halo,g,f,A,b=s.stateMarkerGraphic,y;if((i=i||"")===this.state&&!r||this.selected&&"select"!==i||!1===a.enabled||i&&(c||l&&!1===h.enabled)||i&&d.states&&d.states[i]&&!1===d.states[i].enabled)return;if(this.state=i,p&&(g=s.markerAttribs(this,i)),this.graphic&&!this.hasMockGraphic){if(n&&this.graphic.removeClass("highcharts-point-"+n),i&&this.graphic.addClass("highcharts-point-"+i),!u.styledMode){f=s.pointAttribs(this,i),A=ty(u.options.chart.animation,a.animation);let r=f.opacity;s.options.inactiveOtherPoints&&th(r)&&(this.dataLabels||[]).forEach(function(i){i&&!i.hasClass("highcharts-data-label-hidden")&&(i.animate({opacity:r},A),i.connector&&i.connector.animate({opacity:r},A))}),this.graphic.animate(f,A)}g&&this.graphic.animate(g,ty(u.options.chart.animation,h.animation,o.animation)),b&&b.hide()}else i&&h&&(y=d.symbol||s.symbol,b&&b.currentSymbol!==y&&(b=b.destroy()),g&&(b?b[r?"animate":"attr"]({x:g.x,y:g.y}):y&&(s.stateMarkerGraphic=b=u.renderer.symbol(y,g.x,g.y,g.width,g.height,tm(o,h)).add(s.markerGroup),b.currentSymbol=y)),!u.styledMode&&b&&"inactive"!==this.state&&b.attr(s.pointAttribs(this,i))),b&&(b[i&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));let x=a.halo,E=this.graphic||b,T=E?.visibility||"inherit";x?.size&&E&&"hidden"!==T&&!this.isCluster?(m||(s.halo=m=u.renderer.path().add(E.parentGroup)),m.show()[r?"animate":"attr"]({d:this.haloPath(x.size)}),m.attr({class:"highcharts-halo highcharts-color-"+ty(this.colorIndex,s.colorIndex)+(this.className?" "+this.className:""),visibility:T,zIndex:-1}),m.point=this,u.styledMode||m.attr(Z({fill:this.color||s.color,"fill-opacity":x.opacity},t4.filterUserAttributes(x.attributes||{})))):m?.point?.haloPath&&!m.point.destroyed&&m.animate({d:m.point.haloPath(0)},null,m.hide),$(this,"afterSetState",{state:i})}haloPath(i){let r=this.pos();return r?this.series.chart.renderer.symbols.circle(j(r[0],1)-i,r[1]-i,2*i,2*i):[]}}let im=ip,{charts:ig,composed:iA,isTouchDevice:ib}=D,iy=(i,r)=>!X(r)||i[`${r}Key`];class ix{applyInactiveState(i=[]){let r=[];for(let s of(i.forEach(i=>{let s=i.series;r.push(s),s.linkedParent&&r.push(s.linkedParent),s.linkedSeries&&r.push.apply(r,s.linkedSeries),s.navigatorSeries&&r.push(s.navigatorSeries),s.boosted&&s.markerGroup&&r.push.apply(r,this.chart.series.filter(i=>i.markerGroup===s.markerGroup))}),this.chart.series)){let i=s.options;i.states?.inactive?.enabled!==!1&&(-1===r.indexOf(s)?s.setState("inactive",!0):i.inactiveOtherPoints&&s.setAllPointsToState("inactive"))}}destroy(){let i=this;this.eventsToUnbind.forEach(i=>i()),this.eventsToUnbind=[],!D.chartCount&&(ix.unbindDocumentMouseUp.forEach(i=>i.unbind()),ix.unbindDocumentMouseUp.length=0,ix.unbindDocumentTouchEnd&&(ix.unbindDocumentTouchEnd=ix.unbindDocumentTouchEnd())),tf(i,function(r,s){i[s]=void 0})}getSelectionMarkerAttrs(i,r){let s={args:{chartX:i,chartY:r},attrs:{},shapeType:"rect"};return $(this,"getSelectionMarkerAttrs",s,s=>
vendor: 8,773 bytes, line 20
20{let n,{chart:a,zoomHor:o,zoomVert:l}=this,{mouseDownX:h=0,mouseDownY:c=0}=a,d=s.attrs;d.x=a.plotLeft,d.y=a.plotTop,d.width=o?1:a.plotWidth,d.height=l?1:a.plotHeight,o&&(d.width=Math.max(1,Math.abs(n=i-h)),d.x=(n>0?0:n)+h),l&&(d.height=Math.max(1,Math.abs(n=r-c)),d.y=(n>0?0:n)+c)}),s}drag(i){let{chart:r}=this,{mouseDownX:s=0,mouseDownY:n=0}=r,{panning:a,panKey:o,selectionMarkerFill:l}=r.options.chart,h=r.plotLeft,c=r.plotTop,d=r.plotWidth,u=r.plotHeight,p=tp(a)?a.enabled:a,m=o&&i[`${o}Key`],g=i.chartX,f=i.chartY,A,b=this.selectionMarker;if((!b||!b.touch)&&(g<h?g=h:g>h+d&&(g=h+d),f<c?f=c:f>c+u&&(f=c+u),this.hasDragged=Math.sqrt(Math.pow(s-g,2)+Math.pow(n-f,2)),this.hasDragged>10)){A=r.isInsidePlot(s-h,n-c,{visiblePlotOnly:!0});let{shapeType:d,attrs:u}=this.getSelectionMarkerAttrs(g,f);this.hasZoom&&A&&!m&&!b&&(this.selectionMarker=b=r.renderer[d](),b.attr({class:"highcharts-selection-marker",zIndex:7}).add(),r.styledMode||b.attr({fill:l})),b&&b.attr(u),A&&!b&&p&&iy(i,o)&&r.pan(i,a)}}dragStart(i){let r=this.chart;r.mouseIsDown=i.type,r.cancelClick=!1,r.mouseDownX=i.chartX,r.mouseDownY=i.chartY}getSelectionBox(i){let r={args:{marker:i},result:i.getBBox()};return $(this,"getSelectionBox",r),r.result}drop(i){let r,{chart:s,selectionMarker:n}=this;for(let i of s.axes)i.isPanning&&(i.isPanning=!1,(i.options.startOnTick||i.options.endOnTick||i.series.some(i=>i.boosted))&&(i.forceRedraw=!0,i.setExtremes(i.userMin,i.userMax,!1),r=!0));if(r&&s.redraw(),n&&i){if(this.hasDragged){let r=this.getSelectionBox(n);s.transform({axes:s.axes.filter(i=>i.zoomEnabled&&("xAxis"===i.coll&&this.zoomX||"yAxis"===i.coll&&this.zoomY)),selection:{originalEvent:i,xAxis:[],yAxis:[],...r},from:r})}th(s.index)&&(this.selectionMarker=n.destroy())}s&&th(s.index)&&(z(s.container,{cursor:s._cursor}),s.cancelClick=this.hasDragged>10,s.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[],this.hasPinchMoved=!1)}findNearestKDPoint(i,r,s){let n;return i.forEach(function(i){var a;let o,l,h,c=!(i.noSharedTooltip&&r)&&0>i.options.findNearestPointBy.indexOf("y"),d=i.searchPoint(s,c);tp(d,!0)&&d.series&&(!tp(n,!0)||(o=(a=n).distX-d.distX,l=a.dist-d.dist,h=d.series.group?.zIndex-a.series.group?.zIndex,(0!==o&&r?o:0!==l?l:0!==h?h:a.series.index>d.series.index?-1:1)>0))&&(n=d)}),n}getChartCoordinatesFromPoint(i,r){let{xAxis:s,yAxis:n}=i.series,a=i.shapeArgs;if(s&&n){let o=i.clientX??i.plotX??0,l=i.plotY||0;return i.isNode&&a&&th(a.x)&&th(a.y)&&(o=a.x,l=a.y),r?{chartX:n.len+n.pos-l,chartY:s.len+s.pos-o}:{chartX:o+s.pos,chartY:l+n.pos}}if(a?.x&&a.y)return{chartX:a.x,chartY:a.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:i}=this.chart,r=tA(i);this.chartPosition={left:r.left,top:r.top,scaleX:1,scaleY:1};let{offsetHeight:s,offsetWidth:n}=i;return n>2&&s>2&&(this.chartPosition.scaleX=r.width/n,this.chartPosition.scaleY=r.height/s),this.chartPosition}getCoordinates(i){let r={xAxis:[],yAxis:[]};for(let s of this.chart.axes)r[s.isXAxis?"xAxis":"yAxis"].push({axis:s,value:s.toValue(i[s.horiz?"chartX":"chartY"])});return r}getHoverData(i,r,s,n,a,o){let l=[],h=function(i){return i.visible&&!(!a&&i.directTouch)&&ty(i.options.enableMouseTracking,!0)},c=r,d,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:a};$(this,"beforeGetHoverData",u),d=c&&!c.stickyTracking?[c]:s.filter(i=>i.stickyTracking&&(u.filter||h)(i));let p=n&&i||!o?i:this.findNearestKDPoint(d,a,o);return c=p?.series,p&&(a&&!c.noSharedTooltip?(d=s.filter(function(i){return u.filter?u.filter(i):h(i)&&!i.noSharedTooltip})).forEach(function(i){let r=i.options?.nullInteraction,s=tn(i.points,function(i){return i.x===p.x&&(!i.isNull||!!r)});tp(s)&&(i.boosted&&i.boost&&(s=i.boost.getPoint(s)),l.push(s))}):l.push(p)),$(this,"afterGetHoverData",u={hoverPoint:p}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:l}}getPointFromEvent(i){let r=i.target,s;for(;r&&!s;)s=r.point,r=r.parentNode;return s}onTrackerMouseOut(i){let r=this.chart,s=i.relatedTarget,n=r.hoverSeries;this.isDirectTouch=!1,!n||!s||n.stickyTracking||this.inClass(s,"highcharts-tooltip")||this.inClass(s,"highcharts-series-"+n.index)&&this.inClass(s,"highcharts-tracker")||n.onMouseOut()}inClass(i,r){let s=i,n;for(;s;){if(n=G(s,"class")){if(-1!==n.indexOf(r))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}s=s.parentElement}}constructor(i,r){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=r,this.chart=i,this.runChartClick=!!r.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),$(this,"afterInit")}normalize(i,r){let s=i.touches,n=s?s.length?s.item(0):ty(s.changedTouches,i.changedTouches)[0]:i;r||(r=this.getChartPosition());let a=n.pageX-r.left,o=n.pageY-r.top;return Z(i,{chartX:Math.round(a/=r.scaleX),chartY:Math.round(o/=r.scaleY)})}onContainerClick(i){let r=this.chart,s=r.hoverPoint,n=this.normalize(i),a=r.plotLeft,o=r.plotTop;!r.cancelClick&&(s&&this.inClass(n.target,"highcharts-tracker")?($(s.series,"click",Z(n,{point:s})),r.hoverPoint&&s.firePointEvent("click",n)):(Z(n,this.getCoordinates(n)),r.isInsidePlot(n.chartX-a,n.chartY-o,{visiblePlotOnly:!0})&&$(r,"click",n)))}onContainerMouseDown(i){let r=(1&(i.buttons||i.button))==1;i=this.normalize(i),D.isFirefox&&0!==i.button&&this.onContainerMouseMove(i),(void 0===i.button||r)&&(this.zoomOption(i),r&&i.preventDefault?.(),this.dragStart(i))}onContainerMouseLeave(i){let{pointer:r}=ig[ty(ix.hoverChartIndex,-1)]||{};i=this.normalize(i),this.onContainerMouseMove(i),r&&!this.inClass(i.relatedTarget,"highcharts-tooltip")&&(r.reset(),r.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(i){let r=this.chart,s=r.tooltip,n=this.normalize(i);this.setHoverChartIndex(i),("mousedown"===r.mouseIsDown||this.touchSelect(n))&&this.drag(n),!r.exporting?.openMenu&&(this.inClass(n.target,"highcharts-tracker")||r.isInsidePlot(n.chartX-r.plotLeft,n.chartY-r.plotTop,{visiblePlotOnly:!0}))&&!s?.shouldStickOnContact(n)&&(this.inClass(n.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(n))}onDocumentTouchEnd(i){this.onDocumentMouseUp(i)}onContainerTouchMove(i){this.touchSelect(i)?this.onContainerMouseMove(i):this.touch(i)}onContainerTouchStart(i){this.touchSelect(i)?this.onContainerMouseDown(i):(this.zoomOption(i),this.touch(i,!0))}onDocumentMouseMove(i){let r=this.chart,s=r.tooltip,n=this.chartPosition,a=this.normalize(i,n);!n||r.isInsidePlot(a.chartX-r.plotLeft,a.chartY-r.plotTop,{visiblePlotOnly:!0})||s?.shouldStickOnContact(a)||a.target!==r.container.ownerDocument&&this.inClass(a.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(i){i?.touches&&this.hasPinchMoved&&i?.preventDefault?.(),ig[ty(ix.hoverChartIndex,-1)]?.pointer?.drop(i)}pinch(i){let r=this,{chart:s,hasZoom:n,lastTouches:a}=r,o=[].map.call(i.touches||[],i=>r.normalize(i)),l=o.length,h=1===l&&(r.inClass(i.target,"highcharts-tracker")&&s.runTrackerClick||r.runChartClick),c=1===l&&(s.tooltip?.options.followTouchMove??!0);l>1?r.initiated=!0:c&&(r.initiated=!1),n&&r.initiated&&!h&&!1!==i.cancelable&&i.preventDefault(),"touchstart"===i.type?(r.pinchDown=o,r.res=!0,s.mouseDownX=i.chartX):c?this.runPointActions(r.normalize(i)):a&&($(s,"touchpan",{originalEvent:i,touches:o},()=>{let r=i=>{let r=i[0],s=i[1]||r;return{x:r.chartX,y:r.chartY,width:s.chartX-r.chartX,height:s.chartY-r.chartY}};s.transform({axes:s.axes.filter(i=>i.zoomEnabled&&(this.zoomHor&&i.horiz||this.zoomVert&&!i.horiz)),to:r(o),from:r(a),trigger:i.type})}),r.res&&(r.res=!1,this.reset(!1,0))),r.lastTouches=o}reset(i,r){let s=this.chart,n=s.hoverSeries,a=s.hoverPoint,o=s.hoverPoints,l=s.tooltip,h=l?.shared?o:a;i&&h&&tS(h).forEach(function(r){r.series.isCartesian&&void 0===r.plotX&&(i=!1)}),i?l&&h&&tS(h).length&&(l.refresh(h),l.shared&&o?o.forEach(function(i){i.setState(i.state,!0),i.series.isCartesian&&(i.series.xAxis.crosshair&&i.series.xAxis.drawCrosshair(null,i),i.series.yAxis.crosshair&&i.series.yAxis.drawCrosshair(null,i))}):a&&(a.setState(a.state,!0),s.axes.forEach(function(i){i.crosshair&&a.series[i.coll]===i&&i.drawCrosshair(null,a)}))):(a&&a.onMouseOut(),o&&o.forEach(function(i){i.setState()}),n&&n.onMouseOut(),l&&l.hide(r),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s.axes.forEach(function(i){i.hideCrosshair()}),s.hoverPoints=s.hoverPoint=void 0)}runPointActions(i,r,s){let n=this.chart,a=n.series,o=n.tooltip?.options.enabled?n.tooltip:void 0,l=!!o&&o.shared,h=r||n.hoverPoint,c=h?.series||n.hoverSeries,d=(!i||"touchmove"!==i.type)&&(!!r||c?.directTouch&&this.isDirectTouch),u=this.getHoverData(h,c,a,d,l,i);h=u.hoverPoint,c=u.hoverSeries;let p=u.hoverPoints,m=c?.tooltipOptions.followPointer&&!c.tooltipOptions.split,g=l&&c&&!c.noSharedTooltip;if(h&&(s||h!==n.hoverPoint||o?.isHidden)){if((n.hoverPoints||[]).forEac
vendor: 4,514 bytes, line 20
20h(function(i){-1===p.indexOf(i)&&i.setState()}),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(p),(p||[]).forEach(function(i){i.setState("hover")}),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!h.series)return;n.hoverPoints=p,n.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{o&&h&&o.refresh(g?p:h,i)})}else if(m&&o&&!o.isHidden){let r=o.getAnchor([{}],i);n.isInsidePlot(r[0],r[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:r[0],plotY:r[1]})}this.unDocMouseMove||(this.unDocMouseMove=B(n.container.ownerDocument,"mousemove",i=>ig[ix.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(i)),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach(function(r){let s,a=r.crosshair?.snap??!0;a&&((s=n.hoverPoint)&&s.series[r.coll]===r||(s=tn(p,i=>i.series?.[r.coll]===r))),s||!a?r.drawCrosshair(i,s):r.hideCrosshair()})}setDOMEvents(){let i=this.chart.container,r=i.ownerDocument,s=i=>i.parentElement||i.getRootNode()?.host?.parentElement;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(B(i,"mouseenter",this.onContainerMouseEnter.bind(this)),B(i,"mouseleave",this.onContainerMouseLeave.bind(this))),ix.unbindDocumentMouseUp.some(i=>i.doc===r)||ix.unbindDocumentMouseUp.push({doc:r,unbind:B(r,"mouseup",this.onDocumentMouseUp.bind(this))});let n=s(this.chart.renderTo);for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(B(n,"scroll",()=>{delete this.chartPosition})),n=s(n);this.eventsToUnbind.push(B(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),B(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),ix.unbindDocumentTouchEnd||(ix.unbindDocumentTouchEnd=B(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),B(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!ib)return;let i=this.pointerCaptureEventsToUnbind,r=this.chart,s=r.container,n=(r.options.tooltip?.followTouchMove??!0)&&r.series.some(i=>i.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&n?(i.push(B(s,"pointerdown",i=>{i.target?.hasPointerCapture(i.pointerId)&&i.target?.releasePointerCapture(i.pointerId)}),B(s,"pointermove",i=>{r.pointer?.getPointFromEvent(i)?.onMouseOver(i)})),this.hasPointerCapture=!0):this.hasPointerCapture&&!n&&(i.forEach(i=>i()),i.length=0,this.hasPointerCapture=!1)}setHoverChartIndex(i){let r=this.chart,s=D.charts[ty(ix.hoverChartIndex,-1)];if(s&&s!==r){let n={relatedTarget:r.container};i&&!i?.relatedTarget&&Object.assign({},i,n),s.pointer?.onContainerMouseLeave(i||n)}s?.mouseIsDown||(ix.hoverChartIndex=r.index)}touch(i,r){let s,n,{chart:a,pinchDown:o=[]}=this;this.setHoverChartIndex(),1===(i=this.normalize(i)).touches.length?((n=a.isInsidePlot(i.chartX-a.plotLeft,i.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!a.exporting?.openMenu?(r&&this.runPointActions(i),"touchmove"===i.type&&(this.hasPinchMoved=s=!!o[0]&&Math.pow(o[0].chartX-i.chartX,2)+Math.pow(o[0].chartY-i.chartY,2)>=16),ty(s,!0)&&this.pinch(i)):r&&this.reset(),(a.tooltip?.options.followTouchMove??!0)&&n&&i.preventDefault()):2===i.touches.length&&this.pinch(i)}touchSelect(i){return!!(this.chart.zooming.singleTouch&&i.touches&&1===i.touches.length)}zoomOption(i){let r=this.chart,s=r.inverted,n=r.zooming.type||"",a,o;/touch/.test(i.type)&&(n=ty(r.zooming.pinchType,n)),this.zoomX=a=/x/.test(n),this.zoomY=o=/y/.test(n),this.zoomHor=a&&!s||o&&s,this.zoomVert=o&&!s||a&&s,this.hasZoom=(a||o)&&iy(i,r.zooming.key)}}ix.unbindDocumentMouseUp=[],(d=ix||(ix={})).compose=function(i){tE(iA,"Core.Pointer")&&B(i,"beforeRender",function(){this.pointer=new d(this,this.options)})};let iE=ix,{setLength:iT,splice:iC}={convertToNumber:function(i,r){switch(typeof i){case"boolean":return+!!i;case"number":return isNaN(i)&&!r?null:i;default:return isNaN(i=parseFloat(`${i??""}`))&&!r?null:i}},setLength:function(i,r,s){return Array.isArray(i)?(i.length=r,i):i[s?"subarray":"slice"](0,r)},splice:function(i,r,s,n,a=[]){if(Array.isArray(i))return Array.isArray(a)||(a=Array.from(a)),{removed:i.splice(r,s,...a),array:i};let o=Object.getPrototypeOf(i).constructor,l=i[n?"subarray":"slice"](r,r+s),h=new o(i.length-s+a.length);return h.set(i.subarray(0,r),0),h.set(a,r),h.set(i.subarray(r+s),r+a.length),{removed:l,array:h}}},iv=class{constructor(i={}){this.isDataTable=!0,this.autoId=!i.id,this.columns={},this.id=i.id||tO(),this.rowCount=0,this.versionTag=tO();let r=0;tf(i.columns||{},(i,s)=>
vendor: 24,274 bytes, line 20
20{this.columns[s]=i.slice(),r=Math.max(r,i.length)}),this.applyRowCount(r)}applyRowCount(i){this.rowCount=i,tf(this.columns,(r,s)=>{r.length!==i&&(this.columns[s]=iT(r,i))})}deleteRows(i,r=1){if(r>0&&i<this.rowCount){let s=0;tf(this.columns,(n,a)=>{this.columns[a]=iC(n,i,r).array,s=n.length}),this.rowCount=s}$(this,"afterDeleteRows",{rowIndex:i,rowCount:r}),this.versionTag=tO()}getColumn(i,r){return this.columns[i]}getColumns(i,r){return(i||Object.keys(this.columns)).reduce((i,r)=>(i[r]=this.columns[r],i),{})}getRowObject(i,r){let s={},n=this.columns;for(let a of(r??(r=Object.keys(this.columns)),r))s[a]=n[a]?.[i];return s}setColumn(i,r=[],s=0,n){this.setColumns({[i]:r},s,n)}setColumns(i,r,s){let n=this.rowCount;tf(i,(i,r)=>{this.columns[r]=i.slice(),n=i.length}),this.applyRowCount(n),s?.silent||($(this,"afterSetColumns"),this.versionTag=tO())}setRow(i,r=this.rowCount,s,n){var a;let{columns:o}=this,l=s?this.rowCount+1:r+1,h=Object.keys(i);if(n?.addColumns!==!1)for(let i=0,r=h.length;i<r;i++)o[a=h[i]]||(o[a]=Array(this.rowCount));tf(o,(n,a)=>{n&&(s?n=iC(n,r,0,!0,[i[a]]).array:n[r]=a in i?i[a]:n[r],o[a]=n)}),this.applyRowCount(Math.max(l,this.rowCount)),n?.silent||($(this,"afterSetRows",{rowIndex:r}),this.versionTag=tO())}getModified(){return this.modified||this}};var iS=C||(C={});function iI(i,r,s){let n=this.legendItem=this.legendItem||{},{chart:a,options:o}=this,{baseline:l=0,symbolWidth:h,symbolHeight:c}=i,d=this.symbol||"circle",u=c/2,p=a.renderer,m=n.group,g=l-Math.round((i.fontMetrics?.b||c)*(s?.4:.3)),f={},A,b=o.marker,y=0;if(a.styledMode||(f["stroke-width"]=Math.min(o.lineWidth||0,24),o.dashStyle?f.dashstyle=o.dashStyle:"square"!==o.linecap&&(f["stroke-linecap"]="round")),n.line=p.path().addClass("highcharts-graph").attr(f).add(m),s&&(n.area=p.path().addClass("highcharts-area").add(m)),f["stroke-linecap"]&&(y=Math.min(n.line.strokeWidth(),h)/2),h){let i=[["M",y,g],["L",h-y,g]];n.line.attr({d:i}),n.area?.attr({d:[...i,["L",h-y,l],["L",y,l]]})}if(b&&!1!==b.enabled&&h){let i=Math.min(ty(b.radius,u),u);0===d.indexOf("url")&&(b=tm(b,{width:c,height:c}),i=0),n.symbol=A=p.symbol(d,h/2-i,g-i,2*i,2*i,Z({context:"legend"},b)).addClass("highcharts-point").add(m),A.isMarker=!0}}iS.areaMarker=function(i,r){iI.call(this,i,r,!0)},iS.lineMarker=iI;let iw=C,{defaultOptions:i_}=tW;var ik=v||(v={});function iN(i,r){let s=i_.plotOptions||{},n=r.defaultOptions,a=r.prototype;return a.type=i,a.pointClass||(a.pointClass=im),!ik.seriesTypes[i]&&(n&&(s[i]=n),ik.seriesTypes[i]=r,!0)}ik.seriesTypes=D.seriesTypes,ik.registerSeriesType=iN,ik.seriesType=function(i,r,s,n,a){let o=i_.plotOptions||{};if(r=r||"",o[i]=tm(o[r],s),delete ik.seriesTypes[i],iN(i,J(ik.seriesTypes[r]||D.Series,n)),ik.seriesTypes[i].prototype.type=i,a){class r extends im{}Z(r.prototype,a),ik.seriesTypes[i].prototype.pointClass=r}return ik.seriesTypes[i]};let iM=v,{animObject:iL,setAnimation:iD}=t$,{defaultOptions:iO}=tW,{registerEventOptions:iP}=eQ,{svg:iR,win:iB}=D,{seriesTypes:iF}=iM,{format:iH}=er;class iG{constructor(){this.zoneAxis="y"}init(i,r){let s;$(this,"init",{options:r});let n=i.series;this.eventsToUnbind=[],this.condemnedPoints||(this.condemnedPoints=[]),this.chart=i,this.options=this.setOptions(r);let a=this.options,o=!1!==a.visible;this.dataTable??(this.dataTable=a.dataTable?.isDataTable?a.dataTable:new iv(a.dataTable)),this.linkedSeries=[],this.bindAxes(),Z(this,{name:a.name,state:"",visible:o,selected:!0===a.selected}),iP(this,a);let l=a.events;(l?.click||a.point?.events?.click||a.allowPointSelect)&&(i.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(i.hasCartesianSeries=!0),n.length&&(s=n[n.length-1]),this._i=ty(s?._i,-1)+1,this.opacity=this.options.opacity,i.orderItems("series",tL(this,n)),this.points||this.data||this.setData(a.data,!1),$(this,"afterInit")}is(i){return iF[i]&&this instanceof iF[i]}bindAxes(){let i,r=this,s=r.options,n=r.chart;$(this,"bindAxes",null,function(){(r.axisTypes||[]).forEach(function(a){(n[a]||[]).forEach(function(n){i=n.options,(ty(s[a],0)===n.index||void 0!==s[a]&&s[a]===i.id)&&(tL(r,n.series),r[a]=n,n.isDirty=!0)}),r[a]||r.optionalAxis===a||tM(18,!0,n)})}),$(this,"afterBindAxes")}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(i,r){let s=i.marker,n=r.marker||{};return s&&(n.enabled&&!s.enabled||n.symbol!==s.symbol||n.height!==s.height||n.width!==s.width)}autoIncrement(i){let r,s=this.options,{pointIntervalUnit:n,relativeXValue:a}=this.options,o=this.chart.time,l=this.xIncrement??o.parse(s.pointStart)??0;if(this.pointInterval=r=ty(this.pointInterval,s.pointInterval,1),a&&th(i)&&(r*=i),n){let i=o.toParts(l);"day"===n?i[2]+=r:"month"===n?i[1]+=r:"year"===n&&(i[0]+=r),r=o.makeTime.apply(o,i)-l}return a&&th(i)?l+r:(this.xIncrement=l+r,l)}setOptions(i){let r,s=this.chart,n=s.options.plotOptions,a=s.userOptions||{},o=tm(i),l=s.styledMode,h={plotOptions:n,userOptions:o};$(this,"setOptions",h);let c=h.plotOptions[this.type],d=a.plotOptions||{},u=d.series||{},p=iO.plotOptions[this.type]||{},m=d[this.type]||{};c.dataLabels=this.mergeArrays(p.dataLabels,c.dataLabels),this.userOptions=h.userOptions;let g=tm(c,n.series,m,o),{negativeColor:f,negativeFillColor:A,zoneAxis:b="y",zones:y}=g,x=(y||[]).map(i=>({...i}));return this.tooltipOptions=tm(iO.tooltip,iO.plotOptions.series?.tooltip,p?.tooltip,s.userOptions.tooltip,d.series?.tooltip,m.tooltip,o.tooltip),this.stickyTracking=ty(o.stickyTracking,m.stickyTracking,u.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||g.stickyTracking),null===c.marker&&delete g.marker,this.zones||(this.zones=x),this.zoneAxis=b,(f||A)&&!y&&(r={value:g[b+"Threshold"]||g.threshold||0,className:"highcharts-negative"},l||("boolean"!=typeof f&&(r.color=f),r.fillColor=A),x.push(r)),x.length&&X(x[x.length-1].value)&&x.push(l?{}:{color:this.color,fillColor:this.fillColor}),$(this,"afterSetOptions",{options:g}),g}getName(){let{chart:i,options:r}=this,{dataMapping:s,name:n}=r,a=s?.y||s?.value,o=tc(a)?a:a?.column;return n??(tc(o)?o:iH(i.options.lang.seriesName,this,i))}getCyclic(i,r,s){let n,a,o=this.chart,l=`${i}Index`,h=`${i}Counter`,c=s?.length||o.options.chart.colorCount;!r&&(X(a=ty("color"===i?this.options.colorIndex:void 0,this[l]))?n=a:(o.series.length||(o[h]=0),n=o[h]%c,o[h]+=1),s&&(r=s[n])),void 0!==n&&(this[l]=n),this[i]=r}getColor(){let i=this.chart;i.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="var(--highcharts-neutral-color-20)":this.getCyclic("color",this.options.color||iO.plotOptions[this.type]?.color,i.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let i=this.options.marker;this.getCyclic("symbol",i.symbol,this.chart.options.symbols)}getColumn(i,r,s){let n=r?this.dataTable.getModified():this.dataTable,a=n.rowCount,o=this.dataTable!==n,l=n.getColumn(i,!0);if("x"===i&&!o){if(this.xColumn)return this.xColumn;let i=n.getColumn("name",!0),r=this.options,s=i=>{if(void 0!==this.xColumnIsNumbers)return this.xColumnIsNumbers;for(let r of i)if("number"!=typeof r)return this.xColumnIsNumbers=!1;return this.xColumnIsNumbers=!0};if(this.xIncrement=null,!l||this.xAxis?.hasNames||r.relativeXValue||l.length<(r.turboThreshold||1/0)&&!this.boosted&&!s(l)){let r=[];for(let s=0;s<a;s++){let n=l?.[s];X(n)||(this.xIncrement??(this.xIncrement=r[r.length-1]??null)),r.push(this.getX(n,i?.[s]))}return this.xColumn=r}}return l||Array(s?a:0)}getX(i,r){return this.xAxis?.hasNames&&this.dataTable.getColumn("name",!0)&&X(r)?this.xAxis.nameToX({name:r,series:this},i):void 0===i||th(i)&&this.options.relativeXValue?this.autoIncrement(i):("string"==typeof i&&th(i=this.chart.time.parse(i)),i)}matchPoints(i,r,s,n){let{dataTable:a,options:o,requireSorting:l}=this,h=o.dataSorting,c=this.data,d=[],u=[],p=a.rowCount===c.length,m,g,f,A=0,b=!0;this.xIncrement=null,delete this.xColumn;let y=a.getColumn("x"),x=a.getColumn("id"),E=h?.matchByName?a.getColumn("name"):void 0,T=a.getColumn("index");for(g=0;g<a.rowCount;g++){let o=y?.[g],f=x?.[g],b=E?.[g],C=T?.[g],[v,S]=f&&r?[f,r]:b&&s?[b,s]:X(C)&&n?[C,n]:X(o)&&i?[o,i]:[],I=-1;if(S){if(-1===(I=S.indexOf(v,A))){let r=y?.[g],s=i?.length??a.rowCount;for(;s&&i&&"number"==typeof r&&i[s-1]>r;)s--;d.push({newIndex:s,oldIndex:g})}else c[I]&&(u.push({newIndex:I,oldIndex:g}),c[I].touched=!0,l&&(A=I+1));(!p||g!==I||h?.enabled||this.hasDerivedData)&&(m=!0)}else d.push({newIndex:g,oldIndex:g})}if(m){for(u.forEach(i=>{c[i.newIndex].applyOptions(a.getRowObject(i.oldIndex))}),d.sort((i,r)=>r.newIndex-i.newIndex),d.forEach(i=>{c.splice(i.newIndex,0,void 0)}),g=c.length;g--;)(f=c[g])&&!f.touched&&(f.destroy(),c.splice(g,1));this.isDirtyData=this.isDirty=!0}else if(p&&!h?.enabled){for(g=0;g<a.rowCount;g++)if(!c[g].destroyed&&!c[g].condemned){let i=a.getRowObject(g);i&&(Object.keys(i).forEach(r=>{X(i[r])||delete i[r]}),Object.keys(i).length&&c[g].update(i,!1,void 0,!1))}}else b=!1;if(c.forEach(i=>{i&&(i.touched=!1)}),!b)return!1;let C=this.getColumn("x");return null===this.xIncrement&&C.length&&(this.xIncrement=H(C),this.autoIncrement()),!0}getDataColumnKeys(){return this.dataColumnKeys||["x",...this.pointArrayMap||["y"]]}setData(i,r=!0,s,n){let a,o,l,h=this.dataTable,c=this.options,d=this.points,u=d?.length||0,p=h.getColumn("x"),m=h.getColumn("id"),g=c.dataSorting?.matchByName&&d?.map(i=>i.name)||h.getColumn("name"),f=h.getColumn("index"),A=this.chart,b=this.xAxis;if(A.options.chart.allowMutatingData||(c.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,l=tm(!0,i)),i=l||i,this.xIncrement=null,delete this.xColumn,delete this.xColumnIsNumbers,h!==c.dataTable&&delete h.columns.x,this.colorCounter=0,td(i)?this.setDataFromArray(i):this.setDataFromTable(i),!1===n||!u||this.cropped||this.hasGroupedData||!this.visible||this.boosted||(a=this.matchPoints(p,m,g,f)),!a){for(tc(this.getColumn("y")[0])&&tM(14,!0,A),this.data=[],o=u;o--;)d[o]?.destroy();b&&(b.minRange=b.userMinRange),this.isDirty=A.isDirtyBox=!0,this.isDirtyData=!!d,s=!1}td(i)&&(this.options.data=this.userOptions.data=i),"point"===c.legendType&&(this.processData(),this.generatePoints()),r&&A.redraw(s)}setDataFromArray(i){let r=i.length,{keys:s,turboThreshold:n}=this.options,{pointValKey:a="y",pointArrayMap:o=[]}=this,l=o.length,h=this.dataTable,c=this.getDataColumnKeys(),d=n&&r>n,u=0,p=1;if(d){let n=this.getFirstValidPoint(i),m=this.getFirstValidPoint(i,r-1,-1),g=i=>!!(td(i)&&(s||th(i[0])));if(th(n)&&th(m))h.setColumn(a,i);else if(g(n)&&g(m))if(l){let r=n.length===l,s=Array(n.length).fill(0).map(()=>[]);for(let r of i)for(let i=0;i<=l;i++)s[i]?.push(r[i]);h.setColumns((r?o:c).reduce((i,r,n)=>(i[r]=s[n],i),{}))}else{s&&(u=s.indexOf("x"),p=s.indexOf("y"),u=u>=0?u:0,p=p>=0?p:1),1===n.length&&(p=0);let r=[],o=[];if(u===p){for(let r of i)o.push(r[p]);h.setColumn(a,o)}else{for(let s of i)r.push(s[u]),o.push(s[p]);h.setColumns({x:r,[a]:o})}}else d=!1}if(!d){let s={};for(let n=0;n<r;n++){let a=this.pointClass.prototype.optionsToObject.call({series:this},i[n]);for(let i of Object.keys(a))s[i]||(s[i]=Array(r)),s[i][n]=a[i]}r?h.setColumns(s):h.deleteRows(0,h.rowCount)}}setDataFromTable(i){let{chart:r,options:s,dataTable:n}=this,a=r.getDataTable(s),o=i?[i]:a.length?a:r.dataTable,l=this.getDataColumnKeys(),h=s.dataMapping,c=l.slice();h&&(Object.keys(h).forEach(i=>{tE(c,i)}),this.dataColumnKeys=c),o.forEach((i,r)=>{let s=c.reduce((s,n)=>{let a=h?.[n],o=i.columns||{},l=i.id,c=tc(a)?0===r&&o[a]:((a?.dataTable||0)===r||l&&a?.dataTable===l)&&(th(a?.column)?Object.values(o)[a.column]:o[a?.column||n]);return c&&(s[n]=c),s},{});(h||i)&&n.setColumns(s),i.isDataTable&&this.bindDataTableEvents(i,s)})}bindDataTableEvents(i,r){if(this.hasBoundDataTableEvents)return;let{chart:s,eventsToUnbind:n}=this,a=()=>{clearTimeout(s.redrawTimeout),s.redrawTimeout=setTimeout(()=>s.renderer&&s.redraw(),0)};n.push(B(i,"afterSetRows",i=>{let s=i.rowIndex;if(th(s)){let i=iv.prototype.getRowObject.call({columns:r},s),n=this.data[s];i&&(this.currentDataGrouping?this.setData():(n?n.update(i,!1):this.addPoint(i,!1),a()))}})),n.push(B(i,"afterDeleteRows",i=>{let{rowCount:r,rowIndex:s}=i;if(th(s)){for(let i=s+r-1;i>=s;i--)this.removePoint(i,!1);a()}})),n.push(B(i,"afterSetColumns",i=>{this.setData(i.target)})),this.hasBoundDataTableEvents=!0}getProcessedData(i){let r=this,{dataTable:s,isCartesian:n,options:a,xAxis:o}=r,l=a.cropThreshold,h=i||r.getExtremesFromAll,c=o?.logarithmic,d=s.rowCount,u,p,m=0,g,f,A,b=r.getColumn("x"),y=s,x=!1;return o&&(f=(g=o.getExtremes()).min,A=g.max,x=!!(o.categories&&!o.names.length),n&&r.sorted&&!h&&(!l||d>l||r.forceCrop)&&(b[d-1]<f||b[0]>A?y=new iv:r.getColumn(r.pointValKey||"y").length&&(b[0]<f||b[d-1]>A)&&(y=(u=this.cropData(s,f,A)).modified,m=u.start,p=!0))),b=this.getColumn("x",!0),{modified:y,cropped:p,cropStart:m,closestPointRange:te([c?b.map(c.log2lin):b],()=>r.requireSorting&&!x&&tM(15,!1,r.chart))}}processData(i){let r=this.xAxis,s=this.dataTable;if(this.isCartesian&&!this.isDirty&&!r.isDirty&&!this.yAxis.isDirty&&!i)return!1;let n=this.getProcessedData();s.modified=n.modified,this.cropped=n.cropped,this.cropStart=n.cropStart,this.closestPointRange=this.basePointRange=n.closestPointRange,$(this,"afterProcessData")}cropData(i,r,s){let n=i===this.dataTable?this.getColumn("x"):i.getColumn("x",!0),a=n.length,o,l,h=0,c=a;for(o=0;o<a;o++)if(n[o]>=r){h=Math.max(0,o-1);break}for(l=o;l<a;l++)if(n[l]>s){c=l+1;break}let d=Object.keys(i.columns).reduce((r,s)=>(r[s]=(i.getColumn(s,!0)||[]).slice(h,c),r),{});return d.x=n.slice(h,c),{modified:new iv({columns:d}),start:h,end:c}}generatePoints(){let i=this.options,r=this.hasProcessedDataTable?void 0:i.data,s=this.dataTable.getModified(),n=this.getColumn("x",!0),a=this.pointClass,o=s.rowCount,l=this.cropStart||0,h=this.hasGroupedData,c=i.keys,d=[],u=i.dataGrouping?.groupAll?l:0,p=this.getDataColumnKeys(),m,g,f,A,b=this.data,y;if(!b&&!h){let i=[];i.length=r?.length||0,b=this.data=i}for(c&&h&&(this.options.keys=!1),A=0;A<o;A++)g=l+A,h?((f=new a(this,s.getRowObject(A,p))).dataGroup=this.groupMap?.[u+A],f.dataGroup?.options&&(f.options=f.dataGroup.options,Z(f,f.dataGroup.options),delete f.dataLabels,f.key=f.name??f.category)):(f=b[g],y=r?r[g]:s.getRowObject(A),f||void 0===y?f&&(f.category=this.xAxis?.categories?.[f.x]??f.x,f.key=f.name??f.category):b[g]=f=new a(this,y,n[A])),f&&(f.index=h?u+A:g,d[A]=f);if(this.options.keys=c,b&&(o!==(m=b.length)||h))for(A=0;A<m;A++)A!==l||h||(A+=o),b[A]&&(b[A].destroyElements(),b[A].plotX=void 0);this.data=b,this.points=d,$(this,"afterGeneratePoints")}getXExtremes(i){return{min:F(i),max:H(i)}}getExtremes(i,r){let{xAxis:s,yAxis:n}=this,a=r||this.getExtremesFromAll||this.options.getExtremesFromAll,o=a&&this.cropped?this.dataTable:this.dataTable.getModified(),l=o.rowCount,h=i||this.stackedYData,c=h?[h]:(this.keysAffectYAxis||this.pointArrayMap||["y"])?.map(i=>o.getColumn(i,!0)||[])||[],d=this.getColumn("x",!0),u=[],p=this.requireSorting&&!this.is("column")?1:0,m=!!n&&n.positiveValuesOnly,g=a||this.cropped||!s,f,A,b,y=0,x=0;for(s&&(y=(f=s.getExtremes()).min,x=f.max),b=0;b<l;b++)if(A=d[b],g||(d[b+p]||A)>=y&&(d[b-p]||A)<=x)for(let i of c){let r=i[b];th(r)&&(r>0||!m)&&u.push(r)}let E={activeYData:u,dataMin:F(u),dataMax:H(u)};return $(this,"afterGetExtremes",{dataExtremes:E}),E}applyExtremes(){let i=this.getExtremes();return this.dataMin=i.dataMin,this.dataMax=i.dataMax,i}getFirstValidPoint(i,r=0,s=1){let n=i.length,a=r;for(;a>=0&&a<n;){if(X(i[a]))return i[a];a+=s}}translate(){this.generatePoints();let{options:i,xAxis:r,yAxis:s}=this,{stacking:n,threshold:a}=i,{hasRendered:o,polar:l}=this.chart,h=this.points.concat(this.condemnedPoints),c=h.length,d=this.pointPlacementToXValue(),u=!!d,p=i.startFromThreshold?a:0,m=i?.nullInteraction&&s.len,g,f,A,b,y=Number.MAX_VALUE;function x(i){return U(i,-1e9,1e9)}let E=(i,s)=>{let n=r.translate(i,!1,!1,s,!0,d);return th(n)?Y(x(n)):void 0},T=(i,r,n)=>{if(th(i)&&void 0!==r.plotX){let r=s.translate(i,!1,!0,n,!0);return th(r)?x(r):void 0}if(!th(i)&&m)return m};for(g=0;g<c;g++){let i=h[g],c=i.x,m,C,v=i.y,S=i.low,I=n&&s.stacking?.stacks[(this.negStacks&&v<(p?0:a)?"-":"")+this.stackKey];i.plotX=f=E(c),n&&this.visible&&I&&I[c]&&(b=this.getStackIndicator(b,c,this.index),!i.isNull&&b.key&&(C=(m=I[c]).points[b.key]),m&&td(C)&&(S=C[0],v=C[1],S===p&&b.key===I[c].base&&(S=ty(th(a)?a:s.min)),s.positiveValuesOnly&&X(S)&&S<=0&&(S=void 0),i.total=i.stackTotal=ty(m.total),i.percentage=X(i.y)&&m.total?i.y/m.total*100:void 0,i.stackY=v,this.irregularWidths||m.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),i.yBottom=X(S)?x(s.translate(S,!1,!0,!1,!0)):void 0,this.dataModify&&(v=this.dataModify.modifyValue(v,g)),i.plotY=T(v,i),i.origin=!o||i.graphic||l?void 0:{x:E(c,!0),y:T(v,i,!0)},i.isInside=this.isPointInside(i),i.clientX=u?Y(r.translate(c,!1,!1,!1,!0,d)):f,i.negative=(i.y||0)<(a||0),!i.isNull&&!1!==i.visible&&th(f)&&(th(A)&&(y=Math.min(y,Math.abs(f-A))),A=f),i.zone=this.zones.length?i.getZone():void 0}this.closestPointRangePx=y,$(this,"afterTranslate")}getValidPoints(i,r,s){let n=this.chart;return(i||this.points||[]).filter(function(i){let{plotX:a,plotY:o}=i;return(!!s||!i.isNull&&!!th(o))&&(!r||!!n.isInsidePlot(a,o,{inverted:n.inverted}))&&!1!==i.visible})}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:i,group:r,markerGroup:s,options:n,plotClipGroup:a}=this,o=i.sharedClips,l=i.renderer,h=i.getClipBox(this),c=n.clip??!0,d=this.getSharedClipKey(),u=o[d];u?u.animate(h):o[d]=u=l.clipRect(h),r?.clip(c?u:void 0),s?.clip(),a?.clip(c&&this.yAxis.clippable?i.plotClipInner:void 0)}animate(i){let{chart:r,group:s,markerGroup:n}=this,a=r.inverted,o=iL(this.options.animation),l=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),h=r.sharedClips[l],c=r.sharedClips[l+"m"];if(i&&s){let i=r.getClipBox(this);if(h)h.attr("height",i.height);else{i.width=0,a&&(i.x=r.plotHeight),h=r.renderer.clipRect(i),r.sharedClips[l]=h;let s={x:-99,y:-99,width:a?r.plotWidth+199:99,height:a?99:r.plotHeight+199};c=r.renderer.clipRect(s),r.sharedClips[l+"m"]=c}s.clip(h),n?.clip(c)}else if(h&&!h.hasClass("highcharts-animating")){let i=r.getClipBox(this),s=o.step;(n?.element.childNodes.length||r.series.length>1)&&(o.step=function(i,r){s&&s.apply(r,arguments),"width"===r.prop&&c?.element&&c.attr(a?"height":"width",i+99)}),h.addClass("highcharts-animating").animate(i,o)}}afterAnimate(){this.setClip(),tf(this.chart.sharedClips,(i,r,s)=>{i&&!this.chart.container.querySelector(`[clip-path="url(#${i.id})"]`)&&(i.destroy(),delete s[r])}),this.finishedAnimating=!0,$(this,"afterAnimate")}drawPoints(i){let r,s,n,a,o,l,h;i||(i=this.points.concat(this.condemnedPoints));let c=this.chart,d=c.styledMode,{colorAxis:u,options:p}=this,m=p.marker,g=p.nullInteraction,f=this[this.specialGroup||"markerGroup"],A=this.xAxis,b=ty(m.enabled,!A||!!A.isRadial||null,this.closestPointRangePx>=m.enabledThreshold*m.radius);if(!1!==m.enabled||this._hasPointMarkers)for(r=0;r<i.length;r++){a=(n=(s=i[r]).graphic)?"animate":"attr",o=s.marker||{},l=!!s.marker;let p=s.isNull;if((b&&!X(o.enabled)||o.enabled)&&(!p||g)&&!1!==s.visible){let i=ty(o.symbol,this.symbol,"rect");h=this.markerAttribs(s,s.selected&&"select");let r=!1!==s.isInside;if(!n&&r&&((h.width||0)>0||s.hasImage)&&(s.graphic=n=c.renderer.symbol(i,h.x,h.y,h.width,h.height,l?o:m).add(f),s.origin)){let i=s.getOrigin(s.origin,h);d||(i.opacity=0),n.attr(i),a="animate"}if(n){"animate"===a&&n?.animate(h);let i=this.pointAttribs(s,d||!s.selected?void 0:"select");d?u&&n.css({fill:i.fill}):n[a](i),n.addClass(s.getClassName(),!0)}}else n&&(s.graphic=n.destroy())}}markerAttribs(i,r){let s=this.options,n=s.marker,a=i.marker||{},o=a.symbol||n.symbol,l={},h,c,d=ty(a.radius,n?.radius);r&&(h=n?.states?.[r],c=a.states?.[r],d=ty(c?.radius,h?.radius,d&&d+(h?.radiusPlus||0))),i.hasImage=o&&0===o.indexOf("url"),i.hasImage&&(d=0);let u=i.pos();return th(d)&&u&&(s.crisp&&(u[0]=j(u[0],i.hasImage?0:"rect"===o?n?.lineWidth||0:1)),l.x=u[0]-d,l.y=u[1]-d),d&&(l.width=l.height=2*d),l}pointAttribs(i,r){let s=this.options,n=s.marker,a=i?.options,o=a?.marker||{},l=a?.color,h=i?.color,c=i?.zone?.color,d,u,p=this.color,m,g,f=ty(o.lineWidth,n.lineWidth),A=i?.isNull&&s.nullInteraction?0:1;return p=l||c||h||p,m=o.fillColor||n.fillColor||p,g=o.lineColor||n.lineColor||p,r=r||"normal",d=n.states[r]||{},f=ty((u=o.states&&o.states[r]||{}).lineWidth,d.lineWidth,f+ty(u.lineWidthPlus,d.lineWidthPlus,0)),m=u.fillColor||d.fillColor||m,g=u.lineColor||d.lineColor||g,A=ty(u.opacity,d.opacity,A),{stroke:g,"stroke-width":f,fill:m,opacity:i?.condemned||i?.isInside===!1?0:A}}destroy(i){let r,s,n=this,a=n.chart,o=/AppleWebKit\/533/.test(iB.navigator.userAgent),l=n.data||[];for($(n,"destroy",{keepEventsForUpdate:i}),this.removeEvents(i),(n.axisTypes||[]).forEach(function(i){s=n[i],s?.series&&(q(s.series,n),s.isDirty=s.forceRedraw=!0)}),n.legendItem&&n.chart.legend.destroyItem(n),r=l.length;r--;)l[r]?.destroy?.();for(let i of n.zones||[])Q(i,void 0,!0);ta(n.animationTimeout),tf(n,function(i,r){i instanceof eg&&!i.survive&&i[o&&"group"===r?"hide":"destroy"]()}),a.hoverSeries===n&&(a.hoverSeries=void 0),q(a.series,n),a.orderItems("series"),tf(n,function(r,s){i&&"hcEvents"===s||delete n[s]})}applyZones(){let{area:i,chart:r,graph:s,zones:n,points:a,xAxis:o,yAxis:l,zoneAxis:h}=this,{inverted:c,renderer:d}=r,u=this[`${h}Axis`],{isXAxis:p,len:m=0,minPointOffset:g=0}=u||{},f=(s?.strokeWidth()||0)/2+1,A=(i,r=0,s=0)=>{c&&(s=m-s);let{translated:n=0,lineClip:a,value:o}=i,l=s-n;a?.push(["L",r,Math.abs(l)<f?s-f*(l<0||0===l&&X(o)?-1:1):n])};if(n.length&&(s||i)&&u&&th(u.min)){let r=u.getExtremes().max+g,f=i=>{i.forEach((r,s)=>{("M"===r[0]||"L"===r[0])&&(i[s]=[r[0],p?m-r[1]:r[1],p?r[2]:m-r[2]])})};if(n.forEach(i=>{i.lineClip=[],i.translated=U(u.toPixels(ty(i.value,r),!0)||0,0,m)}),s&&!this.showLine&&s.hide(),i&&i.hide(),"y"===h&&a.length<o.len)for(let i of a){let{plotX:r,plotY:s,zone:a}=i,o=a&&n[n.indexOf(a)-1];a&&A(a,r,s),o&&A(o,r,s)}let b=[],y=u.toPixels(u.getExtremes().min-g,!0);n.forEach(r=>{let n=r.lineClip||[],a=Math.round(r.translated||0);o.reversed&&n.reverse();let{clip:h,simpleClip:u}=r,m=0,g=0,A=o.len,x=l.len;p?(m=a,A=y):(g=a,x=y);let E=[["M",m,g],["L",A,g],["L",A,x],["L",m,x],["Z"]],T=[E[0],...n,E[1],E[2],...b,E[3],E[4]];b=n.reverse(),y=a,c&&(f(T),i&&f(E)),h?(h.animate({d:T}),u?.animate({d:E})):(h=r.clip=d.path(T),i&&(u=r.simpleClip=d.path(E))),s&&r.graph?.clip(h),i&&r.area?.clip(u)})}else this.visible&&(s&&s.show(),i&&i.show())}plotGroup(i,r,s,n,a){let o=this[i],l=!o,h={visibility:s,zIndex:n||.1};return X(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(h.opacity=this.opacity),o||(this[i]=o=this.chart.renderer.g().add(a)),o.addClass("highcharts-"+r+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(X(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(h)[l?"attr":"animate"](this.getPlotBox(r)),o}getPlotBox(i){let r=this.xAxis,s=this.yAxis,n=this.chart,a=n.inverted&&!n.polar&&r&&this.invertible&&"series"===i;n.inverted&&(r=s,s=this.xAxis);let o={scale:1,translateX:r?r.left:n.plotLeft,translateY:s?s.top:n.plotTop,name:i};$(this,"getPlotBox",o);let{scale:l,translateX:h,translateY:c}=o;return{translateX:h,translateY:c,rotation:90*!!a,rotationOriginX:a?l*(r.len-s.len)/2:0,rotationOriginY:a?l*(r.len+s.len)/2:0,scaleX:a?-l:l,scaleY:l}}removeEvents(i){let{eventsToUnbind:r}=this;i||tv(this),r.length&&(r.forEach(i=>{i()}),r.length=0)}render(){let i=this,{chart:r,options:s,hasRendered:n}=i,a=iL(s.animation),o=i.visible?"inherit":"hidden",l=s.zIndex,h=r.seriesGroup,c=i.finishedAnimating?0:a.duration;$(this,"render"),r.plotClipInner&&(i.plotClipGroup||(i.plotClipGroup=r.renderer.g().add(h))),i.plotGroup("group","series",o,l,i.plotClipGroup||h),i.markerGroup=i.plotGroup("markerGroup","markers",o,l,h),!1!==s.clip&&i.setClip(),c&&i.animate?.(!0),i.drawGraph&&(i.drawGraph(),i.applyZones()),i.visible&&i.drawPoints(),i.drawDataLabels?.(),i.redrawPoints?.(),s.enableMouseTracking&&i.drawTracker?.(),c&&i.animate?.(),n||(c&&a.defer&&(c+=a.defer),i.animationTimeout=tw(()=>{i.afterAnimate()}
vendor: 5,392 bytes, line 20
20,c||0)),i.isDirty=!1,i.hasRendered=!0,$(i,"afterRender")}redraw(){let i=this.isDirty||this.isDirtyData;this.translate(),this.render(),i&&delete this.kdTree,this.condemnedPoints.length=0}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(i,r){let{xAxis:s,yAxis:n}=this,a=this.chart.inverted;return this.searchKDTree({clientX:a?s.len-i.chartY+s.pos:i.chartX-s.pos,plotY:a?n.len-i.chartX+n.pos:i.chartY-n.pos},r,i)}buildKDTree(i){this.buildingKdTree=!0;let r=this,s=r.options,n=s.findNearestPointBy.indexOf("y")>-1?2:1;delete r.kdTree,tw(function(){r.kdTree=function i(s,n,a){let o,l,h=s?.length;if(h)return o=r.kdAxisArray[n%a],s.sort((i,r)=>(i[o]||0)-(r[o]||0)),{point:s[l=Math.floor(h/2)],left:i(s.slice(0,l),n+1,a),right:i(s.slice(l+1),n+1,a)}}(r.getValidPoints(void 0,!r.directTouch,s?.nullInteraction),n,n),r.buildingKdTree=!1},s.kdNow||i?.type==="touchstart"?0:1)}searchKDTree(i,r,s,n,a){let o=this,[l,h]=this.kdAxisArray,c=r?"distX":"dist",d=(o.options.findNearestPointBy||"").indexOf("y")>-1?2:1,u=!!o.isBubble,p=n||((i,r,s)=>{let n=i[s]||0,a=r[s]||0;return[n===a&&i.index>r.index||n<a?i:r,!1]}),m=a||((i,r)=>i<r);if(this.kdTree||this.buildingKdTree||this.buildKDTree(s),this.kdTree)return function i(r,s,n,a){let d,g,f,A,b,y,x,E=s.point,T=o.kdAxisArray[n%a],C=E,v=!1;d=r[l],g=E[l],f=X(d)&&X(g)?d-g:null,A=r[h],b=E[h],y=X(A)&&X(b)?A-b:0,x=u&&E.marker?.radius||0,E.dist=Math.sqrt((f&&f*f||0)+y*y)-x,E.distX=X(f)?Math.abs(f)-x:Number.MAX_VALUE;let S=(r[T]||0)-(E[T]||0)+(u&&E.marker?.radius||0),I=S<0?"left":"right",w=S<0?"right":"left";return s[I]&&([C,v]=p(E,i(r,s[I],n+1,a),c)),s[w]&&m(Math.sqrt(S*S),C[c],v)&&(C=p(C,i(r,s[w],n+1,a),c)[0]),C}(i,this.kdTree,d,d)}pointPlacementToXValue(){let{options:i,xAxis:r}=this,s=i.pointPlacement;return"between"===s&&(s=r.reversed?-.5:.5),th(s)?s*(i.pointRange||r.pointRange):0}isPointInside(i){let{chart:r,xAxis:s,yAxis:n}=this,{plotX:a=-1,plotY:o=-1}=i;return o>=0&&o<=(n?n.len:r.plotHeight)&&a>=0&&a<=(s?s.len:r.plotWidth)}drawTracker(){let i=this,r=i.options,s=r.trackByArea,n=[].concat((s?i.areaPath:i.graphPath)||[]),a=i.chart,o=a.pointer,l=a.renderer,h=a.options.tooltip?.snap||0,c=()=>{r.enableMouseTracking&&a.hoverSeries!==i&&i.onMouseOver()},d="rgba(192,192,192,"+(iR?1e-4:.002)+")",u=i.tracker;u?u.attr({d:n}):i.graph&&(i.tracker=u=l.path(n).attr({visibility:i.visible?"inherit":"hidden",zIndex:2}).addClass(s?"highcharts-tracker-area":"highcharts-tracker-line").add(i.group),a.styledMode||u.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:s?d:"none","stroke-width":i.graph.strokeWidth()+(s?0:2*h)}),[i.tracker,i.markerGroup,...i.dataLabelsGroups||[]].forEach(i=>{i&&(i.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",i=>{o?.onTrackerMouseOut(i)}),r.cursor&&!a.styledMode&&i.css({cursor:r.cursor}),i.on("touchstart",c))})),$(this,"afterDrawTracker")}addPoint(i,r,s,n,a){let o,l,h=this.options,{chart:c,data:d,dataTable:u,xAxis:p}=this,m=p?.hasNames&&p.names,g=h.data,f=this.getColumn("x");r=ty(r,!0);let{applyOptions:A,optionsToObject:b}=this.pointClass.prototype,y={series:this},x=b.call(y,i);A.call(y,x,void 0,!1);let E=y.x;if(l=f.length,this.requireSorting&&E<f[l-1])for(o=!0;l&&f[l-1]>E;)l--;u.setRow(x,l,!0),this.xColumn?.splice(l,0,this.getX(E)),m&&y.name&&(m[E]=y.name),g?.splice(l,0,i),(o||this.hasProcessedDataTable)&&(this.data.splice(l,0,null),this.processData()),"point"===h.legendType&&this.generatePoints(),s&&(d[0]&&d[0].remove?d[0].remove(!1):([d,g,this.xColumn].filter(X).forEach(i=>{i.shift()}),u.deleteRows(0))),!1!==a&&$(this,"addPoint",{point:y}),this.isDirty=!0,this.isDirtyData=!0,r&&c.redraw(n)}removePoint(i,r,s){let n=this,{chart:a,data:o,points:l,dataTable:h}=n,c=o[i],d=function(){[l?.length===o.length?l:void 0,o,n.options.data,n.xColumn].filter(X).forEach(r=>{r.splice(i,1)}),h.deleteRows(i),h.modified=h,c?.destroy(),n.isDirty=!0,n.isDirtyData=!0,r&&a.redraw()};iD(s,a),r=ty(r,!0),c?c.firePointEvent("remove",null,d):d()}remove(i,r,s,n){let a=this,o=a.chart;function l(){a.destroy(n),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(n),ty(i,!0)&&o.redraw(r)}!1!==s?$(a,"remove",null,l):l()}update(i,r){$(this,"update",{options:i=V(i,this.userOptions)});let s=this,n=s.chart,a=s.userOptions,o=s.initialType||s.type,l=n.options.plotOptions,h=iF[o].prototype,c=s.finishedAnimating&&{animation:!1},d={},u=i.data||i.dataTable,p,m,g=iG.keepProps.slice(),f=i.type||a.type||n.options.chart.type,A=!(this.hasDerivedData||f&&f!==this.type||void 0!==i.keys||void 0!==i.pointStart||void 0!==i.pointInterval||void 0!==i.relativeXValue||i.joinBy||i.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(i=>s.hasOptionChanged(i)));f=f||o,A?(g.push.apply(g,iG.keepPropsForPoints),!1!==i.visible&&(g.push("area","graph"),"zones"in i||g.push("zones")),s.parallelArrays.forEach(function(i){g.push(i+"Data")}),u&&(i.dataSorting&&Z(s.options.dataSorting,i.dataSorting),this.setData(u,!1))):this.dataTable.modified=this.dataTable,i.dataLabels&&a.dataLabels&&(i.dataLabels=this.mergeArrays(a.dataLabels,i.dataLabels)),i=tm(a,{index:void 0===a.index?s.index:a.index,pointStart:l?.series?.pointStart??a.pointStart},!A&&{data:s.options.data},i,c),A&&i.data&&(i.data=s.options.data),(g=["dataLabelsGroup","dataLabelsGroups","dataLabelsParentGroups","group","markerGroup","plotClipGroup","transformGroup"].concat(g)).forEac
vendor: 5,400 bytes, line 20
20h(function(i){g[i]=s[i],delete s[i]});let b=!1;if(iF[f]){if(b=f!==s.type,s.remove(!1,!1,!1,!0),b)if(n.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(s,iF[f].prototype);else{let i=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents;for(m in h)s[m]=void 0;Z(s,iF[f].prototype),i?s.hcEvents=i:delete s.hcEvents}}else tM(17,!0,n,{missingModuleFor:f});if(g.forEach(function(i){s[i]=g[i]}),s.init(n,i),A&&this.points)for(let i of(!1===(p=s.options).visible?(d.graphic=1,d.dataLabel=1):(this.hasMarkerChanged(p,a)&&(d.graphic=1),s.hasDataLabels?.()||(d.dataLabel=1)),this.points))i?.series&&(i.resolveColor(),Object.keys(d).length&&i.destroyElements(d),!1===p.showInLegend&&i.legendItem&&n.legend.destroyItem(i));s.initialType=o,n.linkSeries(),b&&s.linkedSeries.length&&(s.isDirtyData=!0),$(this,"afterUpdate"),ty(r,!0)&&n.redraw(!!A&&void 0)}setName(i){this.name=this.options.name=this.userOptions.name=i,this.chart.isDirtyLegend=!0}hasOptionChanged(i){let r=this.chart,s=this.options[i],n=r.options.plotOptions,a=this.userOptions[i],o=ty(n?.[this.type]?.[i],n?.series?.[i]);return a&&!X(o)?s!==a:s!==ty(o,s)}onMouseOver(){let i=this.chart,r=i.hoverSeries,s=i.pointer;s?.setHoverChartIndex(),r&&r!==this&&r.onMouseOut(),$(this,"mouseOver"),this.setState("hover"),i.hoverSeries=this}onMouseOut(){let i=this.chart,r=i.tooltip,s=i.hoverPoint;i.hoverSeries=null,s&&s.onMouseOut(),$(this,"mouseOut"),r&&!this.stickyTracking&&(!r.shared||this.noSharedTooltip)&&r.hide(),i.series.forEach(function(i){i.setState("",!0)})}setState(i,r){let s=this,{graph:n,options:a}=s,{inactiveOtherPoints:o,states:l}=a,h=ty(l?.[i||"normal"]?.animation,s.chart.options.chart.animation),{lineWidth:c,opacity:d}=a;if(i=i||"",s.state!==i&&([s.group,s.markerGroup,...s.dataLabelsGroups||[]].forEach(function(r){r&&(s.state&&r.removeClass("highcharts-series-"+s.state),i&&r.addClass("highcharts-series-"+i))}),s.state=i,!s.chart.styledMode)){if(l[i]?.enabled===!1)return;if(i&&(c=l[i].lineWidth||c+(l[i].lineWidthPlus||0),d=ty(l[i].opacity,d)),n&&!n.dashstyle&&th(c))for(let i of[n,...this.zones.map(i=>i.graph)])i?.animate({"stroke-width":c},h);o||[s.group,s.markerGroup,...s.dataLabelsGroups||[],s.labelBySeries].forEach(function(i){i?.animate({opacity:d},h)})}r&&o&&s.points&&s.setAllPointsToState(i||void 0)}setAllPointsToState(i){this.points.forEach(function(r){r.setState&&r.setState(i)})}setVisible(i,r){let s=this,n=s.chart,a=n.options.chart.ignoreHiddenSeries,o=s.visible;s.visible=i=s.options.visible=s.userOptions.visible=void 0===i?!o:i;let l=i?"show":"hide";["group","markerGroup","tracker","tt"].forEach(i=>{s[i]?.[l]()}),s.dataLabelsGroups?.forEach(i=>{i?.[l]()}),(n.hoverSeries===s||n.hoverPoint?.series===s)&&s.onMouseOut(),s.legendItem&&n.legend.colorizeItem(s,i),s.isDirty=!0,s.options.stacking&&n.series.forEach(i=>{i.options.stacking&&i.visible&&(i.isDirty=!0)}),s.linkedSeries.forEach(r=>{r.setVisible(i,!1)}),a&&(n.isDirtyBox=!0),$(s,l),!1!==r&&n.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(i){this.selected=i=this.options.selected=void 0===i?!this.selected:i,this.checkbox&&(this.checkbox.checked=i),$(this,i?"select":"unselect")}shouldShowTooltip(i,r,s={}){return s.series=this,s.visiblePlotOnly=!0,this.chart.isInsidePlot(i,r,s)}drawLegendSymbol(i,r){let s=this.chart.renderer,n=this.options.legendSymbol||"rectangle",a=r.legendItem||{},{options:o,symbolHeight:l,symbolWidth:h}=i,c=o.squareSymbol,d=c?l:h,u=c?(h-l)/2:0,p=(i.baseline||0)-l+1,m=o.symbolRadius??l,g="rectangle"===n?s.rect(u,p,d,l,m):s.symbols[n]&&s.symbol(n,u,p,d,l,{r:m});g?a.symbol=g.addClass("highcharts-point").attr({zIndex:3}).add(a.group):iw[n]?.call(this,i,r)}}iG.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"var(--highcharts-background-color)",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"var(--highcharts-neutral-color-20)",lineColor:"var(--highcharts-neutral-color-100)",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,distance:4,formatter:function(){let{numberFormatter:i}=this.series.chart;return"number"!=typeof this.y?"":i(this.y,-1)},padding:[1,3],style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},iG.types=iM.seriesTypes,iG.registerType=iM.registerSeriesType,iG.keepProps=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],iG.keepPropsForPoints=["data","isDirtyData","isDirtyCanvas","points","condemnedPoints","dataTable","hasProcessedDataTable","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"],Z(iG.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:im,requireSorting:!0,sorted:!0}
vendor: 4,781 bytes, line 20
20),iM.series=iG;let iU=iG,{animObject:iY,setAnimation:iW}=t$,{registerEventOptions:ij}=eQ,{composed:iz,marginNames:iX}=D,{distribute:iQ}=es,{format:iK}=er;class iV{constructor(i,r){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=i,this.setOptions(r),r.enabled&&(this.render(),ij(this,r),B(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),B(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(i){let r=ty(i.padding,8);this.options=i,this.chart.styledMode||(this.itemStyle=i.itemStyle,this.itemHiddenStyle=tm(this.itemStyle,i.itemHiddenStyle)),this.itemMarginTop=i.itemMarginTop,this.itemMarginBottom=i.itemMarginBottom,this.padding=r,this.initialItemY=r-5,this.symbolWidth=ty(i.symbolWidth,16),this.pages=[],this.proximate="proximate"===i.layout&&!this.chart.inverted,this.baseline=void 0}update(i,r){let s=this.chart;this.setOptions(tm(!0,this.options,i)),"events"in this.options&&ij(this,this.options),this.destroy(),s.isDirtyLegend=s.isDirtyBox=!0,ty(r,!0)&&s.redraw(),$(this,"afterUpdate",{redraw:r})}colorizeItem(i,r){let s=i.color,{area:n,group:a,label:o,line:l,symbol:h}=i.legendItem||{};if((i instanceof iU||i instanceof im)&&(i.color=i.options?.legendSymbolColor||s),a?.[r?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s={}}=this,a=s.color,{fillColor:c,lineColor:d}=i.options,u=i=>(!r&&(i.fill&&(i.fill=a),i.stroke&&(i.stroke=a)),i);o?.css(tm(r?this.itemStyle:s)),l?.attr(u({stroke:d||i.color})),h?.attr(u(i.series?i.series.pointAttribs?.(i):i.pointAttribs?.()||{fill:i.color})),n?.attr(u({fill:c||i.color,"fill-opacity":c?1:i.options.fillOpacity??.75}))}i.color=s,$(this,"afterColorizeItem",{item:i,visible:r})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(i){let{group:r,x:s=0,y:n=0}=i.legendItem||{},a=this.options,o=a.symbolPadding,l=!a.rtl,h=i.checkbox;if(r?.element){let a={translateX:l?s:this.legendWidth-s-2*o-4,translateY:n},h=()=>{$(this,"afterPositionItem",{item:i})};r[X(r.translateY)?"animate":"attr"](a,void 0,h)}h&&(h.x=s,h.y=n)}destroyItem(i){let r=i.legendItem||{};for(let i of["group","label","line","symbol"])r[i]&&(r[i]=r[i].destroy());i.checkbox=K(i.checkbox),i.legendItem=void 0}destroy(){for(let i of this.getAllItems())this.destroyItem(i);for(let i of["clipRect","up","down","pager","nav","box","title","group"])this[i]&&(this[i]=this[i].destroy());this.display=null}positionCheckboxes(){let i,r=this.group?.alignAttr,s=this.clipHeight||this.legendHeight,n=this.titleHeight;r&&(i=r.translateY,this.allItems.forEach(function(a){let o,l=a.checkbox;l&&(o=i+n+l.y+(this.scrollOffset||0)+3,z(l,{left:r.translateX+a.checkboxOffset+l.x-20+"px",top:o+"px",display:this.proximate||o>i-6&&o<i+s-6?"":"none"}))},this))}renderTitle(){let i=this.options,r=this.padding,s=i.title,n,a=0;s.text&&(this.title||(this.title=this.chart.renderer.label(s.text,r-3,r-4,void 0,void 0,void 0,i.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(s.style),this.title.add(this.group)),s.width||this.title.css({width:this.maxLegendWidth+"px"}),a=(n=this.title.getBBox()).height,this.offsetWidth=n.width,this.contentGroup.attr({translateY:a})),this.titleHeight=a}setText(i){let r=this.options;i.legendItem.label.attr({text:r.labelFormat?iK(r.labelFormat,i,this.chart):r.labelFormatter.call(i,i)})}renderItem(i){let r=i.legendItem=i.legendItem||{},s=this.chart,n=s.renderer,a=this.options,o="horizontal"===a.layout,l=this.symbolWidth,h=a.symbolPadding||0,c=this.itemStyle,d=this.itemHiddenStyle,u=o?ty(a.itemDistance,20):0,p=!a.rtl,m=!i.series,g=!m&&i.series.drawLegendSymbol?i.series:i,f=g.options,A=!!this.createCheckboxForItem&&f&&f.showCheckbox,b=a.useHTML,y=i.options.className,x=r.label,E=l+h+u+20*!!A;!x&&(r.group=n.g("legend-item").addClass("highcharts-"+g.type+"-series highcharts-color-"+i.colorIndex+(y?" "+y:"")+(m?" highcharts-series-"+i.index:"")).attr({zIndex:1}).add(this.scrollGroup),r.label=x=n.text("",p?l+h:-h,this.baseline||0,b),s.styledMode||x.css(tm(i.visible?c:d)),x.attr({align:p?"left":"right",zIndex:2}).add(r.group),!this.baseline&&(this.fontMetrics=n.fontMetrics(x),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,x.attr("y",this.baseline),this.symbolHeight=ty(a.symbolHeight,this.fontMetrics.f),a.squareSymbol&&(this.symbolWi
vendor: 1,957 bytes, line 20
20dth=ty(a.symbolWidth,Math.max(this.symbolHeight,16)),E=this.symbolWidth+h+u+20*!!A,p&&x.attr("x",this.symbolWidth+h))),g.drawLegendSymbol(this,i),this.setItemEvents&&this.setItemEvents(i,x,b)),A&&!i.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(i),this.colorizeItem(i,i.visible),(s.styledMode||!c.width)&&x.css({width:Math.min(a.itemWidth||this.widthOption||s.spacingBox.width,a.maxWidth?tT(a.maxWidth,s.chartWidth):1/0)-E+"px"}),this.setText(i);let T=x.getBBox(),C=this.fontMetrics?.h||0;i.itemWidth=i.checkboxOffset=a.itemWidth||r.labelWidth||T.width+E,this.maxItemWidth=Math.max(this.maxItemWidth,i.itemWidth),this.totalItemWidth+=i.itemWidth,this.itemHeight=i.itemHeight=Math.round(r.labelHeight||(T.height>1.5*C?T.height:C))}layoutItem(i){let r=this.options,s=this.padding,n="horizontal"===r.layout,a=i.itemHeight,o=this.itemMarginBottom,l=this.itemMarginTop,h=n?ty(r.itemDistance,20):0,c=this.maxLegendWidth,d=r.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:i.itemWidth,u=i.legendItem||{};n&&this.itemX-s+d>c&&(this.itemX=s,this.lastLineHeight&&(this.itemY+=l+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=l+this.itemY+o,this.lastLineHeight=Math.max(a,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,n?this.itemX+=d:(this.itemY+=l+a+o,this.lastLineHeight=a),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-s-(i.checkbox?0:h):d)+s,this.offsetWidth)}getAllItems(){let i=[];return this.chart.series.forEach(function(r){let s=r?.options;r&&ty(s.showInLegend,!X(s.linkedTo)&&void 0,!0)&&(i=i.concat(r.legendItem?.labels||("point"===s.legendType?r.data:r)))}),$(this,"afterGetAllItems",{allItems:i}),i}getAlignment(){let i=this.options;return this.proximate?i.align.charAt(0)+"tv":i.floating?"":i.align.charAt(0)+i.verticalAlign.charAt(0)+i.layout.charAt(0)}adjustMargins(i,r){let s=this.chart,n=this.options,a=this.getAlignment();a&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEac
vendor: 5,770 bytes, line 20
20h((o,l)=>{o.test(a)&&!X(i[l])&&(s[iX[l]]=Math.max(s[iX[l]],s.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*n[l%2?"x":"y"]+(n.margin??12)+r[l]+(s.titleOffset[l]||0)))})}proximatePositions(){let i,r=this.chart,s=[],n="left"===this.options.align;for(let a of(this.allItems.forEach(function(i){let a,o,l=n,h,c;i.yAxis&&(i.xAxis.options.reversed&&(l=!l),i.points&&(a=tn(l?i.points:i.points.slice(0).reverse(),function(i){return th(i.plotY)})),o=this.itemMarginTop+i.legendItem.label.getBBox().height+this.itemMarginBottom,c=i.yAxis.top-r.plotTop,h=i.visible?(a?a.plotY:i.yAxis.height)+(c-.3*o):c+i.yAxis.height,s.push({target:h,size:o,item:i}))},this),iQ(s,r.plotHeight)))i=a.item.legendItem||{},th(a.pos)&&(i.y=r.plotTop-r.spacing[0]+a.pos)}render(){let i=this.chart,r=i.spacingBox.width,s=i.renderer,n=this.options,a=this.padding,o=this.getAllItems(),l,h,c,d=this.group,u,p=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=tT(n.width,r-a),u=r-2*a-n.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(u/=2),this.maxLegendWidth=this.widthOption||u,d||(this.group=d=s.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=s.g().attr({zIndex:1}).add(d),this.scrollGroup=s.g().add(this.contentGroup)),this.renderTitle(),tI(o,(i,r)=>(i.options?.legendIndex||0)-(r.options?.legendIndex||0)),n.reversed&&o.reverse(),this.allItems=o,this.display=l=!!o.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),h=(n.maxWidth?Math.min(this.widthOption||this.offsetWidth,u,tT(n.maxWidth,i.chartWidth)||1/0):this.widthOption||this.offsetWidth)+a,c=this.lastItemY+this.lastLineHeight+this.titleHeight,c=this.handleOverflow(c)+a,p||(this.box=p=s.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(d)),i.styledMode||p.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),h>0&&c>0&&p[p.placed?"animate":"attr"](p.crisp.call({},{x:0,y:0,width:h,height:c},p.strokeWidth())),d[l?"show":"hide"](),i.styledMode&&"none"===d.getStyle("display")&&(h=c=0),this.legendWidth=h,this.legendHeight=c,l&&this.align(),this.proximate||this.positionItems(),$(this,"afterRender")}align(i=this.chart.spacingBox){let r=this.chart,s=this.options,n=i.y;/(lth|ct|rth)/.test(this.getAlignment())&&r.titleOffset[0]>0?n+=r.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&r.titleOffset[2]>0&&(n-=r.titleOffset[2]),n!==i.y&&(i=tm(i,{y:n})),r.hasRendered||(this.group.placed=!1),this.group.align(tm(s,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":s.verticalAlign}),!0,i)}handleOverflow(i){let r=this,s=this.chart,n=s.renderer,a=this.options,o=a.y,l="top"===a.verticalAlign,h=this.padding,c=a.maxHeight,d=a.navigation,u=ty(d.animation,!0),p=d.arrowSize||12,m=this.pages,g=this.allItems,f=function(i){"number"==typeof i?v.attr({height:i}):v&&(r.clipRect=v.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=i?"rect("+h+"px,9999px,"+(h+i)+"px,0)":"auto")},A=function(i){return r[i]=n.circle(0,0,1.3*p).translate(p/2,p/2).add(C),s.styledMode||r[i].attr("fill","rgba(0,0,0,0.0001)"),r[i]},b,y,x,E,T=s.spacingBox.height+(l?-o:o)-h,C=this.nav,v=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(T/=2),c&&(T=Math.min(T,c)),m.length=0,i&&T>0&&i>T&&!1!==d.enabled?(this.clipHeight=b=Math.max(T-20-this.titleHeight-h,0),this.currentPage=ty(this.currentPage,1),this.fullHeight=i,g.forEach((i,r)=>{let s=(x=i.legendItem||{}).y||0,n=Math.round(x.label.getBBox().height),a=m.length;(!a||s-m[a-1]>b&&(y||s)!==m[a-1])&&(m.push(y||s),a++),x.pageIx=a-1,y&&E&&(E.pageIx=a-1),r===g.length-1&&s+n-m[a-1]>b&&s>m[a-1]&&(m.push(s),x.pageIx=a),s!==y&&(y=s),E=x}),v||(v=r.clipRect=n.clipRect(0,h-2,9999,0),r.contentGroup.clip(v)),f(b),C||(this.nav=C=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,p,p).add(C),A("upTracker").on("click",function(){r.scroll(-1,u)}),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(C),this.down=n.symbol("triangle-down",0,0,p,p).add(C),A("downTracker").on("click",function(){r.scroll(1,u)})),r.scroll(0),i=T):C&&(f(),this.nav=C.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),i}scroll(i,r){let s=this.chart,n=this.pages,a=n.length,o=this.clipHeight,l=this.options.navigation,h=this.pager,c=this.padding,d=this.currentPage+i;d>a&&(d=a),d>0&&(void 0!==r&&iW(r,s),this.nav.attr({translateX:c,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(i){i.attr({class:1===d?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),h.attr({text:d+"/"+a}),[this.down,this.downTracker].forEach(function(i){i.attr({x:18+this.pager.getBBox().width,class:d===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),s.styledMode||(this.up.attr({fill:1===d?l.inactiveColor:l.activeColor}),this.upTracker.css({cursor:1===d?"default":"pointer"}),this.down.attr({fill:d===a?l.inactiveColor:l.activeColor}),this.downTracker.css({cursor:d===a?"default":"pointer"})),this.scrollOffset=-n[d-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=d,this.positionCheckboxes(),tw(()=>{$(this,"afterScroll",{currentPage:d})},iY(ty(r,s.renderer.globalAnimation,!0)).duration))}setItemEvents(i,r,s){let n=this,a=i.legendItem||{},o=n.chart.renderer.boxWrapper,l=i instanceof im,h=i instanceof iU,c="highcharts-legend-"+(l?"point":"series")+"-active",d=n.chart.styledMode,u=s?[r,a.symbol]:[a.group],p=r=>
vendor: 18,459 bytes, line 20
20{n.allItems.forEach(s=>{i!==s&&[s].concat(s.linkedSeries||[]).forEach(i=>{i.setState(r,!l)})})};for(let s of u)s&&s.on("mouseover",function(){i.visible&&p("inactive"),i.setState("hover"),i.visible&&o.addClass(c),d||r.css(n.options.itemHoverStyle)}).on("mouseout",function(){n.chart.styledMode||r.css(tm(i.visible?n.itemStyle:n.itemHiddenStyle)),p(""),o.removeClass(c),i.setState()}).on("click",function(r){let s=function(){i.setVisible&&i.setVisible(),p(i.visible?"inactive":"")};o.removeClass(c),$(n,"itemClick",{browserEvent:r,legendItem:i,context:n},s),l?i.firePointEvent("legendItemClick",{browserEvent:r}):h&&$(i,"legendItemClick",{browserEvent:r})})}createCheckboxForItem(i){i.checkbox=W("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:i.selected,defaultChecked:i.selected},this.options.itemCheckboxStyle,this.chart.container),B(i.checkbox,"click",function(r){let s=r.target;$(i.series||i,"checkboxClick",{checked:s.checked,item:i},function(){i.select()})})}}(u=iV||(iV={})).compose=function(i){tE(iz,"Core.Legend")&&B(i,"beforeMargins",function(){this.legend=new u(this,this.options.legend)})};let iq=iV,{animate:iZ,animObject:iJ,setAnimation:i$}=t$,{defaultOptions:i0}=tW,{numberFormat:i1}=er,{registerEventOptions:i2}=eQ,{charts:i3,doc:i5,marginNames:i4,win:i8}=D,{seriesTypes:i6}=iM;class i9{static chart(i,r,s){let n=new i9(i,r,s);return n.promise||n}constructor(i,r,s){if(this.sharedClips={},!i5)return void tM(36,!1,this);let n=[...arguments];(tc(i)||i.nodeName)&&(this.renderTo=n.shift()),this.init(n[0],n[1])}setZoomOptions(){let i=this.options.chart,r=i.zooming;this.zooming={...r,type:ty(i.zoomType,r.type),key:ty(i.zoomKey,r.key),pinchType:ty(i.pinchType,r.pinchType),singleTouch:ty(i.zoomBySingleTouch,r.singleTouch,!1),resetButton:tm(r.resetButton,i.resetZoomButton)}}init(i,r){$(this,"init",{args:arguments},function(){let s=tm(i0,i),n=s.chart,a=this.renderTo||n.renderTo;this.userOptions=Z({},i),(this.renderTo=tc(a)?i5.getElementById(a):a)||tM(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],!0===r?this.promise=new Promise(i=>{this.callback=i}):this.callback=r,this.isResizing=0,this.options=s,this.axes=[],this.series=[],this.locale=s.lang.locale??this.renderTo.closest("[lang]")?.lang,this.time=new tH(Z(s.time||{},{locale:this.locale}),s.lang),s.time=this.time.options,this.numberFormatter=(n.numberFormatter||i1).bind(this),this.styledMode=n.styledMode,this.hasCartesianSeries=n.showAxes,this.index=i3.length,this.dataTable=this.getDataTable(s),i3.push(this),D.chartCount++,i2(this,n),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),$(this,"afterInit"),this.firstRender()})}getDataTable(i){return(i.dataTable?tS(i.dataTable):[]).map(i=>i.isDataTable?i:new iv(i))}initSeries(i){let r=this.options.chart,s=i.type||r.type,n=i6[s];n||tM(17,!0,this,{missingModuleFor:s});let a=new n;return"function"==typeof a.init&&a.init(this,i),a}orderItems(i,r=0){let s=this[i],n=this.options[i]=tS(this.options[i]).slice(),a=this.userOptions[i]=this.userOptions[i]?tS(this.userOptions[i]).slice():[];if(this.hasRendered&&(n.splice(r),a.splice(r)),s)for(let i=r,o=s.length;i<o;++i){let r=s[i];r&&(r.index=i,r instanceof iU&&(r.name=r.getName()),r.options.isInternal||(n[i]=r.options,a[i]=r.userOptions))}}getClipBox(i,r){let s=this.inverted,{xAxis:n,yAxis:a}=i||{},{x:o,y:l,width:h,height:c}=tm(this.clipBox);return i&&(n&&n.len!==this.plotSizeX&&!n.isRadial&&(h=n.len),a&&a.len!==this.plotSizeY&&!a.isRadial&&(c=a.len),s&&!i.invertible&&([h,c]=[c,h])),r&&(o+=(s?a:n)?.pos??this.plotLeft,l+=(s?n:a)?.pos??this.plotTop),{x:o,y:l,width:h,height:c}}isInsidePlot(i,r,s={}){let{inverted:n,plotBox:a,plotLeft:o,plotTop:l,scrollablePlotBox:h}=this,{scrollLeft:c=0,scrollTop:d=0}=s.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},u=s.series,p=s.visiblePlotOnly&&h||a,m=s.inverted?r:i,g=s.inverted?i:r,f={x:m,y:g,isInsidePlot:!0,options:s};if(!s.ignoreX){let i=u&&(n&&!this.polar?u.yAxis:u.xAxis)||{pos:o,len:1/0},r=s.paneCoordinates?i.pos+m:o+m;r>=Math.max(c+o,i.pos)&&r<=Math.min(c+o+p.width,i.pos+i.len)||(f.isInsidePlot=!1)}if(!s.ignoreY&&f.isInsidePlot){let i=!n&&s.axis&&!s.axis.isXAxis&&s.axis||u&&(n?u.xAxis:u.yAxis)||{pos:l,len:1/0},r=s.paneCoordinates?i.pos+g:l+g;r>=Math.max(d+l,i.pos)&&r<=Math.min(d+l+p.height,i.pos+i.len)||(f.isInsidePlot=!1)}return $(this,"afterIsInsidePlot",f),f.isInsidePlot}redraw(i){$(this,"beforeRedraw");let r=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,n=this.pointer,a=this.legend,o=this.userOptions.legend,l=this.renderer,h=l.isHidden(),c=[],d,u,p,m=this.isDirtyBox,g=this.isDirtyLegend,f;for(l.rootFontSize=l.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),i$(!!this.hasRendered&&i,this),h&&this.temporaryDisplay(),this.layOutTitles(!1),p=s.length;p--;)if(((f=s[p]).options.stacking||f.options.centerInCategory)&&(u=!0,f.isDirty)){d=!0;break}if(d)for(p=s.length;p--;)(f=s[p]).options.stacking&&(f.isDirty=!0);s.forEach(function(i){i.isDirty&&("point"===i.options.legendType?("function"==typeof i.updateTotals&&i.updateTotals(),g=!0):o&&(o.labelFormatter||o.labelFormat)&&(g=!0)),i.isDirtyData&&$(i,"updatedData")}),g&&a&&a.options.enabled&&(a.render(),this.isDirtyLegend=!1),u&&this.getStacks(),r.forEach(function(i){i.updateNames(),i.setScale()}),this.getMargins(),r.forEach(function(i){i.isDirty&&(m=!0)}),r.forEach(function(i){let r=i.min+","+i.max;i.extKey!==r&&(i.extKey=r,c.push(function(){$(i,"afterSetExtremes",Z(i.eventArgs,i.getExtremes())),delete i.eventArgs})),(m||u)&&i.redraw()}),m&&this.drawChartBox(),$(this,"predraw"),s.forEach(function(i){(m||i.isDirty)&&i.visible&&i.redraw(),i.isDirtyData=!1}),n&&n.reset(!0),l.draw(),r.forEach(i=>{i.saveOld()}),$(this,"redraw"),$(this,"render"),h&&this.temporaryDisplay(!0),c.forEach(function(i){i.call()})}get(i){let r=this.series;function s(r){return r.id===i||r.options&&r.options.id===i}let n=tn(this.axes,s)||tn(this.series,s);for(let i=0;!n&&i<r.length;i++)n=tn(r[i].points||[],s);return n}createAxes(){let i=this.userOptions;for(let r of($(this,"createAxes"),["xAxis","yAxis"]))for(let s of i[r]=tS(i[r]||{}))new e5(this,s,r);$(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce((i,r)=>(r.getPointsCollection().forEach(r=>{ty(r.selectedStaging,r.selected)&&i.push(r)}),i),[])}getSelectedSeries(){return this.series.filter(i=>i.selected)}setTitle(i,r,s){this.applyDescription("title",i),this.applyDescription("subtitle",r),this.applyDescription("caption",void 0),this.layOutTitles(s)}applyDescription(i,r){let s=this,n=this.options[i]=tm(this.options[i],r),a=this[i];a&&r&&(this[i]=a=a.destroy()),n&&!a&&((a=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+i,zIndex:n.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(r,n){s.applyDescription(i,r),s.layOutTitles(n)},this.styledMode||a.css(Z("title"===i?{fontSize:this.options.isStock?"1em":"1.2em"}:{},n.style)),a.textPxLength=a.getBBox().width,a.css({whiteSpace:n.style?.whiteSpace}),this[i]=a)}layOutTitles(i=!0){let r=[0,0,0],{options:s,renderer:n,spacingBox:a}=this;["title","subtitle","caption"].forEach(i=>{let s=this[i],o=this.options[i],l=tm(a),h=s?.textPxLength||0;if(s&&o){$(this,"layOutTitle",{alignTo:l,key:i,textPxLength:h});let a=n.fontMetrics(s),c=a.b,d=a.h,u=o.verticalAlign||"top",p="top"===u,m=p&&o.minScale||1,g="title"===i?p?-3:0:p?r[0]+2:0,f=Math.min(l.width/h,1),A=Math.max(m,f),b=tm({y:"bottom"===u?c:g+c},o),y=(o.width||(f>m?this.chartWidth:l.width)/A)+"px";b.align??(b.align="title"===i?f<m?"left":"center":this.title?.alignValue),s.alignValue!==b.align&&(s.placed=!1);let x=Math.round(s.css({width:y}).getBBox(o.useHTML).height);if(b.height=x,s.align(b,!1,l).attr({align:b.align,scaleX:A,scaleY:A,"transform-origin":`${l.x+h*A*tt(b.align)} ${d}`}),!o.floating){let i=x*(x<1.2*d?1:A);"top"===u?r[0]=Math.ceil(r[0]+i):"bottom"===u&&(r[2]=Math.ceil(r[2]+i))}}},this),r[0]&&"top"===(s.title?.verticalAlign||"top")&&(r[0]+=s.title?.margin||0),r[2]&&s.caption?.verticalAlign==="bottom"&&(r[2]+=s.caption?.margin||0);let o=!this.titleOffset||this.titleOffset.join(",")!==r.join(",");this.titleOffset=r,$(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&i&&this.isDirtyBox&&this.redraw())}getContainerBox(){let i=[].map.call(this.renderTo.children,i=>{if(i!==this.container){let r=i.style.display;return i.style.display="none",[i,r]}}),r={width:ts(this.renderTo,"width",!0)||0,height:ts(this.renderTo,"height",!0)||0};return i.filter(Boolean).forEach(([i,r])=>{i.style.display=r}),r}getChartSize(){let i=this.options.chart,r=i.width,s=i.height,n=this.getContainerBox(),a=n.height<=1||!this.renderTo.parentElement?.style.height&&"100%"===this.renderTo.style.height;this.chartWidth=Math.max(0,r||n.width||600),this.chartHeight=Math.max(0,tT(s,this.chartWidth)||(a?400:n.height)),this.containerBox=n}temporaryDisplay(i){let r=this.renderTo,s;if(i)for(;r?.style;)r.hcOrigStyle&&(z(r,r.hcOrigStyle),delete r.hcOrigStyle),r.hcOrigDetached&&(i5.body.removeChild(r),r.hcOrigDetached=!1),r=r.parentNode;else for(;r?.style&&(i5.body.contains(r)||r.parentNode||(r.hcOrigDetached=!0,i5.body.appendChild(r)),("none"===ts(r,"display",!1)||r.hcOrigDetached)&&(r.hcOrigStyle={display:r.style.display,height:r.style.height,overflow:r.style.overflow},s={display:"block",overflow:"hidden"},r!==this.renderTo&&(s.height=0),z(r,s),r.offsetWidth||r.style.setProperty("display","block","important")),(r=r.parentNode)!==i5.body););}setClassName(i){this.container.className="highcharts-container "+(i||"")}getContainer(){let i,r=this.options,s=r.chart,n="data-highcharts-chart",a=tO(),o=this.renderTo,l=tx(G(o,n));th(l)&&i3[l]&&i3[l].hasRendered&&i3[l].destroy(),G(o,n,this.index),o.innerHTML=t4.emptyHTML,s.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h=this.chartHeight,c=this.chartWidth;this.styledMode||z(o,{overflow:"hidden"}),this.styledMode||(i=Z({position:"relative",overflow:"hidden",width:c+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},s.style||{}));let d=W("div",{id:a},i,o);if(this.container=d,this.getChartSize(),c!==this.chartWidth&&(c=this.chartWidth,this.styledMode||z(d,{width:ty(s.style?.width,c+"px")})),this._cursor=d.style.cursor,this.renderer=new eU(d,c,h,void 0,s.forExport,r.exporting?.allowHTML,this.styledMode,r.palette,this.index),this.containerBox=this.getContainerBox(),i$(void 0,this),this.setClassName(s.className),this.styledMode)for(let i in r.defs)this.renderer.definition(r.defs[i]);else this.renderer.setStyle(s.style),this.palette=this.renderer.palette;$(this,"afterGetContainer")}getMargins(i){let{spacing:r,margin:s,titleOffset:n}=this;this.resetMargins(),n[0]&&!X(s[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+r[0])),n[2]&&!X(s[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+r[2])),this.legend?.display&&this.legend.adjustMargins(s,r),$(this,"getMargins"),i||this.getAxisMargins()}getAxisMargins(){let i=this,r=i.axisOffset=[0,0,0,0],s=i.colorAxis,n=i.margin,a=i=>{i.forEach(i=>{i.visible&&i.getOffset()})};i.hasCartesianSeries?a(i.axes):s?.length&&a(s),i4.forEach((s,a)=>{X(n[a])||(i[s]+=r[a])}),i.setChartSize()}getOptions(){return V(this.userOptions,i0)}reflow(i){let r=this,s=r.containerBox,n=r.getContainerBox();delete r.pointer?.chartPosition,!r.exporting?.isPrinting&&!r.isResizing&&s&&n.width&&((n.width!==s.width||n.height!==s.height)&&(ta(r.reflowTimeout),r.reflowTimeout=tw(function(){if(r.container){r.setSize(void 0,void 0,!1);let i=r.containerBox;i&&(i.height=r.chartHeight)}},100*!!i)),r.containerBox=n)}setReflow(){let i=this,r=r=>{i.options?.chart.reflow&&i.hasLoaded&&i.reflow(r)};if("function"==typeof ResizeObserver)new ResizeObserver(r).observe(i.renderTo);else{let i=B(i8,"resize",r);B(this,"destroy",i)}}setSize(i,r,s){let n=this,a=n.renderer;n.isResizing+=1,i$(s,n);let o=a.globalAnimation;n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,void 0!==i&&(n.options.chart.width=i),void 0!==r&&(n.options.chart.height=r),n.getChartSize();let{chartWidth:l,chartHeight:h,scrollablePixelsX:c=0,scrollablePixelsY:d=0}=n;(n.isDirtyBox||l!==n.oldChartWidth||h!==n.oldChartHeight)&&(n.styledMode||(o?iZ:z)(n.container,{width:`${l+c}px`,height:`${h+d}px`},o),n.setChartSize(!0),a.setSize(l,h,o),n.axes.forEach(function(i){i.isDirty=!0,i.setScale()}),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(o),n.oldChartHeight=void 0,$(n,"resize"),setTimeout(()=>{n&&$(n,"endResize")},iJ(o).duration)),n.isResizing-=1}setChartSize(i){let r,s,n,a,{chartHeight:o,chartWidth:l,clipOffset:h,inverted:c,spacing:d,renderer:u}=this,p=Math[c?"floor":"round"];if(this.plotLeft=r=Math.round(this.plotLeft),this.plotTop=s=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(l-r-(this.marginRight??0))),this.plotHeight=a=Math.max(0,Math.round(o-s-(this.marginBottom??0))),this.plotSizeX=c?a:n,this.plotSizeY=c?n:a,this.spacingBox=u.spacingBox={x:d[3],y:d[0],width:l-d[3]-d[1],height:o-d[0]-d[2]},this.plotBox=u.plotBox={x:r,y:s,width:n,height:a},h&&(this.clipBox={x:p(h[c?2:3]),y:p(h[+!!c]),width:p(this.plotSizeX-h[+!c]-h[c?2:3]),height:p(this.plotSizeY-h[+!!c]-h[c?3:2])}),!i){for(let i of this.axes)i.setAxisSize(),i.setAxisTranslation();u.alignElements()}$(this,"afterSetChartSize",{skipAxes:i})}resetMargins(){$(this,"resetMargins");let i=this,r=i.options.chart,s=r.plotBorderWidth||0,n=Math.round(s)/2;["margin","spacing"].forEach(s=>{let n=r[s],a=tp(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((n,o)=>{i[s][o]=r[`${s}${n}`]??a[o]})}),i4.forEach((r,s)=>{i[r]=i.margin[s]??i.spacing[s]}),i.axisOffset=[0,0,0,0],i.clipOffset=[n,n,n,n],i.plotBorderWidth=s}drawChartBox(){let i=this,r=i.options.chart,{backgroundColor:s,plotBackgroundColor:n,plotBackgroundImage:a,plotBorderRadius:o=0,shadow:l}=r,{chartWidth:h,chartHeight:c,clipBox:d,clipOffset:u,clipRect:p,plotBGImage:m,plotBox:g,plotLeft:f,plotTop:A,plotWidth:b,plotHeight:y,renderer:x,styledMode:E}=i,T=i.chartBackground,C=i.plotBackground,v=i.plotBorder,S,I,w,_="animate";T||(i.chartBackground=T=x.rect().addClass("highcharts-background").add(),_="attr"),E?S=I=T.strokeWidth():(I=(S=r.borderWidth||0)+8*!!l,w={fill:s||"none"},(S||T["stroke-width"])&&(w.stroke=r.borderColor,w["stroke-width"]=S),T.attr(w).shadow(l)),T[_]({x:I/2,y:I/2,width:h-I-S%2,height:c-I-S%2,r:r.borderRadius}),_="animate",C||(_="attr",i.plotBackground=C=x.rect().addClass("highcharts-plot-background").add()),C[_]({...g,r:o}),!E&&(C.attr({fill:n||"none"}).shadow(r.plotShadow),a&&(m?(a!==m.attr("href")&&m.attr("href",a),m.animate(g)):i.plotBGImage=x.image(a,f,A,b,y).add())),p?p.animate({width:d.width,height:d.height}):i.clipRect=x.clipRect(d),_="animate",v||(_="attr",i.plotBorder=v=x.rect().addClass("highcharts-plot-border").attr({zIndex:1.5}).add()),v.attr(E?void 0:{stroke:r.plotBorderColor,"stroke-width":r.plotBorderWidth||0,fill:"none"})[_]({r:o});let k=v.strokeWidth(),N=tm(v.crisp(g,-k));if(u&&!E){let i=u[0]-k/2,r=u[3]-k/2;N.x-=r,N.y-=i,N.width+=r+u[1]-k/2,N.height+=i+u[2]-k/2}v[_](N),["plotClipOuter","plotClipInner"].forEach((r,s)=>{let n=i[r],a=s?-k:k;n?.[o?_:"attr"]({x:N.x-a/2,y:N.y-a/2,width:N.width+a,height:N.height+a,r:o?o+a/2:0}),n?.parentGroup?.attr({display:o?"":"none"})}),i.isDirtyBox=!1,$(this,"afterDrawChartBox")}propFromSeries(){let i,r,s,n=this,a=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach(function(l){for(r=i6[a.type],s=a[l]||r&&r.prototype[l],i=o?.length;!s&&i--;)(r=i6[o[i].type])&&r.prototype[l]&&(s=!0);n[l]=s})}linkSeries(i){let r=this,s=r.series;s.forEach(function(i){i.linkedSeries.length=0}),s.forEach(function(i){let{linkedTo:n}=i.options,a=tc(n)&&(":previous"===n?s[i.index-1]:r.get(n));a&&a.linkedParent!==i&&(a.linkedSeries.push(i),i.linkedParent=a,i.visible=i.options.visible??a.options.visible??i.visible)}),$(this,"afterLinkSeries",{isUpdating:i})}renderSeries(){this.series.forEach(function(i){i.translate(),i.render()})}render(){let i=this.axes,r=this.colorAxis,s=this.renderer,{axisLayoutRuns:n=2,plotBorderRadius:a}=this.options.chart,o=i=>{i.forEach(i=>{i.visible&&i.render()})},l=0,h=!0,c,d=0;for(let r of(a&&(this.plotClipOuter||(this.plotClipOuter=s.clipRect()),this.plotClipInner||(this.plotClipInner=s.clipRect())),this.setTitle(),$(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),i)){let{options:i}=r,{labels:s,offset:n}=i;if(this.hasCartesianSeries&&r.horiz&&r.visible&&s.enabled&&r.series.length&&"colorAxis"!==r.coll&&!r.isRadial){l=i.tickLength,r.createGroups();let a=new eV(r,0,"",!0),o=a.createLabel("x",s);if(a.destroy(),o&&ty(s.reserveSpace,!th(i.crossing))&&(l=o.getBBox().height+s.distance+Math.max(th(n)?n:0,0)),l){o?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-l,0);(h||c||n>1)&&d<n;){let r=this.plotWidth,s=this.plotHeight,n=[1.05,1.1];for(let r of i){let i=+(r.horiz||0);if(0===d){r.setScale();let s=r.tickPositions?.info?.match;s&&(n[i]=Math.min(s,n[i]))}else(i&&h||!i&&c)&&r.setTickInterval(!0)}0===d?this.getAxisMargins():this.getMargins(),h=r/this.plotWidth>(d?1:n[1]),c=s/this.plotHeight>(d?1:n[0]),d++}this.drawChartBox(),this.hasCartesianSeries?o(i):r?.length&&o(r),this.seriesGroup||(this.seriesGroup=s.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(i){let r=this,s=tm(!0,this.options.credits,i);s.enabled&&!this.credits&&(this.credits=this.renderer.text(s.text+(this.mapCredits||""),0,0,s.useHTML).addClass("highcharts-credits").on("click",function(i){$(r,"creditsClick",i,()=>{s.href&&(i8.location.href=s.href)})}).attr({align:s.position.align,zIndex:8}),s.events?.click&&B(r,"creditsClick",s.events.click),r.styledMode||this.credits.css(s.style),this.credits.add().align(s.position),this.credits.update=function(i){r.credits=r.credits.destroy(),r.addCredits(i)})}destroy(){let i,r=this,s=r.axes,n=r.series,a=r.container,o=a?.parentNode;for($(r,"destroy"),r.renderer.forExport?q(i3,r):i3[r.index]=void 0,D.chartCount--,r.renderTo.removeAttribute("data-highcharts-chart"),tv(r),i=s.length;i--;)s[i]=s[i].destroy();for(this.scroller?.destroy?.(),i=n.length;i--;)n[i]=n[i].destroy();
vendor: 4,084 bytes, line 20
20["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(i=>{r[i]=r[i]?.destroy?.()}),a&&(a.innerHTML=t4.emptyHTML,tv(a),o&&K(a)),tf(r,function(i,s){delete r[s]})}firstRender(){let i=this,r=i.options;i.getContainer(),i.resetMargins(),i.setChartSize(),i.propFromSeries(),i.createAxes();let s=td(r.series)?r.series:[];r.series=[],s.forEach(function(r){i.initSeries(r)}),i.linkSeries(),$(i,"beforeRender"),i.render(),i.pointer?.getChartPosition(),i.renderer.asyncCounter||i.hasLoaded||i.onload(),i.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(i){i&&void 0!==this.index&&i.apply(this,[this])},this),$(this,"load"),$(this,"render"),X(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.warnIfCSSNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:i,title:r}=this;i&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(r?.element.textContent||"").replace(/</g,"<")}),i.accessibility&&!1===i.accessibility.enabled||tM('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}warnIfCSSNotLoaded(){this.styledMode&&"0"!==i8.getComputedStyle(this.container).zIndex&&tM(35,!1,this)}addSeries(i,r,s){let n,a=this;return i&&(r=ty(r,!0),$(a,"addSeries",{options:i},function(){n=a.initSeries(i),a.isDirtyLegend=!0,a.linkSeries(),$(a,"afterAddSeries",{series:n}),r&&a.redraw(s)})),n}addAxis(i,r,s,n){return this.createAxis(r?"xAxis":"yAxis",{axis:i,redraw:s,animation:n})}addColorAxis(i,r,s){return this.createAxis("colorAxis",{axis:i,redraw:r,animation:s})}createAxis(i,r){let s=new e5(this,r.axis,i);return ty(r.redraw,!0)&&this.redraw(r.animation),s}showLoading(i){let r=this,s=r.options,n=s.loading,a=n?.style??{},o=function(){l&&z(l,{left:a.left??r.plotLeft+"px",top:a.top??r.plotTop+"px",width:a.width??r.plotWidth+"px",height:a.height??r.plotHeight+"px"})},l=r.loadingDiv,h=r.loadingSpan;l||(r.loadingDiv=l=W("div",{className:"highcharts-loading highcharts-loading-hidden"},null,r.container)),h||(r.loadingSpan=h=W("span",{className:"highcharts-loading-inner"},null,l),B(r,"redraw",o)),l.className="highcharts-loading",t4.setElementHTML(h,ty(i,s.lang.loading,"")),!r.styledMode&&(z(l,Z(a,{zIndex:10})),z(h,n?.labelStyle??{}),r.loadingShown||(z(l,{opacity:0,display:""}),iZ(l,{opacity:a.opacity??.5},{duration:n?.showDuration??0}))),r.loadingShown=!0,o()}hideLoading(){let i=this.options,r=this.loadingDiv;r&&(r.className="highcharts-loading highcharts-loading-hidden",this.styledMode||iZ(r,{opacity:0},{duration:i.loading?.hideDuration??100,complete:function(){z(r,{display:"none"})}})),this.loadingShown=!1}update(i,r,s,n){let a,o,l,h=this,c={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},d=i.isResponsiveOptions,u=[];$(h,"update",{options:i}),d||h.setResponsive(!1,!0),i=V(i,h.options),h.userOptions=tm(h.userOptions,i);let p=i.chart;p&&(tm(!0,h.options.chart,p),this.setZoomOptions(),"className"in p&&h.setClassName(p.className),("inverted"in p||"polar"in p||"type"in p)&&(h.propFromSeries(),a=!0),"alignTicks"in p&&(a=!0),"events"in p&&i2(this,p),tf(p,function(i,r){-1!==h.propsRequireUpdateSeries.indexOf("chart."+r)&&(o=!0),-1!==h.propsRequireDirtyBox.indexOf(r)&&(h.isDirtyBox=!0),-1!==h.propsRequireReflow.indexOf(r)&&(h.isDirtyBox=!0,d||(l=!0))}),!h.styledMode&&p.style&&h.renderer.setStyle(h.options.chart.style||{})),!h.styledMode&&i.colors&&(this.options.colors=i.colors),tf(i,function(r,s){h[s]&&"function"==typeof h[s].update?h[s].update(r,!1):"function"==typeof h[c[s]]?h[c[s]](r):"colors"!==s&&-1===h.collectionsWithUpdate.indexOf(s)&&tm(!0,h.options[s],i[s]),"chart"!==s&&-1!==h.propsRequireUpdateSeries.indexOf(s)&&(o=!0)}),this.collectionsWithUpdate.forEach(r=>
20{i[r]&&(tS(i[r]).forEach((i,n)=>{let a;if(!i)return;let o=X(i.id);o&&(a=h.get(i.id)),!a&&h[r]&&(a=h[r][ty(i.index,n)])&&(o&&X(a.options.id)||a.options.isInternal)&&(a=void 0),a&&a.coll===r&&(a.update(i,!1),s&&(a.touched=!0)),!a&&s&&h.collectionsWithInit[r]&&(h.collectionsWithInit[r][0].apply(h,[i].concat(h.collectionsWithInit[r][1]||[]).concat([!1])).touched=!0)}),s&&h[r].forEach(i=>{i.touched||i.options.isInternal?delete i.touched:u.push(i)}))}),u.forEach(i=>{i.chart&&i.remove&&i.remove(!1)}),a&&h.axes.forEach(function(i){i.update({},!1)}),o&&h.series.forEach(i=>{i.chart&&i.update({},!1)});let m=p?.width,g=p&&(tc(p.height)?tT(p.height,m||h.chartWidth):p.height);l||th(m)&&m!==h.chartWidth||th(g)&&g!==h.chartHeight?h.setSize(m,g,n):ty(r,!0)&&h.redraw(n),$(h,"afterUpdate",{options:i,redraw:r,animation:n})}setSubtitle(i,r){this.applyDescription("subtitle",i),this.layOutTitles(r)}setCaption(i,r){this.applyDescription("caption",i),this.layOutTitles(r)}showResetZoom(){let i=this,r=i.options.lang,s=i.zooming.resetButton,n=s.theme,a="chart"===s.relativeTo||"spacingBox"===s.relativeTo?null:"plotBox";function o(){i.zoomOut()}$(this,"beforeShowResetZoom",null,function(){i.resetZoomButton=i.renderer.button(r.resetZoom,null,null,o,n).attr({align:s.position.align,title:r.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(s.position,!1,a)}),$(this,"afterShowResetZoom")}zoomOut(){$(this,"selection",{resetSelection:!0}
vendor: 2,813 bytes, line 20
20,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(i,r){let s=this,n="object"==typeof r?r:{enabled:r,type:"x"},a=n.type,o=a&&s[({x:"xAxis",xy:"axes",y:"yAxis"})[a]].filter(i=>i.options.panningEnabled&&!i.options.isInternal),l=s.options.chart;l?.panning&&(l.panning=n),$(this,"pan",{originalEvent:i},()=>{s.transform({axes:o,event:i,to:{x:i.chartX-(s.mouseDownX||0),y:i.chartY-(s.mouseDownY||0)},trigger:"pan"}),z(s.container,{cursor:"move"})})}transform(i){let{axes:r=this.axes,event:s,from:n={},reset:a,selection:o,to:l={},trigger:h,allowResetButton:c=!0}=i,{inverted:d,time:u}=this;this.hoverPoints?.forEach(i=>i.setState()),$(this,"transform",i);let p=i.hasZoomed||!1,m,g;for(let i of r){let{horiz:r,len:f,minPointOffset:A=0,options:b,reversed:y}=i,x=r?"width":"height",E=r?"x":"y",T=ty(l[x],i.len),C=ty(n[x],i.len),v=10>Math.abs(T)?1:T/C,S=(n[E]||0)+C/2-i.pos,I=S-((l[E]??i.pos)+T/2-i.pos)/v,w=y&&!d||!y&&d?-1:1;if(!a&&(S<0||S>i.len))continue;let _=i.chart.polar||i.isOrdinal&&v<=1?0:A*w||0,k=i.toValue(I,!0),N=i.toValue(I+f/v,!0),M=k+_,L=N-_,D=i.allExtremes;if(o&&o[i.coll].push({axis:i,min:Math.min(k,N),max:Math.max(k,N)}),M>L&&([M,L]=[L,M]),1===v&&!a&&"yAxis"===i.coll&&!D){for(let r of i.series){let i=r.getExtremes(r.getProcessedData(!0).modified.getColumn(r.pointValKey||"y")||[],!0);D??(D={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),th(i.dataMin)&&th(i.dataMax)&&(D.dataMin=Math.min(i.dataMin,D.dataMin),D.dataMax=Math.max(i.dataMax,D.dataMax))}i.allExtremes=D}let{dataMin:O,dataMax:P,min:R,max:B}=Z(i.getExtremes(),D||{}),F=u.parse(b.min),H=u.parse(b.max),G=O??F,U=P??H,Y=L-M,W=i.categories?0:Math.min(Y,U-G),j=G-W*(X(F)?0:b.minPadding),z=U+W*(X(H)?0:b.maxPadding),Q=i.allowZoomOutside||1===v||"zoom"!==h&&v>1,K=Math.min(F??j,j,Q?R:j),V=Math.max(H??z,z,Q?B:z);(!i.isOrdinal||1!==v||a)&&(M<K&&(M=K,v>=1&&(L=M+Y)),L>V&&(L=V,v>=1&&(M=L-Y)),(a||i.series.length&&(M!==R||L!==B)&&M>=K&&L<=V)&&(o?o[i.coll].push({axis:i,min:M,max:L}):(i.isPanning="zoom"!==h,i.isPanning&&"mousewheel"!==h&&(g=!0),i.setExtremes(a?void 0:M,a?void 0:L,!1,!1,{move:I,trigger:h,scale:v}),!a&&(M>K||L<V)&&(m=c)),p=!0),this.hasCartesianSeries||a||(m=c),s&&(this[r?"mouseDownX":"mouseDownY"]=s[r?"chartX":"chartY"]))}return p&&(o?$(this,"selection",o,()=>{delete i.selection,i.trigger="zoom",this.transform(i)}):(!m||g||this.resetZoomButton?!m&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===h&&(this.options.chart.animation??this.pointCount<100)))),p}}Z(i9.prototype,{callbacks:[],collectionsWithInit:{xAxis:[i9.prototype.addAxis,[!0]],yAxis:[i9.prototype.addAxis,[!1]],series:[i9.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
20dColor","plotBackgroundImage","plotBorderColor","plotBorderRadius","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let{stop:i7}=t$,{composed:rt}=D;function re(){(this.scrollablePixelsX||this.scrollablePixelsY)&&!this.scrollablePlotArea&&(this.scrollablePlotArea=new rr(this)),this.scrollablePlotArea?.applyFixed()}function ri(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class rr{static compose(i,r,s){tE(rt,"ScrollablePlotArea")&&(B(i,"afterInit",ri),B(r,"afterSetChartSize",i=>this.afterSetSize(i.target,i)),B(r,"render",re),B(s,"show",ri))}static afterSetSize(i,r){let s,n,a,{minWidth:o,minHeight:l}=i.options.chart.scrollablePlotArea||{},{clipBox:h,plotBox:c,inverted:d,renderer:u}=i;if(!u.forExport)if(o?(i.scrollablePixelsX=s=Math.max(0,o-i.chartWidth),s&&(i.scrollablePlotBox=tm(i.plotBox),c.width=i.plotWidth+=s,h[d?"height":"width"]+=s,a=!0)):l&&(i.scrollablePixelsY=n=Math.max(0,l-i.chartHeight),X(n)&&(i.scrollablePlotBox=tm(i.plotBox),c.height=i.plotHeight+=n,h[d?"width":"height"]+=n,a=!1)),X(a)){if(!r.skipAxes)for(let r of i.axes)(r.horiz===a||i.hasParallelCoordinates&&"yAxis"===r.coll)&&(r.setAxisSize(),r.setAxisTranslation())}else delete i.scrollablePlotBox}constructor(i){let r,s=i.options.chart,n=s.scrollablePlotArea||{},a=this.moveFixedElements.bind(this),o={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};i.scrollablePixelsX&&(o.overflowX="auto"),i.scrollablePixelsY&&(o.overflowY="auto"),this.chart=i;let l=this.parentDiv=W("div",{className:"highcharts-scrolling-parent"},{position:"relative"},i.renderTo),h=this.scrollingContainer=W("div",{className:"highcharts-scrolling"},o,l),c=this.innerContainer=W("div",{className:"highcharts-inner-container"},void 0,h),d=this.fixedDiv=W("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(s.style?.zIndex||0)+2,top:0},void 0,!0),u=this.fixedRenderer=new eU(d,i.chartWidth,i.chartHe
vendor: 5,186 bytes, line 20
20ight,s.style);this.mask=u.path().attr({fill:s.backgroundColor||"#fff","fill-opacity":n.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h.parentNode.insertBefore(d,h),z(i.renderTo,{overflow:"visible"}),B(i,"afterShowResetZoom",a),B(i,"afterApplyDrilldown",a),B(i,"afterLayOutTitles",a),B(h,"scroll",()=>{let{pointer:s,hoverPoint:n}=i;s&&(delete s.chartPosition,n&&(r=n),s.runPointActions(void 0,r,!0))}),c.appendChild(i.container)}applyFixed(){let{chart:i,fixedRenderer:r,isDirty:s,scrollingContainer:n}=this,{axisOffset:a,chartWidth:o,chartHeight:l,container:h,plotHeight:c,plotLeft:d,plotTop:u,plotWidth:p,scrollablePixelsX:m=0,scrollablePixelsY:g=0}=i,{scrollPositionX:f=0,scrollPositionY:A=0}=i.options.chart.scrollablePlotArea||{},b=o+m,y=l+g;r.setSize(o,l),(s??!0)&&(this.isDirty=!1,this.moveFixedElements()),i7(i.container),z(h,{width:`${b}px`,height:`${y}px`}),i.renderer.boxWrapper.attr({width:b,height:y,viewBox:["0 0",b,y].join(" ")}),i.chartBackground?.attr({width:b,height:y}),z(n,{width:`${o}px`,height:`${l}px`}),X(s)||(n.scrollLeft=m*f,n.scrollTop=g*A);let x=u-a[0]-1,E=d-a[3]-1,T=u+c+a[2]+1,C=d+p+a[1]+1,v=d+p-m,S=u+c-g,I=[["M",0,0]];m?I=[["M",0,x],["L",d-1,x],["L",d-1,T],["L",0,T],["Z"],["M",v,x],["L",o,x],["L",o,T],["L",v,T],["Z"]]:g&&(I=[["M",E,0],["L",E,u-1],["L",C,u-1],["L",C,0],["Z"],["M",E,S],["L",E,l],["L",C,l],["L",C,S],["Z"]]),"adjustHeight"!==i.redrawTrigger&&this.mask.attr({d:I})}moveFixedElements(){let i,{container:r,inverted:s,scrollablePixelsX:n,scrollablePixelsY:a}=this.chart,o=this.fixedRenderer,l=rr.fixedSelectors.slice();if(n&&!s?i=".highcharts-yaxis":n&&s||a&&!s?i=".highcharts-xaxis":a&&s&&(i=".highcharts-yaxis"),i&&!(this.chart.hasParallelCoordinates&&".highcharts-yaxis"===i))for(let r of[`${i}:not(.highcharts-radial-axis)`,`${i}-labels:not(.highcharts-radial-axis-labels)`])tE(l,r);else for(let i of[".highcharts-xaxis",".highcharts-yaxis"])for(let r of[`${i}:not(.highcharts-radial-axis)`,`${i}-labels:not(.highcharts-radial-axis-labels)`])q(l,r);for(let i of l)[].forEach.call(r.querySelectorAll(i),i=>{(i.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(i),i.style.pointerEvents="auto"})}}rr.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];let{format:rs}=er,{series:rn}=iM,ra=class{constructor(i,r,s,n,a){let o=i.chart.inverted,l=i.reversed;this.axis=i;let h=this.isNegative=!!s!=!!l;this.options=r=r||{},this.x=n,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=a,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:r.align||(o?h?"left":"right":"center"),verticalAlign:r.verticalAlign||(o?"middle":h?"bottom":"top"),y:r.y,x:r.x},this.textAlign=r.textAlign||(o?h?"right":"left":"center")}destroy(){Q(this,this.axis)}render(i){let r=this.axis.chart,s=this.options,n=s.format,a=(n?rs(n,this,r):s.formatter?.call(this,this))||"";if(this.label)this.label.attr({text:a,visibility:"hidden"});else{this.label=r.renderer.label(a,null,void 0,s.shape,void 0,void 0,s.useHTML,!1,"stack-labels");let n={r:s.borderRadius||0,text:a,padding:ty(s.padding,5),visibility:"hidden"};r.styledMode||(n.fill=s.backgroundColor,n.stroke=s.borderColor,n["stroke-width"]=s.borderWidth,this.label.css(s.style||{})),this.label.attr(n),this.label.added||this.label.add(i)}this.label.labelrank=r.plotSizeY,$(this,"afterRender")}setOffset(i,r,s,n,a,o){let{alignOptions:l,axis:h,label:c,options:d,textAlign:u}=this,p=h.chart,m=this.getStackBox({xOffset:i,width:r,boxBottom:s,boxTop:n,defaultX:a,xAxis:o}),{verticalAlign:g}=l;if(c&&m){let i=c.getBBox(void 0,0),r=c.padding,s="justify"===ty(d.overflow,"justify"),n;l.x=d.x||0,l.y=d.y||0;let{x:a,y:o}=this.adjustStackPosition({labelBox:i,verticalAlign:g,textAlign:u});m.x-=a,m.y-=o,c.align(l,!1,m),(n=p.isInsidePlot(c.alignAttr.x+l.x+a,c.alignAttr.y+l.y+o))||(s=!1),s&&rn.prototype.justifyDataLabel.call(h,c,l,c.alignAttr,i,m),c.attr({x:c.alignAttr.x,y:c.alignAttr.y,rotation:d.rotation,rotationOriginX:i.width*tt(d.textAlign||"center"),rotationOriginY:i.height/2}),ty(!s&&d.crop,!0)&&(n=th(c.x)&&th(c.y)&&p.isInsidePlot(c.x-r+(c.width||0),c.y)&&p.isInsidePlot(c.x+r,c.y)),c[n?"show":"hide"]()}$(this,"afterSetOffset",{xOffset:i,width:r})}adjustStackPosition({labelBox:i,verticalAlign:r,textAlign:s}){return{x:i.width/2+i.width/2*(2*tt(s)-1),y:i.height/2*2*(1-tt(r))}}getStackBox(i){let r=this.axis,s=r.chart,{boxTop:n,defaultX:a,xOffset:o,width:l,boxBottom:h}=i,c=r.stacking.usePercentage?100:ty(n,this.total,0),d=r.toPixels(c),u=i.xAxis||s.xAxis[0],p=ty(a,u.translate(this.x))+o,m=Math.abs(d-r.toPixels(h||th(r.min)&&r.logarithmic&&r.logarithmic.lin2log(r.min)||0)),g=s.inverted,f=this.isNegative;return g?{x:(f?d:d-m)-s.plotLeft,y:u.height-p-l+u.top-s.plotTop,width:m,height:l}:{x:p+u.transB-s.plotLeft,y:(f?d-m:d)-s.plotTop,width:l,height:m}}
vendor: 10,260 bytes, line 20
20},{getDeferredAnimation:ro}=t$,{series:{prototype:rl}}=iM;function rh(){let i=this.inverted;this.axes.forEach(i=>{i.stacking?.stacks&&i.hasVisibleSeries&&(i.stacking.oldStacks=i.stacking.stacks)}),this.series.forEach(r=>{let s=r.xAxis?.options||{};r.options.stacking&&r.reserveSpace()&&(r.stackKey=[r.type,ty(r.options.stack,""),i?s.top:s.left,i?s.height:s.width].join(","))})}function rc(){let i=this.stacking;if(i){let r=i.stacks;tf(r,(i,s)=>{Q(i),delete r[s]}),i.stackTotalGroup?.destroy()}}function rd(){this.stacking||(this.stacking=new rA(this))}function ru(i,r,s,n){return!X(i)||i.x!==r||n&&i.stackKey!==n?i={x:r,index:0,key:n,stackKey:n}:i.index++,i.key=[s,r,i.index].join(","),i}function rp(){let i,r=this,s=r.yAxis,n=r.stackKey||"",a=s.stacking.stacks,o=r.getColumn("x",!0),l=r.options.stacking,h=r[l+"Stacker"];h&&[n,"-"+n].forEach(s=>{let n=o.length,l,c,d;for(;n--;)l=o[n],i=r.getStackIndicator(i,l,r.index,s),c=a[s]?.[l],(d=c?.points[i.key||""])&&h.call(r,d,c,n)})}function rm(i,r,s){let n=r.total?100/r.total:0;i[0]=Y(i[0]*n),i[1]=Y(i[1]*n),this.stackedYData[s]=i[1]}function rg(i){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?rl.setStackedPoints.call(this,i,"group"):i.stacking.resetStacks())}function rf(i,r){let s,n,a,o,l,h,c,d=r||this.options.stacking;if(!d||!this.reserveSpace()||(({group:"xAxis"})[d]||"yAxis")!==i.coll)return;let u=this.getColumn("x",!0),p=this.getColumn(this.pointValKey||"y",!0),m=[],g=p.length,f=this.options,A=f.threshold||0,b=f.startFromThreshold?A:0,y=f.stack,x=r?`${this.type},${d}`:this.stackKey||"",E="-"+x,T=this.negStacks,C=i.stacking,v=C.stacks,S=C.oldStacks;for(C.stacksTouched+=1,c=0;c<g;c++){let r=u[c]||0,g=p[c],f=th(g)&&g||0;h=(s=this.getStackIndicator(s,r,this.index)).key||"",v[l=(n=T&&f<(b?0:A))?E:x]||(v[l]={}),v[l][r]||(S[l]?.[r]?(v[l][r]=S[l][r],v[l][r].total=null):v[l][r]=new ra(i,i.options.stackLabels,!!n,r,y)),a=v[l][r],null!==g?(a.points[h]=a.points[this.index]=[ty(a.cumulative,b)],X(a.cumulative)||(a.base=h),a.touched=C.stacksTouched,s.index>0&&!1===this.singleStacks&&(a.points[h][0]=a.points[this.index+","+r+",0"][0])):(delete a.points[h],delete a.points[this.index]);let I=a.total||0;"percent"===d?(o=n?x:E,I=T&&v[o]?.[r]?(o=v[o][r]).total=Math.max(o.total||0,I)+Math.abs(f):Y(I+Math.abs(f))):"group"===d?th(g)&&I++:I=Y(I+f),"group"===d?a.cumulative=(I||1)-1:a.cumulative=Y(ty(a.cumulative,b)+f),a.total=I,null!==g&&(a.points[h].push(a.cumulative),m[c]=a.cumulative,a.hasValidPoints=!0)}"percent"===d&&(C.usePercentage=!0),"group"!==d&&(this.stackedYData=m),C.oldStacks={}}class rA{constructor(i){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=i}buildStacks(){let i,r,s=this.axis,n=s.series,a="xAxis"===s.coll,o=s.options.reversedStacks,l=n.length;for(this.resetStacks(),this.usePercentage=!1,r=l;r--;)i=n[o?r:l-r-1],a&&i.setGroupedPoints(s),i.setStackedPoints(s);if(!a)for(r=0;r<l;r++)n[r].modifyStacks();$(s,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,tf(this.stacks,i=>{tf(i,i=>{i.cumulative=i.total})}))}resetStacks(){tf(this.stacks,i=>{tf(i,(r,s)=>{th(r.touched)&&r.touched<this.stacksTouched?(r.destroy(),delete i[s]):(r.total=null,r.cumulative=null)})})}renderStackTotals(){let i=this.axis,r=i.chart,s=r.renderer,n=this.stacks,a=ro(r,i.options.stackLabels?.animation||!1),o=this.stackTotalGroup=this.stackTotalGroup||s.g("stack-labels").attr({zIndex:6,opacity:0}).add();o.translate(r.plotLeft,r.plotTop),tf(n,i=>{tf(i,i=>{i.render(o)})}),o.animate({opacity:1},a)}}(S||(S={})).compose=function(i,r,s){let n=r.prototype,a=s.prototype;n.getStacks||(B(i,"init",rd),B(i,"destroy",rc),n.getStacks=rh,a.getStackIndicator=ru,a.modifyStacks=rp,a.percentStacker=rm,a.setGroupedPoints=rg,a.setStackedPoints=rf)};let rb=S;class ry extends iU{drawGraph(){let i=this.options,r=(this.gappedPath||this.getGraphPath).call(this),s=this.chart.styledMode;[this,...this.zones].forEach((n,a)=>{let o,l=n.graph,h=l?"animate":"attr",c=n.dashStyle||i.dashStyle;if(l?(l.endX=this.preventGraphAnimation?null:r.xMap,l.animate({d:r})):r.length&&(n.graph=l=this.chart.renderer.path(r).addClass("highcharts-graph"+(a?` highcharts-zone-graph-${a-1} `:" ")+(a&&n.className||"")).attr({zIndex:1}).add(this.group)),l&&!s&&(o={stroke:!a&&i.lineColor||n.color||this.color||"var(--highcharts-neutral-color-20)","stroke-width":i.lineWidth||0,fill:this.fillGraph&&this.color||"none"},c?o.dashstyle=c:"square"!==i.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),l[h](o),i.shadow)){let r=this.chart.inverted,s={filterUnits:"userSpaceOnUse"},n=tp(i.shadow)?tm(r?{}:s,i.shadow):!!r||s;l.shadow(n)}l&&(l.startX=r.xMap,l.isArea=r.isArea)})}getGraphPath(i,r,s){let n=this,a=n.options,o=[],l=[],h,c=a.step,d=(i=i||n.points).reversed;return d&&i.reverse(),(c=({right:1,center:2})[c]||c&&3)&&d&&(c=4-c),(i=this.getValidPoints(i,!1,a.nullInteraction||!(a.connectNulls&&!r&&!s))).forEach(function(d,u){let p,m=d.plotX,g=d.plotY,f=i[u-1],A=d.isNull||"number"!=typeof g;(d.leftCliff||f?.rightCliff)&&!s&&(h=!0),A&&!X(r)&&u>0?h=!a.connectNulls:A&&!r?h=!0:(0===u||h?p=[["M",d.plotX,d.plotY]]:n.getPointSpline?p=[n.getPointSpline(i,d,u)]:c?(p=1===c?[["L",f.plotX,g]]:2===c?[["L",(f.plotX+m)/2,f.plotY],["L",(f.plotX+m)/2,g]]:[["L",m,f.plotY]]).push(["L",m,g]):p=[["L",m,g]],l.push(d.x),c&&(l.push(d.x),2===c&&l.push(d.x)),o.push.apply(o,p),h=!1)}),o.xMap=l,n.graphPath=o,o}}ry.defaultOptions=tm(iU.defaultOptions,{legendSymbol:"lineMarker"}),iM.registerSeriesType("line",ry);let{seriesTypes:{line:rx}}=iM;class rE extends rx{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:i,options:r}=this;[this,...this.zones].forEach((s,n)=>{let a={},o=s.fillColor||r.fillColor,l=s.area,h=l?"animate":"attr";l?(l.endX=this.preventGraphAnimation?null:i.xMap,l.animate({d:i})):(a.zIndex=0,(l=s.area=this.chart.renderer.path(i).addClass("highcharts-area"+(n?` highcharts-zone-area-${n-1} `:" ")+(n&&s.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(a.fill=o||s.color||this.color,a["fill-opacity"]=o?1:r.fillOpacity??.75,l.css({pointerEvents:this.stickyTracking?"none":"auto"})),l[h](a),l.startX=i.xMap,l.shiftUnit=r.step?2:1})}getGraphPath(i){let r,s,n,a=rx.prototype.getGraphPath,o=this.options,l=o.stacking,h=this.yAxis,c=[],d=[],u=this.index,p=h.stacking.stacks[this.stackKey],m=o.threshold,g=Math.round(h.getThreshold(o.threshold)),f=ty(o.connectNulls,"percent"===l),A=function(s,n,a){let o=i[s],f=i[n],A=l&&p[o.x].points[u],b=o[a+"Null"]||0,y=o[a+"Cliff"]||0,x,E,T=!0;A&&(y||b)?(x=(b?A[0]:A[1])+y,E=A[0]+y,T=!!b):!l&&f&&(f.isNull||!X(f.plotY))&&(x=E=m),void 0!==x&&(d.push({plotX:r,plotY:null===x?g:h.getThreshold(x),isNull:T,isCliff:!0}),c.push({plotX:r,plotY:null===E?g:h.getThreshold(E),doCurve:!1}))};i=i||this.points,l&&(i=this.getStackPoints(i));for(let a=0,o=i.length;a<o;++a)l||(i[a].leftCliff=i[a].rightCliff=i[a].leftNull=i[a].rightNull=void 0),s=i[a].isNull||!X(i[a].plotY),r=ty(i[a].rectPlotX,i[a].plotX),n=l?ty(i[a].yBottom,g):g,(!s||f)&&(f||A(a,a-1,"left"),s&&!l&&f||(d.push(i[a]),c.push({x:a,plotX:r,plotY:n})),f||A(a,a+1,"right"));let b=a.call(this,d,!0,!0);c.reversed=!0;let y=a.call(this,c,!0,!0),x=y[0];x&&"M"===x[0]&&(y[0]=["L",x[1],x[2]]);let E=b.concat(y);E.length&&E.push(["Z"]);let T=a.call(this,d,!1,f);return this.chart.series.length>1&&l&&d.some(i=>i.isCliff)&&(E.hasStackedCliffs=T.hasStackedCliffs=!0),E.xMap=b.xMap,this.areaPath=E,T}getStackPoints(i){let r=this,s=[],n=[],a=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],h={},c=o.series,d=c.length,u=o.options.reversedStacks?1:-1,p=c.indexOf(r),m=o.getThreshold(r.options.threshold||0);if(i=i||this.points,this.options.stacking){for(let r=0;r<i.length;r++)i[r].leftNull=i[r].rightNull=void 0,h[i[r].x]=i[r];tf(l,function(i,r){null!==i.total&&n.push(r)}),n.sort(function(i,r){return i-r});let g=c.map(i=>i.visible);n.forEach(function(i,f){let A=0,b,y;if(h[i]&&!h[i].isNull)s.push(h[i]),[-1,1].forEach(function(s){let a=1===s?"rightNull":"leftNull",o=l[n[f+s]],m=0;if(o){let s=p;for(;s>=0&&s<d;){let n=c[s].index;!(b=o.points[n])&&(n===r.index?h[i][a]=!0:g[s]&&(y=l[i].points[n])&&(m-=y[1]-y[0])),s+=u}}h[i][1===s?"rightCliff":"leftCliff"]=m});else{let r=p;for(;r>=0&&r<d;){let s=c[r].index;if(b=l[i].points[s]){A=b[1];break}r+=u}A||(A=0);let n=o.positiveValuesOnly&&A<=0?m:o.translate(A,!1,!0,!1,!0);s.push({isNull:!0,plotX:a.translate(i,!1,!1,!1,!0),x:i,plotY:n,yBottom:n})}})}return s}}rE.defaultOptions=tm(rx.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),Z(rE.prototype,{singleStacks:!1}),iM.registerSeriesType("area",rE);let{line:rT}=iM.seriesTypes;class rC extends rT{getPointSpline(i,r,s){let n,a,o,l,h=r.plotX||0,c=r.plotY||0,d=i[s-1],u=i[s+1];function p(i){return i&&!i.isNull&&!1!==i.doCurve&&!r.isCliff}if(p(d)&&p(u)){let i=d.plotX||0,s=d.plotY||0,p=u.plotX||0,m=u.plotY||0,g=0;n=(1.5*h+i)/2.5,a=(1.5*c+s)/2.5,o=(1.5*h+p)/2.5,l=(1.5*c+m)/2.5,o!==n&&(g=(l-a)*(o-h)/(o-n)+c-l),a+=g,l+=g,a>s&&a>c?(a=Math.max(s,c),l=2*c-a):a<s&&a<c&&(a=Math.min(s,c),l=2*c-a),l>m&&l>c?(l=Math.max(m,c),a=2*c-l):l<m&&l<c&&(l=Math.min(m,c),a=2*c-l),r.rightContX=o,r.rightContY=l,r.controlPoints={low:[n,a],high:[o,l]}}let m=["C",ty(d.rightContX,d.plotX,0),ty(d.rightContY,d.plotY,0),ty(n,h,0),ty(a,c,0),h,c];return d.rightContX=d.rightContY=void 0,m}}rC.defaultOptions=tm(rT.defaultOptions),iM.registerSeriesType("spline",rC);let rv=rC,{area:rS,area:{prototype:rI}}=iM.seriesTypes;class rw extends rv{}rw.defaultOptions=tm(rv.defaultOptions,rS.defaultOptions),Z(rw.prototype,{getGraphPath:rI.getGraphPath,getStackPoints:rI.getStackPoints,drawGraph:rI.drawGraph}),iM.registerSeriesType("areaspline",rw);let{animObject:r_}=t$,{parse:rk}=tQ,{noop:rN}=D;class rM extends iU{animate(i){let r,s,n=this,a=this.yAxis,o=a.pos,l=a.reversed,h=n.options,{clipOffset:c,inverted:d}=this.chart,u={},p=d?"translateX":"translateY";i&&c?(u.scaleY=.001,s=U(a.toPixels(h.threshold||0),o,o+a.len),d?u.translateX=(s+=l?-Math.floor(c[+!!d]):Math.ceil(c[d?3:2]))-a.len:u.translateY=s+=l?Math.ceil(c[+!!d]):-Math.floor(c[d?3:2]),n.clipBox&&n.setClip(),n.group.attr(u)):(r=Number(n.group.attr(p)),n.group.animate({scaleY:1},Z(r_(n.options.animation),{step:function(i,s){n.group&&(u[p]=r+s.pos*(o-r),n.group.attr(u))}})))}
vendor: 4,089 bytes, line 20
20init(i,r){super.init.apply(this,arguments);let s=this;(i=s.chart).hasRendered&&i.series.forEach(function(i){i.type===s.type&&(i.isDirty=!0)})}getColumnMetrics(){let i=this,r=i.options,s=i.xAxis,n=i.yAxis,a=s.options.reversedStacks,o=s.reversed&&!a||!s.reversed&&a,l={},h,c=0;!1===r.grouping?c=1:i.chart.series.forEach(function(r){let s,a=r.yAxis,o=r.options;r.type===i.type&&r.reserveSpace()&&n.len===a.len&&n.pos===a.pos&&(o.stacking&&"group"!==o.stacking?(void 0===l[h=r.stackKey]&&(l[h]=c++),s=l[h]):!1!==o.grouping&&(s=c++),r.columnIndex=s)});let d=Math.min(Math.abs(s.transA)*(!s.brokenAxis?.hasBreaks&&s.ordinal?.slope||r.pointRange||s.closestPointRange||s.tickInterval||1),s.len),u=d*r.groupPadding,p=(d-2*u)/(c||1),m=Math.min(r.maxPointWidth||s.len,ty(r.pointWidth,p*(1-2*r.pointPadding))),g=(i.columnIndex||0)+ +!!o;return i.columnMetrics={width:m,offset:(p-m)/2+(u+g*p-d/2)*(o?-1:1),paddedWidth:p,columnCount:c},i.columnMetrics}crispCol(i,r,s,n){let a=this.borderWidth,o=this.chart.inverted;return n=j(r+n,a,o)-(r=j(r,a,o)),this.options.crisp&&(s=j(i+s,a)-(i=j(i,a))),{x:i,y:r,width:s,height:n}}adjustForMissingColumns(i,r,s,n){if(!s.isNull&&n.columnCount>1){let a=this.xAxis.series.filter(i=>i.visible).map(i=>i.index),o=0,l=0;tf(this.xAxis.stacking?.stacks,i=>{let r="number"==typeof s.x?i[s.x.toString()]?.points:void 0,n=r?.[this.index],h={};if(r&&td(n)){let i=this.index,s=Object.keys(r).filter(i=>!i.match(",")&&r[i]&&r[i].length>1).map(parseFloat).filter(i=>-1!==a.indexOf(i)).filter(r=>{let s=this.chart.series[r].options,n=s.stacking&&s.stack;if(X(n)){if(th(h[n]))return i===r&&(i=h[n]),!1;h[n]=r}return!0}).sort((i,r)=>r-i);o=s.indexOf(i),l=s.length}}),o=this.xAxis.reversed?l-1-o:o;let h=(l-1)*n.paddedWidth+r;i=(s.plotX||0)+h/2-r-o*n.paddedWidth}return i}translate(){let i=this,r=i.chart,s=i.options,n=i.dense=i.closestPointRange*i.xAxis.transA<2,a=i.borderWidth=s.borderWidth??+!n,o=i.xAxis,l=i.yAxis,h=s.threshold,c=s.minPointLength??5,d=i.getColumnMetrics(),u=d.width,p=i.pointXOffset=d.offset,m=i.dataMin,g=i.dataMax,f=i.translatedThreshold=l.getThreshold(h),A=i.barW=Math.max(u,1+2*a);s.pointPadding&&s.crisp&&(A=Math.ceil(A)),iU.prototype.translate.apply(i),i.points.concat(i.condemnedPoints).forEach(function(n){let a=n.yBottom??f,b=999+Math.abs(a),y=n.plotX||0,x=U(n.plotY,-b,l.len+b),E,T=Math.min(x,a),C=Math.max(x,a)-T,v=u,S=y+p,I=A;c&&Math.abs(C)<c&&(C=c,E=!l.reversed&&!n.negative||l.reversed&&n.negative,th(h)&&th(g)&&n.y===h&&g<=h&&(l.min||0)<h&&(m!==g||(l.max||0)<=h)&&(E=!E,n.negative=!n.negative),T=Math.abs(T-f)>c?a-(E?c:0):f-(E?c:0)),X(n.options.pointWidth)&&(S-=Math.round(((v=I=Math.ceil(n.options.pointWidth))-u)/2)),s.centerInCategory&&(S=i.adjustForMissingColumns(S,v,n,d)),n.barX=S,n.pointWidth=v,n.tooltipPos=r.inverted?[U(l.len+l.pos-r.plotLeft-x,l.pos-r.plotLeft,l.len+l.pos-r.plotLeft),o.len+o.pos-r.plotTop-S-I/2,C]:[o.left-r.plotLeft+S+I/2,U(x+l.pos-r.plotTop,l.pos-r.plotTop,l.len+l.pos-r.plotTop),C],n.shapeType=i.pointClass.prototype.shapeType||"roundedRect",n.shapeArgs=i.crispCol(S,T,I,n.isNull?0:C)}),$(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(i,r){let s=this.options,n=this.pointAttrToOptions||{},a=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",l,h,c,d=i&&i.color||this.color,u=i&&i[a]||s[a]||d,p=i&&i.options.dashStyle||s.dashStyle,m=i?.[o]??s[o]??this[o]??1,g=i?.isNull&&s.nullInteraction?0:i?.opacity??s.opacity??1;i&&this.zones.length&&(h=i.getZone(),d=i.options.color||h&&(h.color||i.nonZonedColor)||this.color,h&&(u=h.borderColor||u,p=h.dashStyle||p,m=h.borderWidth||m)),r&&i&&(c=(l=tm(s.states[r],i.options.states?.[r]||{})).brightness,d=l.color||void 0!==c&&rk(d).brighten(l.brightness).get()||d,u=l[a]||u,m=l[o]||m,p=l.dashStyle||p,g=ty(l.opacity,g));let f={fill:d,stroke:u,"stroke-width":m,opacity:i?.condemned?0:g};return p&&(f.dashstyle=p),f}drawPoints(i){let r;i||(i=this.points.concat(this.condemnedPoints));let s=this,n=this.chart,a=s.options,o=a.nullInteraction,{styledMode:l,renderer:h}=n,c=a.animationLimit||250;
vendor: 30,666 bytes, line 20
20i.forEach(function(i){let d=i.plotY,u=i.graphic,p=!!u,m=u&&n.pointCount<c?"animate":"attr";if(th(d)&&(null!==i.y||o)){if(r=i.shapeArgs,u&&i.hasNewShapeType()&&(u=u.destroy()),!u){let a=r;i.origin&&n.pointCount<c&&(a=tm(r,i.getOrigin(i.origin,r)),l||(a.opacity=0),p=!0,m="animate"),i.graphic=u=h[i.shapeType](a).add(i.group||s.group)}p&&u[m](tm(r)),l||u[m](s.pointAttribs(i,i.selected&&"select")).shadow(!1!==i.allowShadow&&a.shadow),u.addClass(i.getClassName(),!0).attr({visibility:i.visible?"inherit":"hidden"})}else u&&(i.graphic=u.destroy())})}drawTracker(i=this.points){let r,s=this,n=s.chart,a=n.pointer,o=function(i){a?.normalize(i);let r=a?.getPointFromEvent(i);a&&r&&s.options.enableMouseTracking&&(n.isInsidePlot(i.chartX-n.plotLeft,i.chartY-n.plotTop,{visiblePlotOnly:!0})||s.allowOutsidePlotInteraction&&a?.inClass(i.target,"highcharts-point")||a?.inClass(i.target,"highcharts-data-label"))&&(a.isDirectTouch=!0,r.onMouseOver(i))};i.forEach(function(i){r=td(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[],i.graphic&&(i.graphic.element.point=i),r.forEach(function(r){(r.div||r.element).point=i})}),s._hasTracking||(s.trackerGroups?.reduce((i,r)=>("dataLabelsGroup"===r?i.push(...s.dataLabelsGroups||[]):i.push(s[r]),i),[]).forEach(i=>{i&&(i.addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(i){a?.onTrackerMouseOut(i)}).on("touchstart",o),!n.styledMode&&s.options.cursor&&i.css({cursor:s.options.cursor}))}),s._hasTracking=!0),$(this,"afterDrawTracker")}remove(){let i=this,r=i.chart;r.hasRendered&&r.series.forEach(function(r){r.type===i.type&&(r.isDirty=!0)}),iU.prototype.remove.apply(i,arguments)}}rM.defaultOptions=tm(iU.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.2},select:{color:"var(--highcharts-neutral-color-20)",borderColor:"var(--highcharts-neutral-color-100)"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"var(--highcharts-background-color)"}),Z(rM.prototype,{directTouch:!0,getSymbol:rN,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),iM.registerSeriesType("column",rM);let rL=rM,{getDeferredAnimation:rD}=t$,{format:rO}=er;!function(i){function r(){return c(this).some(i=>i?.enabled)}function s(i,r,s,n,a){let{chart:o}=this,l=this.isCartesian&&o.inverted,{condemned:h,origin:c,plotX:d,plotY:u}=i,{crop:p=!0,distance:m,overflow:g="justify",rotation:f=0}=s,A=tt(s.align),b=tt(s.verticalAlign),y=i.pos(),x=X(d)&&X(u)&&o.isInsidePlot(d,Math.round(u),{inverted:l,paneCoordinates:!0,series:this}),E=this.visible&&i.visible&&X(d)&&(this.forceDL||h||x||ty(s.inside,!!this.options.stacking)&&n&&o.isInsidePlot(d,l?n.x+1:n.y+n.height-1,{inverted:l,paneCoordinates:!0,series:this}));if(y){let d=r.getBBox(),u=r.getBBox(void 0,0);n=Z({x:y[0],y:Math.round(y[1]),width:0,height:0},n||{}),"plotEdges"===s.alignTo&&this.isCartesian&&(n[l?"x":"y"]=0,n[l?"width":"height"]=this.yAxis?.len||0),Z(s,{width:d.width,height:d.height});let x=0,T=0;th(m)&&!s.inside&&(x=m*(1-2*A),T=m*(1-2*b)),r.align(tm(s,{x:(s.x||0)+x,y:(s.y||0)+T,width:u.width,height:u.height}),!1,n,!1),r.distX=x,r.distY=T,r.alignAttr.x+=A*(u.width-d.width),r.alignAttr.y+=b*(u.height-d.height);let C=r.alignAttr.x+(d.width-u.width)/2,v=r.alignAttr.y+(d.height-u.height)/2;if(c){let s=i.pos(!1,c.x,c.y);if(s){let n=[s[0]-y[0],s[1]-y[1]];(this.is("column")||i.plotHigh)&&(n[+!l]=0),r.attr({x:C+n[0],y:v+n[1],opacity:.01}),r.placed=!0,a=!1}}let S={"text-align":r.alignAttr["text-align"]||"center",x:C,y:v,rotationOriginX:(r.width||0)/2,rotationOriginY:(r.height||0)/2};if((h||!E)&&(S.opacity=0),r[r.placed?"animate":"attr"](S),0===f&&!h&&"justify"===g&&E&&n.height>=0)this.justifyDataLabel(r,s,r.alignAttr,d,n,a);else if(p&&!h){let{x:i,y:s}=r.alignAttr;E=o.isInsidePlot(i,s,{paneCoordinates:!0,series:this})&&o.isInsidePlot(i+d.width-1,s+d.height-1,{paneCoordinates:!0,series:this})}s.shape&&!f&&r[a?"attr":"animate"]({anchorX:y[0],anchorY:y[1]})}r[a?"attr":"animate"]({visibility:E?"inherit":"hidden"}),r.placed=E}function n(i,r){$(this,"initDataLabelsGroup",{index:i,zIndex:r?.zIndex}),this.dataLabelsGroup=this.dataLabelsGroups?.[i];let s=this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",r?.zIndex??6,this.dataLabelsParentGroups?.[i]);return this.dataLabelsGroups||(this.dataLabelsGroups=[]),this.dataLabelsGroups[i]=s,this.dataLabelsGroup=this.dataLabelsGroups[0],s}function a(i,r,s){let n=!!this.hasRendered,a=this.initDataLabelsGroup(i,s).attr({opacity:+n});return!n&&a&&(this.visible&&a.show(),this.options.animation?a.animate({opacity:1},r):a.attr({opacity:1})),a}function o(i){i=i||this.points;let r=this,s=r.chart,n=r.options,a=s.renderer,{backgroundColor:o,plotBackgroundColor:l}=s.options.chart,d=a.getContrast(tc(l)&&l||tc(o)&&o||"var(--highcharts-background-color)"),u=[],p=c(r),{animation:m,defer:g}=p[0],f=g?rD(s,m,r):{defer:0,duration:0};$(this,"drawDataLabels"),r.hasDataLabels?.()&&i.concat(r.condemnedPoints).forEach(i=>{let o=i.dataLabels||[],l=i.color||r.color;tS(h(p,i.dlOptions||i.options?.dataLabels)).forEach((h,c)=>{let p=h.enabled&&(i.visible||i.dataLabelOnHidden)&&(!i.isNull||i.dataLabelOnNull)&&function(i,r){let s=r.filter;if(s){let r=s.operator,n=i[s.property],a=s.value;return">"===r&&n>a||"<"===r&&n<a||">="===r&&n>=a||"<="===r&&n<=a||"=="===r&&n==a||"==="===r&&n===a||"!="===r&&n!=a||"!=="===r&&n!==a||!1}return!0}(i,h),{backgroundColor:m,borderColor:g,distance:A,style:b={}}=h,y=tS(h.padding||0),x,E,T,C={},v=o[c],S=!v,I;if(p&&(E=X(x=ty(h[i.formatPrefix+"Format"],h.format))?rO(x,i,s):(h[i.formatPrefix+"Formatter"]||h.formatter).call(i,h,i),T=h.rotation,!s.styledMode&&(b.color=ty(h.color,b.color,tc(r.color)?r.color:void 0,"var(--highcharts-neutral-color-100)"),"contrast"===b.color?("none"!==m&&(I=m),i.contrastColor=a.getContrast("auto"!==I&&"contrast"!==I&&tc(I)&&I||(tc(l)?l:"")),b.color=I&&"contrast"!==I||h.inside||0>tx(A||0)||n.stacking?i.contrastColor:d):delete i.contrastColor,n.cursor&&(b.cursor=n.cursor)),C={r:h.borderRadius??3,rotation:T,padding:y[0],paddingLeft:y[3%y.length],paddingRight:y[1%y.length],zIndex:1},s.styledMode||(C.fill="auto"===m?i.color:m,C.stroke="auto"===g?i.color:g,C["stroke-width"]=h.borderWidth),tf(C,(i,r)=>{void 0===i&&delete C[r]})),!v||p&&X(E)&&!!(v.div||v.text?.foreignObject)==!!h.useHTML&&(v.rotation&&h.rotation||v.rotation===h.rotation)||(v=void 0,S=!0),p&&X(E)&&""!==E&&(v?C.text=E:(v=a.label(E,0,0,h.shape,void 0,void 0,h.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(h.className||"")+(h.useHTML?" highcharts-tracker":"")),v)){v.options=h,v.attr(C),s.styledMode?b.width&&v.css({width:b.width,textOverflow:b.textOverflow,whiteSpace:b.whiteSpace}):v.css(b).shadow(h.shadow),$(v,"beforeAddingDataLabel",{labelOptions:h,point:i});let n=u[c]=u[c]||this.initDataLabels(c,f,h);v.added||v.add(n),r.alignDataLabel(i,v,h,void 0,S),v.isActive=!0,o[c]&&o[c]!==v&&o[c].destroy(),o[c]=v}});let c=o.length;for(;c--;)o[c]?.isActive?o[c].isActive=!1:(o[c]?.destroy(),o.splice(c,1));i.dataLabel=o[0],i.dataLabels=o}),$(this,"afterDrawDataLabels")}function l(i,r,s,n,a,o){let l=this.chart,{align:h,verticalAlign:c}=r,{distX:d=0,distY:u=0}=i,p=i.box?0:i.padding||0,m=l.inverted?this.yAxis:this.xAxis,g=m?m.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,A=f?f.top-l.plotTop:0,{x:b=0,y:y=0}=r,x,E,T;return(x=(s.x||0)-d+p+g)<0&&("right"===h&&b>=0?(r.align="left",r.inside=!0,b-=d):b-=x,E=!0),(x=(s.x||0)+n.width-d-p+g)>l.plotWidth&&("left"===h&&b<=0?(r.align="right",r.inside=!0,b-=d):b+=l.plotWidth-x,E=!0),(x=(s.y||0)-u+p+A)<0&&("bottom"===c&&y>=0?(r.verticalAlign="top",r.inside=!0,y-=u):y-=x,T=!0),(x=(s.y||0)+n.height-u-p+A)>l.plotHeight&&("top"===c&&y<=0?(r.verticalAlign="bottom",r.inside=!0,y-=u):y+=l.plotHeight-x,T=!0),(E||T)&&(r.x=E?b:b+d,r.y=T?y:y+u,i.placed=!o,i.align(r,void 0,a)),E||T}function h(i,r){let s=[],n;if(td(i)&&!td(r))s=i.map(function(i){return tm(i,r)});else if(td(r)&&!td(i))s=r.map(function(r){return tm(i,r)});else if(td(i)||td(r)){if(td(i)&&td(r))for(n=Math.max(i.length,r.length);n--;)s[n]=tm(i[n],r[n])}else s=tm(i,r);return s}function c(i){let r=i.chart.options.plotOptions;return tS(h(h(r?.series?.dataLabels,r?.[i.type]?.dataLabels),i.options.dataLabels))}i.compose=function(i){let c=i.prototype;c.initDataLabels||(c.initDataLabels=a,c.initDataLabelsGroup=n,c.alignDataLabel=s,c.drawDataLabels=o,c.justifyDataLabel=l,c.mergeArrays=h,c.hasDataLabels=r)}}(I||(I={}));let rP=I,{composed:rR}=D,{series:rB}=iM;function rF(i,r,s,n,a){let{chart:o,options:l}=this,h=o.inverted,c=this.xAxis?.len||o.plotSizeX||0,d=this.yAxis?.len||o.plotSizeY||0,u=i.dlBox||i.shapeArgs,p=i.below??(i.plotY||0)>(this.translatedThreshold??d),m=s.inside??!!l.stacking;if(u){if(n=tm(u),"allow"!==s.overflow||!1!==s.crop||!1!==l.clip){n.y<0&&(n.height+=n.y,n.y=0);let i=n.y+n.height-d;i>0&&i<n.height-1&&(n.height-=i)}h&&(n={x:d-n.y-n.height,y:c-n.x-n.width,width:n.height,height:n.width}),m||(h?(n.x+=p?0:n.width,n.width=0):(n.y+=p?n.height:0,n.height=0))}s.align??(s.align=!h||m?"center":p?"right":"left"),s.verticalAlign??(s.verticalAlign=h||m?"middle":p?"top":"bottom"),rB.prototype.alignDataLabel.call(this,i,r,s,n,a),s.inside&&i.contrastColor&&r.css({color:i.contrastColor})}(w||(w={})).compose=function(i){rP.compose(rB),tE(rR,"ColumnDataLabel")&&(i.prototype.alignDataLabel=rF)};let rH=w;class rG extends rL{}rG.defaultOptions=tm(rL.defaultOptions,{}),Z(rG.prototype,{inverted:!0}),iM.registerSeriesType("bar",rG);let{column:rU,line:rY}=iM.seriesTypes;class rW extends rY{applyJitter(){let i=this,r=this.options.jitter,s=this.points.length;r&&this.points.forEach(function(n,a){["x","y"].forEach(function(o,l){if(r[o]&&!n.isNull){let h=`plot${o.toUpperCase()}`,c=i[`${o}Axis`],d=r[o]*c.transA;if(c&&!c.logarithmic){let i,r=Math.max(0,(n[h]||0)-d),u=Math.min(c.len,(n[h]||0)+d);n[h]=r+(u-r)*((i=1e4*Math.sin(a+l*s))-Math.floor(i)),"x"===o&&(n.clientX=n.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}rW.defaultOptions=tm(rY.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">â</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),Z(rW.prototype,{allowOutsidePlotInteraction:!0,drawTracker:rU.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),B(rW,"afterTranslate",function(){this.applyJitter()}),iM.registerSeriesType("scatter",rW);let{deg2rad:rj}=D;(p=_||(_={})).getCenter=function(){let i=this.options,r=this.chart,s=2*(i.slicedOffset||0),n=r.plotWidth-2*s,a=r.plotHeight-2*s,o=i.center,l=Math.min(n,a),h=i.thickness,c,d=i.size,u=i.innerSize||0,p,m;"string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u));let g=[ty(o?.[0],"50%"),ty(o?.[1],"50%"),ty(d&&d<0?void 0:i.size,"100%"),ty(u&&u<0?void 0:i.innerSize||0,"0%")];for(p=0;p<4;++p)m=g[p],c=p<2||2===p&&/%$/.test(m),g[p]=tT(m,[n,a,l,g[2]][p])+(c?s:0);return g[3]>g[2]&&(g[3]=g[2]),th(h)&&2*h<g[2]&&h>0&&(g[3]=g[2]-2*h),$(this,"afterGetCenter",{positions:g}),g},p.getStartAndEndRadians=function(i,r){let s=th(i)?i:0,n=th(r)&&r>s&&r-s<360?r:s+360;return{start:rj*(s+-90),end:rj*(n+-90)}};let rz=_,{setAnimation:rX}=t$;class rQ extends im{getConnectorPath(i){let r=i.dataLabelPosition,s=i.options||{},n=s.connectorShape,a=this.connectorShapes[n]||n;return r&&a.call(this,{...r.computed,alignment:r.alignment},r.connectorPosition,s)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(i){let r=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(r.x,r.y,r.r+i,r.r+i,{innerR:r.r-1,start:r.start,end:r.end,borderRadius:r.borderRadius})}constructor(i,r,s){super(i,r,s),this.half=0,this.name??(this.name=i.chart.options.lang.pieSliceName);let n=i=>{this.slice("select"===i.type)};B(this,"select",n),B(this,"unselect",n)}isValid(){return th(this.y)&&this.y>=0}setVisible(i,r=!0){i!==this.visible&&this.update({visible:i??!this.visible},r,void 0,!1)}slice(i,r,s){let n=this.series;rX(s,n.chart),r=ty(r,!0),this.sliced=this.options.sliced=i??!this.sliced,n.options.data&&(n.options.data[n.data.indexOf(this)]=this.options),this.graphic?.animate(this.getTranslate())}}Z(rQ.prototype,{connectorShapes:{fixedOffset:function(i,r,s){let n=r.breakAt,a=r.touchingSliceAt,o=s.softConnector?["C",i.x+("left"===i.alignment?-5:5),i.y,2*n.x-a.x,2*n.y-a.y,n.x,n.y]:["L",n.x,n.y];return[["M",i.x,i.y],o,["L",a.x,a.y]]},straight:function(i,r){let s=r.touchingSliceAt;return[["M",i.x,i.y],["L",s.x,s.y]]},crookedLine:function(i,r,s){let{angle:n=this.angle||0,breakAt:a,touchingSliceAt:o}=r,{series:l}=this,[h,c,d]=l.center,u=d/2,{plotLeft:p,plotWidth:m}=l.chart,g="left"===i.alignment,{x:f,y:A}=i,b=a.x;if(s.crookDistance){let i=tT(s.crookDistance,1);b=g?h+u+(m+p-h-u)*(1-i):p+(h-u)*i}else b=h+(c-A)*Math.tan(n-Math.PI/2);let y=[["M",f,A]];return(g?b<=f&&b>=a.x:b>=f&&b<=a.x)&&y.push(["L",b,A]),y.push(["L",a.x,a.y],["L",o.x,o.y]),y}}});let{getStartAndEndRadians:rK}=rz,{noop:rV}=D;class rq extends iU{animate(i){let r=this,s=r.points,n=r.startAngleRad;i||s.forEach(function(i){let s=i.graphic,a=i.shapeArgs;s&&a&&(s.attr({r:ty(i.startR,r.center&&r.center[3]/2),start:n,end:n}),s.animate({r:a.r,start:a.start,end:a.end},r.options.animation))})}drawEmpty(){let i,r,s=this.startAngleRad,n=this.endAngleRad,a=this.options;0===this.total&&this.center?(i=this.center[0],r=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,s,n).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:ev.arc(i,r,this.center[2]/2,0,{start:s,end:n,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":a.borderWidth,fill:a.fillColor||"none",stroke:a.color||"var(--highcharts-neutral-color-20)"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let i=this.chart.renderer;this.points.forEach(function(r){r.graphic&&r.hasNewShapeType()&&(r.graphic=r.graphic.destroy()),r.graphic||(r.graphic=i[r.shapeType](r.shapeArgs).add(r.series.group),r.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getXPos(i,r,s,n){let a=this.center,o=this.radii?this.radii[s.index]||0:a[2]/2,l=n.dataLabelPosition,h=l?.distance||0,c=Math.asin(U((i-a[1])/(o+h),-1,1));return a[0]+Math.cos(c)*(o+h)*(r?-1:1)+(h>0?r?-5:5:0)}hasData(){return this.points.some(i=>i.visible)}redrawPoints(){let i,r,s,n,a=this,o=a.chart;this.drawEmpty(),a.group&&!o.styledMode&&a.group.shadow(a.options.shadow),a.points.forEach(function(l){let h={};r=l.graphic,!l.isNull&&r?(n=l.shapeArgs,i=l.getTranslate(),o.styledMode||(s=a.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(r.setRadialReference(a.center).attr(n).attr(i),o.styledMode||r.attr(s).attr({"stroke-linejoin":"round"}),l.delayedRendering=!1):(r.setRadialReference(a.center),o.styledMode||tm(!0,h,s),tm(!0,h,n,i),r.animate(h)),r.attr({visibility:l.visible?"inherit":"hidden"}),r.addClass(l.getClassName(),!0)):r&&(l.graphic=r.destroy())})}sortByAngle(i,r){i.sort(function(i,s){return void 0!==i.angle&&(s.angle-i.angle)*r})}translate(i){$(this,"translate"),this.generatePoints();let r=this.options,s=r.slicedOffset,n=rK(r.startAngle,r.endAngle),a=this.startAngleRad=n.start,o=(this.endAngleRad=n.end)-a,l=this.points,h=r.ignoreHiddenPoint,c=l.length,d,u,p,m,g,f,A,b=0;for(i||(this.center=i=this.getCenter()),f=0;f<c;f++){A=l[f],d=a+b*o,A.isValid()&&(!h||A.visible)&&(b+=A.percentage/100),u=a+b*o;let r={x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2,start:d,end:u};A.shapeType="arc",A.shapeArgs=r,(p=(u+d)/2)>1.5*Math.PI?p-=2*Math.PI:p<-Math.PI/2&&(p+=2*Math.PI),A.slicedTranslation={translateX:Math.round(Math.cos(p)*s),translateY:Math.round(Math.sin(p)*s)},m=Math.cos(p)*i[2]/2,g=Math.sin(p)*i[2]/2,A.tooltipPos=[i[0]+.7*m,i[1]+.7*g],A.half=+(p<-Math.PI/2||p>Math.PI/2),A.angle=p}$(this,"afterTranslate")}updateTotals(){let i=this.points,r=i.length,s=this.options.ignoreHiddenPoint,n,a,o=0;for(n=0;n<r;n++)(a=i[n]).isValid()&&(!s||a.visible)&&(o+=a.y);for(n=0,this.total=o;n<r;n++)(a=i[n]).percentage=o>0&&(a.visible||!s)?a.y/o*100:0,a.total=o}}rq.defaultOptions=tm(iU.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"var(--highcharts-background-color)",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),Z(rq.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:rL.prototype.drawTracker,getCenter:rz.getCenter,getSymbol:rV,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:rL.prototype.pointAttribs,pointClass:rQ,requireSorting:!1,searchPoint:rV,trackerGroups:["group","dataLabelsGroup"]}),iM.registerSeriesType("pie",rq);let{composed:rZ,noop:rJ}=D,{distribute:r$}=es,{series:r0}=iM;!function(i){let r={radialDistributionY:function(i,r){return(r.dataLabelPosition?.top||0)+i.distributeBox.pos},radialDistributionX:function(i,r,s,n,a){let o=a.dataLabelPosition;return i.getXPos(s<(o?.top||0)+2||s>(o?.bottom||0)-2?n:s,r.half,r,a)},justify:function(i,r,s,n){return n[0]+(i.half?-1:1)*(s+(r.dataLabelPosition?.distance||0))},alignToPlotEdges:function(i,r,s,n){let a=i.getBBox().width;return r?a+n:s-a-n},alignToConnectors:function(i,r,s,n){let a=0,o;return i.forEach(function(i){(o=i.dataLabel.getBBox().width)>a&&(a=o)}),r?a+n:s-a-n}};function s(i,r){let s=Math.PI/2,{start:n=0,end:a=0}=i.shapeArgs||{},o=i.angle||0;r>0&&n<s&&a>s&&o>s/2&&o<1.5*s&&(o=o<=s?Math.max(s/2,(n+s)/2):Math.min(1.5*s,(s+a)/2));let{center:l,options:h}=this,c=l[2]/2,d=Math.cos(o),u=Math.sin(o),p=l[0]+d*c,m=l[1]+u*c,g=Math.min((h.slicedOffset||0)+(h.borderWidth||0),r/5);return{natural:{x:p+d*r,y:m+u*r},computed:{},alignment:r<0?"center":i.half?"right":"left",connectorPosition:{angle:o,breakAt:{x:p+d*g,y:m+u*g},touchingSliceAt:{x:p,y:m}},distance:r}}function n(){let i=this,r=i.points,s=i.chart,n=s.plotWidth,a=s.plotHeight,o=s.plotLeft,l=Math.round(s.chartWidth/3),h=i.center,c=h[2]/2,d=h[1],u=[[],[]],p=[0,0,0,0],m=i.dataLabelPositioners,g,f,A,b=0;i.visible&&i.hasDataLabels?.()&&(r.forEach(i=>{(i.dataLabels||[]).forEach(i=>{i.shortened&&(i.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),i.shortened=!1)})}),r0.prototype.drawDataLabels.apply(i),r.forEach(i=>{(i.dataLabels||[]).forEach((r,s)=>{let n=h[2]/2,a=r.options,o=tT(a?.distance||0,n);0===s&&u[i.half].push(i),!X(a?.style?.width)&&r.getBBox().width>l&&(r.css({width:Math.round(.7*l)+"px"}),r.shortened=!0),r.dataLabelPosition=this.getDataLabelPosition(i,o),b=Math.max(b,o)})}),u.forEach((r,l)=>{let u=r.length,g=[],y,x,E=0,T;u&&(i.sortByAngle(r,l-.5),b>0&&(y=Math.max(0,d-c-b),x=Math.min(d+c+b,s.plotHeight),r.forEach(i=>{(i.dataLabels||[]).forEach(r=>{let n=r.dataLabelPosition;n&&n.distance>0&&(n.top=Math.max(0,d-c-n.distance),n.bottom=Math.min(d+c+n.distance,s.plotHeight),E=r.getBBox().height||21,r.lineHeight=s.renderer.fontMetrics(r.text||r).h+2*r.padding,i.distributeBox={target:(r.dataLabelPosition?.natural.y||0)-n.top+r.lineHeight/2,size:E,rank:i.y},g.push(i.distributeBox))})}),r$(g,T=x+E-y,T/5)),r.forEach(s=>{(s.dataLabels||[]).forEach(d=>{let u=d.options||{},b=s.distributeBox,y=d.dataLabelPosition,x=y?.natural.y||0,E=u.connectorPadding||0,T=d.lineHeight||21,C=(T-d.getBBox().height)/2,v=0,S=x,I="inherit";if(y){if(g&&X(b)&&y.distance>0&&(void 0===b.pos?I="hidden":(A=b.size,S=m.radialDistributionY(s,d))),u.justify)v=m.justify(s,d,c,h);else switch(u.alignTo){case"connectors":v=m.alignToConnectors(r,l,n,o);break;case"plotEdges":v=m.alignToPlotEdges(d,l,n,o);break;default:v=m.radialDistributionX(i,s,S-C,x,d)}if(y.attribs={visibility:I,align:y.alignment},y.posAttribs={x:v+(u.x||0)+(({left:E,right:-E})[y.alignment]||0),y:S+(u.y||0)-T/2},y.computed.x=v,y.computed.y=S-C,ty(u.crop,!0)){let i;v-(f=d.getBBox().width)<E&&1===l?(i=Math.round(f-v+E),p[3]=Math.max(i,p[3])):v+f>n-E&&0===l&&(i=Math.round(v+f-n+E),p[1]=Math.max(i,p[1])),S-A/2<0?p[0]=Math.max(Math.round(-S+A/2),p[0]):S+A/2>a&&(p[2]=Math.max(Math.round(S+A/2-a),p[2])),y.sideOverflow=i}}})}))}),(0===H(p)||this.verifyDataLabelOverflow(p))&&(this.placeDataLabels(),this.points.forEach(r=>{r.dataLabels?.forEach((n,a)=>{let{connectorColor:o,connectorWidth:l=1}=n.options||{},h=n.dataLabelPosition;if(th(l)){let c;g=n.connector,h&&h.distance>0?(c=!g,g||(n.connector=g=s.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+r.colorIndex+(r.className?" "+r.className:"")).add(i.dataLabelsGroups?.[a])),s.styledMode||g.attr({"stroke-width":l,stroke:o||r.color||"var(--highcharts-neutral-color-60)"}),g[c?"attr":"animate"]({d:r.getConnectorPath(n)}),g.attr({visibility:h.attribs?.visibility})):g&&(n.connector=g.destroy())}})})))}function a(){this.points.forEach(i=>{(i.dataLabels||[]).forEach(i=>{let r=i.dataLabelPosition;r?(r.sideOverflow&&(i.css({width:Math.max(i.getBBox().width-r.sideOverflow,0)+"px",textOverflow:i.options?.style?.textOverflow||"ellipsis"}),i.shortened=!0),i.attr(r.attribs),i[i.moved?"animate":"attr"](r.posAttribs),i.moved=!0):i&&i.attr({y:-9999})}),delete i.distributeBox},this)}function o(i){let r=this.center,s=this.options,n=s.center,a=s.minSize||80,o=a,l=null!==s.size;return!l&&(null!==n[0]?o=Math.max(r[2]-Math.max(i[1],i[3]),a):(o=Math.max(r[2]-i[1]-i[3],a),r[0]+=(i[3]-i[1])/2),null!==n[1]?o=U(o,a,r[2]-Math.max(i[0],i[2])):(o=U(o,a,r[2]-i[0]-i[2]),r[1]+=(i[0]-i[2])/2),o<r[2]?(r[2]=o,r[3]=Math.min(s.thickness?Math.max(0,o-2*s.thickness):Math.max(0,tT(s.innerSize||0,o)),o),this.translate(r),this.drawDataLabels&&this.drawDataLabels()):l=!0),l}i.compose=function(i){if(rP.compose(r0),tE(rZ,"PieDataLabel")){let l=i.prototype;l.dataLabelPositioners=r,l.alignDataLabel=rJ,l.drawDataLabels=n,l.getDataLabelPosition=s,l.placeDataLabels=a,l.verifyDataLabelOverflow=o}}}(k||(k={}));let r1=k;(m=N||(N={})).getCenterOfPoints=function(i){let r=i.reduce((i,r)=>(i.x+=r.x,i.y+=r.y,i),{x:0,y:0});return{x:r.x/i.length,y:r.y/i.length}},m.getDistanceBetweenPoints=function(i,r){return Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2))},m.getAngleBetweenPoints=function(i,r){return Math.atan2(r.x-i.x,r.y-i.y)},m.pointInPolygon=function({x:i,y:r},s){let n=s.length,a,o,l=!1;for(a=0,o=n-1;a<n;o=a++){let[n,h]=s[a],[c,d]=s[o];h>r!=d>r&&i<(c-n)*(r-h)/(d-h)+n&&(l=!l)}return l};let{pointInPolygon:r2}=N;function r3(i,r){let s,n=!1;return i&&(s=i.newOpacity,i.oldOpacity!==s&&(i.hasClass("highcharts-data-label")?(i[s?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,i[i.isOld||i.placed?"animate":"attr"]({opacity:s},void 0,function(){r.styledMode||i.css({pointerEvents:s?"auto":"none"})}),$(r,"afterHideOverlappingLabel")):i.attr({opacity:s})),i.isOld=!0),n}let{defaultOptions:r5}=tW,{noop:r4}=D,r8={radius:0,scope:"stack",where:void 0},r6=r4,r9=r4;function r7(i,r,s,n,a={}){let o=r6(i,r,s,n,a),{brStart:l=!0,brEnd:h=!0,innerR:c=0,r:d=s,start:u=0,end:p=0}=a;if(a.open||!a.borderRadius)return o;let m=p-u,g=Math.sin(m/2),f=Math.max(Math.min(tT(a.borderRadius||0,d-c),(d-c)/2,d*g/(1+g)),0),A=Math.min(f,m/Math.PI*2*c),b=o.length-1;for(;b--;)(l||0!==b&&3!==b)&&(h||1!==b&&2!==b)&&function(i,r,s){let n,a,o,l=i[r],h=i[r+1];if("Z"===h[0]&&(h=i[0]),("M"===l[0]||"L"===l[0])&&"A"===h[0]?(n=l,a=h,o=!0):"A"===l[0]&&("M"===h[0]||"L"===h[0])&&(n=h,a=l),n&&a&&a.params){let l=a[1],h=a[5],c=a.params,{start:d,end:u,cx:p,cy:m}=c,g=h?l-s:l+s,f=g?Math.asin(s/g):0,A=h?f:-f,b=Math.cos(f)*g;o?(c.start=d+A,n[1]=p+b*Math.cos(d),n[2]=m+b*Math.sin(d),i.splice(r+1,0,["A",s,s,0,0,1,p+l*Math.cos(c.start),m+l*Math.sin(c.start)])):(c.end=u-A,a[6]=p+l*Math.cos(c.end),a[7]=m+l*Math.sin(c.end),i.splice(r+1,0,["A",s,s,0,0,1,p+b*Math.cos(u),m+b*Math.sin(u)])),a[4]=Math.abs(c.end-c.start)<Math.PI?0:1}}(o,b,b>1?A:f);return o}function st(){if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:i,yAxis:r}=this,s="percent"===i.stacking,n=r5.plotOptions?.[this.type]?.borderRadius,a=se(i.borderRadius,tp(n)?n:{}),o=r.options.reversed;for(let n of this.points){let{shapeArgs:l}=n;if("roundedRect"===n.shapeType&&l){let{width:h=0,height:c=0,y:d=0}=l,u=d,p=c;if("stack"===a.scope&&n.stackTotal){let a=r.translate(s?100:n.stackTotal,!1,!0,!1,!0),o=r.translate(i.threshold||0,!1,!0,!1,!0),l=this.crispCol(0,Math.min(a,o),0,Math.abs(a-o));u=l.y,p=l.height}let m=(n.negative?-1:1)*(o?-1:1)==-1,g=a.where;!g&&this.is("waterfall")&&Math.abs((n.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let f=Math.min(tT(a.radius,h),h/2,"all"===g?p/2:1/0)||0;"end"===g&&(m&&(u-=f),p+=f),Z(l,{brBoxHeight:p,brBoxY:u,r:f})}}}}function se(i,r){return tp(i)||(i={radius:i||0}),tm(r8,r,i)}function si(){let i=se(this.options.borderRadius);for(let r of this.points){let s=r.shapeArgs;s&&(s.borderRadius=tT(i.radius,(s.r||0)-(s.innerR||0)))}}function sr(i,r,s,n,a={}){let o=r9(i,r,s,n,a),{r:l=0,brBoxHeight:h=n,brBoxY:c=r}=a,d=r-c,u=c+h-(r+n),p=d-l>-.1?0:l,m=u-l>-.1?0:l,g=Math.max(p&&d,0),f=Math.max(m&&u,0),A=[i+p,r],b=[i+s-p,r],y=[i+s,r+p],x=[i+s,r+n-m],E=[i+s-m,r+n],T=[i+m,r+n],C=[i,r+n-m],v=[i,r+p],S=(i,r)=>Math.sqrt(Math.pow(i,2)-Math.pow(r,2));if(g){let i=S(p,p-g);A[0]-=i,b[0]+=i,y[1]=v[1]=r+p-g}if(n<p-g){let a=S(p,p-g-n);y[0]=x[0]=i+s-p+a,E[0]=Math.min(y[0],E[0]),T[0]=Math.max(x[0],T[0]),C[0]=v[0]=i+p-a,y[1]=v[1]=r+n}if(f){let i=S(m,m-f);E[0]+=i,T[0]-=i,x[1]=C[1]=r+n-m+f}if(n<m-f){let a=S(m,m-f-n);y[0]=x[0]=i+s-m+a,b[0]=Math.min(y[0],b[0]),A[0]=Math.max(x[0],A[0]),C[0]=v[0]=i+m-a,x[1]=C[1]=r}return o.length=0,o.push(["M",...A],["L",...b],["A",p,p,0,0,1,...y],["L",...x],["A",m,m,0,0,1,...E],["L",...T],["A",m,m,0,0,1,...C],["L",...v],["A",p,p,0,0,1,...A],["Z"]),o}function ss(i,r){let s=i.condition;(s.callback||function(){return this.chartWidth<=ty(s.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=ty(s.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=ty(s.minWidth,0)&&this.chartHeight>=ty(s.minHeight,0)}).call(this,this)&&r.push(i._id)}function sn(i,r){let s=this.options.responsive,n=this.currentResponsive,a=[],o;!r&&s&&s.rules&&s.rules.forEach(i=>{void 0===i._id&&(i._id=tO()),this.matchResponsiveRule(i,a)},this);let l=tm(...a.map(i=>tn(s?.rules||[],r=>r._id===i)).map(i=>i?.chartOptions));l.isResponsiveOptions=!0,a=a.toString()||void 0;let h=n?.ruleIds;a!==h&&(n&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(n.undoOptions,i,!0),this.updatingResponsive=!1),a?((o=V(l,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:l,undoOptions:o},this.updatingResponsive||this.update(l,i,!0)):this.currentResponsive=void 0)}(M||(M={})).compose=function(i){let r=i.prototype;return r.matchResponsiveRule||Z(r,{matchResponsiveRule:ss,setResponsive:sn}),i};let sa=M;D.AST=t4,D.Axis=e5,D.Chart=i9,D.Color=tQ,D.DataLabel=rP,D.DataTable=iv,D.DataTableCore=iv,D.Fx=tq,D.HTMLElement=ej,D.Legend=iq,D.LegendSymbol=iw,D.PlotLineOrBand=e9,D.Point=im,D.Pointer=iE,D.Series=iU,D.SeriesRegistry=iM,D.StackItem=ra,D.SVGElement=eg,D.SVGRenderer=eU,D.Templating=er,D.Tick=eV,D.Time=tH,D.Tooltip=ih,D.addEvent=B,D.animObject=t$.animObject,D.animate=t$.animate,D.arrayMax=H,D.arrayMin=F,D.attr=G,D.chart=i9.chart,D.clamp=U,D.color=tQ.parse,D.correctFloat=Y,D.createElement=W,D.css=z,D.crisp=j,D.dateFormat=er.dateFormat,D.defaultOptions=tW.defaultOptions,D.defined=X,D.destroyObjectProperties=Q,D.diffObjects=V,D.discardElement=K,D.distribute=es.distribute,D.erase=q,D.error=tM,D.extend=Z,D.extendClass=J,D.find=tn,D.fireEvent=$,D.format=er.format,D.getAlignFactor=tt,D.getClosestDistance=te,D.getDeferredAnimation=t$.getDeferredAnimation,D.getMagnitude=ti,D.getNestedProperty=tr,D.getOptions=tW.getOptions,D.getStyle=ts,D.insertItem=tL,D.isArray=td,D.isClass=tl,D.isDOMElement=to,D.isFunction=tu,D.isNumber=th,D.isObject=tp,D.isString=tc,D.internalClearTimeout=ta,D.merge=tm,D.normalizeTickInterval=tg,D.numberFormat=er.numberFormat,D.objectEach=tf,D.offset=tA,D.pad=tb,D.pick=ty,D.pushUnique=tE,D.pInt=tx,D.relativeLength=tT,D.removeEvent=tv,D.replaceNested=tC,D.seriesType=iM.seriesType,D.setAnimation=t$.setAnimation,D.setOptions=tW.setOptions,D.splat=tS,D.stableSort=tI,D.stop=t$.stop,D.syncTimeout=tw,D.time=tW.defaultTime,D.ucfirst=t_,D.timers=tq.timers,D.timeUnits=tD,D.uniqueKey=tO,D.useSerialIds=function(i){return r=ty(i,r)},D.wrap=function(i,r,s){let n=i[r];i[r]=function(){let i=arguments,r=this;return s.apply(this,[function(){return n.apply(r,arguments.length?arguments:i)}].concat([].slice.call(arguments)))}},function(i,r,s){let n=i.types.pie;if(!r.symbolCustomAttribs.includes("borderRadius")){let a=s.prototype.symbols;B(i,"afterColumnTranslate",st,{order:9}),B(n,"afterTranslate",si),r.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY","brEnd","brStart"),r6=a.arc,r9=a.roundedRect,a.arc=r7,a.roundedRect=sr}}(D.Series,D.SVGElement,D.SVGRenderer),rH.compose(D.Series.types.column),rP.compose(D.Series),e4.compose(D.Axis),ej.compose(D.SVGRenderer),iq.compose(D.Chart),e8.compose(D.Axis),(o=(g=D.Chart).prototype).hideOverlappingLabels||(o.hideOverlappingLabels=function(i){let r=i.length,s=(i,r)=>!(r.x>=i.x+i.width||r.x+r.width<=i.x||r.y>=i.y+i.height||r.y+r.height<=i.y),n=(i,r)=>{for(let s of i)if(r2({x:s[0],y:s[1]},r))return!0;return!1},a,o,l,h,c,d=!1;for(let s=0;s<r;s++)(a=i[s])&&(a.oldOpacity=a.opacity,a.newOpacity=1,a.absoluteBox=function(i){if(i&&(!i.alignAttr||i.placed)){let r=i.box?0:i.padding||0,s=i.dataLabelPosition?.posAttribs||i.alignAttr||{x:i.attr("x"),y:i.attr("y")},{height:n,polygon:a,width:o}=i.getBBox(),l=tt(i.alignValue)*o;return i.width=o,i.height=n,{x:s.x+(i.parentGroup?.translateX||0)+r-l,y:s.y+(i.parentGroup?.translateY||0)+r,width:o-2*r,height:n-2*r,polygon:a}}}(a));i.sort((i,r)=>(r?.labelrank||0)-(i?.labelrank||0));for(let a=0;a<r;++a){h=(o=i[a])&&o.absoluteBox;let d=h?.polygon;for(let u=a+1;u<r;++u){c=(l=i[u])&&l.absoluteBox;let r=!1;if(h&&c&&o!==l&&o?.newOpacity!==0&&l?.newOpacity!==0&&o?.visibility!=="hidden"&&l?.visibility!=="hidden"){let i=c.polygon;if(d&&i&&d!==i?n(d,i)&&(r=!0):s(h,c)&&(r=!0),r){let i=o?.labelrank<l?.labelrank?o:l,r=i?.text;i&&(i.newOpacity=0),r?.element.querySelector("textPath")&&r.hide()}}}}
20for(let r of i)r&&r3(r,this)&&(d=!0);d&&$(this,"afterHideAllOverlappingLabels")},B(g,"render",function(){let i=this,r=[];for(let s of i.labelCollectors||[])r=r.concat(s());for(let s of i.yAxis||[])s.stacking&&s.options.stackLabels&&!s.options.stackLabels.allowOverlap&&tf(s.stacking.stacks,i=>{tf(i,i=>{i.label&&r.push(i.label)})});for(let s of i.series||[])if(s.visible&&s.hasDataLabels?.()){let n=n=>{for(let a of n)a.visible&&(a.dataLabels||[]).forEach(n=>{let o=n.options||{};n.labelrank=ty(o.labelrank,a.labelrank,a.shapeArgs?.height),o.allowOverlap??(s.is("pie")&&Number(o.distance)>0)?(n.oldOpacity=n.opacity,n.newOpacity=1,r3(n,i)):r.push(n)})};n(s.nodes||[]),n(s.points)}this.hideOverlappingLabels(r)})),r1.compose(D.Series.types.pie),e9.compose(D.Chart,D.Axis),iE.compose(D.Chart),sa.compose(D.Chart),rr.compose(D.Axis,D.Chart,D.Series),rb.compose(D.Axis,D.Chart,D.Series),ih.compose(D.Pointer);let so=D;i.s(["default",0,so])},99147,i=>{"use strict";var r,s,n=i.i(26963),a={};a.n=i=>{var r=i&&i.__esModule?()=>i.default:()=>i;return a.d(r,{a:r}),r},a.d=(i,r)=>{for(var s in r)a.o(r,s)&&!a.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},a.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r);let o=n.default;var l=a.n(o);let h=n.default.AST;var c=a.n(h);let d=n.default.Chart;var u=a.n(d),p=r||(r={});p.compose=function(i){return i.navigation||(i.navigation=new m(i)),i};class m{constructor(i){this.updates=[],this.chart=i}addUpdate(i){this.chart.navigation.updates.push(i)}update(i,r){this.updates.forEach(s=>{s.call(this.chart,i,r)})}}p.Additions=m;let g=r,{isSafari:f,win:A,win:{document:b}}=l(),y=A.URL||A.webkitURL||A;function x(i,r){let s=A.navigator,n=b.createElement("a");if("string"!=typeof i&&!(i instanceof String)&&s.msSaveOrOpenBlob)return void s.msSaveOrOpenBlob(i,r);if(i=""+i,s.userAgent.length>1e3)throw Error("Input too long");let a=/Edge\/\d+/.test(s.userAgent);if((f&&"string"==typeof i&&0===i.indexOf("data:application/pdf")||a||i.length>2e6)&&!(i=function(i){let r=i.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(r&&r.length>3&&A.atob&&A.ArrayBuffer&&A.Uint8Array&&A.Blob&&y.createObjectURL){let i=A.atob(r[3]),s=new A.ArrayBuffer(i.length),n=new A.Uint8Array(s);for(let r=0;r<n.length;++r)n[r]=i.charCodeAt(r);return y.createObjectURL(new A.Blob([n],{type:r[1]}))}}(i)||""))throw Error("Failed to convert to blob");if(void 0!==n.download)n.href=i,n.download=r,b.body.appendChild(n),n.click(),b.body.removeChild(n);else try{if(!A.open(i,"chart"))throw Error("Failed to open window")}catch{A.location.href=i}}let{isTouchDevice:E}=l(),T={exporting:{allowHTML:!0,allowTableSorting:!0,local:!0,type:"image/png",url:`https://export-svg.highcharts.com?v=${l().version}`,pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen?.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.exporting?.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:async function(){await this.exporting?.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:async function(){await this.exporting?.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:async function(){await this.exporting?.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:async function(){await this.exporting?.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:5,height:28,y:-5,verticalAlign:"top",width:28,symbolFill:"var(--highcharts-neutral-color-60)",symbolStroke:"var(--highcharts-neutral-color-60)",symbolStrokeWidth:3,theme:{fill:"var(--highcharts-background-color)",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"var(--highcharts-background-color)",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"var(--highcharts-neutral-color-80)",padding:"0.5em",fontSize:E?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"var(--highcharts-neutral-color-5)"}}};!function(i){let r=[];
20function s(i,r,s,n){return[["M",i,r+2.5],["L",i+s,r+2.5],["M",i,r+n/2+.5],["L",i+s,r+n/2+.5],["M",i,r+n-1.5],["L",i+s,r+n-1.5]]}function n(i,r,s,n){let a=n/3-2;return[].concat(this.circle(s-a,r,a,a),this.circle(s-a,r+a+4,a,a),this.circle(s-a,r+2*(a+4),a,a))}i.compose=function(i){if(-1===r.indexOf(i)){r.push(i);let a=i.prototype.symbols;a.menu=s,a.menuball=n.bind(a)}}}(s||(s={}));let C=s,{composed:v}=l();function S(){this.fullscreen=new I(this)}class I{static compose(i){(0,o.pushUnique)(v,"Fullscreen")&&(0,o.addEvent)(i,"beforeRender",S)}constructor(i){this.chart=i,this.isOpen=!1;let r=i.renderTo;!this.browserProps&&("function"==typeof r.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:r.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:r.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:r.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let i=this,r=i.chart,s=r.options.chart;(0,o.fireEvent)(r,"fullscreenClose",void 0,function(){i.isOpen&&i.browserProps&&r.container.ownerDocument instanceof Document&&r.container.ownerDocument[i.browserProps.exitFullscreen](),i.unbindFullscreenEvent&&(i.unbindFullscreenEvent=i.unbindFullscreenEvent()),r.setSize(i.origWidth,i.origHeight,!1),i.origWidth=void 0,i.origHeight=void 0,s.width=i.origWidthOption,s.height=i.origHeightOption,i.origWidthOption=void 0,i.origHeightOption=void 0,i.isOpen=!1,i.setButtonText()})}open(){let i=this,r=i.chart,s=r.options.chart;(0,o.fireEvent)(r,"fullscreenOpen",void 0,function(){if(s&&(i.origWidthOption=s.width,i.origHeightOption=s.height),i.origWidth=r.chartWidth,i.origHeight=r.chartHeight,i.browserProps){let s=(0,o.addEvent)(r.container.ownerDocument,i.browserProps.fullscreenChange,function(){i.isOpen?(i.isOpen=!1,i.close()):(r.setSize(null,null,!1),i.isOpen=!0,i.setButtonText())}),n=(0,o.addEvent)(r,"destroy",s);i.unbindFullscreenEvent=()=>{s(),n()};let a=r.renderTo[i.browserProps.requestFullscreen]();a&&a.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let i=this.chart,r=i.exporting?.divElements,s=i.options.exporting,n=s&&s.buttons&&s.buttons.contextButton.menuItems,a=i.options.lang;if(s?.menuItemDefinitions&&a?.exitFullscreen&&a.viewFullscreen&&n&&r){let i=r[n.indexOf("viewFullscreen")];i&&c().setElementHTML(i,this.isOpen?a.exitFullscreen:s.menuItemDefinitions.viewFullscreen?.text||a.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}let{win:w}=l(),_={ajax:function(i){let r={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},s=new XMLHttpRequest;function n(r,s){i.error&&i.error(r,s)}if(!i.url)return!1;s.open((i.type||"get").toUpperCase(),i.url,!0),i.headers?.["Content-Type"]||s.setRequestHeader("Content-Type",r[i.dataType||"json"]||r.text),(0,o.objectEach)(i.headers,function(i,r){s.setRequestHeader(r,i)}),i.responseType&&(s.responseType=i.responseType),s.onreadystatechange=function(){let r;if(4===s.readyState){if(200===s.status){if("blob"!==i.responseType&&(r=s.responseText,"json"===i.dataType))try{r=JSON.parse(r)}catch(i){if(i instanceof Error)return n(s,i)}return i.success?.(r,s)}n(s,s.responseText)}},i.data&&"string"!=typeof i.data&&(i.data=JSON.stringify(i.data)),s.send(i.data)},getJSON:function(i,r){_.ajax({url:i,success:r,dataType:"json",headers:{"Content-Type":"text/plain"}})}};_.post=async function(i,r,s){let n=new w.FormData;(0,o.objectEach)(r,function(i,r){n.append(r,i)}),n.append("b64","true");let a=await w.fetch(i,{method:"POST",body:n,...s});if(a.ok){let i=await a.text(),s=document.createElement("a");s.href=`data:${r.type};base64,${i}`,s.download=r.filename,s.click(),(0,o.discardElement)(s)}};let{defaultOptions:k,setOptions:N}=l(),{composed:M,doc:L,isFirefox:D,isMS:O,isSafari:P,SVG_NS:R,win:B}=l();c().allowedAttributes.push("data-z-index","fill-opacity","filter","preserveAspectRatio","rx","ry","stroke-dasharray","stroke-linejoin","stroke-opacity","text-anchor","transform","transform-origin","version","viewBox","visibility","xmlns","xmlns:xlink"),c().allowedTags.push("desc","clippath","fedropshadow","femorphology","g","image");let F=B.URL||B.webkitURL||B;class H{constructor(i,r){this.options={},this.chart=i,this.options=r,this.btnCount=0,this.buttonOffset=0,this.divElements=[],this.svgElements=[]}static hyphenate(i){return i.replace(/[A-Z]/g,function(i){return"-"+i.toLowerCase()})}static async imageToDataURL(i,r,s){let n=await H.loadImage(i),a=L.createElement("canvas"),o=a?.getContext("2d");if(o)return a.height=n.height*r,a.width=n.width*r,o.drawImage(n,
200,0,a.width,a.height),a.toDataURL(s);throw Error("No canvas found!")}static async fetchCSS(i){try{let r=await fetch(i),s=await r.text(),n=new CSSStyleSheet;return n.replaceSync(s),n}catch{(0,o.error)(`Warning: Failed to fetch CSS from ${i}`,!1)}}static extractFontFamilies(i){return i?i.split(",").map(i=>i.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean):[]}static selectorAffectsSVG(i,r){try{if(r.matches(i))return!0;return!!r.querySelector(i)}catch{return!1}}static collectSVGInlineFonts(i,r){for(let s of Array.from(i.querySelectorAll("text, tspan"))){let i=s.getAttribute("style")||"",n=s.getAttribute("font-family")||"";if(i.indexOf("font-family")>-1){let s=i.match(/font-family\s*:\s*([^;]+)/i);for(let i of H.extractFontFamilies(s?.[1]))r.add(i)}for(let i of H.extractFontFamilies(n))r.add(i)}}static async handleStyleSheet(i,r,s,n,a=new Set){let o=i.href;if(o){if(a.has(o))return;a.add(o);try{if(new URL(o,L.baseURI).origin!==B.location.origin)return}catch{}}try{for(let l of Array.from(i.cssRules)){if(l instanceof CSSImportRule)try{let i=await H.fetchCSS(l.href);i&&await H.handleStyleSheet(i,r,s,n,a)}catch{}if(l instanceof CSSStyleRule&&H.selectorAffectsSVG(l.selectorText,n))for(let i of H.extractFontFamilies(l.style.fontFamily))s.add(i);if(l instanceof CSSFontFaceRule){let i=l.cssText;if(o){let r=/url\(\s*(['"]?)(?![a-z]+:|\/\/)([^'")]+?)\1\s*\)/gi;i=i.replace(r,(i,r,s)=>{let n=new URL(s,o).href;return`url(${r}${n}${r})`})}r.push(i)}}}catch(i){if("SecurityError"===i.name&&o)try{let i=await H.fetchCSS(o);i&&await H.handleStyleSheet(i,r,s,n,a)}catch{}}}static async fetchStyleSheets(i){let r=[],s=new Set;for(let n of(H.collectSVGInlineFonts(i,s),Array.from(L.styleSheets)))await H.handleStyleSheet(n,r,s,i);return s.size?r.filter(i=>{let r=i.match(/font-family\s*:\s*([^;]+);?/i);return H.extractFontFamilies(r?.[1]).some(i=>s.has(i))}):r}static async inlineFonts(i){let r=await H.fetchStyleSheets(i),s=/url\(([^)]+)\)/g,n=[],a=r.join("\n"),o;for(;o=s.exec(a);){let i=o[1].replace(/['"]/g,"");n.includes(i)||n.push(i)}let l=i=>{let r="",s=new Uint8Array(i);for(let i=0;i<s.byteLength;i++)r+=String.fromCharCode(s[i]);return btoa(r)},h={};for(let i of n)try{let r=await fetch(i),s=r.headers.get("Content-Type")||"",n=l(await r.arrayBuffer());h[i]=`data:${s};base64,${n}`}catch{}a=a.replace(s,(i,r)=>{let s=r.replace(/['"]/g,"");return`url(${h[s]||s})`});let c=document.createElementNS("http://www.w3.org/2000/svg","style");return c.textContent=a,i.append(c),i}static loadImage(i){return new Promise((r,s)=>{let n=new B.Image;n.crossOrigin="Anonymous",n.onload=()=>{setTimeout(()=>{r(n)},H.loadEventDeferDelay)},n.onerror=i=>{s(i)},n.src=i})}static prepareImageOptions(i){let r=i?.type||"image/png",s=i?.libURL||k.exporting?.libURL;return{type:r,filename:(i?.filename||"chart")+"."+("image/svg+xml"===r?"svg":r.split("/")[1]),scale:i?.scale||1,libURL:s?.slice(-1)!=="/"?s+"/":s}}static sanitizeDOM(i){i.querySelectorAll("foreignObject").forEach(i=>{["width","height"].forEach(r=>{let s=i.getAttribute(r);s&&i.setAttribute(r,Math.ceil(1.15*parseInt(s,10)))})})}static sanitizeSVG(i,r){return i=i.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />").replace(/(<svg(?![^>]*xmlns=)[^>]*)>/g,'$1 xmlns="http://www.w3.org/2000/svg">').replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|")\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/(<image[^>]*) xlink:href=/g,"$1 href=").replace(/\n+/g," ").replace(/ /g,"Â ").replace(/­/g,"Â")}static svgToDataURL(i){let r=B.navigator.userAgent,s=r.indexOf("WebKit")>-1&&0>r.indexOf("Chrome");try{if(!s&&-1===i.indexOf("<foreignObject"))return F.createObjectURL(new B.Blob([i],{type:"image/svg+xml;charset-utf-16"}))}catch{}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(i)}addButton(i){let r,s=this,n=s.chart,a=n.renderer,l=(0,o.merge)(n.options.navigation?.buttonOptions,i),h=l.onclick,c=l.menuItems,d=l.symbolSize||12;if(!1===l.enabled||!l.theme)return;let u=n.styledMode?{}:l.theme,p=()=>{};h?p=function(i){i&&i.stopPropagation(),h.call(n,i,n)}:c&&(p=function(i){i&&i.stopPropagation(),s.contextMenu(m.menuClassName,c,m.translateX||0,m.translateY||0,m.width||0,m.height||0,m),m.setState(2)}),l.text&&l.symbol?u.paddingLeft=(0,o.pick)(u.paddingLeft,30):l.text||(0,o.extend)(u,{width:l.width,height:l.height,padding:0});let m=a.button(l.text||"",0,0,p,u,void 0,void 0,void 0,void 0,l.useHTML).addClass(i.className||"").attr({title:(0,o.pick)(n.options.lang[l._titleKey||l.titleKey],"")});m.menuClassName=i.menuClassName||"highcharts-menu-"+s.btnCount++,l.symbol&&(r=a.symbol(l.symbol,Math.round((l.symbolX||0)-d/2),Math.round((l.symbolY||0)-d/2),d,d,{width:d,height:d}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(m),n.styledMode||r.attr({stroke:l.symbolStroke,fill:l.symbolFill,"stroke-width":l.symbolStrokeWidth||1})),m.add(s.group).align((0,o.extend)(l,{width:m.width,x:(0,o.pick)(l.x,s.buttonOffset)}),!0,"spacingBox"),s.buttonOffset+=((m.width||0)+(l.buttonSpacing||0))*("right"===l.align?-1:1),s.svgElements.push(m,r)}afterPrint(){let i=this.chart;if(!this.printReverseInfo)return;let{childNodes:r,origDisplay:s,resetParams:n}=this.printReverseInfo;this.moveContainers(i.renderTo),[].forEach.call(r,function(i,r){1===i.nodeType&&(i.style.display=s[r]||"")}),this.isPrinting=!1,n&&i.setSize.apply(i,n),delete this.printReverseInfo,H.printingChart=void 0,(0,o.fireEvent)(i,"afterPrint")}beforePrint(){let i=this.chart,r=L.body,s=this.options.printMaxWidth,n={childNodes:r.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,i.pointer?.reset(void 0,0),(0,o.fireEvent)(i,"beforePrint"),s&&i.chartWidth>s&&(n.resetParams=[i.options.chart.width,void 0,!1],i.setSize(s,void 0,!1)),[].forEach.call(n.childNodes,function(i,r){1===i.nodeType&&(n.origDisplay[r]=i.style.display,i.style.display="none")}),this.moveContainers(r),this.printReverseInfo=n}contextMenu(i,r,s,n,a,l,h){let d=this,u=d.chart,p=u.options.navigation,{chartWidth:m,chartHeight:g}=u,f="cache-"+i,A=Math.max(a,l),b,y=u[f];
20y||(d.contextMenuEl=u[f]=y=(0,o.createElement)("div",{className:i},{position:"absolute",zIndex:1e3,padding:A+"px",pointerEvents:"auto",...u.renderer.style},u.scrollablePlotArea?.fixedDiv||u.container),b=(0,o.createElement)("ul",{className:"highcharts-menu"},u.styledMode?{}:{listStyle:"none",margin:0,padding:0},y),u.styledMode||(0,o.css)(b,(0,o.extend)({MozBoxShadow:"3px 3px 10px #0008",WebkitBoxShadow:"3px 3px 10px #0008",boxShadow:"3px 3px 10px #0008"},p?.menuStyle||{})),y.hideMenu=function(){(0,o.css)(y,{display:"none"}),h&&h.setState(0),u.exporting&&(u.exporting.openMenu=!1),(0,o.css)(u.renderTo,{overflow:"hidden"}),(0,o.css)(u.container,{overflow:"hidden"}),(0,o.internalClearTimeout)(y.hideTimer),(0,o.fireEvent)(u,"exportMenuHidden")},d.events?.push((0,o.addEvent)(y,"mouseleave",function(){y.hideTimer=B.setTimeout(y.hideMenu,500)}),(0,o.addEvent)(y,"mouseenter",function(){(0,o.internalClearTimeout)(y.hideTimer)}),(0,o.addEvent)(L,"mouseup",function(r){u.pointer?.inClass(r.target,i)||y.hideMenu()}),(0,o.addEvent)(y,"click",function(){u.exporting?.openMenu&&y.hideMenu()})),r.forEach(function(i){if("string"==typeof i&&d.options.menuItemDefinitions?.[i]&&(i=d.options.menuItemDefinitions[i]),(0,o.isObject)(i,!0)){let r;i.separator?(r=(0,o.createElement)("li",{className:"highcharts-menu-item highcharts-separator",role:"separator"},void 0,b),u.styledMode||(0,o.css)(r,{border:"none",backgroundColor:"var(--highcharts-neutral-color-40)",height:"0.5px",margin:"10px 0",padding:0,listStyle:"none","pointer-events":"none"})):("viewData"===i.textKey&&d.isDataTableVisible&&(i.textKey="hideData"),r=(0,o.createElement)("li",{className:"highcharts-menu-item",onclick:function(r){r&&r.stopPropagation(),y.hideMenu(),"string"!=typeof i&&i.onclick&&i.onclick.apply(u,arguments)}},void 0,b),c().setElementHTML(r,i.text||u.options.lang[i.textKey]),u.styledMode||(r.onmouseover=function(){(0,o.css)(this,p?.menuItemHoverStyle||{})},r.onmouseout=function(){(0,o.css)(this,p?.menuItemStyle||{})},(0,o.css)(r,(0,o.extend)({cursor:"pointer"},p?.menuItemStyle||{})))),d.divElements.push(r)}}),d.divElements.push(b,y),d.menuHeight=y.offsetHeight,d.menuWidth=y.offsetWidth);let x={display:"block"};s+(d.menuWidth||0)>m?x.right=m-s-a-A+"px":x.left=s-A+"px",n+l+(d.menuHeight||0)>g&&h.alignOptions?.verticalAlign!=="top"?x.bottom=g-n-A+"px":x.top=n+l-A+"px",(0,o.css)(y,x),(0,o.css)(u.renderTo,{overflow:""}),(0,o.css)(u.container,{overflow:""}),u.exporting&&(u.exporting.openMenu=!0),(0,o.fireEvent)(u,"exportMenuShown")}destroy(i){let r,s=i?i.target:this.chart,{divElements:n,events:a,svgElements:l}=this;l.forEach((i,n)=>{i&&(i.onclick=i.ontouchstart=null,s[r="cache-"+i.menuClassName]&&delete s[r],l[n]=i.destroy())}),l.length=0,this.group&&(this.group.destroy(),delete this.group),n.forEach(function(i,r){i&&((0,o.internalClearTimeout)(i.hideTimer),(0,o.removeEvent)(i,"mouseleave"),n[r]=i.onmouseout=i.onmouseover=i.ontouchstart=i.onclick=null,(0,o.discardElement)(i))}),n.length=0,a&&(a.forEach(function(i){i()}),a.length=0)}async downloadSVG(i,r){let s,n={svg:i,exportingOptions:r,exporting:this};if((0,o.fireEvent)(H.prototype,"downloadSVG",n),n.defaultPrevented)return;let{type:a,filename:l,scale:h,libURL:c}=H.prepareImageOptions(r);if("application/pdf"===a)throw Error("Offline exporting logic for PDF type is not found.");if("image/svg+xml"===a){if(void 0!==B.MSBlobBuilder){let r=new B.MSBlobBuilder;r.append(i),s=r.getBlob("image/svg+xml")}else s=H.svgToDataURL(i);x(s,l)}else{s=H.svgToDataURL(i);try{H.objectURLRevoke=!0;let i=await H.imageToDataURL(s,h,a);x(i,l)}catch(p){if("No canvas found!"===p.message)throw p;if(i.length>1e8)throw Error("Input too long");let r=L.createElement("canvas"),s=r.getContext("2d"),n=i.match(/^<svg[^>]*\s{,1000}width\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/),u=i.match(/^<svg[^>]*\s{0,1000}height\s{,1000}=\s{,1000}\"?(\d+)\"?[^>]*>/);if(s&&n&&u){let p=n[1]*h,m=u[1]*h;if(r.width=p,r.height=m,!B.canvg){var d;if(!c)throw Error("Image export requires canvg. Set exporting.libURL or preload canvg.");H.objectURLRevoke=!0,await (d=c+"canvg.js",new Promise((i,r)=>{let s=b.getElementsByTagName("head")[0],n=b.createElement("script");n.type="text/javascript",n.src=d,n.onload=()=>{i()},n.onerror=()=>{let i=`Error loading script ${d}`;(0,o.error)(i),r(Error(i))},s.appendChild(n)}))}B.canvg.Canvg.fromString(s,i).start(),x(B.navigator.msSaveOrOpenBlob?r.msToBlob():r.toDataURL(a),l)}}finally{if(H.objectURLRevoke)try{F.revokeObjectURL(s)}catch{}}}}async exportChart(i,r){if((i=(0,o.merge)(this.options,i)).local)await this.localExport(i,r||{});
20else{let s=await this.getSVGForExport(i,r);i.url&&await _.post(i.url,{filename:i.filename?i.filename.replace(/\//g,"-"):this.getFilename(),type:i.type,width:i.width,scale:i.scale,svg:s},i.fetchOptions)}}async fallbackToServer(i,r){!1===i.fallbackToExportServer?i.error?i.error(i,r):(0,o.error)(r?.message||28,!0,this.chart):"application/pdf"===i.type?(i.local=!1,await this.exportChart(i)):(0,o.error)(r.message,!1)}getChartHTML(i){let r=this.chart;return i&&this.inlineStyles(),this.resolveCSSVariables(),H.sanitizeDOM(r.renderer.box),r.container.querySelectorAll("canvas").forEach(function(i){let s=i.toDataURL("image/png"),n=i.parentNode,a=r.renderer.image(s,0,0,i.width,i.height);(0,o.css)(a.element,{width:i.style.width,height:i.style.height}),n.parentNode.insertBefore(a.element,n),n.remove()}),r.container.innerHTML}getFilename(){let i=this.chart.userOptions.title?.text,r=this.options.filename;return r?r.replace(/\//g,"-"):("string"==typeof i&&(r=i.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!r||r.length<5)&&(r="chart"),r)}getSVG(i,r){let s=this.chart,n,a,l=(0,o.merge)(s.options,i);l.plotOptions=(0,o.merge)(s.userOptions.plotOptions,i?.plotOptions),l.time=(0,o.merge)(s.userOptions.time,i?.time);let h=(0,o.createElement)("div",void 0,{position:"absolute",top:"-9999em",width:s.chartWidth+"px",height:s.chartHeight+"px"},L.body),c=s.renderTo.style.width,d=s.renderTo.style.height,u=l.exporting?.sourceW
20idth||l.chart.width||/px$/.test(c)&&parseInt(c,10)||(l.isGantt?800:600),p=l.exporting?.sourceHeight||l.chart.height||/px$/.test(d)&&parseInt(d,10)||400;(0,o.extend)(l.chart,{animation:!1,renderTo:h,forExport:!0,renderer:"SVGRenderer",width:u,height:p}),l.exporting&&(l.exporting.enabled=!1),delete l.data,l.series=[],s.series.forEach(function(i){(a=(0,o.merge)(i.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:i.visible})).isInternal||l?.series?.push(a)});let m={};s.axes.forEach(function(i){i.userOptions.internalKey||(i.userOptions.internalKey=(0,o.uniqueKey)()),l&&!i.options.isInternal&&(m[i.coll]||(m[i.coll]=!0,l[i.coll]=[]),l[i.coll].push((0,o.merge)(i.userOptions,{visible:i.visible,type:i.type,uniqueNames:i.uniqueNames})))}),l.colorAxis=s.userOptions.colorAxis;let g=r=>{i&&["xAxis","yAxis","series"].forEach(function(s){i[s]&&r.update({[s]:i[s]})}),s.axes.forEach(function(s){let n=(0,o.find)(r.axes,i=>i.options.internalKey===s.userOptions.internalKey);if(n){let r=s.getExtremes(),a=(0,o.splat)(i?.[s.coll]||{})[0],l="min"in a?a.min:r.userMin,h="max"in a?a.max:r.userMax;(void 0!==l&&l!==n.min||void 0!==h&&h!==n.max)&&n.setExtremes(l??void 0,h??void 0,!0,!1)}});let a=r.exporting;return a?.options.applyStyleSheets&&this.applyShadowDOMStyles(r),n=a?.getChartHTML(s.styledMode||l?.exporting?.applyStyleSheets)||"",(0,o.fireEvent)(s,"getSVG",{chartCopy:r}),n=H.sanitizeSVG(n,l),l=void 0,r.destroy(),(0,o.discardElement)(h),n};return r?new Promise(i=>new s.constructor(l||{},function(r){s.callback?.call(this,r);let n=(0,o.addEvent)(this,"render",function(){n(),i(g(this))})})):g(new s.constructor(l,s.callback))}applyShadowDOMStyles(i){let r=this.chart,s=[],n=r.container,a;for(;n&&(!(a=n.getRootNode())||"object"!=typeof a.host);)n=n.parentNode,a=null;a?.querySelectorAll("style").forEach(r=>{let n=r.cloneNode(!0);i.container.appendChild(n),s.push(n)}),(0,o.addEvent)(r,"getSVG",()=>{s.forEach(i=>{i.remove()})})}async getSVGForExport(i,r){let s=this.options;
20return await this.getSVG((0,o.merge)({chart:{borderRadius:0}},s.chartOptions,r,{exporting:{sourceWidth:i?.sourceWidth||s.sourceWidth,sourceHeight:i?.sourceHeight||s.sourceHeight}}),!0)}inlineStyles(){let i,r=H.inlineDenylist,s=H.inlineAllowlist,n={},a=(0,o.createElement)("iframe",void 0,{width:"1px",height:"1px",visibility:"hidden"},L.body),l=a.contentWindow?.document;l&&l.body.appendChild(l.createElementNS(R,"svg")),function a(h){let c,d,u,p,m,g,f={};if(l&&1===h.nodeType&&-1===H.unstyledElements.indexOf(h.nodeName)){if(c=B.getComputedStyle(h,null),d="svg"===h.nodeName?{}:B.getComputedStyle(h.parentNode,null),!n[h.nodeName]){i=l.getElementsByTagName("svg")[0],u=l.createElementNS(h.namespaceURI,h.nodeName),i.appendChild(u);let r=B.getComputedStyle(u,null),s={};for(let i in r)i.length<1e3&&"string"==typeof r[i]&&!/^\d+$/.test(i)&&(s[i]=r[i]);n[h.nodeName]=s,"text"===h.nodeName&&delete n.text.fill,i.removeChild(u)}for(let i in c)(D||O||P||Object.hasOwnProperty.call(c,i))&&function(i,a){if(p=m=!1,s.length){for(g=s.length;g--&&!m;)m=s[g].test(a);p=!m}for("transform"===a&&"none"===i&&(p=!0),g=r.length;g--&&!p;){if(a.length>1e3)throw Error("Input too long");p=r[g].test(a)||"function"==typeof i}!p&&(d[a]!==i||"svg"===h.nodeName)&&n[h.nodeName][a]!==i&&(H.inlineToAttributes&&-1===H.inlineToAttributes.indexOf(a)?f[a]=i:i&&h.setAttribute(H.hyphenate(a),i))}(c[i],i);if((0,o.css)(h,f),"svg"===h.nodeName&&h.setAttribute("stroke-width","1px"),"text"===h.nodeName)return;[].forEach.call(h.children||h.childNodes,a)}}(this.chart.container.querySelector("svg")),i.parentNode.removeChild(i),a.parentNode.removeChild(a)}async localExport(i,r){let s=this.chart,n,a,l=null,h;if(O&&s.styledMode&&!H.inlineAllowlist.length&&H.inlineAllowlist.push(/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/),O&&("application/pdf"===i.type||s.container.getElementsByTagName("image").length&&"image/svg+xml"!==i.type)||"application/pdf"===i.type&&[].some.call(s.container.getElementsByTagName("image"),function(i){let r=i.getAttribute("href");return""!==r&&"string"==typeof r&&0!==r.indexOf("data:")}))return void await this.fallbackToServer(i,Error("Image type not supported for this chart/browser."));let c=(0,o.addEvent)(s,"getSVG",i=>{a=i.chartCopy.options,h=(n=i.chartCopy.container.cloneNode(!0))&&n.getElementsByTagName("image")||[]});try{let s;
20for(let s of(await this.getSVGForExport(i,r),h?Array.from(h):[]))if(l=s.getAttributeNS("http://www.w3.org/1999/xlink","href")){H.objectURLRevoke=!1;let r=await H.imageToDataURL(l,i?.scale||1,i?.type||"image/png");s.setAttributeNS("http://www.w3.org/1999/xlink","href",r)}else s.parentNode.removeChild(s);let c=n?.querySelector("svg");c&&!i.chartOptions?.chart?.style?.fontFamily&&await H.inlineFonts(c);let d=(s=n?.innerHTML,H.sanitizeSVG(s||"",a));if(d.indexOf("<foreignObject")>-1&&"image/svg+xml"!==i.type&&(O||"application/pdf"===i.type))throw Error("Image type not supported for charts with embedded HTML");return await this.downloadSVG(d,(0,o.extend)({filename:this.getFilename()},i)),d}catch(r){await this.fallbackToServer(i,r)}finally{c()}}moveContainers(i){let r=this.chart,{scrollablePlotArea:s}=r;(s?[s.fixedDiv,s.scrollingContainer]:[r.container]).forEach(function(r){i.appendChild(r)})}print(){let i=this.chart;this.isPrinting||(H.printingChart=i,P||this.beforePrint(),setTimeout(()=>{B.focus(),B.print(),P||setTimeout(()=>{i.exporting?.afterPrint()},1e3)},1))}render(){let i=this,{chart:r,options:s}=i,n=i?.isDirty||!i?.svgElements.length;i.buttonOffset=0,i.isDirty&&i.destroy(),n&&!1!==s.enabled&&(i.events=[],i.group||(i.group=r.renderer.g("exporting-group").attr({zIndex:3}).add()),(0,o.objectEach)(s?.buttons,function(r){i.addButton(r)}),i.isDirty=!1)}resolveCSSVariables(){Array.from(this.chart.container.querySelectorAll("*")).forEach(i=>{["color","fill","stop-color","stroke"].forEach(r=>{let s=i.getAttribute(r);s?.includes("var(")&&i.setAttribute(r,getComputedStyle(i).getPropertyValue(r));let n=i.style?.[r];n?.includes("var(")&&(i.style[r]=getComputedStyle(i).getPropertyValue(r))})})}update(i,r){this.isDirty=!0,(0,o.merge)(!0,this.options,i),(0,o.pick)(r,!0)&&this.chart.redraw()}}H.inlineAllowlist=[],H.inlineDenylist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],H.inlineToAttributes=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"],H.loadEventDeferDelay=150*!!O,H.unstyledElements=["clipPath","defs","desc"],function(i){function r(i){let r=i.exporting;r&&(r.render(),(0,o.addEvent)(i,"redraw",function(){this.exporting?.render()}),(0,o.addEvent)(i,"destroy",function(){this.exporting?.destroy()}))}function s(){let r=this;r.options.exporting&&(r.exporting=new i(r,r.options.exporting),g.compose(r).navigation.addUpdate((i,s)=>{r.exporting&&(r.exporting.isDirty=!0,(0,o.merge)(!0,r.options.navigation,i),(0,o.pick)(s,!0)&&r.redraw())}))}function n({alignTo:i,key:r,textPxLength:s}){let a=this.options.exporting,{align:l,buttonSpacing:h=0,verticalAlign:c,width:d=0}=(0,o.merge)(this.options.navigation?.buttonOptions,a?.buttons?.contextButton),u=i.width-s,p=d+h;(a?.enabled??!0)&&"title"===r&&"right"===l&&"top"===c&&u<2*p&&(u<p?i.width-=p:this.title?.alignValue!=="left"&&(i.x-=p-u/2))}i.compose=function(a,l){C.compose(l),I.compose(a),(0,o.pushUnique)(M,"Exporting")&&((0,o.extend)(u().prototype,{exportChart:async function(i,r){await this.exporting?.exportChart(i,r)},getChartHTML:function(i){return this.exporting?.getChartHTML(i)},getFilename:function(){return this.exporting?.getFilename()},getSVG:function(i){return this.exporting?.getSVG(i,!1)},print:function(){return this.exporting?.print()}}),a.prototype.callbacks.push(r),(0,o.addEvent)(a,"afterInit",s),(0,o.addEvent)(a,"layOutTitle",n),P&&B.matchMedia("print").addListener(function(r){i.printingChart&&(r.matches?i.printingChart.exporting?.beforePrint():i.printingChart.exporting?.afterPrint())}),N(T))}}(H||(H={}));let G=l();G.Exporting=H,G.HttpUtilities=G.HttpUtilities||_,G.ajax=G.HttpUtilities.ajax,G.getJSON=G.HttpUtilities.getJSON,G.post=G.HttpUtilities.post,H.compose(G.Chart,G.Renderer),l(),i.s([])},81815,i=>{"use strict";function r(i){return()=>{throw Error(`\`${i}\` is not supported in Client Components.`)}}r("getFormatter"),r("getNow"),r("getTimeZone"),r("getMessages");let s=r("getLocale"),n=(r("getExtracted"),r("getTranslations"));r("setRequestLocale"),i.s(["getLocale",0,s,"getTranslations",0,n])},38652,(i,r,s)=>{var n={872:function(i,r){"use strict";r.byteLength=d,r.toByteArray=p,r.fromByteArray=f;for(var s=[],n=[],a="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 1,595 bytes, line 20
20+/",l=0,h=o.length;l<h;++l)s[l]=o[l],n[o.charCodeAt(l)]=l;function c(i){var r=i.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var s=i.indexOf("=");-1===s&&(s=r);var n=s===r?0:4-s%4;return[s,n]}function d(i){var r=c(i),s=r[0],n=r[1];return(s+n)*3/4-n}function u(i,r,s){return(r+s)*3/4-s}function p(i){var r,s,o=c(i),l=o[0],h=o[1],d=new a(u(i,l,h)),p=0,m=h>0?l-4:l;for(s=0;s<m;s+=4)r=n[i.charCodeAt(s)]<<18|n[i.charCodeAt(s+1)]<<12|n[i.charCodeAt(s+2)]<<6|n[i.charCodeAt(s+3)],d[p++]=r>>16&255,d[p++]=r>>8&255,d[p++]=255&r;return 2===h&&(r=n[i.charCodeAt(s)]<<2|n[i.charCodeAt(s+1)]>>4,d[p++]=255&r),1===h&&(r=n[i.charCodeAt(s)]<<10|n[i.charCodeAt(s+1)]<<4|n[i.charCodeAt(s+2)]>>2,d[p++]=r>>8&255,d[p++]=255&r),d}function m(i){return s[i>>18&63]+s[i>>12&63]+s[i>>6&63]+s[63&i]}function g(i,r,s){for(var n=[],a=r;a<s;a+=3)n.push(m((i[a]<<16&0xff0000)+(i[a+1]<<8&65280)+(255&i[a+2])));return n.join("")}function f(i){for(var r,n=i.length,a=n%3,o=[],l=16383,h=0,c=n-a;h<c;h+=l)o.push(g(i,h,h+l>c?c:h+l));return 1===a?o.push(s[(r=i[n-1])>>2]+s[r<<4&63]+"=="):2===a&&o.push(s[(r=(i[n-2]<<8)+i[n-1])>>10]+s[r>>4&63]+s[r<<2&63]+"="),o.join("")}n[45]=62,n[95]=63},230:function(i,r,s){"use strict";var n=s(872),a=s(321),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=E,r.INSPECT_MAX_BYTES=50;var l=0x7fffffff;function h(){try{var i=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(i,r),42===i.foo()}catch(i){return!1}}
vendor: 18,394 bytes, line 20
20function c(i){if(i>l)throw RangeError('The value "'+i+'" is invalid for option "size"');var r=new Uint8Array(i);return Object.setPrototypeOf(r,d.prototype),r}function d(i,r,s){if("number"==typeof i){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return g(i)}return u(i,r,s)}function u(i,r,s){if("string"==typeof i)return f(i,r);if(ArrayBuffer.isView(i))return A(i);if(null==i)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if($(i,ArrayBuffer)||i&&$(i.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&($(i,SharedArrayBuffer)||i&&$(i.buffer,SharedArrayBuffer)))return b(i,r,s);if("number"==typeof i)throw TypeError('The "value" argument must not be of type number. Received type number');var n=i.valueOf&&i.valueOf();if(null!=n&&n!==i)return d.from(n,r,s);var a=y(i);if(a)return a;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof i[Symbol.toPrimitive])return d.from(i[Symbol.toPrimitive]("string"),r,s);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}function p(i){if("number"!=typeof i)throw TypeError('"size" argument must be of type number');if(i<0)throw RangeError('The value "'+i+'" is invalid for option "size"')}function m(i,r,s){return(p(i),i<=0)?c(i):void 0!==r?"string"==typeof s?c(i).fill(r,s):c(i).fill(r):c(i)}function g(i){return p(i),c(i<0?0:0|x(i))}function f(i,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!d.isEncoding(r))throw TypeError("Unknown encoding: "+r);var s=0|T(i,r),n=c(s),a=n.write(i,r);return a!==s&&(n=n.slice(0,a)),n}function A(i){for(var r=i.length<0?0:0|x(i.length),s=c(r),n=0;n<r;n+=1)s[n]=255&i[n];return s}function b(i,r,s){var n;if(r<0||i.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(i.byteLength<r+(s||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===r&&void 0===s?new Uint8Array(i):void 0===s?new Uint8Array(i,r):new Uint8Array(i,r,s),d.prototype),n}function y(i){if(d.isBuffer(i)){var r=0|x(i.length),s=c(r);return 0===s.length||i.copy(s,0,0,r),s}return void 0!==i.length?"number"!=typeof i.length||tt(i.length)?c(0):A(i):"Buffer"===i.type&&Array.isArray(i.data)?A(i.data):void 0}function x(i){if(i>=l)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return 0|i}function E(i){return+i!=i&&(i=0),d.alloc(+i)}function T(i,r){if(d.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||$(i,ArrayBuffer))return i.byteLength;if("string"!=typeof i)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);var s=i.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===s)return 0;for(var a=!1;;)switch(r){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return K(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*s;case"hex":return s>>>1;case"base64":return Z(i).length;default:if(a)return n?-1:K(i).length;r=(""+r).toLowerCase(),a=!0}}function C(i,r,s){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===s||s>this.length)&&(s=this.length),s<=0||(s>>>=0)<=(r>>>=0)))return"";for(i||(i="utf8");;)switch(i){case"hex":return H(this,r,s);case"utf8":case"utf-8":return O(this,r,s);case"ascii":return B(this,r,s);case"latin1":case"binary":return F(this,r,s);case"base64":return D(this,r,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,r,s);default:if(n)throw TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),n=!0}}function v(i,r,s){var n=i[r];i[r]=i[s],i[s]=n}function S(i,r,s,n,a){if(0===i.length)return -1;if("string"==typeof s?(n=s,s=0):s>0x7fffffff?s=0x7fffffff:s<-0x80000000&&(s=-0x80000000),tt(s*=1)&&(s=a?0:i.length-1),s<0&&(s=i.length+s),s>=i.length)if(a)return -1;else s=i.length-1;else if(s<0)if(!a)return -1;else s=0;if("string"==typeof r&&(r=d.from(r,n)),d.isBuffer(r))return 0===r.length?-1:I(i,r,s,n,a);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(a)return Uint8Array.prototype.indexOf.call(i,r,s);else return Uint8Array.prototype.lastIndexOf.call(i,r,s);return I(i,[r],s,n,a)}throw TypeError("val must be string, number or Buffer")}function I(i,r,s,n,a){var o,l=1,h=i.length,c=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(i.length<2||r.length<2)return -1;l=2,h/=2,c/=2,s/=2}function d(i,r){return 1===l?i[r]:i.readUInt16BE(r*l)}if(a){var u=-1;for(o=s;o<h;o++)if(d(i,o)===d(r,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*l}else -1!==u&&(o-=o-u),u=-1}else for(s+c>h&&(s=h-c),o=s;o>=0;o--){for(var p=!0,m=0;m<c;m++)if(d(i,o+m)!==d(r,m)){p=!1;break}if(p)return o}return -1}function w(i,r,s,n){s=Number(s)||0;var a=i.length-s;n?(n=Number(n))>a&&(n=a):n=a;var o=r.length;n>o/2&&(n=o/2);for(var l=0;l<n;++l){var h=parseInt(r.substr(2*l,2),16);if(tt(h))break;i[s+l]=h}return l}function _(i,r,s,n){return J(K(r,i.length-s),i,s,n)}function k(i,r,s,n){return J(V(r),i,s,n)}function N(i,r,s,n){return k(i,r,s,n)}function M(i,r,s,n){return J(Z(r),i,s,n)}function L(i,r,s,n){return J(q(r,i.length-s),i,s,n)}function D(i,r,s){return 0===r&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(r,s))}function O(i,r,s){s=Math.min(i.length,s);for(var n=[],a=r;a<s;){var o,l,h,c,d=i[a],u=null,p=d>239?4:d>223?3:d>191?2:1;if(a+p<=s)switch(p){case 1:d<128&&(u=d);break;case 2:(192&(o=i[a+1]))==128&&(c=(31&d)<<6|63&o)>127&&(u=c);break;case 3:o=i[a+1],l=i[a+2],(192&o)==128&&(192&l)==128&&(c=(15&d)<<12|(63&o)<<6|63&l)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=i[a+1],l=i[a+2],h=i[a+3],(192&o)==128&&(192&l)==128&&(192&h)==128&&(c=(15&d)<<18|(63&o)<<12|(63&l)<<6|63&h)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),a+=p}return R(n)}r.kMaxLength=0x7fffffff,d.TYPED_ARRAY_SUPPORT=h(),!d.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(i,r,s){return u(i,r,s)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(i,r,s){return m(i,r,s)},d.allocUnsafe=function(i){return g(i)},d.allocUnsafeSlow=function(i){return g(i)},d.isBuffer=function(i){return null!=i&&!0===i._isBuffer&&i!==d.prototype},d.compare=function(i,r){if($(i,Uint8Array)&&(i=d.from(i,i.offset,i.byteLength)),$(r,Uint8Array)&&(r=d.from(r,r.offset,r.byteLength)),!d.isBuffer(i)||!d.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===r)return 0;for(var s=i.length,n=r.length,a=0,o=Math.min(s,n);a<o;++a)if(i[a]!==r[a]){s=i[a],n=r[a];break}return s<n?-1:+(n<s)},d.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(i,r){if(!Array.isArray(i))throw TypeError('"list" argument must be an Array of Buffers');if(0===i.length)return d.alloc(0);if(void 0===r)for(s=0,r=0;s<i.length;++s)r+=i[s].length;var s,n=d.allocUnsafe(r),a=0;for(s=0;s<i.length;++s){var o=i[s];if($(o,Uint8Array)&&(o=d.from(o)),!d.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n},d.byteLength=T,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var i=this.length;if(i%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<i;r+=2)v(this,r,r+1);return this},d.prototype.swap32=function(){var i=this.length;if(i%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<i;r+=4)v(this,r,r+3),v(this,r+1,r+2);return this},d.prototype.swap64=function(){var i=this.length;if(i%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<i;r+=8)v(this,r,r+7),v(this,r+1,r+6),v(this,r+2,r+5),v(this,r+3,r+4);return this},d.prototype.toString=function(){var i=this.length;return 0===i?"":0==arguments.length?O(this,0,i):C.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(i){if(!d.isBuffer(i))throw TypeError("Argument must be a Buffer");return this===i||0===d.compare(this,i)},d.prototype.inspect=function(){var i="",s=r.INSPECT_MAX_BYTES;return i=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(i+=" ... "),"<Buffer "+i+">"},o&&(d.prototype[o]=d.prototype.inspect),d.prototype.compare=function(i,r,s,n,a){if($(i,Uint8Array)&&(i=d.from(i,i.offset,i.byteLength)),!d.isBuffer(i))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(void 0===r&&(r=0),void 0===s&&(s=i?i.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),r<0||s>i.length||n<0||a>this.length)throw RangeError("out of range index");if(n>=a&&r>=s)return 0;if(n>=a)return -1;if(r>=s)return 1;if(r>>>=0,s>>>=0,n>>>=0,a>>>=0,this===i)return 0;for(var o=a-n,l=s-r,h=Math.min(o,l),c=this.slice(n,a),u=i.slice(r,s),p=0;p<h;++p)if(c[p]!==u[p]){o=c[p],l=u[p];break}return o<l?-1:+(l<o)},d.prototype.includes=function(i,r,s){return -1!==this.indexOf(i,r,s)},d.prototype.indexOf=function(i,r,s){return S(this,i,r,s,!0)},d.prototype.lastIndexOf=function(i,r,s){return S(this,i,r,s,!1)},d.prototype.write=function(i,r,s,n){if(void 0===r)n="utf8",s=this.length,r=0;else if(void 0===s&&"string"==typeof r)n=r,s=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(s)?(s>>>=0,void 0===n&&(n="utf8")):(n=s,s=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((void 0===s||s>a)&&(s=a),i.length>0&&(s<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,i,r,s);case"utf8":case"utf-8":return _(this,i,r,s);case"ascii":return k(this,i,r,s);case"latin1":case"binary":return N(this,i,r,s);case"base64":return M(this,i,r,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,i,r,s);default:if(o)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function R(i){var r=i.length;if(r<=P)return String.fromCharCode.apply(String,i);for(var s="",n=0;n<r;)s+=String.fromCharCode.apply(String,i.slice(n,n+=P));return s}function B(i,r,s){var n="";s=Math.min(i.length,s);for(var a=r;a<s;++a)n+=String.fromCharCode(127&i[a]);return n}function F(i,r,s){var n="";s=Math.min(i.length,s);for(var a=r;a<s;++a)n+=String.fromCharCode(i[a]);return n}function H(i,r,s){var n=i.length;(!r||r<0)&&(r=0),(!s||s<0||s>n)&&(s=n);for(var a="",o=r;o<s;++o)a+=te[i[o]];return a}function G(i,r,s){for(var n=i.slice(r,s),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}function U(i,r,s){if(i%1!=0||i<0)throw RangeError("offset is not uint");if(i+r>s)throw RangeError("Trying to access beyond buffer length")}function Y(i,r,s,n,a,o){if(!d.isBuffer(i))throw TypeError('"buffer" argument must be a Buffer instance');if(r>a||r<o)throw RangeError('"value" argument is out of bounds');if(s+n>i.length)throw RangeError("Index out of range")}function W(i,r,s,n,a,o){if(s+n>i.length||s<0)throw RangeError("Index out of range")}function j(i,r,s,n,o){return r*=1,s>>>=0,o||W(i,r,s,4,34028234663852886e22,-34028234663852886e22),a.write(i,r,s,n,23,4),s+4}function z(i,r,s,n,o){return r*=1,s>>>=0,o||W(i,r,s,8,17976931348623157e292,-17976931348623157e292),a.write(i,r,s,n,52,8),s+8}d.prototype.slice=function(i,r){var s=this.length;i=~~i,r=void 0===r?s:~~r,i<0?(i+=s)<0&&(i=0):i>s&&(i=s),r<0?(r+=s)<0&&(r=0):r>s&&(r=s),r<i&&(r=i);var n=this.subarray(i,r);return Object.setPrototypeOf(n,d.prototype),n},d.prototype.readUIntLE=function(i,r,s){i>>>=0,r>>>=0,s||U(i,r,this.length);for(var n=this[i],a=1,o=0;++o<r&&(a*=256);)n+=this[i+o]*a;return n},d.prototype.readUIntBE=function(i,r,s){i>>>=0,r>>>=0,s||U(i,r,this.length);for(var n=this[i+--r],a=1;r>0&&(a*=256);)n+=this[i+--r]*a;return n},d.prototype.readUInt8=function(i,r){return i>>>=0,r||U(i,1,this.length),this[i]},d.prototype.readUInt16LE=function(i,r){return i>>>=0,r||U(i,2,this.length),this[i]|this[i+1]<<8},d.prototype.readUInt16BE=function(i,r){return i>>>=0,r||U(i,2,this.length),this[i]<<8|this[i+1]},d.prototype.readUInt32LE=function(i,r){return i>>>=0,r||U(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+0x1000000*this[i+3]},d.prototype.readUInt32BE=function(i,r){return i>>>=0,r||U(i,4,this.length),0x1000000*this[i]+(this[i+1]<<16|this[i+2]<<8|this[i+3])},d.prototype.readIntLE=function(i,r,s){i>>>=0,r>>>=0,s||U(i,r,this.length);for(var n=this[i],a=1,o=0;++o<r&&(a*=256);)n+=this[i+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*r)),n},d.prototype.readIntBE=function(i,r,s){i>>>=0,r>>>=0,s||U(i,r,this.length);for(var n=r,a=1,o=this[i+--n];n>0&&(a*=256);)o+=this[i+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*r)),o},d.prototype.readInt8=function(i,r){return(i>>>=0,r||U(i,1,this.length),128&this[i])?-((255-this[i]+1)*1):this[i]},d.prototype.readInt16LE=function(i,r){i>>>=0,r||U(i,2,this.length);var s=this[i]|this[i+1]<<8;return 32768&s?0xffff0000|s:s},d.prototype.readInt16BE=function(i,r){i>>>=0,r||U(i,2,this.length);var s=this[i+1]|this[i]<<8;return 32768&s?0xffff0000|s:s},d.prototype.readInt32LE=function(i,r){return i>>>=0,r||U(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},d.prototype.readInt32BE=function(i,r){return i>>>=0,r||U(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},d.prototype.readFloatLE=function(i,r){return i>>>=0,r||U(i,4,this.length),a.read(this,i,!0,23,4)},d.prototype.readFloatBE=function(i,r){return i>>>=0,r||U(i,4,this.length),a.read(this,i,!1,23,4)},d.prototype.readDoubleLE=function(i,r){return i>>>=0,r||U(i,8,this.length),a.read(this,i,!0,52,8)},d.prototype.readDoubleBE=function(i,r){return i>>>=0,r||U(i,8,this.length),a.read(this,i,!1,52,8)},d.prototype.writeUIntLE=function(i,r,s,n){if(i*=1,r>>>=0,s>>>=0,!n){var a=Math.pow(2,8*s)-1;Y(this,i,r,s,a,0)}var o=1,l=0;for(this[r]=255&i;++l<s&&(o*=256);)this[r+l]=i/o&255;return r+s},d.prototype.writeUIntBE=function(i,r,s,n){if(i*=1,r>>>=0,s>>>=0,!n){var a=Math.pow(2,8*s)-1;Y(this,i,r,s,a,0)}var o=s-1,l=1;for(this[r+o]=255&i;--o>=0&&(l*=256);)this[r+o]=i/l&255;return r+s},d.prototype.writeUInt8=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,1,255,0),this[r]=255&i,r+1},d.prototype.writeUInt16LE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,2,65535,0),this[r]=255&i,this[r+1]=i>>>8,r+2},d.prototype.writeUInt16BE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,2,65535,0),this[r]=i>>>8,this[r+1]=255&i,r+2},d.prototype.writeUInt32LE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,4,0xffffffff,0),this[r+3]=i>>>24,this[r+2]=i>>>16,this[r+1]=i>>>8,this[r]=255&i,r+4},d.prototype.writeUInt32BE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,4,0xffffffff,0),this[r]=i>>>24,this[r+1]=i>>>16,this[r+2]=i>>>8,this[r+3]=255&i,r+4},d.prototype.writeIntLE=function(i,r,s,n){if(i*=1,r>>>=0,!n){var a=Math.pow(2,8*s-1);Y(this,i,r,s,a-1,-a)}var o=0,l=1,h=0;for(this[r]=255&i;++o<s&&(l*=256);)i<0&&0===h&&0!==this[r+o-1]&&(h=1),this[r+o]=(i/l|0)-h&255;return r+s},d.prototype.writeIntBE=function(i,r,s,n){if(i*=1,r>>>=0,!n){var a=Math.pow(2,8*s-1);Y(this,i,r,s,a-1,-a)}var o=s-1,l=1,h=0;for(this[r+o]=255&i;--o>=0&&(l*=256);)i<0&&0===h&&0!==this[r+o+1]&&(h=1),this[r+o]=(i/l|0)-h&255;return r+s},d.prototype.writeInt8=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,1,127,-128),i<0&&(i=255+i+1),this[r]=255&i,r+1},d.prototype.writeInt16LE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,2,32767,-32768),this[r]=255&i,this[r+1]=i>>>8,r+2},d.prototype.writeInt16BE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,2,32767,-32768),this[r]=i>>>8,this[r+1]=255&i,r+2},d.prototype.writeInt32LE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,4,0x7fffffff,-0x80000000),this[r]=255&i,this[r+1]=i>>>8,this[r+2]=i>>>16,this[r+3]=i>>>24,r+4},d.prototype.writeInt32BE=function(i,r,s){return i*=1,r>>>=0,s||Y(this,i,r,4,0x7fffffff,-0x80000000),i<0&&(i=0xffffffff+i+1),this[r]=i>>>24,this[r+1]=i>>>16,this[r+2]=i>>>8,this[r+3]=255&i,r+4},d.prototype.writeFloatLE=function(i,r,s){return j(this,i,r,!0,s)},d.prototype.writeFloatBE=function(i,r,s){return j(this,i,r,!1,s)},d.prototype.writeDoubleLE=function(i,r,s){return z(this,i,r,!0,s)},d.prototype.writeDoubleBE=function(i,r,s){return z(this,i,r,!1,s)},d.prototype.copy=function(i,r,s,n){if(!d.isBuffer(i))throw TypeError("argument should be a Buffer");if(s||(s=0),n||0===n||(n=this.length),r>=i.length&&(r=i.length),r||(r=0),n>0&&n<s&&(n=s),n===s||0===i.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),i.length-r<n-s&&(n=i.length-r+s);var a=n-s;if(this===i&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,s,n);else if(this===i&&s<r&&r<n)for(var o=a-1;o>=0;--o)i[o+r]=this[o+s];else Uint8Array.prototype.set.call(i,this.subarray(s,n),r);return a},d.prototype.fill=function(i,r,s,n){if("string"==typeof i){if("string"==typeof r?(n=r,r=0,s=this.length):"string"==typeof s&&(n=s,s=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!d.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===i.length){var a,o=i.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(i=o)}}else"number"==typeof i?i&=255:"boolean"==typeof i&&(i=Number(i));if(r<0||this.length<r||this.length<s)throw RangeError("Out of range index");if(s<=r)return this;if(r>>>=0,s=void 0===s?this.length:s>>>0,i||(i=0),"number"==typeof i)for(a=r;a<s;++a)this[a]=i;else{var l=d.isBuffer(i)?i:d.from(i,n),h=l.length;
20if(0===h)throw TypeError('The value "'+i+'" is invalid for argument "value"');for(a=0;a<s-r;++a)this[a+r]=l[a%h]}return this};var X=/[^+/0-9A-Za-z-_]/g;function Q(i){if((i=(i=i.split("=")[0]).trim().replace(X,"")).length<2)return"";for(;i.length%4!=0;)i+="=";return i}function K(i,r){r=r||1/0;for(var s,n=i.length,a=null,o=[],l=0;l<n;++l){if((s=i.charCodeAt(l))>55295&&s<57344){if(!a){if(s>56319||l+1===n){(r-=3)>-1&&o.push(239,191,189);continue}a=s;continue}if(s<56320){(r-=3)>-1&&o.push(239,191,189),a=s;continue}s=(a-55296<<10|s-56320)+65536}else a&&(r-=3)>-1&&o.push(239,191,189);if(a=null,s<128){if((r-=1)<0)break;o.push(s)}else if(s<2048){if((r-=2)<0)break;o.push(s>>6|192,63&s|128)}else if(s<65536){if((r-=3)<0)break;o.push(s>>12|224,s>>6&63|128,63&s|128)}else if(s<1114112){if((r-=4)<0)break;o.push(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else throw Error("Invalid code point")}return o}function V(i){for(var r=[],s=0;s<i.length;++s)r.push(255&i.charCodeAt(s));return r}function q(i,r){for(var s,n,a=[],o=0;o<i.length&&!((r-=2)<0);++o)n=(s=i.charCodeAt(o))>>8,a.push(s%256),a.push(n);return a}function Z(i){return n.toByteArray(Q(i))}function J(i,r,s,n){for(var a=0;a<n&&!(a+s>=r.length)&&!(a>=i.length);++a)r[a+s]=i[a];return a}function $(i,r){return i instanceof r||null!=i&&null!=i.constructor&&null!=i.constructor.name&&i.constructor.name===r.name}function tt(i){return i!=i}var te=function(){for(var i="0123456789abcdef",r=Array(256),s=0;s<16;++s)for(var n=16*s,a=0;a<16;++a)r[n+a]=i[s]+i[a];return r}()},321:function(i,r){r.read=function(i,r,s,n,a){var o,l,h=8*a-n-1,c=(1<<h)-1,d=c>>1,u=-7,p=s?a-1:0,m=s?-1:1,g=i[r+p];for(p+=m,o=g&(1<<-u)-1,g>>=-u,u+=h;u>0;o=256*o+i[r+p],p+=m,u-=8);for(l=o&(1<<-u)-1,o>>=-u,u+=n;u>0;l=256*l+i[r+p],p+=m,u-=8);if(0===o)o=1-d;else{if(o===c)return l?NaN:1/0*(g?-1:1);l+=Math.pow(2,n),o-=d}return(g?-1:1)*l*Math.pow(2,o-n)},r.write=function(i,r,s,n,a,o){var l,h,c,d=8*o-a-1,u=(1<<d)-1,p=u>>1,m=5960464477539062e-23*(23===a),g=n?0:o-1,f=n?1:-1,A=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(h=+!!isNaN(r),l=u):(l=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-l))<1&&(l--,c*=2),l+p>=1?r+=m/c:r+=m*Math.pow(2,1-p),r*c>=2&&(l++,c/=2),l+p>=u?(h=0,l=u):l+p>=1?(h=(r*c-1)*Math.pow(2,a),l+=p):(h=r*Math.pow(2,p-1)*Math.pow(2,a),l=0));a>=8;i[s+g]=255&h,g+=f,h/=256,a-=8);for(l=l<<a|h,d+=a;d>0;i[s+g]=255&l,g+=f,l/=256,d-=8);i[s+g-f]|=128*A}}},a={};function o(i){var r=a[i];if(void 0!==r)return r.exports;var s=a[i]={exports:{}},l=!0;try{n[i](s,s.exports,o),l=!1}finally{l&&delete a[i]}return s.exports}o.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/buffer/",r.exports=o(230)},37219,(i,r,s)=>{r.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},93408,i=>{"use strict";let r=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];function s(i,r){return i?.filter(({langue:i})=>i===r)??[]}function n(i,r){return i?.map(i=>({id:i.id,intitule:s(i.intitule,r)}))}function a(i,r){return{...i,intitule:s(i.intitule,r),intitulesAlternatifs:s(i.intitulesAlternatifs,r),definition:s(i.definition,r),noteEditoriale:s(i.noteEditoriale,r),conceptsPrecedents:n(i.conceptsPrecedents,r),conceptsSuivants:n(i.conceptsSuivants,r),conceptsLies:n(i.conceptsLies,r),conceptsReferences:n(i.conceptsReferences,r),conceptsPlusSpecifiques:n(i.conceptsPlusSpecifiques,r),conceptsPlusGeneriques:n(i.conceptsPlusGeneriques,r)}}i.s(["ALPHABET",0,r,"toLocaleDefinition",0,a])},59263,5799,95685,i=>{"use strict";i.s(["default",()=>ti],59263),i.s(["default",()=>M,"isContainerWithTitle",()=>N],95685),i.s(["LiensTransversesStatic",()=>I,"default",()=>_],5799);var r=i.i(34552),s=i.i(10265),n=i.i(67552),a=i.i(88812),o=r,l=i.i(81815),h=i.i(8864),c=i.i(78674),d=i.i(54468),u=i.i(81726),p=r,m=n,g=i.i(83741),f=r,A=i.i(43108),b=i.i(56966);let y=({children:i})=>(0,f.jsx)("div",{className:"items-center border-l-3 border-l-bleu-100 bg-gris-15 p-sm text-md font-normal text-noir-texte group-hover:bg-bleu-sec-60","data-testid":"lien-transverse-content",children:i}),x=({children:i,href:r,locale:s})=>(0,f.jsx)(A.Link,{href:r,locale:s,className:"group no-underline",children:(0,f.jsx)(y,{children:(0,f.jsxs)("div",{className:"flex flex-row justify-between gap-sm",children:[i,(0,f.jsx)(b.RiArrowRightLine,{size:20,className:"shrink-0","aria-hidden":!0,role:"presentation",focusable:"false"})]})})});i.i(52667);var E=i.i(24469);let T=i=>[(0,E.getRawText)(i.texte),...i.children.map(i=>T(i))].join(" "),C=i=>{switch(i.type){case"paragraphe":case"intertitre":case"container_titre":return(0,E.getRawText)(i.texte);case"liste":return i.items.map(i=>T(i)).join(" ");case"container":return i.children.map(i=>C(i)).join(" ");default:return""}};var v=i.i(94364);let S=({children:i,title:r,anchorRef:s})=>(0,p.jsxs)("aside",{className:"mx-auto mt-xl flex max-w-[1266px] flex-col gap-sm px-sm md:gap-md",id:s,children:[r,(0,p.jsx)("div",{className:"flex flex-col gap-md md:grid md:grid-cols-2 md:gap-x-lg md:gap-y-md",children:i})]}),I=({children:i,anchorRef:r})=>{let s=(0,v.useTranslations)("liens-transverses");return(0,p.jsx)(S,{anchorRef:r,title:(0,p.jsx)(m.default,{type:"intertitre",id:"h2-"+(0,g.toHref)(s("titre")),niveau:2,texte:[{type:"texte",texte:s("titre"),styles:{}}]}),children:i?.map(({href:i,text:r,id:s,locale:n})=>(0,p.jsx)(x,{href:i,locale:n,children:r},s??"lien-transverse-"+i))})},w=i=>{if("paragraphe"===i.type)return i.texte?.find(i=>"lien"===i.type)},_=({children:i,anchorRef:r,searchParams:s})=>{let n="intertitre"===i[0].type?i.shift():void 0;return(0,p.jsx)(S,{title:n&&(0,p.jsx)(ti,{bloc:n,searchParams:s}),anchorRef:r,children:i.map(i=>{let r=w(i);return r?(0,p.jsx)(x,{href:r.url,children:C(i)},"lien-transverse-"+r.url):(0,p.jsx)(y,{children:C(i)},"lien-transverse-"+i.id)})})},k=["avertissements-methodologiques","documents-methodologiques","documentation-pour-comprendre","sources","methodes","definitions","champs","geographies","nomenclatures"];function N(i){return k.includes(i)}let M=async({containerType:i,children:r,variante:s,anchorRef:n,searchParams:a})=>{let p=await (0,l.getTranslations)("titres-container");switch(i){case"avertissement":return(0,o.jsx)(u.AvertissementBloc,{variante:s,searchParams:a,children:r});case"bouton-radio-figures":return(0,o.jsx)(c.default,{anchorRef:n,searchParams:a,children:r.filter(i=>"figure"===i.type)});case"definition":return(0,o.jsx)("div",{id:n,children:r.map(i=>(0,o.jsx)(ti,{bloc:i,searchParams:a},i.id))});case"encadre":return(0,o.jsx)("div",{className:"box-title my-lg rounded-3xl border-4 border-bleu-sec-40 px-lg py-md text-noir-texte",children:r?.map(i=>(0,o.jsx)(ti,{bloc:i,searchParams:a},i.id))});case"infobulle":return(0,o.jsx)(o.Fragment,{});case"liens-transverses":return(0,o.jsx)(_,{anchorRef:n,searchParams:a,children:r});case"listes-variables":return(0,o.jsx)("ul",{id:n,className:"list-none border border-gr
20is-old-2 bg-blanc p-md",children:r?.map(i=>(0,o.jsx)("li",{className:"mb-6",id:i.anchorRef,children:(0,o.jsx)(ti,{bloc:i,searchParams:a})},i.id))});case"liste-variable":return(0,o.jsx)(h.default,{searchParams:a,children:r});default:return(0,o.jsxs)(o.Fragment,{children:[N(i)&&(0,o.jsx)("h2",{id:i,className:"bloc",style:{scrollMarginTop:`${d.VIEWPORT_HEIGHT}vh`},children:p(i)}),r?.map(i=>(0,o.jsx)(ti,{bloc:i,searchParams:a},i.id))]})}};var L=i.i(68823),D=r,O=i.i(17360),P=i.i(64751),R=i.i(7284);function B(i){return/^https?:\/\//.test(i)}let F=({url:i,altText:r,width:s,height:n,alignment:a})=>{let o=`storage-provider/attachments/${i}`;return(0,D.jsx)(P.default,{src:o,alt:r,width:s,height:n,className:(0,R.default)("center"===a&&"mx-auto"),style:{maxWidth:"100%",height:"auto"}})},H=({href:i,...r})=>i?(0,D.jsx)(O.default,{href:i,rel:(0,R.default)(B(i)&&"noopener noreferrer"),target:(0,R.default)(B(i)&&"_blank"),children:(0,D.jsx)(F,{...r})}):(0,D.jsx)(F,{...r}),G=({label:i,anchorRef:r,comment:s,commentFirst:n,...a})=>0===s.length?(0,D.jsxs)("div",{id:r,children:[(0,D.jsx)(H,{...a}),(0,D.jsx)("p",{className:(0,R.default)("center"===a.alignment&&"text-center"),children:i})]}):n?(0,D.jsxs)("div",{id:r,children:[s?.map(i=>(0,D.jsx)(ti,{bloc:i,searchParams:{}},i.id)),(0,D.jsx)(H,{...a}),(0,D.jsx)("p",{className:(0,R.default)("center"===a.alignment&&"text-center"),children:i})]}):(0,D.jsxs)("div",{id:r,className:"flex flex-col items-center md:flex-row",children:[(0,D.jsxs)("div",{className:"shrink-0",children:[(0,D.jsx)(H,{...a}),(0,D.jsx)("p",{className:(0,R.default)("center"===a.alignment&&"text-center"),children:i})]}),(0,D.jsx)("div",{className:"mx-4",children:s?.map(i=>(0,D.jsx)(ti,{bloc:i,searchParams:{}},i.id))})]});var U=i.i(32822),Y=r,W=i.i(18998),j=b,z=i.i(43532);let X={standard:"jedec",fullform:!0,round:0,fullforms:["o","Ko","Mo","Go"]},Q=({anchorRef:i,titre:r,fichiers:s})=>{if(1===s.length&&z.DOCS_FILES.includes(s[0].format)){let{format:n,size:a,url:o,filename:l}=s[0];return(0,Y.jsxs)("p",{id:i,children:[(0,Y.jsxs)("a",{href:(0,z.getCompleteFileUrl)(o),className:"text-md text-bleu-texte",download:l,children:[(0,Y.jsx)(j.RiArrowRightSLine,{className:"mr-4 inline","aria-hidden":!0,role:"presentation",focusable:"false"}),r]}),(0,Y.jsxs)("span",{className:"ml-2 text-sm text-noir-texte italic",children:["(",n,", ",(0,W.filesize)(a,X),")"]})]})}return(0,Y.jsxs)("div",{id:i,className:"bloc mb-4 border border-gris-old-2 bg-blanc",children:[(0,Y.jsx)("h2",{className:"my-0 border-b border-b-gris-old-2 py-sm text-center text-md font-bold",children:r}),(0,Y.jsx)("ul",{className:"m-0 flex flex-row",children:s.map(({format:i,size:r,url:s,filename:n},a)=>(0,Y.jsx)("li",{className:"flex-1 list-none not-last:border-r not-last:border-r-gris-old-2",children:(0,Y.jsxs)("a",{href:(0,z.getCompleteFileUrl)(s),className:"flex h-full flex-row items-center justify-center",download:n,children:[(0,Y.jsxs)("span",{className:"text-sm font-normal text-noir-texte italic",children:["(",i,", ",(0,W.filesize)(r,X),")"]}),(0,Y.jsx)("span",{className:"my-xs ml-xs inline-block",children:(0,z.getFileFormatIcon)(i)||(0,Y.jsx)(j.RiFileDownloadLine,{size:35,"aria-hidden":!0,role:"presentation",focusable:"false"})})]})},a))})]})};var K=i.i(79142),V=i.i(13145),q=i.i(16027),Z=L,J=r,$=i.i(94702),tt=K;let te=async({xml:i,anchorRef:r,title:s,metadata:n,searchParams:a})=>{console.log({xml:i,anchorRef:r,title:s});let o="string"==typeof a.geo?a.geo:"FRANCE-F",l=await fetch(`${Z.default.env.NEXT_PUBLIC_TABLEAU_DYNAMIQUE_API}/html_json?geo=${o}`,{method:"POST",body:JSON.stringify({xml:i}),headers:{"Content-Type":"application/json"}});if(!l.ok)return console.error("Une erreur est survenu pendant la génération du tableau dynamique: "+await l.text()),(0,J.jsx)(J.Fragment,{});let h=await l.text();return(0,J.jsxs)("figure",{id:r,className:"mb-lg bg-blanc",children:[(0,J.jsx)("h2",{className:"my-0 py-md",children:(0,J.jsx)($.ListInlineContentRenderer,{content:s})}),(0,J.jsx)("div",{className:"tableau-dynamique mb-2",dangerouslySetInnerHTML:{__html:h}}),(0,J.jsx)(tt.Metadata,{...n})]})},ti=({bloc:i,containerTitreNiveau:o,searchParams:l})=>{switch(i.type){case"paragraphe":return(0,r.jsx)(s.default,{...i});case"intertitre":return(0,r.jsx)(n.default,{...i});case"liste":return(0,r.jsx)(a.default,{...i});case"container":return(0,r.jsx)(M,{...i,searchParams:l});case"image":return(0,r.jsx)(G,{...i});case"youtube_video":return(0,r.jsx)(U.default,{...i});case"fichiers_bloc":return(0,r.jsx)(Q,{...i});case"container_titre":return(0,r.jsx)(n.default,{id:i.id,type:"intertitre",texte:i.texte,niveau:o??3,anchorRef:i.anchorRef});case"figure":return(0,r.jsx)(V.default,{figure:i,hasBoutonRadio:!1});case"tableau":return(0,r.jsx)(K.default,{...i});case"tableau_dynamique":return(0,r.jsx)(te,{...i,searchParams:l});case"graph":return(0,r.jsx)(q.default,{...i});default:return null}}},81726,i=>{"use strict";i.s(["AvertissementBloc",()=>c,"AvertissementCore",()=>h]);var r=i.i(34552),s=i.i(56966),n=i.i(59263),a=i.i(94364);let o={attention:"bg-[#fdf0c9]",erreur:"bg-[#ffe2e2]",succes:"bg-[#daf6e2]"},l=({variante:i,ariaLabel:n})=>{switch(i){case"attention":return(0,r.jsx)(s.RiErrorWarningFill,{"aria-label":n,role:"img",className:"shrink-0 fill-[#a46804]",size:24});case"erreur":return(0,r.jsx)(s.RiAlertFill,{"aria-label":n,role:"img",className:"shrink-0 fill-[#e91422]",size:24});case"succes":return(0,r.jsx)(s.RiCheckboxCircleFill,{"aria-label":n,role:"img",className:"shrink-0 fill-[#1c863d]",size:24});default:return(0,r.jsx)(s.RiInformationFill,{"aria-label":n,role:"img",className:"shrink-0 fill-bleu-100",size:24})}},h=({children:i,variante:s,className:n,...h})=>{let c=(0,a.useTranslations)("avertissement")(s&&["attention","erreur","succes"].includes(s)?s:"information");return(0,r.jsxs)("aside",{className:`bloc my-lg flex gap-sm rounded-3xl px-md py-lg text-lg font-normal ${o[s??""]??"bg-bleu-sec-40"} ${n??""}`,...h,children:[(0,r.jsx)(l,{variante:s,ariaLabel:c}),(0,r.jsx)("div",{className:"box-title",children:i})]})},c=({children:i,variante:s,searchParams:a})=>(0,r.jsx)(h,{variante:s,children:i?.map(i=>(0,r.jsx)(n.default,{bloc:i,containerTitreNiveau:2,searchParams:a},i.id))})},78674,13145,i=>{"use strict";i.s(["default",()=>C],78674),i.s(["default",()=>E],13145);var r=i.i(34552),s=i.i(61567),n=r,a=s,o=i.i(8286),l=i.i(79142),h=i.i(43532),c=i.i(94364),d=i.i(18998),u=i.i(12880),p=i.i(16027),m=i.i(23382),g=i.i(78495),f=i.i(7284);let A=({fichier:i,debutSerieLongue:r})=>{let s=(0,c.useTranslations)("pieces-jointes");return(0,n.jsxs)("a",{href:(0,h.getCompleteFileUrl)(i.url),download:i.filename,className:"relative ml-auto flex max-w-100 flex-row items-center justify-center rounded-sm border-b border-gr
20is-100 bg-jaune-old-4 bg-[linear-gradient(to_top,rgba(255,255,255,0)_0%,rgba(255,255,255,0.25)_100%)] py-3 text-gris-100 hover:underline",children:[(0,n.jsxs)("div",{className:"mr-4 flex flex-col items-center",children:[(0,n.jsx)("span",{className:"text-md font-bold uppercase",children:s("telecharger")}),(0,n.jsxs)("span",{className:"flex flex-col text-sm font-light",children:["(",i.format,","," ",r?s("serie-longue")+r:(0,d.filesize)(i.size,h.FILESIZE_OPTIONS),")"]})]}),(0,n.jsx)("div",{className:"absolute top-1/2 right-0 my-xs ml-xs inline-block transform-[translateY(-50%)]",children:(0,h.getFileFormatIcon)(i.format)})]})},b=({figureTitle:i,subElementTitle:r})=>(0,n.jsxs)("h3",{className:"mx-0 mt-0 mb-sm px-4 text-lg leading-md text-bleu-texte",children:[(0,n.jsx)(o.default,{content:i}),i.length>0&&r.length>0&&" - ",(0,n.jsx)(o.default,{content:r})]}),y=({anchorRef:i,id:r,title:s,table:o,graph:h,file:d,debutSerieLongue:u})=>{let f=(0,c.useTranslations)("figure"),[y,x]=(0,a.useState)(0);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mb-md",children:[(0,n.jsx)(m.default,{label:f("onglets"),tabs:[f("graph"),f("table")],uniqueId:r,currentIndex:y,displayTab:i=>x(i)}),d&&(0,n.jsx)(A,{fichier:d,debutSerieLongue:u})]}),(0,n.jsxs)("figure",{id:i,className:"bg-blanc",children:[(0,n.jsx)(b,{figureTitle:s,subElementTitle:0===y?h.title:o.title}),(0,n.jsx)(g.default,{index:0,uniqueId:r,visible:0===y,children:(0,n.jsx)(p.default,{...h})}),(0,n.jsx)(g.default,{index:1,uniqueId:r,visible:1===y,children:(0,n.jsx)(l.default,{...o})})]})]})},x=({anchorRef:i,title:r,table:s,graph:a,file:o,debutSerieLongue:h})=>{let c=s?.title||a?.title||[];return(0,n.jsxs)(n.Fragment,{children:[o&&(0,n.jsx)("div",{className:"mb-md",children:(0,n.jsx)(A,{fichier:o,debutSerieLongue:h})}),(0,n.jsxs)("figure",{id:i,className:"bg-blanc",children:[(0,n.jsx)(b,{figureTitle:r,subElementTitle:c}),s&&(0,n.jsx)(l.default,{...s}),a&&(0,n.jsx)(p.default,{...a})]})]})},E=({figure:i,hasBoutonRadio:r})=>i?(0,n.jsx)("div",{className:(0,f.default)("figure",r?"mt-md":"bloc mt-xl"),children:(0,u.hasRequired)(i,["graph","table"])?(0,n.jsx)(y,{...i}):(0,n.jsx)(x,{...i})}):(0,n.jsx)(n.Fragment,{});var T=f;let C=({children:i,anchorRef:n})=>{let a=i.some(i=>i.boutonRadio?.deuxColonnes),[o,l]=(0,s.useState)(i[0]),h=r=>{l(i?.find(i=>i.id===r))};return(0,r.jsxs)("div",{id:n,className:"bloc boutons-radio-figure mt-xl",children:[(0,r.jsx)("div",{className:(0,T.default)(a?"min-w-fit sm:columns-2":"")+" mb-md",children:i?.map((i,s)=>(0,r.jsxs)("label",{className:"block",children:[(0,r.jsx)("input",{type:"radio",className:"mr-2",name:i.id.split("_")[0]??n,value:i.id.split("_")[1],defaultChecked:0===s,onChange:()=>h(i.id)}),i.boutonRadio?.label??i.id]},i.id))}),o&&(0,r.jsx)(E,{figure:o,hasBoutonRadio:!0})]})}},16027,__turbopack_context__=>{"use strict";let t1;__turbopack_context__.s(["default",()=>__TURBOPACK__default__export__5],16027);var ElementType,_a,CharCodes,BinTrieFlags,EntityDecoderState,DecodingMode1,EntityLevel,EncodingMode,DocumentPosition,CharacterCode,_a1,BinTrieFlags1,CharCodes1,EntityDecoderState1,DecodingMode2,CharCodes2,State,QuoteType,_a2,SelectorType,AttributeAction,CODE_POINTS,ERR,TokenType,_a3,CharCodes3,BinTrieFlags2,EntityDecoderState2,DecodingMode3,NS,ATTRS,DOCUMENT_MODE,TAG_NAMES,TAG_ID,State1,EntryType,InsertionMode,__TURBOPACK__imported__module__34552__=__turbopack_context__.i(34552),__TURBOPACK__imported__module__61567__=__turbopack_context__.i(61567),__TURBOPACK__imported__module__96377__=__turbopack_context__.i(96377),__TURBOPACK__imported__module__26963__=__turbopack_context__.i(26963),__TURBOPACK__imported__module__17596__=__turbopack_context__.i(17596),__TURBOPACK__imported__module__99147__=__turbopack_context__.i(99147),__TURBOPACK__imported__module__26963__1=__TURBOPACK__imported__module__26963__,t={};t.n=i=>{var r=i&&i.__esModule?()=>i.default:()=>i;return t.d(r,{a:r}),r},t.d=(i,r)=>{for(var s in r)t.o(r,s)&&!t.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},t.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r);let s=__TURBOPACK__imported__module__26963__1.default;var i=t.n(s);let{win:a}=i();function r(i){let n={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},a=new XMLHttpRequest;function o(n,a){i.error&&i.error(n,a)}if(!i.url)return!1;a.open((i.type||"get").toUpperCase(),i.url,!0),i.headers?.["Content-Type"]||a.setRequestHeader("Content-Type",n[i.dataType||"json"]||n.text),(0,s.objectEach)(i.headers,function(i,n){a.setRequestHeader(n,i)}),i.responseType&&(a.responseType=i.responseType),a.onreadystatechange=function(){let n;if(4===a.readyState){if(200===a.status){if("blob"!==i.responseType&&(n=a.responseText,"json"===i.dataType))try{n=JSON.parse(n)}catch(i){if(i instanceof Error)return o(a,i)}return i.success?.(n,a)}o(a,a.responseText)}},i.data&&"string"!=typeof i.data&&(i.data=JSON.stringify(i.data)),a.send(i.data)}let n={ajax:r,getJSON:function(i,r){n.ajax({url:i,success:r,dataType:"json",headers:{"Content-Type":"text/plain"}})}};n.post=async function(i,r,n){let o=new a.FormData;(0,s.objectEach)(r,function(i,r){o.append(r,i)}),o.append("b64","true");let l=await a.fetch(i,{method:"POST",body:o,...n});if(l.ok){let i=await l.text(),n=document.createElement("a");n.href=`data:${r.type};base64,${i}`,n.download=r.filename,n.click(),(0,s.discardElement)(n)}};let o=__TURBOPACK__imported__module__26963__1.default.Axis;var l=t.n(o);let u=__TURBOPACK__imported__module__26963__1.default.Chart;var h=t.n(u);let{setLength:d,splice:c}={convertToNumber:function(i,r){switch(typeof i){case"boolean":return+!!i;case"number":return isNaN(i)&&!r?null:i;default:return isNaN(i=parseFloat(`${i??""}`))&&!r?null:i}},setLength:function(i,r,s){return Array.isArray(i)?(i.length=r,i):i[s?"subarray":"slice"](0,r)},splice:function(i,r,s,n,a=[]){if(Array.isArray(i))return Array.isArray(a)||(a=Array.from(a)),{removed:i.splice(r,s,...a),array:i};let o=Object.getPrototypeOf(i).constructor,l=i[n?"subarray":"slice"](r,r+s),h=new o(i.length-s+a.length);return h.set(i.subarray(0,r),0),h.set(a,r),h.set(i.subarray(r+s),r+a.length),{removed:l,array:h}}},m=class{constructor(i={}){this.isDataTable=!0,this.autoId=!i.id,this.columns={},this.id=i.id||(0,s.uniqueKey)(),this.rowCount=0,this.versionTag=(0,s.uniqueKey)();let r=0;(0,s.objectEach)(i.columns||{},(i,n)=>
20{this.columns[n]=i.slice(),r=Math.max(r,i.length)}),this.applyRowCount(r)}applyRowCount(i){this.rowCount=i,(0,s.objectEach)(this.columns,(r,n)=>{r.length!==i&&(this.columns[n]=d(r,i))})}deleteRows(i,r=1){if(r>0&&i<this.rowCount){let n=0;(0,s.objectEach)(this.columns,(a,o)=>{this.columns[o]=c(a,i,r).array,n=a.length}),this.rowCount=n}(0,s.fireEvent)(this,"afterDeleteRows",{rowIndex:i,rowCount:r}),this.versionTag=(0,s.uniqueKey)()}getColumn(i,r){return this.columns[i]}getColumns(i,r){return(i||Object.keys(this.columns)).reduce((i,r)=>(i[r]=this.columns[r],i),{})}getRowObject(i,r){let s={},n=this.columns;for(let a of(r??(r=Object.keys(this.columns)),r))s[a]=n[a]?.[i];return s}setColumn(i,r=[],s=0,n){this.setColumns({[i]:r},s,n)}setColumns(i,r,n){let a=this.rowCount;(0,s.objectEach)(i,(i,r)=>{this.columns[r]=i.slice(),a=i.length}),this.applyRowCount(a),n?.silent||((0,s.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,s.uniqueKey)())}setRow(i,r=this.rowCount,n,a){var o;let{columns:l}=this,h=n?this.rowCount+1:r+1,d=Object.keys(i);if(a?.addColumns!==!1)for(let i=0,r=d.length;i<r;i++)l[o=d[i]]||(l[o]=Array(this.rowCount));(0,s.objectEach)(l,(a,o)=>{a&&(n?a=c(a,r,0,!0,[i[o]]).array:a[r]=o in i?i[o]:a[r],l[o]=a)}),this.applyRowCount(Math.max(h,this.rowCount)),a?.silent||((0,s.fireEvent)(this,"afterSetRows",{rowIndex:r}),this.versionTag=(0,s.uniqueKey)())}getModified(){return this.modified||this}},p=__TURBOPACK__imported__module__26963__1.default.Point;var f=t.n(p);let g=__TURBOPACK__imported__module__26963__1.default.SeriesRegistry;var y=t.n(g);let x=__TURBOPACK__imported__module__26963__1.default.Time;var v=t.n(x);let{doc:C}=i(),{seriesTypes:R}=y();function N(i){return!!(i.rowsURL||i.csvURL||i.columnsURL)}class T{static data(i,n={},a){return new T(i,n,a)}static rowsToColumns(i){let n,a,o,l,h;if(i)for(n=0,h=[],a=i.length;n<a;n++)for(o=0,l=i[n].length;o<l;o++)h[o]||(h[o]=[]),h[o][n]=i[n][o];return h}constructor(i,n={},a){this.rowsToColumns=T.rowsToColumns,this.dateFormats={"YYYY/mm/dd":{regex:/^(\d{4})[\-\/\.](\d{1,2})[\-\/\.](\d{1,2})$/,parser:function(i){return i?Date.UTC(+i[1],i[2]-1,+i[3]):NaN}},"dd/mm/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(i){return i?Date.UTC(+i[3],i[2]-1,+i[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(i){return i?Date.UTC(+i[3],i[1]-1,+i[2]):NaN}},"dd/mm/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(i){if(!i)return NaN;let n=new Date,a=+i[3];return a>n.getFullYear()-2e3?a+=1900:a+=2e3,Date.UTC(a,i[2]-1,+i[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(i){return i?Date.UTC(+i[3]+2e3,i[1]-1,+i[2]):NaN}}},this.chart=a,this.chartOptions=n,this.options=i,this.rawColumns=[],this.init(i,n,a)}init(i,n,a){let o=i.decimalPoint,l;n&&(this.chartOptions=n),a&&(this.chart=a),"."!==o&&","!==o&&(o=void 0),this.options=i,this.columns=i.columns||this.rowsToColumns(i.rows)||[],this.firstRowAsNames=i.firstRowAsNames??this.firstRowAsNames??!0,this.decimalRegex=o&&RegExp("^(-?[0-9]+)"+o+"([0-9]+)$"),void 0!==this.liveDataTimeout&&(0,s.internalClearTimeout)(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),l=!N(i)),l||(l=this.fetchLiveData()),l||(l=!!this.parseCSV().length),l||(l=!!this.parseTable().length),l||(l=this.parseGoogleSpreadsheet()),!l&&i.afterComplete&&i.afterComplete(this)}getColumnDistribution(){let i=this.chartOptions,n=this.options,a=[],o=function(i="line"){return(R[i].prototype.pointArrayMap||[0]).length},l=function(i="line"){return R[i].prototype.pointArrayMap},h=i?.chart?.type,c=[],d=[],u=n?.seriesMapping||i?.series?.map(function(){return{x:0}})||[],p=0;(i?.series||[]).forEach(i=>{c.push(o(i.type||h))}),u.forEach(i=>{a.push(i.x||0)}),0===a.length&&a.push(0),u.forEach(n=>{let a=new w,u=c[p]||o(h),g=(i?.series??[])[p]??{},f=l(g.type||h),A=f??["y"];((0,s.defined)(n.x)||g.isCartesian||!f)&&a.addColumnReader(n.x,"x"),(0,s.objectEach)(n,function(i,n){"x"!==n&&a.addColumnReader(i,n)});for(let i=0;i<u;i++)a.hasReader(A[i])||a.addColumnReader(void 0,A[i]);d.push(a),p++});let g=l(h);void 0===g&&(g=["y"]),this.valueCount={global:o(h),xColumns:a,individual:c,seriesBuilders:d,globalPointArrayMap:g}}dataFound(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()}parseCSV(i){let n=this,a=this.columns=[],o=i||this.options,l=o.startColumn||0,h=o.endColumn||Number.MAX_VALUE,c=[],d={",":0,";":0," ":0},u=o.csv,p=o.startRow||0,g=o.endRow||Number.MAX_VALUE,f,A,b=0;if(u&&o.beforeParse&&(u=o.beforeParse.call(this,u,this)),u){if(A=u.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(o.lineDelimiter||"\n"),(!
20p||p<0)&&(p=0),(!g||g>=A.length)&&(g=A.length-1),o.itemDelimiter)f=o.itemDelimiter;else{let i,a,l;i=0,a=0,l=!1,A.some(function(n,o){let l=!1,h,c,u,p="";if(o>13)return!0;for(let o=0;o<n.length;o++){if(h=n[o],c=n[o+1],u=n[o-1],"#"===h)return;if('"'===h)if(l){if('"'!==u&&'"'!==c){for(;" "===c&&o<n.length;)c=n[++o];void 0!==d[c]&&d[c]++,l=!1}}else l=!0;else void 0!==d[h]?(isNaN(Date.parse(p=p.trim()))?(isNaN(p)||!isFinite(p))&&d[h]++:d[h]++,p=""):p+=h;","===h&&a++,"."===h&&i++}}),d[";"]>d[","]?l=";":(d[","],d[";"],l=","),o.decimalPoint||(i>a?o.decimalPoint=".":o.decimalPoint=",",n.decimalRegex=RegExp("^(-?[0-9]+)"+o.decimalPoint+"([0-9]+)$")),f=l}let i=0;for(b=p;b<=g;b++)"#"===A[b][0]?i++:function(i,n){let d=0,u="",p="",g="",A="",b=0,y=0;function x(n){u=i[n],p=i[n-1],g=i[n+1]}function E(i){c.length<y+1&&c.push([i]),c[y][c[y].length-1]!==i&&c[y].push(i)}function S(){if(l>b||b>h){++b,A="";return}o.columnTypes||(!isNaN(parseFloat(A))&&isFinite(A)?(A=parseFloat(A),E("number")):isNaN(Date.parse(A))?E("string"):(A=A.replace(/\//g,"-"),E("date"))),a.length<y+1&&a.push([]),a[y][n]=A,A="",++y,++b}if(i.trim().length&&"#"!==i.trim()[0]){for(;d<i.length;d++)if(x(d),'"'===u)for(x(++d);d<i.length&&('"'!==u||'"'===p||'"'===g);)('"'!==u||'"'===u&&'"'!==p)&&(A+=u),x(++d);else u===f?S():A+=u;S()}}(A[b],b-p-i);(!o.columnTypes||0===o.columnTypes.length)&&c.length&&c[0].length&&"date"===c[0][1]&&!o.dateFormat&&(o.dateFormat=function(i,a){let o="YYYY/mm/dd",l=[],h=[],c,d=[],u,p=0,g=!1,f;for((!a||a>i.length)&&(a=i.length);p<a;p++)if(void 0!==i[p]&&i[p]?.length)for(f=0,c=i[p].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),d=["","",""];f<c.length;f++)f<d.length&&(c[f]=parseInt(c[f],10),c[f]&&(h[f]=!h[f]||h[f]<c[f]?c[f]:h[f],void 0!==l[f]?l[f]!==c[f]&&(l[f]=!1):l[f]=c[f],c[f]>31?c[f]<100?d[f]="YY":d[f]="YYYY":c[f]>12&&c[f]<=31?(d[f]="dd",g=!0):d[f].length||(d[f]="mm")));if(g){for(f=0;f<l.length;f++)!1!==l[f]?h[f]>12&&"YY"!==d[f]&&"YYYY"!==d[f]&&(d[f]="YY"):h[f]>12&&"mm"===d[f]&&(d[f]="dd");return(3===d.length&&"dd"===d[1]&&"dd"===d[2]&&(d[2]="YY"),u=d.join("/"),n.dateFormats[u])?u:((0,s.fireEvent)(n,"deduceDateFailed"),o)}return o}(a[0])),this.dataFound()}return a}parseTable(){let i=this.options,n=this.columns||[],a=i.startRow||0,o=i.endRow||Number.MAX_VALUE,l=i.startColumn||0,h=i.endColumn||Number.MAX_VALUE;if(i.table){let c=i.table;"string"==typeof c&&(c=C.getElementById(c)),[].forEach.call(c.getElementsByTagName("tr"),(i,c)=>{c>=a&&c<=o&&[].forEach.call(i.children,(i,o)=>{let d=n[o-l],u=1;if(("TD"===i.tagName||"TH"===i.tagName)&&o>=l&&o<=h)for(n[o-l]||(n[o-l]=[]),n[o-l][c-a]=i.innerHTML;c-a>=u&&void 0===d[c-a-u];)d[c-a-u]=null,u++})}),this.dataFound()}return n}fetchLiveData(){let i=this,n=this.chart,a=this.options,o=a.enablePolling,l=(0,s.merge)(a),h=0,c=1e3*(a.dataRefreshRate||2);return!!N(a)&&(c=Math.max(c,1e3),delete a.csvURL,delete a.rowsURL,delete a.columnsURL,!function a(d){function u(l,u,p){if(!l||!/^(http|\/|\.\/|\.\.\/)/.test(l))return l&&(0,s.error)(`Invalid URL: ${l}`,!1,n),!1;function g(){o&&n.liveDataURL===l&&(i.liveDataTimeout=setTimeout(a,c))}return d&&((0,s.internalClearTimeout)(i.liveDataTimeout),n.liveDataURL=l),r({url:l,dataType:p||"json",success:function(i){n?.series&&u(i),g()},error:function(i,a){if(++h<3&&g(),n.options)return(0,s.error)(`Request failed - ${i.status} 21`+("string"==typeof a?a:a.message),!1,n)}}),!0}u(l.csvURL,function(i){n.update({data:{csv:i}})},"text")||u(l.rowsURL,function(i){n.update({data:{rows:i}})})||u(l.columnsURL,function(i){n.update({data:{columns:i}})})}(!0),N(a))}parseGoogleSpreadsheet(){let i=this,n=this.options,a=n.googleSpreadsheetKey,o=this.chart,l=Math.max(1e3*(n.dataRefreshRate||2),4e3);return a&&(delete n.googleSpreadsheetKey,!function h(c){r({url:["https://sheets.googleapis.com/v4/spreadsheets",a,"values",(()=>{if(n.googleSpreadsheetRange)return n.googleSpreadsheetRange;
21let i="ABCDEFGHIJKLMNOPQRSTUVWXYZ",a=(i.charAt(n.startColumn||0)||"A")+((n.startRow||0)+1),o=i.charAt(n.endColumn??-1)||"ZZ";return(0,s.defined)(n.endRow)&&(o+=n.endRow+1),`${a}:${o}`})(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+n.googleAPIKey].join("/"),dataType:"json",success:function(a){c(a),n.enablePolling&&(i.liveDataTimeout=setTimeout(function(){h(c)},l))},error:function(i,n){if(o.options)return(0,s.error)(`Request failed - ${i.status} 22`+("string"==typeof n?n:n.message),!1,o)}})}(function(n){let a=n.values;if(!a||0===a.length)return!1;let l=a.reduce((i,n)=>Math.max(i,n.length),0);a.forEach(i=>{for(let n=0;n<l;n++)void 0===i[n]&&(i[n]=null)}),o?.series?o.update({data:{columns:a}}):(i.columns=a,i.dataFound())})),!1}trim(i,n){return"string"==typeof i&&(i=i.replace(/^\s+|\s+$/g,""),n&&/[\d\s]+/.test(i)&&(i=i.replace(/\s/g,"")),this.decimalRegex&&(i=i.replace(this.decimalRegex,"$1.$2"))),i}parseTypes(){let i=this.columns||[],n=i.length;for(;n--;)this.parseColumn(i[n],n)}parseColumn(i,n){let a=this.rawColumns,o=this.columns=this.columns||[],l=this.firstRowAsNames,h=this.valueCount?.xColumns.indexOf(n)!==-1,c=[],d=this.chartOptions,u=(this.options.columnTypes||[])[n],p=h&&d?.xAxis&&"category"===(0,s.splat)(d.xAxis)[0].type||"string"===u,g=(0,s.defined)(i.name),f=i.length,A,b,y,x,E,S,I;for(a[n]||(a[n]=[]);f--;)A=c[f]||i[f],y=this.trim(A),b=parseFloat(x=this.trim(A,!0)),void 0===a[n][f]&&(a[n][f]=y),p||0===f&&l&&!g?i[f]=""+y:+x===b?(i[f]=b,b>31536e6&&"float"!==u?i.isDatetime=!0:i.isNumeric=!0,void 0!==i[f+1]&&(I=b>i[f+1])):(y?.length&&(E=this.parseDate(A)),h&&(0,s.isNumber)(E)&&"float"!==u?(c[f]=A,i[f]=E,i.isDatetime=!0,void 0!==i[f+1]&&((S=E>i[f+1])!==I&&void 0!==I&&this.alternativeFormat&&(this.dateFormat=this.alternativeFormat,f=i.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative),I=S)):(i[f]=""===y?null:y,0!==f&&(i.isDatetime||i.isNumeric)&&(i.mixed=!0)));h&&i.mixed&&(o[n]=a[n])}parseDate(i){let n=this.options.parseDate,a,o,l,h=this.options.dateFormat||this.dateFormat,c;if(n)a=n(i);else if(!1===n)a=i;else if("string"==typeof i){if(h)(l=this.dateFormats[h])||(l=this.dateFormats["YYYY/mm/dd"]),(c=i.match(l.regex))&&(a=l.parser(c));else for(o in this.dateFormats)if(l=this.dateFormats[o],c=i.match(l.regex)){this.dateFormat=h=o,this.alternativeFormat=l.alternative,a=l.parser(c);break}c||(a=new(v())().parse(i))}return a}getData(){if(this.columns)return this.rowsToColumns(this.columns)?.slice(1)}getDataTable(){return new m({columns:Object.values(this.columns||[]).reduce((i,n)=>{let a=n.slice(),o=a.shift();return("string"==typeof o||"number"==typeof o)&&(i[o]=a),i},{})})}parsed(){if(this.options.parsed)return this.options.parsed.call(this,this.columns,this)}complete(){let i=this.columns=this.columns||[],n=this.options,a=[],o="linear",l,h,c,d,u,p,g,f,A,b;if([].length=i.length,n.complete||n.afterComplete){var y,x;let E,S;if(this.firstRowAsNames)for(c=0;c<i.length;c++){let n=i[c];(0,s.defined)(n.name)||(n.name=(n.shift()??"").toString())}for(l=[],y=i?.length||0,x=this.valueCount.seriesBuilders,E=Array(y).fill(!0),S=[],x.forEach(i=>{i.getReferencedColumnIndexes().forEach(i=>{E[i]=!1})}),E.forEach((i,n)=>{i&&S.push(n)}),p=0;p<this.valueCount.seriesBuilders.length;p++)(f=this.valueCount.seriesBuilders[p]).populateColumns(S)&&a.push(f);for(;S.length>0;){for((f=new w).addColumnReader(0,"x"),-1!==(b=S.indexOf(0))&&S.splice(b,1),c=0;c<this.valueCount.global;c++)f.addColumnReader(void 0,this.valueCount.globalPointArrayMap[c]);f.populateColumns(S)&&a.push(f)}if(a.length>0&&a[0].readers.length>0&&void 0!==(A=i?.[a[0].readers[0].columnIndex??-1])&&(A.isDatetime?o="datetime":A.isNumeric||(o="category")),"category"===o)for(p=0;p<a.length;p++)for(u=0,f=a[p];u<f.readers.length;u++)"x"===f.readers[u].configName&&(f.readers[u].configName="name");for(p=0;p<a.length;p++){for(d=0,f=a[p],h=[];d<i[0].length;d++)h[d]=f.read(i,d);l[p]={data:h,pointStart:h[0]&&(f.pointIsArray?h[0]?.[0]:h[0]?.x)||void 0},f.name&&(l[p].name=f.name),"category"===o&&(l[p].turboThreshold=0,l[p].pointStart=0)}g={series:l},"linear"!==o||this.xAxisOptions&&this.xAxisOptions.type!==o?(this.xAxisOptions={type:o},"category"===o&&(this.xAxisOptions.uniqueNames=!1)):o=this.xAxisOptions=void 0,this.chart||(0,s.merge)(!0,g,{xAxis:this.xAxisOptions||{}}),n.complete?.(g),n.afterComplete?.(this,g)}}xAxisUpdateHandler(i){let n=this.xAxisOptions;n&&(!i.options.type&&n.type&&(i.type=n.type),i.options.uniqueNames||!1!==n.uniqueNames||(i.uniqueNames=n.uniqueNames))}update(i,n){let a=this.chart,o=a.options;i&&(i.afterComplete=function(i,o){if(!o)return;let l=a.xAxis[0],h=i.xAxisOptions;h&&l&&(l.type!==h.type&&!l.options.type||l.uniqueNames&&!1===h.uniqueNames&&void 0===l.options.uniqueNames)?l.update({}
22,!1):(o?.series||[]).forEach(function(i){delete i.pointStart}),a.update(o,n,!0)},(0,s.merge)(!0,o.data,i),o.data?.googleSpreadsheetKey&&!i.columns&&delete o.data.columns,this.init(o.data||{},o))}}(0,s.addEvent)(l(),"afterSetOptions",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)}),(0,s.addEvent)(h(),"init",function(i){let r=this,n=i.args[1],a=(0,s.getOptions)().data,o=i.args[0]||{};if((a||o&&o.data)&&!r.hasDataDef){r.hasDataDef=!0;let l=(0,s.merge)(a,o.data);r.data=new T((0,s.extend)(l,{afterComplete:function(i,a){let l,h;if(Object.hasOwnProperty.call(o,"series"))if("object"==typeof o.series)for(l=Math.max(o.series.length,a?.series?.length??0);l--;)h=o.series[l]||{},o.series[l]=(0,s.merge)(h,a?.series?.[l]??{});else delete o.series;o=(0,s.merge)(a,o),r.data=i,r.init(o,n)}}),o,r),i.preventDefault()}});class w{constructor(){this.readers=[],this.pointIsArray=!0}populateColumns(i){let r=!0;return this.readers.forEach(r=>{void 0===r.columnIndex&&(r.columnIndex=i.shift())}),this.readers.forEach(i=>{void 0===i.columnIndex&&(r=!1)}),r}read(i,r){let s=this.pointIsArray,n=s?[]:{};if(this.readers.forEach(a=>{let o=i[a.columnIndex][r];s?n.push(o):a.configName.indexOf(".")>0?f().prototype.setNestedProperty(n,o,a.configName):n[a.configName]=o}),void 0===this.name&&this.readers.length>=2){let r=[];this.readers.forEach(function(i){("x"===i.configName||"name"===i.configName||"y"===i.configName)&&void 0!==i.columnIndex&&r.push(i.columnIndex)}),r.length>=2&&(r.shift(),r.sort(function(i,r){return i-r})),this.name=i[r.shift()??0].name}return n}addColumnReader(i,r){this.readers.push({columnIndex:i,configName:r}),"x"!==r&&"y"!==r&&void 0!==r&&(this.pointIsArray=!1)}getReferencedColumnIndexes(){let i,r,s=[];for(i=0;i<this.readers.length;i+=1)void 0!==(r=this.readers[i]).columnIndex&&s.push(r.columnIndex);return s}hasReader(i){let r;for(r=0;r<this.readers.length;r+=1)if(this.readers[r].configName===i)return!0}}let A=i();A.Data=A.Data||T,A.HttpUtilities=A.HttpUtilities||n,A.ajax=A.HttpUtilities.ajax,A.data=A.Data.data,A.getJSON=A.HttpUtilities.getJSON,A.post=A.HttpUtilities.post;let b=i();var e,i1,s1,__TURBOPACK__imported__module__26963__2=__TURBOPACK__imported__module__26963__,__TURBOPACK__imported__module__26963__3=__TURBOPACK__imported__module__26963__,o1={};o1.n=i=>{var r=i&&i.__esModule?()=>i.default:()=>i;return o1.d(r,{a:r}),r},o1.d=(i,r)=>{for(var s in r)o1.o(r,s)&&!o1.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},o1.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r);let l1=__TURBOPACK__imported__module__26963__3.default;var r1=o1.n(l1);let a1=__TURBOPACK__imported__module__26963__3.default.Axis;var h1=o1.n(a1);let n1=__TURBOPACK__imported__module__26963__3.default.Color;var d1=o1.n(n1);let{parse:c1}=d1();(e=i1||(i1={})).initDataClasses=function(i){let r=this.chart,s=this.legendItem=this.legendItem||{},n=this.options,a=i.dataClasses||[],o,l,h=r.options.chart.colorCount,c=0,d;this.dataClasses=l=[],s.labels=[];for(let i=0,s=a.length;i<s;++i)o=a[i],o=(0,l1.merge)(o),l.push(o),(r.styledMode||!o.color)&&("category"===n.dataClassColor?(r.styledMode||(h=(d=r.options.colors||[]).length,o.color=d[c]),o.colorIndex=c,++c===h&&(c=0)):o.color=c1(n.minColor).tweenTo(c1(n.maxColor),s<2?.5:i/(s-1)))},e.initStops=function(){let i=this.options,r=this.stops=i.stops||[[0,i.minColor||""],[1,i.maxColor||""]];for(let i=0,s=r.length;i<s;++i)r[i].color=c1(r[i][1])},e.normalizedValue=function(i){let r=this.max||0,s=this.min||0;return this.logarithmic&&(i=this.logarithmic.log2lin(i)),1-(r-i)/(r-s||1)},e.toColor=function(i,r){let s,n,a,o,l,h,c=this.dataClasses,d=this.stops;if(c){for(h=c.length;h--;)if(n=(l=c[h]).from,a=l.to,(void 0===n||i>=n)&&(void 0===a||i<=a)){o=l.color,r&&(r.dataClass=h,r.colorIndex=l.colorIndex);break}}else{for(s=this.normalizedValue(i),h=d.length;h--&&!(s>d[h][0]););n=d[h]||d[h+1],s=1-((a=d[h+1]||n)[0]-s)/(a[0]-n[0]||1),o=n.color.tweenTo(a.color,s)}return o};let p1=i1,{parse:g1}=d1();!function(i){let r;function s(){let{userOptions:i}=this;this.colorAxis=[],i.colorAxis&&(i.colorAxis=(0,l1.splat)(i.colorAxis),i.colorAxis.map(i=>new r(this,i)))}function n(i){let r=this.chart.colorAxis||[],s=r=>{let s=i.allItems.indexOf(r);-1!==s&&(this.destroyItem(i.allItems[s]),i.allItems.splice(s,1))},n=[],a,o;for(r.forEach(function(i){a=i.options,a?.showInLegend&&(a.dataClasses&&a.visible?n=n.concat(i.getDataClassLegendSymbols()):a.visible&&n.push(i),i.series.forEac
22h(function(i){(!i.options.showInLegend||a.dataClasses)&&("point"===i.options.legendType?i.points.forEach(function(i){s(i)}):s(i))}))}),o=n.length;o--;)i.allItems.unshift(n[o])}function a(i){i.visible&&i.item.legendColor&&i.item.legendItem.symbol.attr({fill:i.item.legendColor})}function o(i){this.chart.colorAxis?.forEach(r=>{r.update({},i.redraw)})}function l(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function h(){let i=this.axisTypes;i?-1===i.indexOf("colorAxis")&&i.push("colorAxis"):this.axisTypes=["colorAxis"]}function c(i){let r=this,s=i?"show":"hide";r.visible=r.options.visible=!!i,["graphic","dataLabel"].forEach(function(i){r[i]&&r[i][s]()}),this.series.buildKDTree()}function d(){let i=this,r=this.getPointsCollection(),s=this.options.nullColor,n=this.colorAxis,a=this.colorKey;r.forEach(r=>{let o=r.getNestedProperty(a),l=r.options.color||(r.isNull||null===r.value?s:n&&void 0!==o?n.toColor(o,r):r.color||i.color);l&&r.color!==l&&(r.color=l,"point"===i.options.legendType&&r.legendItem&&r.legendItem.label&&i.chart.legend.colorizeItem(r,r.visible))})}function u(){this.elem.attr("fill",g1(this.start).tweenTo(g1(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",g1(this.start).tweenTo(g1(this.end),this.pos),void 0,!0)}i.compose=function(i,m,g,f,A){var b;let y,x=m.prototype,E=g.prototype,T=A.prototype;x.collectionsWithUpdate.includes("colorAxis")||(r=i,x.collectionsWithUpdate.push("colorAxis"),x.collectionsWithInit.colorAxis=[x.addColorAxis],(0,l1.addEvent)(m,"afterCreateAxes",s),y=(b=m).prototype.createAxis,b.prototype.createAxis=function(i,s){if("colorAxis"!==i)return y.apply(this,arguments);let n=new r(this,(0,l1.merge)(s.axis,{index:this[i].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(i=>{i.series=[]}),this.series.forEach(i=>{i.bindAxes(),i.isDirtyData=!0}),(0,l1.pick)(s.redraw,!0)&&this.redraw(s.animation),n},E.fillSetter=u,E.strokeSetter=p,(0,l1.addEvent)(f,"afterGetAllItems",n),(0,l1.addEvent)(f,"afterColorizeItem",a),(0,l1.addEvent)(f,"afterUpdate",o),(0,l1.extend)(T,{optionalAxis:"colorAxis",translateColors:d}),(0,l1.extend)(T.pointClass.prototype,{setVisible:c}),(0,l1.addEvent)(A,"afterTranslate",l,{order:1}),(0,l1.addEvent)(A,"bindAxes",h))},i.pointSetVisible=c}(s1||(s1={}));let f1=s1,u1=__TURBOPACK__imported__module__26963__3.default.SeriesRegistry;var m1=o1.n(u1);let{defaultOptions:x1}=r1(),{series:y1}=m1();x1.colorAxis=(0,l1.merge)(x1.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"var(--highcharts-background-color)",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},clip:!1,lineColor:"var(--highcharts-neutral-color-40)",lineWidth:0,color:"var(--highcharts-neutral-color-40)",width:.01},labels:{distance:8,overflow:"justify",rotation:0},minColor:"var(--highcharts-highlight-color-10)",maxColor:"var(--highcharts-highlight-color-100)",tickLength:5,title:{margin:5},showInLegend:!0});class b1 extends h1(){static compose(i,r,s,n){f1.compose(b1,i,r,s,n)}constructor(i,r){super(i,r),this.clippable=!1,this.coll="colorAxis",this.visible=!0,this.init(i,r)}init(i,r){let s=i.options.legend||{},n=r.layout?"vertical"!==r.layout:"vertical"!==s.layout;this.side=r.side||n?2:1,this.reversed=r.reversed,this.opposite=!n,super.init(i,r,"colorAxis"),this.userOptions=r,(0,l1.isArray)(i.userOptions.colorAxis)&&(i.userOptions.colorAxis[this.index]=r),r.dataClasses&&this.initDataClasses(r),this.initStops(),this.horiz=n,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(i){let r=this.chart.options.legend||{},s=x1.colorAxis,n=i.layout||r.layout||s.layout,a=(0,l1.merge)("vertical"!==n?{title:{rotation:0}}:{title:{rotation:90,margin:10}},s,i,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==i.visible});super.setOptions(a),this.options.crosshair=this.options.marker}setAxisSize(){let i=this.chart,r=this.legendItem?.symbol,{width:s,height:n}=this.getSize();r&&(this.left=+r.attr("x"),this.top=+r.attr("y"),this.width=s=+r.attr("width"),this.height=n=+r.attr("height"),this.right=i.chartWidth-this.left-s,this.bottom=i.chartHe
22ight-this.top-n,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?s:n)||b1.defaultLegendLength}getOffset(){let i=this.chart,r=this.legendItem?.group,s=i.axisOffset[this.side],{clipOffset:n,legend:a}=i;r&&(this.axisParent=r,super.getOffset(),a.allItems.forEach(function(i){i instanceof b1&&i.drawLegendSymbol(a,i)}),a.render(),i.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,i.axisOffset[this.side]=s,i.clipOffset=n)}setLegendColor(){let i=this.horiz,r=this.reversed,s=+!!r,n=+!r,a=i?[s,0,n,0]:[0,n,0,s];this.legendColor={linearGradient:{x1:a[0],y1:a[1],x2:a[2],y2:a[3]},stops:this.stops}}drawLegendSymbol(i,r){let s=r.legendItem||{},n=i.padding,a=i.options,o=this.options.labels,l=(0,l1.pick)(a.itemDistance,10),h=this.horiz,{width:c,height:d}=this.getSize(),u=(0,l1.pick)(a.labelPadding,h?16:30);this.setLegendColor();let p=0,m=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=s.group,this.createGroups());let i=this.len,r=this.top,n=this.left,a=this.width;this.len=h?c:d,this.top=0,this.left=0,this.width=c,this.addTitle(!0),this.len=i,this.top=r,this.left=n,this.width=a}if(this.axisTitle){let i=this.axisTitle.getBBox();p=i.height,m=i.width}let g=this.options.title||{},f=this.axisTitle?g.margin??0:0,A=h?p+f:0;s.symbol||(s.symbol=this.chart.renderer.symbol("roundedRect").attr({r:a.symbolRadius??3,zIndex:1}).add(s.group)),s.symbol.attr({x:0,y:(i.baseline||0)-11+A,width:c,height:d}),h?(s.labelWidth=Math.max(c+n+l,m||0),s.labelHeight=d+n+u+p+f):(s.labelWidth=c+n+(o.x??o.distance??0)+(this.maxLabelLength||0)+(m||0)+f,s.labelHeight=Math.max(d+n,p||0))}getTitlePosition(i){let r=super.getTitlePosition(i),s=this.options.title?.margin??0;if(this.horiz&&i)r.y=this.top-s;else if(!this.horiz&&i){let i=this.options.labels||{},n=i.x??i.distance??0;r.x=this.left+this.width+n+(this.maxLabelLength||0)+s}return r}setState(i){this.series.forEach(function(r){r.setState(i)})}setVisible(){}getSeriesExtremes(){let i=this.series,r,s,n,a,o=i.length;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){for(let l of(s=(a=i[o]).colorKey=(0,l1.pick)(a.options.colorKey,a.colorKey,a.pointValKey,a.zoneAxis,"y"),n=a[s+"Min"]&&a[s+"Max"],[s,"value","y"]))if((r=a.getColumn(l)).length)break;if(n)a.minColorValue=a[s+"Min"],a.maxColorValue=a[s+"Max"];else{let i=y1.prototype.getExtremes.call(a,r);a.minColorValue=i.dataMin,a.maxColorValue=i.dataMax}(0,l1.defined)(a.minColorValue)&&(0,l1.defined)(a.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,a.minColorValue),this.dataMax=Math.max(this.dataMax,a.maxColorValue)),n||y1.prototype.applyExtremes.call(a)}}drawCrosshair(i,r){let s,n=this.legendItem||{},a=r?.plotX,o=r?.plotY,l=this.pos,h=this.len,c=this.options.marker||{};r&&((s=this.toPixels(r.getNestedProperty(r.series.colorKey)))<l?s=l-2:s>l+h&&(s=l+h+2),r.plotX=s,r.plotY=this.len-s,super.drawCrosshair(i,r),r.plotX=a,r.plotY=o,this.cross&&!this.cross.addedToColorAxis&&n.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(n.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:c.color,stroke:c.lineColor,"stroke-width":c.lineWidth})))}getPlotLinePath(i){let r=this.left,s=i.translatedValue,{symbol:n}=this.options.marker||{},a=this.top;if((0,l1.isNumber)(s)){let i=this.width,o=s-i/2;return n?this.chart.renderer.symbols[n](r,o,i,i):this.horiz?[["M",s-4,a-6],["L",s+4,a-6],["L",s,a],["Z"]]:[["M",r,s],["L",r-6,s+6],["L",r-6,s-6],["Z"]]}return super.getPlotLinePath(i)}update(i,r){let s=this.chart.legend;this.series.forEach(i=>{i.isDirtyData=!0}),(i.dataClasses&&s.allItems||this.dataClasses)&&this.destroyItems(),super.update(i,r),this.legendItem?.label&&(this.setLegendColor(),s.colorizeItem(this,!0))}destroyItems(){let i=this.chart,r=this.legendItem||{};if(r.label)i.legend.destroyItem(this);else if(r.labels)for(let s of r.labels)i.legend.destroyItem(s);i.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(i){this.destroyItems(),super.remove(i)}getDataClassLegendSymbols(){let i,r=this,s=r.chart,n=r.legendItem&&r.legendItem.labels||[],a=s.options.legend,o=(0,l1.pick)(a.valueDecimals,-1),l=(0,l1.pick)(a.valueSuffix,""),h=i=>r.series.reduce((r,s)=>(r.push(...s.points.filter(r=>r.dataClass===i)),r),[]);
22return n.length||r.dataClasses.forEach((a,c)=>{let d=a.from,u=a.to,{numberFormatter:p}=s,m=!0;i="",void 0===d?i="< ":void 0===u&&(i="> "),void 0!==d&&(i+=p(d,o)+l),void 0!==d&&void 0!==u&&(i+=" - "),void 0!==u&&(i+=p(u,o)+l),n.push((0,l1.extend)({chart:s,name:i,options:{},drawLegendSymbol:y1.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:i=>{for(let r of h(c))r.setState(i)},setVisible:function(){this.visible=m=r.visible=!m;let i=[];for(let r of h(c))r.setVisible(m),r.hiddenInDataClass=!m,-1===i.indexOf(r.series)&&i.push(r.series);s.legend.colorizeItem(this,m),i.forEach(i=>{(0,l1.fireEvent)(i,"afterDataClassLegendClick")})}},a))}),n}getSize(){let{chart:i,horiz:r}=this,{height:s,width:n}=this.options,{legend:a}=i.options;return{width:(0,l1.pick)((0,l1.defined)(n)?(0,l1.relativeLength)(n,i.chartWidth):void 0,a?.symbolWidth,r?b1.defaultLegendLength:12),height:(0,l1.pick)((0,l1.defined)(s)?(0,l1.relativeLength)(s,i.chartHeight):void 0,a?.symbolHeight,r?12:b1.defaultLegendLength)}}}b1.defaultLegendLength=200,b1.keepProps=["legendItem"],(0,l1.extend)(b1.prototype,p1),Array.prototype.push.apply(h1().keepProps,b1.keepProps);let C1=r1();C1.ColorAxis=C1.ColorAxis||b1,C1.ColorAxis.compose(C1.Chart,C1.Fx,C1.Legend,C1.Series);let v1=r1();var i2,o2,s2,r2,a2,n2,l2,h2,p2={};p2.n=i=>{var r=i&&i.__esModule?()=>i.default:()=>i;return p2.d(r,{a:r}),r},p2.d=(i,r)=>{for(var s in r)p2.o(r,s)&&!p2.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:r[s]})},p2.o=(i,r)=>Object.prototype.hasOwnProperty.call(i,r);let d2=__TURBOPACK__imported__module__26963__2.default;var c2=p2.n(d2);let u2={lang:{zoomIn:"Zoom in",zoomOut:"Zoom out"},mapNavigation:{buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{color:"var(--highcharts-neutral-color-60)",fontSize:"1em",fontWeight:"bold"},theme:{fill:"var(--highcharts-background-color)",stroke:"var(--highcharts-neutral-color-10)","stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1}};!function(i){let r,s=0;function n(i){let r=this.chart;i=this.normalize(i),r.options.mapNavigation.enableDoubleClickZoomTo?r.pointer.inClass(i.target,"highcharts-tracker")&&r.hoverPoint&&r.hoverPoint.zoomTo():r.isInsidePlot(i.chartX-r.plotLeft,i.chartY-r.plotTop)&&r.mapZoom(.5,void 0,void 0,i.chartX,i.chartY)}function a(i){let n=this.chart;i=this.normalize(i);let a=(0,d2.defined)(i.wheelDelta)&&-i.wheelDelta/120||i.deltaY||i.detail;Math.abs(a)>=1&&(s+=Math.abs(a),r&&(0,d2.internalClearTimeout)(r),r=setTimeout(()=>{s=0},50)),s<10&&n.isInsidePlot(i.chartX-n.plotLeft,i.chartY-n.plotTop)&&n.mapView&&n.mapView.zoomBy(-((n.options.mapNavigation.mouseWheelSensitivity-1)*a),void 0,[i.chartX,i.chartY],!(1>Math.abs(a))&&void 0)}function o(i,r,s){let n=this.chart;if(r=i.call(this,r,s),n&&n.mapView){let i=n.mapView.pixelsToLonLat({x:r.chartX-n.plotLeft,y:r.chartY-n.plotTop});i&&(0,d2.extend)(r,i)}return r}function l(i){let r=this.chart.options.mapNavigation;r&&(0,d2.pick)(r.enableTouchZoom,r.enabled)&&(this.chart.zooming.pinchType="xy"),i.apply(this,[].slice.call(arguments,1))}i.compose=function(i){let r=i.prototype;r.onContainerDblClick||((0,d2.extend)(r,{onContainerDblClick:n,onContainerMouseWheel:a}),(0,d2.wrap)(r,"normalize",o),(0,d2.wrap)(r,"zoomOption",l))}}(r2||(r2={}));let m2=r2;function g2(i,r,s,n,a){if(a){let i=a?.r||0;a.brBoxY=r-i,a.brBoxHeight=n+i}return t1.roundedRect(i,r,s,n,a)}function b2(i,r,s,n,a){if(a){let i=a?.r||0;a.brBoxHeight=n+i}return t1.roundedRect(i,r,s,n,a)}let f2=function(i){(t1=i.prototype.symbols).bottombutton=g2,t1.topbutton=b2},{setOptions:y2}=c2(),{composed:x2}=c2();function M(i){i&&(i.preventDefault?.(),i.stopPropagation?.(),i.cancelBubble=!0)}class v2{static compose(i,r,s){m2.compose(r),f2(s),(0,d2.pushUnique)(x2,"Map.Navigation")&&((0,d2.addEvent)(i,"beforeRender",function(){this.mapNavigation=new v2(this),this.mapNavigation.update()}),y2(u2))}constructor(i){this.chart=i,this.navButtons=[]}update(i){let r=this,s=r.chart,n=r.navButtons,a=function(i){this.handler.call(s,i),M(i)},o=s.options.mapNavigation;for(i&&(o=s.options.mapNavigation=(0,d2.merge)(s.options.mapNavigation,i));n.length;)n.pop()?.destroy();!s.renderer.forExport&&(0,d2.pick)(o.enableButtons,o.enabled)&&(r.navButtonsGroup||(r.navButtonsGroup=s.renderer.g().attr({zIndex:7}).add()),(0,d2.objectEach)(o.buttons,(i,l)=>{let h={padding:(i=(0,d2.merge)(o.buttonOptions,i)).padding};!s.styledMode&&i.theme&&((0,d2.extend)(h,i.theme),h.style=(0,d2.merge)(i.theme.style,i.style));let{text:c,width:d=0,height:u=0,padding:p=0}=i,m=s.renderer.button("+"!==c&&"-"!==c&&c||"",0,0,a,h,void 0,void 0,void 0,"zoomIn"===l?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+({zoomIn:"zoom-in",zoomOut:"zoom
22-out"})[l]).attr({width:d,height:u,title:s.options.lang[l],zIndex:5}).add(r.navButtonsGroup);if("+"===c||"-"===c){let r=d+1,n=[["M",p+3,p+u/2],["L",p+r-3,p+u/2]];"+"===c&&n.push(["M",p+r/2,p+3],["L",p+r/2,p+u-3]),s.renderer.path(n).addClass("highcharts-button-symbol").attr(s.styledMode?{}:{stroke:i.style?.color,"stroke-width":3,"stroke-linecap":"round"}).add(m)}if(m.handler=i.onclick,(0,d2.addEvent)(m.element,"dblclick",M),n.push(m),(0,d2.extend)(i,{width:m.width,height:2*(m.height||0)}),s.hasLoaded)m.align(i,!1,i.alignTo);else{let r=(0,d2.addEvent)(s,"load",()=>{m.element&&m.align(i,!1,i.alignTo),r()})}}),s.hasLoaded||(0,d2.addEvent)(s,"render",function(){let i=s.exporting?.group?.getBBox();if(i){let s=r.navButtonsGroup.getBBox();if(!(s.x>=i.x+i.width||s.x+s.width<=i.x||s.y>=i.y+i.height||s.y+s.height<=i.y)){let n=-s.y-s.height+i.y-5,a=i.y+i.height-s.y+5,l=o.buttonOptions&&o.buttonOptions.verticalAlign;r.navButtonsGroup.attr({translateY:"bottom"===l?n:a})}}})),this.updateEvents(o)}updateEvents(i){let r=this.chart;(0,d2.pick)(i.enableDoubleClickZoom,i.enabled)||i.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||(0,d2.addEvent)(r.container,"dblclick",function(i){r.pointer.onContainerDblClick(i)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),(0,d2.pick)(i.enableMouseWheelZoom,i.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||(0,d2.addEvent)(r.container,"wheel",function(i){if(!r.pointer.inClass(i.target,"highcharts-no-mousewheel")){let s=r.mapView?.zoom;r.pointer.onContainerMouseWheel(i),s!==r.mapView?.zoom&&M(i)}return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())}}let w1=__TURBOPACK__imported__module__26963__2.default.SeriesRegistry;var T1=p2.n(w1);let P=__TURBOPACK__imported__module__26963__2.default.SVGElement;var C2=p2.n(P);let{column:{prototype:k}}=T1().seriesTypes;var j=a2||(a2={});function L(i){let r=this.series,s=r.chart.renderer;this.moveToTopOnHover&&this.graphic&&(r.stateMarkerGraphic||(r.stateMarkerGraphic=new(C2())(s,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),i?.state==="hover"?(this.graphic.attr({id:this.id}),r.stateMarkerGraphic.attr({href:`${s.url}#${this.id}`,visibility:"visible"})):r.stateMarkerGraphic.attr({href:""}))}j.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},j.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(i){let r={};return(0,d2.defined)(i.color)&&(!i.state||"normal"===i.state)&&(r[this.colorProp||"fill"]=i.color),r},pointAttribs:k.pointAttribs},j.compose=function(i){let r=i.prototype.pointClass;return(0,d2.addEvent)(r,"afterSetState",L),i};let A1=a2,{deg2rad:z}=c2();(i2=n2||(n2={})).getCenter=function(){let i=this.options,r=this.chart,s=2*(i.slicedOffset||0),n=r.plotWidth-2*s,a=r.plotHeight-2*s,o=i.center,l=Math.min(n,a),h=i.thickness,c,d=i.size,u=i.innerSize||0,p,m;"string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u));let g=[(0,d2.pick)(o?.[0],"50%"),(0,d2.pick)(o?.[1],"50%"),(0,d2.pick)(d&&d<0?void 0:i.size,"100%"),(0,d2.pick)(u&&u<0?void 0:i.innerSize||0,"0%")];for(p=0;p<4;++p)m=g[p],c=p<2||2===p&&/%$/.test(m),g[p]=(0,d2.relativeLength)(m,[n,a,l,g[2]][p])+(c?s:0);return g[3]>g[2]&&(g[3]=g[2]),(0,d2.isNumber)(h)&&2*h<g[2]&&h>0&&(g[3]=g[2]-2*h),(0,d2.fireEvent)(this,"afterGetCenter",{positions:g}),g},i2.getStartAndEndRadians=function(i,r){let s=(0,d2.isNumber)(i)?i:0,n=(0,d2.isNumber)(r)&&r>s&&r-s<360?r:s+360;return{start:z*(s+-90),end:z*(n+-90)}};let E=n2,{setLength:N1,splice:B}={convertToNumber:function(i,r){switch(typeof i){case"boolean":return+!!i;case"number":return isNaN(i)&&!r?null:i;default:return isNaN(i=parseFloat(`${i??""}`))&&!r?null:i}},setLength:function(i,r,s){return Array.isArray(i)?(i.length=r,i):i[s?"subarray":"slice"](0,r)},splice:function(i,r,s,n,a=[]){if(Array.isArray(i))return Array.isArray(a)||(a=Array.from(a)),{removed:i.splice(r,s,...a),array:i};let o=Object.getPrototypeOf(i).constructor,l=i[n?"subarray":"slice"](r,r+s),h=new o(i.length-s+a.length);return h.set(i.subarray(0,r),0),h.set(a,r),h.set(i.subarray(r+s),r+a.length),{removed:l,array:h}}},S=class{constructor(i={}){this.isDataTable=!0,this.autoId=!i.id,this.columns={},this.id=i.id||(0,d2.uniqueKey)(),this.rowCount=0,this.versionTag=(0,d2.uniqueKey)();let r=0;(0,d2.objectEach)(i.columns||{},(i,s)=>
22{this.columns[s]=i.slice(),r=Math.max(r,i.length)}),this.applyRowCount(r)}applyRowCount(i){this.rowCount=i,(0,d2.objectEach)(this.columns,(r,s)=>{r.length!==i&&(this.columns[s]=N1(r,i))})}deleteRows(i,r=1){if(r>0&&i<this.rowCount){let s=0;(0,d2.objectEach)(this.columns,(n,a)=>{this.columns[a]=B(n,i,r).array,s=n.length}),this.rowCount=s}(0,d2.fireEvent)(this,"afterDeleteRows",{rowIndex:i,rowCount:r}),this.versionTag=(0,d2.uniqueKey)()}getColumn(i,r){return this.columns[i]}getColumns(i,r){return(i||Object.keys(this.columns)).reduce((i,r)=>(i[r]=this.columns[r],i),{})}getRowObject(i,r){let s={},n=this.columns;for(let a of(r??(r=Object.keys(this.columns)),r))s[a]=n[a]?.[i];return s}setColumn(i,r=[],s=0,n){this.setColumns({[i]:r},s,n)}setColumns(i,r,s){let n=this.rowCount;(0,d2.objectEach)(i,(i,r)=>{this.columns[r]=i.slice(),n=i.length}),this.applyRowCount(n),s?.silent||((0,d2.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,d2.uniqueKey)())}setRow(i,r=this.rowCount,s,n){var a;let{columns:o}=this,l=s?this.rowCount+1:r+1,h=Object.keys(i);if(n?.addColumns!==!1)for(let i=0,r=h.length;i<r;i++)o[a=h[i]]||(o[a]=Array(this.rowCount));(0,d2.objectEach)(o,(n,a)=>{n&&(s?n=B(n,r,0,!0,[i[a]]).array:n[r]=a in i?i[a]:n[r],o[a]=n)}),this.applyRowCount(Math.max(l,this.rowCount)),n?.silent||((0,d2.fireEvent)(this,"afterSetRows",{rowIndex:r}),this.versionTag=(0,d2.uniqueKey)())}getModified(){return this.modified||this}},O=__TURBOPACK__imported__module__26963__2.default.Chart;var D=p2.n(O);let I=__TURBOPACK__imported__module__26963__2.default.SVGRenderer;var V=p2.n(I);let{getOptions:R1}=c2();class X extends D(){init(i,r){let s=R1().credits,n=(0,d2.merge)({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:(0,d2.pick)(s.mapText,' © <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:(0,d2.pick)(s.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},i);super.init(n,r)}mapZoom(i,r,s,n,a){this.mapView&&((0,d2.isNumber)(i)&&(i=Math.log(i)/Math.log(.5)),this.mapView.zoomBy(i,(0,d2.isNumber)(r)&&(0,d2.isNumber)(s)?this.mapView.projection.inverse([r,s]):void 0,(0,d2.isNumber)(n)&&(0,d2.isNumber)(a)?[n,a]:void 0))}update(i){i.chart&&"map"in i.chart&&this.mapView?.recommendMapView(this,[i.chart.map,...(this.options.series||[]).map(i=>i.mapData)],!0),super.update.apply(this,arguments)}}(o2=X||(X={})).maps={},o2.mapChart=function(i,r,s){let n=new o2(i,r,s);return n.promise||n},o2.splitPath=function(i){let r;return r="string"==typeof i?(i=i.replace(/([A-Z])/gi," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(i=>/[A-Z]/i.test(i)?i:parseFloat(i)):i,V().prototype.pathToSegments(r)};let G=X,F={boundsFromPath:function(i){let r=-Number.MAX_VALUE,s=Number.MAX_VALUE,n=-Number.MAX_VALUE,a=Number.MAX_VALUE,o;if(i.forEach(i=>{let l=i[i.length-2],h=i[i.length-1];"number"==typeof l&&"number"==typeof h&&(s=Math.min(s,l),r=Math.max(r,l),a=Math.min(a,h),n=Math.max(n,h),o=!0)}),o)return{x1:s,y1:a,x2:r,y2:n}}},{boundsFromPath:Y}=F,U=T1().seriesTypes.scatter.prototype.pointClass;class Z extends U{static getProjectedPath(i,r){return i.projectedPath||(r&&i.geometry?(r.hasCoordinates=!0,i.projectedPath=r.path(i.geometry)):i.projectedPath=i.path),i.projectedPath||[]}applyOptions(i,r,s){let n=this.series,a=super.applyOptions(i,r,s),o=n.joinBy;if(n.mapData&&n.mapMap){let i=o[1],r=super.getNestedProperty(i),s=void 0!==r&&n.mapMap[r];s?(0,d2.extend)(a,{...s,name:a.name??s.name}):-1!==n.pointArrayMap.indexOf("value")&&(a.value=a.value||null)}return a}getProjectedBounds(i){let r=Y(Z.getProjectedPath(this,i)),s=this.properties,n=this.series.chart.mapView;if(r){let a=s?.["hc-middle-lon"],o=s?.["hc-middle-lat"];if(n&&(0,d2.isNumber)(a)&&(0,d2.isNumber)(o)){let s=i.forward([a,o]);r.midX=s[0],r.midY=s[1]}else{let i=s?.["hc-middle-x"],n=s?.["hc-middle-y"];r.midX=r.x1+(r.x2-r.x1)*(0,d2.pick)(this.middleX,(0,d2.isNumber)(i)?i:.5);let a=(0,d2.pick)(this.middleY,(0,d2.isNumber)(n)?n:.5);this.geometry||(a=1-a),r.midY=r.y2-(r.y2-r.y1)*a}return r}}onMouseOver(i){(0,d2.internalClearTimeout)(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?super.onMouseOver.call(this,i):this.series.onMouseOut()}setVisible(i){this.visible=this.options.visible=!!i,this.dataLabel&&this.dataLabel[i?"show":"hide"](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))}zoomTo(i){let r=this.series.chart,s=r.mapView,n=this.bounds;if(s&&n){let a=(0,d2.isNumber)(this.insetIndex)&&s.insets[this.insetIndex];if(a){let i=a.projectedUnitsToPixels({x:n.x1,y:n.y1}),r=a.projectedUnitsToPixels({x:n.x2,y:n.y2}),o=s.pixelsToProjectedUnits({x:i.x,y:i.y}),l=s.pixelsToProjectedUnits({x:r.x,y:r.y});n={x1:o.x,y1:o.y,x2:l.x,y2:l.y}}s.fitToBounds(n,void 0,!1),this.series.isDirty=!0,r.redraw(i)}}}
vendor: 25,928 bytes, line 22
22(0,d2.extend)(Z.prototype,{dataLabelOnNull:A1.pointMembers.dataLabelOnNull,moveToTopOnHover:A1.pointMembers.moveToTopOnHover,isValid:A1.pointMembers.isValid});let W={center:[0,0],fitToGeometry:void 0,maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0,insetOptions:{borderColor:"var(--highcharts-neutral-color-20)",borderWidth:1,padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}},H=__TURBOPACK__imported__module__26963__2.default.Templating;var _=p2.n(H);let{win:q}=c2(),{format:K}=_();!function(i){function r(i){return this.mapView?.lonLatToProjectedUnits(i)}function s(i){return this.mapView?.projectedUnitsToLonLat(i)}function n(i,r){let s=this.options.chart.proj4||q.proj4;if(!s)return void(0,d2.error)(21,!1,this);let{jsonmarginX:n=0,jsonmarginY:a=0,jsonres:o=1,scale:l=1,xoffset:h=0,xpan:c=0,yoffset:d=0,ypan:u=0}=r,p=s(r.crs,[i.lon,i.lat]),m=r.cosAngle||r.rotation&&Math.cos(r.rotation),g=r.sinAngle||r.rotation&&Math.sin(r.rotation),f=r.rotation?[p[0]*m+p[1]*g,-p[0]*g+p[1]*m]:p;return{x:((f[0]-h)*l+c)*o+n,y:-(((d-f[1])*l+u)*o-a)}}function a(i,r){let s=this.options.chart.proj4||q.proj4;if(!s)return void(0,d2.error)(21,!1,this);if(null===i.y)return;let{jsonmarginX:n=0,jsonmarginY:a=0,jsonres:o=1,scale:l=1,xoffset:h=0,xpan:c=0,yoffset:d=0,ypan:u=0}=r,p={x:((i.x-n)/o-c)/l+h,y:((i.y-a)/o+u)/l+d},m=r.cosAngle||r.rotation&&Math.cos(r.rotation),g=r.sinAngle||r.rotation&&Math.sin(r.rotation),f=s(r.crs,"WGS84",r.rotation?{x:p.x*m+-(p.y*g),y:p.x*g+p.y*m}:p);return{lat:f.y,lon:f.x}}function o(i,r){r||(r=Object.keys(i.objects)[0]);let s=i.objects[r];if(s["hc-decoded-geojson"]&&s["hc-decoded-geojson"].title===i.title)return s["hc-decoded-geojson"];let n=i.arcs;if(i.transform){let r,s,a,o=i.arcs,{scale:l,translate:h}=i.transform;n=[];for(let i=0,c=o.length;i<c;++i){let c=o[i];n.push(r=[]),s=0,a=0;for(let i=0,n=c.length;i<n;++i)r.push([(s+=c[i][0])*l[0]+h[0],(a+=c[i][1])*l[1]+h[1]])}}let a=i=>"number"==typeof i[0]?i.reduce((i,r,s)=>{let a=r<0?n[~r]:n[r];return r<0?(a=a.slice(0,0===s?a.length:a.length-1)).reverse():s&&(a=a.slice(1)),i.concat(a)},[]):i.map(a),o=s.geometries,l=[];for(let i=0,r=o.length;i<r;++i)l.push({type:"Feature",properties:o[i].properties,geometry:{type:o[i].type,coordinates:o[i].coordinates||a(o[i].arcs)}});let h={type:"FeatureCollection",copyright:i.copyright,copyrightShort:i.copyrightShort,copyrightUrl:i.copyrightUrl,features:l,"hc-recommended-mapview":s["hc-recommended-mapview"],bbox:i.bbox,title:i.title};return s["hc-decoded-geojson"]=h,h}function l(i,r){r=(0,d2.merge)(!0,this.options.credits,r),i.call(this,r),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}i.compose=function(i){let o=i.prototype;o.transformFromLatLon||(o.fromLatLonToPoint=r,o.fromPointToLatLon=s,o.transformFromLatLon=n,o.transformToLatLon=a,(0,d2.wrap)(o,"addCredits",l))},i.geojson=function(i,r="map",s){let n=[],a="Topology"===i.type?o(i):i,l=a.features;for(let i=0,s=l.length;i<s;++i){let s,a=l[i],o=a.geometry||{},h=o.type,c=o.coordinates,d=a.properties;if(("map"===r||"mapbubble"===r)&&("Polygon"===h||"MultiPolygon"===h)||"mapline"===r&&("LineString"===h||"MultiLineString"===h)?c.length&&(s={geometry:{coordinates:c,type:h}}):"mappoint"===r&&"Point"===h&&c.length&&(s={geometry:{coordinates:c,type:h}}),s){let i=d&&(d.name||d.NAME),r=d&&d.lon,a=d&&d.lat;n.push((0,d2.extend)(s,{lat:"number"==typeof a?a:void 0,lon:"number"==typeof r?r:void 0,name:"string"==typeof i?i:void 0,properties:d}))}}return s&&a.copyrightShort&&(s.chart.mapCredits=K(s.chart.options.credits?.mapText,{geojson:a}),s.chart.mapCreditsFull=K(s.chart.options.credits?.mapTextFull,{geojson:a})),n},i.topo2geo=o}(l2||(l2={}));let $=l2;(s2=h2||(h2={})).getCenterOfPoints=function(i){let r=i.reduce((i,r)=>(i.x+=r.x,i.y+=r.y,i),{x:0,y:0});return{x:r.x/i.length,y:r.y/i.length}},s2.getDistanceBetweenPoints=function(i,r){return Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2))},s2.getAngleBetweenPoints=function(i,r){return Math.atan2(r.x-i.x,r.y-i.y)},s2.pointInPolygon=function({x:i,y:r},s){let n=s.length,a,o,l=!1;for(a=0,o=n-1;a<n;o=a++){let[n,h]=s[a],[c,d]=s[o];h>r!=d>r&&i<(c-n)*(r-h)/(d-h)+n&&(l=!l)}return l};let J=h2;function Q(i,r,s=!0){let n=r[r.length-1],a,o,l,h=i;for(let i=0;i<r.length;i++){let c=h;a=r[i],h=[],o=s?c[c.length-1]:c[0];for(let i=0;i<c.length;i++)tt(n,a,l=c[i])?(tt(n,a,o)||h.push(te(n,a,o,l)),h.push(l)):tt(n,a,o)&&h.push(te(n,a,o,l)),o=l;n=a}return h}function tt(i,r,s){return(r[0]-i[0])*(s[1]-i[1])>(r[1]-i[1])*(s[0]-i[0])}function te(i,r,s,n){let a=[i[0]-r[0],i[1]-r[1]],o=[s[0]-n[0],s[1]-n[1]],l=i[0]*r[1]-i[1]*r[0],h=s[0]*n[1]-s[1]*n[0],c=1/(a[0]*o[1]-a[1]*o[0]),d=[(l*o[0]-h*a[0])*c,(l*o[1]-h*a[1])*c];return d.isIntersection=!0,d}let ti=Math.sign||(i=>0===i?0:i>0?1:-1),to=Math.PI/180,ts=Math.PI/2,tr=i=>Math.tan((ts+i)/2),ta=class{constructor(i){let r=(i.parallels||[]).map(i=>i*to),s=r[0]||0,n=r[1]??s,a=Math.cos(s);"object"==typeof i.projectedBounds&&(this.projectedBounds=i.projectedBounds);let o=s===n?Math.sin(s):Math.log(a/Math.cos(n))/Math.log(tr(n)/tr(s));1e-10>Math.abs(o)&&(o=1e-10*(ti(o)||1)),this.n=o,this.c=a*Math.pow(tr(s),o)/o}forward(i){let{c:r,n:s,projectedBounds:n}=this,a=i[0]*to,o=i[1]*to;r>0?o<-ts+1e-6&&(o=-ts+1e-6):o>ts-1e-6&&(o=ts-1e-6);let l=r/Math.pow(tr(o),s),h=l*Math.sin(s*a)*63.78137,c=(r-l*Math.cos(s*a))*63.78137,d=[h,c];return n&&(h<n.x1||h>n.x2||c<n.y1||c>n.y2)&&(d.outside=!0),d}inverse(i){let{c:r,n:s}=this,n=i[0]/63.78137,a=r-i[1]/63.78137,o=ti(s)*Math.sqrt(n*n+a*a),l=Math.atan2(n,Math.abs(a))*ti(a);return a*s<0&&(l-=Math.PI*ti(n)*ti(a)),[l/s/to,(2*Math.atan(Math.pow(r/o,1/s))-ts)/to]}},tn=Math.sqrt(3)/2,tl=class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}forward(i){let r=Math.PI/180,s=Math.asin(tn*Math.sin(i[1]*r)),n=s*s,a=n*n*n;return[i[0]*r*Math.cos(s)*74.03120656864502/(tn*(1.340264+-.24331799999999998*n+a*(.0062510000000000005+.034164*n))),74.03120656864502*s*(1.340264+-.081106*n+a*(893e-6+.003796*n))]}inverse(i){let r=i[0]/74.03120656864502,s=i[1]/74.03120656864502,n=180/Math.PI,a=s,o,l,h,c;for(let i=0;i<12&&(l=(o=a*a)*o*o,h=a*(1.340264+-.081106*o+l*(893e-6+.003796*o))-s,a-=c=h/(1.340264+-.24331799999999998*o+l*(.0062510000000000005+.034164*o)),!(1e-9>Math.abs(c)));++i);l=(o=a*a)*o*o;let d=n*tn*r*(1.340264+-.24331799999999998*o+l*(.0062510000000000005+.034164*o))/Math.cos(a),u=n*Math.asin(Math.sin(a)/tn);return Math.abs(d)>180?[NaN,NaN]:[d,u]}},th=Math.PI/4,tp=Math.PI/180,td=class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}forward(i){return[i[0]*tp*63.78137,79.7267125*Math.log(Math.tan(th+.4*i[1]*tp))]}inverse(i){return[i[0]/63.78137/tp,2.5*(Math.atan(Math.exp(.8*(i[1]/63.78137)))-th)/tp]}},tc=Math.PI/180,tu=class{constructor(){this.antimeridianCutting=!1,this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}forward(i){let r=i[0],s=i[1]*tc,n=[Math.cos(s)*Math.sin(r*tc)*63.78460826781007,63.78460826781007*Math.sin(s)];return(r<-90||r>90)&&(n.outside=!0),n}inverse(i){let r=i[0]/63.78460826781007,s=i[1]/63.78460826781007,n=Math.sqrt(r*r+s*s),a=Math.asin(n),o=Math.sin(a);return[Math.atan2(r*o,n*Math.cos(a))/tc,Math.asin(n&&s*o/n)/tc]}},tm=Math.PI/180,tg=class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-200.3750834278071,y2:200.3750834278071},this.maxLatitude=85.0511287798}forward(i){let r=Math.sin(i[1]*tm),s=[63.78137*i[0]*tm,63.78137*Math.log((1+r)/(1-r))/2];return Math.abs(i[1])>this.maxLatitude&&(s.outside=!0),s}inverse(i){return[i[0]/(63.78137*tm),(2*Math.atan(Math.exp(i[1]/63.78137))-Math.PI/2)/tm]}},{clipLineString:tb,clipPolygon:tf}={clipLineString:function(i,r){let s=[],n=Q(i,r,!1);for(let i=1;i<n.length;i++)n[i].isIntersection&&n[i-1].isIntersection&&(s.push(n.splice(0,i)),i=0),i===n.length-1&&s.push(n);return s},clipPolygon:Q},ty=2*Math.PI/360,tx=i=>(i<-180&&(i+=360),i>180&&(i-=360),i),tM=i=>(1-Math.cos(i))/2;class tv{static add(i,r){tv.registry[i]=r}static distance(i,r){let s,n,a,o,l,{atan2:h,sqrt:c}=Math,d=(s=Math.cos,n=i[1]*ty,a=i[0]*ty,o=r[1]*ty,l=r[0]*ty,tM(o-n)+s(n)*s(o)*tM(l-a));return 6371e3*(2*h(c(d),c(1-d)))}static geodesic(i,r,s,n=5e5){let{atan2:a,cos:o,sin:l,sqrt:h}=Math,c=tv.distance,d=i[1]*ty,u=i[0]*ty,p=r[1]*ty,m=r[0]*ty,g=o(d)*o(u),f=o(p)*o(m),A=o(d)*l(u),b=o(p)*l(m),y=l(d),x=l(p),E=c(i,r),T=E/6371e3,C=l(T),v=Math.round(E/n),S=[];if(s&&S.push(i),v>1){let i=1/v;for(let r=i;r<.999;r+=i){let i=l((1-r)*T)/C,s=l(r*T)/C,n=i*g+s*f,o=i*A+s*b,c=a(i*y+s*x,h(n*n+o*o)),d=a(o,n);S.push([d/ty,c/ty])}}return s&&S.push(r),S}static insertGeodesics(i){let r=i.length-1;for(;r--;)if(Math.max(Math.abs(i[r][0]-i[r+1][0]),Math.abs(i[r][1]-i[r+1][1]))>10){let s=tv.geodesic(i[r],i[r+1]);s.length&&i.splice(r+1,0,...s)}}static toString(i){let{name:r,rotation:s}=i||{};return[r,s&&s.join(",")].join(";")}constructor(i={}){this.hasCoordinates=!1,this.hasGeoProjection=!1,this.maxLatitude=90,this.options=i;let{name:r,projectedBounds:s,rotation:n}=i;this.rotator=n?this.getRotator(n):void 0;let a=r?tv.registry[r]:void 0;a&&(this.def=new a(i));let{def:o,rotator:l}=this;o&&(this.maxLatitude=o.maxLatitude||90,this.hasGeoProjection=!0),l&&o?(this.forward=i=>o.forward(l.forward(i)),this.inverse=i=>l.inverse(o.inverse(i))):o?(this.forward=i=>o.forward(i),this.inverse=i=>o.inverse(i)):l&&(this.forward=l.forward,this.inverse=l.inverse),this.bounds="world"===s?o&&o.bounds:s}lineIntersectsBounds(i){let{x1:r,x2:s,y1:n,y2:a}=this.bounds||{},o=(i,r,s)=>{let[n,a]=i,o=+!r;if("number"==typeof s&&n[r]>=s!=a[r]>=s){let i=(s-n[r])/(a[r]-n[r]),l=n[o]+i*(a[o]-n[o]);return r?[l,s]:[s,l]}},l,h=i[0];return(l=o(i,0,r))?(h=l,i[1]=l):(l=o(i,0,s))&&(h=l,i[1]=l),(l=o(i,1,n))?h=l:(l=o(i,1,a))&&(h=l),h}getRotator(i){let r=i[0]*ty,s=(i[1]||0)*ty,n=(i[2]||0)*ty,a=Math.cos(s),o=Math.sin(s),l=Math.cos(n),h=Math.sin(n);if(0!==r||0!==s||0!==n)return{forward:i=>{let s=i[0]*ty+r,n=i[1]*ty,c=Math.cos(n),d=Math.cos(s)*c,u=Math.sin(s)*c,p=Math.sin(n),m=p*a+d*o;return[Math.atan2(u*l-m*h,d*a-p*o)/ty,Math.asin(m*l+u*h)/ty]},inverse:i=>{let s=i[0]*ty,n=i[1]*ty,c=Math.cos(n),d=Math.cos(s)*c,u=Math.sin(s)*c,p=Math.sin(n),m=p*l-u*h;return[(Math.atan2(u*l+p*h,d*a+m*o)-r)/ty,Math.asin(m*a-d*o)/ty]}}}forward(i){return i}inverse(i){return i}cutOnAntimeridian(i,r){let s,n=[],a=[i];for(let s=0,a=i.length;s<a;++s){let a=i[s],o=i[s-1];if(!s){if(!r)continue;o=i[i.length-1]}let l=o[0],h=a[0];if((l<-90||l>90)&&(h<-90||h>90)&&l>0!=h>0){let i=(0,d2.clamp)((180-(l+360)%360)/((h+360)%360-(l+360)%360),0,1),r=o[1]+i*(a[1]-o[1]);n.push({i:s,lat:r,direction:l<0?1:-1,previousLonLat:o,lonLat:a})}}if(n.length)if(r){n.length%2==1&&(s=n.slice().sort((i,r)=>Math.abs(r.lat)-Math.abs(i.lat))[0],(0,d2.erase)(n,s));let r=n.length-2;for(;r>=0;){let s=n[r].i,o=tx(180+1e-6*n[r].direction),l=tx(180-1e-6*n[r].direction),h=i.splice(s,n[r+1].i-s,...tv.geodesic([o,n[r].lat],[o,n[r+1].lat],!0));h.push(...tv.geodesic([l,n[r+1].lat],[l,n[r].lat],!0)),a.push(h),r-=2}if(s)for(let i=0;i<a.length;i++){let{direction:r,lat:n}=s,o=a[i],l=o.indexOf(s.lonLat);if(l>-1){let i=(n<0?-1:1)*this.maxLatitude,a=tx(180+1e-6*r),h=tx(180-1e-6*r),c=tv.geodesic([a,n],[a,i],!0);for(let s=a+120*r;s>-180&&s<180;s+=120*r)c.push([s,i]);c.push(...tv.geodesic([h,i],[h,s.lat],!0)),o.splice(l,0,...c);break}}}else{let r=n.length;for(;r--;){let s=n[r].i,o=i.splice(s,i.length,[tx(180+1e-6*n[r].direction),n[r].lat]);o.unshift([tx(180-1e-6*n[r].direction),n[r].lat]),a.push(o)}}return a}path(i){let r,{bounds:s,def:n,rotator:a}=this,o=[],l="Polygon"===i.type||"MultiPolygon"===i.type,h=this.hasGeoProjection,c=!n||!1!==n.antimeridianCutting,d=c?a:void 0,u=c&&n||this;s&&(r=[[s.x1,s.y1],[s.x2,s.y1],[s.x2,s.y2],[s.x1,s.y2]]);let p=i=>{let n=i.map(i=>{if(c){d&&(i=d.forward(i));let r=i[0];1e-6>Math.abs(r-180)&&(r=r<180?179.999999:180.000001),i=[r,i[1]]}return i}),a=[n];h&&(tv.insertGeodesics(n),c&&(a=this.cutOnAntimeridian(n,l))),a.forEach(i=>{let n,a;if(i.length<2)return;let d=!1,p=!1,m=i=>{d?o.push(["L",i[0],i[1]]):(o.push(["M",i[0],i[1]]),d=!0)},g=!1,f=!1,A=i.map(i=>{let r=u.forward(i);return r.outside?g=!0:f=!0,r[1]===1/0?r[1]=1e10:r[1]===-1/0&&(r[1]=-1e10),r});if(c){if(l&&A.push(A[0]),g){if(!f)return;if(r){if(l)A=tf(A,r);else if(s)return void tb(A,r).forEach(i=>{d=!1,i.forEach(m)})}}A.forEach(m)}else for(let r=0;r<A.length;r++){let s=i[r],o=A[r];o.outside?p=!0:(l&&!n&&(n=s,i.push(s),A.push(o)),p&&a&&(l&&h?tv.geodesic(a,s).forEach(i=>m(u.forward(i))):d=!1),m(o),a=s,p=!1)}})};return"LineString"===i.type?p(i.coordinates):"MultiLineString"===i.type?i.coordinates.forEach(i=>p(i)):"Polygon"===i.type?(i.coordinates.forEach(i=>p(i)),o.length&&o.push(["Z"])):"MultiPolygon"===i.type&&(i.coordinates.forEach(i=>{i.forEach(i=>p(i))}),o.length&&o.push(["Z"])),o}}tv.registry={EqualEarth:tl,LambertConformalConic:ta,Miller:td,Orthographic:tu,WebMercator:tg};let{composed:tw}=c2(),{pointInPolygon:tT}=J,{topo2geo:tP}=$,{boundsFromPath:tC}=F,tk={};function tj(i,r){let{width:s,height:n}=r;return Math.log(400.979322/Math.max((i.x2-i.x1)/(s/256),(i.y2-i.y1)/(n/256)))/Math.log(2)}function tL(i){i.seriesOptions.mapData&&this.mapView?.recommendMapView(this,[this.options.chart.map,i.seriesOptions.mapData],this.options.drilldown?.mapZooming)}class tA{static compose(i){(0,d2.pushUnique)(tw,"MapView")&&(tk=i.maps,(0,d2.addEvent)(i,"afterInit",function(){this.mapView=new tA(this,this.options.mapView)},{order:0}),(0,d2.addEvent)(i,"addSeriesAsDrilldown",tL),(0,d2.addEvent)(i,"afterDrillUp",tL))}static compositeBounds(i){if(i.length)return i.slice(1).reduce((i,r)=>(i.x1=Math.min(i.x1,r.x1),i.y1=Math.min(i.y1,r.y1),i.x2=Math.max(i.x2,r.x2),i.y2=Math.max(i.y2,r.y2),i),(0,d2.merge)(i[0]))}static mergeInsets(i,r){let s=i=>{let r={};return i.forEach((i,s)=>{r[i&&i.id||`i${s}`]=i}),r},n=(0,d2.merge)(s(i),s(r));return Object.keys(n).map(i=>n[i])}constructor(i,r){this.allowTransformAnimation=!0,this.eventsToUnbind=[],this.insets=[],this.padding=[0,0,0,0],this.recommendedMapView={},this instanceof tz||this.recommendMapView(i,[i.options.chart.map,...(i.options.series||[]).map(i=>i.mapData)]),this.userOptions=r||{};let s=(0,d2.merge)(W,this.recommendedMapView,r),n=this.recommendedMapView?.insets,a=r&&r.insets;n&&a&&(s.insets=tA.mergeInsets(n,a)),this.chart=i,this.center=s.center,this.options=s,this.projection=new tv(s.projection),this.playingField=i.plotBox,this.zoom=s.zoom||0,this.minZoom=s.minZoom,this.createInsets(),this.eventsToUnbind.push((0,d2.addEvent)(i,"afterSetChartSize",()=>{this.playingField=this.getField(),(void 0===this.minZoom||this.minZoom===this.zoom)&&(this.fitToBounds(void 0,void 0,!1),!this.chart.hasRendered&&(0,d2.isNumber)(this.userOptions.zoom)&&(this.zoom=this.userOptions.zoom),this.userOptions.center&&(0,d2.merge)(!0,this.center,this.userOptions.center))})),this.setUpEvents()}createInsets(){let i=this.options,r=i.insets;r&&r.forEach(r=>{let s=new tz(this,(0,d2.merge)(i.insetOptions,r));this.insets.push(s)})}fitToBounds(i,r,s=!0,n){let a=i||this.getProjectedBounds();if(a){let o=(0,d2.pick)(r,i?0:this.options.padding),l=this.getField(!1),h=(0,d2.isArray)(o)?o:[o,o,o,o];this.padding=[(0,d2.relativeLength)(h[0],l.height),(0,d2.relativeLength)(h[1],l.width),(0,d2.relativeLength)(h[2],l.height),(0,d2.relativeLength)(h[3],l.width)],this.playingField=this.getField();let c=tj(a,this.playingField);i||(this.minZoom=c);let d=this.projection.inverse([(a.x2+a.x1)/2,(a.y2+a.y1)/2]);this.setView(d,c,s,n)}}getField(i=!0){let r=i?this.padding:[0,0,0,0];return{x:r[3],y:r[0],width:this.chart.plotWidth-r[1]-r[3],height:this.chart.plotHeight-r[0]-r[2]}}getGeoMap(i){if((0,d2.isString)(i))return tk[i]&&"Topology"===tk[i].type?tP(tk[i]):tk[i];if((0,d2.isObject)(i,!0)){if("FeatureCollection"===i.type)return i;if("Topology"===i.type)return tP(i)}}getMapBBox(){let i=this.getProjectedBounds(),r=this.getScale();if(i){let s=this.padding,n=this.projectedUnitsToPixels({x:i.x1,y:i.y2});return{width:(i.x2-i.x1)*r+s[1]+s[3],height:(i.y2-i.y1)*r+s[0]+s[2],x:n.x-s[3],y:n.y-s[0]}}}getProjectedBounds(){let i=this.projection,r=this.chart.series.reduce((i,r)=>{let s=r.getProjectedBounds&&r.getProjectedBounds();return s&&!1!==r.options.affectsMapView&&i.push(s),i},[]),s=this.options.fitToGeometry;if(s){if(!this.fitToGeometryCache)if("MultiPoint"===s.type){let r=s.coordinates.map(r=>i.forward(r)),n=r.map(i=>i[0]),a=r.map(i=>i[1]);this.fitToGeometryCache={x1:Math.min.apply(0,n),x2:Math.max.apply(0,n),y1:Math.min.apply(0,a),y2:Math.max.apply(0,a)}}else this.fitToGeometryCache=tC(i.path(s));return this.fitToGeometryCache}return this.projection.bounds||tA.compositeBounds(r)}getScale(){return 256/400.979322*Math.pow(2,this.zoom)}getSVGTransform(){let{x:i,y:r,width:s,height:n}=this.playingField,a=this.projection.forward(this.center),o=this.projection.hasCoordinates?-1:1,l=this.getScale(),h=l*o,c=i+s/2-a[0]*l,d=r+n/2-a[1]*h;return{scaleX:l,scaleY:h,translateX:c,translateY:d}}lonLatToPixels(i){let r=this.lonLatToProjectedUnits(i);if(r)return this.projectedUnitsToPixels(r)}lonLatToProjectedUnits(i){let r=this.chart,s=r.mapTransforms;if(s){for(let n in s)if(Object.hasOwnProperty.call(s,n)&&s[n].hitZone){let a=r.transformFromLatLon(i,s[n]);if(a&&tT(a,s[n].hitZone.coordinates[0]))return a}return r.transformFromLatLon(i,s.default)}for(let r of this.insets)if(r.options.geoBounds&&tT({x:i.lon,y:i.lat},r.options.geoBounds.coordinates[0])){let s=r.projection.forward([i.lon,i.lat]),n=r.projectedUnitsToPixels({x:s[0],y:s[1]});return this.pixelsToProjectedUnits(n)}let n=this.projection.forward([i.lon,i.lat]);if(!n.outside)return{x:n[0],y:n[1]}}pixelsToLonLat(i){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(i))}pixelsToProjectedUnits(i){let{x:r,y:s}=i,n=this.getScale(),a=this.projection.forward(this.center),o=this.playingField,l=o.x+o.width/2,h=o.y+o.height/2;return{x:a[0]+(r-l)/n,y:a[1]-(s-h)/n}}projectedUnitsToLonLat(i){let r=this.chart,s=r.mapTransforms;if(s){for(let n in s)if(Object.hasOwnProperty.call(s,n)&&s[n].hitZone&&tT(i,s[n].hitZone.coordinates[0]))return r.transformToLatLon(i,s[n]);return r.transformToLatLon(i,s.default)}let n=this.projectedUnitsToPixels(i);for(let i of this.insets)if(i.hitZone&&tT(n,i.hitZone.coordinates[0])){let r=i.pixelsToProjectedUnits(n),s=i.projection.inverse([r.x,r.y]);return{lon:s[0],lat:s[1]}}let a=this.projection.inverse([i.x,i.y]);return{lon:a[0],lat:a[1]}}projectedUnitsToPixels(i){let r=this.getScale(),s=this.projection.forward(this.center),n=this.playingField,a=n.x+n.width/2,o=n.y+n.height/2;return{x:a-r*(s[0]-i.x),y:o+r*(s[1]-i.y)}}recommendMapView(i,r,s=!1){this.recommendedMapView={};let n=r.map(i=>this.getGeoMap(i)),a=[];n.forEach(i=>{if(i&&(Object.keys(this.recommendedMapView).length||(this.recommendedMapView=i["hc-recommended-mapview"]||{}),i.bbox)){let[r,s,n,o]=i.bbox;a.push({x1:r,y1:s,x2:n,y2:o})}});let o=a.length&&tA.compositeBounds(a);(0,d2.fireEvent)(this,"onRecommendMapView",{geoBounds:o,chart:i},function(){if(o&&this.recommendedMapView){if(!this.recommendedMapView.projection){let{x1:i,y1:r,x2:s,y2:n}=o;this.recommendedMapView.projection=s-i>180&&n-r>90?{name:"EqualEarth",parallels:[0,0],rotation:[0]}:{name:"LambertConformalConic",parallels:[r,n],rotation:[-(i+s)/2]}}this.recommendedMapView.insets||(this.recommendedMapView.insets=void 0)}}),this.geoMap=n[0],s&&i.hasRendered&&!i.userOptions.mapView?.projection&&this.recommendedMapView&&this.update(this.recommendedMapView)}redraw(i){this.chart.series.forEach(i=>{i.useMapGeometry&&(i.isDirty=!0)}),this.chart.redraw(i)}setView(i,r,s=!0,n){i&&(this.center=i),"number"==typeof r&&("number"==typeof this.minZoom&&(r=Math.max(r,this.minZoom)),"number"==typeof this.options.maxZoom&&(r=Math.min(r,this.options.maxZoom)),(0,d2.isNumber)(r)&&(this.zoom=r));let a=this.getProjectedBounds();if(a){let i=this.projection.forward(this.center),{x:r,y:s,width:n,height:o}=this.playingField,l=this.getScale(),h=this.projectedUnitsToPixels({x:a.x1,y:a.y1}),c=this.projectedUnitsToPixels({x:a.x2,y:a.y2}),d=[(a.x1+a.x2)/2,(a.y1+a.y2)/2];if(!this.chart.series.some(i=>i.isDrilling)){let a=h.x,u=c.y,p=c.x,m=h.y;p-a<n?i[0]=d[0]:a<r&&p<r+n?i[0]+=Math.max(a-r,p-n-r)/l:p>r+n&&a>r&&(i[0]+=Math.min(p-n-r,a-r)/l),m-u<o?i[1]=d[1]:u<s&&m<s+o?i[1]-=Math.max(u-s,m-o-s)/l:m>s+o&&u>s&&(i[1]-=Math.min(m-o-s,u-s)/l),this.center=this.projection.inverse(i)}this.insets.forEach(i=>{i.options.field&&(i.hitZone=i.getHitZone(),i.playingField=i.getField())}),this.render()}(0,d2.fireEvent)(this,"afterSetView"),s&&this.redraw(n)}setUpEvents(){let i,r,s,{chart:n}=this,a=a=>{let{lastTouches:o,pinchDown:l}=n.pointer,h=this.projection,c=a.touches,{mouseDownX:d,mouseDownY:u}=n,p=0;if(l?.length===1?(d=l[0].chartX,u=l[0].chartY):l?.length===2&&(d=(l[0].chartX+l[1].chartX)/2,u=(l[0].chartY+l[1].chartY)/2),c?.length===2&&o&&(p=Math.log(Math.sqrt(Math.pow(o[0].chartX-o[1].chartX,2)+Math.pow(o[0].chartY-o[1].chartY,2))/Math.sqrt(Math.pow(c[0].chartX-c[1].chartX,2)+Math.pow(c[0].chartY-c[1].chartY,2)))/Math.log(.5)),(0,d2.isNumber)(d)&&(0,d2.isNumber)(u)){let o=`${d},${u}`,{chartX:l,chartY:m}=a.originalEvent;c?.length===2&&(l=(c[0].chartX+c[1].chartX)/2,m=(c[0].chartY+c[1].chartY)/2),o!==r&&(r=o,i=this.projection.forward(this.center),s=(this.projection.options.rotation||[0,0]).slice());let g=h.def&&h.def.bounds,f=g&&tj(g,this.playingField)||-1/0;if("Orthographic"===h.options.name&&2>(c?.length||0)&&(this.minZoom||1/0)<1.3*f){let i=440/(this.getScale()*Math.min(n.plotWidth,n.plotHeight));if(s){let r=(d-l)*i-s[0],a=(0,d2.clamp)(-s[1]-(u-m)*i,-80,80),o=this.zoom;this.update({projection:{rotation:[-r,-a]}},!1),this.fitToBounds(void 0,void 0,!1),this.zoom=o,n.redraw(!1)}}else if((0,d2.isNumber)(l)&&(0,d2.isNumber)(m)){let r=this.getScale(),s=this.projection.hasCoordinates?1:-1,n=this.projection.inverse([i[0]+(d-l)/r,i[1]-(u-m)/r*s]);isNaN(n[0]+n[1])||this.zoomBy(p,n,void 0,!1)}a.preventDefault()}};(0,d2.addEvent)(n,"pan",a),(0,d2.addEvent)(n,"touchpan",a),(0,d2.addEvent)(n,"selection",i=>{if(i.resetSelection)this.zoomBy();else{let r=i.x-n.plotLeft,s=i.y-n.plotTop,{y:a,x:o}=this.pixelsToProjectedUnits({x:r,y:s}),{y:l,x:h}=this.pixelsToProjectedUnits({x:r+i.width,y:s+i.height});this.fitToBounds({x1:o,y1:a,x2:h,y2:l},void 0,!0,!i.originalEvent.touches&&void 0),/^touch/.test(i.originalEvent.type)||n.showResetZoom(),i.preventDefault()}})}render(){let i=this.chart;this.group?this.groupClipRect&&this.groupClipRect.animate(i.plotBox):(this.groupClipRect=i.renderer.clipRect(i.plotBox),this.group=i.renderer.g("map-view").attr({zIndex:4}).clip(this.groupClipRect).add())}update(i,r=!0,s){let n=i.projection,a=n&&tv.toString(n)!==tv.toString(this.options.projection),o=!1;(0,d2.merge)(!0,this.userOptions,i),(0,d2.merge)(!0,this.options,i),"insets"in i&&(this.insets.forEach(i=>i.destroy()),this.insets.length=0,o=!0),(a||"fitToGeometry"in i)&&delete this.fitToGeometryCache,(a||o)&&(this.chart.series.forEach(i=>{let r=i.transformGroups;if(i.clearBounds&&i.clearBounds(),i.isDirty=!0,i.isDirtyData=!0,o&&r)for(;r.length>1;){let i=r.pop();i&&i.destroy()}}),a&&(this.projection=new tv(this.options.projection)),o&&this.createInsets(),!i.center&&Object.hasOwnProperty.call(i,"zoom")&&!(0,d2.isNumber)(i.zoom)&&this.fitToBounds(void 0,void 0,!1)),i.center||(0,d2.isNumber)(i.zoom)?this.setView(this.options.center,i.zoom,!1):"fitToGeometry"in i&&this.fitToBounds(void 0,void 0,!1),r&&this.redraw(s)}zoomBy(i,r,s,n){let a=this.chart,o=this.projection.forward(this.center);if("number"==typeof i){let l,h,c,d=this.zoom+i;if(s){let[i,r]=s,n=this.getScale(),l=i-a.plotLeft-a.plotWidth/2,d=r-a.plotTop-a.plotHeight/2;h=o[0]+l/n,c=o[1]+d/n}if("number"==typeof h&&"number"==typeof c){let i=1-Math.pow(2,this.zoom)/Math.pow(2,d),r=o[0]-h,s=o[1]-c;o[0]-=r*i,o[1]+=s*i,l=this.projection.inverse(o)}this.setView(r||l,d,void 0,n)}else this.fitToBounds(void 0,void 0,void 0,n)}}class tz extends tA{constructor(i,r){if(super(i.chart,r),this.id=r.id,this.mapView=i,this.options=(0,d2.merge)({center:[0,0]},i.options.insetOptions,r),this.allBounds=[],this.options.geoBounds){let r=i.projection.path(this.options.geoBounds);this.geoBoundsProjectedBox=tC(r),this.geoBoundsProjectedPolygon=r.map(i=>[i[1]||0,i[2]||0])}}getField(i=!0){let r=this.hitZone;if(r){let s=i?this.padding:[0,0,0,0],n=r.coordinates[0],a=n.map(i=>i[0]),o=n.map(i=>i[1]),l=Math.min.apply(0,a)+s[3],h=Math.max.apply(0,a)-s[1],c=Math.min.apply(0,o)+s[0],d=Math.max.apply(0,o)-s[2];if((0,d2.isNumber)(l)&&(0,d2.isNumber)(c))return{x:l,y:c,width:h-l,height:d-c}}return super.getField.call(this,i)}getHitZone(){let{chart:i,mapView:r,options:s}=this,{coordinates:n}=s.field||{};if(n){let a=n[0];if("percent"===s.units){let n="mapBoundingBox"===s.relativeTo&&r.getMapBBox()||(0,d2.merge)(i.plotBox,{x:0,y:0});a=a.map(i=>[(0,d2.relativeLength)(`${i[0]}%`,n.width,n.x),(0,d2.relativeLength)(`${i[1]}%`,n.height,n.y)])}return{type:"Polygon",coordinates:[a]}}}getProjectedBounds(){return tA.compositeBounds(this.allBounds)}isInside(i){let{geoBoundsProjectedBox:r,geoBoundsProjectedPolygon:s}=this;return!!(r&&i.x>=r.x1&&i.x<=r.x2&&i.y>=r.y1&&i.y<=r.y2&&s&&tT(i,s))}render(){let{chart:i,mapView:r,options:s}=this,n=s.borderPath||s.field;if(n&&r.group){let a=!0;this.border||(this.border=i.renderer.path().addClass("highcharts-mapview-inset-border").add(r.group),a=!1),i.styledMode||this.border.attr({stroke:s.borderColor,"stroke-width":s.borderWidth});let o=this.border.strokeWidth(),l="mapBoundingBox"===s.relativeTo&&r.getMapBBox()||r.playingField,h=(n.coordinates||[]).reduce((r,n)=>n.reduce((r,n,a)=>{let[h,c]=n;return"percent"===s.units&&(h=i.plotLeft+(0,d2.relativeLength)(`${h}%`,l.width,l.x),c=i.plotTop+(0,d2.relativeLength)(`${c}%`,l.height,l.y)),h=(0,d2.crisp)(h,o),c=(0,d2.crisp)(c,o),r.push(0===a?["M",h,c]:["L",h,c]),r},r),[]);this.border[a?"animate":"attr"]({d:h})}}destroy(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEac
22h(i=>i())}setUpEvents(){}}let{animObject:tE,stop:tN}=c2(),{noop:tB}=c2(),{splitPath:tS}=G,{column:tO,scatter:tD}=T1().seriesTypes;class tI extends tD{constructor(){super(...arguments),this.tupleKey="hc-key"}animate(i){let{chart:r,group:s}=this,n=tE(this.options.animation);i?s.attr({translateX:r.plotLeft+r.plotWidth/2,translateY:r.plotTop+r.plotHeight/2,scaleX:.001,scaleY:.001}):s.animate({translateX:r.plotLeft,translateY:r.plotTop,scaleX:1,scaleY:1},n)}clearBounds(){this.points.forEach(i=>{delete i.bounds,delete i.insetIndex,delete i.projectedPath}),delete this.bounds}doFullTranslate(){return!!(this.isDirtyData||this.chart.isResizing||!this.hasRendered)}drawMapDataLabels(){super.drawDataLabels(),this.dataLabelsGroups?.forEach(i=>i?.clip(this.chart.clipRect))}drawPoints(){let i=this,{chart:r,group:s,transformGroups:n=[]}=this,{mapView:a,renderer:o}=r;if(a){this.transformGroups=n,n[0]||(n[0]=o.g().add(s));for(let i=0,r=a.insets.length;i<r;++i)n[i+1]||n.push(o.g().add(s));this.doFullTranslate()&&(this.points.forEach(i=>{let{graphic:r}=i;i.group=n["number"==typeof i.insetIndex?i.insetIndex+1:0],r&&r.parentGroup!==i.group&&r.add(i.group)}),tO.prototype.drawPoints.apply(this),this.points.forEach(s=>{let n=s.graphic;if(n){let a=n.animate,o="";s.name&&(o+="highcharts-name-"+s.name.replace(/ /g,"-").toLowerCase()),s.properties?.["hc-key"]&&(o+=" highcharts-key-"+s.properties["hc-key"].toString().toLowerCase()),o&&n.addClass(o),r.styledMode&&n.css(this.pointAttribs(s,s.selected&&"select"||void 0)),n.attr({visibility:!s.visible&&(s.visible||s.isNull)?"hidden":"inherit"}),n.animate=function(s,o,l){let h=(0,d2.isNumber)(s["stroke-width"])&&!(0,d2.isNumber)(n["stroke-width"]),c=(0,d2.isNumber)(n["stroke-width"])&&!(0,d2.isNumber)(s["stroke-width"]);if(h||c){let a=(0,d2.pick)(i.getStrokeWidth(i.options),1)/(r.mapView?.getScale()||1);h&&(n["stroke-width"]=a),c&&(s["stroke-width"]=a)}return a.call(n,s,o,c?function(){n.element.removeAttribute("stroke-width"),delete n["stroke-width"],l&&l.apply(this,arguments)}:l)}}})),n.forEach((s,n)=>{let l=(0===n?a:a.insets[n-1]).getSVGTransform(),h=(0,d2.pick)(this.getStrokeWidth(this.options),1),c=l.scaleX,d=l.scaleY>0?1:-1,u=r=>{(i.points||[]).forEach(i=>{let s,n=i.graphic;n?.["stroke-width"]&&(s=this.getStrokeWidth(i.options))&&n.attr({"stroke-width":s/r})})};if(o.globalAnimation&&r.hasRendered&&a.allowTransformAnimation){let i=Number(s.attr("translateX")),r=Number(s.attr("translateY")),n=Number(s.attr("scaleX")),a=(a,o)=>{let p=n+(c-n)*o.pos;s.attr({translateX:i+(l.translateX-i)*o.pos,translateY:r+(l.translateY-r)*o.pos,scaleX:p,scaleY:p*d,"stroke-width":h/p}),u(p)},p=(0,d2.merge)(tE(o.globalAnimation)),m=p.step;p.step=function(){m&&m.apply(this,arguments),a.apply(this,arguments)},s.attr({animator:0}).animate({animator:1},p,(function(){"boolean"!=typeof o.globalAnimation&&o.globalAnimation.complete&&o.globalAnimation.complete({applyDrilldown:!0}),(0,d2.fireEvent)(this,"mapZoomComplete")}).bind(this))}else tN(s),s.attr((0,d2.merge)(l,{"stroke-width":h/c})),u(c)}),this.isDrilling||this.drawMapDataLabels()}}getProjectedBounds(){if(!this.bounds&&this.chart.mapView){let{insets:i,projection:r}=this.chart.mapView,s=[];(this.points||[]).forEach(n=>{if(n.path||n.geometry){if("string"==typeof n.path?n.path=tS(n.path):(0,d2.isArray)(n.path)&&"M"===n.path[0]&&(n.path=this.chart.renderer.pathToSegments(n.path)),!n.bounds){let s=n.getProjectedBounds(r);if(s){n.labelrank=(0,d2.pick)(n.labelrank,(s.x2-s.x1)*(s.y2-s.y1));let{midX:r,midY:a}=s;if(i&&(0,d2.isNumber)(r)&&(0,d2.isNumber)(a)){let o=(0,d2.find)(i,i=>i.isInside({x:r,y:a}));o&&(delete n.projectedPath,(s=n.getProjectedBounds(o.projection))&&o.allBounds.push(s),n.insetIndex=i.indexOf(o))}n.bounds=s}}n.bounds&&void 0===n.insetIndex&&s.push(n.bounds)}}),this.bounds=tA.compositeBounds(s)}return this.bounds}getStrokeWidth(i){let r=this.pointAttrToOptions;return i[r?.["stroke-width"]||"borderWidth"]}hasData(){return!!this.dataTable.getModified().rowCount}pointAttribs(i,r){let{mapView:s,styledMode:n}=(i?.series||this).chart,a=n&&i?this.colorAttribs(i):tO.prototype.pointAttribs.call(this,i,r),o=this.getStrokeWidth(i?.options||{});if(r){let s=(0,d2.merge)(this.options.states?.[r],i?.options.states?.[r]||{}),n=this.getStrokeWidth(s);(0,d2.defined)(n)&&(o=n),a.stroke=s.borderColor??i?.color}o&&s&&(o/=s.getScale());let l=this.getStrokeWidth(this.options);return a.dashstyle&&s&&(0,d2.isNumber)(l)&&(o=l/s.getScale()),i?.visible===!1&&(a.fill=this.options.nullColor),i?.isNull&&this.options.nullInteraction&&(a.opacity=1),(0,d2.defined)(o)?a["stroke-width"]=o:delete a["stroke-width"],a["stroke-linecap"]=a["stroke-linejoin"]=this.options.linecap,a}matchPoints(){return!this.hasProcessedDataTable&&super.matchPoints.apply(this,arguments)}setData(i,r=!0,s,n){delete this.bounds,super.setData(i,!1,void 0,n),this.processData(),this.generatePoints(),r&&this.chart.redraw(s)}getDataColumnKeys(){return this.pointArrayMap}processData(){let i,r,s,n=this.options,a=this.dataTable,o=this.chart,l=o.options.chart,h=this.joinBy,c=[],d={},u=this.chart.mapView,p=u&&((0,d2.isObject)(n.mapData,!0)?u.getGeoMap(n.mapData):u.geoMap),m=o.mapTransforms=l.mapTransforms||p?.["hc-transform"]||o.mapTransforms,g=new S;if(this.hasProcessedDataTable=!0,m&&(0,d2.objectEach)(m,i=>{i.rotation&&(i.cosAngle=Math.cos(i.rotation),i.sinAngle=Math.sin(i.rotation))}),(0,d2.isArray)(n.mapData)?s=n.mapData:p?.type==="FeatureCollection"&&(this.mapTitle=p.title,s=c2().geojson(p,this.type,this)),Object.entries(a.columns).forEac
22h(([i,r])=>{g.setColumn(i,r)}),"_i"===h[0]&&g.setColumn("_i",Array.from({length:g.rowCount},(i,r)=>r)),s){this.mapData=s,this.mapMap={};for(let n=0;n<s.length;n++)r=(i=s[n]).properties,i._i=n,h[0]&&r&&r[h[0]]&&(i[h[0]]=r[h[0]]),d[i[h[0]]]=i;if(this.mapMap=d,h[1]){let i=h[1];for(let r=0;r<g.rowCount;r++){let s="_i"===i?r:(0,d2.getNestedProperty)(i,g.getRowObject(r));d[s]&&c.push(d[s])}}if(n.allAreas){let i="|"+c.map(function(i){return i&&i[h[0]]}).join("|")+"|";s.forEach(r=>{h[0]&&-1!==i.indexOf("|"+r[h[0]]+"|")||g.setRow((0,d2.merge)(r,{value:null}))})}}this.dataTable.modified=g}setOptions(i){let r=super.setOptions(i),s=r.joinBy;return null===r.joinBy&&(s="_i"),s&&(this.joinBy=(0,d2.splat)(s),this.joinBy[1]||(this.joinBy[1]=this.joinBy[0])),r}translate(){let i=this.doFullTranslate(),r=this.chart.mapView,s=r?.projection;if(this.chart.hasRendered&&(this.isDirtyData||!this.hasRendered)&&(this.processData(),this.generatePoints(),delete this.bounds,!r||r.userOptions.center||(0,d2.isNumber)(r.userOptions.zoom)||r.zoom!==r.minZoom?this.getProjectedBounds():r.fitToBounds(void 0,void 0,!1)),r){let n=r.getSVGTransform();this.points.forEach(a=>{let o=(0,d2.isNumber)(a.insetIndex)&&r.insets[a.insetIndex].getSVGTransform()||n;o&&a.bounds&&(0,d2.isNumber)(a.bounds.midX)&&(0,d2.isNumber)(a.bounds.midY)&&(a.plotX=a.bounds.midX*o.scaleX+o.translateX,a.plotY=a.bounds.midY*o.scaleY+o.translateY),i&&(a.shapeType="path",a.shapeArgs={d:Z.getProjectedPath(a,s)}),!a.hiddenInDataClass&&(a.projectedPath&&!a.projectedPath.length?a.setVisible(!1):a.visible||a.setVisible(!0))})}(0,d2.fireEvent)(this,"afterTranslate")}update(i){i.mapData&&this.chart.mapView?.recommendMapView(this.chart,[this.chart.options.chart.map,...(this.chart.options.series||[]).map((r,s)=>s===this._i?i.mapData:r.mapData)],!0),super.update.apply(this,arguments)}}tI.defaultOptions=(0,d2.merge)(tD.defaultOptions,{affectsMapView:!0,animation:!1,dataLabels:{crop:!1,distance:0,formatter:function(){let{numberFormatter:i}=this.series.chart,{value:r}=this.point;return(0,d2.isNumber)(r)?i(r,-1):this.point.name||""},inside:!0,overflow:!1,padding:[0,2],verticalAlign:"middle"},linecap:"round",marker:null,nullColor:"var(--highcharts-neutral-color-3)",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"var(--highcharts-neutral-color-20)",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:void 0,borderColor:"var(--highcharts-neutral-color-60)",borderWidth:2},normal:{animation:!0},select:{color:"var(--highcharts-neutral-color-20)"}},legendSymbol:"rectangle"}),(0,d2.extend)(tI.prototype,{type:"map",axisTypes:A1.seriesMembers.axisTypes,colorAttribs:A1.seriesMembers.colorAttribs,colorKey:A1.seriesMembers.colorKey,directTouch:!0,drawDataLabels:tB,drawGraph:tB,forceDL:!0,getCenter:E.getCenter,getExtremesFromAll:!0,getSymbol:tB,isCartesian:!1,parallelArrays:A1.seriesMembers.parallelArrays,pointArrayMap:A1.seriesMembers.pointArrayMap,pointClass:Z,preserveAspectRatio:!0,searchPoint:tB,trackerGroups:A1.seriesMembers.trackerGroups,useMapGeometry:!0}),A1.compose(tI),T1().registerSeriesType("map",tI);let tV=tI;class tR extends tV{pointAttribs(i,r){let s=super.pointAttribs(i,r);return s.fill=this.options.fillColor,s}}tR.defaultOptions=(0,d2.merge)(tV.defaultOptions,{lineWidth:1,fillColor:"none",legendSymbol:"lineMarker"}),(0,d2.extend)(tR.prototype,{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),T1().registerSeriesType("mapline",tR);let{scatter:tX}=T1().seriesTypes;class tG extends tX.prototype.pointClass{isValid(){return!!(this.options.geometry||(0,d2.isNumber)(this.x)&&(0,d2.isNumber)(this.y)||(0,d2.isNumber)(this.options.lon)&&(0,d2.isNumber)(this.options.lat))}}p2.d({},{});let{noop:tF}=c2(),{map:tY,scatter:tU}=T1().seriesTypes;class tZ extends tU{constructor(){super(...arguments),this.clearBounds=tY.prototype.clearBounds}drawDataLabels(){super.drawDataLabels(),this.dataLabelsGroups?.forEach(i=>{i?.clip(this.chart.clipRect)})}projectPoint(i){let r=this.chart.mapView;if(r){let{geometry:s,lon:n,lat:a}=i,o=s&&"Point"===s.type&&s.coordinates;if((0,d2.isNumber)(n)&&(0,d2.isNumber)(a)&&(o=[n,a]),o)return r.lonLatToProjectedUnits({lon:o[0],lat:o[1]})}}translate(){let i=this.chart.mapView;if(this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),i){let r=i.getSVGTransform(),{hasCoordinates:s}=i.projection;
22this.points.forEach(n=>{let a,{x:o,y:l}=n,h=(0,d2.isNumber)(n.insetIndex)&&i.insets[n.insetIndex].getSVGTransform()||r,c=this.projectPoint(n.options)||n.properties&&this.projectPoint(n.properties);if(c?(o=c.x,l=c.y):n.bounds&&(o=n.bounds.midX,l=n.bounds.midY,h&&(0,d2.isNumber)(o)&&(0,d2.isNumber)(l)&&(n.plotX=o*h.scaleX+h.translateX,n.plotY=l*h.scaleY+h.translateY,a=!0)),(0,d2.isNumber)(o)&&(0,d2.isNumber)(l)){if(!a){let r=i.projectedUnitsToPixels({x:o,y:l});n.plotX=r.x,n.plotY=s?r.y:this.chart.plotHeight-r.y}}else n.y=n.plotX=n.plotY=void 0;n.isInside=this.isPointInside(n),n.zone=this.zones.length?n.getZone():void 0})}(0,d2.fireEvent)(this,"afterTranslate")}}tZ.defaultOptions=(0,d2.merge)(tU.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"var(--highcharts-neutral-color-100)"}},legendSymbol:"lineMarker",stickyTracking:!0,tooltip:{pointFormat:"{#if point.name}{point.name}{else}Lat: {point.lat}, Lon: {point.lon}{/if}"}}),V().prototype.symbols.mapmarker=(i,r,s,n,a)=>{let o,l,h=a&&"legend"===a.context;h?(o=i+s/2,l=r+n):a&&"number"==typeof a.anchorX&&"number"==typeof a.anchorY?(o=a.anchorX,l=a.anchorY):(o=i+s/2,l=r+n/2,r-=n);let c=h?n/3:n/2;return[["M",o,l],["C",o,l,o-c,r+1.5*c,o-c,r+c],["A",c,c,1,1,1,o+c,r+c],["C",o+c,r+1.5*c,o,l,o,l],["Z"]]},(0,d2.extend)(tZ.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:tG,searchPoint:tF,useMapGeometry:!0}),T1().registerSeriesType("mappoint",tZ);let tW={borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"var(--highcharts-neutral-color-100)"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0},{noop:tH}=c2(),t_=class{constructor(i,r){this.setState=tH,this.init(i,r)}init(i,r){this.options=i,this.visible=!0,this.chart=r.chart,this.legend=r}addToLegend(i){i.splice(this.options.legendIndex,0,this)}drawLegendSymbol(i){let r,s=(0,d2.pick)(i.options.itemDistance,20),n=this.legendItem||{},a=this.options,o=a.ranges,l=a.connectorDistance;if(!o||!o.length||!(0,d2.isNumber)(o[0].value)){i.options.bubbleLegend.autoRanges=!0;return}(0,d2.stableSort)(o,function(i,r){return r.value-i.value}),this.ranges=o,this.setOptions(),this.render();let h=this.getMaxLabelSize(),c=this.ranges[0].radius,d=2*c;r=(r=l-c+h.width)>0?r:0,this.maxLabel=h,this.movementX="left"===a.labels.align?r:0,n.labelWidth=d+r+s,n.labelHeight=d+h.height/2}setOptions(){let i=this.ranges,r=this.options,s=this.chart.series[r.seriesIndex],n=this.legend.baseline,a={zIndex:r.zIndex,"stroke-width":r.borderWidth},o={zIndex:r.zIndex,"stroke-width":r.connectorWidth},l={align:this.legend.options.rtl||"left"===r.labels.align?"right":"left",zIndex:r.zIndex},h=s.options.marker.fillOpacity,c=this.chart.styledMode;i.forEach(function(d,u){c||(a.stroke=(0,d2.pick)(d.borderColor,r.borderColor,s.color),a.fill=d.color||r.color,a.fill||(a.fill=s.color,a["fill-opacity"]=h??1),o.stroke=(0,d2.pick)(d.connectorColor,r.connectorColor,s.color)),i[u].radius=this.getRangeRadius(d.value),i[u]=(0,d2.merge)(i[u],{center:i[0].radius-i[u].radius+n}),c||(0,d2.merge)(!0,i[u],{bubbleAttribs:(0,d2.merge)(a),connectorAttribs:(0,d2.merge)(o),labelAttribs:l})},this)}getRangeRadius(i){let r=this.options,s=this.options.seriesIndex,n=this.chart.series[s],a=r.ranges[0].value,o=r.ranges[r.ranges.length-1].value,l=r.minSize,h=r.maxSize;return n.getRadius.call(this,o,a,l,h,i)}render(){let i=this.legendItem||{},r=this.chart.renderer,s=this.options.zThreshold;for(let n of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),i.symbol=r.g("bubble-legend"),i.label=r.g("bubble-legend-item").css(this.legend.itemStyle||{}),i.symbol.translateX=0,i.symbol.translateY=0,i.symbol.add(i.label),i.label.add(i.group),this.ranges))n.value>=s&&this.renderRange(n);this.hideOverlappingLabels()}renderRange(i){let r=this.ranges[0],s=this.legend,n=this.options,a=n.labels,o=this.chart,l=o.series[n.seriesIndex],h=o.renderer,c=this.symbols,d=c.labels,u=i.center,p=Math.abs(i.radius),m=n.connectorDistance||0,g=a.align,f=s.options.rtl,A=n.borderWidth,b=n.connectorWidth,y=r.radius||0,x=u-p-A/2+b/2,E=(x%1?1:.5)-(b%2?0:.5),T=h.styledMode,C=f||"left"===g?-m:m;
vendor: 8,440 bytes, line 22
22"center"===g&&(C=0,n.connectorDistance=0,i.labelAttribs.align="center"),c.bubbleItems.push(h.circle(y,u+E,p).attr(T?{}:i.bubbleAttribs).addClass((T?"highcharts-color-"+l.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(n.className||"")).add(this.legendItem.symbol)),c.connectors.push(h.path(h.crispLine([["M",y,x],["L",y+C,x]],n.connectorWidth)).attr(T?{}:i.connectorAttribs).addClass((T?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(n.connectorClassName||"")).add(this.legendItem.symbol));let v=h.text(this.formatLabel(i)).attr(T?{}:i.labelAttribs).css(T?{}:a.style).addClass("highcharts-bubble-legend-labels "+(n.labels.className||"")).add(this.legendItem.symbol),S={x:y+C+n.labels.x,y:x+n.labels.y+.4*v.getBBox().height};v.attr(S),d.push(v),v.placed=!0,v.alignAttr=S}getMaxLabelSize(){let i,r;return this.symbols.labels.forEach(function(s){r=s.getBBox(!0),i=i?r.width>i.width?r:i:r}),i||{}}formatLabel(i){let r=this.options,s=r.labels.formatter,n=r.labels.format,{numberFormatter:a}=this.chart;return n?_().format(n,i,this.chart):s?s.call(i,i):a(i.value,1)}hideOverlappingLabels(){let i=this.chart,r=this.options.labels.allowOverlap,s=this.symbols;!r&&s&&(i.hideOverlappingLabels(s.labels),s.labels.forEach(function(i,r){i.newOpacity?i.newOpacity!==i.oldOpacity&&s.connectors[r].show():s.connectors[r].hide()}))}getRanges(){let i=this.legend.bubbleLegend,r=i.chart.series,s=i.options.ranges,n,a,o=Number.MAX_VALUE,l=-Number.MAX_VALUE;return r.forEach(function(i){i.isBubble&&!i.ignoreSeries&&(a=i.getColumn("z").filter(d2.isNumber)).length&&(o=(0,d2.pick)(i.options.zMin,Math.min(o,Math.max((0,d2.arrayMin)(a),!1===i.options.displayNegative?i.options.zThreshold:-Number.MAX_VALUE))),l=(0,d2.pick)(i.options.zMax,Math.max(l,(0,d2.arrayMax)(a))))}),n=o===l?[{value:l}]:[{value:o},{value:(o+l)/2},{value:l,autoRanges:!0}],s.length&&s[0].radius&&n.reverse(),n.forEach(function(i,r){s&&s[r]&&(n[r]=(0,d2.merge)(s[r],i))}),n}predictBubbleSizes(){let i=this.chart,r=i.legend.options,s=r.floating,n="horizontal"===r.layout,a=n?i.legend.lastLineHeight:0,o=i.plotSizeX,l=i.plotSizeY,h=i.series[this.options.seriesIndex],c=h.getPxExtremes(),d=Math.ceil(c.minPxSize),u=Math.ceil(c.maxPxSize),p=Math.min(l,o),m,g=h.options.maxSize;return s||!/%$/.test(g)?m=u:(m=(p+a)*(g=parseFloat(g))/100/(g/100+1),(n&&l-m>=o||!n&&o-m>=l)&&(m=u)),[d,Math.ceil(m)]}updateRanges(i,r){let s=this.legend.options.bubbleLegend;s.minSize=i,s.maxSize=r,s.ranges=this.getRanges()}correctSizes(){let i=this.legend,r=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(r.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,r.maxPxSize),i.render())}},{setOptions:tq}=c2(),{composed:tK}=c2();function t$(i,r,s){let n,a,o,l=this.legend,h=tJ(this)>=0;l&&l.options.enabled&&l.bubbleLegend&&l.options.bubbleLegend.autoRanges&&h?(n=l.bubbleLegend.options,a=l.bubbleLegend.predictBubbleSizes(),l.bubbleLegend.updateRanges(a[0],a[1]),n.placed||(l.group.placed=!1,l.allItems.forEach(i=>{(o=i.legendItem||{}).group&&(o.group.translateY=void 0)})),l.render(),n.placed||(this.getMargins(),this.axes.forEach(i=>{i.setScale(),i.updateNames(),(0,d2.objectEach)(i.ticks,function(i){i.isNew=!0,i.isNewLabel=!0})}),this.getMargins()),n.placed=!0,i.call(this,r,s),l.bubbleLegend.correctSizes()):(i.call(this,r,s),l&&l.options.enabled&&l.bubbleLegend&&l.render())}function tJ(i){let r=i.series,s=0;for(;s<r.length;){if(r[s]&&r[s].isBubble&&r[s].visible&&r[s].dataTable.rowCount)return s;s++}return -1}function tQ(i){let r=this.bubbleLegend,s=this.options,n=s.bubbleLegend,a=tJ(this.chart);r&&r.ranges&&r.ranges.length&&(n.ranges.length&&(n.autoRanges=!!n.ranges[0].autoRanges),this.destroyItem(r)),a>=0&&s.enabled&&n.enabled&&(n.seriesIndex=a,this.bubbleLegend=new t_(n,this),this.bubbleLegend.addToLegend(i.allItems))}function t0(){if(this.bubbleLegend){let i=this.allItems,r=this.options.rtl,s=function(i){let r=i.allItems,s=[],n=r.length,a,o,l,h=0,c=0;for(h=0;h<n;h++)if(o=r[h].legendItem||{},l=(r[h+1]||{}).legendItem||{},o.labelHeight&&(r[h].itemHeight=o.labelHeight),r[h]===r[n-1]||o.y!==l.y){for(s.push({height:0}),a=s[s.length-1];c<=h;c++)r[c].itemHeight>a.height&&(a.height=r[c].itemHeight);a.step=h}return s}(this),n,a,o,l,h=0;i.forEach((i,c)=>{(l=i.legendItem||{}).group&&(n=l.group.translateX||0,a=l.y||0,((o=i.movementX)||r&&i.ranges)&&(o=r?n-i.options.maxSize/2:n+o,l.group.attr({translateX:o})),c>s[h].step&&h++,l.group.attr({translateY:Math.round(a+s[h].height/2)}),l.y=a+s[h].height/2)})}}function t11(i){let r;if(i.defaultPrevented)return!1;let s=i.legendItem,n=this.chart,a=s.visible;this&&this.bubbleLegend&&(s.visible=!a,s.ignoreSeries=a,r=tJ(n)>=0,this.bubbleLegend.visible!==r&&(this.update({bubbleLegend:{enabled:r}}),this.bubbleLegend.visible=r),s.visible=a)}let t2=function(i,r){(0,d2.pushUnique)(tK,"Series.BubbleLegend")&&(tq({legend:{bubbleLegend:tW}}),(0,d2.wrap)(i.prototype,"drawChartBox",t$),(0,d2.addEvent)(r,"afterGetAllItems",tQ),(0,d2.addEvent)(r,"afterRender",t0),(0,d2.addEvent)(r,"itemClick",t11))},t3=__TURBOPACK__imported__module__26963__2.default.Point;var t6=p2.n(t3);let{seriesTypes:{scatter:{prototype:{pointClass:t8}}}}=T1();class t7 extends t8{haloPath(i){let r=(i&&this.marker&&this.marker.radius||0)+i;if(this.series.chart.inverted){let i=this.pos()||[0,0],{xAxis:s,yAxis:n,chart:a}=this.series,o=2*r;return a.renderer.symbols.circle((s?.len||0)-i[1]-r,(n?.len||0)-i[0]-r,o,o)}return t6().prototype.haloPath.call(this,r)}}(0,d2.extend)(t7.prototype,{ttBelow:!1});let t9=t7,{composed:t4,noop:t5}=c2(),{series:et,seriesTypes:{column:{prototype:ee},scatter:ei}}=T1();function eo(){let i=this.len,{coll:r,isXAxis:s,min:n}=this,a=(this.max||0)-(n||0),o=0,l=i,h=i/a,c;("xAxis"===r||"yAxis"===r)&&(this.series.forEach(i=>{if(i.bubblePadding&&i.reserveSpace()){this.allowZoomOutside=!0,c=!0;let r=i.getColumn(s?"x":"y");if(s&&((i.onPoint||i).getRadii(0,0,i),i.onPoint&&(i.radii=i.onPoint.radii)),a>0){let s=r.length;for(;s--;)if((0,d2.isNumber)(r[s])&&this.dataMin<=r[s]&&r[s]<=this.max){let a=i.radii&&i.radii[s]||0;o=Math.min((r[s]-n)*h-a,o),l=Math.max((r[s]-n)*h+a,l)}}}}),c&&a>0&&!this.logarithmic&&(l-=i,h*=(i+Math.max(0,o)-Math.min(l,i))/i,[["min","userMin",o],["max","userMax",l]].forEach(i=>{void 0===(0,d2.pick)(this.options[i[0]],this[i[1]])&&(this[i[0]]+=i[2]/h)})))}function es(){let{ticks:i,tickPositions:r,dataMin:s=0,dataMax:n=0,categories:a}=this,o=this.options.type;if((a?.length||"category"===o)&&this.series.find(i=>i.bubblePadding)){let a=r.length;for(;a--;){let o=i[r[a]],l=o.pos||0;(l>n||l<s)&&o.label?.hide()}}}class er extends ei{static compose(i,r,s){t2(r,s),(0,d2.pushUnique)(t4,"Series.Bubble")&&((0,d2.addEvent)(i,"foundExtremes",eo),(0,d2.addEvent)(i,"afterRender",es))}animate(i){!i&&this.points.length<this.options.animationLimit&&this.points.forEach(function(i){let{graphic:r,plotX:s=0,plotY:n=0}=i;r&&r.width&&(this.hasRendered||r.attr({x:s,y:n,width:1,height:1}),r.animate(this.markerAttribs(i),this.options.animation))},this)}getRadii(){let i=[...this.getColumn("z",!1,!0)],r=this.getColumn("y"),s=[],n,a,o,l=this.chart.bubbleZExtremes,{minPxSize:h,maxPxSize:c}=this.getPxExtremes();if(!l){let i,r=Number.MAX_VALUE,s=-Number.MAX_VALUE;this.chart.series.forEach(n=>{if(n.bubblePadding&&n.reserveSpace()){let a=(n.onPoint||n).getZExtremes();a&&(r=Math.min((0,d2.pick)(r,a.zMin),a.zMin),s=Math.max((0,d2.pick)(s,a.zMax),a.zMax),i=!0)}}),i?(l={zMin:r,zMax:s},this.chart.bubbleZExtremes=l):l={zMin:0,zMax:0}}for(a=0,n=i.length;a<n;a++)o=i[a],s.push(this.getRadius(l.zMin,l.zMax,h,c,o,r&&r[a]));this.radii=s}getRadius(i,r,s,n,a,o){let l=this.options,h="width"!==l.sizeBy,c=l.zThreshold,d=r-i,u=.5;if(null===o||null===a)return null;if((0,d2.isNumber)(a)){if(l.sizeByAbsoluteValue&&(a=Math.abs(a-c),r=d=Math.max(r-c,Math.abs(i-c)),i=0),a<i)return s/2-1;d>0&&(u=(a-i)/d)}return h&&u>=0&&(u=Math.sqrt(u)),Math.ceil(s+u*(n-s))/2}hasData(){return!!this.dataTable.rowCount}markerAttribs(i,r){let s=super.markerAttribs(i,r),{height:n=0,width:a=0}=s;return this.chart.inverted?(0,d2.extend)(s,{x:(i.plotX||0)-a/2,y:(i.plotY||0)-n/2}):s}pointAttribs(i,r){let s=this.options.marker,n=s?.fillOpacity,a=et.prototype.pointAttribs.call(this,i,r);return a["fill-opacity"]=n??1,a}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{options:i,radii:r}=this,{minPxSize:s}=this.getPxExtremes();
22this.data.concat(this.condemnedPoints).forEach((n,a)=>{let{plotX:o=0,plotY:l=0}=n,h=n.condemned?n.marker?.radius||0:r?r[a]:0;"z"===this.zoneAxis&&(n.negative=(n.z||0)<(i.zThreshold||0)),(0,d2.isNumber)(h)&&(n.marker=(0,d2.extend)(n.marker,{radius:h,width:2*h,height:2*h})),(0,d2.isNumber)(h)&&h>=s/2?n.dlBox={x:o-h,y:l-h,width:2*h,height:2*h}:(n.shapeArgs=n.plotY=n.dlBox=void 0,n.isInside=!1)})}getPxExtremes(){let i=Math.min(this.chart.plotWidth,this.chart.plotHeight),r=r=>{let s;return"string"==typeof r&&(s=/%$/.test(r),r=parseInt(r,10)),s?i*r/100:r},s=r((0,d2.pick)(this.options.minSize,8)),n=Math.max(r((0,d2.pick)(this.options.maxSize,"20%")),s);return{minPxSize:s,maxPxSize:n}}getZExtremes(){let i=this.options,r=this.getColumn("z").filter(d2.isNumber);if(r.length){let s=(0,d2.pick)(i.zMin,(0,d2.clamp)((0,d2.arrayMin)(r),!1===i.displayNegative?i.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),n=(0,d2.pick)(i.zMax,(0,d2.arrayMax)(r));if((0,d2.isNumber)(s)&&(0,d2.isNumber)(n))return{zMin:s,zMax:n}}}searchKDTree(i,r,s,n=t5,a=t5){return n=(i,r,s)=>{let n=i[s]||0,a=r[s]||0,o,l=!1;return n===a?o=i.index>r.index?i:r:n<0&&a<0?(o=n-(i.marker?.radius||0)>=a-(r.marker?.radius||0)?i:r,l=!0):o=n<a?i:r,[o,l]},a=(i,r,s)=>!s&&i>r||i<r,super.searchKDTree(i,r,s,n,a)}}er.defaultOptions=(0,d2.merge)(ei.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:i}=this.series.chart,{z:r}=this.point;return(0,d2.isNumber)(r)?i(r,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),(0,d2.extend)(er.prototype,{alignDataLabel:ee.alignDataLabel,applyZones:t5,bubblePadding:!0,isBubble:!0,keysAffectYAxis:["y"],pointArrayMap:["y","z"],pointClass:t9,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),(0,d2.addEvent)(er,"updatedData",i=>{delete i.target.chart.bubbleZExtremes}),(0,d2.addEvent)(er,"remove",i=>{delete i.target.chart.bubbleZExtremes}),(0,d2.addEvent)(er,"update",i=>{let r=i.target.options;((0,d2.defined)(r.zMin)||(0,d2.defined)(r.zMax))&&delete i.target.chart.bubbleZExtremes}),T1().registerSeriesType("bubble",er);let ea=er,{seriesTypes:{map:{prototype:{pointClass:{prototype:en}}}}}=T1();class el extends t9{isValid(){return"number"==typeof this.z}}(0,d2.extend)(el.prototype,{applyOptions:en.applyOptions,getProjectedBounds:en.getProjectedBounds});let{seriesTypes:{map:{prototype:eh},mappoint:{prototype:ep}}}=T1();class ed extends ea{constructor(){super(...arguments),this.clearBounds=eh.clearBounds}searchPoint(i,r){return this.searchKDTree({plotX:i.chartX-this.chart.plotLeft,plotY:i.chartY-this.chart.plotTop},r,i)}translate(){ep.translate.call(this),this.getRadii(),this.translateBubble()}}ed.defaultOptions=(0,d2.merge)(ea.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"},stickyTracking:!0}),(0,d2.extend)(ed.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:eh.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:el,processData:eh.processData,projectPoint:ep.projectPoint,kdAxisArray:["plotX","plotY"],setData:eh.setData,setOptions:eh.setOptions,useMapGeometry:!0,xyFromShape:!0}),T1().registerSeriesType("mapbubble",ed);let ec=__TURBOPACK__imported__module__26963__2.default.Color;var eu=p2.n(ec);let{scatter:{prototype:{pointClass:em}}}=T1().seriesTypes;class eg extends em{applyOptions(i,r){return(this.isNull||null===this.value)&&delete this.color,super.applyOptions(i,r),this.formatPrefix=this.isNull||null===this.value?"null":"point",this}getCellAttributes(){let i=this.series,r=i.options,s=(r.colsize||1)/2,n=(r.rowsize||1)/2,a=i.xAxis,o=i.yAxis,l=this.options.marker||i.options.marker,h=i.pointPlacementToXValue(),c=(0,d2.pick)(this.pointPadding,r.pointPadding,0),d={x1:(0,d2.clamp)(Math.round(a.len-a.translate(this.x-s,!1,
vendor: 6,445 bytes, line 22
22!0,!1,!0,-h)),-a.len,2*a.len),x2:(0,d2.clamp)(Math.round(a.len-a.translate(this.x+s,!1,!0,!1,!0,-h)),-a.len,2*a.len),y1:(0,d2.clamp)(Math.round(o.translate(this.y-n,!1,!0,!1,!0)),-o.len,2*o.len),y2:(0,d2.clamp)(Math.round(o.translate(this.y+n,!1,!0,!1,!0)),-o.len,2*o.len)};for(let i of[["width","x"],["height","y"]]){let r=i[0],s=i[1],n=s+"1",h=s+"2",u=Math.abs(d[n]-d[h]),p=l&&l.lineWidth||0,m=Math.abs(d[n]+d[h])/2,g=l&&l[r];if((0,d2.defined)(g)&&g<u){let i=g/2+p/2;d[n]=m-i,d[h]=m+i}c&&(("x"===s&&a.reversed||"y"===s&&!o.reversed)&&(n=h,h=s+"1"),d[n]+=c,d[h]-=c)}return d}haloPath(i){if(!i)return[];let{x:r=0,y:s=0,width:n=0,height:a=0}=this.shapeArgs||{};return[["M",r-i,s-i],["L",r-i,s+a+i],["L",r+n+i,s+a+i],["L",r+n+i,s-i],["Z"]]}isValid(){return this.value!==1/0&&this.value!==-1/0}}(0,d2.extend)(eg.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1});let{doc:eb}=c2(),{series:ef,seriesTypes:{column:ey,scatter:ex}}=T1(),{prototype:{symbols:eM}}=V(),{colorFromPoint:ev,getContext:ew}={colorFromPoint:function(i,r){let s=r.series.colorAxis;if(s){let n=s.toColor(i||0,r).split(")")[0].split("(")[1].split(",").map(i=>(0,d2.pick)(parseFloat(i),parseInt(i,10)));return n[3]=255*(0,d2.pick)(n[3],1),(0,d2.defined)(i)&&r.visible||(n[3]=0),n}return[0,0,0,0]},getContext:function(i){let{canvas:r,context:s}=i;return r&&s?.clearRect?(s.clearRect(0,0,r.width,r.height),s):(i.canvas=eb.createElement("canvas"),i.context=i.canvas.getContext("2d",{willReadFrequently:!0})||void 0,i.context)}};class eT extends ex{constructor(){super(...arguments),this.valueMax=NaN,this.valueMin=NaN,this.isDirtyCanvas=!0}drawPoints(){let i=this,r=i.options,s=r.interpolation,n=r.marker||{};if(s){let{image:r,chart:s,xAxis:n,yAxis:a}=i,{reversed:o=!1,len:l}=n,{reversed:h=!1,len:c}=a,d={width:l,height:c};if(!r||i.isDirtyData||i.isDirtyCanvas){let l=ew(i),{canvas:c,options:{colsize:u=1,rowsize:p=1},points:m,points:{length:g}}=i,f=s.colorAxis&&s.colorAxis[0];if(c&&l&&f){let{min:f,max:A}=n.getExtremes(),{min:b,max:y}=a.getExtremes(),x=A-f,E=y-b,T=Math.round(x/u/8*8),C=Math.round(E/p/8*8),[v,S]=[[T,T/x,o,"ceil"],[C,C/E,!h,"floor"]].map(([i,r,s,n])=>s?s=>Math[n](i-r*s):i=>Math[n](r*i)),I=c.width=T+1,w=I*(c.height=C+1),_=(g-1)/w,k=new Uint8ClampedArray(4*w),N=(i,r)=>4*Math.ceil(I*S(r-b)+v(i-f));i.buildKDTree();for(let i=0;i<w;i++){let r=m[Math.ceil(_*i)],{x:s,y:n}=r;k.set(ev(r.value,r),N(s,n))}l.putImageData(new ImageData(k,I),0,0),r?r.attr({...d,href:c.toDataURL("image/png",1)}):(i.directTouch=!1,i.image=s.renderer.image(c.toDataURL("image/png",1)).attr(d).add(i.group))}i.isDirtyCanvas=!1}else(r.width!==l||r.height!==c)&&r.attr(d)}else(n.enabled||i._hasPointMarkers)&&(ef.prototype.drawPoints.call(i),i.points.forEach(r=>{r.graphic&&(r.graphic[i.chart.styledMode?"css":"animate"](i.colorAttribs(r)),null===r.value&&r.graphic.addClass("highcharts-null-point"))}))}getSymbol(){this.symbol=this.options.marker?.symbol||"rect"}getExtremes(){let{dataMin:i,dataMax:r}=ef.prototype.getExtremes.call(this,this.getColumn("value"));return(0,d2.isNumber)(i)&&(this.valueMin=i),(0,d2.isNumber)(r)&&(this.valueMax=r),ef.prototype.getExtremes.call(this)}getValidPoints(i,r){return ef.prototype.getValidPoints.call(this,i,r,!0)}hasData(){return!!this.dataTable.rowCount}init(){super.init.apply(this,arguments);let i=this.options;i.pointRange=(0,d2.pick)(i.pointRange,i.colsize||1),this.yAxis.axisPointRange=i.rowsize||1,eM.ellipse=eM.circle,i.marker&&(0,d2.isNumber)(i.borderRadius)&&(i.marker.r=i.borderRadius);let r=this.canvas=document.createElement("canvas");r&&(this.context=r?.getContext("webgpu"))}markerAttribs(i,r){let s=i.shapeArgs||{};if(i.hasImage)return{x:i.plotX,y:i.plotY};if(r&&"normal"!==r){let n=i.options.marker||{},a=this.options.marker||{},o=a.states?.[r]||{},l=n.states?.[r]||{},h=(l.width||o.width||s.width||0)+(l.widthPlus||o.widthPlus||0),c=(l.height||o.height||s.height||0)+(l.heightPlus||o.heightPlus||0);return{x:(s.x||0)+((s.width||0)-h)/2,y:(s.y||0)+((s.height||0)-c)/2,width:h,height:c}}return s}pointAttribs(i,r){let s=ef.prototype.pointAttribs.call(this,i,r),n=this.options||{},a=this.chart.options.plotOptions||{},o=a.series||{},l=a.heatmap||{},h=i?.options.borderColor||n.borderColor||l.borderColor||o.borderColor,c=i?.options.borderWidth||n.borderWidth||l.borderWidth||o.borderWidth||s["stroke-width"];if(s.stroke=i?.marker?.lineColor||n.marker?.lineColor||h||this.color,s["stroke-width"]=c,r&&"normal"!==r){let a=(0,d2.merge)(n.states?.[r],n.marker?.states?.[r],i?.options.marker?.states?.[r]||{});s.fill=a.color||eu().parse(s.fill).brighten(a.brightness||0).get(),s.stroke=a.lineColor||s.stroke}return s}translate(){let{borderRadius:i,marker:r}=this.options,s=r?.symbol||"rect",n=eM[s]?s:"rect",a=-1!==["circle","square"].indexOf(n);for(let r of(this.generatePoints(),this.points)){let o=r.getCellAttributes(),l=Math.min(o.x1,o.x2),h=Math.min(o.y1,o.y2),c=Math.max(Math.abs(o.x2-o.x1),0),d=Math.max(Math.abs(o.y2-o.y1),0);if(r.hasImage=0===(r.marker?.symbol||s||"").indexOf("url"),a){let i=Math.abs(c-d);l=Math.min(o.x1,o.x2)+(c<d?0:i/2),h=Math.min(o.y1,o.y2)+(c<d?i/2:0),c=d=Math.min(c,d)}r.hasImage&&(r.marker={width:c,height:d}),r.plotX=r.clientX=(o.x1+o.x2)/2,r.plotY=(o.y1+o.y2)/2,r.shapeType="path",r.shapeArgs=(0,d2.merge)(!0,{x:l,y:h,width:c,height:d},{d:eM[n](l,h,c,d,{r:(0,d2.isNumber)(i)?i:0})})}(0,d2.fireEvent)(this,"afterTranslate")}}eT.defaultOptions=(0,d2.merge)(ex.defaultOptions,{animation:!1,borderRadius:0,borderWidth:0,interpolation:!1,nullColor:"var(--highcharts-neutral-color-3)",dataLabels:{formatter:function(){let{numberFormatter:i}=this.series.chart,{value:r}=this.point;return(0,d2.isNumber)(r)?i(r,-1):""},inside:!0,verticalAlign:"middle",crop:!1,overflow:"allow",padding:0},marker:{radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}},legendSymbol:"rectangle"}),(0,d2.addEvent)(eT,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints(),this.options.enableMouseTracking&&this.drawTracker()}),(0,d2.extend)(eT.prototype,{axisTypes:A1.seriesMembers.axisTypes,colorKey:A1.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:A1.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:eg,specialGroup:"group",trackerGroups:A1.seriesMembers.trackerGroups,alignDataLabel:e
22y.prototype.alignDataLabel,colorAttribs:A1.seriesMembers.colorAttribs}),A1.compose(eT),T1().registerSeriesType("heatmap",eT);let eP=c2();eP.ColorMapComposition=A1,eP.MapChart=eP.MapChart||G,eP.MapNavigation=eP.MapNavigation||v2,eP.MapView=eP.MapView||tA,eP.Projection=eP.Projection||tv,eP.mapChart=eP.Map=eP.MapChart.mapChart,eP.maps=eP.MapChart.maps,eP.geojson=$.geojson,eP.topo2geo=$.topo2geo,$.compose(eP.Chart),ed.compose(eP.Axis,eP.Chart,eP.Legend),v2.compose(G,eP.Pointer,eP.SVGRenderer),tA.compose(G);let eC=c2();function isTag(i){return i.type===ElementType.Tag||i.type===ElementType.Script||i.type===ElementType.Style}!function(i){i.Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype"}(ElementType||(ElementType={}));let Root=ElementType.Root,Text=ElementType.Text,Directive=ElementType.Directive,Comment=ElementType.Comment,Script=ElementType.Script,Style=ElementType.Style,Tag=ElementType.Tag,CDATA=ElementType.CDATA,Doctype=ElementType.Doctype;__turbopack_context__.s(["CDATA",0,CDATA,"Comment",0,Comment,"Directive",0,Directive,"Doctype",0,Doctype,"ElementType",0,ElementType,"Root",0,Root,"Script",0,Script,"Style",0,Style,"Tag",0,Tag,"Text",0,Text,"isTag",0,isTag],25564);class Node{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(i){this.parent=i}get previousSibling(){return this.prev}set previousSibling(i){this.prev=i}get nextSibling(){return this.next}set nextSibling(i){this.next=i}cloneNode(i=!1){return cloneNode(this,i)}}class DataNode extends Node{constructor(i){super(),this.data=i}get nodeValue(){return this.data}set nodeValue(i){this.data=i}}class Text1 extends DataNode{constructor(){super(...arguments),this.type=ElementType.Text}get nodeType(){return 3}}class Comment1 extends DataNode{constructor(){super(...arguments),this.type=ElementType.Comment}get nodeType(){return 8}}class ProcessingInstruction extends DataNode{constructor(i,r){super(r),this.name=i,this.type=ElementType.Directive}get nodeType(){return 1}}class NodeWithChildren extends Node{constructor(i){super(),this.children=i}get firstChild(){var i;return null!=(i=this.children[0])?i:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(i){this.children=i}}class CDATA1 extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}class Element extends NodeWithChildren{constructor(i,r,s=[],n="script"===i?ElementType.Script:"style"===i?ElementType.Style:ElementType.Tag){super(s),this.name=i,this.attribs=r,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(i){this.name=i}get attributes(){return Object.keys(this.attribs).map(i=>{var r,s;return{name:i,value:this.attribs[i],namespace:null==(r=this["x-attribsNamespace"])?void 0:r[i],prefix:null==(s=this["x-attribsPrefix"])?void 0:s[i]}})}}function isTag1(i){return isTag(i)}function isCDATA(i){return i.type===ElementType.CDATA}function isText(i){return i.type===ElementType.Text}function isComment(i){return i.type===ElementType.Comment}function isDirective(i){return i.type===ElementType.Directive}function isDocument(i){return i.type===ElementType.Root}function hasChildren(i){return Object.prototype.hasOwnProperty.call(i,"children")}function cloneNode(i,r=!1){let s;if(isText(i))s=new Text1(i.data);else if(isComment(i))s=new Comment1(i.data);else if(isTag1(i)){let n=r?cloneChildren(i.children):[],a=new Element(i.name,{...i.attribs},n);n.forEach(i=>i.parent=a),null!=i.namespace&&(a.namespace=i.namespace),i["x-attribsNamespace"]&&(a["x-attribsNamespace"]={...i["x-attribsNamespace"]}),i["x-attribsPrefix"]&&(a["x-attribsPrefix"]={...i["x-attribsPrefix"]}),s=a}else if(isCDATA(i)){let n=r?cloneChildren(i.children):[],a=new CDATA1(n);
22n.forEach(i=>i.parent=a),s=a}else if(isDocument(i)){let n=r?cloneChildren(i.children):[],a=new Document(n);n.forEach(i=>i.parent=a),i["x-mode"]&&(a["x-mode"]=i["x-mode"]),s=a}else if(isDirective(i)){let r=new ProcessingInstruction(i.name,i.data);null!=i["x-name"]&&(r["x-name"]=i["x-name"],r["x-publicId"]=i["x-publicId"],r["x-systemId"]=i["x-systemId"]),s=r}else throw Error(`Not implemented yet: ${i.type}`);return s.startIndex=i.startIndex,s.endIndex=i.endIndex,null!=i.sourceCodeLocation&&(s.sourceCodeLocation=i.sourceCodeLocation),s}function cloneChildren(i){let r=i.map(i=>cloneNode(i,!0));for(let i=1;i<r.length;i++)r[i].prev=r[i-1],r[i-1].next=r[i];return r}let defaultOpts={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class DomHandler{constructor(i,r,s){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof r&&(s=r,r=defaultOpts),"object"==typeof i&&(r=i,i=void 0),this.callback=null!=i?i:null,this.options=null!=r?r:defaultOpts,this.elementCB=null!=s?s:null}onparserinit(i){this.parser=i}onreset(){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(i){this.handleCallback(i)}onclosetag(){this.lastNode=null;let i=this.tagStack.pop();this.options.withEndIndices&&(i.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(i)}onopentag(i,r){let s=new Element(i,r,void 0,this.options.xmlMode?ElementType.Tag:void 0);this.addNode(s),this.tagStack.push(s)}ontext(i){let{lastNode:r}=this;if(r&&r.type===ElementType.Text)r.data+=i,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let r=new Text1(i);this.addNode(r),this.lastNode=r}}oncomment(i){if(this.lastNode&&this.lastNode.type===ElementType.Comment){this.lastNode.data+=i;return}let r=new Comment1(i);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let i=new Text1(""),r=new CDATA1([i]);this.addNode(r),i.parent=r,this.lastNode=i}oncdataend(){this.lastNode=null}onprocessinginstruction(i,r){let s=new ProcessingInstruction(i,r);this.addNode(s)}handleCallback(i){if("function"==typeof this.callback)this.callback(i,this.dom);else if(i)throw i}addNode(i){let r=this.tagStack[this.tagStack.length-1],s=r.children[r.children.length-1];this.options.withStartIndices&&(i.startIndex=this.parser.startIndex),this.options.withEndIndices&&(i.endIndex=this.parser.endIndex),r.children.push(i),s&&(i.prev=s,s.next=i),i.parent=r,this.lastNode=null}}let __TURBOPACK__default__export__=DomHandler,__TURBOPACK__default__export__1
vendor: 8,319 bytes, line 22
22=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;
vendor: 7,828 bytes, line 22
22ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 22
22ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 22
22astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
22'.split("").map(i=>i.charCodeAt(0))),__TURBOPACK__default__export__2=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(i=>i.charCodeAt(0))),decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=null!=(_a=String.fromCodePoint)?_a:function(i){let r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|1023&i),r+=String.fromCharCode(i)};function replaceCodePoint(i){var r;return i>=55296&&i<=57343||i>1114111?65533:null!=(r=decodeMap.get(i))?r:i}function decodeCodePoint(i){return fromCodePoint(replaceCodePoint(i))}!function(i){i[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z"}(CharCodes||(CharCodes={}));let TO_LOWER_BIT=32;function isNumber(i){return i>=CharCodes.ZERO&&i<=CharCodes.NINE}function isHexadecimalCharacter(i){return i>=CharCodes.UPPER_A&&i<=CharCodes.UPPER_F||i>=CharCodes.LOWER_A&&i<=CharCodes.LOWER_F}function isAsciiAlphaNumeric(i){return i>=CharCodes.UPPER_A&&i<=CharCodes.UPPER_Z||i>=CharCodes.LOWER_A&&i<=CharCodes.LOWER_Z||isNumber(i)}function isEntityInAttributeInvalidEnd(i){return i===CharCodes.EQUALS||isAsciiAlphaNumeric(i)}!function(i){i[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE"}(BinTrieFlags||(BinTrieFlags={})),function(i){i[i.EntityStart=0]="EntityStart",i[i.NumericStart=1]="NumericStart",i[i.NumericDecimal=2]="NumericDecimal",i[i.NumericHex=3]="NumericHex",i[i.NamedEntity=4]="NamedEntity"}(EntityDecoderState||(EntityDecoderState={})),function(i){i[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute"}(DecodingMode1||(DecodingMode1={}));class EntityDecoder{constructor(i,r,s){this.decodeTree=i,this.emitCodePoint=r,this.errors=s,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode1.Strict}startEntity(i){this.decodeMode=i,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(i,r){switch(this.state){case EntityDecoderState.EntityStart:if(i.charCodeAt(r)===CharCodes.NUM)return this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(i,r+1);return this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(i,r);case EntityDecoderState.NumericStart:return this.stateNumericStart(i,r);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(i,r);case EntityDecoderState.NumericHex:return this.stateNumericHex(i,r);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(i,r)}}stateNumericStart(i,r){return r>=i.length?-1:(i.charCodeAt(r)|TO_LOWER_BIT)===CharCodes.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(i,r+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(i,r))}addToNumericResult(i,r,s,n){if(r!==s){let a=s-r;this.result=this.result*Math.pow(n,a)+parseInt(i.substr(r,a),n),this.consumed+=a}}stateNumericHex(i,r){let s=r;for(;r<i.length;){let n=i.charCodeAt(r);if(!(isNumber(n)||isHexadecimalCharacter(n)))return this.addToNumericResult(i,s,r,16),this.emitNumericEntity(n,3);r+=1}return this.addToNumericResult(i,s,r,16),-1}stateNumericDecimal(i,r){let s=r;for(;r<i.length;){let n=i.charCodeAt(r);if(!isNumber(n))return this.addToNumericResult(i,s,r,10),this.emitNumericEntity(n,2);r+=1}
22return this.addToNumericResult(i,s,r,10),-1}emitNumericEntity(i,r){var s;if(this.consumed<=r)return null==(s=this.errors)||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===CharCodes.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode1.Strict)return 0;return this.emitCodePoint(replaceCodePoint(this.result),this.consumed),this.errors&&(i!==CharCodes.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,r){let{decodeTree:s}=this,n=s[this.treeIndex],a=(n&BinTrieFlags.VALUE_LENGTH)>>14;for(;r<i.length;r++,this.excess++){let o=i.charCodeAt(r);if(this.treeIndex=determineBranch(s,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return 0===this.result||this.decodeMode===DecodingMode1.Attribute&&(0===a||isEntityInAttributeInvalidEnd(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((n=s[this.treeIndex])&BinTrieFlags.VALUE_LENGTH)>>14)){if(o===CharCodes.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==DecodingMode1.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var i;let{result:r,decodeTree:s}=this,n=(s[r]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),null==(i=this.errors)||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,r,s){let{decodeTree:n}=this;return this.emitCodePoint(1===r?n[i]&~BinTrieFlags.VALUE_LENGTH:n[i+1],s),3===r&&this.emitCodePoint(n[i+2],s),s}end(){var i;switch(this.state){case EntityDecoderState.NamedEntity:return 0!==this.result&&(this.decodeMode!==DecodingMode1.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return null==(i=this.errors)||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(i){let r="",s=new EntityDecoder(i,i=>r+=fromCodePoint(i));return function(i,n){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){r+=i.slice(a,o),s.startEntity(n);let l=s.write(i,o+1);if(l<0){a=o+s.end();break}a=o+l,o=0===l?a+1:a}let l=r+i.slice(a);return r="",l}}function determineBranch(i,r,s,n){let a=(r&BinTrieFlags.BRANCH_LENGTH)>>7,o=r&BinTrieFlags.JUMP_TABLE;if(0===a)return 0!==o&&n===o?s:-1;if(o){let r=n-o;return r<0||r>=a?-1:i[s+r]-1}let l=s,h=l+a-1;for(;l<=h;){let r=l+h>>>1,s=i[r];if(s<n)l=r+1;else{if(!(s>n))return i[r+a];h=r-1}}return -1}let htmlDecoder=getDecoder(__TURBOPACK__default__export__1),xmlDecoder=getDecoder(__TURBOPACK__default__export__2);function decodeHTML1(i,r=DecodingMode1.Legacy){return htmlDecoder(i,r)}function decodeHTMLAttribute(i){return htmlDecoder(i,DecodingMode1.Attribute)}function decodeHTMLStrict(i){return htmlDecoder(i,DecodingMode1.Strict)}function decodeXML1(i){return xmlDecoder(i,DecodingMode1.Strict)}let xmlReplacer1=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint1=null!=String.prototype.codePointAt?(i,r)=>i.codePointAt(r):(i,r)=>(64512&i.charCodeAt(r))==55296?(i.charCodeAt(r)-55296)*1024+i.charCodeAt(r+1)-56320+65536:i.charCodeAt(r);function encodeXML1(i){let r,s="",n=0;for(;null!==(r=xmlReplacer1.exec(i));){let a=r.index,o=i.charCodeAt(a),l=xmlCodeMap.get(o);void 0!==l?(s+=i.substring(n,a)+l,n=a+1):(s+=`${i.substring(n,a)}&#x${getCodePoint1(i,a).toString(16)};`,n=xmlReplacer1.lastIndex+=Number((64512&o)==55296))}return s+i.substr(n)}let escape=encodeXML1;function getEscaper(i,r){return function(s){let n,a=0,o="";for(;n=i.exec(s);)a!==n.index&&(o+=s.substring(a,n.index)),o+=r.get(n[0].charCodeAt(0)),a=n.index+1;return o+s.substring(a)}}let escapeUTF81=getEscaper(/[&<>'"]/g,xmlCodeMap),escapeAttribute1=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText1=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),htmlReplacer=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function encodeHTML1(i){return encodeHTMLTrieRe(htmlReplacer,i)}function encodeNonAsciiHTML1(i){return encodeHTMLTrieRe(xmlReplacer,i)}function encodeHTMLTrieRe(i,r){let s,n="",a=0;for(;null!==(s=i.exec(r));){let o=s.index;n+=r.substring(a,o);let l=r.charCodeAt(o),h=htmlTrie.get(l);if("object"==typeof h){if(o+1<r.length){let s=r.charCodeAt(o+1),l="number"==typeof h.n?h.n===s?h.o:void 0:h.n.get(s);if(void 0!==l){n+=l,a=i.lastIndex+=1;continue}}h=h.v}if(void 0!==h)n+=h,a=o+1;else{let s=getCodePoint(r,o);n+=`&#x${s.toString(16)};`,a=i.lastIndex+=Number(s!==l)}}return n+r.substr(a)}function decode(i,r=EntityLevel.XML){return("number"==typeof r?r:r.level)===EntityLevel.HTML?decodeHTML(i,"object"==typeof r?r.mode:void 0):decodeXML(i)}function decodeStrict(i,r=EntityLevel.XML){var s;let n="number"==typeof r?{level:r}:r;return null!=(s=n.mode)||(n.mode=DecodingMode.Strict),decode(i,n)}function encode(i,r=EntityLevel.XML){let s="number"==typeof r?{level:r}:r;return s.mode===EncodingMode.UTF8?escapeUTF8(i):s.mode===EncodingMode.Attribute?escapeAttribute(i):s.mode===EncodingMode.Text?escapeText(i):s.level===EntityLevel.HTML?s.mode===EncodingMode.ASCII?encodeNonAsciiHTML(i):encodeHTML(i):encodeXML(i)}!function(i){i[i.XML=0]="XML",i[i.HTML=1]="HTML"}(EntityLevel||(EntityLevel={})),function(i){i[i.UTF8=0]="UTF8",i[i.ASCII=1]="ASCII",i[i.Extensive=2]="Extensive",i[i.Attribute=3]="Attribute",i[i.Text=4]="Text"}(EncodingMode||(EncodingMode={}));let elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(i=>[i.toLowerCase(),i])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(i=>[i.toLowerCase(),i])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(i){return i.replace(/"/g,""")}function formatAttributes(i,r){var s;if(!i)return;let n=(null!=(s=r.encodeEntities)?s:r.decodeEntities)===!1?replaceQuotes:r.xmlMode||"utf8"!==r.encodeEntities?encodeXML1:escapeAttribute1;return Object.keys(i).map(s=>{var a,o;let l=null!=(a=i[s])?a:"";return("foreign"===r.xmlMode&&(s=null!=(o=attributeNames.get(s))?o:s),r.emptyAttrs||r.xmlMode||""!==l)?`${s}="${n(l)}"`:s}).join(" ")}let singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
22img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render(i,r={}){let s="length"in i?i:[i],n="";for(let i=0;i<s.length;i++)n+=renderNode(s[i],r);return n}let __TURBOPACK__default__export__3=render;function renderNode(i,r){switch(i.type){case Root:return render(i.children,r);case Doctype:case Directive:return renderDirective(i);case Comment:return renderComment(i);case CDATA:return renderCdata(i);case Script:case Style:case Tag:return renderTag(i,r);case Text:return renderText(i,r)}}let foreignModeIntegrationPoints=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),foreignElements=new Set(["svg","math"]);function renderTag(i,r){var s;"foreign"===r.xmlMode&&(i.name=null!=(s=elementNames.get(i.name))?s:i.name,i.parent&&foreignModeIntegrationPoints.has(i.parent.name)&&(r={...r,xmlMode:!1})),!r.xmlMode&&foreignElements.has(i.name)&&(r={...r,xmlMode:"foreign"});let n=`<${i.name}`,a=formatAttributes(i.attribs,r);return a&&(n+=` ${a}`),0===i.children.length&&(r.xmlMode?!1!==r.selfClosingTags:r.selfClosingTags&&singleTag.has(i.name))?(r.xmlMode||(n+=" "),n+="/>"):(n+=">",i.children.length>0&&(n+=render(i.children,r)),(r.xmlMode||!singleTag.has(i.name))&&(n+=`</${i.name}>`)),n}function renderDirective(i){return`<${i.data}>`}function renderText(i,r){var s;let n=i.data||"";return(null!=(s=r.encodeEntities)?s:r.decodeEntities)===!1||!r.xmlMode&&i.parent&&unencodedElements.has(i.parent.name)||(n=r.xmlMode||"utf8"!==r.encodeEntities?encodeXML1(n):escapeText1(n)),n}function renderCdata(i){return`<![CDATA[${i.children[0].data}]]>`}function renderComment(i){return`<!--${i.data}-->`}function getOuterHTML(i,r){return __TURBOPACK__default__export__3(i,r)}function getInnerHTML(i,r){return hasChildren(i)?i.children.map(i=>getOuterHTML(i,r)).join(""):""}function getText(i){return Array.isArray(i)?i.map(getText).join(""):isTag1(i)?"br"===i.name?"\n":getText(i.children):isCDATA(i)?getText(i.children):isText(i)?i.data:""}function textContent(i){return Array.isArray(i)?i.map(textContent).join(""):hasChildren(i)&&!isComment(i)?textContent(i.children):isText(i)?i.data:""}function innerText(i){return Array.isArray(i)?i.map(innerText).join(""):hasChildren(i)&&(i.type===ElementType.Tag||isCDATA(i))?innerText(i.children):isText(i)?i.data:""}function getChildren(i){return hasChildren(i)?i.children:[]}function getParent(i){return i.parent||null}function getSiblings(i){let r=getParent(i);if(null!=r)return getChildren(r);let s=[i],{prev:n,next:a}=i;for(;null!=n;)s.unshift(n),{prev:n}=n;for(;null!=a;)s.push(a),{next:a}=a;return s}function getAttributeValue(i,r){var s;return null==(s=i.attribs)?void 0:s[r]}function hasAttrib(i,r){return null!=i.attribs&&Object.prototype.hasOwnProperty.call(i.attribs,r)&&null!=i.attribs[r]}function getName(i){return i.name}function nextElementSibling(i){let{next:r}=i;for(;null!==r&&!isTag1(r);)({next:r}=r);return r}function prevElementSibling(i){let{prev:r}=i;for(;null!==r&&!isTag1(r);)({prev:r}=r);return r}function filter(i,r,s=!0,n=1/0){return find(i,Array.isArray(r)?r:[r],s,n)}function find(i,r,s,n){let a=[],o=[Array.isArray(r)?r:[r]],l=[0];for(;;){if(l[0]>=o[0].length){if(1===l.length)return a;o.shift(),l.shift();continue}let r=o[0][l[0]++];if(i(r)&&(a.push(r),--n<=0))return a;s&&hasChildren(r)&&r.children.length>0&&(l.unshift(0),o.unshift(r.children))}}function findOneChild(i,r){return r.find(i)}function findOne(i,r,s=!0){let n=Array.isArray(r)?r:[r];for(let r=0;r<n.length;r++){let a=n[r];if(isTag1(a)&&i(a))return a;if(s&&hasChildren(a)&&a.children.length>0){let r=findOne(i,a.children,!0);if(r)return r}}return null}function existsOne(i,r){return(Array.isArray(r)?r:[r]).some(r=>isTag1(r)&&i(r)||hasChildren(r)&&existsOne(i,r.children))}function findAll(i,r){let s=[],n=[Array.isArray(r)?r:[r]],a=[0];for(;;){if(a[0]>=n[0].length){if(1===n.length)return s;n.shift(),a.shift();continue}let r=n[0][a[0]++];isTag1(r)&&i(r)&&s.push(r),hasChildren(r)&&r.children.length>0&&(a.unshift(0),n.unshift(r.children))}}__turbopack_context__.s(["getInnerHTML",0,getInnerHTML,"getOuterHTML",0,getOuterHTML,"getText",0,getText,"innerText",0,innerText,"textContent",0,textContent],23523),__turbopack_context__.s(["getAttributeValue",0,getAttributeValue,"getChildren",0,getChildren,"getName",0,getName,"getParent",0,getParent,"getSiblings",0,getSiblings,"hasAttrib",0,hasAttrib,"nextElementSibling",0,nextElementSibling,"prevElementSibling",0,prevElementSibling],89129),__turbopack_context__.s(["existsOne",0,existsOne,"filter",0,filter,"find",0,find,"findAll",0,findAll,"findOne",0,findOne,"findOneChild",0,findOneChild],98730);let Checks={tag_name:i=>"function"==typeof i?r=>isTag1(r)&&i(r.name):"*"===i?isTag1:r=>isTag1(r)&&r.name===i,tag_type:i=>"function"==typeof i?r=>i(r.type):r=>r.type===i,tag_contains:i=>"function"==typeof i?r=>isText(r)&&i(r.data):r=>isText(r)&&r.data===i};function getAttribCheck(i,r){return"function"==typeof r?s=>isTag1(s)&&r(s.attribs[i]):s=>isTag1(s)&&s.attribs[i]===r}function combineFuncs(i,r){return s=>i(s)||r(s)}function compileTest(i){let r=Object.keys(i).map(r=>{let s=i[r];return Object.prototype.hasOwnProperty.call(Checks,r)?Checks[r](s):getAttribCheck(r,s)});return 0===r.length?null:r.reduce(combineFuncs)}function testElement(i,r){let s=compileTest(i);return!s||s(r)}function getElements(i,r,s,n=1/0){let a=compileTest(i);return a?filter(a,r,s,n):[]}function getElementById(i,r,s=!0){return Array.isArray(r)||(r=[r]),findOne(getAttribCheck("id",i),r,s)}function getElementsByTagName(i,r,s=!0,n=1/0){return filter(Checks.tag_name(i),r,s,n)}function getElementsByClassName(i,r,s=!0,n=1/0){return filter(getAttribCheck("class",i),r,s,n)}function getElementsByTagType(i,r,s=!0,n=1/0){return filter(Checks.tag_type(i),r,s,n)}function removeSubsets(i){let r=i.length;for(;--r>=0;){let s=i[r];if(r>0&&i.lastIndexOf(s,r-1)>=0){i.splice(r,1);continue}for(let n=s.parent;n;n=n.parent)if(i.includes(n)){i.splice(r,1);break}}return i}function compareDocumentPosition(i,r){let s=[],n=[];if(i===r)return 0;let a=hasChildren(i)?i:i.parent;for(;a;)s.unshift(a),a=a.parent;for(a=hasChildren(r)?r:r.parent;a;)n.unshift(a),a=a.parent;let o=Math.min(s.length,n.length),l=0;for(;l<o&&s[l]===n[l];)l++;if(0===l)return DocumentPosition.DISCONNECTED;let h=s[l-1],c=h.children,d=s[l],u=n[l];return c.indexOf(d)>c.indexOf(u)?h===r?DocumentPosition.FOLLOWING|DocumentPosition.CONTAINED_BY:DocumentPosition.FOLLOWING:h===i?DocumentPosition.PRECEDING|DocumentPosition.CONTAINS:DocumentPosition.PRECEDING}function uniqueSort(i){return(i=i.filter((i,r,s)=>
22!s.includes(i,r+1))).sort((i,r)=>{let s=compareDocumentPosition(i,r);return s&DocumentPosition.PRECEDING?-1:s&DocumentPosition.FOLLOWING?1:0}),i}function getFeed1(i){let r=getOneElement(isValidFeed,i);return r?"feed"===r.name?getAtomFeed(r):getRssFeed(r):null}function getAtomFeed(i){var r;let s=i.children,n={type:"atom",items:getElementsByTagName("entry",s).map(i=>{var r;let{children:s}=i,n={media:getMediaElements(s)};addConditionally(n,"id","id",s),addConditionally(n,"title","title",s);let a=null==(r=getOneElement("link",s))?void 0:r.attribs.href;a&&(n.link=a);let o=fetch1("summary",s)||fetch1("content",s);o&&(n.description=o);let l=fetch1("updated",s);return l&&(n.pubDate=new Date(l)),n})};addConditionally(n,"id","id",s),addConditionally(n,"title","title",s);let a=null==(r=getOneElement("link",s))?void 0:r.attribs.href;a&&(n.link=a),addConditionally(n,"description","subtitle",s);let o=fetch1("updated",s);return o&&(n.updated=new Date(o)),addConditionally(n,"author","email",s,!0),n}function getRssFeed(i){var r,s;let n=null!=(s=null==(r=getOneElement("channel",i.children))?void 0:r.children)?s:[],a={type:i.name.substr(0,3),id:"",items:getElementsByTagName("item",i.children).map(i=>{let{children:r}=i,s={media:getMediaElements(r)};addConditionally(s,"id","guid",r),addConditionally(s,"title","title",r),addConditionally(s,"link","link",r),addConditionally(s,"description","description",r);let n=fetch1("pubDate",r)||fetch1("dc:date",r);return n&&(s.pubDate=new Date(n)),s})};addConditionally(a,"title","title",n),addConditionally(a,"link","link",n),addConditionally(a,"description","description",n);let o=fetch1("lastBuildDate",n);return o&&(a.updated=new Date(o)),addConditionally(a,"author","managingEditor",n,!0),a}__turbopack_context__.s(["getElementById",0,getElementById,"getElements",0,getElements,"getElementsByClassName",0,getElementsByClassName,"getElementsByTagName",0,getElementsByTagName,"getElementsByTagType",0,getElementsByTagType,"testElement",0,testElement],37432),function(i){i[i.DISCONNECTED=1]="DISCONNECTED",i[i.PRECEDING=2]="PRECEDING",i[i.FOLLOWING=4]="FOLLOWING",i[i.CONTAINS=8]="CONTAINS",i[i.CONTAINED_BY=16]="CONTAINED_BY"}(DocumentPosition||(DocumentPosition={})),__turbopack_context__.s(["DocumentPosition",0,DocumentPosition,"compareDocumentPosition",0,compareDocumentPosition,"removeSubsets",0,removeSubsets,"uniqueSort",0,uniqueSort],84678);let MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(i){return getElementsByTagName("media:content",i).map(i=>{let{attribs:r}=i,s={medium:r.medium,isDefault:!!r.isDefault};for(let i of MEDIA_KEYS_STRING)r[i]&&(s[i]=r[i]);for(let i of MEDIA_KEYS_INT)r[i]&&(s[i]=parseInt(r[i],10));return r.expression&&(s.expression=r.expression),s})}function getOneElement(i,r){return getElementsByTagName(i,r,!0,1)[0]}function fetch1(i,r,s=!1){return textContent(getElementsByTagName(i,r,s,1)).trim()}function addConditionally(i,r,s,n,a=!1){let o=fetch1(s,n,a);o&&(i[r]=o)}function isValidFeed(i){return"rss"===i||"feed"===i||"rdf:RDF"===i}__turbopack_context__.s(["getFeed",0,getFeed1],82896),__turbopack_context__.s([],49861);let defaultOpts1={_useHtmlParser2:!1};function flattenOptions(i,r){if(!i)return null!=r?r:defaultOpts1;let s={_useHtmlParser2:!!i.xmlMode,...r,...i};return i.xml?(s._useHtmlParser2=!0,s.xmlMode=!0,!0!==i.xml&&Object.assign(s,i.xml)):i.xmlMode&&(s._useHtmlParser2=!0),s}function render1(i,r,s){return i?i(null!=r?r:i._root.children,null,void 0,s).toString():""}function isOptions(i,r){return!r&&"object"==typeof i&&null!=i&&!("length"in i)&&!("type"in i)}function html(i,r){return render1(this,isOptions(i)?void(r=i):i,{...this===null||void 0===this?void 0:this._options,...flattenOptions(r)})}function xml(i){return render1(this,i,{...this._options,xmlMode:!0})}function text(i){let r=null!=i?i:this?this.root():[],s="";for(let i=0;i<r.length;i++)s+=textContent(r[i]);return s}function parseHTML(i,r,s="boolean"==typeof r&&r){if(!i||"string"!=typeof i)return null;"boolean"==typeof r&&(s=r);let n=this.load(i,this._options,!1);return s||n("script").remove(),[...n.root()[0].children]}function root(){return this(this._root)}function contains(i,r){if(r===i)return!1;let s=r;for(;s&&s!==s.parent;)if((s=s.parent)===i)return!0;return!1}function extract(i){return this.root().extract(i)}function merge(i,r){if(!isArrayLike(i)||!isArrayLike(r))return;let s=i.length,n=+r.length;for(let a=0;a<n;a++)i[s++]=r[a];return i.length=s,i}function isArrayLike(i){if(Array.isArray(i))return!0;
22if("object"!=typeof i||null===i||!("length"in i)||"number"!=typeof i.length||i.length<0)return!1;for(let r=0;r<i.length;r++)if(!(r in i))return!1;return!0}__turbopack_context__.s(["contains",0,contains,"extract",0,extract,"html",0,html,"merge",0,merge,"parseHTML",0,parseHTML,"root",0,root,"text",0,text,"xml",0,xml],70107);var __TURBOPACK__imported__module__70107__=__turbopack_context__.i(70107);function isCheerio(i){return null!=i.cheerio}function camelCase(i){return i.replace(/[._-](\w|$)/g,(i,r)=>r.toUpperCase())}function cssCase(i){return i.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(i,r){let s=i.length;for(let n=0;n<s;n++)r(i[n],n);return i}function isHtml(i){if("string"!=typeof i)return!1;let r=i.indexOf("<");if(-1===r||r>i.length-3)return!1;let s=i.charCodeAt(r+1);return(s>=CharacterCode.LowerA&&s<=CharacterCode.LowerZ||s>=CharacterCode.UpperA&&s<=CharacterCode.UpperZ||s===CharacterCode.Exclamation)&&i.includes(">",r+2)}!function(i){i[i.LowerA=97]="LowerA",i[i.LowerZ=122]="LowerZ",i[i.UpperA=65]="UpperA",i[i.UpperZ=90]="UpperZ",i[i.Exclamation=33]="Exclamation"}(CharacterCode||(CharacterCode={}));let decodeMap1=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint1=null!=(_a1=String.fromCodePoint)?_a1:i=>{let r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|1023&i),r+=String.fromCharCode(i)};function replaceCodePoint1(i){var r;return i>=55296&&i<=57343||i>1114111?65533:null!=(r=decodeMap1.get(i))?r:i}function decodeCodePoint1(i){return fromCodePoint1(replaceCodePoint1(i))}var __TURBOPACK__imported__module__38652__=__turbopack_context__.i(38652);function decodeBase64(i){let r="function"==typeof atob?atob(i):"function"==typeof __TURBOPACK__imported__module__38652__.Buffer.from?__TURBOPACK__imported__module__38652__.Buffer.from(i,"base64").toString("binary"):new __TURBOPACK__imported__module__38652__.Buffer(i,"base64").toString("binary"),s=-2&r.length,n=new Uint16Array(s/2);for(let i=0,a=0;i<s;i+=2){let s=r.charCodeAt(i),o=r.charCodeAt(i+1);n[a++]=s|o<<8}return n}let htmlDecodeTree=
vendor: 32,216 bytes, line 22
22decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")
22,xmlDecodeTree=decodeBase64("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");!function(i){i[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.FLAG13=8192]="FLAG13",i[i.BRANCH_LENGTH=8064]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE"}(BinTrieFlags1||(BinTrieFlags1={})),function(i){i[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z"}(CharCodes1||(CharCodes1={}));let TO_LOWER_BIT1=32;function isNumber1(i){return i>=CharCodes1.ZERO&&i<=CharCodes1.NINE}function isHexadecimalCharacter1(i){return i>=CharCodes1.UPPER_A&&i<=CharCodes1.UPPER_F||i>=CharCodes1.LOWER_A&&i<=CharCodes1.LOWER_F}function isAsciiAlphaNumeric1(i){return i>=CharCodes1.UPPER_A&&i<=CharCodes1.UPPER_Z||i>=CharCodes1.LOWER_A&&i<=CharCodes1.LOWER_Z||isNumber1(i)}function isEntityInAttributeInvalidEnd1(i){return i===CharCodes1.EQUALS||isAsciiAlphaNumeric1(i)}!function(i){i[i.EntityStart=0]="EntityStart",i[i.NumericStart=1]="NumericStart",i[i.NumericDecimal=2]="NumericDecimal",i[i.NumericHex=3]="NumericHex",i[i.NamedEntity=4]="NamedEntity"}(EntityDecoderState1||(EntityDecoderState1={})),function(i){i[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute"}(DecodingMode2||(DecodingMode2={}));class EntityDecoder1{constructor(i,r,s){this.decodeTree=i,this.emitCodePoint=r,this.errors=s,this.state=EntityDecoderState1.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode2.Strict,this.runConsumed=0}startEntity(i){this.decodeMode=i,this.state=EntityDecoderState1.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(i,r){switch(this.state){case EntityDecoderState1.EntityStart:if(i.charCodeAt(r)===CharCodes1.NUM)return this.state=EntityDecoderState1.NumericStart,this.consumed+=1,this.stateNumericStart(i,r+1);return this.state=EntityDecoderState1.NamedEntity,this.stateNamedEntity(i,r);case EntityDecoderState1.NumericStart:return this.stateNumericStart(i,r);case EntityDecoderState1.NumericDecimal:return this.stateNumericDecimal(i,r);case EntityDecoderState1.NumericHex:return this.stateNumericHex(i,r);case EntityDecoderState1.NamedEntity:return this.stateNamedEntity(i,r)}}stateNumericStart(i,r){return r>=i.length?-1:(i.charCodeAt(r)|TO_LOWER_BIT1)===CharCodes1.LOWER_X?(this.state=EntityDecoderState1.NumericHex,this.consumed+=1,this.stateNumericHex(i,r+1)):(this.state=EntityDecoderState1.NumericDecimal,this.stateNumericDecimal(i,r))}stateNumericHex(i,r){for(;r<i.length;){let s=i.charCodeAt(r);if(!(isNumber1(s)||isHexadecimalCharacter1(s)))return this.emitNumericEntity(s,3);{let i=s<=CharCodes1.NINE?s-CharCodes1.ZERO:(s|TO_LOWER_BIT1)-CharCodes1.LOWER_A+10;this.result=16*this.result+i,this.consumed++,r++}}return -1}stateNumericDecimal(i,r){for(;r<i.length;){let s=i.charCodeAt(r);if(!isNumber1(s))return this.emitNumericEntity(s,2);this.result=10*this.result+(s-CharCodes1.ZERO),this.consumed++,r++}return -1}emitNumericEntity(i,r){var s;if(this.consumed<=r)return null==(s=this.errors)||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===CharCodes1.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode2.Strict)return 0;return this.emitCodePoint(replaceCodePoint1(this.result),this.consumed),this.errors&&(i!==CharCodes1.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,r){let{decodeTree:s}=this,n=s[this.treeIndex],a=(n&BinTrieFlags1.VALUE_LENGTH)>>14;for(;r<i.length;){if(0===a&&(n&BinTrieFlags1.FLAG13)!=0){let o=(n&BinTrieFlags1.BRANCH_LENGTH)>>7;if(0===this.runConsumed){let s=n&BinTrieFlags1.JUMP_TABLE;if(i.charCodeAt(r)!==s)return 0===this.result?0:this.emitNotTerminatedNamedEntity();r++,this.excess++,this.runConsumed++}for(;this.runConsumed<o;){if(r>=i.length)return -1;let n=this.runConsumed-1,a=s[this.treeIndex+1+(n>>1)],o=n%2==0?255&a:a>>8&255;if(i.charCodeAt(r)!==o)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();r++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(o>>1),a=((n=s[this.treeIndex])&BinTrieFlags1.VALUE_LENGTH)>>14}if(r>=i.length)break;let o=i.charCodeAt(r);
22if(o===CharCodes1.SEMI&&0!==a&&(n&BinTrieFlags1.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);if(this.treeIndex=determineBranch1(s,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return 0===this.result||this.decodeMode===DecodingMode2.Attribute&&(0===a||isEntityInAttributeInvalidEnd1(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((n=s[this.treeIndex])&BinTrieFlags1.VALUE_LENGTH)>>14)){if(o===CharCodes1.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==DecodingMode2.Strict&&(n&BinTrieFlags1.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}r++,this.excess++}return -1}emitNotTerminatedNamedEntity(){var i;let{result:r,decodeTree:s}=this,n=(s[r]&BinTrieFlags1.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),null==(i=this.errors)||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,r,s){let{decodeTree:n}=this;return this.emitCodePoint(1===r?n[i]&~(BinTrieFlags1.VALUE_LENGTH|BinTrieFlags1.FLAG13):n[i+1],s),3===r&&this.emitCodePoint(n[i+2],s),s}end(){var i;switch(this.state){case EntityDecoderState1.NamedEntity:return 0!==this.result&&(this.decodeMode!==DecodingMode2.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState1.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState1.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState1.NumericStart:return null==(i=this.errors)||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState1.EntityStart:return 0}}}function getDecoder1(i){let r="",s=new EntityDecoder1(i,i=>r+=fromCodePoint1(i));return function(i,n){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){r+=i.slice(a,o),s.startEntity(n);let l=s.write(i,o+1);if(l<0){a=o+s.end();break}a=o+l,o=0===l?a+1:a}let l=r+i.slice(a);return r="",l}}function determineBranch1(i,r,s,n){let a=(r&BinTrieFlags1.BRANCH_LENGTH)>>7,o=r&BinTrieFlags1.JUMP_TABLE;if(0===a)return 0!==o&&n===o?s:-1;if(o){let r=n-o;return r<0||r>=a?-1:i[s+r]-1}let l=a+1>>1,h=0,c=a-1;for(;h<=c;){let r=h+c>>>1,a=i[s+(r>>1)]>>(1&r)*8&255;if(a<n)h=r+1;else{if(!(a>n))return i[s+l+r];c=r-1}}return -1}let htmlDecoder1=getDecoder1(htmlDecodeTree),xmlDecoder1=getDecoder1(xmlDecodeTree);function decodeHTML2(i,r=DecodingMode2.Legacy){return htmlDecoder1(i,r)}function decodeHTMLAttribute1(i){return htmlDecoder1(i,DecodingMode2.Attribute)}function decodeHTMLStrict1(i){return htmlDecoder1(i,DecodingMode2.Strict)}function decodeXML2(i){return xmlDecoder1(i,DecodingMode2.Strict)}function isWhitespace(i){return i===CharCodes2.Space||i===CharCodes2.NewLine||i===CharCodes2.Tab||i===CharCodes2.FormFeed||i===CharCodes2.CarriageReturn}function isEndOfTagSection(i){return i===CharCodes2.Slash||i===CharCodes2.Gt||isWhitespace(i)}function isASCIIAlpha(i){return i>=CharCodes2.LowerA&&i<=CharCodes2.LowerZ||i>=CharCodes2.UpperA&&i<=CharCodes2.UpperZ}!function(i){i[i.Tab=9]="Tab",i[i.NewLine=10]="NewLine",i[i.FormFeed=12]="FormFeed",i[i.CarriageReturn=13]="CarriageReturn",
22i[i.Space=32]="Space",i[i.ExclamationMark=33]="ExclamationMark",i[i.Number=35]="Number",i[i.Amp=38]="Amp",i[i.SingleQuote=39]="SingleQuote",i[i.DoubleQuote=34]="DoubleQuote",i[i.Dash=45]="Dash",i[i.Slash=47]="Slash",i[i.Zero=48]="Zero",i[i.Nine=57]="Nine",i[i.Semi=59]="Semi",i[i.Lt=60]="Lt",i[i.Eq=61]="Eq",i[i.Gt=62]="Gt",i[i.Questionmark=63]="Questionmark",i[i.UpperA=65]="UpperA",i[i.LowerA=97]="LowerA",i[i.UpperF=70]="UpperF",i[i.LowerF=102]="LowerF",i[i.UpperZ=90]="UpperZ",i[i.LowerZ=122]="LowerZ",i[i.LowerX=120]="LowerX",i[i.OpeningSquareBracket=91]="OpeningSquareBracket"}(CharCodes2||(CharCodes2={})),function(i){i[i.Text=1]="Text",i[i.BeforeTagName=2]="BeforeTagName",i[i.InTagName=3]="InTagName",i[i.InSelfClosingTag=4]="InSelfClosingTag",i[i.BeforeClosingTagName=5]="BeforeClosingTagName",i[i.InClosingTagName=6]="InClosingTagName",i[i.AfterClosingTagName=7]="AfterClosingTagName",i[i.BeforeAttributeName=8]="BeforeAttributeName",i[i.InAttributeName=9]="InAttributeName",i[i.AfterAttributeName=10]="AfterAttributeName",i[i.BeforeAttributeValue=11]="BeforeAttributeValue",i[i.InAttributeValueDq=12]="InAttributeValueDq",i[i.InAttributeValueSq=13]="InAttributeValueSq",i[i.InAttributeValueNq=14]="InAttributeValueNq",i[i.BeforeDeclaration=15]="BeforeDeclaration",i[i.InDeclaration=16]="InDeclaration",i[i.InProcessingInstruction=17]="InProcessingInstruction",i[i.BeforeComment=18]="BeforeComment",i[i.CDATASequence=19]="CDATASequence",i[i.InSpecialComment=20]="InSpecialComment",i[i.InCommentLike=21]="InCommentLike",i[i.BeforeSpecialS=22]="BeforeSpecialS",i[i.BeforeSpecialT=23]="BeforeSpecialT",i[i.SpecialStartSequence=24]="SpecialStartSequence",i[i.InSpecialTag=25]="InSpecialTag",i[i.InEntity=26]="InEntity"}(State||(State={})),function(i){i[i.NoValue=0]="NoValue",i[i.Unquoted=1]="Unquoted",i[i.Single=2]="Single",i[i.Double=3]="Double"}(QuoteType||(QuoteType={}));let Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class Tokenizer{constructor({xmlMode:i=!1,decodeEntities:r=!0},s){this.cbs=s,this.state=State.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=i,this.decodeEntities=r,this.entityDecoder=new EntityDecoder1(i?xmlDecodeTree:htmlDecodeTree,(i,r)=>this.emitCodePoint(i,r))}reset(){this.state=State.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(i){this.offset+=this.buffer.length,this.buffer=i,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(i){i===CharCodes2.Lt||!this.decodeEntities&&this.fastForwardTo(CharCodes2.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&i===CharCodes2.Amp&&this.startEntity()}stateSpecialStartSequence(i){let r=this.sequenceIndex===this.currentSequence.length;if(r?isEndOfTagSection(i):(32|i)===this.currentSequence[this.sequenceIndex]){if(!r)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=State.InTagName,this.stateInTagName(i)}stateInSpecialTag(i){if(this.sequenceIndex===this.currentSequence.length){if(i===CharCodes2.Gt||isWhitespace(i)){let r=this.index-this.currentSequence.length;if(this.sectionStart<r){let i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.isSpecial=!1,this.sectionStart=r+2,this.stateInClosingTagName(i);return}this.sequenceIndex=0}(32|i)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Sequences.TitleEnd?this.decodeEntities&&i===CharCodes2.Amp&&this.startEntity():this.fastForwardTo(CharCodes2.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(i===CharCodes2.Lt)}stateCDATASequence(i){i===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=State.InCommentLike,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=State.InDeclaration,this.stateInDeclaration(i))}fastForwardTo(i){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===i)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(i){i===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=State.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):i!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(i){return this.xmlMode?!isEndOfTagSection(i):isASCIIAlpha(i)}startSpecial(i,r){this.isSpecial=!0,this.currentSequence=i,this.sequenceIndex=r,this.state=State.SpecialStartSequence}stateBeforeTagName(i){if(i===CharCodes2.ExclamationMark)this.state=State.BeforeDeclaration,this.sectionStart=this.index+1;else if(i===CharCodes2.Questionmark)this.state=State.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(i)){let r=32|i;this.sectionStart=this.index,this.xmlMode?this.state=State.InTagName:r===Sequences.ScriptEnd[2]?this.state=State.BeforeSpecialS:r===Sequences.TitleEnd[2]||r===Sequences.XmpEnd[2]?this.state=State.BeforeSpecialT:this.state=State.InTagName}else i===CharCodes2.Slash?this.state=State.BeforeClosingTagName:(this.state=State.Text,this.stateText(i))}stateInTagName(i){isEndOfTagSection(i)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=State.BeforeAttributeName,this.stateBeforeAttributeName(i))}stateBeforeClosingTagName(i){isWhitespace(i)||(i===CharCodes2.Gt?this.state=State.Text:(this.state=this.isTagStartChar(i)?State.InClosingTagName:State.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(i){(i===CharCodes2.Gt||isWhitespace(i))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=State.AfterClosingTagName,this.stateAfterClosingTagName(i))}stateAfterClosingTagName(i){(i===CharCodes2.Gt||this.fastForwardTo(CharCodes2.Gt))&&(this.state=State.Text,this.sectionStart=this.index+1)}
22stateBeforeAttributeName(i){i===CharCodes2.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=State.InSpecialTag,this.sequenceIndex=0):this.state=State.Text,this.sectionStart=this.index+1):i===CharCodes2.Slash?this.state=State.InSelfClosingTag:isWhitespace(i)||(this.state=State.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(i){i===CharCodes2.Gt?(this.cbs.onselfclosingtag(this.index),this.state=State.Text,this.sectionStart=this.index+1,this.isSpecial=!1):isWhitespace(i)||(this.state=State.BeforeAttributeName,this.stateBeforeAttributeName(i))}stateInAttributeName(i){(i===CharCodes2.Eq||isEndOfTagSection(i))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=State.AfterAttributeName,this.stateAfterAttributeName(i))}stateAfterAttributeName(i){i===CharCodes2.Eq?this.state=State.BeforeAttributeValue:i===CharCodes2.Slash||i===CharCodes2.Gt?(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.sectionStart=-1,this.state=State.BeforeAttributeName,this.stateBeforeAttributeName(i)):isWhitespace(i)||(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.state=State.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(i){i===CharCodes2.DoubleQuote?(this.state=State.InAttributeValueDq,this.sectionStart=this.index+1):i===CharCodes2.SingleQuote?(this.state=State.InAttributeValueSq,this.sectionStart=this.index+1):isWhitespace(i)||(this.sectionStart=this.index,this.state=State.InAttributeValueNq,this.stateInAttributeValueNoQuotes(i))}handleInAttributeValue(i,r){i===r||!this.decodeEntities&&this.fastForwardTo(r)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===CharCodes2.DoubleQuote?QuoteType.Double:QuoteType.Single,this.index+1),this.state=State.BeforeAttributeName):this.decodeEntities&&i===CharCodes2.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(i){this.handleInAttributeValue(i,CharCodes2.DoubleQuote)}stateInAttributeValueSingleQuotes(i){this.handleInAttributeValue(i,CharCodes2.SingleQuote)}stateInAttributeValueNoQuotes(i){isWhitespace(i)||i===CharCodes2.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(QuoteType.Unquoted,this.index),this.state=State.BeforeAttributeName,this.stateBeforeAttributeName(i)):this.decodeEntities&&i===CharCodes2.Amp&&this.startEntity()}stateBeforeDeclaration(i){i===CharCodes2.OpeningSquareBracket?(this.state=State.CDATASequence,this.sequenceIndex=0):this.state=i===CharCodes2.Dash?State.BeforeComment:State.InDeclaration}stateInDeclaration(i){(i===CharCodes2.Gt||this.fastForwardTo(CharCodes2.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=State.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(i){(i===CharCodes2.Gt||this.fastForwardTo(CharCodes2.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=State.Text,this.sectionStart=this.index+1)}stateBeforeComment(i){i===CharCodes2.Dash?(this.state=State.InCommentLike,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=State.InDeclaration}stateInSpecialComment(i){(i===CharCodes2.Gt||this.fastForwardTo(CharCodes2.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=State.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(i){let r=32|i;r===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):r===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=State.InTagName,this.stateInTagName(i))}stateBeforeSpecialT(i){switch(32|i){case Sequences.TitleEnd[3]:this.startSpecial(Sequences.TitleEnd,4);break;case Sequences.TextareaEnd[3]:this.startSpecial(Sequences.TextareaEnd,4);break;case Sequences.XmpEnd[3]:this.startSpecial(Sequences.XmpEnd,4);break;default:this.state=State.InTagName,this.stateInTagName(i)}}startEntity(){this.baseState=this.state,this.state=State.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?DecodingMode2.Strict:this.baseState===State.Text||this.baseState===State.InSpecialTag?DecodingMode2.Legacy:DecodingMode2.Attribute)}stateInEntity(){let i=this.index-this.offset,r=this.entityDecoder.write(this.buffer,i);if(r>=0)this.state=this.baseState,0===r&&(this.index-=1);else{if(i<this.buffer.length&&this.buffer.charCodeAt(i)===CharCodes2.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State.Text||this.state===State.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State.InAttributeValueDq||this.state===State.InAttributeValueSq||this.state===State.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let i=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case State.Text:this.stateText(i);break;case State.SpecialStartSequence:this.stateSpecialStartSequence(i);break;case State.InSpecialTag:this.stateInSpecialTag(i);break;case State.CDATASequence:this.stateCDATASequence(i);break;case State.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(i);break;case State.InAttributeName:this.stateInAttributeName(i);break;case State.InCommentLike:this.stateInCommentLike(i);break;case State.InSpecialComment:this.stateInSpecialComment(i);break;case State.BeforeAttributeName:this.stateBeforeAttributeName(i);break;case State.InTagName:this.stateInTagName(i);break;case State.InClosingTagName:this.stateInClosingTagName(i);break;case State.BeforeTagName:this.stateBeforeTagName(i);break;case State.AfterAttributeName:this.stateAfterAttributeName(i);break;case State.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(i);break;case State.BeforeAttributeValue:this.stateBeforeAttributeValue(i);break;case State.BeforeClosingTagName:this.stateBeforeClosingTagName(i);break;case State.AfterClosingTagName:this.stateAfterClosingTagName(i);break;case State.BeforeSpecialS:this.stateBeforeSpecialS(i);break;case State.BeforeSpecialT:this.stateBeforeSpecialT(i);break;case State.InAttributeValueNq:this.stateInAttributeValueNoQuotes(i);break;case State.InSelfClosingTag:this.stateInSelfClosingTag(i);break;case State.InDeclaration:this.stateInDeclaration(i);break;case State.BeforeDeclaration:this.stateBeforeDeclaration(i);break;case State.BeforeComment:this.stateBeforeComment(i);break;case State.InProcessingInstruction:this.stateInProcessingInstruction(i);break;case State.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===State.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let i=this.buffer.length+this.offset;this.sectionStart>=i||(this.state===State.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,i,0):this.cbs.oncomment(this.sectionStart,i,0):this.state===State.InTagName||this.state===State.BeforeAttributeName||this.state===State.BeforeAttributeValue||this.state===State.AfterAttributeName||this.state===State.InAttributeName||this.state===State.InAttributeValueSq||this.state===State.InAttributeValueDq||this.state===State.InAttributeValueNq||this.state===State.InClosingTagName||this.cbs.ontext(this.sectionStart,i))}emitCodePoint(i,r){this.baseState!==State.Text&&this.baseState!==State.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(i)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(i,this.sectionStart))}}let formTags=new Set(["input","option","optgroup","select","button","datalist","textarea"]),pTag=new Set(["p"]),tableSectionTags=new Set(["thead","tbody"]),ddtTags=new Set(["dd","dt"]),rtpTags=new Set(["rt","rp"]),openImpliesClose=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",pTag],["h1",pTag],["h2",pTag],["h3",pTag],["h4",pTag],["h5",pTag],["h6",pTag],["select",formTags],["input",formTags],["output",formTags],["button",formTags],["datalist",formTags],["textarea",formTags],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",ddtTags],["dt",ddtTags],["address",pTag],["article",pTag],["aside",pTag],["blockquote",pTag],["details",pTag],["div",pTag],["dl",pTag],["fieldset",pTag],["figcaption",pTag],["figure",pTag],["footer",pTag],["form",pTag],["header",pTag],["hr",pTag],["main",pTag],["nav",pTag],["ol",pTag],["pre",pTag],["section",pTag],["table",pTag],["ul",pTag],["rt",rtpTags],["rp",rtpTags],["tbody",tableSectionTags],["tfoot",tableSectionTags]]),voidElements=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
22img","input","isindex","keygen","link","meta","param","source","track","wbr"]),foreignContextElements=new Set(["math","svg"]),htmlIntegrationElements=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),reNameEnd=/\s|\//;class Parser{constructor(i,r={}){var s,n,a,o,l,h;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=i?i:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!=(s=r.lowerCaseTags)?s:this.htmlMode,this.lowerCaseAttributeNames=null!=(n=r.lowerCaseAttributeNames)?n:this.htmlMode,this.recognizeSelfClosing=null!=(a=r.recognizeSelfClosing)?a:!this.htmlMode,this.tokenizer=new(null!=(o=r.Tokenizer)?o:Tokenizer)(this.options,this),this.foreignContext=[!this.htmlMode],null==(h=(l=this.cbs).onparserinit)||h.call(l,this)}ontext(i,r){var s,n;let a=this.getSlice(i,r);this.endIndex=r-1,null==(n=(s=this.cbs).ontext)||n.call(s,a),this.startIndex=r}ontextentity(i,r){var s,n;this.endIndex=r-1,null==(n=(s=this.cbs).ontext)||n.call(s,fromCodePoint1(i)),this.startIndex=r}isVoidElement(i){return this.htmlMode&&voidElements.has(i)}onopentagname(i,r){this.endIndex=r;let s=this.getSlice(i,r);this.lowerCaseTagNames&&(s=s.toLowerCase()),this.emitOpenTag(s)}emitOpenTag(i){var r,s,n,a;this.openTagStart=this.startIndex,this.tagname=i;let o=this.htmlMode&&openImpliesClose.get(i);if(o)for(;this.stack.length>0&&o.has(this.stack[0]);){let i=this.stack.shift();null==(s=(r=this.cbs).onclosetag)||s.call(r,i,!0)}!this.isVoidElement(i)&&(this.stack.unshift(i),this.htmlMode&&(foreignContextElements.has(i)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(i)&&this.foreignContext.unshift(!1))),null==(a=(n=this.cbs).onopentagname)||a.call(n,i),this.cbs.onopentag&&(this.attribs={})}endOpenTag(i){var r,s;this.startIndex=this.openTagStart,this.attribs&&(null==(s=(r=this.cbs).onopentag)||s.call(r,this.tagname,this.attribs,i),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(i){this.endIndex=i,this.endOpenTag(!1),this.startIndex=i+1}onclosetag(i,r){var s,n,a,o,l,h,c,d;this.endIndex=r;let u=this.getSlice(i,r);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(foreignContextElements.has(u)||htmlIntegrationElements.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&"br"===u&&(null==(o=(a=this.cbs).onopentagname)||o.call(a,"br"),null==(h=(l=this.cbs).onopentag)||h.call(l,"br",{},!0),null==(d=(c=this.cbs).onclosetag)||d.call(c,"br",!1));else{let i=this.stack.indexOf(u);if(-1!==i)for(let r=0;r<=i;r++){let a=this.stack.shift();null==(n=(s=this.cbs).onclosetag)||n.call(s,a,r!==i)}else this.htmlMode&&"p"===u&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(i){this.endIndex=i,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=i+1):this.onopentagend(i)}closeCurrentTag(i){var r,s;let n=this.tagname;this.endOpenTag(i),this.stack[0]===n&&(null==(s=(r=this.cbs).onclosetag)||s.call(r,n,!i),this.stack.shift())}onattribname(i,r){this.startIndex=i;let s=this.getSlice(i,r);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(i,r){this.attribvalue+=this.getSlice(i,r)}onattribentity(i){this.attribvalue+=fromCodePoint1(i)}onattribend(i,r){var s,n;this.endIndex=r,null==(n=(s=this.cbs).onattribute)||n.call(s,this.attribname,this.attribvalue,i===QuoteType.Double?'"':i===QuoteType.Single?"'":i===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(i){let r=i.search(reNameEnd),s=r<0?i:i.substr(0,r);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(i,r){this.endIndex=r;let s=this.getSlice(i,r);if(this.cbs.onprocessinginstruction){let i=this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${i}`,`!${s}`)}this.startIndex=r+1}
22onprocessinginstruction(i,r){this.endIndex=r;let s=this.getSlice(i,r);if(this.cbs.onprocessinginstruction){let i=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${i}`,`?${s}`)}this.startIndex=r+1}oncomment(i,r,s){var n,a,o,l;this.endIndex=r,null==(a=(n=this.cbs).oncomment)||a.call(n,this.getSlice(i,r-s)),null==(l=(o=this.cbs).oncommentend)||l.call(o),this.startIndex=r+1}oncdata(i,r,s){var n,a,o,l,h,c,d,u,p,m;this.endIndex=r;let g=this.getSlice(i,r-s);!this.htmlMode||this.options.recognizeCDATA?(null==(a=(n=this.cbs).oncdatastart)||a.call(n),null==(l=(o=this.cbs).ontext)||l.call(o,g),null==(c=(h=this.cbs).oncdataend)||c.call(h)):(null==(u=(d=this.cbs).oncomment)||u.call(d,`[CDATA[${g}]]`),null==(m=(p=this.cbs).oncommentend)||m.call(p)),this.startIndex=r+1}onend(){var i,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}null==(r=(i=this.cbs).onend)||r.call(i)}reset(){var i,r,s,n;null==(r=(i=this.cbs).onreset)||r.call(i),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(n=(s=this.cbs).onparserinit)||n.call(s,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(i){this.reset(),this.end(i)}getSlice(i,r){for(;i-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(i-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,r-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(i){var r,s;if(this.ended){null==(s=(r=this.cbs).onerror)||s.call(r,Error(".write() after done!"));return}this.buffers.push(i),this.tokenizer.running&&(this.tokenizer.write(i),this.writeIndex++)}end(i){var r,s;if(this.ended){null==(s=(r=this.cbs).onerror)||s.call(r,Error(".end() after done!"));return}i&&this.write(i),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(i){this.write(i)}done(i){this.end(i)}}function parseDocument(i,r){let s=new DomHandler(void 0,r);return new Parser(s,r).end(i),s.root}function parseDOM(i,r){return parseDocument(i,r).children}function createDocumentStream(i,r,s){let n=new DomHandler(r=>i(r,n.root),r,s);return new Parser(n,r)}function createDomStream(i,r,s){return new Parser(new DomHandler(i,r,s),r)}let parseFeedDefaultOptions={xmlMode:!0};function parseFeed(i,r=parseFeedDefaultOptions){return getFeed(parseDOM(i,r))}var __TURBOPACK__imported__module__25564__=__turbopack_context__.i(25564),__TURBOPACK__imported__module__25564__=__TURBOPACK__imported__module__25564__;let hasOwn=null!=(_a2=Object.hasOwn)?_a2:(i,r)=>Object.prototype.hasOwnProperty.call(i,r),rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr(i,r,s){var n;if(i&&isTag1(i)){if(null!=(n=i.attribs)||(i.attribs={}),!r)return i.attribs;if(hasOwn(i.attribs,r))return!s&&rboolean.test(r)?r:i.attribs[r];if("option"===i.name&&"value"===r)return text(i.children);if("input"===i.name&&("radio"===i.attribs.type||"checkbox"===i.attribs.type)&&"value"===r)return"on"}}function setAttr(i,r,s){null===s?removeAttribute(i,r):i.attribs[r]=`${s}`}function attr(i,r){if("object"==typeof i||void 0!==r){if("function"==typeof r){if("string"!=typeof i)throw Error("Bad combination of arguments.");return domEach(this,(s,n)=>{isTag1(s)&&setAttr(s,i,r.call(s,n,s.attribs[i]))})}return domEach(this,s=>{if(isTag1(s))if("object"==typeof i)for(let r of Object.keys(i)){let n=i[r];setAttr(s,r,n)}else setAttr(s,i,r)})}return arguments.length>1?this:getAttr(this[0],i,this.options.xmlMode)}function getProp(i,r,s){return r in i?i[r]:!s&&rboolean.test(r)?void 0!==getAttr(i,r,!1):getAttr(i,r,s)}
22function setProp(i,r,s,n){r in i?i[r]=s:setAttr(i,r,!n&&rboolean.test(r)?s?"":null:`${s}`)}function prop(i,r){var s;if("string"==typeof i&&void 0===r){let r=this[0];if(!r)return;switch(i){case"style":{let i=this.css(),r=Object.keys(i);for(let s=0;s<r.length;s++)i[s]=r[s];return i.length=r.length,i}case"tagName":case"nodeName":if(!isTag1(r))return;return r.name.toUpperCase();case"href":case"src":{if(!isTag1(r))return;let n=null==(s=r.attribs)?void 0:s[i];if("u">typeof URL&&("href"===i&&("a"===r.tagName||"link"===r.tagName)||"src"===i&&("img"===r.tagName||"iframe"===r.tagName||"audio"===r.tagName||"video"===r.tagName||"source"===r.tagName))&&void 0!==n&&this.options.baseURI)return new URL(n,this.options.baseURI).href;return n}case"innerText":return innerText(r);case"textContent":return textContent(r);case"outerHTML":if(r.type===__TURBOPACK__imported__module__25564__.Root)return this.html();return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:if(!isTag1(r))return;return getProp(r,i,this.options.xmlMode)}}if("object"==typeof i||void 0!==r){if("function"==typeof r){if("object"==typeof i)throw TypeError("Bad combination of arguments.");return domEach(this,(s,n)=>{isTag1(s)&&setProp(s,i,r.call(s,n,getProp(s,i,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,s=>{if(isTag1(s))if("object"==typeof i)for(let r of Object.keys(i)){let n=i[r];setProp(s,r,n,this.options.xmlMode)}else setProp(s,i,r,this.options.xmlMode)})}}function setData(i,r,s){var n;null!=(n=i.data)||(i.data={}),"object"==typeof r?Object.assign(i.data,r):"string"==typeof r&&void 0!==s&&(i.data[r]=s)}function readAllData(i){for(let r of Object.keys(i.attribs)){if(!r.startsWith(dataAttrPrefix))continue;let s=camelCase(r.slice(dataAttrPrefix.length));hasOwn(i.data,s)||(i.data[s]=parseDataValue(i.attribs[r]))}return i.data}function readData(i,r){let s=dataAttrPrefix+cssCase(r),n=i.data;return hasOwn(n,r)?n[r]:hasOwn(i.attribs,s)?n[r]=parseDataValue(i.attribs[s]):void 0}function parseDataValue(i){if("null"===i)return null;if("true"===i)return!0;if("false"===i)return!1;let r=Number(i);if(i===String(r))return r;if(rbrace.test(i))try{return JSON.parse(i)}catch{}return i}function data(i,r){var s;let n=this[0];if(!n||!isTag1(n))return;let a=n;return(null!=(s=a.data)||(a.data={}),null==i)?readAllData(a):"object"==typeof i||void 0!==r?(domEach(this,s=>{isTag1(s)&&("object"==typeof i?setData(s,i):setData(s,i,r))}),this):readData(a,i)}function val(i){let r=0==arguments.length,s=this[0];if(!s||!isTag1(s))return r?void 0:this;switch(s.name){case"textarea":return this.text(i);case"select":{let s=this.find("option:selected");if(!r){if(null==this.attr("multiple")&&"object"==typeof i)return this;for(let r of(this.find("option").removeAttr("selected"),"object"==typeof i?i:[i]))this.find(`option[value="${r}"]`).attr("selected","");return this}return this.attr("multiple")?s.toArray().map(i=>text(i.children)):s.attr("value")}case"button":case"input":case"option":return r?this.attr("value"):this.attr("value",i)}}function removeAttribute(i,r){i.attribs&&hasOwn(i.attribs,r)&&delete i.attribs[r]}function splitNames(i){return i?i.trim().split(rspace):[]}function removeAttr(i){for(let r of splitNames(i))domEach(this,i=>{isTag1(i)&&removeAttribute(i,r)});return this}function hasClass(i){return this.toArray().some(r=>{let s=isTag1(r)&&r.attribs.class,n=-1;if(s&&i.length>0)for(;(n=s.indexOf(i,n+1))>-1;){let r=n+i.length;if((0===n||rspace.test(s[n-1]))&&(r===s.length||rspace.test(s[r])))return!0}return!1})}function addClass(i){if("function"==typeof i)return domEach(this,(r,s)=>{if(isTag1(r)){let n=r.attribs.class||"";addClass.call([r],i.call(r,s,n))}});if(!i||"string"!=typeof i)return this;let r=i.split(rspace),s=this.length;for(let i=0;i<s;i++){let s=this[i];if(!isTag1(s))continue;let n=getAttr(s,"class",!1);if(n){let i=` ${n} `;for(let s of r){let r=`${s} `;i.includes(` ${r}`)||(i+=r)}setAttr(s,"class",i.trim())}else setAttr(s,"class",r.join(" ").trim())}return this}function removeClass(i){if("function"==typeof i)return domEach(this,(r,s)=>{isTag1(r)&&removeClass.call([r],i.call(r,s,r.attribs.class||""))});let r=splitNames(i),s=r.length,n=0==arguments.length;return domEach(this,i=>
22{if(isTag1(i))if(n)i.attribs.class="";else{let n=splitNames(i.attribs.class),a=!1;for(let i=0;i<s;i++){let s=n.indexOf(r[i]);-1!==s&&(n.splice(s,1),a=!0,i--)}a&&(i.attribs.class=n.join(" "))}})}function toggleClass(i,r){if("function"==typeof i)return domEach(this,(s,n)=>{isTag1(s)&&toggleClass.call([s],i.call(s,n,s.attribs.class||"",r),r)});if(!i||"string"!=typeof i)return this;let s=i.split(rspace),n=s.length,a="boolean"==typeof r?r?1:-1:0,o=this.length;for(let i=0;i<o;i++){let r=this[i];if(!isTag1(r))continue;let o=splitNames(r.attribs.class);for(let i=0;i<n;i++){let r=o.indexOf(s[i]);a>=0&&-1===r?o.push(s[i]):a<=0&&-1!==r&&o.splice(r,1)}r.attribs.class=o.join(" ")}return this}__turbopack_context__.s(["addClass",0,addClass,"attr",0,attr,"data",0,data,"hasClass",0,hasClass,"prop",0,prop,"removeAttr",0,removeAttr,"removeClass",0,removeClass,"toggleClass",0,toggleClass,"val",0,val],90587);var __TURBOPACK__imported__module__90587__=__turbopack_context__.i(90587);!function(i){i.Attribute="attribute",i.Pseudo="pseudo",i.PseudoElement="pseudo-element",i.Tag="tag",i.Universal="universal",i.Adjacent="adjacent",i.Child="child",i.Descendant="descendant",i.Parent="parent",i.Sibling="sibling",i.ColumnCombinator="column-combinator"}(SelectorType||(SelectorType={}));let IgnoreCaseMode={};!function(i){i.Any="any",i.Element="element",i.End="end",i.Equals="equals",i.Exists="exists",i.Hyphen="hyphen",i.Not="not",i.Start="start"}(AttributeAction||(AttributeAction={}));let reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal(i){switch(i.type){case SelectorType.Adjacent:case SelectorType.Child:case SelectorType.De
22scendant:case SelectorType.Parent:case SelectorType.Sibling:case SelectorType.ColumnCombinator:return!0;default:return!1}}let stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(i,r,s){let n=parseInt(r,16)-65536;return n!=n||s?r:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function unescapeCSS(i){return i.replace(reEscape,funescape)}function isQuote(i){return 39===i||34===i}function isWhitespace1(i){return 32===i||9===i||10===i||12===i||13===i}function parse(i){let r=[],s=parseSelector(r,`${i}`,0);if(s<i.length)throw Error(`Unmatched selector: ${i.slice(s)}`);return r}function parseSelector(i,r,s){let n=[];function a(i){let n=r.slice(s+i).match(reName);if(!n)throw Error(`Expected name, found ${r.slice(s)}`);let[a]=n;return s+=i+a.length,unescapeCSS(a)}function o(i){for(s+=i;s<r.length&&isWhitespace1(r.charCodeAt(s));)s++}function l(){let i=s+=1,n=1;for(;n>0&&s<r.length;s++)40!==r.charCodeAt(s)||h(s)?41===r.charCodeAt(s)&&!h(s)&&n--:n++;if(n)throw Error("Parenthesis not matched");return unescapeCSS(r.slice(i,s-1))}function h(i){let s=0;for(;92===r.charCodeAt(--i);)s++;return(1&s)==1}function c(){if(n.length>0&&isTraversal(n[n.length-1]))throw Error("Did not expect successive traversals.")}function d(i){if(n.length>
220&&n[n.length-1].type===SelectorType.Descendant){n[n.length-1].type=i;return}c(),n.push({type:i})}function u(i,r){n.push({type:SelectorType.Attribute,name:i,action:r,value:a(1),namespace:null,ignoreCase:"quirks"})}function p(){if(n.length&&n[n.length-1].type===SelectorType.Descendant&&n.pop(),0===n.length)throw Error("Empty sub-selector");i.push(n)}if(o(0),r.length===s)return s;t:for(;s<r.length;){let i=r.charCodeAt(s);switch(i){case 32:case 9:case 10:case 12:case 13:(0===n.length||n[0].type!==SelectorType.Descendant)&&(c(),n.push({type:SelectorType.Descendant})),o(1);break;case 62:d(SelectorType.Child),o(1);break;case 60:d(SelectorType.Parent),o(1);break;case 126:d(SelectorType.Sibling),o(1);break;case 43:d(SelectorType.Adjacent),o(1);break;case 46:u("class",AttributeAction.Element);break;case 35:u("id",AttributeAction.Equals);break;case 91:{let i;o(1);let l=null;124===r.charCodeAt(s)?i=a(1):r.startsWith("*|",s)?(l="*",i=a(2)):(i=a(0),124===r.charCodeAt(s)&&61!==r.charCodeAt(s+1)&&(l=i,i=a(1))),o(0);let c=AttributeAction.Exists,d=actionTypes.get(r.charCodeAt(s));if(d){if(c=d,61!==r.charCodeAt(s+1))throw Error("Expected `=`");o(2)}else 61===r.charCodeAt(s)&&(c=AttributeAction.Equals,o(1));let u="",p=null;if("exists"!==c){if(isQuote(r.charCodeAt(s))){let i=r.charCodeAt(s),n=s+1;for(;n<r.length&&(r.charCodeAt(n)!==i||h(n));)n+=1;if(r.charCodeAt(n)!==i)throw Error("Attribute value didn't end");u=unescapeCSS(r.slice(s+1,n)),s=n+1}else{let i=s;for(;s<r.length&&(!isWhitespace1(r.charCodeAt(s))&&93!==r.charCodeAt(s)||h(s));)s+=1;u=unescapeCSS(r.slice(i,s))}o(0);let i=32|r.charCodeAt(s);115===i?(p=!1,o(1)):105===i&&(p=!0,o(1))}if(93!==r.charCodeAt(s))throw Error("Attribute selector didn't terminate");s+=1;let m={type:SelectorType.Attribute,name:i,action:c,value:u,namespace:l,ignoreCase:p};n.push(m);break}case 58:{if(58===r.charCodeAt(s+1)){n.push({type:SelectorType.PseudoElement,name:a(2).toLowerCase(),data:40===r.charCodeAt(s)?l():null});continue}let i=a(1).toLowerCase(),o=null;if(40===r.charCodeAt(s))if(unpackPseudos.has(i)){if(isQuote(r.charCodeAt(s+1)))throw Error(`Pseudo-selector ${i} cannot be quoted`);if(s=parseSelector(o=[],r,s+1),41!==r.charCodeAt(s))throw Error(`Missing closing parenthesis in :${i} (${r})`);s+=1}else{if(o=l(),stripQuotesFromPseudos.has(i)){let i=o.charCodeAt(0);i===o.charCodeAt(o.length-1)&&isQuote(i)&&(o=o.slice(1,-1))}o=unescapeCSS(o)}n.push({type:SelectorType.Pseudo,name:i,data:o});break}case 44:p(),n=[],o(1);break;default:{let l;if(r.startsWith("/*",s)){let i=r.indexOf("*/",s+2);if(i<0)throw Error("Comment was not terminated");s=i+2,0===n.length&&o(0);break}let h=null;if(42===i)s+=1,l="*";else if(124===i){if(l="",124===r.charCodeAt(s+1)){d(SelectorType.ColumnCombinator),o(2);break}}else if(reName.test(r.slice(s)))l=a(0);else break t;124===r.charCodeAt(s)&&124!==r.charCodeAt(s+1)&&(h=l,42===r.charCodeAt(s+1)?(l="*",s+=2):l=a(1)),n.push("*"===l?{type:SelectorType.Universal,namespace:h}:{type:SelectorType.Tag,name:l,namespace:h})}}}return p(),s}var __TURBOPACK__imported__module__49861__=__turbopack_context__.i(49861),__TURBOPACK__imported__module__23523__=__turbopack_context__.i(23523),__TURBOPACK__imported__module__89129__=__turbopack_context__.i(89129);function removeElement(i){if(i.prev&&(i.prev.next=i.next),i.next&&(i.next.prev=i.prev),i.parent){let r=i.parent.children,s=r.lastIndexOf(i);s>=0&&r.splice(s,1)}i.next=null,i.prev=null,i.parent=null}function replaceElement(i,r){let s=r.prev=i.prev;s&&(s.next=r);let n=r.next=i.next;n&&(n.prev=r);let a=r.parent=i.parent;if(a){let s=a.children;s[s.lastIndexOf(i)]=r,i.parent=null}}function appendChild(i,r){if(removeElement(r),r.next=null,r.parent=i,i.children.push(r)>1){let s=i.children[i.children.length-2];s.next=r,r.prev=s}else r.prev=null}function append(i,r){removeElement(r);let{parent:s}=i,n=i.next;if(r.next=n,r.prev=i,i.next=r,r.parent=s,n){if(n.prev=r,s){let i=s.children;i.splice(i.lastIndexOf(n),0,r)}}else s&&s.children.push(r)}function prependChild(i,r){if(removeElement(r),r.parent=i,r.prev=null,1!==i.children.unshift(r)){let s=i.children[1];s.prev=r,r.next=s}else r.next=null}function prepend(i,r){removeElement(r);let{parent:s}=i;if(s){let n=s.children;n.splice(n.indexOf(i),0,r)}i.prev&&(i.prev.next=r),r.parent=s,r.prev=i.prev,r.next=i,i.prev=r}__turbopack_context__.s(["append",0,append,"appendChild",0,appendChild,"prepend",0,prepend,"prependChild",0,prependChild,"removeElement",0,removeElement,"replaceElement",0,replaceElement],98058);var __TURBOPACK__imported__module__98058__=__turbopack_context__.i(98058),__TURBOPACK__imported__module__98730__=__turbopack_context__.i(98730),__TURBOPACK__imported__module__37432__=__turbopack_context__.i(37432),__TURBOPACK__imported__module__84678__=__turbopack_context__.i(84678),__TURBOPACK__imported__module__82896__=__turbopack_context__.i(82896);__turbopack_context__.s(["DocumentPosition",0,DocumentPosition,"append",0,append,"appendChild",0,appendChild,"compareDocumentPosition",0,compareDocumentPosition,"existsOne",0,existsOne,"filter",0,filter,"find",0,find,"findAll",0,findAll,"findOne",0,findOne,"findOneChild",0,findOneChild,"getAttributeValue",0,getAttributeValue,"getChildren",0,getChildren,"getElementById",0,getElementById,"getElements",0,getElements,"getElementsByClassName",0,getElementsByClassName,"getElementsByTagName",0,getElementsByTagName,"getElementsByTagType",0,getElementsByTagType,"getFeed",0,getFeed1,"getInnerHTML",0,getInnerHTML,"getName",0,getName,"getOuterHTML",0,getOuterHTML,"getParent",0,getParent,"getSiblings",0,getSiblings,"getText",0,getText,"hasAttrib",0,hasAttrib,"hasChildren",0,hasChildren,"innerText",0,innerText,"isCDATA",0,isCDATA,"isComment",0,isComment,"isDocument",0,isDocument,"isTag",0,isTag1,"isText",0,isText,"nextElementSibling",0,nextElementSibling,"prepe
22nd",0,prepend,"prependChild",0,prependChild,"prevElementSibling",0,prevElementSibling,"removeElement",0,removeElement,"removeSubsets",0,removeSubsets,"replaceElement",0,replaceElement,"testElement",0,testElement,"textContent",0,textContent,"uniqueSort",0,uniqueSort],64039);var __TURBOPACK__imported__module__64039__=__turbopack_context__.i(64039),__TURBOPACK__imported__module__37219__=__turbopack_context__.i(37219),__TURBOPACK__imported__module__37219__1=__TURBOPACK__imported__module__37219__;let procedure=new Map([[SelectorType.Universal,50],[SelectorType.Tag,30],[SelectorType.Attribute,1],[SelectorType.Pseudo,0]]);function isTraversal1(i){return!procedure.has(i.type)}let attributes=new Map([[AttributeAction.Exists,10],[AttributeAction.Equals,8],[AttributeAction.Not,7],[AttributeAction.Start,6],[AttributeAction.End,6],[AttributeAction.Any,5]]);function sortByProcedure(i){let r=i.map(getProcedure);for(let s=1;s<i.length;s++){let n=r[s];if(!(n<0))for(let a=s-1;a>=0&&n<r[a];a--){let s=i[a+1];i[a+1]=i[a],i[a]=s,r[a+1]=r[a],r[a]=n}}}function getProcedure(i){var r,s;let n=null!=(r=procedure.get(i.type))?r:-1;return i.type===SelectorType.Attribute?(n=null!=(s=attributes.get(i.action))?s:4,i.action===AttributeAction.Equals&&"id"===i.name&&(n=9),i.ignoreCase&&(n>>=1)):i.type===SelectorType.Pseudo&&(i.data?"has"===i.name||"contains"===i.name?n=0:Array.isArray(i.data)?(n=Math.min(...i.data.map(i=>Math.min(...i.map(getProcedure)))))<0&&(n=0):n=2:n=3),n}var __TURBOPACK__imported__module__37219__2=__TURBOPACK__imported__module__37219__;let reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(i){return i.replace(reChars,"\\$&")}let caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(i,r){return"boolean"==typeof i.ignoreCase?i.ignoreCase:"quirks"===i.ignoreCase?!!r.quirksMode:!r.xmlMode&&caseInsensitiveAttributes.has(i.name)}let attributeRules={equals(i,r,s){let{adapter:n}=s,{name:a}=r,{value:o}=r;return shouldIgnoreCase(r,s)?(o=o.toLowerCase(),r=>{let s=n.getAttributeValue(r,a);return null!=s&&s.length===o.length&&s.toLowerCase()===o&&i(r)}):r=>n.getAttributeValue(r,a)===o&&i(r)},hyphen(i,r,s){let{adapter:n}=s,{name:a}=r,{value:o}=r,l=o.length;return shouldIgnoreCase(r,s)?(o=o.toLowerCase(),function(r){let s=n.getAttributeValue(r,a);return null!=s&&(s.length===l||"-"===s.charAt(l))&&s.substr(0,l).toLowerCase()===o&&i(r)}):function(r){let s=n.getAttributeValue(r,a);return null!=s&&(s.length===l||"-"===s.charAt(l))&&s.substr(0,l)===o&&i(r)}}
22,element(i,r,s){let{adapter:n}=s,{name:a,value:o}=r;if(/\s/.test(o))return __TURBOPACK__imported__module__37219__2.default.falseFunc;let l=RegExp(`(?:^|\\s)${escapeRegex(o)}(?:$|\\s)`,shouldIgnoreCase(r,s)?"i":"");return function(r){let s=n.getAttributeValue(r,a);return null!=s&&s.length>=o.length&&l.test(s)&&i(r)}},exists:(i,{name:r},{adapter:s})=>n=>s.hasAttrib(n,r)&&i(n),start(i,r,s){let{adapter:n}=s,{name:a}=r,{value:o}=r,l=o.length;return 0===l?__TURBOPACK__imported__module__37219__2.default.falseFunc:shouldIgnoreCase(r,s)?(o=o.toLowerCase(),r=>{let s=n.getAttributeValue(r,a);return null!=s&&s.length>=l&&s.substr(0,l).toLowerCase()===o&&i(r)}):r=>{var s;return!!(null==(s=n.getAttributeValue(r,a))?void 0:s.startsWith(o))&&i(r)}},end(i,r,s){let{adapter:n}=s,{name:a}=r,{value:o}=r,l=-o.length;return 0===l?__TURBOPACK__imported__module__37219__2.default.falseFunc:shouldIgnoreCase(r,s)?(o=o.toLowerCase(),r=>{var s;return(null==(s=n.getAttributeValue(r,a))?void 0:s.substr(l).toLowerCase())===o&&i(r)}):r=>{var s;return!!(null==(s=n.getAttributeValue(r,a))?void 0:s.endsWith(o))&&i(r)}},any(i,r,s){let{adapter:n}=s,{name:a,value:o}=r;if(""===o)return __TURBOPACK__imported__module__37219__2.default.falseFunc;if(shouldIgnoreCase(r,s)){let r=RegExp(escapeRegex(o),"i");return function(s){let l=n.getAttributeValue(s,a);return null!=l&&l.length>=o.length&&r.test(l)&&i(s)}}return r=>{var s;return!!(null==(s=n.getAttributeValue(r,a))?void 0:s.includes(o))&&i(r)}},not(i,r,s){let{adapter:n}=s,{name:a}=r,{value:o}=r;return""===o?r=>!!n.getAttributeValue(r,a)&&i(r):shouldIgnoreCase(r,s)?(o=o.toLowerCase(),r=>{let s=n.getAttributeValue(r,a);return(null==s||s.length!==o.length||s.toLowerCase()!==o)&&i(r)}):r=>n.getAttributeValue(r,a)!==o&&i(r)}},whitespace=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse1(i){if("even"===(i=i.trim().toLowerCase()))return[2,0];if("odd"===i)return[2,1];let r=0,s=0,n=o(),a=l();if(r<i.length&&"n"===i.charAt(r)&&(r++,s=n*(null!=a?a:1),h(),r<i.length?(n=o(),h(),a=l()):n=a=0),null===a||r<i.length)throw Error(`n-th rule couldn't be parsed ('${i}')`);return[s,n*a];function o(){return"-"===i.charAt(r)?(r++,-1):("+"===i.charAt(r)&&r++,1)}function l(){let s=r,n=0;for(;r<i.length&&i.charCodeAt(r)>=ZERO&&i.charCodeAt(r)<=NINE;)n=10*n+(i.charCodeAt(r)-ZERO),r++;return r===s?null:n}function h(){for(;r<i.length&&whitespace.has(i.charCodeAt(r));)r++}}var __TURBOPACK__imported__module__37219__3=__TURBOPACK__imported__module__37219__;function compile(i){let r=i[0],s=i[1]-1;if(s<0&&r<=0)return __TURBOPACK__imported__module__37219__3.default.falseFunc;if(-1===r)return i=>i<=s;if(0===r)return i=>i===s;if(1===r)return s<0?__TURBOPACK__imported__module__37219__3.default.trueFunc:i=>i>=s;let n=Math.abs(r),a=(s%n+n)%n;return r>1?i=>i>=s&&i%n===a:i=>i<=s&&i%n===a}function generate(i){let r=i[0],s=i[1]-1,n=0;if(r<0){let i=-r,a=(s%i+i)%i;return()=>{let r=a+i*n++;return r>s?null:r}}return 0===r?s<0?()=>null:()=>0==n++?s:null:(s<0&&(s+=r*Math.ceil(-s/r)),()=>r*n+++s)}function nthCheck(i){return compile(parse1(i))}function sequence(i){return generate(parse1(i))}var __TURBOPACK__imported__module__37219__4=__TURBOPACK__imported__module__37219__;function getChildFunc(i,r){return s=>{let n=r.getParent(s);return null!=n&&r.isTag(n)&&i(s)}}let filters={contains:(i,r,{adapter:s})=>function(n){return i(n)&&s.getText(n).includes(r)},icontains(i,r,{adapter:s}){let n=r.toLowerCase();return function(r){return i(r)&&s.getText(r).toLowerCase().includes(n)}},"nth-child"(i,r,{adapter:s,equals:n}){let a=nthCheck(r);return a===__TURBOPACK__imported__module__37219__4.default.falseFunc?__TURBOPACK__imported__module__37219__4.default.falseFunc:a===__TURBOPACK__imported__module__37219__4.default.trueFunc?getChildFunc(i,s):function(r){let o=s.getSiblings(r),l=0;for(let i=0;i<o.length&&!n(r,o[i]);i++)s.isTag(o[i])&&l++;return a(l)&&i(r)}},"nth-last-child"(i,r,{adapter:s,equals:n}){let a=nthCheck(r);return a===__TURBOPACK__imported__module__37219__4.default.falseFunc?__TURBOPACK__imported__module__37219__4.default.falseFunc:a===__TURBOPACK__imported__module__37219__4.default.trueFunc?getChildFunc(i,s):function(r){let o=s.get
22Siblings(r),l=0;for(let i=o.length-1;i>=0&&!n(r,o[i]);i--)s.isTag(o[i])&&l++;return a(l)&&i(r)}},"nth-of-type"(i,r,{adapter:s,equals:n}){let a=nthCheck(r);return a===__TURBOPACK__imported__module__37219__4.default.falseFunc?__TURBOPACK__imported__module__37219__4.default.falseFunc:a===__TURBOPACK__imported__module__37219__4.default.trueFunc?getChildFunc(i,s):function(r){let o=s.getSiblings(r),l=0;for(let i=0;i<o.length;i++){let a=o[i];if(n(r,a))break;s.isTag(a)&&s.getName(a)===s.getName(r)&&l++}return a(l)&&i(r)}},"nth-last-of-type"(i,r,{adapter:s,equals:n}){let a=nthCheck(r);return a===__TURBOPACK__imported__module__37219__4.default.falseFunc?__TURBOPACK__imported__module__37219__4.default.falseFunc:a===__TURBOPACK__imported__module__37219__4.default.trueFunc?getChildFunc(i,s):function(r){let o=s.getSiblings(r),l=0;for(let i=o.length-1;i>=0;i--){let a=o[i];if(n(r,a))break;s.isTag(a)&&s.getName(a)===s.getName(r)&&l++}return a(l)&&i(r)}},root:(i,r,{adapter:s})=>r=>{let n=s.getParent(r);return(null==n||!s.isTag(n))&&i(r)},scope(i,r,s,n){let{equals:a}=s;return n&&0!==n.length?1===n.length?r=>a(n[0],r)&&i(r):r=>n.includes(r)&&i(r):filters.root(i,r,s)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(i){return function(r,s,{adapter:n}){let a=n[i];return"function"!=typeof a?__TURBOPACK__imported__module__37219__4.default.falseFunc:function(i){return a(i)&&r(i)}}}let pseudos={empty:(i,{adapter:r})=>!r.getChildren(i).some(i=>r.isTag(i)||""!==r.getText(i)),"first-child"(i,{adapter:r,equals:s}){if(r.prevElementSibling)return null==r.prevElementSibling(i);let n=r.getSiblings(i).find(i=>r.isTag(i));return null!=n&&s(i,n)},"last-child"(i,{adapter:r,equals:s}){let n=r.getSiblings(i);for(let a=n.length-1;a>=0;a--){if(s(i,n[a]))return!0;if(r.isTag(n[a]))break}return!1},"first-of-type"(i,{adapter:r,equals:s}){let n=r.getSiblings(i),a=r.getName(i);for(let o=0;o<n.length;o++){let l=n[o];if(s(i,l))return!0;if(r.isTag(l)&&r.getName(l)===a)break}return!1},"last-of-type"(i,{adapter:r,equals:s}){let n=r.getSiblings(i),a=r.getName(i);for(let o=n.length-1;o>=0;o--){let l=n[o];if(s(i,l))return!0;if(r.isTag(l)&&r.getName(l)===a)break}return!1},"only-of-type"(i,{adapter:r,equals:s}){let n=r.getName(i);return r.getSiblings(i).every(a=>s(i,a)||!r.isTag(a)||r.getName(a)!==n)},"only-child":(i,{adapter:r,equals:s})=>r.getSiblings(i).every(n=>s(i,n)||!r.isTag(n))};function verifyPseudoArgs(i,r,s,n){if(null===s){if(i.length>n)throw Error(`Pseudo-class :${r} requires an argument`)}else if(i.length===n)throw Error(`Pseudo-class :${r} doesn't have any arguments`)}let aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( 23 :is(button, input, select, textarea, optgroup, option)[disabled], 24 optgroup[disabled] > option, 25 fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) 26 )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};var __TURBOPACK__imported__module__37219__5=__TURBOPACK__imported__module__37219__;let PLACEHOLDER_ELEMENT={};function ensureIsTag(i,r){return i===__TURBOPACK__imported__module__37219__5.default.falseFunc?__TURBOPACK__imported__module__37219__5.default.falseFunc:s=>r.isTag(s)&&i(s)}function getNextSiblings(i,r){let s=r.getSiblings(i);if(s.length<=1)return[];let n=s.indexOf(i);return n<0||n===s.length-1?[]:s.slice(n+1).filter(r.isTag)}function copyOptions(i){return{xmlMode:!!i.xmlMode,lowerCaseAttributeNames:!!i.lowerCaseAttributeNames,lowerCaseTags:!!i.lowerCaseTags,quirksMode:!!i.quirksMode,cacheResults:!!i.cacheResults,pseudos:i.pseudos,adapter:i.adapter,equals:i.equals}}let is=(i,r,s,n,a)=>{let o=a(r,copyOptions(s),n);return o===__TURBOPACK__imported__module__37219__5.default.trueFunc?i:o===__TURBOPACK__imported__module__37219__5.default.falseFunc?__TURBOPACK__imported__module__37219__5.default.falseFunc:r=>o(r)&&i(r)},subselects={is,matches:is,where:is,not(i,r,s,n,a){let o=a(r,copyOptions(s),n);return o===__TURBOPACK__imported__module__37219__5.default.falseFunc?i:o===__TURBOPACK__imported__module__37219__5.default.trueFunc?__TURBOPACK__imported__module__37219__5.default.falseFunc:r=>!o(r)&&i(r)},has(i,r,s,n,a){let{adapter:o}=s,l=copyOptions(s);l.relativeSelector=!0;let h=r.some(i=>i.some(isTraversal1))?[PLACEHOLDER_ELEMENT]:void 0,c=a(r,l,h);if(c===__TURBOPACK__imported__module__37219__5.default.falseFunc)return __TURBOPACK__imported__module__37219__5.default.falseFunc;let d=ensureIsTag(c,o);if(h&&c!==__TURBOPACK__imported__module__37219__5.default.trueFunc){let{shouldTestNextSiblings:r=!1}=c;return s=>{if(!i(s))return!1;h[0]=s;let n=o.getChildren(s),a=r?[...n,...getNextSiblings(s,o)]:n;return o.existsOne(d,a)}}return r=>i(r)&&o.existsOne(d,o.getChildren(r))}};function compilePseudoSelector(i,r,s,n,a){var o;let{name:l,data:h}=r;if(Array.isArray(h)){if(!(l in subselects))throw Error(`Unknown pseudo-class :${l}(${h})`);return subselects[l](i,h,s,n,a)}let c=null==(o=s.pseudos)?void 0:o[l],d="string"==typeof c?c:aliases[l];if("string"==typeof d){if(null!=h)throw Error(`Pseudo ${l} doesn't have any arguments`);let r=parse(d);return subselects.is(i,r,s,n,a)}if("function"==typeof c)return verifyPseudoArgs(c,l,h,1),r=>c(r,h)&&i(r);if(l in filters)return filters[l](i,h,s,n);if(l in pseudos){let r=pseudos[l];return verifyPseudoArgs(r,l,h,2),n=>r(n,s,h)&&i(n)}throw Error(`Unknown pseudo-class :${l}`)}function getElementParent(i,r){let s=r.getParent(i);return s&&r.isTag(s)?s:null}function compileGeneralSelector(i,r,s,n,a){let{adapter:o,equals:l}=s;switch(r.type){case SelectorType.PseudoElement:throw Error("Pseudo-elements are not supported by css-select");case SelectorType.ColumnCombinator:throw Error("Column combinators are not yet supported by css-select");case SelectorType.Attribute:if(null!=r.namespace)throw Error("Namespaced attributes are not yet supported by css-select");return(!s.xmlMode||s.lowerCaseAttributeNames)&&(r.name=r.name.toLowerCase()),attributeRules[r.action](i,r,s);case SelectorType.Pseudo:return compilePseudoSelector(i,r,s,n,a);case SelectorType.Tag:{if(null!=r.namespace)throw Error("Namespaced tag names are not yet supported by css-select");let{name:n}=r;return(!s.xmlMode||s.lowerCaseTags)&&(n=n.toLowerCase()),function(r){return o.getName(r)===n&&i(r)}}
26case SelectorType.Descendant:{if(!1===s.cacheResults||"u"<typeof WeakSet)return function(r){let s=r;for(;s=getElementParent(s,o);)if(i(s))return!0;return!1};let r=new WeakSet;return function(s){let n=s;for(;n=getElementParent(n,o);)if(!r.has(n)){if(o.isTag(n)&&i(n))return!0;r.add(n)}return!1}}case"_flexibleDescendant":return function(r){let s=r;do if(i(s))return!0;while(s=getElementParent(s,o))return!1};case SelectorType.Parent:return function(r){return o.getChildren(r).some(r=>o.isTag(r)&&i(r))};case SelectorType.Child:return function(r){let s=o.getParent(r);return null!=s&&o.isTag(s)&&i(s)};case SelectorType.Sibling:return function(r){let s=o.getSiblings(r);for(let n=0;n<s.length;n++){let a=s[n];if(l(r,a))break;if(o.isTag(a)&&i(a))return!0}return!1};case SelectorType.Adjacent:if(o.prevElementSibling)return function(r){let s=o.prevElementSibling(r);return null!=s&&i(s)};return function(r){let s,n=o.getSiblings(r);for(let i=0;i<n.length;i++){let a=n[i];if(l(r,a))break;o.isTag(a)&&(s=a)}return!!s&&i(s)};case SelectorType.Universal:if(null!=r.namespace&&"*"!==r.namespace)throw Error("Namespaced universal selectors are not yet supported by css-select");return i}}function compile1(i,r,s){return ensureIsTag(compileUnsafe(i,r,s),r.adapter)}function compileUnsafe(i,r,s){return compileToken("string"==typeof i?parse(i):i,r,s)}function includesScopePseudo(i){return i.type===SelectorType.Pseudo&&("scope"===i.name||Array.isArray(i.data)&&i.data.some(i=>i.some(includesScopePseudo)))}
26let DESCENDANT_TOKEN={type:SelectorType.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType.Pseudo,name:"scope",data:null};function absolutize(i,{adapter:r},s){let n=!!(null==s?void 0:s.every(i=>{let s=r.isTag(i)&&r.getParent(i);return i===PLACEHOLDER_ELEMENT||s&&r.isTag(s)}));for(let r of i){if(r.length>0&&isTraversal1(r[0])&&r[0].type!==SelectorType.Descendant);else{if(!n||r.some(includesScopePseudo))continue;r.unshift(DESCENDANT_TOKEN)}r.unshift(SCOPE_TOKEN)}}function compileToken(i,r,s){var n;i.forEach(sortByProcedure);let a=Array.isArray(s=null!=(n=r.context)?n:s),o=s&&(Array.isArray(s)?s:[s]);if(!1!==r.relativeSelector)absolutize(i,r,o);else if(i.some(i=>i.length>0&&isTraversal1(i[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let l=!1,h=i.map(i=>{if(i.length>=2){let[r,s]=i;r.type!==SelectorType.Pseudo||"scope"!==r.name||(a&&s.type===SelectorType.Descendant?i[1]=FLEXIBLE_DESCENDANT_TOKEN:(s.type===SelectorType.Adjacent||s.type===SelectorType.Sibling)&&(l=!0))}return compileRules(i,r,o)}).reduce(reduceRules,__TURBOPACK__imported__module__37219__1.default.falseFunc);return h.shouldTestNextSiblings=l,h}function compileRules(i,r,s){var n;return i.reduce((i,n)=>i===__TURBOPACK__imported__module__37219__1.default.falseFunc?__TURBOPACK__imported__module__37219__1.default.falseFunc:compileGeneralSelector(i,n,r,s,compileToken),null!=(n=r.rootFunc)?n:__TURBOPACK__imported__module__37219__1.default.trueFunc)}function reduceRules(i,r){return r===__TURBOPACK__imported__module__37219__1.default.falseFunc||i===__TURBOPACK__imported__module__37219__1.default.trueFunc?i:i===__TURBOPACK__imported__module__37219__1.default.falseFunc||r===__TURBOPACK__imported__module__37219__1.default.trueFunc?r:function(s){return i(s)||r(s)}}let defaultEquals=(i,r)=>i===r,defaultOptions={adapter:__TURBOPACK__imported__module__64039__,equals:defaultEquals};function convertOptionFormats(i){var r,s,n,a;let o=null!=i?i:defaultOptions;return null!=(r=o.adapter)||(o.adapter=__TURBOPACK__imported__module__64039__),null!=(s=o.equals)||(o.equals=null!=(a=null==(n=o.adapter)?void 0:n.equals)?a:defaultEquals),o}function wrapCompile(i){return function(r,s,n){return i(r,convertOptionFormats(s),n)}}let compile2=wrapCompile(compile1),_compileUnsafe=wrapCompile(compileUnsafe),_compileToken=wrapCompile(compileToken);function getSelectorFunc(i){return function(r,s,n){let a=convertOptionFormats(n);"function"!=typeof r&&(r=compileUnsafe(r,a,s));let o=prepareContext(s,a.adapter,r.shouldTestNextSiblings);return i(r,o,a)}}function prepareContext(i,r,s=!1){return s&&(i=appendNextSiblings(i,r)),Array.isArray(i)?r.removeSubsets(i):r.getChildren(i)}function appendNextSiblings(i,r){let s=Array.isArray(i)?i.slice(0):[i],n=s.length;for(let i=0;i<n;i++){let n=getNextSiblings(s[i],r);s.push(...n)}return s}let selectAll=getSelectorFunc((i,r,s)=>i!==__TURBOPACK__imported__module__37219__.default.falseFunc&&r&&0!==r.length?s.adapter.findAll(i,r):[]),selectOne=getSelectorFunc((i,r,s)=>i!==__TURBOPACK__imported__module__37219__.default.falseFunc&&r&&0!==r.length?s.adapter.findOne(i,r):null);function is1(i,r,s){let n=convertOptionFormats(s);return("function"==typeof r?r:compile1(r,n))(i)}let __TURBOPACK__default__export__4=selectAll;var __TURBOPACK__imported__module__64039__1=__TURBOPACK__imported__module__64039__,__TURBOPACK__imported__module__37219__6=__TURBOPACK__imported__module__37219__;let filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function isFilter(i){return"pseudo"===i.type&&(!!filterNames.has(i.name)||!!("not"===i.name&&Array.isArray(i.data))&&i.data.some(i=>i.some(isFilter)))}function getLimit(i,r,s){let n=null!=r?parseInt(r,10):NaN;switch(i){case"first":return 1;case"nth":case"eq":return isFinite(n)?n>=0?n+1:1/0:0;case"lt":return isFinite(n)?n>=0?Math.min(n,s):1/0:0;case"gt":return isFinite(n)?1/0:0;case"odd":return 2*s;case"even":return 2*s-1;case"last":case"not":return 1/0}}function getDocumentRoot(i){for(;i.parent;)i=i.parent;return i}function groupSelectors(i){let r=[],s=[];for(let n of i)n.some(isFilter)?r.push(n):s.push(n);return[s,r]}let UNIVERSAL_SELECTOR={type:SelectorType.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType.Pseudo,name:"scope",data:null};function is2(i,r,s={}){return some([i],r,s)}function some(i,r,s={}){if("function"==typeof r)return i.some(r);let[n,a]=groupSelectors(parse(r));return n.length>0&&i.some(_compileToken(n,s))||a.some(r=>filterBySelector(r,i,s).length>0)}function filterByPosition(i,r,s,n){let a="string"==typeof s?parseInt(s,10):NaN;switch(i){case"first":case"lt":return r;case"last":return r.length>0?[r[r.length-1]]:r;case"nth":case"eq":return isFinite(a)&&Math.abs(a)<r.length?[a<0?r[r.length+a]:r[a]]:[];case"gt":return isFinite(a)?r.slice(a+1):[];case"even":return r.filter((i,r)=>r%2==0);case"odd":return r.filter((i,r)=>r%2==1);case"not":{let i=new Set(filterParsed(s,r,n));return r.filter(r=>!i.has(r))}}}function filter1(i,r,s={}){return filterParsed(parse(i),r,s)}function filterParsed(i,r,s){let n;if(0===r.length)return[];let[a,o]=groupSelectors(i);if(a.length){let i=filterElements(r,a,s);if(0===o.length)return i;i.length&&(n=new Set(i))}for(let i=0;i<o.length&&(null==n?void 0:n.size)!==r.length;i++){let a=o[i];if(0===(n?r.filter(i=>__TURBOPACK__imported__module__64039__1.isTag(i)&&!n.has(i)):r).length)break;let l=filterBySelector(a,r,s);if(l.length)if(n)l.forEach(i=>
26n.add(i));else{if(i===o.length-1)return l;n=new Set(l)}}return void 0!==n?n.size===r.length?r:r.filter(i=>n.has(i)):[]}function filterBySelector(i,r,s){var n;if(i.some(isTraversal)){let a=null!=(n=s.root)?n:getDocumentRoot(r[0]),o={...s,context:r,relativeSelector:!1};return i.push(SCOPE_PSEUDO),findFilterElements(a,i,o,!0,r.length)}return findFilterElements(r,i,s,!1,r.length)}function select(i,r,s={},n=1/0){if("function"==typeof i)return find1(r,i);let[a,o]=groupSelectors(parse(i)),l=o.map(i=>findFilterElements(r,i,s,!0,n));return(a.length&&l.push(findElements(r,a,s,n)),0===l.length)?[]:1===l.length?l[0]:__TURBOPACK__imported__module__64039__1.uniqueSort(l.reduce((i,r)=>[...i,...r]))}function findFilterElements(i,r,s,n,a){let o=r.findIndex(isFilter),l=r.slice(0,o),h=r[o],c=r.length-1===o?a:1/0,d=getLimit(h.name,h.data,c);if(0===d)return[];let u=(0!==l.length||Array.isArray(i)?0===l.length?(Array.isArray(i)?i:[i]).filter(__TURBOPACK__imported__module__64039__1.isTag):n||l.some(isTraversal)?findElements(i,[l],s,d):filterElements(i,[l],s):__TURBOPACK__imported__module__64039__1.getChildren(i).filter(__TURBOPACK__imported__module__64039__1.isTag)).slice(0,d),p=filterByPosition(h.name,u,h.data,s);if(0===p.length||r.length===o+1)return p;let m=r.slice(o+1),g=m.some(isTraversal);if(g){if(isTraversal(m[0])){let{type:i}=m[0];(i===SelectorType.Sibling||i===SelectorType.Adjacent)&&(p=prepareContext(p,__TURBOPACK__imported__module__64039__1,!0)),m.unshift(UNIVERSAL_SELECTOR)}s={...s,relativeSelector:!1,rootFunc:i=>p.includes(i)}}else s.rootFunc&&s.rootFunc!==__TURBOPACK__imported__module__37219__6.trueFunc&&(s={...s,rootFunc:__TURBOPACK__imported__module__37219__6.trueFunc});return m.some(isFilter)?findFilterElements(p,m,s,!1,a):g?findElements(p,[m],s,a):filterElements(p,[m],s)}function findElements(i,r,s,n){let a=_compileToken(r,s,i);return find1(i,a,n)}function find1(i,r,s=1/0){let n=prepareContext(i,__TURBOPACK__imported__module__64039__1,r.shouldTestNextSiblings);return __TURBOPACK__imported__module__64039__1.find(i=>__TURBOPACK__imported__module__64039__1.isTag(i)&&r(i),n,!0,s)}function filterElements(i,r,s){let n=(Array.isArray(i)?i:[i]).filter(__TURBOPACK__imported__module__64039__1.isTag);if(0===n.length)return n;let a=_compileToken(r,s);return a===__TURBOPACK__imported__module__37219__6.trueFunc?n:n.filter(a)}let reContextSelector=/^\s*(?:[+~]|:scope\b)/;function find2(i){if(!i)return this._make([]);if("string"!=typeof i){let r=isCheerio(i)?i.toArray():[i],s=this.toArray();return this._make(r.filter(i=>s.some(r=>contains(r,i))))}return this._findBySelector(i,1/0)}function _findBySelector(i,r){var s;let n=this.toArray(),a=reContextSelector.test(i)?n:this.children().toArray(),o={context:n,root:null==(s=this._root)?void 0:s[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select(i,a,o,r))}function _getMatcher(i){return function(r,...s){return function(n){var a;let o=i(r,this);return n&&(o=filterArray(o,n,this.options.xmlMode,null==(a=this._root)?void 0:a[0])),this._make(this.length>1&&o.length>1?s.reduce((i,r)=>r(i),o):o)}}}let _matcher=_getMatcher((i,r)=>{let s=[];for(let n=0;n<r.length;n++){let a=i(r[n]);a.length>0&&(s=s.concat(a))}return s}),_singleMatcher=_getMatcher((i,r)=>{let s=[];for(let n=0;n<r.length;n++){let a=i(r[n]);null!==a&&s.push(a)}return s});function _matchUntil(i,...r){let s=null,n=_getMatcher((i,r)=>{let n=[];return domEach(r,r=>{for(let a;(a=i(r))&&(null==s||!s(a,n.length));r=a)n.push(a)}),n})(i,...r);return function(i,r){s="string"==typeof i?r=>is2(r,i,this.options):i?getFilterFn(i):null;let a=n.call(this,r);return s=null,a}}function _removeDuplicates(i){return i.length>1?Array.from(new Set(i)):i}let parent=_singleMatcher(({parent:i})=>i&&!isDocument(i)?i:null,_removeDuplicates),parents=_matcher(i=>{let r=[];for(;i.parent&&!isDocument(i.parent);)r.push(i.parent),i=i.parent;return r},uniqueSort,i=>i.reverse()),parentsUntil=_matchUntil(({parent:i})=>i&&!isDocument(i)?i:null,uniqueSort,i=>i.reverse());function closest(i){var r;let s=[];if(!i)return this._make(s);let n={xmlMode:this.options.xmlMode,root:null==(r=this._root)?void 0:r[0]},a="string"==typeof i?r=>is2(r,i,n):getFilterFn(i);return domEach(this,i=>{for(!i||isDocument(i)||isTag1(i)||(i=i.parent);i&&isTag1(i);
26){if(a(i,0)){s.includes(i)||s.push(i);break}i=i.parent}}),this._make(s)}let next=_singleMatcher(i=>nextElementSibling(i)),nextAll=_matcher(i=>{let r=[];for(;i.next;)isTag1(i=i.next)&&r.push(i);return r},_removeDuplicates),nextUntil=_matchUntil(i=>nextElementSibling(i),_removeDuplicates),prev=_singleMatcher(i=>prevElementSibling(i)),prevAll=_matcher(i=>{let r=[];for(;i.prev;)isTag1(i=i.prev)&&r.push(i);return r},_removeDuplicates),prevUntil=_matchUntil(i=>prevElementSibling(i),_removeDuplicates),siblings=_matcher(i=>getSiblings(i).filter(r=>isTag1(r)&&r!==i),uniqueSort),children=_matcher(i=>getChildren(i).filter(isTag1),_removeDuplicates);function contents(){let i=this.toArray().reduce((i,r)=>hasChildren(r)?i.concat(r.children):i,[]);return this._make(i)}function each(i){let r=0,s=this.length;for(;r<s&&!1!==i.call(this[r],r,this[r]);)++r;return this}function map(i){let r=[];for(let s=0;s<this.length;s++){let n=this[s],a=i.call(n,s,n);null!=a&&(r=r.concat(a))}return this._make(r)}function getFilterFn(i){return"function"==typeof i?(r,s)=>i.call(r,s,r):isCheerio(i)?r=>Array.prototype.includes.call(i,r):function(r){return i===r}}function filter2(i){var r;return this._make(filterArray(this.toArray(),i,this.options.xmlMode,null==(r=this._root)?void 0:r[0]))}function filterArray(i,r,s,n){return"string"==typeof r?filter1(r,i,{xmlMode:s,root:n}):i.filter(getFilterFn(r))}function is3(i){let r=this.toArray();return"string"==typeof i?some(r.filter(isTag1),i,this.options):!!i&&r.some(getFilterFn(i))}function not(i){let r=this.toArray();if("string"==typeof i){let s=new Set(filter1(i,r,this.options));r=r.filter(i=>!s.has(i))}else{let s=getFilterFn(i);r=r.filter((i,r)=>!s(i,r))}return this._make(r)}function has(i){return this.filter("string"==typeof i?`:has(${i})`:(r,s)=>this._make(s).find(i).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq(i){var r;return 0==(i*=1)&&this.length<=1?this:(i<0&&(i=this.length+i),this._make(null!=(r=this[i])?r:[]))}function get(i){return null==i?this.toArray():this[i<0?this.length+i:i]}function toArray(){return Array.prototype.slice.call(this)}function index(i){let r,s;return null==i?(r=this.parent().children(),s=this[0]):"string"==typeof i?(r=this._make(i),s=this[0]):(r=this,s=isCheerio(i)?i[0]:i),Array.prototype.indexOf.call(r,s)}function slice(i,r){return this._make(Array.prototype.slice.call(this,i,r))}function end(){var i;return null!=(i=this.prevObject)?i:this._make([])}function add(i,r){let s=this._make(i,r),n=uniqueSort([...this.get(),...s.get()]);return this._make(n)}function addBack(i){return this.prevObject?this.add(i?this.prevObject.filter(i):this.prevObject):this}__turbopack_context__.s(["_findBySelector",0,_findBySelector,"add",0,add,"addBack",0,addBack,"children",0,children,"closest",0,closest,"contents",0,contents,"each",0,each,"end",0,end,"eq",0,eq,"filter",0,filter2,"filterArray",0,filterArray,"find",0,find2,"first",0,first,"get",0,get,"has",0,has,"index",0,index,"is",0,is3,"last",0,last,"map",0,map,"next",0,next,"nextAll",0,nextAll,"nextUntil",0,nextUntil,"not",0,not,"parent",0,parent,"parents",0,parents,"parentsUntil",0,parentsUntil,"prev",0,prev,"prevAll",0,prevAll,"prevUntil",0,prevUntil,"siblings",0,siblings,"slice",0,slice,"toArray",0,toArray],17616);var __TURBOPACK__imported__module__17616__=__turbopack_context__.i(17616),__TURBOPACK__imported__module__38652__1=__TURBOPACK__imported__module__38652__;function getParse(i){return function(r,s,n,a){if(void 0!==__TURBOPACK__imported__module__38652__1.Buffer&&__TURBOPACK__imported__module__38652__1.Buffer.isBuffer(r)&&(r=r.toString()),"string"==typeof r)return i(r,s,n,a);let o=r;if(!Array.isArray(o)&&isDocument(o))return o;let l=new Document([]);return update(o,l),l}}function update(i,r){let s=Array.isArray(i)?i:[i];r?r.children=s:r=null;for(let i=0;i<s.length;i++){let n=s[i];n.parent&&n.parent.children!==s&&removeElement(n),r?(n.prev=s[i-1]||null,n.next=s[i+1]||null):n.prev=n.next=null,n.parent=r}return r}var __TURBOPACK__imported__module__25564__=__TURBOPACK__imported__module__25564__;function _makeDomArray(i,r){if(null==i)return[];if("string"==typeof i)return this._parse(i,this.options,!1,null).children.slice(0);if("length"in i){if(1===i.length)return this._makeDomArray(i[0],r);let s=[];for(let n=0;n<i.length;n++){let a=i[n];if("object"==typeof a){if(null==a)continue;if(!("length"in a)){s.push(r?cloneNode(a,!0):a);continue}}s.push(...this._makeDomArray(a,r))}return s}return[r?cloneNode(i,!0):i]}function _insert(i){return function(...r){let s=this.length-1;return domEach(this,(n,a)=>
26{if(!hasChildren(n))return;let o="function"==typeof r[0]?r[0].call(n,a,this._render(n.children)):r;i(this._makeDomArray(o,a<s),n.children,n)})}}function uniqueSplice(i,r,s,n,a){var o,l;let h=[r,s,...n],c=0===r?null:i[r-1],d=r+s>=i.length?null:i[r+s];for(let i=0;i<n.length;++i){let s=n[i],u=s.parent;if(u){let i=u.children.indexOf(s);-1!==i&&(u.children.splice(i,1),a===u&&r>i&&h[0]--)}s.parent=a,s.prev&&(s.prev.next=null!=(o=s.next)?o:null),s.next&&(s.next.prev=null!=(l=s.prev)?l:null),s.prev=0===i?c:n[i-1],s.next=i===n.length-1?d:n[i+1]}return c&&(c.next=n[0]),d&&(d.prev=n[n.length-1]),i.splice(...h)}function appendTo(i){return(isCheerio(i)?i:this._make(i)).append(this),this}function prependTo(i){return(isCheerio(i)?i:this._make(i)).prepend(this),this}let append1=_insert((i,r,s)=>{uniqueSplice(r,r.length,0,i,s)}),prepend1=_insert((i,r,s)=>{uniqueSplice(r,0,0,i,s)});function _wrap(i){return function(r){let s=this.length-1,n=this.parents().last();for(let a=0;a<this.length;a++){let o=this[a],l="function"==typeof r?r.call(o,a,o):"string"!=typeof r||isHtml(r)?r:n.find(r).clone(),[h]=this._makeDomArray(l,a<s);if(!h||!hasChildren(h))continue;let c=h,d=0;for(;d<c.children.length;){let i=c.children[d];isTag1(i)?(c=i,d=0):d++}i(o,c,[h])}return this}}let wrap=_wrap((i,r,s)=>{let{parent:n}=i;if(!n)return;let a=n.children,o=a.indexOf(i);update([i],r),uniqueSplice(a,o,0,s,n)}),wrapInner=_wrap((i,r,s)=>{hasChildren(i)&&(update(i.children,r),update(s,i))});function unwrap(i){return this.parent(i).not("body").each((i,r)=>{this._make(r).replaceWith(r.children)}),this}function wrapAll(i){let r=this[0];if(r){let s,n=this._make("function"==typeof i?i.call(r,0,r):i).insertBefore(r);for(let i=0;i<n.length;i++)n[i].type===__TURBOPACK__imported__module__25564__.Tag&&(s=n[i]);let a=0;for(;s&&a<s.children.length;){let i=s.children[a];i.type===__TURBOPACK__imported__module__25564__.Tag?(s=i,a=0):a++}s&&this._make(s).append(this)}return this}function after(...i){let r=this.length-1;return domEach(this,(s,n)=>{if(!hasChildren(s)||!s.parent)return;let a=s.parent.children,o=a.indexOf(s);if(-1===o)return;let l="function"==typeof i[0]?i[0].call(s,n,this._render(s.children)):i;uniqueSplice(a,o+1,0,this._makeDomArray(l,n<r),s.parent)})}function insertAfter(i){"string"==typeof i&&(i=this._make(i)),this.remove();let r=[];for(let s of this._makeDomArray(i)){let i=this.clone().toArray(),{parent:n}=s;if(!n)continue;let a=n.children,o=a.indexOf(s);-1!==o&&(uniqueSplice(a,o+1,0,i,n),r.push(...i))}return this._make(r)}function before(...i){let r=this.length-1;return domEach(this,(s,n)=>{if(!hasChildren(s)||!s.parent)return;let a=s.parent.children,o=a.indexOf(s);if(-1===o)return;let l="function"==typeof i[0]?i[0].call(s,n,this._render(s.children)):i;uniqueSplice(a,o,0,this._makeDomArray(l,n<r),s.parent)})}function insertBefore(i){let r=this._make(i);this.remove();let s=[];return domEach(r,i=>{let r=this.clone().toArray(),{parent:n}=i;if(!n)return;let a=n.children,o=a.indexOf(i);-1!==o&&(uniqueSplice(a,o,0,r,n),s.push(...r))}),this._make(s)}function remove(i){return domEach(i?this.filter(i):this,i=>{removeElement(i),i.prev=i.next=i.parent=null}),this}function replaceWith(i){return domEach(this,(r,s)=>{let{parent:n}=r;if(!n)return;let a=n.children,o="function"==typeof i?i.call(r,s,r):i,l=this._makeDomArray(o);update(l,null);let h=a.indexOf(r);uniqueSplice(a,h,1,l,n),l.includes(r)||(r.parent=r.prev=r.next=null)})}function empty(){return domEach(this,i=>{if(hasChildren(i)){for(let r of i.children)r.next=r.prev=r.parent=null;i.children.length=0}})}function html1(i){if(void 0===i){let i=this[0];return i&&hasChildren(i)?this._render(i.children):null}return domEach(this,r=>{if(hasChildren(r)){for(let i of r.children)i.next=i.prev=i.parent=null;update(isCheerio(i)?i.toArray():this._parse(`${i}`,this.options,!1,r).children,r)}})}function toString(){return this._render(this)}function text1(i){return void 0===i?text(this):"function"==typeof i?domEach(this,(r,s)=>this._make(r).text(i.call(r,s,text([r])))):domEach(this,r=>{if(hasChildren(r)){for(let i of r.children)i.next=i.prev=i.parent=null;update(new Text1(`${i}`),r)}})}function clone(){let i=Array.prototype.map.call(this.get(),i=>cloneNode(i,!0)),r=new Document(i);for(let s of i)s.parent=r;return this._make(i)}__turbopack_context__.s(["_makeDomArray",0,_makeDomArray,"after",0,after,"append",0,append1,"appendTo",0,appendTo,"before",0,before,"clone",0,clone,"empty",0,empty,"html",0,html1,"insertAfter",0,insertAfter,"insertBefore",0,insertBefore,"prepe
26nd",0,prepend1,"prependTo",0,prependTo,"remove",0,remove,"replaceWith",0,replaceWith,"text",0,text1,"toString",0,toString,"unwrap",0,unwrap,"wrap",0,wrap,"wrapAll",0,wrapAll,"wrapInner",0,wrapInner],51995);var __TURBOPACK__imported__module__51995__=__turbopack_context__.i(51995);function css(i,r){return(null==i||null==r)&&("object"!=typeof i||Array.isArray(i))?0!==this.length?getCss(this[0],i):void 0:domEach(this,(s,n)=>{isTag1(s)&&setCss(s,i,r,n)})}function setCss(i,r,s,n){if("string"==typeof r){let a=getCss(i),o="function"==typeof s?s.call(i,n,a[r]):s;""===o?delete a[r]:null!=o&&(a[r]=o),i.attribs.style=stringify(a)}else if("object"==typeof r){let s=Object.keys(r);for(let n=0;n<s.length;n++){let a=s[n];setCss(i,a,r[a],n)}}}function getCss(i,r){if(!i||!isTag1(i))return;let s=parse2(i.attribs.style);if("string"==typeof r)return s[r];if(Array.isArray(r)){let i={};for(let n of r)null!=s[n]&&(i[n]=s[n]);return i}return s}function stringify(i){return Object.keys(i).reduce((r,s)=>`${r}${r?" ":""}${s}: ${i[s]};`,"")}function parse2(i){let r;if(!(i=(i||"").trim()))return{};let s={};for(let n of i.split(";")){let i=n.indexOf(":");if(i<1||i===n.length-1){let i=n.trimEnd();i.length>0&&void 0!==r&&(s[r]+=`;${i}`)}else s[r=n.slice(0,i).trim()]=n.slice(i+1).trim()}return s}__turbopack_context__.s(["css",0,css],22641);var __TURBOPACK__imported__module__22641__=__turbopack_context__.i(22641);let submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize(){return this.serializeArray().map(i=>`${encodeURIComponent(i.name)}=${encodeURIComponent(i.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((i,r)=>{let s=this._make(r);return isTag1(r)&&"form"===r.name?s.find(submittableSelector).toArray():s.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((i,r)=>{var s;let n=this._make(r),a=n.attr("name"),o=null!=(s=n.val())?s:"";return Array.isArray(o)?o.map(i=>({name:a,value:i.replace(rCRLF,"\r\n")})):{name:a,value:o.replace(rCRLF,"\r\n")}}).toArray()}__turbopack_context__.s(["serialize",0,serialize,"serializeArray",0,serializeArray],81422);var __TURBOPACK__imported__module__81422__=__turbopack_context__.i(81422);function getExtractDescr(i){var r;return"string"==typeof i?{selector:i,value:"textContent"}:{selector:i.selector,value:null!=(r=i.value)?r:"textContent"}}function extract1(i){let r={};for(let s in i){let n=i[s],a=Array.isArray(n),{selector:o,value:l}=getExtractDescr(a?n[0]:n),h="function"==typeof l?l:"string"==typeof l?i=>this._make(i).prop(l):i=>this._make(i).extract(l);if(a)r[s]=this._findBySelector(o,1/0).map((i,n)=>h(n,s,r)).get();else{let i=this._findBySelector(o,1);r[s]=i.length>0?h(i[0],s,r):void 0}}return r}__turbopack_context__.s(["extract",0,extract1],98135);var __TURBOPACK__imported__module__98135__=__turbopack_context__.i(98135);class Cheerio{constructor(i,r,s){if(this.length=0,this.options=s,this._root=r,i){for(let r=0;r<i.length;r++)this[r]=i[r];this.length=i.length}}}Cheerio.prototype.cheerio="[cheerio object]",Cheerio.prototype.splice=Array.prototype.splice,Cheerio.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(Cheerio.prototype,__TURBOPACK__imported__module__90587__,__TURBOPACK__imported__module__17616__,__TURBOPACK__imported__module__51995__,__TURBOPACK__imported__module__22641__,__TURBOPACK__imported__module__81422__,__TURBOPACK__imported__module__98135__);var __TURBOPACK__imported__module__25564__=__TURBOPACK__imported__module__25564__;function getLoad(i,r){return function s(n,a,o=!0){if(null==n)throw Error("cheerio.load() expects a string");let l=flattenOptions(a),h=i(n,l,o,null);class c extends Cheerio{_make(i,r){let s=d(i,r);return s.prevObject=this,s}_parse(r,s,n,a){return i(r,s,n,a)}_render(i){return r(i,this.options)}}function d(r,s,n=h,a){if(r&&isCheerio(r))return r;let o=flattenOptions(a,l),u="string"==typeof n?[i(n,o,!1,null)]:"length"in n?n:[n],p=isCheerio(u)?u:new c(u,null,o);if(p._root=p,!r)return new c(void 0,p,o);let m="string"==typeof r&&isHtml(r)?i(r,o,!1,null).children:isNode(r)?[r]:Array.isArray(r)?r:void 0,g=new c(m,p,o);if(m)return g;if("string"!=typeof r)throw TypeError("Unexpected type of selector");let f=r,A=s?"string"==typeof s?isHtml(s)?new c([i(s,o,!1,null)],p,o):(f=`${s} ${f}`,p):isCheerio(s)?s:new c(Array.isArray(s)?s:[s],p,o):p;return A?A.find(f):g}return Object.assign(d,__TURBOPACK__imported__module__70107__,{load:s,_root:h,_options:l,fn:c.prototype,prototype:c.prototype}),d}}function isNode(i){return!!i.name||i.type===__TURBOPACK__imported__module__25564__.Root||i.type===__TURBOPACK__imported__module__25564__.Text||i.type===__TURBOPACK__imported__module__25564__.Comment}let UNDEFINED_CODE_POINTS=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),REPLACEMENT_CHARACTER="�";!function(i){i[i.EOF=-1]="EOF",i[i.NULL=0]="NULL",i[i.TABULATION=9]="TABULATION",i[i.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",i[i.LINE_FEED=10]="LINE_FEED",i[i.FORM_FEED=12]="FORM_FEED",i[i.SPACE=32]="SPACE",i[i.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",i[i.QUOTATION_MARK=34]="QUOTATION_MARK",i[i.AMPERSAND=38]="AMPERSAND",i[i.APOSTROPHE=39]="APOSTROPHE",i[i.HYPHEN_MINUS=45]="HYPHEN_MINUS",i[i.SOLIDUS=47]="SOLIDUS",i[i.DIGIT_0=48]="DIGIT_0",i[i.DIGIT_9=57]="DIGIT_9",i[i.SEMICOLON=59]="SEMICOLON",i[i.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",i[i.EQUALS_SIGN=61]="EQUALS_SIGN",i[i.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",i[i.QUESTION_MARK=63]="QUESTION_MARK",i[i.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",i[i.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",i[i.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",i[i.GRAVE_ACCENT=96]="GRAVE_ACCENT",i[i.LATIN_SMALL_A=97]="LATIN_SMALL_A",i[i.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(CODE_POINTS||(CODE_POINTS={}));let SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function isSurrogate(i){return i>=55296&&i<=57343}function isSurrogatePair(i){return i>=56320&&i<=57343}
26function getSurrogatePairCodePoint(i,r){return(i-55296)*1024+9216+r}function isControlCodePoint(i){return 32!==i&&10!==i&&13!==i&&9!==i&&12!==i&&i>=1&&i<=31||i>=127&&i<=159}function isUndefinedCodePoint(i){return i>=64976&&i<=65007||UNDEFINED_CODE_POINTS.has(i)}!function(i){i.controlCharacterInInputStream="control-character-in-input-stream",i.noncharacterInInputStream="noncharacter-in-input-stream",i.surrogateInInputStream="surrogate-in-input-stream",i.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",i.endTagWithAttributes="end-tag-with-attributes",i.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",i.unexpectedSolidusInTag="unexpected-solidus-in-tag",i.unexpectedNullCharacter="unexpected-null-character",i.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",i.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",i.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",i.missingEndTagName="missing-end-tag-name",i.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",i.unknownNamedCharacterReference="unknown-named-character-reference",i.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",i.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",i.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",i.eofBeforeTagName="eof-before-tag-name",i.eofInTag="eof-in-tag",i.missingAttributeValue="missing-attribute-value",i.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",i.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",i.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",i.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",i.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",i.missingDoctypePublicIdentifier="missing-doctype-public-identifier",i.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",i.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",i.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",i.cdataInHtmlContent="cdata-in-html-content",i.incorrectlyOpenedComment="incorrectly-opened-comment",i.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",i.eofInDoctype="eof-in-doctype",i.nestedComment="nested-comment",i.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",i.eofInComment="eof-in-comment",i.incorrectlyClosedComment="incorrectly-closed-comment",i.eofInCdata="eof-in-cdata",i.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",i.nullCharacterReference="null-character-reference",i.surrogateCharacterReference="surrogate-character-reference",i.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",i.controlCharacterReference="control-character-reference",i.noncharacterCharacterReference="noncharacter-character-reference",i.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",i.missingDoctypeName="missing-doctype-name",i.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",i.duplicateAttribute="duplicate-attribute",i.nonConformingDoctype="non-conforming-doctype",i.missingDoctype="missing-doctype",i.misplacedDoctype="misplaced-doctype",i.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",i.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",i.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",i.openElementsLeftAfterEof="open-elements-left-after-eof",i.abandonedHeadElementChild="abandoned-head-element-child",i.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",i.nestedNoscriptInHead="nested-noscript-in-head",i.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(ERR||(ERR={}));let DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(i){this.handler=i,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(i,r){let{line:s,col:n,offset:a}=this,o=n+r,l=a+r;return{code:i,startLine:s,endLine:s,startCol:o,endCol:o,startOffset:l,endOffset:l}}_err(i){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(i,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(i){if(this.pos!==this.html.length-1){let r=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(r))return this.pos++,this._addGap(),getSurrogatePairC
vendor: 2,260 bytes, line 26
26odePoint(i,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),i}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(i,r){this.html.length>0?this.html+=i:this.html=i,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(i){this.html=this.html.substring(0,this.pos+1)+i+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(i,r){if(this.pos+i.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(i,this.pos);for(let r=0;r<i.length;r++)if((32|this.html.charCodeAt(this.pos+r))!==i.charCodeAt(r))return!1;return!0}peek(i){let r=this.pos+i;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let s=this.html.charCodeAt(r);return s===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:s}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let i=this.html.charCodeAt(this.pos);return i===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):i===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(i)&&(i=this._processSurrogate(i)),null===this.handler.onParseError||i>31&&i<127||i===CODE_POINTS.LINE_FEED||i===CODE_POINTS.CARRIAGE_RETURN||i>159&&i<64976||this._checkForProblematicCharacters(i),i)}_checkForProblematicCharacters(i){isControlCodePoint(i)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(i)&&this._err(ERR.noncharacterInInputStream)}retreat(i){for(this.pos-=i;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function getTokenAttr(i,r){for(let s=i.attrs.length-1;s>=0;s--)if(i.attrs[s].name===r)return i.attrs[s].value;return null}!function(i){i[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",
26i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION"}(TokenType||(TokenType={}));let htmlDecodeTree1=new Uint16Array('
vendor: 16,129 bytes, line 26
26áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 26
26ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 26
26astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
26'.split("").map(i=>i.charCodeAt(0))),xmlDecodeTree1=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(i=>i.charCodeAt(0))),decodeMap2=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint2=null!=(_a3=String.fromCodePoint)?_a3:function(i){let r="";return i>65535&&(i-=65536,r+=String.fromCharCode(i>>>10&1023|55296),i=56320|1023&i),r+=String.fromCharCode(i)};function replaceCodePoint2(i){var r;return i>=55296&&i<=57343||i>1114111?65533:null!=(r=decodeMap2.get(i))?r:i}function decodeCodePoint2(i){return fromCodePoint2(replaceCodePoint2(i))}!function(i){i[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z"}(CharCodes3||(CharCodes3={}));let TO_LOWER_BIT2=32;function isNumber2(i){return i>=CharCodes3.ZERO&&i<=CharCodes3.NINE}function isHexadecimalCharacter2(i){return i>=CharCodes3.UPPER_A&&i<=CharCodes3.UPPER_F||i>=CharCodes3.LOWER_A&&i<=CharCodes3.LOWER_F}function isAsciiAlphaNumeric2(i){return i>=CharCodes3.UPPER_A&&i<=CharCodes3.UPPER_Z||i>=CharCodes3.LOWER_A&&i<=CharCodes3.LOWER_Z||isNumber2(i)}function isEntityInAttributeInvalidEnd2(i){return i===CharCodes3.EQUALS||isAsciiAlphaNumeric2(i)}!function(i){i[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE"}(BinTrieFlags2||(BinTrieFlags2={})),function(i){i[i.EntityStart=0]="EntityStart",i[i.NumericStart=1]="NumericStart",i[i.NumericDecimal=2]="NumericDecimal",i[i.NumericHex=3]="NumericHex",i[i.NamedEntity=4]="NamedEntity"}(EntityDecoderState2||(EntityDecoderState2={})),function(i){i[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute"}(DecodingMode3||(DecodingMode3={}));class EntityDecoder2{constructor(i,r,s){this.decodeTree=i,this.emitCodePoint=r,this.errors=s,this.state=EntityDecoderState2.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode3.Strict}startEntity(i){this.decodeMode=i,this.state=EntityDecoderState2.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(i,r){switch(this.state){case EntityDecoderState2.EntityStart:if(i.charCodeAt(r)===CharCodes3.NUM)return this.state=EntityDecoderState2.NumericStart,this.consumed+=1,this.stateNumericStart(i,r+1);return this.state=EntityDecoderState2.NamedEntity,this.stateNamedEntity(i,r);case EntityDecoderState2.NumericStart:return this.stateNumericStart(i,r);case EntityDecoderState2.NumericDecimal:return this.stateNumericDecimal(i,r);case EntityDecoderState2.NumericHex:return this.stateNumericHex(i,r);case EntityDecoderState2.NamedEntity:return this.stateNamedEntity(i,r)}}stateNumericStart(i,r){return r>=i.length?-1:(i.charCodeAt(r)|TO_LOWER_BIT2)===CharCodes3.LOWER_X?(this.state=EntityDecoderState2.NumericHex,this.consumed+=1,this.stateNumericHex(i,r+1)):(this.state=EntityDecoderState2.NumericDecimal,this.stateNumericDecimal(i,r))}addToNumericResult(i,r,s,n){if(r!==s){let a=s-r;this.result=this.result*Math.pow(n,a)+Number.parseInt(i.substr(r,a),n),this.consumed+=a}}stateNumericHex(i,r){let s=r;for(;r<i.length;){let n=i.charCodeAt(r);if(!(isNumber2(n)||isHexadecimalCharacter2(n)))return this.addToNumericResult(i,s,r,16),this.emitNumericEntity(n,3);r+=1}return this.addToNumericResult(i,s,r,16),-1}stateNumericDecimal(i,r){let s=r;for(;r<i.length;){let n=i.charCodeAt(r);if(!isNumber2(n))return this.addToNumericResult(i,s,r,10),this.emitNumericEntity(n,2);r+=1}
26return this.addToNumericResult(i,s,r,10),-1}emitNumericEntity(i,r){var s;if(this.consumed<=r)return null==(s=this.errors)||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===CharCodes3.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode3.Strict)return 0;return this.emitCodePoint(replaceCodePoint2(this.result),this.consumed),this.errors&&(i!==CharCodes3.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,r){let{decodeTree:s}=this,n=s[this.treeIndex],a=(n&BinTrieFlags2.VALUE_LENGTH)>>14;for(;r<i.length;r++,this.excess++){let o=i.charCodeAt(r);if(this.treeIndex=determineBranch2(s,n,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return 0===this.result||this.decodeMode===DecodingMode3.Attribute&&(0===a||isEntityInAttributeInvalidEnd2(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(a=((n=s[this.treeIndex])&BinTrieFlags2.VALUE_LENGTH)>>14)){if(o===CharCodes3.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==DecodingMode3.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var i;let{result:r,decodeTree:s}=this,n=(s[r]&BinTrieFlags2.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),null==(i=this.errors)||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,r,s){let{decodeTree:n}=this;return this.emitCodePoint(1===r?n[i]&~BinTrieFlags2.VALUE_LENGTH:n[i+1],s),3===r&&this.emitCodePoint(n[i+2],s),s}end(){var i;switch(this.state){case EntityDecoderState2.NamedEntity:return 0!==this.result&&(this.decodeMode!==DecodingMode3.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState2.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState2.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState2.NumericStart:return null==(i=this.errors)||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState2.EntityStart:return 0}}}function getDecoder2(i){let r="",s=new EntityDecoder2(i,i=>r+=fromCodePoint2(i));return function(i,n){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){r+=i.slice(a,o),s.startEntity(n);let l=s.write(i,o+1);if(l<0){a=o+s.end();break}a=o+l,o=0===l?a+1:a}let l=r+i.slice(a);return r="",l}}function determineBranch2(i,r,s,n){let a=(r&BinTrieFlags2.BRANCH_LENGTH)>>7,o=r&BinTrieFlags2.JUMP_TABLE;if(0===a)return 0!==o&&n===o?s:-1;if(o){let r=n-o;return r<0||r>=a?-1:i[s+r]-1}let l=s,h=l+a-1;for(;l<=h;){let r=l+h>>>1,s=i[r];if(s<n)l=r+1;else{if(!(s>n))return i[r+a];h=r-1}}return -1}let htmlDecoder2=getDecoder2(htmlDecodeTree1),xmlDecoder2=getDecoder2(xmlDecodeTree1);function decodeHTML3(i,r=DecodingMode3.Legacy){return htmlDecoder2(i,r)}function decodeHTMLAttribute2(i){return htmlDecoder2(i,DecodingMode3.Attribute)}function decodeHTMLStrict2(i){return htmlDecoder2(i,DecodingMode3.Strict)}function decodeXML3(i){return xmlDecoder2(i,DecodingMode3.Strict)}!function(i){i.HTML="http://www.w3.org/1999/xhtml",i.MATHML="http://www.w3.org/1998/Math/MathML",i.SVG="http://www.w3.org/2000/svg",i.XLINK="http://www.w3.org/1999/xlink",i.XML="http://www.w3.org/XML/1998/namespace",i.XMLNS="http://www.w3.org/2000/xmlns/"}(NS||(NS={})),function(i){i.TYPE="type",i.ACTION="action",i.ENCODING="encoding",i.PROMPT="prompt",i.NAME="name",i.COLOR="color",i.FACE="face",i.SIZE="size"}(ATTRS||(ATTRS={})),function(i){i.NO_QUIRKS="no-quirks",i.QUIRKS="quirks",i.LIMITED_QUIRKS="limited-quirks"}(DOCUMENT_MODE||(DOCUMENT_MODE={})),function(i){i.A="a",i.ADDRESS="address",i.ANNOTATION_XML="annotation-xml",i.APPLET="applet",i.AREA="area",i.ARTICLE="article",i.ASIDE="aside",i.B="b",i.BASE="base",i.BASEFONT="basefont",i.BGSOUND="bgsound",i.BIG="big",i.BLOCKQUOTE="blockquote",i.BODY="body",i.BR="br",i.BUTTON="button",i.CAPTION="caption",i.CENTER="center",i.CODE="code",i.COL="col",i.COLGROUP="colgroup",i.DD="dd",i.DESC="desc",i.DETAILS="details",i.DIALOG="dialog",i.DIR="dir",i.DIV="div",i.DL="dl",i.DT="dt",i.EM="em",i.EMBED="embed",i.FIELDSET="fieldset",i.FIGCAPTION="figcaption",i.FIGURE="figure",i.FONT="font",i.FOOTER="footer",i.FOREIGN_OBJECT="foreignObject",i.FORM="form",i.FRAME="frame",i.FRAMESET="frameset",i.H1="h1",i.H2="h2",i.H3="h3",i.H4="h4",i.H5="h5",i.H6="h6",i.HEAD="head",i.HEADER="header",i.HGROUP="hgroup",i.HR="hr",i.HTML="html",i.I="i",i.IMG="img",i.IMAGE="image",i.INPUT="input",i.IFRAME="iframe",i.KEYGEN="keygen",i.LABEL="label",i.LI="li",i.LINK="link",i.LISTING="listing",i.MAIN="main",i.MALIGNMARK="malignmark",i.MARQUEE="marquee",i.MATH="math",i.MENU="menu",i.META="meta",i.MGLYPH="mglyph",i.MI="mi",i.MO="mo",i.MN="mn",i.MS="ms",i.MTEXT="mtext",i.NAV="nav",i.NOBR="nobr",i.NOFRAMES="noframes",i.NOEMBED="noembed",i.NOSCRIPT="noscript",i.OBJECT="object",i.OL="ol",i.OPTGROUP="optgroup",i.OPTION="option",i.P="p",i.PARAM="param",i.PLAINTEXT="plaintext",i.PRE="pre",i.RB="rb",i.RP="rp",i.RT="rt",i.RTC="rtc",i.RUBY="ruby",i.S="s",i.SCRIPT="script",i.SEARCH="search",i.SECTION="section",i.SELECT="select",i.SOURCE="source",i.SMALL="small",i.SPAN="span",i.STRIKE="str
26ike",i.STRONG="strong",i.STYLE="style",i.SUB="sub",i.SUMMARY="summary",i.SUP="sup",i.TABLE="table",i.TBODY="tbody",i.TEMPLATE="template",i.TEXTAREA="textarea",i.TFOOT="tfoot",i.TD="td",i.TH="th",i.THEAD="thead",i.TITLE="title",i.TR="tr",i.TRACK="track",i.TT="tt",i.U="u",i.UL="ul",i.SVG="svg",i.VAR="var",i.WBR="wbr",i.XMP="xmp"}(TAG_NAMES||(TAG_NAMES={})),function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.A=1]="A",i[i.ADDRESS=2]="ADDRESS",i[i.ANNOTATION_XML=3]="ANNOTATION_XML",i[i.APPLET=4]="APPLET",i[i.AREA=5]="AREA",i[i.ARTICLE=6]="ARTICLE",i[i.ASIDE=7]="ASIDE",i[i.B=8]="B",i[i.BASE=9]="BASE",i[i.BASEFONT=10]="BASEFONT",i[i.BGSOUND=11]="BGSOUND",i[i.BIG=12]="BIG",i[i.BLOCKQUOTE=13]="BLOCKQUOTE",i[i.BODY=14]="BODY",i[i.BR=15]="BR",i[i.BUTTON=16]="BUTTON",i[i.CAPTION=17]="CAPTION",i[i.CENTER=18]="CENTER",i[i.CODE=19]="CODE",i[i.COL=20]="COL",i[i.COLGROUP=21]="COLGROUP",i[i.DD=22]="DD",i[i.DESC=23]="DESC",i[i.DETAILS=24]="DETAILS",i[i.DIALOG=25]="DIALOG",i[i.DIR=26]="DIR",i[i.DIV=27]="DIV",i[i.DL=28]="DL",i[i.DT=29]="DT",i[i.EM=30]="EM",i[i.EMBED=31]="EMBED",i[i.FIELDSET=32]="FIELDSET",i[i.FIGCAPTION=33]="FIGCAPTION",i[i.FIGURE=34]="FIGURE",i[i.FONT=35]="FONT",i[i.FOOTER=36]="FOOTER",i[i.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",i[i.FORM=38]="FORM",i[i.FRAME=39]="FRAME",i[i.FRAMESET=40]="FRAMESET",i[i.H1=41]="H1",i[i.H2=42]="H2",i[i.H3=43]="H3",i[i.H4=44]="H4",i[i.H5=45]="H5",i[i.H6=46]="H6",i[i.HEAD=47]="HEAD",i[i.HEADER=48]="HEADER",i[i.HGROUP=49]="HGROUP",i[i.HR=50]="HR",i[i.HTML=51]="HTML",i[i.I=52]="I",i[i.IMG=53]="IMG",i[i.IMAGE=54]="IMAGE",i[i.INPUT=55]="INPUT",i[i.IFRAME=56]="IFRAME",i[i.KEYGEN=57]="KEYGEN",i[i.LABEL=58]="LABEL",i[i.LI=59]="LI",i[i.LINK=60]="LINK",i[i.LISTING=61]="LISTING",i[i.MAIN=62]="MAIN",i[i.MALIGNMARK=63]="MALIGNMARK",i[i.MARQUEE=64]="MARQUEE",i[i.MATH=65]="MATH",i[i.MENU=66]="MENU",i[i.META=67]="META",i[i.MGLYPH=68]="MGLYPH",i[i.MI=69]="MI",i[i.MO=70]="MO",i[i.MN=71]="MN",i[i.MS=72]="MS",i[i.MTEXT=73]="MTEXT",i[i.NAV=74]="NAV",i[i.NOBR=75]="NOBR",i[i.NOFRAMES=76]="NOFRAMES",i[i.NOEMBED=77]="NOEMBED",i[i.NOSCRIPT=78]="NOSCRIPT",i[i.OBJECT=79]="OBJECT",i[i.OL=80]="OL",i[i.OPTGROUP=81]="OPTGROUP",i[i.OPTION=82]="OPTION",i[i.P=83]="P",i[i.PARAM=84]="PARAM",i[i.PLAINTEXT=85]="PLAINTEXT",i[i.PRE=86]="PRE",i[i.RB=87]="RB",i[i.RP=88]="RP",i[i.RT=89]="RT",i[i.RTC=90]="RTC",i[i.RUBY=91]="RUBY",i[i.S=92]="S",i[i.SCRIPT=93]="SCRIPT",i[i.SEARCH=94]="SEARCH",i[i.SECTION=95]="SECTION",i[i.SELECT=96]="SELECT",i[i.SOURCE=97]="SOURCE",i[i.SMALL=98]="SMALL",i[i.SPAN=99]="SPAN",i[i.STRIKE=100]="STRIKE",i[i.STRONG=101]="STRONG",i[i.STYLE=102]="STYLE",i[i.SUB=103]="SUB",i[i.SUMMARY=104]="SUMMARY",i[i.SUP=105]="SUP",i[i.TABLE=106]="TABLE",i[i.TBODY=107]="TBODY",i[i.TEMPLATE=108]="TEMPLATE",i[i.TEXTAREA=109]="TEXTAREA",i[i.TFOOT=110]="TFOOT",i[i.TD=111]="TD",i[i.TH=112]="TH",i[i.THEAD=113]="THEAD",i[i.TITLE=114]="TITLE",i[i.TR=115]="TR",i[i.TRACK=116]="TRACK",i[i.TT=117]="TT",i[i.U=118]="U",i[i.UL=119]="UL",i[i.SVG=120]="SVG",i[i.VAR=121]="VAR",i[i.WBR=122]="WBR",i[i.XMP=123]="XMP"}(TAG_ID||(TAG_ID={}));let TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(i){var r;return null!=(r=TAG_NAME_TO_ID.get(i))?r:TAG_ID.UNKNOWN}let $1=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$1.ADDRESS,$1.APPLET,$1.AREA,$1.ARTICLE,$1.ASIDE,$1.BASE,$1.BASEFONT,$1.BGSOUND,$1.BLOCKQUOTE,$1.BODY,$1.BR,$1.BUTTON,$1.CAPTION,$1.CENTER,$1.COL,$1.COLGROUP,$1.DD,$1.DETAILS,$1.DIR,$1.DIV,$1.DL,$1.DT,$1.EMBED,$1.FIELDSET,$1.FIGCAPTION,$1.FIGURE,$1.FOOTER,$1.FORM,$1.FRAME,$1.FRAMESET,$1.H1,$1.H2,$1.H3,$1.H4,$1.H5,$1.H6,$1.HEAD,$1.HEADER,$1.HGROUP,$1.HR,$1.HTML,$1.IFRAME,$1.IMG,$1.INPUT,$1.LI,$1.LINK,$1.LISTING,$1.MAIN,$1.MARQUEE,$1.MENU,$1.META,$1.NAV,$1.NOEMBED,$1.NOFRAMES,$1.NOSCRIPT,$1.OBJECT,$1.OL,$1.P,$1.PARAM,$1.PLAINTEXT,$1.PRE,$1.SCRIPT,$1.SECTION,$1.SELECT,$1.SOURCE,$1.STYLE,$1.SUMMARY,$1.TABLE,$1.TBODY,$1.TD,$1.TEMPLATE,$1.TEXTAREA,$1.TFOOT,$1.TH,$1.THEAD,$1.TITLE,$1.TR,$1.TRACK,$1.UL,$1.WBR,$1.XMP]),[NS.MATHML]:new Set([$1.MI,$1.MO,$1.MN,$1.MS,$1.MTEXT,$1.ANNOTATION_XML]),[NS.SVG]:new Set([$1.TITLE,$1.FOREIGN_OBJECT,$1.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$1.H1,$1.H2,$1.H3,$1.H4,$1.H5,$1.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(i,r){return UNESCAPED_TEXT.has(i)||r&&i===TAG_NAMES.NOSCRIPT}__turbopack_context__.s(["ATTRS",0,ATTRS,"DOCUMENT_MODE",0,DOCUMENT_MODE,"NS",0,NS,"NUMBERED_HEADERS",0,NUMBERED_HEADERS,"SPECIAL_ELEMENTS",0,SPECIAL_ELEMENTS,"TAG_ID",0,TAG_ID,"TAG_NAMES",0,TAG_NAMES,"getTagID",0,getTagID,"hasUnescapedText",0,hasUnescapedText],13515),function(i){i[i.DATA=0]="DATA",i[i.RCDATA=1]="RCDATA",i[i.RAWTEXT=2]="RAWTEXT",i[i.SCRIPT_DATA=3]="SCRIPT_DATA",i[i.PLAINTEXT=4]="PLAINTEXT",i[i.TAG_OPEN=5]="TAG_OPEN",i[i.END_TAG_OPEN=6]="END_TAG_OPEN",i[i.TAG_NAME=7]="TAG_NAME",i[i.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",i[i.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",i[i.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",i[i.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",i[i.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",i[i.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",i[i.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",i[i.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",i[i.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",i[i.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",i[i.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",i[i.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",i[i.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",i[i.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",i[i.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",i[i.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",i[i.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",i[i.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",i[i.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",i[i.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",i[i.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",i[i.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",i[i.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",i[i.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",i[i.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",i[i.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",i[i.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",i[i.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",i[i.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",i[i.BOGUS_COMMENT=40]="BOGUS_COMMENT",i[i.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",i[i.COMMENT_START=42]="COMMENT_START",i[i.COMMENT_START_DASH=43]="COMMENT_START_DASH",i[i.COMMENT=44]="COMMENT",i[i.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",i[i.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",i[i.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",i[i.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",i[i.COMMENT_END_DASH=49]="COMMENT_END_DASH",i[i.COMMENT_END=50]="COMMENT_END",i[i.COMMENT_END_BANG=51]="COMMENT_END_BANG",i[i.DOCTYPE=52]="DOCTYPE",i[i.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",i[i.DOCTYPE_NAME=54]="DOCTYPE_NAME",i[i.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",i[i.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",i[i.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",i[i.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",i[i.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",i[i.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",i[i.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",i[i.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",i[i.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",i[i.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",i[i.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",i[i.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",i[i.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",i[i.CDATA_SECTION=68]="CDATA_SECTION",i[i.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",i[i.CDATA_SECTION_END=70]="CDATA_SECTION_END",i[i.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",i[i.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(State1||(State1={}));let TokenizerMode={DATA:State1.DATA,RCDATA:State1.RCDATA,RAWTEXT:State1.RAWTEXT,SCRIPT_DATA:State1.SCRIPT_DATA,PLAINTEXT:State1.PLAINTEXT,CDATA_SECTION:State1.CDATA_SECTION};function isAsciiDigit(i){return i>=CODE_POINTS.DIGIT_0&&i<=CODE_POINTS.DIGIT_9}function isAsciiUpper(i){return i>=CODE_POINTS.LATIN_CAPITAL_A&&i<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(i){return i>=CODE_POINTS.LATIN_SMALL_A&&i<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(i){return isAsciiLower(i)||isAsciiUpper(i)}function isAsciiAlphaNumeric3(i){return isAsciiLetter(i)||isAsciiDigit(i)}function toAsciiLower(i){return i+32}function isWhitespace2(i){return i===CODE_POINTS.SPACE||i===CODE_POINTS.LINE_FEED||i===CODE_POINTS.TABULATION||i===CODE_POINTS.FORM_FEED}
vendor: 5,380 bytes, line 26
26function isScriptDataDoubleEscapeSequenceEnd(i){return isWhitespace2(i)||i===CODE_POINTS.SOLIDUS||i===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(i){if(i===CODE_POINTS.NULL)return ERR.nullCharacterReference;if(i>1114111)return ERR.characterReferenceOutsideUnicodeRange;if(isSurrogate(i))return ERR.surrogateCharacterReference;if(isUndefinedCodePoint(i))return ERR.noncharacterCharacterReference;if(isControlCodePoint(i)||i===CODE_POINTS.CARRIAGE_RETURN)return ERR.controlCharacterReference;return null}class Tokenizer1{constructor(i,r){this.options=i,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State1.DATA,this.returnState=State1.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder2(htmlDecodeTree1,(i,r)=>{this.preprocessor.pos=this.entityStartPos+r-1,this._flushCodePointConsumedAsCharacterReference(i)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:i=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+i)},validateNumericCharacterReference:i=>{let r=getErrorForNumericCharacterReference(i);r&&this._err(r,1)}}:void 0)}_err(i,r=0){var s,n;null==(n=(s=this.handler).onParseError)||n.call(s,this.preprocessor.getError(i,r))}getCurrentLocation(i){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-i,startOffset:this.preprocessor.offset-i,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let i=this._consume();this._ensureHibernation()||this._callState(i)}this.inLoop=!1}}pause(){this.paused=!0}resume(i){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==i||i())}write(i,r,s){this.active=!0,this.preprocessor.write(i,r),this._runParsingLoop(),this.paused||null==s||s()}insertHtmlAtCurrentPos(i){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(i),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(i){this.consumedAfterSnapshot+=i;for(let r=0;r<i;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(i,r){return!!this.preprocessor.startsWith(i,r)&&(this._advanceBy(i.length-1),!0)}_createStartTagToken(){this.currentToken={type:TokenType.START_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:TokenType.END_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(i){this.currentToken={type:TokenType.COMMENT,data:"",location:this.getCurrentLocation(i)}}_createDoctypeToken(i){this.currentToken={type:TokenType.DOCTYPE,name:i,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(i,r){this.currentCharacterToken={type:i,chars:r,location:this.currentLocation}}_createAttr(i){this.currentAttr={name:i,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var i,r;let s=this.currentToken;null===getTokenAttr(s,this.currentAttr.name)?(s.attrs.push(this.currentAttr),s.location&&this.currentLocation&&((null!=(i=(r=s.location).attrs)?i:r.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(i){this._emitCurrentCharacterToken(i.location),this.currentToken=null,i.location&&(i.location.endLine=this.preprocessor.line,i.location.endCol=this.preprocessor.col+1,i.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let i=this.currentToken;this.prepareToken(i),i.tagID=getTagID(i.tagName),i.type===TokenType.START_TAG?(this.lastStartTagName=i.tagName,this.handler.onStartTag(i)):(i.attrs.length>0&&this._err(ERR.endTagWithAttributes),i.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(i)),this.preprocessor.dropParsedChunk()}emitCurrentComment(i){this.prepareToken(i),this.handler.onComment(i),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(i){this.prepareToken(i),this.handler.onDoctype(i),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(i){if(this.currentCharacterToken){switch(i&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:this.handler.onCh
vendor: 6,628 bytes, line 26
26aracter(this.currentCharacterToken);break;case TokenType.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case TokenType.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let i=this.getCurrentLocation(0);i&&(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset),this._emitCurrentCharacterToken(i),this.handler.onEof({type:TokenType.EOF,location:i}),this.active=!1}_appendCharToCurrentCharacterToken(i,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===i){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(i,r)}_emitCodePoint(i){let r=isWhitespace2(i)?TokenType.WHITESPACE_CHARACTER:i===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(i))}_emitChars(i){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,i)}_startCharacterReference(){this.returnState=this.state,this.state=State1.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode3.Attribute:DecodingMode3.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State1.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State1.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State1.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(i){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(i):this._emitCodePoint(i)}_callState(i){switch(this.state){case State1.DATA:this._stateData(i);break;case State1.RCDATA:this._stateRcdata(i);break;case State1.RAWTEXT:this._stateRawtext(i);break;case State1.SCRIPT_DATA:this._stateScriptData(i);break;case State1.PLAINTEXT:this._statePlaintext(i);break;case State1.TAG_OPEN:this._stateTagOpen(i);break;case State1.END_TAG_OPEN:this._stateEndTagOpen(i);break;case State1.TAG_NAME:this._stateTagName(i);break;case State1.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(i);break;case State1.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(i);break;case State1.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(i);break;case State1.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(i);break;case State1.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(i);break;case State1.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(i);break;case State1.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(i);break;case State1.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(i);break;case State1.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(i);break;case State1.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(i);break;case State1.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(i);break;case State1.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(i);break;case State1.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(i);break;case State1.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(i);break;case State1.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(i);break;case State1.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(i);break;case State1.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(i);break;case State1.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(i);break;case State1.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(i);break;case State1.ATTRIBUTE_NAME:this._stateAttributeName(i);break;case State1.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(i);break;case State1.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(i);break;case State1.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(i);break;case State1.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(i);break;case State1.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(i);break;case State1.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(i);break;case State1.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(i);break;case State1.BOGUS_COMMENT:this._stateBogusComment(i);break;case State1.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(i);break;case State1.COMMENT_START:this._stateCommentStart(i);break;case State1.COMMENT_START_DASH:this._stateCommentStartDash(i);break;case State1.COMMENT:this._stateComment(i);break;case State1.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(i);break;case State1.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(i);break;case State1.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(i);break;case State1.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(i);break;case State1.COMMENT_END_DASH:this._stateCommentEndDash(i);break;case State1.COMMENT_END:this._stateCommentEnd(i);break;case State1.COMMENT_END_BANG:this._stateCommentEndBang(i);break;case State1.DOCTYPE:this._stateDoctype(i);break;case State1.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(i);break;case State1.DOCTYPE_NAME:this._stateDoctypeName(i);break;case State1.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(i);break;case State1.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(i);break;case State1.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(i);break;case State1.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(i);break;case State1.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(i);break;case State1.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(i);break;case State1.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(i);break;case State1.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(i);break;case State1.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 4,802 bytes, line 26
26SystemIdentifier(i);break;case State1.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(i);break;case State1.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(i);break;case State1.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(i);break;case State1.BOGUS_DOCTYPE:this._stateBogusDoctype(i);break;case State1.CDATA_SECTION:this._stateCdataSection(i);break;case State1.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(i);break;case State1.CDATA_SECTION_END:this._stateCdataSectionEnd(i);break;case State1.CHARACTER_REFERENCE:this._stateCharacterReference();break;case State1.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(i);break;default:throw Error("Unknown state")}}_stateData(i){switch(i){case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.TAG_OPEN;break;case CODE_POINTS.AMPERSAND:this._startCharacterReference();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(i);break;case CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateRcdata(i){switch(i){case CODE_POINTS.AMPERSAND:this._startCharacterReference();break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.RCDATA_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateRawtext(i){switch(i){case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.RAWTEXT_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateScriptData(i){switch(i){case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(i)}}_statePlaintext(i){switch(i){case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateTagOpen(i){if(isAsciiLetter(i))this._createStartTagToken(),this.state=State1.TAG_NAME,this._stateTagName(i);else switch(i){case CODE_POINTS.EXCLAMATION_MARK:this.state=State1.MARKUP_DECLARATION_OPEN;break;case CODE_POINTS.SOLIDUS:this.state=State1.END_TAG_OPEN;break;case CODE_POINTS.QUESTION_MARK:this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State1.BOGUS_COMMENT,this._stateBogusComment(i);break;case CODE_POINTS.EOF:this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State1.DATA,this._stateData(i)}}_stateEndTagOpen(i){if(isAsciiLetter(i))this._createEndTagToken(),this.state=State1.TAG_NAME,this._stateTagName(i);else switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingEndTagName),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=State1.BOGUS_COMMENT,this._stateBogusComment(i)}}_stateTagName(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.BEFORE_ATTRIBUTE_NAME;break;case CODE_POINTS.SOLIDUS:this.state=State1.SELF_CLOSING_START_TAG;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentTagToken();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.tagName+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:r.tagName+=String.fromCodePoint(isAsciiUpper(i)?toAsciiLower(i):i)}}_stateRcdataLessThanSign(i){i===CODE_POINTS.SOLIDUS?this.state=State1.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=State1.RCDATA,this._stateRcdata(i))}_stateRcdataEndTagOpen(i){isAsciiLetter(i)?(this.state=State1.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(i)):(this._emitChars("</"),this.state=State1.RCDATA,this._stateRcdata(i))}handleSpecialEndTag(i){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=State1.BEFORE_ATTRIBUTE_NAME,
vendor: 4,283 bytes, line 26
26!1;case CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=State1.SELF_CLOSING_START_TAG,!1;case CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=State1.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=State1.RCDATA,this._stateRcdata(i))}_stateRawtextLessThanSign(i){i===CODE_POINTS.SOLIDUS?this.state=State1.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=State1.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagOpen(i){isAsciiLetter(i)?(this.state=State1.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(i)):(this._emitChars("</"),this.state=State1.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=State1.RAWTEXT,this._stateRawtext(i))}_stateScriptDataLessThanSign(i){switch(i){case CODE_POINTS.SOLIDUS:this.state=State1.SCRIPT_DATA_END_TAG_OPEN;break;case CODE_POINTS.EXCLAMATION_MARK:this.state=State1.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=State1.SCRIPT_DATA,this._stateScriptData(i)}}_stateScriptDataEndTagOpen(i){isAsciiLetter(i)?(this.state=State1.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(i)):(this._emitChars("</"),this.state=State1.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=State1.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStart(i){i===CODE_POINTS.HYPHEN_MINUS?(this.state=State1.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=State1.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStartDash(i){i===CODE_POINTS.HYPHEN_MINUS?(this.state=State1.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=State1.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscaped(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateScriptDataEscapedDash(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.state=State1.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=State1.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedDashDash(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.SCRIPT_DATA,this._emitChars(">");break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.state=State1.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=State1.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedLessThanSign(i){i===CODE_POINTS.SOLIDUS?this.state=State1.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(i)?(this._emitChars("<"),this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(i)):(this._emitChars("<"),this.state=State1.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagOpen(i){isAsciiLetter(i)?(this.state=State1.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(i)):(this._emitChars("</"),this.state=State1.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=State1.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}
vendor: 18,911 bytes, line 26
26_stateScriptDataDoubleEscapeStart(i){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(i);for(let i=0;i<SEQUENCES.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=State1.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscaped(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDash(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDashDash(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case CODE_POINTS.LESS_THAN_SIGN:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.SCRIPT_DATA,this._emitChars(">");break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break;case CODE_POINTS.EOF:this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedLessThanSign(i){i===CODE_POINTS.SOLIDUS?(this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateScriptDataDoubleEscapeEnd(i){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(i);for(let i=0;i<SEQUENCES.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=State1.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=State1.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateBeforeAttributeName(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:this.state=State1.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break;case CODE_POINTS.EQUALS_SIGN:this._err(ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=State1.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=State1.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateAttributeName(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:this._leaveAttrName(),this.state=State1.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break;case CODE_POINTS.EQUALS_SIGN:this._leaveAttrName(),this.state=State1.BEFORE_ATTRIBUTE_VALUE;break;case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:this._err(ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(i);break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.currentAttr.name+=REPLACEMENT_CHARACTER;break;default:this.currentAttr.name+=String.fromCodePoint(isAsciiUpper(i)?toAsciiLower(i):i)}}_stateAfterAttributeName(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:this.state=State1.SELF_CLOSING_START_TAG;break;case CODE_POINTS.EQUALS_SIGN:this.state=State1.BEFORE_ATTRIBUTE_VALUE;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentTagToken();break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=State1.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateBeforeAttributeValue(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:this.state=State1.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:this.state=State1.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingAttributeValue),this.state=State1.DATA,this.emitCurrentTagToken();break;default:this.state=State1.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(i)}}_stateAttributeValueDoubleQuoted(i){switch(i){case CODE_POINTS.QUOTATION_MARK:this.state=State1.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case CODE_POINTS.AMPERSAND:this._startCharacterReference();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueSingleQuoted(i){switch(i){case CODE_POINTS.APOSTROPHE:this.state=State1.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case CODE_POINTS.AMPERSAND:this._startCharacterReference();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueUnquoted(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=State1.BEFORE_ATTRIBUTE_NAME;break;case CODE_POINTS.AMPERSAND:this._startCharacterReference();break;case CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=State1.DATA,this.emitCurrentTagToken();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:case CODE_POINTS.EQUALS_SIGN:case CODE_POINTS.GRAVE_ACCENT:this._err(ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(i);break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAfterAttributeValueQuoted(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=State1.BEFORE_ATTRIBUTE_NAME;break;case CODE_POINTS.SOLIDUS:this._leaveAttrValue(),this.state=State1.SELF_CLOSING_START_TAG;break;case CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=State1.DATA,this.emitCurrentTagToken();break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this._err(ERR.missingWhitespaceBetweenAttributes),this.state=State1.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateSelfClosingStartTag(i){switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=State1.DATA,this.emitCurrentTagToken();break;case CODE_POINTS.EOF:this._err(ERR.eofInTag),this._emitEOFToken();break;default:this._err(ERR.unexpectedSolidusInTag),this.state=State1.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateBogusComment(i){let r=this.currentToken;switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentComment(r);break;case CODE_POINTS.EOF:this.emitCurrentComment(r),this._emitEOFToken();break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.data+=REPLACEMENT_CHARACTER;break;default:r.data+=String.fromCodePoint(i)}}_stateMarkupDeclarationOpen(i){this._consumeSequenceIfMatch(SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(SEQUENCES.DASH_DASH.length+1),this.state=State1.COMMENT_START):this._consumeSequenceIfMatch(SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(SEQUENCES.DOCTYPE.length+1),this.state=State1.DOCTYPE):this._consumeSequenceIfMatch(SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=State1.CDATA_SECTION:(this._err(ERR.cdataInHtmlContent),this._createCommentToken(SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=State1.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=State1.BOGUS_COMMENT,this._stateBogusComment(i))}_stateCommentStart(i){switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.COMMENT_START_DASH;break;case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptClosingOfEmptyComment),this.state=State1.DATA;let i=this.currentToken;this.emitCurrentComment(i);break}default:this.state=State1.COMMENT,this._stateComment(i)}}_stateCommentStartDash(i){let r=this.currentToken;switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.COMMENT_END;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.abruptClosingOfEmptyComment),this.state=State1.DATA,this.emitCurrentComment(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break;default:r.data+="-",this.state=State1.COMMENT,this._stateComment(i)}}_stateComment(i){let r=this.currentToken;switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.COMMENT_END_DASH;break;case CODE_POINTS.LESS_THAN_SIGN:r.data+="<",this.state=State1.COMMENT_LESS_THAN_SIGN;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.data+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.EOF:this._err(ERR.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break;default:r.data+=String.fromCodePoint(i)}}_stateCommentLessThanSign(i){let r=this.currentToken;switch(i){case CODE_POINTS.EXCLAMATION_MARK:r.data+="!",this.state=State1.COMMENT_LESS_THAN_SIGN_BANG;break;case CODE_POINTS.LESS_THAN_SIGN:r.data+="<";break;default:this.state=State1.COMMENT,this._stateComment(i)}}_stateCommentLessThanSignBang(i){i===CODE_POINTS.HYPHEN_MINUS?this.state=State1.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=State1.COMMENT,this._stateComment(i))}_stateCommentLessThanSignBangDash(i){i===CODE_POINTS.HYPHEN_MINUS?this.state=State1.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=State1.COMMENT_END_DASH,this._stateCommentEndDash(i))}_stateCommentLessThanSignBangDashDash(i){i!==CODE_POINTS.GREATER_THAN_SIGN&&i!==CODE_POINTS.EOF&&this._err(ERR.nestedComment),this.state=State1.COMMENT_END,this._stateCommentEnd(i)}_stateCommentEndDash(i){let r=this.currentToken;switch(i){case CODE_POINTS.HYPHEN_MINUS:this.state=State1.COMMENT_END;break;case CODE_POINTS.EOF:this._err(ERR.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break;default:r.data+="-",this.state=State1.COMMENT,this._stateComment(i)}}_stateCommentEnd(i){let r=this.currentToken;switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentComment(r);break;case CODE_POINTS.EXCLAMATION_MARK:this.state=State1.COMMENT_END_BANG;break;case CODE_POINTS.HYPHEN_MINUS:r.data+="-";break;case CODE_POINTS.EOF:this._err(ERR.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break;default:r.data+="--",this.state=State1.COMMENT,this._stateComment(i)}}_stateCommentEndBang(i){let r=this.currentToken;switch(i){case CODE_POINTS.HYPHEN_MINUS:r.data+="--!",this.state=State1.COMMENT_END_DASH;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.incorrectlyClosedComment),this.state=State1.DATA,this.emitCurrentComment(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break;default:r.data+="--!",this.state=State1.COMMENT,this._stateComment(i)}}_stateDoctype(i){switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.BEFORE_DOCTYPE_NAME;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i);break;case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ERR.missingWhitespaceBeforeDoctypeName),this.state=State1.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i)}}_stateBeforeDoctypeName(i){if(isAsciiUpper(i))this._createDoctypeToken(String.fromCharCode(toAsciiLower(i))),this.state=State1.DOCTYPE_NAME;else switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),this._createDoctypeToken(REPLACEMENT_CHARACTER),this.state=State1.DOCTYPE_NAME;break;case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeName),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=State1.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(i)),this.state=State1.DOCTYPE_NAME}}_stateDoctypeName(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.AFTER_DOCTYPE_NAME;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.name+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:r.name+=String.fromCodePoint(isAsciiUpper(i)?toAsciiLower(i):i)}}_stateAfterDoctypeName(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(SEQUENCES.PUBLIC,!1)?this.state=State1.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(SEQUENCES.SYSTEM,!1)?this.state=State1.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ERR.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i))}}_stateAfterDoctypePublicKeyword(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case CODE_POINTS.QUOTATION_MARK:this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=State1.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=State1.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypePublicIdentifier(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:r.publicId="",this.state=State1.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:r.publicId="",this.state=State1.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypePublicIdentifierDoubleQuoted(i){let r=this.currentToken;switch(i){case CODE_POINTS.QUOTATION_MARK:this.state=State1.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.publicId+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:r.publicId+=String.fromCodePoint(i)}}_stateDoctypePublicIdentifierSingleQuoted(i){let r=this.currentToken;switch(i){case CODE_POINTS.APOSTROPHE:this.state=State1.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.publicId+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:r.publicId+=String.fromCodePoint(i)}}_stateAfterDoctypePublicIdentifier(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.QUOTATION_MARK:this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;
vendor: 8,754 bytes, line 26
26default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBetweenDoctypePublicAndSystemIdentifiers(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.QUOTATION_MARK:r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateAfterDoctypeSystemKeyword(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:this.state=State1.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case CODE_POINTS.QUOTATION_MARK:this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypeSystemIdentifier(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case CODE_POINTS.APOSTROPHE:r.systemId="",this.state=State1.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.DATA,this.emitCurrentDoctype(r);break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypeSystemIdentifierDoubleQuoted(i){let r=this.currentToken;switch(i){case CODE_POINTS.QUOTATION_MARK:this.state=State1.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.systemId+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:r.systemId+=String.fromCodePoint(i)}}_stateDoctypeSystemIdentifierSingleQuoted(i){let r=this.currentToken;switch(i){case CODE_POINTS.APOSTROPHE:this.state=State1.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter),r.systemId+=REPLACEMENT_CHARACTER;break;case CODE_POINTS.GREATER_THAN_SIGN:this._err(ERR.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:r.systemId+=String.fromCodePoint(i)}}_stateAfterDoctypeSystemIdentifier(i){let r=this.currentToken;switch(i){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.EOF:this._err(ERR.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break;default:this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=State1.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBogusDoctype(i){let r=this.currentToken;switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(r),this.state=State1.DATA;break;case CODE_POINTS.NULL:this._err(ERR.unexpectedNullCharacter);break;case CODE_POINTS.EOF:this.emitCurrentDoctype(r),this._emitEOFToken()}}_stateCdataSection(i){switch(i){case CODE_POINTS.RIGHT_SQUARE_BRACKET:this.state=State1.CDATA_SECTION_BRACKET;break;case CODE_POINTS.EOF:this._err(ERR.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(i)}}_stateCdataSectionBracket(i){i===CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=State1.CDATA_SECTION_END:(this._emitChars("]"),this.state=State1.CDATA_SECTION,this._stateCdataSection(i))}_stateCdataSectionEnd(i){switch(i){case CODE_POINTS.GREATER_THAN_SIGN:this.state=State1.DATA;break;case CODE_POINTS.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=State1.CDATA_SECTION,this._stateCdataSection(i)}}_stateCharacterReference(){let i=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(i<0)if(this.preprocessor.lastChunkWritten)i=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}0===i?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(CODE_POINTS.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&isAsciiAlphaNumeric3(this.preprocessor.peek(1))?State1.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(i){isAsciiAlphaNumeric3(i)?this._flushCodePointConsumedAsCharacterReference(i):(i===CODE_POINTS.SEMICOLON&&this._err(ERR.unknownNamedCharacterReference),this.state=this.returnState,this._callState(i))}}let IMPLICIT_END_TAG_REQUIRED=new Set([TAG_ID.DD,TAG_ID.DT,TAG_ID.LI,TAG_ID.OPTGROUP,TAG_ID.OPTION,TAG_ID.P,TAG_ID.RB,TAG_ID.RP,TAG_ID.RT,TAG_ID.RTC]),IMPLICIT_END_TAG_REQUIRED_THOROUGHLY=new Set([...IMPLICIT_END_TAG_REQUIRED,TAG_ID.CAPTION,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]),SCOPING_ELEMENTS_HTML=new Set([TAG_ID.APPLET,TAG_ID.CAPTION,TAG_ID.HTML,TAG_ID.MARQUEE,TAG_ID.OBJECT,TAG_ID.TABLE,TAG_ID.TD,TAG_ID.TEMPLATE,TAG_ID.TH]),SCOPING_ELEMENTS_HTML_LIST=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.OL,TAG_ID.UL]),SCOPING_ELEMENTS_HTML_BUTTON=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.BUTTON]),SCOPING_ELEMENTS_MATHML=new Set([TAG_ID.ANNOTATION_XML,TAG_ID.MI,TAG_ID.MN,TAG_ID.MO,TAG_ID.MS,TAG_ID.MTEXT]),SCOPING_ELEMENTS_SVG=new Set([TAG_ID.DESC,TAG_ID.FOREIGN_OBJECT,TAG_ID.TITLE]),TABLE_ROW_CONTEXT=new Set([TAG_ID.TR,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_BODY_CONTEXT=new Set([TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CONTEXT=new Set([TAG_ID.TABLE,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CELLS=new Set([TAG_ID.TD,TAG_ID.TH]);class OpenElementStack{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(i,r,s){this.treeAdapter=r,this.handler=s,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=TAG_ID.UNKNOWN,this.current=i}_indexOf(i){return this.items.lastIndexOf(i,this.stackTop)}_isInTemplate(){return this.currentTagId===TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(i,r){this.stackTop++,this.items[this.stackTop]=i,this.current=i,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(i,r,!0)}pop(){let i=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!0)}replace(i,r){let s=this._indexOf(i);this.items[s]=r,s===this.stackTop&&(this.current=r)}insertAfter(i,r,s){let n=this._indexOf(i)+1;this.items.splice(n,0,r),this.tagIDs.splice(n,0,s),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(i){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(i,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==NS.HTML)this.shortenToLe
vendor: 10,996 bytes, line 26
26ngth(Math.max(r,0))}shortenToLength(i){for(;this.stackTop>=i;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<i)}}popUntilElementPopped(i){let r=this._indexOf(i);this.shortenToLength(Math.max(r,0))}popUntilPopped(i,r){let s=this._indexOfTagNames(i,r);this.shortenToLength(Math.max(s,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(NUMBERED_HEADERS,NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(TABLE_CELLS,NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(i,r){for(let s=this.stackTop;s>=0;s--)if(i.has(this.tagIDs[s])&&this.treeAdapter.getNamespaceURI(this.items[s])===r)return s;return -1}clearBackTo(i,r){let s=this._indexOfTagNames(i,r);this.shortenToLength(s+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(i){let r=this._indexOf(i);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(i){return this._indexOf(i)>-1}getCommonAncestor(i){let r=this._indexOf(i)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(i,r){for(let s=this.stackTop;s>=0;s--){let n=this.tagIDs[s];switch(this.treeAdapter.getNamespaceURI(this.items[s])){case NS.HTML:if(n===i)return!0;if(r.has(n))return!1;break;case NS.SVG:if(SCOPING_ELEMENTS_SVG.has(n))return!1;break;case NS.MATHML:if(SCOPING_ELEMENTS_MATHML.has(n))return!1}}return!0}hasInScope(i){return this.hasInDynamicScope(i,SCOPING_ELEMENTS_HTML)}hasInListItemScope(i){return this.hasInDynamicScope(i,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(i){return this.hasInDynamicScope(i,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){let r=this.tagIDs[i];switch(this.treeAdapter.getNamespaceURI(this.items[i])){case NS.HTML:if(NUMBERED_HEADERS.has(r))return!0;if(SCOPING_ELEMENTS_HTML.has(r))return!1;break;case NS.SVG:if(SCOPING_ELEMENTS_SVG.has(r))return!1;break;case NS.MATHML:if(SCOPING_ELEMENTS_MATHML.has(r))return!1}}return!0}hasInTableScope(i){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===NS.HTML)switch(this.tagIDs[r]){case i:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--)if(this.treeAdapter.getNamespaceURI(this.items[i])===NS.HTML)switch(this.tagIDs[i]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(i){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===NS.HTML)switch(this.tagIDs[r]){case i:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(i){for(;void 0!==this.currentTagId&&this.currentTagId!==i&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}let NOAH_ARK_CAPACITY=3;!function(i){i[i.Marker=0]="Marker",i[i.Element=1]="Element"}(EntryType||(EntryType={}));let MARKER={type:EntryType.Marker};class FormattingElementList{constructor(i){this.treeAdapter=i,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(i,r){let s=[],n=r.length,a=this.treeAdapter.getTagName(i),o=this.treeAdapter.getNamespaceURI(i);for(let i=0;i<this.entries.length;i++){let r=this.entries[i];if(r.type===EntryType.Marker)break;let{element:l}=r;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===o){let r=this.treeAdapter.getAttrList(l);r.length===n&&s.push({idx:i,attrs:r})}}return s}_ensureNoahArkCondition(i){if(this.entries.length<NOAH_ARK_CAPACITY)return;let r=this.treeAdapter.getAttrList(i),s=this._getNoahArkConditionCandidates(i,r);if(s.length<NOAH_ARK_CAPACITY)return;let n=new Map(r.map(i=>[i.name,i.value])),a=0;for(let i=0;i<s.length;i++){let r=s[i];r.attrs.every(i=>n.get(i.name)===i.value)&&(a+=1)>=NOAH_ARK_CAPACITY&&this.entries.splice(r.idx,1)}}insertMarker(){this.entries.unshift(MARKER)}pushElement(i,r){this._ensureNoahArkCondition(i),this.entries.unshift({type:EntryType.Element,element:i,token:r})}insertElementAfterBookmark(i,r){let s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:EntryType.Element,element:i,token:r})}removeEntry(i){let r=this.entries.indexOf(i);-1!==r&&this.entries.splice(r,1)}clearToLastMarker(){let i=this.entries.indexOf(MARKER);-1===i?this.entries.length=0:this.entries.splice(0,i+1)}getElementEntryInScopeWithTagName(i){let r=this.entries.find(r=>r.type===EntryType.Marker||this.treeAdapter.getTagName(r.element)===i);return r&&r.type===EntryType.Element?r:null}getElementEntry(i){return this.entries.find(r=>r.type===EntryType.Element&&r.element===i)}}let defaultTreeAdapter={createDocument:()=>({nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(i,r,s)=>({nodeName:i,tagName:i,attrs:s,namespaceURI:r,childNodes:[],parentNode:null}),createCommentNode:i=>({nodeName:"#comment",data:i,parentNode:null}),createTextNode:i=>({nodeName:"#text",value:i,parentNode:null}),appendChild(i,r){i.childNodes.push(r),r.parentNode=i},insertBefore(i,r,s){let n=i.childNodes.indexOf(s);i.childNodes.splice(n,0,r),r.parentNode=i},setTemplateContent(i,r){i.content=r},getTemplateContent:i=>i.content,setDocumentType(i,r,s,n){let a=i.childNodes.find(i=>"#documentType"===i.nodeName);if(a)a.name=r,a.publicId=s,a.systemId=n;else{let a={nodeName:"#documentType",name:r,publicId:s,systemId:n,parentNode:null};defaultTreeAdapter.appendChild(i,a)}},setDocumentMode(i,r){i.mode=r},getDocumentMode:i=>i.mode,detachNode(i){if(i.parentNode){let r=i.parentNode.childNodes.indexOf(i);i.parentNode.childNodes.splice(r,1),i.parentNode=null}},insertText(i,r){if(i.childNodes.length>0){let s=i.childNodes[i.childNodes.length-1];if(defaultTreeAdapter.isTextNode(s)){s.value+=r;return}}defaultTreeAdapter.appendChild(i,defaultTreeAdapter.createTextNode(r))},insertTextBefore(i,r,s){let n=i.childNodes[i.childNodes.indexOf(s)-1];n&&defaultTreeAdapter.isTextNode(n)?n.value+=r:defaultTreeAdapter.insertBefore(i,defaultTreeAdapter.createTextNode(r),s)},adoptAttributes(i,r){let s=new Set(i.attrs.map(i=>i.name));for(let n=0;n<r.length;n++)s.has(r[n].name)||i.attrs.push(r[n])},getFirstChild:i=>i.childNodes[0],getChildNodes:i=>i.childNodes,getParentNode:i=>i.parentNode,getAttrList:i=>i.attrs,getTagName:i=>i.tagName,getNamespaceURI:i=>i.namespaceURI,getTextNodeContent:i=>i.value,getCommentNodeContent:i=>i.data,getDocumentTypeNodeName:i=>i.name,getDocumentTypeNodePublicId:i=>i.publicId,getDocumentTypeNodeSystemId:i=>i.systemId,isTextNode:i=>"#text"===i.nodeName,isCommentNode:i=>"#comment"===i.nodeName,isDocumentTypeNode:i=>"#documentType"===i.nodeName,isElementNode:i=>Object.prototype.hasOwnProperty.call(i,"tagName"),setNodeSourceCodeLocation(i,r){i.sourceCodeLocation=r},getNodeSourceCodeLocation:i=>i.sourceCodeLocation,updateNodeSourceCodeLocation(i,r){i.sourceCodeLocation={...i.sourceCodeLocation,...r}}},VALID_DOCTYPE_NAME="html",VALID_SYSTEM_ID="about:legacy-compat",QUIRKS_MODE_SYSTEM_ID="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",QUIRKS_MODE_PUBLIC_ID_PREFIXES=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...QUIRKS_MODE_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],QUIRKS_MODE_PUBLIC_IDS=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),LIMITED_QUIRKS_PUBLIC_ID_PREFIXES=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...LIMITED_QUIRKS_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hasPrefix(i,r){return r.some(r=>i.startsWith(r))}function isConforming(i){return i.name===VALID_DOCTYPE_NAME&&null===i.publicId&&(null===i.systemId||i.systemId===VALID_SYSTEM_ID)}function getDocumentMode(i){if(i.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;let{systemId:r}=i;if(r&&r.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:s}=i;
26if(null!==s){if(s=s.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(s))return DOCUMENT_MODE.QUIRKS;let i=null===r?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(s,i))return DOCUMENT_MODE.QUIRKS;if(hasPrefix(s,i=null===r?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}let MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(i=>[i.toLowerCase(),i])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(i=>[i.toLowerCase(),i])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(i){let r=i.tagID;return r===TAG_ID.FONT&&i.attrs.some(({name:i})=>i===ATTRS.COLOR||i===ATTRS.SIZE||i===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(r)}function adjustTokenMathMLAttrs(i){for(let r=0;r<i.attrs.length;r++)if(i.attrs[r].name===DEFINITION_URL_ATTR){i.attrs[r].name=ADJUSTED_DEFINITION_URL_ATTR;break}}function adjustTokenSVGAttrs(i){for(let r=0;r<i.attrs.length;r++){let s=SVG_ATTRS_ADJUSTMENT_MAP.get(i.attrs[r].name);null!=s&&(i.attrs[r].name=s)}}function adjustTokenXMLAttrs(i){for(let r=0;r<i.attrs.length;r++){let s=XML_ATTRS_ADJUSTMENT_MAP.get(i.attrs[r].name);s&&(i.attrs[r].prefix=s.prefix,i.attrs[r].name=s.name,i.attrs[r].namespace=s.namespace)}}function adjustTokenSVGTagName(i){let r=SVG_TAG_NAMES_ADJUSTMENT_MAP.get(i.tagName);null!=r&&(i.tagName=r,i.tagID=getTagID(i.tagName))}function isMathMLTextIntegrationPoint(i,r){return r===NS.MATHML&&(i===TAG_ID.MI||i===TAG_ID.MO||i===TAG_ID.MN||i===TAG_ID.MS||i===TAG_ID.MTEXT)}function isHtmlIntegrationPoint(i,r,s){if(r===NS.MATHML&&i===TAG_ID.ANNOTATION_XML){for(let i=0;i<s.length;i++)if(s[i].name===ATTRS.ENCODING){let r=s[i].value.toLowerCase();return r===MIME_TYPES.TEXT_HTML||r===MIME_TYPES.APPLICATION_XML}}return r===NS.SVG&&(i===TAG_ID.FOREIGN_OBJECT||i===TAG_ID.DESC||i===TAG_ID.TITLE)}function isIntegrationPoint(i,r,s,n){return(!n||n===NS.HTML)&&isHtmlIntegrationPoint(i,r,s)||(!n||n===NS.MATHML)&&isMathMLTextIntegrationPoint(i,r)}let HIDDEN_INPUT_TYPE="hidden",AA_OUTER_LOOP_ITER=8,AA_INNER_LOOP_ITER=3;
26!function(i){i[i.INITIAL=0]="INITIAL",i[i.BEFORE_HTML=1]="BEFORE_HTML",i[i.BEFORE_HEAD=2]="BEFORE_HEAD",i[i.IN_HEAD=3]="IN_HEAD",i[i.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",i[i.AFTER_HEAD=5]="AFTER_HEAD",i[i.IN_BODY=6]="IN_BODY",i[i.TEXT=7]="TEXT",i[i.IN_TABLE=8]="IN_TABLE",i[i.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",i[i.IN_CAPTION=10]="IN_CAPTION",i[i.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",i[i.IN_TABLE_BODY=12]="IN_TABLE_BODY",i[i.IN_ROW=13]="IN_ROW",i[i.IN_CELL=14]="IN_CELL",i[i.IN_SELECT=15]="IN_SELECT",i[i.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",i[i.IN_TEMPLATE=17]="IN_TEMPLATE",i[i.AFTER_BODY=18]="AFTER_BODY",i[i.IN_FRAMESET=19]="IN_FRAMESET",i[i.AFTER_FRAMESET=20]="AFTER_FRAMESET",i[i.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",i[i.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(InsertionMode||(InsertionMode={}));let BASE_LOC={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},TABLE_STRUCTURE_TAGS=new Set([TAG_ID.TABLE,TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TR]),defaultParserOptions={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:defaultTreeAdapter,onParseError:null};class Parser1{constructor(i,r,s=null,n=null){this.fragmentContext=s,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=InsertionMode.INITIAL,this.originalInsertionMode=InsertionMode.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...defaultParserOptions,...i},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=r?r:this.treeAdapter.createDocument(),this.tokenizer=new Tokenizer1(this.options,this),this.activeFormattingElements=new FormattingElementList(this.treeAdapter),this.fragmentContextID=s?getTagID(this.treeAdapter.getTagName(s)):TAG_ID.UNKNOWN,this._setContextModes(null!=s?s:this.document,this.fragmentContextID),this.openElements=new OpenElementStack(this.document,this.treeAdapter,this)}static parse(i,r){let s=new this(r);return s.tokenizer.write(i,!0),s.document}static getFragmentParser(i,r){let s={...defaultParserOptions,...r};null!=i||(i=s.treeAdapter.createElement(TAG_NAMES.TEMPLATE,NS.HTML,[]));let n=s.treeAdapter.createElement("documentmock",NS.HTML,[]),a=new this(s,n,i);return a.fragmentContextID===TAG_ID.TEMPLATE&&a.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let i=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,r),r}_err(i,r,s){var n;if(!this.onParseError)return;let a=null!=(n=i.location)?n:BASE_LOC,o={code:r,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:s?a.startLine:a.endLine,endCol:s?a.startCol:a.endCol,endOffset:s?a.startOffset:a.endOffset};this.onParseError(o)}onItemPush(i,r,s){var n,a;null==(a=(n=this.treeAdapter).onItemPush)||a.call(n,i),s&&this.openElements.stackTop>0&&this._setContextModes(i,r)}onItemPop(i,r){var s,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(i,this.currentToken),null==(n=(s=this.treeAdapter).onItemPop)||n.call(s,i,this.openElements.current),r){let i,r;0===this.openElements.stackTop&&this.fragmentContext?(i=this.fragmentContext,r=this.fragmentContextID):{current:i,currentTagId:r}=this.openElements,this._setContextModes(i,r)}}_setContextModes(i,r){let s=i===this.document||i&&this.treeAdapter.getNamespaceURI(i)===NS.HTML;this.currentNotInHTML=!s,this.tokenizer.inForeignNode=!s&&void 0!==i&&void 0!==r&&!this._isIntegrationPoint(r,i)}_switchToTextParsing(i,r){this._insertElement(i,NS.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let i=this.fragmentContext;
vendor: 52,139 bytes, line 26
26for(;i;){if(this.treeAdapter.getTagName(i)===TAG_NAMES.FORM){this.formElement=i;break}i=this.treeAdapter.getParentNode(i)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===NS.HTML)switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:this.tokenizer.state=TokenizerMode.RCDATA;break;case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:this.tokenizer.state=TokenizerMode.RAWTEXT;break;case TAG_ID.SCRIPT:this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break;case TAG_ID.PLAINTEXT:this.tokenizer.state=TokenizerMode.PLAINTEXT}}_setDocumentType(i){let r=i.name||"",s=i.publicId||"",n=i.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,s,n),i.location){let r=this.treeAdapter.getChildNodes(this.document).find(i=>this.treeAdapter.isDocumentTypeNode(i));r&&this.treeAdapter.setNodeSourceCodeLocation(r,i.location)}}_attachElementToTree(i,r){if(this.options.sourceCodeLocationInfo){let s=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(i,s)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(i);else{let r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=r?r:this.document,i)}}_appendElement(i,r){let s=this.treeAdapter.createElement(i.tagName,r,i.attrs);this._attachElementToTree(s,i.location)}_insertElement(i,r){let s=this.treeAdapter.createElement(i.tagName,r,i.attrs);this._attachElementToTree(s,i.location),this.openElements.push(s,i.tagID)}_insertFakeElement(i,r){let s=this.treeAdapter.createElement(i,NS.HTML,[]);this._attachElementToTree(s,null),this.openElements.push(s,r)}_insertTemplate(i){let r=this.treeAdapter.createElement(i.tagName,NS.HTML,i.attrs),s=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,s),this._attachElementToTree(r,i.location),this.openElements.push(r,i.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,null)}_insertFakeRootElement(){let i=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null),this.treeAdapter.appendChild(this.openElements.current,i),this.openElements.push(i,TAG_ID.HTML)}_appendCommentNode(i,r){let s=this.treeAdapter.createCommentNode(i.data);this.treeAdapter.appendChild(r,s),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,i.location)}_insertCharacters(i){let r,s;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:s}=this._findFosterParentingLocation(),s?this.treeAdapter.insertTextBefore(r,i.chars,s):this.treeAdapter.insertText(r,i.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,i.chars)),!i.location)return;let n=this.treeAdapter.getChildNodes(r),a=s?n.lastIndexOf(s):n.length,o=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){let{endLine:r,endCol:s,endOffset:n}=i.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:r,endCol:s,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,i.location)}_adoptNodes(i,r){for(let s=this.treeAdapter.getFirstChild(i);s;s=this.treeAdapter.getFirstChild(i))this.treeAdapter.detachNode(s),this.treeAdapter.appendChild(r,s)}_setEndLocation(i,r){if(this.treeAdapter.getNodeSourceCodeLocation(i)&&r.location){let s=r.location,n=this.treeAdapter.getTagName(i),a=r.type===TokenType.END_TAG&&n===r.tagName?{endTag:{...s},endLine:s.endLine,endCol:s.endCol,endOffset:s.endOffset}:{endLine:s.startLine,endCol:s.startCol,endOffset:s.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(i,a)}}shouldProcessStartTagTokenInForeignContent(i){let r,s;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(r=this.fragmentContext,s=this.fragmentContextID):{current:r,currentTagId:s}=this.openElements,(i.tagID!==TAG_ID.SVG||this.treeAdapter.getTagName(r)!==TAG_NAMES.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(r)!==NS.MATHML)&&(this.tokenizer.inForeignNode||(i.tagID===TAG_ID.MGLYPH||i.tagID===TAG_ID.MALIGNMARK)&&void 0!==s&&!this._isIntegrationPoint(s,r,NS.HTML)))}_processToken(i){switch(i.type){case TokenType.CHARACTER:this.onCharacter(i);break;case TokenType.NULL_CHARACTER:this.onNullCharacter(i);break;case TokenType.COMMENT:this.onComment(i);break;case TokenType.DOCTYPE:this.onDoctype(i);break;case TokenType.START_TAG:this._processStartTag(i);break;case TokenType.END_TAG:this.onEndTag(i);break;case TokenType.EOF:this.onEof(i);break;case TokenType.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(i)}}_isIntegrationPoint(i,r,s){return isIntegrationPoint(i,this.treeAdapter.getNamespaceURI(r),this.treeAdapter.getAttrList(r),s)}_reconstructActiveFormattingElements(){let i=this.activeFormattingElements.entries.length;if(i){let r=this.activeFormattingElements.entries.findIndex(i=>i.type===EntryType.Marker||this.openElements.contains(i.element)),s=-1===r?i-1:r-1;for(let i=s;i>=0;i--){let r=this.activeFormattingElements.entries[i];this._insertElement(r.token,this.treeAdapter.getNamespaceURI(r.element)),r.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop;i>=0;i--)switch(0===i&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i]){case TAG_ID.TR:this.insertionMode=InsertionMode.IN_ROW;return;case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:this.insertionMode=InsertionMode.IN_TABLE_BODY;return;case TAG_ID.CAPTION:this.insertionMode=InsertionMode.IN_CAPTION;return;case TAG_ID.COLGROUP:this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return;case TAG_ID.TABLE:this.insertionMode=InsertionMode.IN_TABLE;return;case TAG_ID.BODY:this.insertionMode=InsertionMode.IN_BODY;return;case TAG_ID.FRAMESET:this.insertionMode=InsertionMode.IN_FRAMESET;return;case TAG_ID.SELECT:return void this._resetInsertionModeForSelect(i);case TAG_ID.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case TAG_ID.HTML:this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return;case TAG_ID.TD:case TAG_ID.TH:if(i>0){this.insertionMode=InsertionMode.IN_CELL;return}break;case TAG_ID.HEAD:if(i>0){this.insertionMode=InsertionMode.IN_HEAD;return}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(i){if(i>0)for(let r=i-1;r>0;r--){let i=this.openElements.tagIDs[r];if(i===TAG_ID.TEMPLATE)break;if(i===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(i){return TABLE_STRUCTURE_TAGS.has(i)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i=this.openElements.stackTop;i>=0;i--){let r=this.openElements.items[i];switch(this.openElements.tagIDs[i]){case TAG_ID.TEMPLATE:if(this.treeAdapter.getNamespaceURI(r)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break;case TAG_ID.TABLE:{let s=this.treeAdapter.getParentNode(r);if(s)return{parent:s,beforeElement:r};return{parent:this.openElements.items[i-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(i){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,i,r.beforeElement):this.treeAdapter.appendChild(r.parent,i)}_isSpecialElement(i,r){return SPECIAL_ELEMENTS[this.treeAdapter.getNamespaceURI(i)].has(r)}onCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)return void characterInForeignContent(this,i);switch(this.insertionMode){case InsertionMode.INITIAL:tokenInInitialMode(this,i);break;case InsertionMode.BEFORE_HTML:tokenBeforeHtml(this,i);break;case InsertionMode.BEFORE_HEAD:tokenBeforeHead(this,i);break;case InsertionMode.IN_HEAD:tokenInHead(this,i);break;case InsertionMode.IN_HEAD_NO_SCRIPT:tokenInHeadNoScript(this,i);break;case InsertionMode.AFTER_HEAD:tokenAfterHead(this,i);break;case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:characterInBody(this,i);break;case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:this._insertCharacters(i);break;case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:characterInTable(this,i);break;case InsertionMode.IN_TABLE_TEXT:characterInTableText(this,i);break;case InsertionMode.IN_COLUMN_GROUP:tokenInColumnGroup(this,i);break;case InsertionMode.AFTER_BODY:tokenAfterBody(this,i);break;case InsertionMode.AFTER_AFTER_BODY:tokenAfterAfterBody(this,i)}}onNullCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)return void nullCharacterInForeignContent(this,i);switch(this.insertionMode){case InsertionMode.INITIAL:tokenInInitialMode(this,i);break;case InsertionMode.BEFORE_HTML:tokenBeforeHtml(this,i);break;case InsertionMode.BEFORE_HEAD:tokenBeforeHead(this,i);break;case InsertionMode.IN_HEAD:tokenInHead(this,i);break;case InsertionMode.IN_HEAD_NO_SCRIPT:tokenInHeadNoScript(this,i);break;case InsertionMode.AFTER_HEAD:tokenAfterHead(this,i);break;case InsertionMode.TEXT:this._insertCharacters(i);break;case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:characterInTable(this,i);break;case InsertionMode.IN_COLUMN_GROUP:tokenInColumnGroup(this,i);break;case InsertionMode.AFTER_BODY:tokenAfterBody(this,i);break;case InsertionMode.AFTER_AFTER_BODY:tokenAfterAfterBody(this,i)}}onComment(i){if(this.skipNextNewLine=!1,this.currentNotInHTML)return void appendComment(this,i);switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:appendComment(this,i);break;case InsertionMode.IN_TABLE_TEXT:tokenInTableText(this,i);break;case InsertionMode.AFTER_BODY:appendCommentToRootHtmlElement(this,i);break;case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:appendCommentToDocument(this,i)}}onDoctype(i){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:doctypeInInitialMode(this,i);break;case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:this._err(i,ERR.misplacedDoctype);break;case InsertionMode.IN_TABLE_TEXT:tokenInTableText(this,i)}}onStartTag(i){this.skipNextNewLine=!1,this.currentToken=i,this._processStartTag(i),i.selfClosing&&!i.ackSelfClosing&&this._err(i,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(i){this.shouldProcessStartTagTokenInForeignContent(i)?startTagInForeignContent(this,i):this._startTagOutsideForeignContent(i)}_startTagOutsideForeignContent(i){switch(this.insertionMode){case InsertionMode.INITIAL:tokenInInitialMode(this,i);break;case InsertionMode.BEFORE_HTML:startTagBeforeHtml(this,i);break;case InsertionMode.BEFORE_HEAD:startTagBeforeHead(this,i);break;case InsertionMode.IN_HEAD:startTagInHead(this,i);break;case InsertionMode.IN_HEAD_NO_SCRIPT:startTagInHeadNoScript(this,i);break;case InsertionMode.AFTER_HEAD:startTagAfterHead(this,i);break;case InsertionMode.IN_BODY:startTagInBody(this,i);break;case InsertionMode.IN_TABLE:startTagInTable(this,i);break;case InsertionMode.IN_TABLE_TEXT:tokenInTableText(this,i);break;case InsertionMode.IN_CAPTION:startTagInCaption(this,i);break;case InsertionMode.IN_COLUMN_GROUP:startTagInColumnGroup(this,i);break;case InsertionMode.IN_TABLE_BODY:startTagInTableBody(this,i);break;case InsertionMode.IN_ROW:startTagInRow(this,i);break;case InsertionMode.IN_CELL:startTagInCell(this,i);break;case InsertionMode.IN_SELECT:startTagInSelect(this,i);break;case InsertionMode.IN_SELECT_IN_TABLE:startTagInSelectInTable(this,i);break;case InsertionMode.IN_TEMPLATE:startTagInTemplate(this,i);break;case InsertionMode.AFTER_BODY:startTagAfterBody(this,i);break;case InsertionMode.IN_FRAMESET:startTagInFrameset(this,i);break;case InsertionMode.AFTER_FRAMESET:startTagAfterFrameset(this,i);break;case InsertionMode.AFTER_AFTER_BODY:startTagAfterAfterBody(this,i);break;case InsertionMode.AFTER_AFTER_FRAMESET:startTagAfterAfterFrameset(this,i)}}onEndTag(i){this.skipNextNewLine=!1,this.currentToken=i,this.currentNotInHTML?endTagInForeignContent(this,i):this._endTagOutsideForeignContent(i)}_endTagOutsideForeignContent(i){switch(this.insertionMode){case InsertionMode.INITIAL:tokenInInitialMode(this,i);break;case InsertionMode.BEFORE_HTML:endTagBeforeHtml(this,i);break;case InsertionMode.BEFORE_HEAD:endTagBeforeHead(this,i);break;case InsertionMode.IN_HEAD:endTagInHead(this,i);break;case InsertionMode.IN_HEAD_NO_SCRIPT:endTagInHeadNoScript(this,i);break;case InsertionMode.AFTER_HEAD:endTagAfterHead(this,i);break;case InsertionMode.IN_BODY:endTagInBody(this,i);break;case InsertionMode.TEXT:endTagInText(this,i);break;case InsertionMode.IN_TABLE:endTagInTable(this,i);break;case InsertionMode.IN_TABLE_TEXT:tokenInTableText(this,i);break;case InsertionMode.IN_CAPTION:endTagInCaption(this,i);break;case InsertionMode.IN_COLUMN_GROUP:endTagInColumnGroup(this,i);break;case InsertionMode.IN_TABLE_BODY:endTagInTableBody(this,i);break;case InsertionMode.IN_ROW:endTagInRow(this,i);break;case InsertionMode.IN_CELL:endTagInCell(this,i);break;case InsertionMode.IN_SELECT:endTagInSelect(this,i);break;case InsertionMode.IN_SELECT_IN_TABLE:endTagInSelectInTable(this,i);break;case InsertionMode.IN_TEMPLATE:endTagInTemplate(this,i);break;case InsertionMode.AFTER_BODY:endTagAfterBody(this,i);break;case InsertionMode.IN_FRAMESET:endTagInFrameset(this,i);break;case InsertionMode.AFTER_FRAMESET:endTagAfterFrameset(this,i);break;case InsertionMode.AFTER_AFTER_BODY:tokenAfterAfterBody(this,i)}}onEof(i){switch(this.insertionMode){case InsertionMode.INITIAL:tokenInInitialMode(this,i);break;case InsertionMode.BEFORE_HTML:tokenBeforeHtml(this,i);break;case InsertionMode.BEFORE_HEAD:tokenBeforeHead(this,i);break;case InsertionMode.IN_HEAD:tokenInHead(this,i);break;case InsertionMode.IN_HEAD_NO_SCRIPT:tokenInHeadNoScript(this,i);break;case InsertionMode.AFTER_HEAD:tokenAfterHead(this,i);break;case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:eofInBody(this,i);break;case InsertionMode.TEXT:eofInText(this,i);break;case InsertionMode.IN_TABLE_TEXT:tokenInTableText(this,i);break;case InsertionMode.IN_TEMPLATE:eofInTemplate(this,i);break;case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:stopParsing(this,i)}}onWhitespaceCharacter(i){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,i.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(1===i.chars.length)return;i.chars=i.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(i);switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:this._insertCharacters(i);break;case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:whitespaceCharacterInBody(this,i);break;case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:characterInTable(this,i);break;case InsertionMode.IN_TABLE_TEXT:whitespaceCharacterInTableText(this,i)}}}function aaObtainFormattingElementEntry(i,r){let s=i.activeFormattingElements.getElementEntryInScopeWithTagName(r.tagName);return s?i.openElements.contains(s.element)?i.openElements.hasInScope(r.tagID)||(s=null):(i.activeFormattingElements.removeEntry(s),s=null):genericEndTagInBody(i,r),s}function aaObtainFurthestBlock(i,r){let s=null,n=i.openElements.stackTop;for(;n>=0;n--){let a=i.openElements.items[n];if(a===r.element)break;i._isSpecialElement(a,i.openElements.tagIDs[n])&&(s=a)}return s||(i.openElements.shortenToLength(Math.max(n,0)),i.activeFormattingElements.removeEntry(r)),s}function aaInnerLoop(i,r,s){let n=r,a=i.openElements.getCommonAncestor(r);for(let o=0,l=a;l!==s;o++,l=a){a=i.openElements.getCommonAncestor(l);let s=i.activeFormattingElements.getElementEntry(l),h=s&&o>=AA_INNER_LOOP_ITER;!s||h?(h&&i.activeFormattingElements.removeEntry(s),i.openElements.remove(l)):(l=aaRecreateElementFromEntry(i,s),n===r&&(i.activeFormattingElements.bookmark=s),i.treeAdapter.detachNode(n),i.treeAdapter.appendChild(l,n),n=l)}return n}function aaRecreateElementFromEntry(i,r){let s=i.treeAdapter.getNamespaceURI(r.element),n=i.treeAdapter.createElement(r.token.tagName,s,r.token.attrs);return i.openElements.replace(r.element,n),r.element=n,n}function aaInsertLastNodeInCommonAncestor(i,r,s){let n=getTagID(i.treeAdapter.getTagName(r));if(i._isElementCausesFosterParenting(n))i._fosterParentElement(s);else{let a=i.treeAdapter.getNamespaceURI(r);n===TAG_ID.TEMPLATE&&a===NS.HTML&&(r=i.treeAdapter.getTemplateContent(r)),i.treeAdapter.appendChild(r,s)}}function aaReplaceFormattingElement(i,r,s){let n=i.treeAdapter.getNamespaceURI(s.element),{token:a}=s,o=i.treeAdapter.createElement(a.tagName,n,a.attrs);i._adoptNodes(r,o),i.treeAdapter.appendChild(r,o),i.activeFormattingElements.insertElementAfterBookmark(o,a),i.activeFormattingElements.removeEntry(s),i.openElements.remove(s.element),i.openElements.insertAfter(r,o,a.tagID)}function callAdoptionAgency(i,r){for(let s=0;s<AA_OUTER_LOOP_ITER;s++){let s=aaObtainFormattingElementEntry(i,r);if(!s)break;let n=aaObtainFurthestBlock(i,s);if(!n)break;i.activeFormattingElements.bookmark=s;let a=aaInnerLoop(i,n,s.element),o=i.openElements.getCommonAncestor(s.element);i.treeAdapter.detachNode(a),o&&aaInsertLastNodeInCommonAncestor(i,o,a),aaReplaceFormattingElement(i,n,s)}}function appendComment(i,r){i._appendCommentNode(r,i.openElements.currentTmplContentOrNode)}function appendCommentToRootHtmlElement(i,r){i._appendCommentNode(r,i.openElements.items[0])}function appendCommentToDocument(i,r){i._appendCommentNode(r,i.document)}function stopParsing(i,r){if(i.stopped=!0,r.location){let s=2*!i.fragmentContext;for(let n=i.openElements.stackTop;n>=s;n--)i._setEndLocation(i.openElements.items[n],r);if(!i.fragmentContext&&i.openElements.stackTop>=0){let s=i.openElements.items[0],n=i.treeAdapter.getNodeSourceCodeLocation(s);if(n&&!n.endTag&&(i._setEndLocation(s,r),i.openElements.stackTop>=1)){let s=i.openElements.items[1],n=i.treeAdapter.getNodeSourceCodeLocation(s);n&&!n.endTag&&i._setEndLocation(s,r)}}}}function doctypeInInitialMode(i,r){i._setDocumentType(r);let s=r.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(r);isConforming(r)||i._err(r,ERR.nonConformingDoctype),i.treeAdapter.setDocumentMode(i.document,s),i.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(i,r){i._err(r,ERR.missingDoctype,!0),i.treeAdapter.setDocumentMode(i.document,DOCUMENT_MODE.QUIRKS),i.insertionMode=InsertionMode.BEFORE_HTML,i._processToken(r)}function startTagBeforeHtml(i,r){r.tagID===TAG_ID.HTML?(i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(i,r)}function endTagBeforeHtml(i,r){let s=r.tagID;(s===TAG_ID.HTML||s===TAG_ID.HEAD||s===TAG_ID.BODY||s===TAG_ID.BR)&&tokenBeforeHtml(i,r)}function tokenBeforeHtml(i,r){i._insertFakeRootElement(),i.insertionMode=InsertionMode.BEFORE_HEAD,i._processToken(r)}function startTagBeforeHead(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.HEAD:i._insertElement(r,NS.HTML),i.headElement=i.openElements.current,i.insertionMode=InsertionMode.IN_HEAD;break;default:tokenBeforeHead(i,r)}}function endTagBeforeHead(i,r){let s=r.tagID;s===TAG_ID.HEAD||s===TAG_ID.BODY||s===TAG_ID.HTML||s===TAG_ID.BR?tokenBeforeHead(i,r):i._err(r,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(i,r){i._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),i.headElement=i.openElements.current,i.insertionMode=InsertionMode.IN_HEAD,i._processToken(r)}function startTagInHead(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:i._appendElement(r,NS.HTML),r.ackSelfClosing=!0;break;case TAG_ID.TITLE:i._switchToTextParsing(r,TokenizerMode.RCDATA);break;case TAG_ID.NOSCRIPT:i.options.scriptingEnabled?i._switchToTextParsing(r,TokenizerMode.RAWTEXT):(i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break;case TAG_ID.NOFRAMES:case TAG_ID.STYLE:i._switchToTextParsing(r,TokenizerMode.RAWTEXT);break;case TAG_ID.SCRIPT:i._switchToTextParsing(r,TokenizerMode.SCRIPT_DATA);break;case TAG_ID.TEMPLATE:i._insertTemplate(r),i.activeFormattingElements.insertMarker(),i.framesetOk=!1,i.insertionMode=InsertionMode.IN_TEMPLATE,i.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break;case TAG_ID.HEAD:i._err(r,ERR.misplacedStartTagForHeadElement);break;default:tokenInHead(i,r)}}function endTagInHead(i,r){switch(r.tagID){case TAG_ID.HEAD:i.openElements.pop(),i.insertionMode=InsertionMode.AFTER_HEAD;break;case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:tokenInHead(i,r);break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r);break;default:i._err(r,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(i,r){i.openElements.tmplCount>0?(i.openElements.generateImpliedEndTagsThoroughly(),i.openElements.currentTagId!==TAG_ID.TEMPLATE&&i._err(r,ERR.closingOfElementWithOpenChildElements),i.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i.tmplInsertionModeStack.shift(),i._resetInsertionMode()):i._err(r,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(i,r){i.openElements.pop(),i.insertionMode=InsertionMode.AFTER_HEAD,i._processToken(r)}function startTagInHeadNoScript(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:startTagInHead(i,r);break;case TAG_ID.NOSCRIPT:i._err(r,ERR.nestedNoscriptInHead);break;default:tokenInHeadNoScript(i,r)}}function endTagInHeadNoScript(i,r){switch(r.tagID){case TAG_ID.NOSCRIPT:i.openElements.pop(),i.insertionMode=InsertionMode.IN_HEAD;break;case TAG_ID.BR:tokenInHeadNoScript(i,r);break;default:i._err(r,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(i,r){let s=r.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;i._err(r,s),i.openElements.pop(),i.insertionMode=InsertionMode.IN_HEAD,i._processToken(r)}function startTagAfterHead(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.BODY:i._insertElement(r,NS.HTML),i.framesetOk=!1,i.insertionMode=InsertionMode.IN_BODY;break;case TAG_ID.FRAMESET:i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_FRAMESET;break;case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:i._err(r,ERR.abandonedHeadElementChild),i.openElements.push(i.headElement,TAG_ID.HEAD),startTagInHead(i,r),i.openElements.remove(i.headElement);break;case TAG_ID.HEAD:i._err(r,ERR.misplacedStartTagForHeadElement);break;default:tokenAfterHead(i,r)}}function endTagAfterHead(i,r){switch(r.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:tokenAfterHead(i,r);break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r);break;default:i._err(r,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(i,r){i._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),i.insertionMode=InsertionMode.IN_BODY,modeInBody(i,r)}function modeInBody(i,r){switch(r.type){case TokenType.CHARACTER:characterInBody(i,r);break;case TokenType.WHITESPACE_CHARACTER:whitespaceCharacterInBody(i,r);break;case TokenType.COMMENT:appendComment(i,r);break;case TokenType.START_TAG:startTagInBody(i,r);break;case TokenType.END_TAG:endTagInBody(i,r);break;case TokenType.EOF:eofInBody(i,r)}}function whitespaceCharacterInBody(i,r){i._reconstructActiveFormattingElements(),i._insertCharacters(r)}function characterInBody(i,r){i._reconstructActiveFormattingElements(),i._insertCharacters(r),i.framesetOk=!1}function htmlStartTagInBody(i,r){0===i.openElements.tmplCount&&i.treeAdapter.adoptAttributes(i.openElements.items[0],r.attrs)}function bodyStartTagInBody(i,r){let s=i.openElements.tryPeekProperlyNestedBodyElement();s&&0===i.openElements.tmplCount&&(i.framesetOk=!1,i.treeAdapter.adoptAttributes(s,r.attrs))}function framesetStartTagInBody(i,r){let s=i.openElements.tryPeekProperlyNestedBodyElement();i.framesetOk&&s&&(i.treeAdapter.detachNode(s),i.openElements.popAllUpToHtmlElement(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML)}function numberedHeaderStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),void 0!==i.openElements.currentTagId&&NUMBERED_HEADERS.has(i.openElements.currentTagId)&&i.openElements.pop(),i._insertElement(r,NS.HTML)}function preStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML),i.skipNextNewLine=!0,i.framesetOk=!1}function formStartTagInBody(i,r){let s=i.openElements.tmplCount>0;(!i.formElement||s)&&(i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML),s||(i.formElement=i.openElements.current))}function listItemStartTagInBody(i,r){i.framesetOk=!1;let s=r.tagID;for(let r=i.openElements.stackTop;r>=0;r--){let n=i.openElements.tagIDs[r];if(s===TAG_ID.LI&&n===TAG_ID.LI||(s===TAG_ID.DD||s===TAG_ID.DT)&&(n===TAG_ID.DD||n===TAG_ID.DT)){i.openElements.generateImpliedEndTagsWithExclusion(n),i.openElements.popUntilTagNamePopped(n);break}if(n!==TAG_ID.ADDRESS&&n!==TAG_ID.DIV&&n!==TAG_ID.P&&i._isSpecialElement(i.openElements.items[r],n))break}i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML)}function plaintextStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML),i.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(i,r){i.openElements.hasInScope(TAG_ID.BUTTON)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML),i.framesetOk=!1}function aStartTagInBody(i,r){let s=i.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);s&&(callAdoptionAgency(i,r),i.openElements.remove(s.element),i.activeFormattingElements.removeEntry(s)),i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML),i.activeFormattingElements.pushElement(i.openElements.current,r)}function bStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML),i.activeFormattingElements.pushElement(i.openElements.current,r)}function nobrStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(i,r),i._reconstructActiveFormattingElements()),i._insertElement(r,NS.HTML),i.activeFormattingElements.pushElement(i.openElements.current,r)}function appletStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML),i.activeFormattingElements.insertMarker(),i.framesetOk=!1}function tableStartTagInBody(i,r){i.treeAdapter.getDocumentMode(i.document)!==DOCUMENT_MODE.QUIRKS&&i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._insertElement(r,NS.HTML),i.framesetOk=!1,i.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._appendElement(r,NS.HTML),i.framesetOk=!1,r.ackSelfClosing=!0}function isHiddenInput(i){let r=getTokenAttr(i,ATTRS.TYPE);return null!=r&&r.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._appendElement(r,NS.HTML),isHiddenInput(r)||(i.framesetOk=!1),r.ackSelfClosing=!0}function paramStartTagInBody(i,r){i._appendElement(r,NS.HTML),r.ackSelfClosing=!0}function hrStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._appendElement(r,NS.HTML),i.framesetOk=!1,r.ackSelfClosing=!0}function imageStartTagInBody(i,r){r.tagName=TAG_NAMES.IMG,r.tagID=TAG_ID.IMG,areaStartTagInBody(i,r)}function textareaStartTagInBody(i,r){i._insertElement(r,NS.HTML),i.skipNextNewLine=!0,i.tokenizer.state=TokenizerMode.RCDATA,i.originalInsertionMode=i.insertionMode,i.framesetOk=!1,i.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(i,r){i.openElements.hasInButtonScope(TAG_ID.P)&&i._closePElement(),i._reconstructActiveFormattingElements(),i.framesetOk=!1,i._switchToTextParsing(r,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(i,r){i.framesetOk=!1,i._switchToTextParsing(r,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(i,r){i._switchToTextParsing(r,TokenizerMode.RAWTEXT)}function selectStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML),i.framesetOk=!1,i.insertionMode=i.insertionMode===InsertionMode.IN_TABLE||i.insertionMode===InsertionMode.IN_CAPTION||i.insertionMode===InsertionMode.IN_TABLE_BODY||i.insertionMode===InsertionMode.IN_ROW||i.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(i,r){i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.pop(),i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML)}function rbStartTagInBody(i,r){i.openElements.hasInScope(TAG_ID.RUBY)&&i.openElements.generateImpliedEndTags(),i._insertElement(r,NS.HTML)}function rtStartTagInBody(i,r){i.openElements.hasInScope(TAG_ID.RUBY)&&i.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),i._insertElement(r,NS.HTML)}function mathStartTagInBody(i,r){i._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(r),adjustTokenXMLAttrs(r),r.selfClosing?i._appendElement(r,NS.MATHML):i._insertElement(r,NS.MATHML),r.ackSelfClosing=!0}function svgStartTagInBody(i,r){i._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(r),adjustTokenXMLAttrs(r),r.selfClosing?i._appendElement(r,NS.SVG):i._insertElement(r,NS.SVG),r.ackSelfClosing=!0}function genericStartTagInBody(i,r){i._reconstructActiveFormattingElements(),i._insertElement(r,NS.HTML)}function startTagInBody(i,r){switch(r.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:bStartTagInBody(i,r);break;case TAG_ID.A:aStartTagInBody(i,r);break;case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:numberedHeaderStartTagInBody(i,r);break;case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:addressStartTagInBody(i,r);break;case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:listItemStartTagInBody(i,r);break;case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:areaStartTagInBody(i,r);break;case TAG_ID.HR:hrStartTagInBody(i,r);break;case TAG_ID.RB:case TAG_ID.RTC:rbStartTagInBody(i,r);break;case TAG_ID.RT:case TAG_ID.RP:rtStartTagInBody(i,r);break;case TAG_ID.PRE:case TAG_ID.LISTING:preStartTagInBody(i,r);break;case TAG_ID.XMP:xmpStartTagInBody(i,r);break;case TAG_ID.SVG:svgStartTagInBody(i,r);break;case TAG_ID.HTML:htmlStartTagInBody(i,r);break;case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:startTagInHead(i,r);break;case TAG_ID.BODY:bodyStartTagInBody(i,r);break;case TAG_ID.FORM:formStartTagInBody(i,r);break;case TAG_ID.NOBR:nobrStartTagInBody(i,r);break;case TAG_ID.MATH:mathStartTagInBody(i,r);break;case TAG_ID.TABLE:tableStartTagInBody(i,r);break;case TAG_ID.INPUT:inputStartTagInBody(i,r);break;case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:paramStartTagInBody(i,r);break;case TAG_ID.IMAGE:imageStartTagInBody(i,r);break;case TAG_ID.BUTTON:buttonStartTagInBody(i,r);break;case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:appletStartTagInBody(i,r);break;case TAG_ID.IFRAME:iframeStartTagInBody(i,r);break;case TAG_ID.SELECT:selectStartTagInBody(i,r);break;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:optgroupStartTagInBody(i,r);break;case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:rawTextStartTagInBody(i,r);break;case TAG_ID.FRAMESET:framesetStartTagInBody(i,r);break;case TAG_ID.TEXTAREA:textareaStartTagInBody(i,r);break;case TAG_ID.NOSCRIPT:i.options.scriptingEnabled?rawTextStartTagInBody(i,r):genericStartTagInBody(i,r);break;case TAG_ID.PLAINTEXT:plaintextStartTagInBody(i,r);break;case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(i,r)}}function bodyEndTagInBody(i,r){if(i.openElements.hasInScope(TAG_ID.BODY)&&(i.insertionMode=InsertionMode.AFTER_BODY,i.options.sourceCodeLocationInfo)){let s=i.openElements.tryPeekProperlyNestedBodyElement();s&&i._setEndLocation(s,r)}}function htmlEndTagInBody(i,r){i.openElements.hasInScope(TAG_ID.BODY)&&(i.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(i,r))}function addressEndTagInBody(i,r){let s=r.tagID;i.openElements.hasInScope(s)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(s))}function formEndTagInBody(i){let r=i.openElements.tmplCount>0,{formElement:s}=i;r||(i.formElement=null),(s||r)&&i.openElements.hasInScope(TAG_ID.FORM)&&(i.openElements.generateImpliedEndTags(),r?i.openElements.popUntilTagNamePopped(TAG_ID.FORM):s&&i.openElements.remove(s))}function pEndTagInBody(i){i.openElements.hasInButtonScope(TAG_ID.P)||i._insertFakeElement(TAG_NAMES.P,TAG_ID.P),i._closePElement()}function liEndTagInBody(i){i.openElements.hasInListItemScope(TAG_ID.LI)&&(i.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),i.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(i,r){let s=r.tagID;i.openElements.hasInScope(s)&&(i.openElements.generateImpliedEndTagsWithExclusion(s),i.openElements.popUntilTagNamePopped(s))}function numberedHeaderEndTagInBody(i){i.openElements.hasNumberedHeaderInScope()&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(i,r){let s=r.tagID;i.openElements.hasInScope(s)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(s),i.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(i){i._reconstructActiveFormattingElements(),i._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),i.openElements.pop(),i.framesetOk=!1}function genericEndTagInBody(i,r){let s=r.tagName,n=r.tagID;for(let r=i.openElements.stackTop;r>0;r--){let a=i.openElements.items[r],o=i.openElements.tagIDs[r];if(n===o&&(n!==TAG_ID.UNKNOWN||i.treeAdapter.getTagName(a)===s)){i.openElements.generateImpliedEndTagsWithExclusion(n),i.openElements.stackTop>=r&&i.openElements.shortenToLength(r);break}if(i._isSpecialElement(a,o))break}}function endTagInBody(i,r){switch(r.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:callAdoptionAgency(i,r);break;case TAG_ID.P:pEndTagInBody(i);break;case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:addressEndTagInBody(i,r);break;case TAG_ID.LI:liEndTagInBody(i);break;case TAG_ID.DD:case TAG_ID.DT:ddEndTagInBody(i,r);break;case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:numberedHeaderEndTagInBody(i);break;case TAG_ID.BR:brEndTagInBody(i);break;case TAG_ID.BODY:bodyEndTagInBody(i,r);break;case TAG_ID.HTML:htmlEndTagInBody(i,r);break;case TAG_ID.FORM:formEndTagInBody(i);break;case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:appletEndTagInBody(i,r);break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r);break;default:genericEndTagInBody(i,r)}}function eofInBody(i,r){i.tmplInsertionModeStack.length>0?eofInTemplate(i,r):stopParsing(i,r)}function endTagInText(i,r){var s;r.tagID===TAG_ID.SCRIPT&&(null==(s=i.scriptHandler)||s.call(i,i.openElements.current)),i.openElements.pop(),i.insertionMode=i.originalInsertionMode}function eofInText(i,r){i._err(r,ERR.eofInElementThatCanContainOnlyText),i.openElements.pop(),i.insertionMode=i.originalInsertionMode,i.onEof(r)}function characterInTable(i,r){if(void 0!==i.openElements.currentTagId&&TABLE_STRUCTURE_TAGS.has(i.openElements.currentTagId))switch(i.pendingCharacterTokens.length=0,i.hasNonWhitespacePendingCharacterToken=!1,i.originalInsertionMode=i.insertionMode,i.insertionMode=InsertionMode.IN_TABLE_TEXT,r.type){case TokenType.CHARACTER:characterInTableText(i,r);break;case TokenType.WHITESPACE_CHARACTER:whitespaceCharacterInTableText(i,r)}else tokenInTable(i,r)}function captionStartTagInTable(i,r){i.openElements.clearBackToTableContext(),i.activeFormattingElements.insertMarker(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(i,r){i.openElements.clearBackToTableContext(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(i,r){i.openElements.clearBackToTableContext(),i._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),i.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(i,r)}function tbodyStartTagInTable(i,r){i.openElements.clearBackToTableContext(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(i,r){i.openElements.clearBackToTableContext(),i._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),i.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(i,r)}function tableStartTagInTable(i,r){i.openElements.hasInTableScope(TAG_ID.TABLE)&&(i.openElements.popUntilTagNamePopped(TAG_ID.TABLE),i._resetInsertionMode(),i._processStartTag(r))}function inputStartTagInTable(i,r){isHiddenInput(r)?i._appendElement(r,NS.HTML):tokenInTable(i,r),r.ackSelfClosing=!0}function formStartTagInTable(i,r){i.formElement||0!==i.openElements.tmplCount||(i._insertElement(r,NS.HTML),i.formElement=i.openElements.current,i.openElements.pop())}function startTagInTable(i,r){switch(r.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:tdStartTagInTable(i,r);break;case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:startTagInHead(i,r);break;case TAG_ID.COL:colStartTagInTable(i,r);break;case TAG_ID.FORM:formStartTagInTable(i,r);break;case TAG_ID.TABLE:tableStartTagInTable(i,r);break;case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:tbodyStartTagInTable(i,r);break;case TAG_ID.INPUT:inputStartTagInTable(i,r);break;case TAG_ID.CAPTION:captionStartTagInTable(i,r);break;case TAG_ID.COLGROUP:colgroupStartTagInTable(i,r);break;default:tokenInTable(i,r)}}function endTagInTable(i,r){switch(r.tagID){case TAG_ID.TABLE:i.openElements.hasInTableScope(TAG_ID.TABLE)&&(i.openElements.popUntilTagNamePopped(TAG_ID.TABLE),i._resetInsertionMode());break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r);break;case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(i,r)}}function tokenInTable(i,r){let s=i.fosterParentingEnabled;i.fosterParentingEnabled=!0,modeInBody(i,r),i.fosterParentingEnabled=s}function whitespaceCharacterInTableText(i,r){i.pendingCharacterTokens.push(r)}function characterInTableText(i,r){i.pendingCharacterTokens.push(r),i.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(i,r){let s=0;if(i.hasNonWhitespacePendingCharacterToken)for(;s<i.pendingCharacterTokens.length;s++)tokenInTable(i,i.pendingCharacterTokens[s]);else for(;s<i.pendingCharacterTokens.length;s++)i._insertCharacters(i.pendingCharacterTokens[s]);i.insertionMode=i.originalInsertionMode,i._processToken(r)}let TABLE_VOID_ELEMENTS=new Set([TAG_ID.CAPTION,TAG_ID.COL,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]);function startTagInCaption(i,r){let s=r.tagID;TABLE_VOID_ELEMENTS.has(s)?i.openElements.hasInTableScope(TAG_ID.CAPTION)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=InsertionMode.IN_TABLE,startTagInTable(i,r)):startTagInBody(i,r)}function endTagInCaption(i,r){let s=r.tagID;switch(s){case TAG_ID.CAPTION:case TAG_ID.TABLE:i.openElements.hasInTableScope(TAG_ID.CAPTION)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=InsertionMode.IN_TABLE,s===TAG_ID.TABLE&&endTagInTable(i,r));break;case TAG_ID.BODY:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:endTagInBody(i,r)}}function startTagInColumnGroup(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.COL:i._appendElement(r,NS.HTML),r.ackSelfClosing=!0;break;case TAG_ID.TEMPLATE:startTagInHead(i,r);break;default:tokenInColumnGroup(i,r)}}function endTagInColumnGroup(i,r){switch(r.tagID){case TAG_ID.COLGROUP:i.openElements.currentTagId===TAG_ID.COLGROUP&&(i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE);break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r);break;case TAG_ID.COL:break;default:tokenInColumnGroup(i,r)}}function tokenInColumnGroup(i,r){i.openElements.currentTagId===TAG_ID.COLGROUP&&(i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE,i._processToken(r))}function startTagInTableBody(i,r){switch(r.tagID){case TAG_ID.TR:i.openElements.clearBackToTableBodyContext(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_ROW;break;case TAG_ID.TH:case TAG_ID.TD:i.openElements.clearBackToTableBodyContext(),i._insertFakeElement(TAG_NAMES.TR,TAG_ID.TR),i.insertionMode=InsertionMode.IN_ROW,startTagInRow(i,r);break;case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:i.openElements.hasTableBodyContextInTableScope()&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE,startTagInTable(i,r));break;default:startTagInTable(i,r)}}function endTagInTableBody(i,r){let s=r.tagID;switch(r.tagID){case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:i.openElements.hasInTableScope(s)&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE);break;case TAG_ID.TABLE:i.openElements.hasTableBodyContextInTableScope()&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE,endTagInTable(i,r));break;case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:break;default:endTagInTable(i,r)}}function startTagInRow(i,r){switch(r.tagID){case TAG_ID.TH:case TAG_ID.TD:i.openElements.clearBackToTableRowContext(),i._insertElement(r,NS.HTML),i.insertionMode=InsertionMode.IN_CELL,i.activeFormattingElements.insertMarker();break;case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:i.openElements.hasInTableScope(TAG_ID.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(i,r));break;default:startTagInTable(i,r)}}function endTagInRow(i,r){switch(r.tagID){case TAG_ID.TR:i.openElements.hasInTableScope(TAG_ID.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE_BODY);break;case TAG_ID.TABLE:i.openElements.hasInTableScope(TAG_ID.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(i,r));break;case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:(i.openElements.hasInTableScope(r.tagID)||i.openElements.hasInTableScope(TAG_ID.TR))&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(i,r));break;case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:break;default:endTagInTable(i,r)}}function startTagInCell(i,r){let s=r.tagID;TABLE_VOID_ELEMENTS.has(s)?(i.openElements.hasInTableScope(TAG_ID.TD)||i.openElements.hasInTableScope(TAG_ID.TH))&&(i._closeTableCell(),startTagInRow(i,r)):startTagInBody(i,r)}function endTagInCell(i,r){let s=r.tagID;switch(s){case TAG_ID.TD:case TAG_ID.TH:i.openElements.hasInTableScope(s)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(s),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=InsertionMode.IN_ROW);break;case TAG_ID.TABLE:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:i.openElements.hasInTableScope(s)&&(i._closeTableCell(),endTagInRow(i,r));break;case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:break;default:endTagInBody(i,r)}}function startTagInSelect(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.OPTION:i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.pop(),i._insertElement(r,NS.HTML);break;case TAG_ID.OPTGROUP:i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.pop(),i.openElements.currentTagId===TAG_ID.OPTGROUP&&i.openElements.pop(),i._insertElement(r,NS.HTML);break;case TAG_ID.HR:i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.pop(),i.openElements.currentTagId===TAG_ID.OPTGROUP&&i.openElements.pop(),i._appendElement(r,NS.HTML),r.ackSelfClosing=!0;break;case TAG_ID.INPUT:case TAG_ID.KEYGEN:case TAG_ID.TEXTAREA:case TAG_ID.SELECT:i.openElements.hasInSelectScope(TAG_ID.SELECT)&&(i.openElements.popUntilTagNamePopped(TAG_ID.SELECT),i._resetInsertionMode(),r.tagID!==TAG_ID.SELECT&&i._processStartTag(r));break;case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:startTagInHead(i,r)}}function endTagInSelect(i,r){switch(r.tagID){case TAG_ID.OPTGROUP:i.openElements.stackTop>0&&i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.tagIDs[i.openElements.stackTop-1]===TAG_ID.OPTGROUP&&i.openElements.pop(),i.openElements.currentTagId===TAG_ID.OPTGROUP&&i.openElements.pop();break;case TAG_ID.OPTION:i.openElements.currentTagId===TAG_ID.OPTION&&i.openElements.pop();break;case TAG_ID.SELECT:i.openElements.hasInSelectScope(TAG_ID.SELECT)&&(i.openElements.popUntilTagNamePopped(TAG_ID.SELECT),i._resetInsertionMode());break;case TAG_ID.TEMPLATE:templateEndTagInHead(i,r)}}function startTagInSelectInTable(i,r){let s=r.tagID;s===TAG_ID.CAPTION||s===TAG_ID.TABLE||s===TAG_ID.TBODY||s===TAG_ID.TFOOT||s===TAG_ID.THEAD||s===TAG_ID.TR||s===TAG_ID.TD||s===TAG_ID.TH?(i.openElements.popUntilTagNamePopped(TAG_ID.SELECT),i._resetInsertionMode(),i._processStartTag(r)):startTagInSelect(i,r)}function endTagInSelectInTable(i,r){let s=r.tagID;s===TAG_ID.CAPTION||s===TAG_ID.TABLE||s===TAG_ID.TBODY||s===TAG_ID.TFOOT||s===TAG_ID.THEAD||s===TAG_ID.TR||s===TAG_ID.TD||s===TAG_ID.TH?i.openElements.hasInTableScope(s)&&(i.openElements.popUntilTagNamePopped(TAG_ID.SELECT),i._resetInsertionMode(),i.onEndTag(r)):endTagInSelect(i,r)}function startTagInTemplate(i,r){switch(r.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:startTagInHead(i,r);break;case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:i.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,i.insertionMode=InsertionMode.IN_TABLE,startTagInTable(i,r);break;case TAG_ID.COL:i.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,i.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(i,r);break;case TAG_ID.TR:i.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,i.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(i,r);break;case TAG_ID.TD:case TAG_ID.TH:i.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,i.insertionMode=InsertionMode.IN_ROW,startTagInRow(i,r);break;default:i.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,i.insertionMode=InsertionMode.IN_BODY,startTagInBody(i,r)}}function endTagInTemplate(i,r){r.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(i,r)}function eofInTemplate(i,r){i.openElements.tmplCount>0?(i.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i.tmplInsertionModeStack.shift(),i._resetInsertionMode(),i.onEof(r)):stopParsing(i,r)}function startTagAfterBody(i,r){r.tagID===TAG_ID.HTML?startTagInBody(i,r):tokenAfterBody(i,r)}function endTagAfterBody(i,r){var s;if(r.tagID===TAG_ID.HTML){if(i.fragmentContext||(i.insertionMode=InsertionMode.AFTER_AFTER_BODY),i.options.sourceCodeLocationInfo&&i.openElements.tagIDs[0]===TAG_ID.HTML){i._setEndLocation(i.openElements.items[0],r);let n=i.openElements.items[1];!n||(null==(s=i.treeAdapter.getNodeSourceCodeLocation(n))?void 0:s.endTag)||i._setEndLocation(n,r)}}else tokenAfterBody(i,r)}function tokenAfterBody(i,r){i.insertionMode=InsertionMode.IN_BODY,modeInBody(i,r)}function startTagInFrameset(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.FRAMESET:i._insertElement(r,NS.HTML);break;case TAG_ID.FRAME:i._appendElement(r,NS.HTML),r.ackSelfClosing=!0;break;case TAG_ID.NOFRAMES:startTagInHead(i,r)}}function endTagInFrameset(i,r){r.tagID===TAG_ID.FRAMESET&&!i.openElements.isRootHtmlElementCurrent()&&(i.openElements.pop(),i.fragmentContext||i.op
26enElements.currentTagId===TAG_ID.FRAMESET||(i.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.NOFRAMES:startTagInHead(i,r)}}function endTagAfterFrameset(i,r){r.tagID===TAG_ID.HTML&&(i.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(i,r){r.tagID===TAG_ID.HTML?startTagInBody(i,r):tokenAfterAfterBody(i,r)}function tokenAfterAfterBody(i,r){i.insertionMode=InsertionMode.IN_BODY,modeInBody(i,r)}function startTagAfterAfterFrameset(i,r){switch(r.tagID){case TAG_ID.HTML:startTagInBody(i,r);break;case TAG_ID.NOFRAMES:startTagInHead(i,r)}}function nullCharacterInForeignContent(i,r){r.chars=REPLACEMENT_CHARACTER,i._insertCharacters(r)}function characterInForeignContent(i,r){i._insertCharacters(r),i.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(i){for(;i.treeAdapter.getNamespaceURI(i.openElements.current)!==NS.HTML&&void 0!==i.openElements.currentTagId&&!i._isIntegrationPoint(i.openElements.currentTagId,i.openElements.current);)i.openElements.pop()}function startTagInForeignContent(i,r){if(causesExit(r))popUntilHtmlOrIntegrationPoint(i),i._startTagOutsideForeignContent(r);else{let s=i._getAdjustedCurrentElement(),n=i.treeAdapter.getNamespaceURI(s);n===NS.MATHML?adjustTokenMathMLAttrs(r):n===NS.SVG&&(adjustTokenSVGTagName(r),adjustTokenSVGAttrs(r)),adjustTokenXMLAttrs(r),r.selfClosing?i._appendElement(r,n):i._insertElement(r,n),r.ackSelfClosing=!0}}function endTagInForeignContent(i,r){if(r.tagID===TAG_ID.P||r.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(i),i._endTagOutsideForeignContent(r);return}for(let s=i.openElements.stackTop;s>0;s--){let n=i.openElements.items[s];if(i.treeAdapter.getNamespaceURI(n)===NS.HTML){i._endTagOutsideForeignContent(r);break}let a=i.treeAdapter.getTagName(n);if(a.toLowerCase()===r.tagName){r.tagName=a,i.openElements.shortenToLength(s);break}}}let xmlReplacer2=/["$&'<>\u0080-\uFFFF]/g,xmlCodeMap1=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint2=null==String.prototype.codePointAt?(i,r)=>(64512&i.charCodeAt(r))==55296?(i.charCodeAt(r)-55296)*1024+i.charCodeAt(r+1)-56320+65536:i.charCodeAt(r):(i,r)=>i.codePointAt(r);function encodeXML2(i){let r,s="",n=0;for(;null!==(r=xmlReplacer2.exec(i));){let{index:a}=r,o=i.charCodeAt(a),l=xmlCodeMap1.get(o);void 0===l?(s+=`${i.substring(n,a)}&#x${getCodePoint2(i,a).toString(16)};`,n=xmlReplacer2.lastIndex+=Number((64512&o)==55296)):(s+=i.substring(n,a)+l,n=a+1)}return s+i.substr(n)}let escape1=encodeXML2;function getEscaper1(i,r){return function(s){let n,a=0,o="";for(;n=i.exec(s);)a!==n.index&&(o+=s.substring(a,n.index)),o+=r.get(n[0].charCodeAt(0)),a=n.index+1;return o+s.substring(a)}}let escapeUTF82=getEscaper1(/["&'<>]/g,xmlCodeMap1),escapeAttribute2=getEscaper1(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText2=getEscaper1(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(i,r){return r.treeAdapter.isElementNode(i)&&r.treeAdapter.getNamespaceURI(i)===NS.HTML&&VOID_ELEMENTS.has(r.treeAdapter.getTagName(i))}let defaultOpts2={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serialize1(i,r){let s={...defaultOpts2,...r};return isVoidElement(i,s)?"":serializeChildNodes(i,s)}function serializeOuter(i,r){return serializeNode(i,{...defaultOpts2,...r})}function serializeChildNodes(i,r){let s="",n=r.treeAdapter.isElementNode(i)&&r.treeAdapter.getTagName(i)===TAG_NAMES.TEMPLATE&&r.treeAdapter.getNamespaceURI(i)===NS.HTML?r.treeAdapter.getTemplateContent(i):i,a=r.treeAdapter.getChildNodes(n);if(a)for(let i of a)s+=serializeNode(i,r);return s}function serializeNode(i,r){return r.treeAdapter.isElementNode(i)?serializeElement(i,r):r.treeAdapter.isTextNode(i)?serializeTextNode(i,r):r.treeAdapter.isCommentNode(i)?serializeCommentNode(i,r):r.treeAdapter.isDocumentTypeNode(i)?serializeDocumentTypeNode(i,r):""}function serializeElement(i,r){let s=r.treeAdapter.getTagName(i);return`<${s}
26${serializeAttributes(i,r)}>${isVoidElement(i,r)?"":`${serializeChildNodes(i,r)}</${s}>`}`}function serializeAttributes(i,{treeAdapter:r}){let s="";for(let n of r.getAttrList(i)){if(s+=" ",n.namespace)switch(n.namespace){case NS.XML:s+=`xml:${n.name}`;break;case NS.XMLNS:"xmlns"!==n.name&&(s+="xmlns:"),s+=n.name;break;case NS.XLINK:s+=`xlink:${n.name}`;break;default:s+=`${n.prefix}:${n.name}`}else s+=n.name;s+=`="${escapeAttribute2(n.value)}"`}return s}function serializeTextNode(i,r){let{treeAdapter:s}=r,n=s.getTextNodeContent(i),a=s.getParentNode(i),o=a&&s.isElementNode(a)&&s.getTagName(a);return o&&s.getNamespaceURI(a)===NS.HTML&&hasUnescapedText(o,r.scriptingEnabled)?n:escapeText2(n)}function serializeCommentNode(i,{treeAdapter:r}){return`<!--${r.getCommentNodeContent(i)}-->`}function serializeDocumentTypeNode(i,{treeAdapter:r}){return`<!DOCTYPE ${r.getDocumentTypeNodeName(i)}>`}function parse3(i,r){return Parser1.parse(i,r)}function parseFragment(i,r,s){"string"==typeof i&&(s=r,r=i,i=null);let n=Parser1.getFragmentParser(i,s);return n.tokenizer.write(r,!0),n.getFragment()}var __TURBOPACK__imported__module__13515__=__turbopack_context__.i(13515),__TURBOPACK__imported__module__13515__=__TURBOPACK__imported__module__13515__;function enquoteDoctypeId(i){let r=i.includes('"')?"'":'"';return r+i+r}function serializeDoctypeContent(i,r,s){let n="!DOCTYPE ";return i&&(n+=i),r?n+=` PUBLIC ${enquoteDoctypeId(r)}`:s&&(n+=" SYSTEM"),s&&(n+=` ${enquoteDoctypeId(s)}`),n}let adapter={isCommentNode:isComment,isElementNode:isTag1,isTextNode:isText,createDocument(){let i=new Document([]);return i["x-mode"]=__TURBOPACK__imported__module__13515__.DOCUMENT_MODE.NO_QUIRKS,i},createDocumentFragment:()=>new Document([]),createElement(i,r,s){let n=Object.create(null),a=Object.create(null),o=Object.create(null);for(let i=0;i<s.length;i++){let r=s[i].name;n[r]=s[i].value,a[r]=s[i].namespace,o[r]=s[i].prefix}let l=new Element(i,n,[]);return l.namespace=r,l["x-attribsNamespace"]=a,l["x-attribsPrefix"]=o,l},createCommentNode:i=>new Comment1(i),createTextNode:i=>new Text1(i),appendChild(i,r){let s=i.children[i.children.length-1];s&&(s.next=r,r.prev=s),i.children.push(r),r.parent=i},insertBefore(i,r,s){let n=i.children.indexOf(s),{prev:a}=s;a&&(a.next=r,r.prev=a),s.prev=r,r.next=s,i.children.splice(n,0,r),r.parent=i},setTemplateContent(i,r){adapter.appendChild(i,r)},getTemplateContent:i=>i.children[0],setDocumentType(i,r,s,n){let a=serializeDoctypeContent(r,s,n),o=i.children.find(i=>isDirective(i)&&"!doctype"===i.name);o?o.data=null!=a?a:null:(o=new ProcessingInstruction("!doctype",a),adapter.appendChild(i,o)),o["x-name"]=r,o["x-publicId"]=s,o["x-systemId"]=n},setDocumentMode(i,r){i["x-mode"]=r},getDocumentMode:i=>i["x-mode"],detachNode(i){if(i.parent){let r=i.parent.children.indexOf(i),{prev:s,next:n}=i;i.prev=null,i.next=null,s&&(s.next=n),n&&(n.prev=s),i.parent.children.splice(r,1),i.parent=null}},insertText(i,r){let s=i.children[i.children.length-1];s&&isText(s)?s.data+=r:adapter.appendChild(i,adapter.createTextNode(r))},insertTextBefore(i,r,s){let n=i.children[i.children.indexOf(s)-1];n&&isText(n)?n.data+=r:adapter.insertBefore(i,adapter.createTextNode(r),s)},adoptAttributes(i,r){for(let s=0;s<r.length;s++){let n=r[s].name;void 0===i.attribs[n]&&(i.attribs[n]=r[s].value,i["x-attribsNamespace"][n]=r[s].namespace,i["x-attribsPrefix"][n]=r[s].prefix)}},getFirstChild:i=>i.children[0],getChildNodes:i=>i.children,getParentNode:i=>i.parent,getAttrList:i=>i.attributes,getTagName:i=>i.name,getNamespaceURI:i=>i.namespace,getTextNodeContent:i=>i.data,getCommentNodeContent:i=>i.data,getDocumentTypeNodeName(i){var r;return null!=(r=i["x-name"])?r:""},getDocumentTypeNodePublicId(i){var r;return null!=(r=i["x-publicId"])?r:""},getDocumentTypeNodeSystemId(i){var r;return null!=(r=i["x-systemId"])?r:""},isDocumentTypeNode:i=>isDirective(i)&&"!doctype"===i.name,setNodeSourceCodeLocation(i,r){r&&(i.startIndex=r.
26startOffset,i.endIndex=r.endOffset),i.sourceCodeLocation=r},getNodeSourceCodeLocation:i=>i.sourceCodeLocation,updateNodeSourceCodeLocation(i,r){null!=r.endOffset&&(i.endIndex=r.endOffset),i.sourceCodeLocation={...i.sourceCodeLocation,...r}}};function parseWithParse5(i,r,s,n){var a;return null!=(a=r.treeAdapter)||(r.treeAdapter=adapter),!1!==r.scriptingEnabled&&(r.scriptingEnabled=!0),s?parse3(i,r):parseFragment(n,i,r)}let renderOpts={treeAdapter:adapter};function renderWithParse5(i){let r="length"in i?i:[i];for(let i=0;i<r.length;i+=1){let s=r[i];isDocument(s)&&Array.prototype.splice.call(r,i,1,...s.children)}let s="";for(let i=0;i<r.length;i+=1)s+=serializeOuter(r[i],renderOpts);return s}let parse4=getParse((i,r,s,n)=>r._useHtmlParser2?parseDocument(i,r):parseWithParse5(i,r,s,n)),load=getLoad(parse4,(i,r)=>r._useHtmlParser2?__TURBOPACK__default__export__3(i,r):renderWithParse5(i));class InvalidInputError extends Error{constructor(i){super(i),this.name="INVALID_INPUT",this.message=i}}let annotationsOptions={hc_annotation:"hc_annotation",hc_annotation_fontSize:"hc_annotation_fontSize",hc_annotation_colors:"hc_annotation_color",hc_annotation_coords:"hc_annotation_pos"},legendOptions={hc_legend_horzAlign:"hc_floatlegende_align",hc_legend_vertAlign:"hc_floatlegende_verticalalign",hc_legend_layout:"hc_floatlegende_layout",hc_legend_offsetX:"hc_floatlegende_X",hc_legend_offsetY:"hc_floatlegende_Y",hc_legend_width:"hc_floatlegende_width",hc_legend_itemWidth:"hc_floatlegende_itemWidth",hc_legend_itemVertMargin:"hc_floatlegende_itemVertMargin",hc_legend_itemDistance:"hc_floatlegende_itemDistance",hc_legend_bgColor:"hc_floatlegende_backgroundColor",hc_legend_color:"hc_floatlegende_color",hc_legend_desc:"hc_sortlegende",hc_legend_margin:"hc_floatlegende_margin",hc_legend_padding:"hc_floatlegende_padding",hc_legendEnable:"hc_floatlegende_enable",hc_itemClick:"hc_itemClick"},presentationOptions={hc_width:"hc_width",hc_height:"hc_height",hc_fontSize:"hc_fontSize",hc_margins:"hc_margin",hc_marginTop:"hc_marginTop",hc_marginLeft:"hc_marginLeft",hc_marginBottom:"hc_marginBottom",hc_marginRight:"hc_marginRight",hc_plot_spacings:"hc_spacing",hc_plot_spacingTop:"hc_spacingTop",hc_plot_spacingLeft:"hc_spacingLeft",hc_plot_spacingBottom:"hc_spacingBottom",hc_plot_spacingRight:"hc_spacingRight",hc_chart_bgColor:"hc_backgroundColor",hc_chart_borderColor:"hc_borderColor",hc_chart_borderWidth:"hc_borderWidth",hc_chart_borderRadius:"hc_borderRadius",hc_chart_shadow:"hc_shadow",hc_plot_bgColor:"hc_plotBackgroun
26dColor",hc_plot_bgImage:"hc_plotBackgroundImage",hc_plot_borderColor:"hc_plotBorderColor",hc_plot_borderWidth:"hc_plotBorderWidth",hc_plot_borderRadius:"hc_plotBorderRadius",hc_plot_shadow:"hc_plotShadow",hc_title:"hc_title",hc_subtitle:"hc_subtitle_text",hc_animation:"hc_animation"},PARAMS={hc_type:"hc_type",hc_colors:"hc_colors",hc_symbols:"hc_symbol",hc_unit:"hc_unit",hc_decimalPrecision:"hc_decimalvaleurs",hc_lang:"hc_lang",transposer:"transposer",hc_axis_origins:"hc_axis_origins",hc_axis_colors:"hc_axis_colors",hc_axis_widths:"hc_axis_widths",hc_axis_titles:"hc_axis_titles",hc_axis_titlesPosition:"hc_axis_titlesPosition",hc_axis_titlesColor:"hc_axis_titlesColor",hc_axis_ranges:"hc_axis_ranges",hc_axis_ticks:"hc_axis_ticks",hc_axis_ticks_intervals:"hc_axis_ticks_intervals",hc_axis_ticks_widths:"hc_axis_ticks_widths",hc_axis_ticks_lengths:"hc_axis_ticks_lengths",hc_axis_ticks_colors:"hc_axis_ticks_colors",hc_axis_ticks_x_rotation:"hc_axis_ticks_x_rotation",hc_axis_ticks_gap:"hc_axis_ticks_gap",hc_axis_y_decimals:"hc_axis_y_decimals",hc_axis_grids_isOnTop:"hc_axis_grids_isOnTop",hc_axis_grids:"hc_axis_grids",hc_axis_grid_styles:"hc_axis_grid_styles",hc_axis_grid_widths:"hc_axis_grid_widths",hc_axis_grid_colors:"hc_axis_grid_colors",hc_xaxis_style:"hc_xaxis_style",hc_yaxis_style:"hc_yaxis_style",hc_xaxis_date:"hc_xaxis_date",hc_xaxis_date_gap:"hc_xaxis_date_gap",hc_bulle_dateformat:"hc_bulle_dateformat",hc_series_tooltipShared:"hc_series_tooltipShared",hc_credits_text:"hc_credits_text",hc_credits_link:"hc_credits_link",...annotationsOptions,...legendOptions,...presentationOptions},pieParams={...PARAMS,colors:"hc_colors",center:"hc_piecenter",hc_pie_endAngle:"hc_endAngle",donut:"hc_donut",halfpie:"hc_halfpie",labelDistance:"hc_distance",hc_pie_size:"hc_piesize",startAngle:"hc_startAngle",nameIndex:"hc_col_name",valueIndex:"hc_col_value",hc_label_short:"hc_label_short"};function getParam(i,r){return i("params").find(`param[name=${r}]`).attr("value")}function asBool(i){return"boolean"==typeof i?i:"string"==typeof i&&"true"===i.trim()}function asArray(i,r=";"){if(!i)return[];let s=i.split(r);return""===s[0]&&0===s.length?[]:s.map(i=>""===i?void 0:i)}let normalizeNumbers=i=>i.replace(",",".").replaceAll(/[ \u00A0]/g,"").trim();function asInt(i,r){let s=parseInt(normalizeNumbers(i??""));return Number.isNaN(s)?r:s}function asFloat(i,r){if("number"==typeof i)return i;let s=parseFloat(normalizeNumbers(i??""));return Number.isNaN(s)?r:s}function asText(i,r=!1){return i?.replaceAll(/(\*RL\*|\*BR\*|~|\r)+/gi,!0===r?" ":"<br>")}function get1(i,r){if(!(r<0)&&!(r>=i.length))return i[r]}function findXindex(i,r){let s=-1;for(let n of i)if("data"in n&&Array.isArray(n.data)&&-1!=(s=n.data.findIndex(i=>void 0!==i.name&&i.name===asText(r,!0))))return s;let n=asFloat(r);return void 0===n&&console.warn(`xAxis value ${r} not found`),n??0}let asTextSize=(i,r)=>{let s=i&&i<=3?"em":"px";return i?i+s:r},asTextStyle=(i,r,s)=>({color:i,fill:i,textDecorationLine:r?.split(" ").includes("underline")?"underline":void 0,fontStyle:r?.split(" ").includes("italic")?"italic":void 0,fontWeight:r?.split(" ").includes("bold")?"bold":void 0,fontSize:s});function asArrowStyle(i){let r={start:"reverse-arrow",end:"arrow"},s=["small","medium","normal"].indexOf(i);return -1!=s?(r.start=`start-arrow-${s}`,r.end=`end-arrow-${s}`):"none"===i&&(r={start:"",end:""}),r}function mergeOptions(i,r){let s={...i};for(let n of Object.keys(i))null===i[n]||"object"!=typeof i[n]||i[n]instanceof Array||null===r[n]||"object"!=typeof r[n]||r[n]instanceof Array?n in r&&(s[n]=r[n]):s[n]=mergeOptions(i[n],r[n]??{});for(let n of Object.keys(r))n in i||(s[n]=r[n]);return s}let FontSize={graph:"18px",title:"1em",subtitle:12/18+"em",legendTitle:14/18+"em",legendItems:12/18+"em",axisTitle:13/18+"em",axisLabel:10/18+"em",textsLabel:11/18+"em",pointTooltip:14/18+"em",arrowLabel:12/18+"em",serieLabel:10/18+"em",annotation:10/18+"em"},applyCssRect=i=>{switch(i.length){case 1:return[i[0],i[0],i[0],i[0]];case 2:return[i[0],i[1],i[0],i[1]];case 3:return[i[0],i[1],i[2],i[1]];case 4:return[i[0],i[1],i[2],i[3]];default:return[]}},getMargin=i=>{let r=asInt(i("hc_marginTop")),s=asInt(i("hc_marginRight")),n=asInt(i("hc_marginBottom")),a=asInt(i("hc_marginLeft")),o=applyCssRect((i("hc_margins")??"").split(";").map(i=>asInt(i)));return{marginTop:r??o[0],marginRight:s??o[1],marginBottom:n??o[2],marginLeft:a??o[3]}},getSpacing=i=>{let r=asInt(i("hc_plot_spacingTop")),s=asInt(i("hc_plot_spacingRight")),n=asInt(i("hc_plot_spacingBottom")),a=asInt(i("hc_plot_spacingLeft")),o=applyCssRect((i("hc_plot_spacings")??"").split(";").map(i=>asInt(i)));return{spacingTop:r??o[0]??10,spacingRight:s??o[1]??5,spacingBottom:n??o[2]??10,spacingLeft:a??o[3]??5}},getAnnotations$1=(i,r)=>{let s=r("hc_annotation");if(void 0===s)return;let[n,a]=r("hc_annotation_coords","10_10")?.split("_").map(i=>parseInt(i)),o=r("hc_annotation_colors","#336699"),l=asFloat(r("hc_annotation_fontSize",FontSize.annotation));i.renderer.text(asText(s),n,a).css({fontSize:asTextSize(l),color:o}).attr({zIndex:9}).add()},arrowSvgOptions={defs:{startArrow0:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,1.25 L 2.5,2.5 L 1.25,1.25 L 2.5,0 Z","stroke-width":.5}}],attributes:{id:"start-arrow-0",refX:.125,refY:1.25}},endArrow0:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,0 L 2.5,1.25 L 0,2.5 L 1.25,1.25 Z","stroke-width":.5}}],attributes:{id:"end-arrow-0",refX:2.5,refY:1.25}},startArrow1:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,2.5 L 5,5 L 2.5,2.5 L 5,0 Z","stroke-width":.5}}],attributes:{id:"start-arrow-1",refX:.25,refY:2.5}},endArrow1:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,0 L 5,2.5 L 0,5 L 2.5,2.5 Z","stroke-width":.5}}],attributes:{id:"end-arrow-1",refX:5,refY:2.5}},startArrow2:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,3.5 L 7,7 L 3.5,3.5 L 7,0 Z","stroke-width":.5}}],attributes:{id:"start-arrow-2",refX:.125,refY:3.5}},endArrow2:{tagName:"marker",children:[{tagName:"path",attributes:{d:"M 0,0 L 7,3.5 L 0,7 L 3.5,3.5 Z","stroke-width":.5}}],attributes:{id:"end-arrow-2",refX:7.125,refY:3.5}}}};function generateInitialOptions(i){let r={chart:{width:asInt(i("hc_width")),height:asInt(i("hc_height"),700),...getMargin(i),...getSpacing(i),style:{fontSize:i("hc_fontSize")??FontSize.graph,fontFamily:"Open Sans"},events:{load(){getAnnotations$1(this,i)}}},title:{text:i("hc_title"),style:{fontSize:FontSize.title},align:"left"},subtitle:{text:i("hc_subtitle"),style:{fontSize:FontSize.subtitle}
26,align:"left",y:i("hc_title")?55:5},legend:{enabled:asBool(i("hc_legendEnable")??"true"),align:i("hc_legend_horzAlign")??"center",alignColumns:!0,verticalAlign:i("hc_legend_vertAlign")??"bottom",width:i("hc_legend_width"),itemMarginTop:5,layout:i("hc_legend_layout")??"vertical",x:asInt(i("hc_legend_offsetX"),0),y:asInt(i("hc_legend_offsetY"),0),reversed:asBool(i("hc_legend_desc")),backgroundColor:i("hc_legend_bgColor"),borderColor:"transparent",borderWidth:0,borderRadius:0,symbolRadius:1,itemWidth:asFloat(i("hc_legend_itemWidth")),margin:asInt(i("hc_legend_margin"))??12,padding:asInt(i("hc_legend_padding")),title:{style:{fontSize:FontSize.legendTitle}},itemStyle:{fontSize:FontSize.legendItems,textDecoration:"none",textOverflow:"wrap",fontStyle:"normal"}},tooltip:{shared:asBool(i("hc_series_tooltipShared")),valueDecimals:asInt(i("hc_decimalPrecision")),style:{fontSize:FontSize.pointTooltip},pointFormat:'<span style="color:{point.color}">â</span> {series.name} : <b>{point.y}</b><br>',...i("hc_xaxis_date")?{}:{headerFormat:"{point.name}</br>"}},credits:{enabled:!!i("hc_credits_text"),href:i("hc_credits_link"),text:i("hc_credits_text"),position:{y:-150},style:{color:"#336699",fontSize:"9px"}},...arrowSvgOptions},s=asArray(i("hc_colors"));return 0===s.length||(r.colors=s.filter(i=>i)),r}let computeDecimalPrecision=i=>Math.min(Math.max(...i.map(({value:i})=>i).filter(i=>null!=i).map(i=>{let r=i.toString().split(".");return r[1]?r[1].length:0})),2),getSerie=(i,r,s)=>{let n=[],a=i("lignes[type=entete]").find("cellule[entete=colonne]").eq(r).text();return i("lignes[type=donnees]").first().find("ligne").each((a,o)=>{let l=i(o).find("cellule").eq(r).text(),h=asFloat(i(o).find("cellule").eq(s).text());n.push({name:l,y:h})}),{type:"pie",colorByPoint:!0,name:a,data:n}},generatePieOptions=i=>{let r=load(i,{xmlMode:!0});function s(i,s){return getParam(r,pieParams[i])??s}let n=asInt(s("nameIndex"),0),a=asInt(s("valueIndex"),1),o=asBool(s("halfpie")),l=asBool(s("donut")),h=s("hc_lang","fr"),c="fr"===h?"Série":"Serie",d="fr"===h?"Valeur":"Value",u=getSerie(r,n,a),p=s("hc_decimalPrecision")??computeDecimalPrecision(u.data),m=mergeOptions(generateInitialOptions(s),{chart:{type:"pie"},colors:(s("hc_colors")??"").split(";"),legend:{title:{text:u.name},itemStyle:{color:"black"},width:void 0,margin:void 0,y:void 0},plotOptions:{pie:{allowPointSelect:asBool(s("hc_itemClick")),cursor:"pointer",innerSize:l?"35%":"0",startAngle:o?-90:0,endAngle:90*!!o,center:o?["50%","100%"]:[null,null],size:o?"205%":null,showInLegend:!0,slicedOffset:10,dataLabels:[{enabled:!0,format:asBool(s("hc_label_short"))?"<b>{point.name}</b>":"<b>{point.name}</b> : {point.percentage:.1f} %",distance:o?-50:asInt(s("labelDistance"),15),connectorShape:"fixedOffset",softConnector:!1}]}},tooltip:{headerFormat:c+" : <b>{point.name}</b><br>",pointFormat:`${d} : <b>{point.y:.${p}f}${s("hc_unit")?" "+s("hc_unit"):""}</b>`},series:[u]}),g=!!s("hc_title")&&s("hc_legend_horzAlign")&&s("hc_legend_vertAlign");"vertical"===s("hc_legend_layout")&&g&&(m.legend.y=30);let f=o&&!m?.legend?.enabled;return f&&(m.plotOptions.pie.size="150%",m.plotOptions.pie.center=["50%","72%"]),"number"==typeof m.chart?.height&&(f?m.chart.height-=300:m.chart.height-=220),m},polarParams={...PARAMS,hc_polar_type:"hc_polar_type",hc_polar_stacked:"hc_polar_stacked",hc_labels_distance_from_web:"hc_labels_distance_from_web",hc_web_size:"hc_web_size",hc_min:"hc_min",hc_max:"hc_max"},getSeries$1=(i,r,s)=>{let n=r("hc_lang","fr"),a="fr"===n?"Série":"Serie",o="fr"===n?"Axe":"Axis",l="fr"===n?"Valeur":"Value",h=[];i('lignes[type="entete"] > ligne > cellule').slice(1).each((r,s)=>{h.push(i(s).text())});let c=h.map(()=>[]);return i('lignes[type="donnees"] > ligne').each((r,s)=>{i(s).find('cellule[type="nombre"]').each((r,s)=>{let n=parseFloat(i(s).text().replace(",","."));null!==n&&c[r].push(n)})}),h.map((i,n)=>{let h=c[n],d=r("hc_decimalPrecision")??computeDecimalPrecision(h.map(i=>({value:i})));return{name:i,data:h,tooltip:{headerFormat:"",pointFormat:`${a} : <b>{series.name}</b><br/>${o} : <b>{point.category}</b><br/>${l} : <b>{point.y:,.${d}f}${s}</b><br/>`}}})},generatePolarOptions=i=>{let r=load(i,{xmlMode:!0}),s=(i,s)=>
26getParam(r,polarParams[i])??s,n=s("hc_unit",""),a=r('lignes[type="donnees"] > ligne').map((i,s)=>r(s).find('cellule[entete="ligne"]').text().trim()).get(),o=s("hc_legend_horzAlign","left"),l=s("hc_legend_vertAlign","bottom"),h=s("hc_legend_layout","vertical"),c=mergeOptions(generateInitialOptions(s),{chart:{polar:!0,type:s("hc_polar_type","line")},pane:{size:s("hc_web_size","70%")},xAxis:{categories:a,tickmarkPlacement:"on",lineWidth:asFloat(s("hc_axis_widths"),0),labels:{distance:asFloat(s("hc_labels_distance_from_web"),15),style:{fontSize:"12px"}}},yAxis:{lineWidth:asFloat(s("hc_axis_widths"),0),min:asFloat(s("hc_min"),0),max:asFloat(s("hc_max")),startOnTick:!1,labels:{format:`{value}${n}`,style:{fontSize:"12px"}}},colors:(s("hc_colors")??"").split(";"),legend:{align:o,verticalAlign:l,width:void 0,floating:!0,layout:h,itemStyle:{color:"black"}},series:getSeries$1(r,s,n)});return"column"===s("hc_polar_type")&&"1"===s("hc_polar_stacked")&&(c.plotOptions={series:{stacking:"normal",shadow:!1},column:{groupPadding:0}}),"top"===l&&(c.chart.marginTop="horizontal"===h?35:50),"bottom"===l&&"vertical"===h&&(c.chart.marginBottom=50),c},mapParams={...PARAMS,map:"hc_carte",map_bgImage_reg_prefecture:"hc_prefecture.0",map_color_reg_prefecture:"hc_prefecture.1",map_marker_fillColor_reg_prefecture:"hc_prefecture.2",map_marker_lineColor_reg_prefecture:"hc_prefecture.3",map_marker_lineWidth_reg_prefecture:"hc_prefecture.4",map_bgImage_dep_prefecture:"hc_prefecture_dep.0",map_color_dep_prefecture:"hc_prefecture_dep.1",map_marker_fillColor_dep_prefecture:"hc_prefecture_dep.2",map_marker_lineColor_dep_prefecture:"hc_prefecture_dep.3",map_marker_lineWidth_dep_prefecture:"hc_prefecture_dep.4",map_frontiers:"hc_frontier",map_frontierColors:"hc_frontierColor",map_frontierWidths:"hc_frontierWidth",map_frontierLabel:"hc_frontierLabel",map_bubble_minSize:"hc_minsize",map_bubble_maxSize:"hc_maxsize",map_zone_highlight:"hc_zone_highlight",map_zone_highlight_label:"hc_zone_highlight_label",map_zone_trame_highlight:"hc_zone_trame_highlight",map_zone_extra_highlight:"hc_zone_extra_highlight",map_zone_extra_trame_highlight:"hc_zone_extra_trame_highlight",map_zone_extra_highlight_label:"hc_zone_extra_highlight_label",map_zone_extra_trame_highlight_label:"hc_zone_extra_trame_highlight_label",map_bornes:"hc_bornes",map_bornesLabels:"hc_classes_libelles",map_bornesColors:"couleur_marque",map_bubble_bornes:"hc_bubble_bornes",map_bubble_bornesLabels:"hc_bubble_lib_bornes",map_bubble_colors:"hc_bubble_colors",map_showlegende_bubble:"hc_showlegende_bubble",map_bubbleLegend_label:"hc_bubbleLegend_label",map_bubble_lineColors:"hc_bubble_lineColors",map_bubble_lineWidth:"hc_bubble_lineWidth",map_bubble_classes_libelles:"hc_bubble_classes_libelles",map_display_radial_color:"hc_radial_color",map_symbols:"hc_symbols",map_key:"hc_key",series_borderColor:"hc_series_borderColor",series_borderWidth:"hc_series_borderWidth",nullColor:"hc_nullColor",map_dataLabels_fontWeight:"hc_map_dataLabels_fontWeight",map_dataLabels_size:"hc_map_dataLabels_size",map_dataLabels:"hc_map_dataLabels",colorAxis_minColor:"hc_colorAxis_minColor",colorAxis_maxColor:"hc_colorAxis_maxColor",hc_tcol:"hc_tcol",map_zoom_zone:"hc_zoom_zone",hc_scol:"hc_scol",map_ocean:"hc_ocean",displayGeocodeInTooltip:"hc_tooltip_code",map_etranger:"hc_etranger"},fetchMapGeoJson=i=>typeof location>"u"||location.origin.match(/(localhost|wip)/)?fetch(`https://web4gfo.developpement2.insee.fr/fond-carte/${i}`).then(i=>i.json()):fetch(`${location.origin}/fond-carte/${i}`).then(i=>i.json()),addMapBubbleOptions=({options:i,mapData:r,getMapLabel:s,getMapParam:n,sIndexList:a})=>{i.series?.push({type:"map",mapData:r,data:[],name:"",showInLegend:!1,borderColor:n("series_borderColor","#CCCCCC"),borderWidth:asFloat(n("series_borderWidth"),.5)}),i.legend={...i.legend,title:{text:s(get1(a,1)??get1(a,0)??0)},layout:"horizontal",verticalAlign:n("hc_legend_vertAlign","bottom")},i.plotOptions.mapbubble={showInLegend:!0,marker:{fillOpacity:1,lineColor:"black",lineWidth:.5}}},computeDataClasses=(i,r,s)=>{if(void 0===i)return;let n=i.split(";").map(parseFloat),a=r?.split(";")??[],o=s?.split(";")??[],l=[];for(let i=0;i<=n.length;
26i++)l.push({name:get1(a,i)??"",from:get1(n,i-1),to:get1(n,i),color:get1(o,i)});return l.reverse()},addRegularMapOptions=({options:i,data:r,getMapParam:s,getMapLabel:n,tIndex:a,mainDecimalNumber:o,mapData:l,hasClass:h})=>{let c=h?'<span style= "color: {point.color}; fill: {point.color};">â</span> {point.label}: <b>{point.classLabel}</b>':`<span style= "color: {point.color}; fill: {point.color};">â</span> {point.label}: <b>{point.value${o?":."+o+"f":""}}</b> ${s("hc_unit","").split(";")[0]}`;i.series?.push({type:"map",data:r,borderColor:s("series_borderColor","#CCCCCC"),borderWidth:asInt(s("series_borderWidth"),.5),nullColor:s("nullColor","#f7f7f7"),joinBy:"codgeo",dataLabels:{enabled:!0,style:{fontWeight:s("map_dataLabels_fontWeight","normal"),fontSize:s("map_dataLabels_size","10")+"px"},format:s("map_dataLabels")?"{point.properties.libgeo}":"",x:asInt(s("map_dataLabels",";;").split(";")[1],0),y:asInt(s("map_dataLabels",";;").split(";")[2],0)},states:{inactive:{enabled:!1},hover:{enabled:!0,borderColor:"red",borderWidth:4}},showCheckbox:!0,tooltip:{headerFormat:"<b>{point.properties.libgeo}</b><br/>",pointFormat:c},mapData:l}),i.legend={...i.legend,title:{text:n(a)},verticalAlign:s("hc_legend_vertAlign","top"),layout:s("hc_legend_layout","horizontal")},i.colorAxis={type:"linear",minColor:s("colorAxis_minColor","#d8d9a9"),maxColor:s("colorAxis_maxColor","#72730f"),dataClasses:computeDataClasses(s("map_bornes"),s("map_bornesLabels"),s("hc_colors"))}},getBubbleColor=(i,r)=>r?{radialGradient:{cx:.7,cy:.5,r:.3},stops:[[0,"#ffffff"],[1,i]]}:i,addBubbleOptions=({options:i,getMapParam:r,getMapLabel:s,getDecimalNumber:n,sIndexList:a,data:o,mapData:l,mapKey:h})=>{let c=a.length>1,d=s(a[0]),u=asInt(r("map_bubble_minSize"),10),p=asInt(r("map_bubble_maxSize"),50),m=Math.max(...o.map(i=>i.z).filter(i=>void 0!==i)),g=Math.min(...o.map(i=>i.z).filter(i=>void 0!==i)),f=r("hc_decimalPrecision")??n(a[0])??0;if(r("map_bubble_bornes")){let h=r("map_bubble_bornes","").split(";").map(i=>parseFloat(i)),d=r("map_bubble_colors","").split(";");for(let m=h.length;m>=0;m--){let g=c?"aa":"z",f=o.filter(i=>{let r=get1(h,m-1),s=get1(h,m);return!(r&&void 0!==i[g]&&i[g]<r||s&&void 0!==i[g]&&i[g]>=s)}),A=r("hc_decimalPrecision","").split(";").map(i=>parseInt(i)),b=`<b>${r("displayGeocodeInTooltip")?"({point.properties.codgeo})":""} {point.properties.libgeo}</b><br>${c?`<span style="color: {point.color};">â</span> ${s(a[1])} : <b>{point.aa:.${get1(A,1)??n(a[1])}f}</b> ${get1(r("hc_unit","").split(";"),1)??""}`:""} 27 <br><span style="color: {point.color};">â</span> ${s(a[0])} : <b>{point.z:${get1(A,0)??n(a[0])}f}</b> ${get1(r("hc_unit","").split(";"),0)??""}`;i.series?.push({type:"mapbubble",mapData:l,data:f,name:get1(r("map_bubble_classes_libelles","").split(";"),m),color:r("map_display_radial_color")?{radialGradient:{cx:.7,cy:.5,r:.3},stops:[[0,"#ffffff"],[1,get1(d,m)??""]]}:get1(d,m),colorAxis:1e3+m,showInLegend:!0,joinBy:["codgeo",r("map_key","")],minSize:u,maxSize:p,marker:{symbol:get1(r("map_symbols","").split(";"),m)??"circle",fillOpacity:1,lineColor:r("map_bubble_lineColors","#000000"),lineWidth:asInt(r("map_bubble_lineWidth"),1)},tooltip:{headerFormat:"",pointFormat:b}})}}else i.series?.push({type:"mapbubble",mapData:l,data:o,joinBy:["codgeo",h],name:d,color:getBubbleColor(r("map_bubble_colors")?.split(";
27")[0],asBool(r("map_display_radial_color"))),colorAxis:1e3,showInLegend:void 0!==r("map_showlegende_bubble"),minSize:u,maxSize:p,marker:{lineColor:r("map_bubble_lineColors","#000000"),lineWidth:asInt(r("map_bubble_lineWidth"),1)},tooltip:{headerFormat:"",pointFormat:'<b>{point.properties.libgeo}</b><br><span style="color: {point.color};">â</span> '+d+` : <b>{point.z:.${f}f}</b>`}});i.legend.bubbleLegend={enabled:"mapbubble"===r("hc_type")||void 0!==r("map_bubbleLegend_label"),borderColor:"#000000",borderWidth:1,color:"#8bbc2100",connectorColor:"#000000",legendIndex:10,minSize:u,maxSize:p,labels:{format:`{#if (eq value ${m})}${r("map_bubbleLegend_label")??d} ({value:.${f}f}){else}{value:.${f}f}{/if}`,style:{fontSize:"0.8em"},x:5,y:-2},ranges:[{value:m},{value:m/2},{value:g}]}},getLabel=(i,r)=>i("lignes[type=entete]").find("cellule").eq(r).text(),generateSerieData=(i,r,s,n)=>i("lignes[type=donnees]").first().find("ligne").map((a,o)=>{let l={[r]:i(o).find("cellule").eq(0).text()};if(void 0!==s){let r=i(o).find("cellule").eq(s);r.attr("classe")?(l.value=asInt(r.attr("classe")),l.classLabel=r.text()):l.value=asFloat(i(o).find("cellule").eq(s).text()),l.label=getLabel(i,s)}return n.length>0&&(l.z=asFloat(i(o).find("cellule").eq(n[0]).text()),n.length>1&&(l.aa=asFloat(i(o).find("cellule").eq(n[1]).text()))),l}).toArray(),hasClassData=i=>{let r=!1;return i("lignes[type=donnees]").first().find("ligne").find("cellule").map((i,s)=>{s.attribs.classe&&(r=!0)}),r},generateMapOptions=async i=>{let r=load(i);function s(i,s){return getParam(r,mapParams[i])??s}function n(i){return asInt(get1(s("hc_decimalPrecision")?.split(";")??[],i))}let a=i=>getLabel(r,i),o=n(0),l=asInt(s("hc_tcol"));if(void 0===l&&"map"===s("hc_type"))throw new InvalidInputError("missing param hc_tcol");let h=s("hc_scol","").split(";").map(i=>asInt(i)).filter(i=>void 0!==i),c=await fetchMapGeoJson(s("map","")),d=s("map_key",Object.keys(c.features[0].properties)[3]),u=hasClassData(r),p=generateSerieData(r,d,l,h),m=mergeOptions(generateInitialOptions(s),{chart:{type:"map"},mapNavigation:{enabled:!0,buttonOptions:{verticalAlign:"bottom"}},series:[],plotOptions:{},legend:{align:s("hc_legend_horzAlign","left"),width:s("hc_legend_width")??700,itemWidth:700,y:0,margin:void 0,symbolRadius:0,itemStyle:{color:"black"}}});if("mapbubble"===s("hc_type")?addMapBubbleOptions({options:m,mapData:c,getMapParam:s,getMapLabel:a,sIndexList:h}):addRegularMapOptions({options:m,data:p,tIndex:l,getMapLabel:a,getMapParam:s,mainDecimalNumber:o,mapData:c,hasClass:u}),s("map_zoom_zone")){let[i,r,n,a]=s("map_zoom_zone","").split(";"),o=(await fetchMapGeoJson(i)).features.find(i=>i.properties.codgeo===r);m.mapView={center:o?.geometry.coordinates,zoom:asFloat(n,-9.2)},void 0===a&&(m.mapNavigation={enabled:!1})}if(s("map_zone_highlight")){let[i,r,n]=s("map_zone_highlight","").split(";"),a=c.features.filter(r=>i.split("_").includes(r.properties.codgeo));m.series?.push({type:"mapline",showInLegend:!0,colorAxis:98,name:s("map_zone_highlight_label",""),data:a,color:r??"#336699",nullColor:r??"#336699",opacity:1,lineWidth:asInt(n,1),tooltip:{pointFormat:"<b>{point.properties.libgeo}</b><br>"}})}if(s("map_frontiers")){let i=["black","black"],r=[1,.5],n=s("map_frontiers","").split(";").reverse(),a=s("map_frontierColors","").split(";").reverse(),o=s("map_frontierWidths","").split(";").reverse();for(let l=0;l<n.length;l++){let h=await fetchMapGeoJson(n[l]);m.series?.push({type:"mapline",mapData:h.features,nullColor:get1(a,l)??get1(i,l),lineWidth:asFloat(get1(o,l))??get1(r,l),states:{inactive:{enabled:!1}},showInLegend:!1,...l===n.length-1?{name:s("map_frontierLabel"),showInLegend:void 0!==s("map_frontierLabel"),colorAxis:999}:{}})}}if(s("map_ocean")){let[i,r]=s("map_ocean","").split(";"),n=await fetchMapGeoJson(i);m.series?.unshift({type:"map",mapData:n.features,data:[],nullColor:r??"#7fcdff80",showInLegend:!1,states:{inactive:{enabled:!1}}})}if(s("map_etranger")){let[i,...r]=s("map_etranger","").split(";"),n=await fetchMapGeoJson(i);m.series?.unshift({type:"map",mapData:n.features,data:[],showInLegend:!1,nullColor:get1(r,0)??"#f7f7f710",borderColor:get1(r,1)??"#000000",borderWidth:asFloat(get1(r,2))??.5,states:{inactive:{enabled:!1}}})}return s("hc_scol")&&addBubbleOptions({options:m,data:p,getDecimalNumber:n,getMapLabel:a,getMapParam:s,mapData:c,mapKey:d,sIndexList:h}),m},Axis={x:0,y1:1,y2:2},YAxis={y1:0},commonAnnotationOptions={draggable:"",crop:!1,labelOptions:{shape:"rect",borderColor:"transparent",backgroundColor:"transparent"}},getAnnotations=(i,r)=>{let s=[],n=i("hc_extra_texts")?.split(";"),a=void 0!==i("hc_xaxis_date");n&&s.push(getExtraTexts(n,r,a));let o=i("hc_series_annotations");o&&s.push(getSeriesAnnotations(o));let l=i("hc_extra_arrows")?.split(";");return l&&s.push(getExtraArrows(l,r,a)),s},getExtraTexts=(i,r,s)=>{let n=[];
27return i.forEach(i=>{let a=i.split("_");if(a&&a.length>1){let i=a[1].split("|"),o=i[3];["center","left","right"].includes(o)||(o="center");let l=i[4];["top","middle","bottom"].includes(l)||(l="middle"),n.push({text:asText(a[0]),style:asTextStyle(i[0],i[1],asTextSize(asFloat(i[2]),FontSize.textsLabel)),allowOverlap:!0,x:asFloat(a[5],0),y:asFloat(a[6]),overflow:"none",point:{xAxis:0,x:s?Date.parse(a[3]):findXindex(r,a[3]),yAxis:asInt(a[2]),y:asFloat(a[4])},align:o,verticalAlign:l})}}),{...commonAnnotationOptions,labels:n}},getSeriesAnnotations=i=>{let r=i.split(";"),s=[];for(let i of r)if(2===i.split("_").length){let[r,n]=i.split("_");for(let i of n.split("|")){let[n,a,o,l,h,c]=i.split("\\"),d={padding:asInt(l,5),point:`series_${r}_element_${asInt(a,0)+1}`,distance:void 0===asInt(h)||void 0===asInt(c)?12:void 0,x:asInt(h),y:asInt(c),shape:o??"callout",overflow:"allow",allowOverlap:!0,verticalAlign:"connector"===o?"middle":"bottom",text:n};void 0===asInt(o)||l||(d.padding=asInt(o),d.shape="callout"),s.push(d)}}return{draggable:"",crop:!1,labels:s}},getExtraArrows=(i,r,s)=>{let n=[],a=[];return i.forEach(i=>{let o=i.split("_");if(o&&o.length>1){let i=asFloat(o[4],0),l={x:s?Date.parse(o[5]):findXindex(r,o[5]??0),y:asFloat(o[6],0)},h={x:s?Date.parse(o[7]):findXindex(r,o[7]??0),y:asFloat(o[8],0)},c={x:asFloat(o[11],0),y:asFloat(o[12],0)};n.push(getArrowShape(o,i,l,h));let d=o[9];d&&a.push(getArrowLabel(d,o[10]?.split("|")??[],o[0],i,l,h,c))}}),{...commonAnnotationOptions,shapes:n,labels:a}},getArrowShape=(i,r,s,n)=>{let a=asArrowStyle(i[1]??"default");return{type:"path",fill:"none",stroke:i[0]??"black",dashStyle:i[2]?i[2]:"Solid",strokeWidth:asFloat(i[3],1),markerStart:a.start,markerEnd:a.end,points:[{xAxis:0,x:s.x,yAxis:r,y:s.y},{xAxis:0,x:n.x,yAxis:r,y:n.y}]}},getArrowLabel=(i,r,s,n,a,o,l)=>{let h=r?.[3]&&""!==r[3]?r[3].trim().toLowerCase():"center",c=r?.[4]&&""!==r[4]?r[4].trim().toLowerCase():"top",d=r?.[0]&&""!=r[0]?r[0]:s;return{text:asText(i),allowOverlap:!0,overflow:"none",style:asTextStyle(d??"black",r?.[1],asTextSize(asFloat(r?.[2]),FontSize.arrowLabel)),point:{xAxis:0,x:getArrowLabelPlacement(h,a.x,o.x),yAxis:n,y:getArrowLabelPlacement(c,a.y,o.y)},x:l.x,y:getArrowLabelOffsetY(c,l,a,o),align:getArrowLabelAlign(h,["left","center","right"],a.x,o.x),verticalAlign:getArrowLabelAlign(c,["bottom","middle","top"],a.y,o.y)}},getArrowLabelPlacement=(i,r,s)=>{switch(i){case"left":case"bottom":return Math.min(r,s);case"right":case"top":return Math.max(r,s);case"center":case"middle":return(r+s)/2}},getArrowLabelAlign=(i,r,s,n)=>{let a=r.indexOf(i);return s===n&&3===r.length&&-1!=a?r[2-a]:i},getArrowLabelOffsetY=(i,r,s,n)=>{if(Math.abs(n.y-s.y)>=5)return r.y;let a={middle:0,bottom:-.25,top:.25};return r.y+12*a[i]},getBalancePlotOptions=i=>i("hc_extra_balances")?{arearange:{states:{hover:{enabled:!1}},connectNulls:!1,legendSymbol:"rectangle"},series:{connectNulls:!0,states:{hover:{enabled:!0,lineWidthPlus:0},inactive:{enabled:!1}}}}:{},getBalanceTooltipOptions=(i,r)=>{let s=i("hc_extra_balances");if(!s)return{};let n=asText(s.split("_")[3]?.split("|")[0],!0)??"Solde naturel";return{shared:!0,formatter:function(){let s=this.points?.some(i=>i.point.custom?.hideTooltip);return!!this.points&&!s&&this.x+"<br>"+this.points.map(s=>{let a="arearange"===s.series.type,o=a?getBalanceColor(i,r,s.series.index-(r.length-2)):s.color,l=a?n:s.series.name,h=(s.point.value??s.point.y).toLocaleString("fr-FR");return`<span style="color:${o}">â</span> ${l} : <b>${h}</b>`}).join("<br>")}}},getBalanceColor=(i,r,s)=>{let n=i("hc_extra_balances")?.split("_")[1]?.split("|");return n&&n.length<2?n[0]?n[0]:"#D0D0D0":n?.[s]?n[s]:"none"},getBalanceAnnotationOptions=(i,r)=>{let s=i("hc_extra_balances");if(!s)return{};let n=[];return s.split(";").forEach(i=>{let s=i.split("_")[4]?.split("|"),a=r.filter(i=>"arearange"===i.type),o=a[0]?.data;if(!s||!o||asBool(s[0]))return;let l=s[1]?.split("\\"),h=s[2]?findXindex(r,s[2]):o[0].x+o[o.length-1].x/2,c=o.reduce((i,r,s,n)=>Math.abs(r.x-h)<Math.abs(n[i].x-h)?s:i,0),d=o[c]?.low?o[c]:a[1]?.data?.[c],u=((d?.low??0)+(d?.high??0))/2;n.push({text:asText(i.split("_")[3])??"Solde naturel",style:asTextStyle(l[0]?l[0]:"black",l[1],asTextSize(asFloat(l[2]),FontSize.axisTitle)),allowOverlap:!0,overflow:"none",point:{xAxis:0,x:h,yAxis:0,y:u},x:asFloat(s[3]),y:asFloat(s[4]),align:l[3]?l[3]:"center",verticalAlign:l[4]?l[4]:"middle"})}),{...commonAnnotationOptions,labels:n}},getColorWithOpacity=(i,r)=>{let s=Math.min(255,Math.round(255*r)).toString(16).padStart(2,"0");return i.startsWith("#")?i+s:i},getSeriesBalances=(i,r)=>{let s=i("hc_extra_balances");if(!s)return[];let n=[],a=Math.max(...r.map(i=>i.legendIndex??0))+1;return s.split(";").forEach(s=>{let o=s?.split("_");if(o){let s=o[0].split("|"),[l,h]=getBalancesData(2==s.length?s[0]:"0",2==s.length?s[1]:"1",r),c=o[1]&&o[1].split("|").length<2,d=[getBalanceColor(i,r,0),getBalanceColor(i,r,1)],u=asFloat(o[2],.75),p=o[3]?.split("|"),m=o[4]?.split("|"),g={type:"arearange",pointPlacement:"on",marker:{enabled:!1},label:{enabled:!1},showInLegend:asBool(m?.[0]),zIndex:-1};c?n.push({...g,name:asText(p?.[0]??"Solde naturel",!0),legendIndex:a++,data:l?.[0]?.x?l:h,fillColor:getColorWithOpacity(d[0],u),color:d[0]}):(n.push({...g,name:asText(p?.[2]?p[2]:"Solde naturel négatif"),legendIndex:a+1,data:h,fillColor:getColorWithOpacity(d[0],u),color:d[0]}),n.push({...g,name:asText(p?.[1]?p[1]:"Solde naturel positif"),legendIndex:a,data:l,fillColor:getColorWithOpacity(d[1],u),color:d[
271]}),a+=2)}}),n},getBalancesData=(i,r,s)=>{let n=[],a=[],o=s.find(r=>r.id===i),l=s.find(i=>i.id===r);if(o&&l&&o.data&&l.data)for(let i=0;i<o.data.length;i++){let r=getInterpolationCoords(o,l,i);r&&(n.push({x:r.x,low:r.y,high:r.y,custom:{hideTooltip:!0}}),a.push({x:r.x,low:r.y,high:r.y,custom:{hideTooltip:!0}}));let s=o.data[i],h=l.data[i],c=asFloat(s.x,0),d=s.y??0,u=h.y??0;d>=u?(n.push({x:c,low:u,high:d,value:d-u}),a.push({x:c})):(a.push({x:c,low:d,high:u,value:d-u}),n.push({x:c}))}return[n,a]},getInterpolationCoords=(i,r,s)=>{if(0==s||!i.data||!r.data)return null;let n=i.data,a=r.data,o=asFloat(n[s].x,0),l=asFloat(n[s-1].x,0),h=n[s].y??0,c=n[s-1].y??0,d=a[s].y??0,u=a[s-1].y??0;if(c>=u==h>=d)return null;let p=h-c,m=d-u,g=(u-c)/(p-m);return{x:l+g*(o-l),y:c+g*p}},getSelectors=(i,r)=>{let s=i('params[type="ddl"]').length>0,n="1"===r("transposer");return s?{headerSelector:"lignes > ligne:first-child cellule:gt(0)",dataSelector:"lignes > ligne:gt(0) > cellules",labelFilter:"cellule:first-child",dataFilter:":gt(0)",transpose:!n}:{headerSelector:'lignes[type="entete"] > ligne > cellule:gt(0)',dataSelector:'lignes[type="donnees"] > ligne',dataFilter:'cellule[type="nombre"]',labelFilter:'cellule[entete="ligne"], cellule[type="texte"]',transpose:!1}},hasTextLabels=(i,r,s,n)=>i(r).toArray().some(r=>void 0!==i(r).find(n).attr("abbr")||void 0===asFloat(i(r).find(s).text())),getCategories=(i,r,s,n,a)=>{let o=hasTextLabels(i,s,n,a),l=void 0!==r("hc_xaxis_date");return i(s).map((s,n)=>{let h=asText(i(n).find(a).text().trim(),!0);return l&&h?Date.parse(h):["bar","column"].includes(getSerieType(r,s))||o?asText(h,!0):asInt(h)??asText(h,!0)}).get()},getData=(i,r,s,n,a,o,l)=>{let h=s.map(()=>[]);return i(a).each((s,a)=>{i(a).find(o).each((a,o)=>{let c=n?a:s,d=n?s:a,u=r[c]instanceof Date?r[c].getTime():r[c],p="number"==typeof u?u+l:void 0,m="string"==typeof u?u:void 0,g=asFloat(i(o).text());h[d].push({x:p,name:m,y:g,id:`series_${d+1}_element_${c+1}`})})}),h},getSeries=($,getParam)=>{let{headerSelector,dataSelector,dataFilter,labelFilter,transpose}=getSelectors($,getParam);getParam("hc_series_histogramTranspose")&&(transpose=!transpose);let categories=getCategories($,getParam,dataSelector,dataFilter,labelFilter),dateParam=getParam("hc_xaxis_date"),dateGapParam=getParam("hc_xaxis_date_gap"),unitAxeY1=getParam("hc_unit")?.split(";")?.[0],decimalPrecisionAxeY1=getParam("hc_decimalPrecision")?.split(";")?.[0],headers=[],colGroups=[];if($(headerSelector).each((i,r)=>{headers.push($(r).text().trim()),colGroups.push($(r).attr("groupe")?.trim()??"")}),transpose){let e=headers;headers=categories,categories=e}let seriesData=getData($,categories,headers,transpose,dataSelector,dataFilter,dateGapParam?asFloat(eval(dateGapParam),0):0),seriesOptions=getSeriesOptions(getParam,seriesData),firstIndex=asInt(getParam("hc_series_firstCols"),0),series=headers.map((i,r)=>{let s=seriesData[r].find(i=>i.name),n=r+firstIndex+"",a=getLinkedSerie(getParam,n);return{...seriesOptions[r],name:i,legendIndex:r,linkedTo:a,showInLegend:void 0===a,data:seriesData[r],stack:colGroups[r],id:n,tooltip:{valueSuffix:getYAxisIndexForSeries(getParam,r)===YAxis.y1&&unitAxeY1?unitAxeY1:"",valueDecimals:getYAxisIndexForSeries(getParam,r)===YAxis.y1?asInt(decimalPrecisionAxeY1,2):2,pointFormat:'<span style="color:{point.color}">â</span> {series.name} : <b>{point.y}</b><br>',...dateParam?{}:{headerFormat:s?"{point.name}</br>":"{point.x}</br>"}},yAxis:getYAxisIndexForSeries(getParam,r),zIndex:0}});return[...series,...getSeriesBalances(getParam,series)]},getLinkedSerie=(i,r)=>{let s=i("hc_series_links")?.split(";")?.find(i=>{let s=i.split("_")[0].split("|");return s.includes(r)&&0!==s.indexOf(r)});return s?s.split("|")[0]:void 0},getYAxisIndexForSeries=(i,r)=>{let s=i("hc_valueIndex")?.split(";").findIndex(i=>asInt(i)===r+1);return s&&s>=0?s:0},getSerieType=(i,r)=>{let s=i("hc_series_types")?.split(";").map(i=>i.trim());if(s){let i=s.length>1?r:0;return s?.[i]?s[i]:"line"}return"line"},getSeriesOptions=(i,r)=>{let s=i("hc_series_fillOpacities")?.split(";"),n=i("hc_series_lineStyles")?.split(";"),a=i("hc_series_lineWidths")?.split(";"),o=i("hc_series_symbols")?.split(";"),l=i("hc_series_showSymbols")?.split(";"),h=i("hc_series_namesInChartOptions")?.split(";")?.map(i=>{let[r,s,n,a]=i.split("_");return{labelEnabled:r,labelColor:s,labelDecoration:n,labelFontSize:a}});return r.map((r,c)=>{let d="scatter"===getSerieType(i,c),[u,p,m,g,f,A]=(o?.[c]??"").split("_"),b=l?.[c]==="true"||o?.[c]&&""!==o[c]||d,{labelEnabled:y,labelColor:x,labelDecoration:E,labelFontSize:T}=h?.[c]??{};return{type:getSerieType(i,c),pointPlacement:["bar","column"].includes(getSerieType(i,c))?void 0:"on",opacity:asFloat(s?.[c]),dashStyle:n?.[c],lineWidth:d?0:asFloat(a?.[c],3),label:{enabled:"true"==y,style:asTextStyle(x??"black",E,asTextSize(asFloat(T),FontSize.serieLabel))},marker:{enabled:b,symbol:u&&""!=u?u:"circle",radius:asFloat(m,6)/2,fillColor:"true"===p?g:"transparent",lineColor:f??g,lineWidth:asFloat(A,1),states:{normal:{animation:!1},hover:{lineWidthPlus:0,radiusPlus:0}}}}})},specificGraphParams={hc_extra_balances:"hc_extra_balances",hc_extra_sums:"hc_extra_sums",hc_extra_pyramid:"hc_extra_pyramid"},drawingParams={hc_extra_vertLines:"hc_extra_vertLines",hc_extra_horzLines:"hc_extra_horzLines",hc_extra_arrows:"hc_extra_arrows",hc_extra_texts:"hc_extra_texts",hc_extra_vertBands:"hc_extra_vertBands",hc_extra_horzBands:"hc_extra_horzBands"},histogramParams={hc_series_histogramPointSpacing:"hc_series_histogramPointSpacing",hc_series_histogramWidth:"hc_series_histogramWidth"},orthogonalParams={...PARAMS,...drawingParams,...histogramParams,...specificGraphParams,hc_colors:"hc_colors",hc_valueIndex:"hc_col_value",hc_floatlegende_enable:"hc_floatlegende_enable",hc_series_types:"hc_series_types",hc_series_annotations:"hc_series_annotations",hc_series_secondaryColors:"hc_series_secondaryColors",hc_series_firstCols:"hc_col_value",hc_series_lineWidths:"hc_series_lineWidths",hc_series_lineStyles:"hc_series_lineStyles",hc_series_symbols:"hc_series_symbols",hc_series_showSymbols:"hc_series_showSymbols",hc_series_links:"hc_series_links",hc_series_namesInChartOptions:"hc_series_namesInChartOptions",hc_series_stacked:"hc_series_stacked",hc_series_primaryColors:"hc_series_primaryColors",hc_series_fillOpacities:"hc_series_fillOpacities",hc_series_tooltipShared:"hc_series_tooltipShared",hc_series_verticalIndicator:"hc_series_verticalIndicator",hc_series_legendDecorator:"hc_series_legendDecorator",hc_series_dataLabels:"hc_series_dataLabels",hc_series_histogramTranspose:"hc_series_histogramTranspose"}
27,spacingPresets={overlap:-.3,separate:.2,none:0},getStacking=i=>{switch((i("hc_series_stacked")??"")?.split(";")[0]){case"true":case"normal":return"normal";case"percent":return"percent";default:return}},getHistogramOptions=i=>{let r=i("hc_series_histogramPointSpacing")??"none",s=i("hc_series_histogramWidth");return{pointPadding:r in spacingPresets?spacingPresets[r]:Math.max(-.5,Math.min(.5,asFloat(r,0))),groupPadding:(1-asFloat(s,.6))/2,borderRadius:0}},getAxisOptions=(i,r,s)=>({...getAxisTitle(i,r,s),...getAxisLabel(i,r),...getAxisTick(i,r),...getAxisGridStyle(i,r),...getAxisRange(i,r,s),...getAxisDrawings(i,r,s),opposite:r===Axis.y2}),getAxisTitle=(i,r,s)=>{let n=r===Axis.x,a=s.some(i=>"bar"===i.type),o=(i("hc_axis_titlesPosition")??"").split(";"),l={text:(i("hc_axis_titles")??"").split(";")[r],rotation:0,reserveSpace:!0,x:0,y:0},h=get1(i("hc_axis_titlesColor")?.split(";")??[],r)??getAxisColor(i,r);if(n&&!a||!n&&a)switch(o[r]){case"before":l.align="low",l.textAlign="left";break;case"after":l.align="high",l.textAlign="right";break;default:l.align="middle",l.textAlign="center"}else switch(o[r]){case"before":l.align="high",l.textAlign="left",l.offset=0,l.reserveSpace=!1,l.y=-13;break;case"after":l.align="low",l.textAlign="left",l.offset=0,l.reserveSpace=!1,l.y=19.5;break;default:l.align="middle",l.textAlign="center",l.rotation=-90}return{title:{...l,textAlign:r===Axis.y2?"right":l.textAlign,style:{color:h,fontSize:FontSize.axisTitle}}}},getAxisLabel=(i,r)=>{let s=i("hc_xaxis_style")?.split(";"),n=asFloat(i("hc_axis_ticks_gap")),a=r===Axis.x,o=a?i("hc_axis_ticks_x_rotation"):"0";return{labels:{...getAxisLabelFormat(i,r),x:a?n:void 0,style:{color:a&&s?.[3]?s[3]:getAxisColor(i,r),fontSize:FontSize.axisLabel,textOverflow:"none"},rotation:"true"===o?-45:asFloat(o,0)},endOnTick:!a||void 0===n}},getAxisLabelFormat=(i,r)=>{let s=i("hc_xaxis_date");if(r===Axis.x&&s)return{format:`{value:${s}}`};let n=i("hc_axis_y_decimals");return[Axis.y1].includes(r)&&n?{format:`{value:.${n}f}`}:{}},getAxisTick=(getParam,axis)=>{let isXAxis=axis===Axis.x,axisTicks=getParam("hc_axis_ticks")??"",axisTicksIntervals=getParam("hc_axis_ticks_intervals")??"",axisTicksLengths=getParam("hc_axis_ticks_lengths")??"",axisTicksWidths=getParam("hc_axis_ticks_widths")??"",xaxisDate=getParam("hc_xaxis_date"),ticks=(axisTicks.split(";")[axis]??"").split("_"),tickInterval=xaxisDate?eval(axisTicksIntervals.split(";")[axis]):asFloat(axisTicksIntervals.split(";")[axis]),ticksWidth=axisTicksWidths.split(";")[axis],tickLength=axisTicksLengths.split(";")[axis],tickIntervalsDefault=isXAxis&&!xaxisDate?1:void 0;return{tickInterval:tickInterval??asFloat(ticks[0])??tickIntervalsDefault,tickWidth:asFloat(ticksWidth??ticks[1],.5),tickLength:asFloat(tickLength??ticks[2],5),tickColor:getAxisColor(getParam,axis),...isXAxis?{startOnTick:!0,showFirstLabel:!0,showLastLabel:!0}:{}}},getAxisColor=(i,r)=>{let s=i("hc_axis_ticks")??"",n=i("hc_axis_ticks_colors")??"",a=(s.split(";")[r]??"").split("_");return n.split(";")[r]||a[3]||"#666666"},getAxisGridStyle=(i,r)=>{let s=i("hc_axis_grids")?.split(";");if(s){if("none"===s[r])return{};let i=s[r]?.split("_");if(i&&i.length>2)return{gridLineDashStyle:i[0],minorGridLineDashStyle:i[0],gridLineWidth:asFloat(i[1]),gridLineColor:i[2],minorGridLineColor:i[2]}}let n=i("hc_axis_grid_styles")?.split(";"),a=i("hc_axis_grid_widths")?.split(";"),o=i("hc_axis_grid_colors")?.split(";"),l=n?.[r]||"Solid",h=asFloat(a?.[r],.5),c=o?.[r]||"gray";return"none"===l?{}:{gridLineDashStyle:l,minorGridLineDashStyle:l,gridLineWidth:h,gridLineColor:c,minorGridLineColor:c,gridZIndex:4*!!asBool(i("hc_axis_grids_isOnTop"))}},getAxisRange=(i,r,s)=>{let n=i("hc_axis_ranges")?.split(";")?.[r]?.split("_");return n&&2==n.length?void 0!==i("hc_xaxis_date")&&r===Axis.x?{min:Date.parse(n[0]),max:Date.parse(n[1])}:{min:findXindex(s,n[0]),max:findXindex(s,n[1])}:{}},getAxisDrawings=(i,r,s)=>{let n=r===Axis.x;return{plotLines:getPlotLines(i,n,s),plotBands:getPlotBands(i,n,s)}},getPlotLines=(i,r,s)=>{let n=[],a=i(r?"hc_extra_vertLines":"hc_extra_horzLines"),o=void 0!==i("hc_xaxis_date");return a?.split(";").forEach(i=>
27{let a=i.split("_"),l=""!=a[0]?a[0]:"black",h=a?.[r?5:6]?.split("|");a?.length>3&&n.push({color:l,dashStyle:a[1]??"Solid",width:asFloat(a[2],1),value:r?findAnnotationXindex(s,a[3],o):asFloat(a[4]),label:{text:asText(a[r?4:5]),...getPlotLinesLabelOptions(h,r,l,asFloat(a[r?6:7]),asFloat(a[r?7:8]))},zIndex:7})}),n},getPlotLinesLabelOptions=(i,r,s,n,a)=>{let o=i?.[3]&&""!=i[3]?i[3]:r?"right":"center",l=i?.[4]&&""!=i[4]?i[4]:r?"middle":"top";return{style:asTextStyle(i&&""!=i[0]?i[0]:s,i?.[1],asTextSize(asFloat(i?.[2]),FontSize.axisLabel)),align:i?.[3]??(r?"right":"center"),verticalAlign:i?.[4]??(r?"middle":"top"),x:r?getPlotLinesLabelOffseOverLine(n??0,i?.[3]??"left"):getPlotLinesLabelOffsetAlongLine(n,o),y:r?getPlotLinesLabelOffsetAlongLine(a,l):getPlotLinesLabelOffseOverLine(a??0,l),textAlign:r?getPlotLinesLabelTextAlign(l):o,rotation:asFloat(i?.[5],r?-90:0)}},getPlotLinesLabelOffsetAlongLine=(i,r)=>{if(i)return i;switch(r){case"left":case"top":return 5;case"right":case"bottom":return -5;default:return 0}},getPlotLinesLabelOffseOverLine=(i,r)=>{let s;switch(r){case"center":case"middle":s=4.125;break;case"bottom":case"right":s=10;break;default:s=-4.25}return i+s},getPlotLinesLabelTextAlign=i=>{switch(i){case"top":return"right";case"bottom":return"left";default:return"center"}},getPlotBands=(i,r,s)=>{let n=[],a=i(r?"hc_extra_vertBands":"hc_extra_horzBands"),o=void 0!==i("hc_xaxis_date");return a?.split(";").forEach(i=>{let a=i.split("_"),l=a?.[r?4:5]?.split("|"),h=a&&l?{text:asText(a[r?3:4]),style:asTextStyle(l[0],l[1],asTextSize(asFloat(l[2]),FontSize.axisLabel)),align:l[3]?l[3]:"center",verticalAlign:l[4]?l[4]:"middle",rotation:asFloat(l[5],0),x:asFloat(a[r?5:6]),y:asFloat(a[r?6:7])}:{};a.length>2&&n.push({color:""!=a[0]?a[0]:"white",from:r?findAnnotationXindex(s,a[1],o):asFloat(a[2],0),to:r?findAnnotationXindex(s,a[2],o):asFloat(a[3],0),label:h})}),n},findAnnotationXindex=(i,r,s)=>{if(s)return Date.parse(r);let n=findXindex(i,r),a=i[0];if("data"in a&&Array.isArray(a.data)){let i=asFloat(a.data[0].x,0);return n<i?i+n:n}return n},getLabels=(i,r)=>{let s=r("hc_xaxis_style")?.split(";")??["","normal",getAxisColor(r,Axis.x),getAxisColor(r,Axis.x)],n=s?.[0].split(",").map(i=>parseInt(i.trim())),{dataSelector:a,labelFilter:o}=getSelectors(i,r);return i(a).map((r,a)=>{let l=i(a).find(o).attr("abbr")?.trim(),h=i(a).find(`cellule:not([type="texte"]):not([type="nombre"]), ${o}`).text().trim(),c=asText(l??h);return s&&n&&-1!==n.indexOf(r)?`<strong style='font-style:${s[1]};color:${s[2]}'>${c}</strong>`:c}).get()},getDecoration=(i,r,s)=>{let n=i("hc_series_legendDecorator")?.split(";"),a=asText(s,!0)??"";return n?.[r]?.split("_").includes("bold")&&(a="<b>"+a+"</b>"),n?.[r]?.split("_").includes("italic")&&(a="<em>"+a+"</em>"),n?.[r]?.split("_").includes("underline")&&(a='<span style="text-decoration: underline">'+a+"</span>"),a},customYAxisLabelFormatter=(i,r,s)=>i==r[0]?`<strong style='font-family:Open Sans;font-size:10px;font-style:${r[1]};color:${r[2]??s}'>${i}</strong>`:`<span style='font-family:Open Sans;font-size:10px;color:${s}'>${i}</span>`,generateOrthogonalOptions=i=>{let r=load(i,{xml:!0});function s(i,s){return getParam(r,orthogonalParams[i])??s}let n=getSeries(r,s),a=s("hc_legend_layout")??"vertical",o=s("hc_xaxis_date"),l=mergeOptions(generateInitialOptions(s),{chart:{type:"line",height:asInt(s("hc_height"),700),...getMargin(s),...getSpacing(s),style:{fontFamily:"Open Sans",color:"black"}},annotations:[...getAnnotations(s,n),getBalanceAnnotationOptions(s,n)],xAxis:{...getAxisOptions(s,Axis.x,n),...o?{type:"datetime",startOnTick:!0}:{categories:getLabels(r,s)},type:"datetime",tickmarkPlacement:"on",minPadding:0},yAxis:[{...getAxisOptions(s,Axis.y1,n),reversedStacks:!1,tickmarkPlacement:"on",lineWidth:1}],plotOptions:{area:{stacking:getStacking(s),legendSymbol:"rectangle",fillOpacity:1},bar:{...getHistogramOptions(s),stacking:getStacking(s)},column:{...getHistogramOptions(s),stacking:getStacking(s)},...getBalancePlotOptions(s)},tooltip:{...getBalanceTooltipOptions(s,n),xDateFormat:s("hc_bulle_dateformat")}
27,legend:{squareSymbol:!1,symbolWidth:28,labelFormatter:function(){return getDecoration(s,this.index,this.name)},itemMarginTop:asFloat(s("hc_legend_itemVertMargin"),5*("vertical"===a)),itemMarginBottom:asFloat(s("hc_legend_itemVertMargin"),5*("vertical"===a)),itemDistance:asFloat(s("hc_legend_itemDistance"),25*("vertical"!==a))},series:n});if(s("hc_yaxis_style")){let i=asArray(s("hc_yaxis_style"),";");l.yAxis.labels={formatter:function(){return customYAxisLabelFormatter(this.value,i,l.yAxis.labels?.style?.color??getAxisColor(s,Axis.y1))}}}let h=s("hc_valueIndex")?.split(";").map(i=>parseInt(i))??[];return 2==h.length&&applySecondYAxis(s,n,h,l),l},applySecondYAxis=(i,r,s,n)=>{let a=s[1]-1,o=i("hc_valueIndex")?.split(";"),l=o&&2===o.length&&o[0]===o[1],h=getAxisOptions(i,Axis.y2,r);if(l)return void n.yAxis.push({...h,reversedStacks:!1,tickmarkPlacement:"on",lineWidth:1,linkedTo:0});let c=r[a].data;h.labels.format=`{value:.${getMaxY2Precision(c)}f}`,n.yAxis.push({...h,lineColor:n.colors?.[a]??"black",reversedStacks:!1,tickmarkPlacement:"on",lineWidth:1})},getMaxY2Precision=i=>i.map(i=>{let r=i.y;return r%1!=0?r.toString().split(".")[1].length:0}).sort((i,r)=>i-r).pop(),generateChartOptions=i=>{let r=load(i,{xmlMode:!0})("param[name=hc_type]").attr("value");if(void 0===r)throw new InvalidInputError("Le paramètre hc_type est obligatoire");switch(r){case"pie":return Promise.resolve(generatePieOptions(i));case"polar":return Promise.resolve(generatePolarOptions(i));case"orthogonal":return Promise.resolve(generateOrthogonalOptions(i));case"mapbubble":case"map":return generateMapOptions(i);default:throw new InvalidInputError("Le type du graphique n'est pas encore supporté: "+r)}};"u">typeof window&&(window.generateChartOptions=generateChartOptions||{});var __TURBOPACK__imported__module__79142__=__turbopack_context__.i(79142),__TURBOPACK__imported__module__97658__=__turbopack_context__.i(97658);let setHighchartsOptions=i=>{let r="en"!==i;__TURBOPACK__imported__module__26963__.default.setOptions({lang:{thousandsSep:" ",numericSymbols:void 0,decimalPoint:r?",":"."}});let s=r?{label:"bimestre",abbr:"bim."}:{label:"bimester",abbr:"bim."},n=r?{label:"trimestre",abbr:"trim."}:{label:"quarter",abbr:"qtr."},a=i=>Math.floor(i.getUTCMonth()/2)+1,o=i=>Math.floor(i.getUTCMonth()/3)+1,l=function(i){switch(i){case 1:return i+(r?"er ":"st ");case 2:return i+(r?"e ":"nd ");case 3:return i+(r?"e ":"rd ");default:return i+(r?"e ":"th ")}};__TURBOPACK__imported__module__26963__.default.dateFormats.clib=function(i){return l(a(new Date(i)))+s.abbr},__TURBOPACK__imported__module__26963__.default.dateFormats.Clib=function(i){return l(a(new Date(i)))+s.label},__TURBOPACK__imported__module__26963__.default.dateFormats.t=function(i){return o(new Date(i))+""},__TURBOPACK__imported__module__26963__.default.dateFormats.qlib=function(i){return l(o(new Date(i)))+n.abbr},__TURBOPACK__imported__module__26963__.default.dateFormats.Qlib=function(i){return l(o(new Date(i)))+n.label}},Graph=({xml:i,metadata:r})=>{let[s,n]=(0,__TURBOPACK__imported__module__61567__.useState)(void 0);return(setHighchartsOptions((0,__TURBOPACK__imported__module__97658__.useLocale)()),(0,__TURBOPACK__imported__module__61567__.useEffect)(()=>{try{generateChartOptions(i).then(i=>n(i))}catch(i){console.error(i)}},[n,i]),(0,__TURBOPACK__imported__module__61567__.useEffect)(()=>{s&&console.log(s)},[s]),void 0===s)?(0,__TURBOPACK__imported__module__34552__.jsxs)("div",{className:"w-full bg-jaune-old-1 py-8",children:[(0,__TURBOPACK__imported__module__34552__.jsx)("span",{className:"block text-center text-lg font-bold",children:"Ce graphique n'est pas pris en charge par le module Highcharts."}),(0,__TURBOPACK__imported__module__34552__.jsx)("br",{}),(0,__TURBOPACK__imported__module__34552__.jsx)("span",{className:"text-sm",children:i})]}):(console.log(s),(0,__TURBOPACK__imported__module__34552__.jsxs)("div",{children:[(0,__TURBOPACK__imported__module__34552__.jsx)(__TURBOPACK__imported__module__96377__.default,{constructorType:s.chart?.type==="map"?"mapChart":"chart",highcharts:__TURBOPACK__imported__module__26963__.default,options:s}),(0,__TURBOPACK__imported__module__34552__.jsx)(__TURBOPACK__imported__module__79142__.Metadata,{...r})]}))},__TURBOPACK__default__export__5=Graph},67552,i=>{"use strict";i.s(["default",()=>h,"intertitreRef",()=>l]);var r=i.i(34552),s=i.i(54468);i.i(52667);var n=i.i(24469),a=i.i(94702),o=i.i(83741);let l=(i,r)=>0===i.length?"titre-"+r:"titre-"+(0,o.toHref)((0,n.getRawText)(i)),h=({id:i,texte:n,niveau:o,anchorRef:h})=>{let c=(0,r.jsx)(a.ListInlineContentRenderer,{content:n}),d=h??l(n,i);switch(o){case 1:return(0,r.jsx)("h1",{className:"bloc",style:{scrollMarginTop:`${s.VIEWPORT_HEIGHT}vh`},id:d,children:c});case 2:return(0,r.jsx)("h2",{className:"bloc",style:{scrollMarginTop:`${s.VIEWPORT_HEIGHT}vh`},id:d,children:c});case 3:return(0,r.jsx)("h3",{className:"bloc",style:{scrollMarginTop:`${s.VIEWPORT_HEIGHT}vh`},id:d,children:c});default:return(0,r.jsx)("h4",{className:"bloc",style:{scrollMarginTop:`${s.VIEWPORT_HEIGHT}vh`},id:d,children:c})}}},88812,8864,79142,43532,18998,12880,i=>{"use strict";i.s(["Metadata",()=>b,"default",()=>y],79142),i.s(["default",()=>d],8864),i.s(["default",()=>o],88812);var r=i.i(34552);i.i(52667);var s=i.i(94702);let n=({ordonnee:i,items:n})=>(0,r.jsx)(r.Fragment,{children:n.map(({texte:n,children:o},l)=>(0,r.jsxs)("li",{children:[(0,r.jsx)(s.ListInlineContentRenderer,{content:n}),o&&o.length>0&&(0,r.jsx)(a,{ordonnee:i,items:o})]},l))}),a=({ordonnee:i,items:s})=>{let a=i?"ol":"ul";return(0,r.jsx)(a,{className:"ml-8",children:(0,r.jsx)(n,{ordonnee:i,items:s})})},o=({ordonnee:i,items:s,anchorRef:a})=>{let o=i?"ol":"ul";return(0,r.jsx)(o,{id:a,children:(0,r.jsx)(n,{ordonnee:i,items:s})})};var l=r,h=i.i(59263),c=s;let d=({children:i,searchParams:r})=>{if(i[0]?.type=="intertitre"){let s=i[0],n=i.slice(1);return(0,l.jsxs)("details",{className:"variables-dictionary",name:"dictionary",children:[(0,l.jsx)("summary",{className:"cursor-pointer list-none",children:(0,l.jsxs)("h2",{className:"flex items-center gap-4",children:[(0,l.jsx)("span",{"aria-hidden":!0,
27className:"summary-icon w-4 text-center text-xl font-extrabold text-bleu-100"}),(0,l.jsx)(c.ListInlineContentRenderer,{content:s.texte})]})}),n.map(i=>(0,l.jsx)(h.default,{bloc:i,searchParams:r},i.id))]})}return(0,l.jsx)(l.Fragment,{children:i.map(i=>(0,l.jsx)(h.default,{bloc:i,searchParams:r},i.id))})};var u=r,p=s,m=i.i(7284);let g=({value:i,header:r,dataType:s,background:n,colspan:a,rowspan:o,ventilation:l,retrait:h,total:c,tagFirstCell:d})=>void 0!==r?(0,u.jsx)("th",{scope:"colonne"==r?"col":"row",colSpan:a,rowSpan:o,className:(0,m.default)(l&&"italic","superieure"===n&&"bg-rouge-old-2","inferieure"===n&&"bg-bleu-old-1",c&&"font-bold",h&&"pl-8",d&&"first-cell"),children:(0,u.jsx)(p.ListInlineContentRenderer,{content:i})}):(0,u.jsx)("td",{colSpan:a,rowSpan:o,className:(0,m.default)("superieure"===n&&"bg-rouge-old-2","inferieure"===n&&"bg-bleu-old-1",l&&"italic",c&&"font-bold",h&&"pl-8","nombre"===s&&"text-right whitespace-nowrap",d&&"first-cell"),children:(0,u.jsx)(p.ListInlineContentRenderer,{content:i})}),f=({cells:i,intertitre:r,tagFirstCell:s})=>(0,u.jsx)("tr",{className:(0,m.default)(r&&"[&>th]:font-bold"),children:i.map((i,r)=>(0,u.jsx)(g,{...i,tagFirstCell:s&&0==r},r))}),A=(i,r)=>{let s=0;for(let n=0;n<r;n++){if(s>0){s--;continue}s=(i[n].cells[0].rowspan??1)-1}return 0==s},b=({notes:i,lecture:r,champ:s,sources:n})=>(0,u.jsx)("figcaption",{children:(0,u.jsxs)("ul",{className:"mt-xs flex list-none flex-col gap-2 text-md leading-7",children:[i.map((i,r)=>(0,u.jsx)("li",{children:(0,u.jsx)(p.ListInlineContentRenderer,{content:i})},r)),r.length>0&&(0,u.jsx)("li",{children:(0,u.jsx)(p.ListInlineContentRenderer,{content:r})}),s.length>0&&(0,u.jsx)("li",{children:(0,u.jsx)(p.ListInlineContentRenderer,{content:s})}),n.map((i,r)=>(0,u.jsx)("li",{children:(0,u.jsx)(p.ListInlineContentRenderer,{content:i})},r))]})}),y=({title:i,header:r,data:s,footer:n,metadata:{notes:a,champ:o,lecture:l,sources:h},unit:c,anchorRef:d,maxHeight:g,fixedFirstColumn:y})=>(0,u.jsxs)("div",{className:"overflow-auto",style:{maxHeight:g},children:[(0,u.jsxs)("table",{id:d,className:(0,m.default)("mx-auto w-fit max-w-full",y&&"fixedFirstcolumn"),children:[(0,u.jsxs)("caption",{className:"text-right",children:[(0,u.jsxs)("span",{className:"sr-only",children:[(0,u.jsx)(p.ListInlineContentRenderer,{content:i}),l.length>0&&(0,u.jsx)(p.ListInlineContentRenderer,{content:l})]}),c&&(0,u.jsx)("span",{className:"mb-4",children:c.startsWith("(")?c:"("+c+")"})]}),(0,u.jsx)("thead",{className:"sticky top-0 z-3",children:r.map((i,s)=>(0,u.jsx)(f,{...i,tagFirstCell:A(r,s)},s))}),(0,u.jsx)("tbody",{children:s.map((i,r)=>(0,u.jsx)(f,{...i,tagFirstCell:A(s,r)},r))}),(0,u.jsx)("tfoot",{children:n.map((i,r)=>(0,u.jsx)(f,{...i,tagFirstCell:A(n,r)},r))})]}),(0,u.jsx)(b,{notes:a,champ:o,sources:h,lecture:l})]});var x=r,E=i.i(56966);let T=["pdf","odt","doc","docx","zip","jpg","svg","png"],C=(i,r=35)=>{let s={pdf:(0,x.jsx)(E.RiFilePdf2Line,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),xls:(0,x.jsx)(E.RiFileExcelLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),xlsx:(0,x.jsx)(E.RiFileExcelLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),odt:(0,x.jsx)(E.RiArticleLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),doc:(0,x.jsx)(E.RiArticleLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),docx:(0,x.jsx)(E.RiArticleLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),dbase:(0,x.jsx)(E.RiDatabase2Line,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),parquet:(0,x.jsx)(E.RiGridLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),zip:(0,x.jsx)(E.RiFolderLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),ods:(0,x.jsx)(E.RiGridLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),csv:(0,x.jsx)(E.RiGridLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),jpg:(0,x.jsx)(E.RiFileImageLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),svg:(0,x.jsx)(E.RiFileImageLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),png:(0,x.jsx)(E.RiFileImageLine,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"}),default:(0,x.jsx)(E.RiDownload2Line,{size:r,"aria-hidden":!0,role:"presentation",focusable:"false"})};return s[i]??s.default},v=i=>`storage-provider/attachments/${i}`,S={standard:"jedec",fullform:!0,round:0,fullforms:["o","Ko","Mo","Go"]};i.s(["DOCS_FILES",0,T,"FILESIZE_OPTIONS",0,S,"getCompleteFileUrl",0,v,"getFileFormatIcon",0,C],43532);let I="Invalid number",w="Invalid rounding method",_="iec",k="jedec",N="bit",M="bits",L="byte",D="bytes",O="kbit",P="kB",R="array",B="function",F="object",H="string",G="exponent",U="roun
27d",Y="e",W="",j=".",z="s",X=" ",Q="0",K={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},V={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},q=[1,1024,1048576,0x40000000,0x10000000000,0x4000000000000,0x1000000000000000,11805916207174113e5,12089258196146292e8],Z=[1,1e3,1e6,1e9,1e12,1e15,1e18,1e21,1e24],J=Math.log(1024),$=Math.log(1e3),tt={si:{isDecimal:!0,ceil:1e3,actualStandard:k},[_]:{isDecimal:!1,ceil:1024,actualStandard:_},[k]:{isDecimal:!1,ceil:1024,actualStandard:k}};function te(i,r){return tt[i]?tt[i]:2===r?{isDecimal:!1,ceil:1024,actualStandard:_}:{isDecimal:!0,ceil:1e3,actualStandard:k}}function ti(i,r,s,n,a,o,l,h,c,d,u){let p;return(p=i>0?0..toPrecision(i):c&&d>0?0..toFixed(d):0,l===G)?0:(u||(u=s?K[r].bits[0]:K[r].bytes[0]),n[u]&&(u=n[u]),a&&(o[0]?u=o[0]:(u=V[r][0],s?u+=N:u+=L)),l===R)?[p,u]:l===F?{value:p,symbol:u,exponent:0,unit:u}:p+h+u}function tr(i,r,s,n,a,o=!0){let l,h=i/(l=s?Z[r]:q[r]);return n&&(h*=8,o&&h>=a&&r<8&&(h/=a,r++)),{result:h,e:r}}function ts(i,r,s,n,a,o,l,h,c,d){"string"==typeof i&&(i=parseFloat(i));let u=i.toPrecision(r),p=-1===d||isNaN(d);if(u.includes(Y)&&s<8&&p){let i,d,{result:p}=tr(n,++s,a,o,l);u=(d=1===(i=c>0?Math.pow(10,c):1)?h(p):h(p*i)/i).toPrecision(r)}return{value:u,e:s}}function tn(i,r,s,n,a,o,l){let h=i,c=a&&o>0?{minimumFractionDigits:o,maximumFractionDigits:o}:void 0;if(!0===r)h=h.toLocaleString(void 0,c);else if(r.length>0)h=h.toLocaleString(r,{...s,...c});else if(n.length>0){if(a&&o>0){let i=Math.pow(10,o);h=l(h*i)/i}h=h.toString().replace(j,n)}if(a&&o>0&&!0!==r&&0===r.length){let i=h.toString(),r=n||j,s=i.split(r),a=s[1]||W;h=`${s[0]}${r}${a.padEnd(o,Q)}`}return h}function ta(i,r,s,n,a){return(-1===r||isNaN(r)?(r=n?Math.floor(Math.log(i)/$):Math.floor(Math.log(i)/J))<0&&(r=0):r<0&&(r=0),r>8)?(a>0&&(a+=8-r),{e:8,precision:a}):{e:r,precision:a}}function to(i,r,s,n,a,o){let l,h;return(h=1===(l=s>0&&n>0?Math.pow(10,n):1)?a(i):a(i*l)/l)===r&&s<8&&o&&(h=1,s++),{value:h,e:s}}function tl(i,r,s,n){let a=K[i][r?M:D];return n&&1===s?r?O:P:a[s]}function th(i,r,s,n,a,o,l,h,c,d,u,p,m,g){let f;if(r&&(i[0]=-i[0]),s[i[1]]&&(i[1]=s[i[1]]),f="string"==typeof i[0]?parseFloat(i[0]):i[0],i[0]=tn(i[0],n,a,o,l,h,g),c){let r,s;r=m?N:L,s=1===f?W:z,d[p]?i[1]=d[p]:i[1]=V[u][p]+r+s}}function tc(i,r,s,n,a){let o;return n===R?i:n===F?{value:i[0],symbol:i[1],exponent:r,unit:s}:o=a===X?`${i[0]} ${i[1]}`:i.join(a)}function td(i,{bits:r=!1,pad:s=!1,base:n=-1,round:a=2,locale:o=W,localeOptions:l={},separator:h=W,spacer:c=X,symbols:d={},standard:u=W,output:p=H,fullform:m=!1,fullforms:g=[],exponent:f=-1,roundingMethod:A=U,precision:b=0}={}){let y=f,x,E=[],T=W;if("bigint"==typeof i)x=Number(i);else if(isNaN(x=Number(i))||!isFinite(x))throw TypeError(I);let{isDecimal:C,ceil:v,actualStandard:S}=te(u,n),_=!0===m,k=x<0,N=Math[A];if(typeof N!==B)throw TypeError(w);if(k&&(x=-x),0===x)return ti(b,S,r,d,_,g,p,c,s,a);let{e:M,precision:L}=ta(x,y,f,C,b);y=M;let D=-1===f||isNaN(f),{result:O,e:P}=tr(x,y,C,r,v,D),R=to(O,v,y=P,a,N,D);if(E[0]=R.value,y=R.e,L>0){let i=ts(E[0],L,y,x,C,r,v,N,a,f);E[0]=i.value,y=i.e}return p===G?y:(T=tl(S,r,y,C),E[1]=T,th(E,k,d,o,l,h,s,a,_,g,S,y,r,N),tc(E,y,T,p,c))}function tu(i,r){for(let s of r)if(void 0===i[s]||null===i[s])return!1;return!0}i.s(["filesize",0,td],18998),i.s(["hasRequired",0,tu],12880)},10265,94702,i=>{"use strict";i.s(["default",()=>n],10265),i.s(["ListInlineContentRenderer",()=>s.default],94702);var r=i.i(34552);i.i(52667);var s=i.i(8286),s=s;let n=({texte:i,anchorRef:n})=>(0,r.jsx)("p",{className:"bloc",id:n,children:(0,r.jsx)(s.default,{content:i})})},32822,i=>{"use strict";var r=i.i(34552);function s(i){return class extends i{_playedRanges=[];_currentPlayedRange=null;_RANGE_EPSILON=.5;_seeking=!1;connectedCallback(){super.connectedCallback&&super.connectedCallback(),this.addEventListener("play",()=>this.onPlaybackStart({time:this.currentTime})),this.addEventListener("pause",()=>this.onPlaybackStop({time:this.currentTime})),this.addEventListener("ended",()=>this.onPlaybackStop({time:this.currentTime})),this.addEventListener("seeking",()=>this.onSeeking()),this.addEventListener("seeked",()=>this.onSeeked({time:this.currentTime}))}onPlaybackStart(i={}){this._seeking=!1;let{time:r}=i,s="number"==typeof r?r:this.currentTime;this._currentPlayedRange||(this._currentPlayedRange={start:s,end:s})}onSeeking(){this._seeking=!0,this._commitCurrentRange()}onSeeked(i={}){this._seeking=!1;let{time:r}=i,s="number"==typeof r?r:this.currentTime;this._currentPlayedRange={start:s,end:s}}onPlaybackStop(i={}){let{time:r}=i,s="number"==typeof r?r:this.currentTime;this._commitCurrentRange(s)}_commitCurrentRange(i){if(!this._currentPlayedRange)return;"number"==typeof i&&(this._currentPlayedRange.end=i);let{start:r,end:s}=this._currentPlayedRange;this._currentPlayedRange=null,this.addPlayedRange(r,s)}addPlayedRange(i,r){if(i>=r)return;let s=this._RANGE_EPSILON,n=[...this._playedRanges,{start:i,end:r}];n.sort((i,r)=>i.start-r.start);let a=[];for(let i of n){if(!a.length){a.push({...i});continue}let r=a[a.length-1];i.start<=r.end+s?(r.start=Math.min(r.start,i.start),r.end=Math.max(r.end,i.end)):a.push({...i})}this._playedRanges=a}get played(){let i=this.currentTime;return(this.paused||this._currentPlayedRange||"number"!=typeof i||(this._currentPlayedRange={start:i,end:i}),this._currentPlayedRange&&"number"==typeof i&&(i>this._currentPlayedRange.end&&(this._currentPlayedRange.end=i),this.addPlayedRange(this._currentPlayedRange.start,this._currentPlayedRange.end)),this._playedRanges.length)?n(this._playedRanges.map(i=>[i.start,i.end])):n([[0,0]])}}}function n(i){return Object.defineProperties(i,{start:{value:r=>i[r][0]},end:{value:r=>i[r][1]}}),i}let a="https://www.youtube.com/embed",o="https://www.youtube-nocookie.com/embed",l="https://www.youtube.com/iframe_api",h="YT",c="onYouTubeIframeAPIReady",d=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11}
27)/,u=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/.*?[?&]list=)([\w_-]+)/;function p(i){if(!i)return;let r=i.match(/[?&]t=([\dms]+)/i);if(!r)return;let s=r[1].toLowerCase(),n=0,a=!1,o=s.match(/(\d+)m/);o&&(n+=60*parseInt(o[1],10),a=!0);let l=s.match(/(\d+)s?$/);return l&&(n+=parseInt(l[1],10),a=!0),a?n:void 0}function m(i,r={}){var s;let n={src:g(i,r),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return(null==(s=r.config)?void 0:s.referrerpolicy)&&(n.referrerpolicy=r.config.referrerpolicy),r.config&&(n["data-config"]=JSON.stringify(r.config)),` 28 <style> 29 :host { 30 display: inline-block; 31 line-height: 0; 32 position: relative; 33 min-width: 300px; 34 min-height: 150px; 35 } 36 iframe { 37 position: absolute; 38 top: 0; 39 left: 0; 40 } 41 </style> 42 <iframe${A(n)}></iframe> 43 `}function g(i,r){if(!i.src)return;let s=i.src.includes("-nocookie")?o:a,n={controls:""===i.controls?null:0,autoplay:i.autoplay,loop:i.loop,mute:i.muted,playsinline:i.playsinline,preload:i.preload??"metadata",enablejsapi:1,cc_load_policy:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,start:p(i.src),...r.config};if(d.test(i.src)){let r=i.src.match(d),a=r&&r[1];return`${s}/${a}?${y(n)}`}let l=i.src.match(u),h={listType:"playlist",list:l&&l[1],...n};return`${s}?${y(h)}`}class f extends s(globalThis.HTMLElement??class{}){static getTemplateHTML=m;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new w;#t;#e;#i=0;#r=!1;#s;isLoaded=!1;#n=null;#a=null;#o=null;#l=1;constructor(){super(),this.#h("config")}get config(){return this.#a}set config(i){this.#a=i}async load(){let i;if(this.#t)return;this.shadowRoot||this.attachShadow({mode:"open"});let r=!this.#e;this.#e&&(this.loadComplete=new w,this.isLoaded=!1),this.#e=!0,await (this.#t=Promise.resolve()),this.#t=null,this.#i=0,this.dispatchEvent(new Event("emptied"));let s=this.api;if(this.api=null,!this.src){null==s||s.destroy();return}this.#o=document.createElement("video"),this.textTracks=this.#o.textTracks,this.textTracks.addEventListener("change",()=>{var i;let r=Array.from(this.textTracks).find(i=>"showing"===i.mode);null==(i=this.api)||i.setOption("captions","track",r?{languageCode:r.language}:{})}),this.dispatchEvent(new Event("loadstart"));let n=this.shadowRoot.querySelector("iframe"),a=E(this.attributes);r&&n&&(this.#a=JSON.parse(n.getAttribute("data-config")||"{}")),(null==n?void 0:n.src)&&n.src===g(a,this)||(this.shadowRoot.innerHTML=m(a,this),n=this.shadowRoot.querySelector("iframe"));let o=await C(l,h,c);this.api=new o.Player(n,{events:{onReady:()=>{var i;this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),1!==this.#l&&(null==(i=this.api)||i.setVolume(100*this.#l)),this.dispatchEvent(new Event("volumechange")),this.dispatchEvent(new Event("loadcomplete")),this.isLoaded=!0,this.loadComplete.resolve()},onError:i=>{console.error(i),this.#n={code:i.data,message:`YouTube iframe player error #${i.data}; visit https://developers.google.com/youtube/iframe_api_reference#onError for the full error message.`},this.dispatchEvent(new Event("error"))}}});let d=!1;this.api.addEventListener("onStateChange",i=>{var r;let s=i.data;if((s===o.PlayerState.PLAYING||s===o.PlayerState.BUFFERING)&&(d||(d=!0,this.dispatchEvent(new Event("play"))),(this.api.getOption("captions","tracklist")||[]).forEach(i=>{[...this.textTracks].some(r=>r.language===i.languageCode)||this.#o.addTextTrack("subtitles",i.displayName,i.languageCode),this.textTracks=this.#o.textTracks}),this.dispatchEvent(new Event("loadstart"))),s===o.PlayerState.PLAYING)this.seeking&&(this.#r=!1,null==(r=this.#s)||r.resolve(),this.dispatchEvent(new Event("seeked"))),this.#i=3,this.dispatchEvent(new Event("playing"));else if(s===o.PlayerState.PAUSED){let i=Math.abs(this.currentTime-u);!this.seeking&&i>.1&&(this.#r=!0,this.dispatchEvent(new Event("seeking"))),d=!1,this.dispatchEvent(new Event("pause"))}s===o.PlayerState.ENDED&&(d=!1,this.dispatchEvent(new Event("pause")),this.dispatchEvent(new Event("ended")),this.loop&&this.play())}),this.api.addEventListener("onPlaybackRateChange",()=>{this.dispatchEvent(new Event("ratechange"))}),this.api.addEventListener("onVolumeChange",()=>{var i;let r=(null==(i=this.api)?void 0:i.getVolume())/100;this.#l=r,this.dispatchEvent(new Event("volumechange"))}),this.api.addEventListener("onVideoProgress",()=>{this.dispatchEvent(new Event("timeupdate"))}),await this.loadComplete;let u=0;setInterval(()=>{var i;let r=Math.abs(this.currentTime-u),s=this.buffered.end(this.buffered.length-1);this.seeking&&s>.1?(this.#r=!1,null==(i=this.#s)||i.resolve(),this.dispatchEvent(new Event("seeked"))):!this.seeking&&r>
43.1&&(this.#r=!0,this.dispatchEvent(new Event("seeking"))),u=this.currentTime},50);let p=setInterval(()=>{let r=this.buffered.end(this.buffered.length-1);r>=this.duration&&(clearInterval(p),this.#i=4),i!=r&&(i=r,this.dispatchEvent(new Event("progress")))},100)}async attributeChangedCallback(i,r,s){if(r!==s)switch(i){case"src":case"autoplay":case"controls":case"loop":case"playsinline":this.load()}}async play(){var i;return this.#s=null,await this.loadComplete,null==(i=this.api)||i.playVideo(),I(this)}async pause(){var i;return await this.loadComplete,null==(i=this.api)?void 0:i.pauseVideo()}get seeking(){return this.#r}get readyState(){return this.#i}get src(){return this.getAttribute("src")}set src(i){this.src!=i&&this.setAttribute("src",i)}get error(){return this.#n}get paused(){var i,r;return this.isLoaded?[-1,0,2,5].includes(null==(r=null==(i=this.api)?void 0:i.getPlayerState)?void 0:r.call(i)):!this.autoplay}get duration(){var i,r;return(null==(r=null==(i=this.api)?void 0:i.getDuration)?void 0:r.call(i))??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(i){this.autoplay!=i&&this.toggleAttribute("autoplay",!!i)}get buffered(){var i,r;if(!this.isLoaded)return _();let s=(null==(i=this.api)?void 0:i.getVideoLoadedFraction())*(null==(r=this.api)?void 0:r.getDuration());return s>0?_(0,s):_()}get controls(){return this.hasAttribute("controls")}set controls(i){this.controls!=i&&this.toggleAttribute("controls",!!i)}get currentTime(){var i,r;return(null==(r=null==(i=this.api)?void 0:i.getCurrentTime)?void 0:r.call(i))??0}set currentTime(i){this.currentTime!=i&&(this.#s=new w,this.loadComplete.then(()=>{var r,s;null==(r=this.api)||r.seekTo(i,!0),this.paused&&(null==(s=this.#s)||s.then(()=>{var i;this.#s&&(null==(i=this.api)||i.pauseVideo())}))}))}set defaultMuted(i){this.defaultMuted!=i&&this.toggleAttribute("muted",!!i)}get defaultMuted(){return this.hasAttribute("muted")}get loop(){return this.hasAttribute("loop")}set loop(i){this.loop!=i&&this.toggleAttribute("loop",!!i)}set muted(i){this.muted!=i&&this.loadComplete.then(()=>{var r,s;i?null==(r=this.api)||r.mute():null==(s=this.api)||s.unMute()})}get muted(){var i,r;return this.isLoaded?null==(r=null==(i=this.api)?void 0:i.isMuted)?void 0:r.call(i):this.defaultMuted}get playbackRate(){var i,r;return(null==(r=null==(i=this.api)?void 0:i.getPlaybackRate)?void 0:r.call(i))??1}set playbackRate(i){this.playbackRate!=i&&this.loadComplete.then(()=>{var r;null==(r=this.api)||r.setPlaybackRate(i)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(i){this.playsInline!=i&&this.toggleAttribute("playsinline",!!i)}get poster(){return this.getAttribute("poster")}set poster(i){this.poster!=i&&this.setAttribute("poster",`${i}`)}set volume(i){this.volume!=i&&(this.#l=i,this.loadComplete.then(()=>{var r;null==(r=this.api)||r.setVolume(100*i)}))}get volume(){var i;return this.isLoaded?(null==(i=this.api)?void 0:i.getVolume())/100:this.#l}#h(i){if(Object.prototype.hasOwnProperty.call(this,i)){let r=this[i];delete this[i],this[i]=r}}}function A(i){let r="";for(let s in i){let n=i[s];""===n?r+=` ${b(s)}`:r+=` ${b(s)}="${b(`${n}`)}"`}return r}function b(i){return i.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function y(i){return String(new URLSearchParams(x(i)))}function x(i){let r={};for(let s in i){let n=i[s];!0===n||""===n?r[s]=1:!1===n?r[s]=0:null!=n&&(r[s]=n)}return r}function E(i){let r={};for(let s of i)r[s.name]=s.value;return r}let T={};async function C(i,r,s){return T[i]?T[i]:r&&self[r]?(await v(0),self[r]):T[i]=new Promise(function(n,a){let o=document.createElement("script");o.src=i;let l=()=>n(self[r]);s&&(self[s]=l),o.onload=()=>!s&&l(),o.onerror=a,document.head.append(o)})}let v=i=>new Promise(r=>setTimeout(r,i));function S(i){return(...r)=>new Promise(s=>{i(...r,(...i)=>{i.length>1?s(i):s(i[0])})})}function I(i){return S((r,s)=>{let n;i.addEventListener(r,n=()=>{i.removeEventListener(r,n),s()})})("playing")}class w extends Promise{constructor(i=()=>{}){let r,s;super((n,a)=>{i(n,a),r=n,s=a}),this.resolve=r,this.reject=s}}function _(i,r){return Array.isArray(i)?k(i):null==i||null==r||0===i&&0===r?k([[0,0]]):k([[i,r]])}function k(i){return Object.defineProperties(i,{start:{value:r=>i[r][0]},end:{value:r=>i[r][1]}}),i}globalThis.customElements&&!globalThis.customElements.get("youtube-video")&&globalThis.customElements.define("youtube-video",f);let N=({videoId:i,anchorRef:s,titleStr:n}
43)=>(0,r.jsx)("youtube-video",{className:"md:min-h-[360px] md:min-w-[640px]",controls:!0,title:n,src:`https://www.youtube.com/watch?v=${i}`,...s&&{id:s}});i.s(["default",0,N],32822)},56082,83345,i=>{"use strict";i.s(["default",()=>b],56082),i.s(["default",()=>A],83345);var r=i.i(34552),s=i.i(14667),n=i.i(4813),a=i.i(37657),o=i.i(49974),l=i.i(32736),h=r,c=i.i(18678),d=i.i(59263),u=i.i(8286);let p=({lien:i})=>(0,h.jsx)(c.default,{content:i,children:i.content?.map(i=>"container_titre"===i.type||"intertitre"===i.type?(0,h.jsx)("span",{className:"font-bold",children:(0,h.jsx)(u.default,{content:i.texte})},i.id):(0,h.jsx)(d.default,{bloc:i,searchParams:{}},i.id))});var m=r,g=c,f=i.i(59002);let A=({lien:i})=>{let{locale:r}=(0,f.useParams)(),{uriRmes:s,htmlContent:n}=i;if(s&&n){let s=n.find(({langue:i})=>i===r)?.contenu??"";return(0,m.jsx)(g.default,{content:i,children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})})}return(0,m.jsx)(p,{lien:i})},b=({content:i})=>{switch(i.type){case"texte":return(0,r.jsx)(s.default,{content:i});case"lien":return(0,r.jsx)(n.ContentLien,{content:i});case"ancre":return(0,r.jsx)(l.default,{content:i});case"lien_definition":return(0,r.jsx)(A,{lien:i});case"lien_infobulle":return(0,r.jsx)(p,{lien:i});case"nbsp":return(0,r.jsx)(a.default,{});case"retour_ligne":return(0,r.jsx)("br",{});case"lang":return(0,r.jsx)(o.default,{content:i});default:return null}}},32736,84047,18678,i=>{"use strict";let r;i.s(["default",()=>nE],18678),i.s(["default",()=>C],32736),i.s(["TabContext",()=>x,"Tabs",()=>E],84047);var s,n,a,o,l=i.i(34552),h=i.i(43108),c=i.i(61567),d=i.i(64899),u=l,p=i.i(94364),m=c,g=i.i(7284),f=i.i(83741),A=d,b=i.i(63906);i.i(42911);var y=i.i(44108);let x=(0,m.createContext)({activeTab:"main",setActiveTab:()=>{}}),E=({tabList:i,children:r})=>{let[s,n]=(0,m.useState)(i[0]),[a,o]=(0,m.useState)(0),l=(0,m.useRef)([]),h=(0,m.useMemo)(()=>({activeTab:s,setActiveTab:n}),[s,n]);(0,m.useEffect)(()=>{function r(){let r=globalThis.location.hash;r?setTimeout(()=>{(0,A.scrollToHash)(r,n)},100):n(i[0])}return r(),globalThis.addEventListener("hashchange",r),()=>globalThis.removeEventListener("hashchange",r)},[i]);let c=i=>{n(i),history.pushState(null,"","#"+(0,f.toHref)(i))},d=r=>{if("ArrowRight"===r.key){r.preventDefault();let s=(a+1)%i.length;l.current[s]?.focus(),o(s)}if("ArrowLeft"===r.key){r.preventDefault();let s=(a-1+i.length)%i.length;l.current[s]?.focus(),o(s)}},E=(0,p.useTranslations)("onglets"),T=i=>b.TAB_NAMES.includes(i)?E(i):i;return(0,u.jsxs)("div",{"data-testid":"tabs",children:[i.length>1&&(0,u.jsx)(y.default,{main:(0,u.jsx)("div",{role:"tablist","aria-label":E("onglets"),className:"tab flex list-none flex-wrap gap-1 text-lg font-bold",children:i.map((i,r)=>(0,u.jsx)("button",{id:`tab-${(0,f.toHref)(i)}`,ref:i=>{l.current[r]=i},role:"tab",tabIndex:s===i?0:-1,"aria-selected":s===i,"aria-controls":(0,f.toHref)(i),onClick:()=>c(i),onKeyDown:d,className:(0,g.default)("min-w-64 p-sm",s===i?"bg-bleu-100 text-blanc":"bg-bleu-sec-40 hover:bg-bleu-sec-80"),children:T(i)},`${i}-${r}`))})}),(0,u.jsx)(x.Provider,{value:h,children:r})]})};var T=i.i(8286);let C=({content:i})=>{let{url:r,texte:s}=i,{setActiveTab:n}=(0,c.useContext)(x),a=i=>{(0,d.scrollToHash)(r,n)&&(history.pushState(null,"",r),i.preventDefault())};return(0,l.jsx)(h.Link,{onClick:a,href:r,children:(0,l.jsx)(T.default,{content:s})})};var v=l,S=c,I=p,w=c,_=Object.defineProperty,k=(i,r)=>_(i,"name",{value:r,configurable:!0}),N=!!("u">typeof window&&window.document&&window.document.createElement);function M(i,r,{checkForDefaultPrevented:s=!0}={}){return k(function(n){if(i?.(n),!1===s||!n||!n.defaultPrevented)return r?.(n)},"handleEvent")}function L(i){if(!N)throw Error("Cannot access document outside of the DOM");return i?.ownerDocument??document}function D(i,r=!1){let{activeElement:s}=L(i);if(!s?.nodeName)return null;if(O(s)&&s.contentDocument)return D(s.contentDocument.body,r);if(r){let i=s.getAttribute("aria-activedescendant");if(i){let r=L(s).getElementById(i);if(r)return r}}return s}function O(i){return"IFRAME"===i.tagName}k(M,"composeEventHandlers"),k(function(i){if(!N)throw Error("Cannot access window outside of the DOM");return i?.ownerDocument?.defaultView??window},"getOwnerWindow"),k(L,"getOwnerDocument"),k(D,"getActiveElement"),k(O,"isFrame");var P=c;function R(i,r){if("function"==typeof i)return i(r);null!=i&&(i.current=r)}function B(...i){return r=>{let s=!1,n=i.map(i=>{let n=R(i,r);return s||"function"!=typeof n||(s=!0),n});if(s)return()=>{for(let r=0;r<n.length;r++){let s=n[r];"function"==typeof s?s():R(i[r],null)}}}}function F(...i){return P.useCallback(B(...i),i)}var H=c,G=l;function U(i,r=[]){let s=[];function n(r,n){let a=H.createContext(n);a.displayName=r+"Context";let o=s.length;s=[...s,n];let l=r=>{let{scope:s,children:n,...l}=r,h=s?.[i]?.[o]||a,c=H.useMemo(()=>l,Object.values(l));return(0,G.jsx)(h.Provider,{value:c,children:n})};return l.displayName=r+"Provider",[l,function(s,l,h={}){let{optional:c=!1}
43=h,d=l?.[i]?.[o]||a,u=H.useContext(d);if(u)return u;if(void 0!==n)return n;if(!c)throw Error(`\`${s}\` must be used within \`${r}\``)}]}let a=()=>{let r=s.map(i=>H.createContext(i));return function(s){let n=s?.[i]||r;return H.useMemo(()=>({[`__scope${i}`]:{...s,[i]:n}}),[s,n])}};return a.scopeName=i,[n,Y(a,...r)]}function Y(...i){let r=i[0];if(1===i.length)return r;let s=()=>{let s=i.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(i){let n=s.reduce((r,{useScope:s,scopeName:n})=>{let a=s(i)[`__scope${n}`];return{...r,...a}},{});return H.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return s.scopeName=r.scopeName,s}var W=c,j=c,z=i.i(66474),X=c;function Q(i){let r=X.forwardRef((r,s)=>{let{children:n,...a}=r,o=null,l=!1,h=[];tt(n)&&"function"==typeof ts&&(n=ts(n._payload)),X.Children.forEach(n,i=>{if(J(i)){l=!0;let r=i,s="child"in r.props?r.props.child:r.props.children;tt(s)&&"function"==typeof ts&&(s=ts(s._payload)),o=V(r,s),h.push(o?.props?.children)}else h.push(i)}),o?o=X.cloneElement(o,void 0,h):!l&&1===X.Children.count(n)&&X.isValidElement(n)&&(o=n);let c=o?Z(o):void 0,d=F(s,c);if(!o){if(n||0===n)throw Error(l?tr(i):ti(i));return n}let u=q(a,o.props??{});return o.type!==X.Fragment&&(u.ref=s?d:c),X.cloneElement(o,u)});return r.displayName=`${i}.Slot`,r}var K=Symbol.for("radix.slottable"),V=(i,r)=>{if("child"in i.props){let r=i.props.child;return X.isValidElement(r)?X.cloneElement(r,void 0,i.props.children(r.props.children)):null}return X.isValidElement(r)?r:null};function q(i,r){let s={...r};for(let n in r){let a=i[n],o=r[n];/^on[A-Z]/.test(n)?a&&o?s[n]=(...i)=>{let r=o(...i);return a(...i),r}:a&&(s[n]=a):"style"===n?s[n]={...a,...o}:"className"===n&&(s[n]=[a,o].filter(Boolean).join(" "))}return{...i,...s}}function Z(i){let r=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?i.ref:(s=(r=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?i.props.ref:i.props.ref||i.ref}function J(i){return X.isValidElement(i)&&"function"==typeof i.type&&"__radixId"in i.type&&i.type.__radixId===K}var $=Symbol.for("react.lazy");function tt(i){return null!=i&&"object"==typeof i&&"$$typeof"in i&&i.$$typeof===$&&"_payload"in i&&te(i._payload)}function te(i){return"object"==typeof i&&null!==i&&"then"in i}var ti=i=>`${i} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,tr=i=>`${i} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ts=X[" use ".trim().toString()],tn=l,ta=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((i,r)=>{let s=Q(`Primitive.${r}`),n=j.forwardRef((i,n)=>{let{asChild:a,...o}=i,l=a?s:r;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,tn.jsx)(l,{...o,ref:n})});return n.displayName=`Primitive.${r}`,{...i,[r]:n}},{});function to(i,r){i&&z.flushSync(()=>i.dispatchEvent(r))}var tl=c;function th(i){let r=tl.useRef(i);return tl.useEffect(()=>{r.current=i}),tl.useMemo(()=>(...i)=>r.current?.(...i),[])}var tc=l,td=Object.defineProperty,tu=(i,r)=>td(i,"name",{value:r,configurable:!0}),tp="dismissableLayer.update",tm="dismissableLayer.pointerDownOutside",tg="dismissableLayer.focusOutside",tf=W.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),tA=W.forwardRef(tu(function(i,r){let{disableOutsidePointerEvents:s=!1,deferPointerDownOutside:n=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:h,onInteractOutside:c,onDismiss:d,...u}=i,p=W.useContext(tf),[m,g]=W.useState(null),f=m?.ownerDocument??globalThis?.document,[,A]=W.useState({}),b=F(r,g),y=Array.from(p.layers),[x]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),E=x?y.indexOf(x):-1,T=m?y.indexOf(m):-1,C=p.layersWithOutsidePointerEventsDisabled.size>0,v=T>=E,S=W.useRef(!1),I=ty(i=>{l?.(i),c?.(i),i.defaultPrevented||d?.()},{ownerDocument:f,deferPointerDownOutside:n,isDeferredPointerDownOutsideRef:S,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:W.useCallback(i=>{if(!(i instanceof Node))return!1;let r=[...p.branches].some(r=>r.contains(i));return v&&!r},[p.branches,v])}),w=tx(i=>{if(n&&S.current)return;let r=i.target;![...p.branches].some(i=>i.contains(r))&&(h?.(i),c?.(i),i.defaultPrevented||d?.())},f),_=!!m&&T===y.length-1,k=th(i=>{"Escape"===i.key&&(o?.(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))});return W.useEffect(()=>{if(_)return f.addEventListener("keydown",k,{capture:!0}),()=>f.removeEventListener("keydown",k,{capture:!0})},[f,_,k]),W.useEffect(()=>{if(m)return s&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(a=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),tE(),()=>{s&&(p.layersWithOutsidePointerEventsDisabled.delete(m),0===p.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=a))}},[m,f,s,p]),W.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),tE())},[m,p]),W.useEffect(()=>{let i=tu(()=>A({}),"handleUpdate");return document.addEventListener(tp,i),()=>document.removeEventListener(tp,i)},[]),(0,tc.jsx)(ta.div,{...u,ref:b,style:{pointerEvents:C?v?"auto":"none":void 0,...i.style},onFocusCapture:M(i.onFocusCapture,w.onFocusCapture),onBlurCapture:M(i.onBlurCapture,w.onBlurCapture),onPointerDownCapture:M(i.onPointerDownCapture,I.onPointerDownCapture)})},"DismissableLayer"));tu(function(){let i=W.useContext(tf),[r,s]=W.useState(null);return W.useEffect(()=>{if(r)return i.dismissableSurfaces.add(r),()=>
43{i.dismissableSurfaces.delete(r)}},[r,i.dismissableSurfaces]),s},"useDismissableLayerSurface");var tb=tu(()=>!0,"IS_TRUE");function ty(i,r){let{ownerDocument:s=globalThis?.document,deferPointerDownOutside:n=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:o,shouldHandlePointerDownOutside:l=tb}=r,h=th(i),c=W.useRef(!1),d=W.useRef(!1),u=W.useRef(new Map),p=W.useRef(()=>{});return W.useEffect(()=>{function i(){d.current=!1,a.current=!1,u.current.clear()}function r(){return Array.from(u.current.values()).some(Boolean)}function m(i){if(!d.current)return;let r=i.target;r instanceof Node&&[...o].some(i=>i.contains(r))||u.current.set(i.type,!0),"click"===i.type&&window.setTimeout(()=>{d.current&&p.current()},0)}function g(i){d.current&&u.current.set(i.type,!1)}tu(i,"resetOutsideInteraction"),tu(r,"isOutsideInteractionIntercepted"),tu(m,"handleInteractionCapture"),tu(g,"handleInteractionBubble");let f=tu(o=>{if(o.target&&!c.current){let m=function(){s.removeEventListener("click",p.current);let n=r();i(),n||tT(tm,h,g,{discrete:!0})};if(tu(m,"handleAndDispatchPointerDownOutsideEvent"),!l(o.target)){s.removeEventListener("click",p.current),i(),c.current=!1;return}let g={originalEvent:o};d.current=!0,a.current=n&&0===o.button,u.current.clear(),n&&0===o.button?(s.removeEventListener("click",p.current),p.current=m,s.addEventListener("click",p.current,{once:!0})):m()}else s.removeEventListener("click",p.current),i();c.current=!1},"handlePointerDown"),A=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let i of A)s.addEventListener(i,m,!0),s.addEventListener(i,g);let b=window.setTimeout(()=>{s.addEventListener("pointerdown",f)},0);return()=>{for(let i of(window.clearTimeout(b),s.removeEventListener("pointerdown",f),s.removeEventListener("click",p.current),A))s.removeEventListener(i,m,!0),s.removeEventListener(i,g)}},[s,h,n,a,o,l]),{onPointerDownCapture:tu(()=>c.current=!0,"onPointerDownCapture")}}function tx(i,r=globalThis?.document){let s=th(i),n=W.useRef(!1);return W.useEffect(()=>{let i=tu(i=>{i.target&&!n.current&&tT(tg,s,{originalEvent:i},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",i),()=>r.removeEventListener("focusin",i)},[r,s]),{onFocusCapture:tu(()=>n.current=!0,"onFocusCapture"),onBlurCapture:tu(()=>n.current=!1,"onBlurCapture")}}function tE(){let i=new CustomEvent(tp);document.dispatchEvent(i)}function tT(i,r,s,{discrete:n}){let a=s.originalEvent.target,o=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:s});r&&a.addEventListener(i,r,{once:!0}),n?to(a,o):a.dispatchEvent(o)}tu(ty,"usePointerDownOutside"),tu(tx,"useFocusOutside"),tu(tE,"dispatchUpdate"),tu(tT,"handleAndDispatchCustomEvent");var tC=c,tv=0,tS=null;function tI(){tC.useEffect(()=>{tS||(tS={start:tw(),end:tw()});let{start:i,end:r}=tS;return document.body.firstElementChild!==i&&document.body.insertAdjacentElement("afterbegin",i),document.body.lastElementChild!==r&&document.body.insertAdjacentElement("beforeend",r),tv++,()=>{1===tv&&(tS?.start.remove(),tS?.end.remove(),tS=null),tv=Math.max(0,tv-1)}},[])}function tw(){let i=document.createElement("span");return i.setAttribute("data-radix-focus-guard",""),i.tabIndex=0,i.style.outline="none",i.style.opacity="0",i.style.position="fixed",i.style.pointerEvents="none",i}var t_=c,tk=l,tN=Object.defineProperty,tM=(i,r)=>tN(i,"name",{value:r,configurable:!0}),tL="focusScope.autoFocusOnMount",tD="focusScope.autoFocusOnUnmount",tO={bubbles:!1,cancelable:!0},tP=t_.forwardRef(tM(function(i,r){let{loop:s=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=i,[h,c]=t_.useState(null),d=th(a),u=th(o),p=t_.useRef(null),m=F(r,c),g=t_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t_.useEffect(()=>{if(n){let i=function(i){if(g.paused||!h)return;let r=i.target;h.contains(r)?p.current=r:tY(p.current,{select:!0})},r=function(i){if(g.paused||!h)return;let r=i.relatedTarget;null!==r&&(h.contains(r)||tY(p.current,{select:!0}))},s=function(i){if(document.activeElement===document.body)for(let r of i)r.removedNodes.length>0&&tY(h)};tM(i,"handleFocusIn"),tM(r,"handleFocusOut"),tM(s,"handleMutations"),document.addEventListener("focusin",i),document.addEventListener("focusout",r);let n=new MutationObserver(s);return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",i),document.removeEventListener("focusout",r),n.disconnect()}}},[n,h,g.paused]),t_.useEffect(()=>{if(h){tW.add(g);let i=document.activeElement;if(!h.contains(i)){let r=new CustomEvent(tL,tO);h.addEventListener(tL,d),h.dispatchEvent(r),r.defaultPrevented||(tR(tX(tF(h)),{select:!0}),document.activeElement===i&&tY(h))}return()=>{h.removeEventListener(tL,d),setTimeout(()=>{let r=new CustomEvent(tD,tO);h.addEventListener(tD,u),h.dispatchEvent(r),r.defaultPrevented||tY(i??document.body,{select:!0}),h.removeEventListener(tD,u),tW.remove(g)},0)}}},[h,d,u,g]);let f=t_.useCallback(i=>{if(!s&&!n||g.paused)return;let r="Tab"===i.key&&!i.altKey&&!i.ctrlKey&&!i.metaKey,a=document.activeElement;if(r&&a){let r=i.currentTarget,[n,o]=tB(r);
43n&&o?i.shiftKey||a!==o?i.shiftKey&&a===n&&(i.preventDefault(),s&&tY(o,{select:!0})):(i.preventDefault(),s&&tY(n,{select:!0})):a===r&&i.preventDefault()}},[s,n,g.paused]);return(0,tk.jsx)(ta.div,{tabIndex:-1,...l,ref:m,onKeyDown:f})},"FocusScope"));function tR(i,{select:r=!1}={}){let s=document.activeElement;for(let n of i)if(tY(n,{select:r}),document.activeElement!==s)return}function tB(i){let r=tF(i);return[tH(r,i),tH(r.reverse(),i)]}function tF(i){let r=[],s=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:tM(i=>{let r="INPUT"===i.tagName&&"hidden"===i.type;return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;s.nextNode();)r.push(s.currentNode);return r}function tH(i,r){let s="function"==typeof r.checkVisibility&&r.checkVisibility({checkVisibilityCSS:!0});for(let n of i)if(!(s?!n.checkVisibility({checkVisibilityCSS:!0}):tG(n,{upTo:r})))return n}function tG(i,{upTo:r}){if("hidden"===getComputedStyle(i).visibility)return!0;for(;i&&(void 0===r||i!==r);){if("none"===getComputedStyle(i).display)return!0;i=i.parentElement}return!1}function tU(i){return i instanceof HTMLInputElement&&"select"in i}function tY(i,{select:r=!1}={}){if(i&&i.focus){let s=document.activeElement;i.focus({preventScroll:!0}),i!==s&&tU(i)&&r&&i.select()}}tM(tR,"focusFirst"),tM(tB,"getTabbableEdges"),tM(tF,"getTabbableCandidates"),tM(tH,"findVisible"),tM(tG,"isHidden"),tM(tU,"isSelectableInput"),tM(tY,"focus");var tW=tj();function tj(){let i=[];return{add(r){let s=i[0];r!==s&&s?.pause(),(i=tz(i,r)).unshift(r)},remove(r){i=tz(i,r),i[0]?.resume()}}}function tz(i,r){let s=[...i],n=s.indexOf(r);return -1!==n&&s.splice(n,1),s}function tX(i){return i.filter(i=>"A"!==i.tagName)}tM(tj,"createFocusScopesStack"),tM(tz,"arrayRemove"),tM(tX,"removeLinks");var tQ=c,tK=c,tV=globalThis?.document?tK.useLayoutEffect:()=>{},tq=tQ[" useId ".trim().toString()]||(()=>void 0),tZ=0;function tJ(i){let[r,s]=tQ.useState(tq());return tV(()=>{i||s(i=>i??String(tZ++))},[i]),i||(r?`radix-${r}`:"")}var t$=c;let t0=["top","right","bottom","left"],t1=Math.min,t2=Math.max,t3=Math.round,t5=Math.floor,t4=i=>({x:i,y:i}),t8={left:"right",right:"left",bottom:"top",top:"bottom"};function t6(i,r,s){return t2(i,t1(r,s))}function t9(i,r){return"function"==typeof i?i(r):i}function t7(i){return i.split("-")[0]}function et(i){return i.split("-")[1]}function ee(i){return"x"===i?"y":"x"}function ei(i){return"y"===i?"height":"width"}function er(i){let r=i[0];return"t"===r||"b"===r?"y":"x"}function es(i){return ee(er(i))}function en(i,r,s){void 0===s&&(s=!1);let n=et(i),a=es(i),o=ei(a),l="x"===a?n===(s?"end":"start")?"right":"left":"start"===n?"bottom":"top";return r.reference[o]>r.floating[o]&&(l=em(l)),[l,em(l)]}function ea(i){let r=em(i);return[eo(i),r,eo(r)]}function eo(i){return i.includes("start")?i.replace("start","end"):i.replace("end","start")}let el=["left","right"],eh=["right","left"],ec=["top","bottom"],ed=["bottom","top"];function eu(i,r,s){switch(i){case"top":case"bottom":if(s)return r?eh:el;return r?el:eh;case"left":case"right":return r?ec:ed;default:return[]}}function ep(i,r,s,n){let a=et(i),o=eu(t7(i),"start"===s,n);return a&&(o=o.map(i=>i+"-"+a),r&&(o=o.concat(o.map(eo)))),o}function em(i){let r=t7(i);return t8[r]+i.slice(r.length)}function eg(i){var r,s,n,a;return{top:null!=(r=i.top)?r:0,right:null!=(s=i.right)?s:0,bottom:null!=(n=i.bottom)?n:0,left:null!=(a=i.left)?a:0}}function ef(i){return"number"!=typeof i?eg(i):{top:i,right:i,bottom:i,left:i}}function eA(i){let{x:r,y:s,width:n,height:a}=i;return{width:n,height:a,top:s,left:r,right:r+n,bottom:s+a,x:r,y:s}}function eb(i,r,s){let n,{reference:a,floating:o}=i,l=er(r),h=es(r),c=ei(h),d=t7(r),u="y"===l,p=a.x+a.width/2-o.width/2,m=a.y+a.height/2-o.height/2,g=a[c]/2-o[c]/2;switch(d){case"top":n={x:p,y:a.y-o.height};break;case"bottom":n={x:p,y:a.y+a.height};break;case"right":n={x:a.x+a.width,y:m};break;case"left":n={x:a.x-o.width,y:m};break;default:n={x:a.x,y:a.y}}let f=et(r);return f&&(n[h]+=g*("end"===f?1:-1)*(s&&u?-1:1)),n}async function ey(i,r){var s;void 0===r&&(r={});let{x:n,y:a,platform:o,rects:l,elements:h,strategy:c}=i,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=t9(r,i),f=ef(g),A="floating"===p?"reference":"floating",b=h[m?A:p],y=eA(await o.getClippingRect
vendor: 1,254 bytes, line 43
43({element:null==(s=await (null==o.isElement?void 0:o.isElement(b)))||s?b:b.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(h.floating)),boundary:d,rootBoundary:u,strategy:c})),x="floating"===p?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,E=await (null==o.getOffsetParent?void 0:o.getOffsetParent(h.floating)),T=await (null==o.isElement?void 0:o.isElement(E))&&await (null==o.getScale?void 0:o.getScale(E))||{x:1,y:1},C=eA(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:x,offsetParent:E,strategy:c}):x);return{top:(y.top-C.top+f.top)/T.y,bottom:(C.bottom-y.bottom+f.bottom)/T.y,left:(y.left-C.left+f.left)/T.x,right:(C.right-y.right+f.right)/T.x}}let ex=50,eE=async(i,r,s)=>{let{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:l}=s,h=l.detectOverflow?l:{...l,detectOverflow:ey},c=await (null==l.isRTL?void 0:l.isRTL(r)),d=await l.getElementRects({reference:i,floating:r,strategy:a}),{x:u,y:p}=eb(d,n,c),m=n,g=0,f={};for(let s=0;s<o.length;s++){let A=o[s];if(!A)continue;let{name:b,fn:y}=A,{x:x,y:E,data:T,reset:C}=await y({x:u,y:p,initialPlacement:n,placement:m,strategy:a,middlewareData:f,re
vendor: 8,082 bytes, line 43
43cts:d,platform:h,elements:{reference:i,floating:r}});u=null!=x?x:u,p=null!=E?E:p,f[b]={...f[b],...T},C&&g<ex&&(g++,"object"==typeof C&&(C.placement&&(m=C.placement),C.rects&&(d=!0===C.rects?await l.getElementRects({reference:i,floating:r,strategy:a}):C.rects),{x:u,y:p}=eb(d,m,c)),s=-1)}return{x:u,y:p,placement:m,strategy:a,middlewareData:f}},eT=i=>({name:"arrow",options:i,async fn(r){let{x:s,y:n,placement:a,rects:o,platform:l,elements:h,middlewareData:c}=r,{element:d,padding:u=0}=t9(i,r)||{};if(null==d)return{};let p=ef(u),m={x:s,y:n},g=es(a),f=ei(g),A=await l.getDimensions(d),b="y"===g,y=b?"top":"left",x=b?"bottom":"right",E=b?"clientHeight":"clientWidth",T=o.reference[f]+o.reference[g]-m[g]-o.floating[f],C=m[g]-o.reference[g],v=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),S=v?v[E]:0;S&&await (null==l.isElement?void 0:l.isElement(v))||(S=h.floating[E]||o.floating[f]);let I=T/2-C/2,w=S/2-A[f]/2-1,_=t1(p[y],w),k=t1(p[x],w),N=S-A[f]-k,M=S/2-A[f]/2+I,L=t6(_,M,N),D=!c.arrow&&null!=et(a)&&M!==L&&o.reference[f]/2-(M<_?_:k)-A[f]/2<0,O=D?M<_?M-_:M-N:0;return{[g]:m[g]+O,data:{[g]:L,centerOffset:M-L-O,...D&&{alignmentOffset:O}},reset:D}}}),eC=function(i){return void 0===i&&(i={}),{name:"flip",options:i,async fn(r){var s,n,a,o,l;let{placement:h,middlewareData:c,rects:d,initialPlacement:u,platform:p,elements:m}=r,{mainAxis:g=!0,crossAxis:f=!0,fallbackPlacements:A,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:x=!0,...E}=t9(i,r);if(null!=(s=c.arrow)&&s.alignmentOffset)return{};let T=t7(h),C=er(u),v=t7(u)===u,S=await (null==p.isRTL?void 0:p.isRTL(m.floating)),I=A||(v||!x?[em(u)]:ea(u)),w="none"!==y;!A&&w&&I.push(...ep(u,x,y,S));let _=[u,...I],k=await p.detectOverflow(r,E),N=[],M=(null==(n=c.flip)?void 0:n.overflows)||[];if(g&&N.push(k[T]),f){let i=en(h,d,S);N.push(k[i[0]],k[i[1]])}if(M=[...M,{placement:h,overflows:N}],!N.every(i=>i<=0)){let i=((null==(a=c.flip)?void 0:a.index)||0)+1,r=_[i];if(r&&("alignment"!==f||C===er(r)||M.every(i=>er(i.placement)!==C||i.overflows[0]>0)))return{data:{index:i,overflows:M},reset:{placement:r}};let s=null==(o=M.filter(i=>i.overflows[0]<=0).sort((i,r)=>i.overflows[1]-r.overflows[1])[0])?void 0:o.placement;if(!s)switch(b){case"bestFit":{let i=null==(l=M.filter(i=>{if(w){let r=er(i.placement);return r===C||"y"===r}return!0}).map(i=>[i.placement,i.overflows.filter(i=>i>0).reduce((i,r)=>i+r,0)]).sort((i,r)=>i[1]-r[1])[0])?void 0:l[0];i&&(s=i);break}case"initialPlacement":s=u}if(h!==s)return{reset:{placement:s}}}return{}}}};function ev(i,r){return{top:i.top-r.height,right:i.right-r.width,bottom:i.bottom-r.height,left:i.left-r.width}}function eS(i){return t0.some(r=>i[r]>=0)}let eI=function(i){return void 0===i&&(i={}),{name:"hide",options:i,async fn(r){let{rects:s,platform:n}=r,{strategy:a="referenceHidden",...o}=t9(i,r);switch(a){case"referenceHidden":{let i=ev(await n.detectOverflow(r,{...o,elementContext:"reference"}),s.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:eS(i)}}}case"escaped":{let i=ev(await n.detectOverflow(r,{...o,altBoundary:!0}),s.floating);return{data:{escapedOffsets:i,escaped:eS(i)}}}default:return{}}}}},ew=new Set(["left","top"]);async function e_(i,r){let{placement:s,platform:n,elements:a}=i,o=await (null==n.isRTL?void 0:n.isRTL(a.floating)),l=t7(s),h=et(s),c="y"===er(s),d=ew.has(l)?-1:1,u=o&&c?-1:1,p=t9(r,i),{mainAxis:m,crossAxis:g,alignmentAxis:f}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return h&&"number"==typeof f&&(g="end"===h?-1*f:f),c?{x:g*u,y:m*d}:{x:m*d,y:g*u}}let ek=function(i){return void 0===i&&(i=0),{name:"offset",options:i,async fn(r){var s,n;let{x:a,y:o,placement:l,middlewareData:h}=r,c=await e_(r,i);return l===(null==(s=h.offset)?void 0:s.placement)&&null!=(n=h.arrow)&&n.alignmentOffset?{}:{x:a+c.x,y:o+c.y,data:{...c,placement:l}}}}},eN=function(i){return void 0===i&&(i={}),{name:"shift",options:i,async fn(r){let{x:s,y:n,placement:a,platform:o}=r,{mainAxis:l=!0,crossAxis:h=!1,limiter:c={fn:i=>{let{x:r,y:s}=i;return{x:r,y:s}}},...d}=t9(i,r),u={x:s,y:n},p=await o.detectOverflow(r,d),m=er(a),g=ee(m),f=u[g],A=u[m],b=(i,r)=>t6(r+p["y"===i?"top":"left"],r,r-p["y"===i?"bottom":"right"]);l&&(f=b(g,f)),h&&(A=b(m,A));let y=c.fn({...r,[g]:f,[m]:A});return{...y,data:{x:y.x-s,y:y.y-n,enabled:{[g]:l,[m]:h}}}}}},eM=function(i){return void 0===i&&(i={}),{options:i,fn(r){var s,n,a,o;let{x:l,y:h,placement:c,rects:d,middlewareData:u}=r,{offset:p=0,mainAxis:m=!0,crossAxis:g=!0}=t9(i,r),f={x:l,y:h},A=er(c),b=ee(A),y=f[b],x=f[A],E=t9(p,r),T="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:null!=(s=E.mainAxis)?s:0,crossAxis:null!=(n=E.crossAxis)?n:0};if(m){let i="y"===b?"height":"width",r=d.reference[b]-d.floating[i]+T.mainAxis,s=d.reference[b]+d.reference[i]-T.mainAxis;y<r?y=r:y>s&&(y=s)}if(g){let i="y"===b?"width":"height",r=ew.has(t7(c)),s=d.reference[A]-d.floating[i]+(r&&(null==(a=u.offset)?void 0:a[A])||0)+(r?0:T.crossAxis),n=d.reference[A]+d.reference[i]+(r?0:(null==(o=u.offset)?void 0:o[A])||0)-(r?T.crossAxis:0);x<s?x=s:x>n&&(x=n)}return{[b]:y,[A]:x}}}},eL=function(i){return void 0===i&&(i={}),{name:"size",options:i,async fn(r){let s,n,{placement:a,rects:o,platform:l,elements:h}=r,{apply:c=()=>{},...d}=t9(i,r),u=await l.detectOverflow(r,d),p=t7(a),m=et(a),g="y"===er(a),{width:f,height:A}=o.floating;"top"===p||"bottom"===p?(s=p,n=m===(await (null==l.isRTL?void 0:l.isRTL(h.floating))?"start":"end")?"left":"right"):(n=p,s="end"===m?"top":"bottom");let b=A-u.top-u.bottom,y=f-u.left-u.right,x=t1(A-u[s],b),E=t1(f-u[n],y),T=r.middlewareData.shift,C=!T,v=x,S=E;null!=T&&T.enabled.x&&(S=y),null!=T&&T.enabled.y&&(v=b),C&&!m&&(g?S=f-2*t2(u.left,u.right):v=A-2*t2(u.top,u.bottom)),await c({...r,availableWidth:S,availableHeight:v});let I=await l.getDimensions(h.floating);return f!==I.width||A!==I.height?{reset:{rects:!0}}:{}}}};function eD(){return"u">typeof window}function eO(i){return eB(i)?(i.nodeName||"").toLowerCase():"#document"}function eP(i){var r;return(null==i||null==(r=i.ownerDocument)?void 0:r.defaultView)||window}function eR(i){var r;return null==(r=(eB(i)?i.ownerDocument:i.document)||window.document)?void 0:r.documentElement}function eB(i){return!!eD()&&(i instanceof Node||i instanceof eP(i).Node)}function eF(i){return!!eD()&&(i instanceof Element||i instanceof eP(i).Element)}function eH(i){return!!eD()&&(i instanceof HTMLElement||i instanceof eP(i).HTMLElement)}function eG(i){return!(!eD()||"u"<typeof ShadowRoot)&&(i instanceof ShadowRoot||i instanceof eP(i).ShadowRoot)}function eU(i){let{overflow:r,overflowX:s,overflowY:n,display:a}=eZ(i);return/auto|scroll|overlay|hidden|clip/.test(r+n+s)&&"inline"!==a&&"contents"!==a}function eY(i){return/^(table|td|th)$/.test(eO(i))}function eW(i){try{if(i.matches(":popover-open"))return!0}catch(i){}try{return i.matches(":modal")}catch(i){return!1}}let ej=/transform|translate|scale|rotate|perspective|filter/,ez=/paint|layout|strict|content/,eX=i=>!!i&&"none"!==i;function eQ(i){let r=eF(i)?eZ(i):i;return eX(r.transform)||eX(r.translate)||eX(r.scale)||eX(r.rotate)||eX(r.perspective)||!eV()&&(eX(r.backdropFilter)||eX(r.filter))||ej.test(r.willChange||"")||ez.test(r.contain||"")}function eK(i){let r=e$(i);for(;eH(r)&&!eq(r);){if(eQ(r))return r;if(eW(r))break;r=e$(r)}return null}function eV(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function eq(i){return/^(html|body|#document)$/.test(eO(i))}function eZ(i){return eP(i).getComputedStyle(i)}function eJ(i){return eF(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function e$(i){if("html"===eO(i))return i;let r=i.assignedSlot||i.parentNode||eG(i)&&i.host||eR(i);return eG(r)?r.host:r}function e0(i){let r=e$(i);return eq(r)?(i.ownerDocument||i).body:eH(r)&&eU(r)?r:e0(r)}function e1(i,r,s){var n;void 0===r&&(r=[]),void 0===s&&(s=!0);let a=e0(i),o=a===(null==(n=i.ownerDocument)?void 0:n.body),l=eP(a);if(!o)return r.concat(a,e1(a,[],s));{let i=e2(l);
43return r.concat(l,l.visualViewport||[],eU(a)?a:[],i&&s?e1(i):[])}}function e2(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function e3(i){let r=eZ(i),s=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=eH(i),o=a?i.offsetWidth:s,l=a?i.offsetHeight:n,h=t3(s)!==o||t3(n)!==l;return h&&(s=o,n=l),{width:s,height:n,$:h}}function e5(i){return eF(i)?i:i.contextElement}function e4(i){let r=e5(i);if(!eH(r))return t4(1);let s=r.getBoundingClientRect(),{width:n,height:a,$:o}=e3(r),l=(o?t3(s.width):s.width)/n,h=(o?t3(s.height):s.height)/a;return l&&Number.isFinite(l)||(l=1),h&&Number.isFinite(h)||(h=1),{x:l,y:h}}let e8=t4(0);function e6(i){let r=eP(i);return eV()&&r.visualViewport?{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}:e8}function e9(i,r,s){return void 0===r&&(r=!1),!!s&&r&&s===eP(i)}function e7(i,r,s,n){void 0===r&&(r=!1),void 0===s&&(s=!1);let a=i.getBoundingClientRect(),o=e5(i),l=t4(1);r&&(n?eF(n)&&(l=e4(n)):l=e4(i));let h=e9(o,s,n)?e6(o):t4(0),c=(a.left+h.x)/l.x,d=(a.top+h.y)/l.y,u=a.width/l.x,p=a.height/l.y;if(o&&n){let i=eP(o),r=eF(n)?eP(n):n,s=i,a=e2(s);for(;a&&r!==s;){let i=e4(a),r=a.getBoundingClientRect(),n=eZ(a),o=r.left+(a.clientLeft+parseFloat(n.paddingLeft))*i.x,l=r.top+(a.clientTop+parseFloat(n.paddingTop))*i.y;c*=i.x,d*=i.y,u*=i.x,p*=i.y,c+=o,d+=l,a=e2(s=eP(a))}}return eA({width:u,height:p,x:c,y:d})}function it(i,r){let s=eJ(i).scrollLeft;return r?r.left+s:e7(eR(i)).left+s}function ie(i,r){let s=i.getBoundingClientRect();return{x:s.left+r.scrollLeft-it(i,s),y:s.top+r.scrollTop}}function ii(i){let r=eJ(i),s=i.ownerDocument.body,n=t2(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),a=t2(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight),o=-r.scrollLeft+it(i),l=-r.scrollTop;return"rtl"===eZ(s).direction&&(o+=t2(i.clientWidth,s.clientWidth)-n),{width:n,height:a,x:o,y:l}}let ir=25;function is(i,r,s){void 0===s&&(s="viewport");let n="layoutViewport"===s,a=eP(i),o=eR(i),l=a.visualViewport,h=o.clientWidth,c=o.clientHeight,d=0,u=0;if(l){let i=!eV()||"fixed"===r;n?i||(d=-l.offsetLeft,u=-l.offsetTop):(h=l.width,c=l.height,i&&(d=l.offsetLeft,u=l.offsetTop))}if(0>=it(o)){let i=o.ownerDocument,r=i.body,s=getComputedStyle(r),n="CSS1Compat"===i.compatMode&&parseFloat(s.marginLeft)+parseFloat(s.marginRight)||0,a=Math.abs(o.clientWidth-r.clientWidth-n),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?a/2:a;l<=ir&&(h-=l)}return{width:h,height:c,x:d,y:u}}function ia(i,r){let s=e7(i,!0,"fixed"===r),n=s.top+i.clientTop,a=s.left+i.clientLeft,o=e4(i),l=i.clientWidth*o.x,h=i.clientHeight*o.y;return{width:l,height:h,x:a*o.x,y:n*o.y}}function io(i,r,s){let n;if("viewport"===r||"layoutViewport"===r)n=is(i,s,r);else if("document"===r)n=ii(eR(i));else if(eF(r))n=ia(r,s);else{let s=e6(i);n={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return eA(n)}function il(i,r){let s=r.get(i);if(s)return s;let n=e1(i,[],!1).filter(i=>eF(i)&&"body"!==eO(i)),a=null,o="fixed"===eZ(i).position,l=o?e$(i):i;for(;eF(l)&&!eq(l);){let i=eZ(l),r=eQ(l),s=a?a.position:o?"fixed":"";r||"fixed"!==s&&("absolute"!==s||"static"!==i.position)?a=i:n=n.filter(i=>i!==l),l=e$(l)}return r.set(i,n),n}function ih(i,r,s){let n=eH(r),a=eR(r),o="fixed"===s,l=e7(i,!0,o,r),h={scrollLeft:0,scrollTop:0},c=t4(0);if((n||!o)&&(("body"!==eO(r)||eU(a))&&(h=eJ(r)),n)){let i=e7(r,!0,o,r);c.x=i.x+r.clientLeft,c.y=i.y+r.clientTop}!n&&a&&(c.x=it(a));let d=!a||n||o?t4(0):ie(a,h);return{x:l.left+h.scrollLeft-c.x-d.x,y:l.top+h.scrollTop-c.y-d.y,width:l.width,height:l.height}}function ic(i){return"static"===eZ(i).position}function id(i,r){if(!eH(i)||"fixed"===eZ(i).position)return null;if(r)return r(i);let s=i.offsetParent;return eR(i)===s&&(s=s.ownerDocument.body),s}function iu(i,r){let s=eP(i);if(eW(i))return s;if(!eH(i)){let r=e$(i);for(;r&&!eq(r);){if(eF(r)&&!ic(r))return r;r=e$(r)}return s}let n=id(i,r);for(;n&&eY(n)&&ic(n);)n=id(n,r);return n&&eq(n)&&ic(n)&&!eQ(n)?s:n||eK(i)||s}let ip=async function(i){let r=this.getOffsetParent||iu,s=this.getDimensions,n=await s(i.floating);return{reference:ih(i.reference,await r(i.floating),i.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},im={convertOffsetParentRelativeRectToViewportRelativeRect:function(i){let{elements:r,rect:s,offsetParent:n,strategy:a}=i,o="fixed"===a,l=eR(n),h=!!r&&eW(r.floating);if(n===l||h&&o)return s;let c={scrollLeft:0,scrollTop:0},d=t4(1),u=t4(0),p=eH(n);if((p||!o)&&(("body"!==eO(n)||eU(l))&&(c=eJ(n)),p)){let i=e7(n);d=e4(n),u.x=i.x+n.clientLeft,u.y=i.y+n.clientTop}let m=!l||p||o?t4(0):ie(l,c);return{width:s.width*d.x,height:s.height*d.y,x:s.x*d.x-c.scrollLeft*d.x+u.x+m.x,y:s.y*d.y-c.scrollTop*d.y+u.y+m.y}},getDocumentElement:eR,getClippingRect:function(i){let{element:r,boun
43dary:s,rootBoundary:n,strategy:a}=i,o=[..."clippingAncestors"===s?eW(r)?[]:il(r,this._c):[].concat(s),n],l=io(r,o[0],a),h=l.top,c=l.right,d=l.bottom,u=l.left;for(let i=1;i<o.length;i++){let s=io(r,o[i],a);h=t2(s.top,h),c=t1(s.right,c),d=t1(s.bottom,d),u=t2(s.left,u)}return{width:c-u,height:d-h,x:u,y:h}},getOffsetParent:iu,getElementRects:ip,getClientRects:function(i){return i.getClientRects?Array.from(i.getClientRects()):[]},getDimensions:function(i){let{width:r,height:s}=e3(i);return{width:r,height:s}},getScale:e4,isElement:eF,isRTL:function(i){return"rtl"===eZ(i).direction}};function ig(i,r){return i.x===r.x&&i.y===r.y&&i.width===r.width&&i.height===r.height}function iA(i,r,s){let n,a=null,o=eR(i);function l(){var i;clearTimeout(n),null==(i=a)||i.disconnect(),a=null}function h(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),l();let d=i.getBoundingClientRect(),{left:u,top:p,width:m,height:g}=d;if(s||r(),!m||!g)return;let f={rootMargin:-t5(p)+"px "+-t5(o.clientWidth-(u+m))+"px "+-t5(o.clientHeight-(p+g))+"px "+-t5(u)+"px",threshold:t2(0,t1(1,c))||1},A=!0;function b(r){let s=r[0].intersectionRatio;if(!ig(d,i.getBoundingClientRect()))return h();if(s!==c){if(!A)return h();s?h(!1,s):n=setTimeout(()=>{h(!1,1e-7)},1e3)}A=!1}try{a=new IntersectionObserver(b,{...f,root:o.ownerDocument})}catch(i){a=new IntersectionObserver(b,f)}a.observe(i)}let c=eP(i),d=()=>h(s);return c.addEventListener("resize",d),h(!0),()=>{c.removeEventListener("resize",d),l()}}function ib(i,r,s,n){let a;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:h="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,u=e5(i),p=o||l?[...u?e1(u):[],...r?e1(r):[]]:[];p.forEach(i=>{o&&i.addEventListener("scroll",s),l&&i.addEventListener("resize",s)});let m=u&&c?iA(u,s,l):null,g=-1,f=null;h&&(f=new ResizeObserver(i=>{let[n]=i;n&&n.target===u&&f&&r&&(f.unobserve(r),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var i;null==(i=f)||i.observe(r)})),s()}),u&&!d&&f.observe(u),r&&f.observe(r));let A=d?e7(i):null;function b(){let r=e7(i);A&&!ig(A,r)&&s(),A=r,a=requestAnimationFrame(b)}return d&&b(),s(),()=>{var i;p.forEach(i=>{o&&i.removeEventListener("scroll",s),l&&i.removeEventListener("resize",s)}),null==m||m(),null==(i=f)||i.disconnect(),f=null,d&&cancelAnimationFrame(a)}}let iy=ek,ix=eN,iE=eC,iT=eL,iC=eI,iv=eT,iS=eM,iI=(i,r,s)=>{let n=new Map,a=null!=s?s:{},o={...im,...a.platform,_c:n};return eE(i,r,{...a,platform:o})};var iw=c,i_=z,ik=function(){},iN="u">typeof document?iw.useLayoutEffect:ik;function iM(i,r){let s,n,a;if(i===r)return!0;if(typeof i!=typeof r)return!1;if("function"==typeof i&&i.toString()===r.toString())return!0;if(i&&r&&"object"==typeof i){if(Array.isArray(i)){if((s=i.length)!==r.length)return!1;for(n=s;0!=n--;)if(!iM(i[n],r[n]))return!1;return!0}if((s=(a=Object.keys(i)).length)!==Object.keys(r).length)return!1;for(n=s;0!=n--;)if(!({}).hasOwnProperty.call(r,a[n]))return!1;for(n=s;0!=n--;){let s=a[n];if(("_owner"!==s||!i.$$typeof)&&!iM(i[s],r[s]))return!1}return!0}return i!=i&&r!=r}function iL(i){return"u"<typeof window?1:(i.ownerDocument.defaultView||window).devicePixelRatio||1}function iD(i,r){let s=iL(i);return Math.round(r*s)/s}function iO(i){let r=iw.useRef(i);return iN(()=>{r.current=i}),r}function iP(i){void 0===i&&(i={});let{placement:r="bottom",strategy:s="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:l}={},transform:h=!0,whileElementsMounted:c,open:d}=i,[u,p]=iw.useState({x:0,y:0,strategy:s,placement:r,middlewareData:{},isPositioned:!1}),[m,g]=iw.useState(n);iM(m,n)||g(n);let[f,A]=iw.useState(null),[b,y]=iw.useState(null),x=iw.useCallback(i=>{i!==v.current&&(v.current=i,A(i))},[]),E=iw.useCallback(i=>{i!==S.current&&(S.current=i,y(i))},[]),T=o||f,C=l||b,v=iw.useRef(null),S=iw.useRef(null),I=iw.useRef(u),w=null!=c,_=iO(c),k=iO(a),N=iO(d),M=iw.useCallback(()=>{if(!v.current||!S.current)return;let i={placement:r,strategy:s,middleware:m};k.current&&(i.platform=k.current),iI(v.current,S.current,i).then(i=>{let r={...i,isPositioned:!1!==N.current};L.current&&!iM(I.current,r)&&(I.current=r,i_.flushSync(()=>{p(r)}
43))})},[m,r,s,k,N]);iN(()=>{!1===d&&I.current.isPositioned&&(I.current.isPositioned=!1,p(i=>({...i,isPositioned:!1})))},[d]);let L=iw.useRef(!1);iN(()=>(L.current=!0,()=>{L.current=!1}),[]),iN(()=>{if(T&&(v.current=T),C&&(S.current=C),T&&C){if(_.current)return _.current(T,C,M);M()}},[T,C,M,_,w]);let D=iw.useMemo(()=>({reference:v,floating:S,setReference:x,setFloating:E}),[x,E]),O=iw.useMemo(()=>({reference:T,floating:C}),[T,C]),P=iw.useMemo(()=>{let i={position:s,left:0,top:0};if(!O.floating)return i;let r=iD(O.floating,u.x),n=iD(O.floating,u.y);return h?{...i,transform:"translate("+r+"px, "+n+"px)",...iL(O.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:r,top:n}},[s,h,O.floating,u.x,u.y]);return iw.useMemo(()=>({...u,update:M,refs:D,elements:O,floatingStyles:P}),[u,M,D,O,P])}let iR=i=>{function r(i){return({}).hasOwnProperty.call(i,"current")}return{name:"arrow",options:i,fn(s){let{element:n,padding:a}="function"==typeof i?i(s):i;return n&&r(n)?null!=n.current?iv({element:n.current,padding:a}).fn(s):{}:n?iv({element:n,padding:a}).fn(s):{}}}},iB=(i,r)=>{let s=iy(i);return{name:s.name,fn:s.fn,options:[i,r]}},iF=(i,r)=>{let s=ix(i);return{name:s.name,fn:s.fn,options:[i,r]}},iH=(i,r)=>({fn:iS(i).fn,options:[i,r]}),iG=(i,r)=>{let s=iE(i);return{name:s.name,fn:s.fn,options:[i,r]}},iU=(i,r)=>{let s=iT(i);return{name:s.name,fn:s.fn,options:[i,r]}},iY=(i,r)=>{let s=iC(i);return{name:s.name,fn:s.fn,options:[i,r]}},iW=(i,r)=>{let s=iR(i);return{name:s.name,fn:s.fn,options:[i,r]}};var ij=l,iz=Object.defineProperty,iX=(i,r)=>iz(i,"name",{value:r,configurable:!0}),iQ=c.forwardRef(iX(function(i,r){let{children:s,width:n=10,height:a=5,...o}=i;return(0,ij.jsx)(ta.svg,{...o,ref:r,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:i.asChild?s:(0,ij.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),iK=c;function iV(i){let[r,s]=iK.useState(void 0);return tV(()=>{if(i){s({width:i.offsetWidth,height:i.offsetHeight});let r=new ResizeObserver(r=>{let n,a;if(!Array.isArray(r)||!r.length)return;let o=r[0];if("borderBoxSize"in o){let i=o.borderBoxSize,r=Array.isArray(i)?i[0]:i;n=r.inlineSize,a=r.blockSize}else n=i.offsetWidth,a=i.offsetHeight;s({width:n,height:a})});return r.observe(i,{box:"border-box"}),()=>r.unobserve(i)}s(void 0)},[i]),r}var iq=l,iZ=Object.defineProperty,iJ=(i,r)=>iZ(i,"name",{value:r,configurable:!0}),i$="Popper",[i0,i1]=U(i$),[i2,i3]=i0(i$),i5=iJ(i=>{let{__scopePopper:r,children:s}=i,[n,a]=t$.useState(null),[o,l]=t$.useState(void 0);return(0,iq.jsx)(i2,{scope:r,anchor:n,onAnchorChange:a,placementState:o,setPlacementState:l,children:s})},"Popper"),i4="PopperAnchor",i8=t$.forwardRef(iJ(function(i,r){let{__scopePopper:s,virtualRef:n,...a}=i,o=i3(i4,s),l=t$.useRef(null),h=o.onAnchorChange,c=F(r,t$.useCallback(i=>{l.current=i,i&&h(i)},[h])),d=t$.useRef(null);t$.useEffect(()=>{if(!n)return;let i=d.current;d.current=n.current,i!==d.current&&h(d.current)});let u=o.placementState&&ra(o.placementState),p=u?.[0],m=u?.[1];return n?null:(0,iq.jsx)(ta.div,{"data-radix-popper-side":p,"data-radix-popper-align":m,...a,ref:c})},"PopperAnchor")),i6="PopperContent",[i9,i7]=i0(i6),rt=t$.forwardRef(iJ(function(i,r){let{__scopePopper:s,side:n="bottom",sideOffset:a=0,align:o="center",alignOffset:l=0,arrowPadding:h=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:g="optimized",onPlaced:f,...A}=i,b=i3(i6,s),[y,x]=t$.useState(null),E=F(r,x),[T,C]=t$.useState(null),v=iV(T),S=v?.width??0,I=v?.height??0,w=n+("center"!==o?"-"+o:""),_="number"==typeof u?u:{top:0,right:0,bottom:0,left:0,...u},k=Array.isArray(d)?d:[d],N=k.length>0,M={padding:_,boundary:k.filter(rs),altBoundary:N},{refs:L,floatingStyles:D,placement:O,isPositioned:P,middlewareData:R}=iP({strategy:"fixed",placement:w,whileElementsMounted:iJ((...i)=>ib(...i,{animationFrame:"always"===g}),"whileElementsMounted"),elements:{reference:b.anchor},middleware:[iB({mainAxis:a+I,alignmentAxis:l}),c&&iF({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?iH():void 0,...M}),c&&iG({...M}),iU({...M,apply:iJ(({elements:i,rects:r,availableWidth:s,availableHeight:n})=>{let{width:a,height:o}=r.reference,l=i.floating.style;l.setProperty("--radix-popper-available-width",`${s}px`),l.setProperty("--radix-popper-available-height",`${n}px`),l.setProperty("--radix-popper-anchor-width",`${a}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)},"apply")}),T&&iW({element:T,padding:h}),rn({arrowWidth:S,arrowHeight:I}),m&&iY({strategy:"referenceHidden",...M,boundary:N?M.boundary:void 0})]}),B=b.setPlacementState;tV(()=>(B(O),()=>{B(void 0)}),[O,B]);let[H,G]=ra(O),U=th(f);tV(()=>{P&&U?.()},[P,U]);let Y=R.arrow?.x,W=R.arrow?.y,j=R.arrow?.centerOffset!==0,[z,X]=t$.useState();return tV(()=>{y&&X(window.getComputedStyle(y).zIndex)},[y]),(0,iq.jsx)("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:P?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:(0,iq.jsx)(i9,{scope:s,placedSide:H,placedAlign:G,onArrowChange:C,arrowX:Y,arrowY:W,shouldHideArrow:j,children:(0,iq.jsx)(ta.div,{"data-side":H,"data-align":G,...A,ref:E,style:{...A.
43style,animation:P?A.style?.animation:"none"}})})})},"PopperContent")),re="PopperArrow",ri={top:"bottom",right:"left",bottom:"top",left:"right"},rr=t$.forwardRef(iJ(function(i,r){let{__scopePopper:s,...n}=i,a=i7(re,s),o=ri[a.placedSide];return(0,iq.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,iq.jsx)(iQ,{...n,ref:r,style:{...n.style,display:"block"}})})},"PopperArrow"));function rs(i){return null!==i}iJ(rs,"isNotNull");var rn=iJ(i=>({name:"transformOrigin",options:i,fn(r){let{placement:s,rects:n,middlewareData:a}=r,o=a.arrow?.centerOffset!==0,l=o?0:i.arrowWidth,h=o?0:i.arrowHeight,[c,d]=ra(s),u={start:"0%",center:"50%",end:"100%"}[d],p=(a.arrow?.x??0)+l/2,m=(a.arrow?.y??0)+h/2,g="",f="";return"bottom"===c?(g=o?u:`${p}px`,f=`${-h}px`):"top"===c?(g=o?u:`${p}px`,f=`${n.floating.height+h}px`):"right"===c?(g=`${-h}px`,f=o?u:`${m}px`):"left"===c&&(g=`${n.floating.width+h}px`,f=o?u:`${m}px`),{data:{x:g,y:f}}}}),"transformOrigin");function ra(i){let[r,s="center"]=i.split("-");return[r,s]}iJ(ra,"getSideAndAlignFromPlacement");var ro=i5,rl=i8,rh=rt,rc=rr,rd=c,ru=z,rp=l,rm=Object.defineProperty,rg=(i,r)=>rm(i,"name",{value:r,configurable:!0}),rf=rd.forwardRef(rg(function(i,r){let{container:s,...n}=i,[a,o]=rd.useState(!1);tV(()=>o(!0),[]);let l=s||a&&globalThis?.document?.body;return l?ru.createPortal((0,rp.jsx)(ta.div,{...n,ref:r}),l):null},"Portal")),rA=c,rb=Object.defineProperty,ry=(i,r)=>rb(i,"name",{value:r,configurable:!0});function rx(i,r){return rA.useReducer((i,s)=>r[i][s]??i,i)}ry(rx,"useStateMachine");var rE=ry(i=>{let{present:r,children:s}=i,n=rT(r),a="function"==typeof s?s({present:n.isPresent}):rA.Children.only(s),o=rv(n.ref,rI(a));return"function"==typeof s||n.isPresent?rA.cloneElement(a,{ref:o}):null},"Presence");function rT(i){let[r,s]=rA.useState(),n=rA.useRef(null),a=rA.useRef(i),o=rA.useRef("none"),l=rA.useRef(void 0),[h,c]=rx(i?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return rA.useEffect(()=>{"mounted"===h?(o.current=l.current??rS(n.current),l.current=void 0):o.current="none"},[h]),tV(()=>{let r=n.current,s=a.current;if(s!==i){let n=o.current,h=rS(r);if(i)l.current=h,c("MOUNT");else if("none"===h||r?.display==="none")c("UNMOUNT");else{let i=n!==h;s&&i?c("ANIMATION_OUT"):c("UNMOUNT")}a.current=i}},[i,c]),tV(()=>{if(r){let i,s=r.ownerDocument.defaultView??window,l=ry(o=>{let l=rS(n.current).includes(CSS.escape(o.animationName));if(o.target===r&&l&&(c("ANIMATION_END"),!a.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",i=s.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),h=ry(i=>{i.target===r&&(o.current=rS(n.current))},"handleAnimationStart");return r.addEventListener("animationstart",h),r.addEventListener("animationcancel",l),r.addEventListener("animationend",l),()=>{s.clearTimeout(i),r.removeEventListener("animationstart",h),r.removeEventListener("animationcancel",l),r.removeEventListener("animationend",l)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:rA.useCallback(i=>{if(i){let r=getComputedStyle(i);n.current=r,l.current=rS(r)}else n.current=null;s(i)},[])}}function rC(i,r){if("function"==typeof i)return i(r);null!=i&&(i.current=r)}function rv(...i){let r=rA.useRef(i);return r.current=i,rA.useCallback(i=>{let s=r.current,n=!1,a=s.map(r=>{let s=rC(r,i);return n||"function"!=typeof s||(n=!0),s});if(n)return()=>{for(let i=0;i<a.length;i++){let r=a[i];"function"==typeof r?r():rC(s[i],null)}}},[])}function rS(i){return i?.animationName||"none"}function rI(i){let r=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?i.ref:(s=(r=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?i.props.ref:i.props.ref||i.ref}ry(rT,"usePresence"),ry(rC,"setRef"),ry(rv,"useStableComposedRefs"),ry(rS,"getAnimationName"),ry(rI,"getElementRef");var rw=c,r_=!1,rk=c,rN=rk[" useEffectEvent ".trim().toString()],rM=rk[" useInsertionEffect ".trim().toString()];function rL(i){if("function"==typeof rN)return rN(i);let r=rk.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof rM?rM(()=>{r.current=i}):tV(()=>{r.current=i}),rk.useMemo(()=>(...i)=>
43r.current?.(...i),[])}var rD=Object.defineProperty,rO=(i,r)=>rD(i,"name",{value:r,configurable:!0}),rP=rw[" useInsertionEffect ".trim().toString()]||tV;function rR({prop:i,defaultProp:r,onChange:s=rO(()=>{},"onChange"),caller:n}){let[a,o,l]=rB({defaultProp:r,onChange:s}),h=void 0!==i,c=h?i:a;if(r_){let r=rw.useRef(void 0!==i);rw.useEffect(()=>{let i=r.current;if(i!==h){let r=i?"controlled":"uncontrolled",s=h?"controlled":"uncontrolled";console.warn(`${n} is changing from ${r} to ${s}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=h},[h,n])}return[c,rw.useCallback(r=>{if(h){let s=rF(r)?r(i):r;s!==i&&l.current?.(s)}else o(r)},[h,i,o,l])]}function rB({defaultProp:i,onChange:r}){let[s,n]=rw.useState(i),a=rw.useRef(s),o=rw.useRef(r);return rP(()=>{o.current=r},[r]),rw.useEffect(()=>{a.current!==s&&(o.current?.(s),a.current=s)},[s,a]),[s,n,o]}function rF(i){return"function"==typeof i}rO(rR,"useControllableState"),rO(rB,"useUncontrolledState"),rO(rF,"isFunction");var rH=Symbol("RADIX:SYNC_STATE");rO(function(i,r,s,n){let{prop:a,defaultProp:o,onChange:l,caller:h}=r,c=void 0!==a,d=rL(l);if(r_){let i=rw.useRef(void 0!==a);rw.useEffect(()=>{let r=i.current;if(r!==c){let i=r?"controlled":"uncontrolled",s=c?"controlled":"uncontrolled";console.warn(`${h} is changing from ${i} to ${s}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}i.current=c},[c,h])}let u=[{...s,state:o}];n&&u.push(n);let[p,m]=rw.useReducer((r,s)=>{if(s.type===rH)return{...r,state:s.state};let n=i(r,s);return c&&!Object.is(n.state,r.state)&&d(n.state),n},...u),g=p.state,f=rw.useRef(g);rw.useEffect(()=>{f.current!==g&&(f.current=g,c||d(g))},[g,f,c]);let A=rw.useMemo(()=>void 0!==a?{...p,state:a}:p,[p,a]);return rw.useEffect(()=>{c&&!Object.is(a,p.state)&&m({type:rH,state:a})},[a,p.state,c]),[A,m]},"useControllableStateReducer");var rG=function(i){return"u"<typeof document?null:(Array.isArray(i)?i[0]:i).ownerDocument.body},rU=new WeakMap,rY=new WeakMap,rW={},rj=0,rz=function(i){return i&&(i.host||rz(i.parentNode))},rX=function(i,r){return r.map(function(r){if(i.contains(r))return r;var s=rz(r);return s&&i.contains(s)?s:(console.error("aria-hidden",r,"in not contained inside",i,". Doing nothing"),null)}).filter(function(i){return!!i})},rQ=function(i,r,s,n){var a=rX(r,Array.isArray(i)?i:[i]);rW[s]||(rW[s]=new WeakMap);var o=rW[s],l=[],h=new Set,c=new Set(a),d=function(i){!i||h.has(i)||(h.add(i),d(i.parentNode))};a.forEach(d);var u=function(i){!i||c.has(i)||Array.prototype.forEach.call(i.children,function(i){if(h.has(i))u(i);else try{var r=i.getAttribute(n),a=null!==r&&"false"!==r,c=(rU.get(i)||0)+1,d=(o.get(i)||0)+1;rU.set(i,c),o.set(i,d),l.push(i),1===c&&a&&rY.set(i,!0),1===d&&i.setAttribute(s,"true"),a||i.setAttribute(n,"true")}catch(r){console.error("aria-hidden: cannot operate on ",i,r)}})};return u(r),h.clear(),rj++,function(){l.forEach(function(i){var r=rU.get(i)-1,a=o.get(i)-1;rU.set(i,r),o.set(i,a),r||(rY.has(i)||i.removeAttribute(n),rY.delete(i)),a||i.removeAttribute(s)}),--rj||(rU=new WeakMap,rU=new WeakMap,rY=new WeakMap,rW={})}},rK=function(i,r,s){void 0===s&&(s="data-aria-hidden");var n=Array.from(Array.isArray(i)?i:[i]),a=r||rG(i);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),rQ(n,a,s,"aria-hidden")):function(){return null}},rV=function(){return(rV=Object.assign||function(i){for(var r,s=1,n=arguments.length;s<n;s++)for(var a in r=arguments[s])Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i}).apply(this,arguments)};function rq(i,r){var s={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&0>r.indexOf(n)&&(s[n]=i[n]);if(null!=i&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(i);a<n.length;a++)0>r.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(i,n[a])&&(s[n[a]]=i[n[a]]);return s}function rZ(i,r,s){if(s||2==arguments.length)for(var n,a=0,o=r.length;a<o;a++)!n&&a in r||(n||(n=Array.prototype.slice.call(r,0,a)),n[a]=r[a]);return i.concat(n||Array.prototype.slice.call(r))}var rJ=("function"==typeof SuppressedError&&SuppressedError,c),r$=c,r0="right-scroll-bar-position",r1="width-before-scroll-bar",r2="with-scroll-bars-hidden",r3="--removed-body-scroll-bar-size",r5=c;function r4(i,r){return"function"==typeof i?i(r):i&&(i.current=r),i}var r8=c;function r6(i,r){var s=(0,r8.useState)(function(){return{value:i,callback:r,facade:{get current(){return s.value},set current(value){var n=s.value;n!==value&&(s.value=value,s.callback(value,n))}}}})[0];return s.callback=r,s.facade}var r9="u">typeof window?r5.useLayoutEffect:r5.useEffect,r7=new WeakMap;
43function st(i,r){var s=r6(r||null,function(r){return i.forEach(function(i){return r4(i,r)})});return r9(function(){var r=r7.get(s);if(r){var n=new Set(r),a=new Set(i),o=s.current;n.forEach(function(i){a.has(i)||r4(i,null)}),a.forEach(function(i){n.has(i)||r4(i,o)})}r7.set(s,i)},[i]),s}function se(i){return i}function si(i,r){void 0===r&&(r=se);var s=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:i},useMedium:function(i){var a=r(i,n);return s.push(a),function(){s=s.filter(function(i){return i!==a})}},assignSyncMedium:function(i){for(n=!0;s.length;){var r=s;s=[],r.forEach(i)}s={push:function(r){return i(r)},filter:function(){return s}}},assignMedium:function(i){n=!0;var r=[];if(s.length){var a=s;s=[],a.forEach(i),r=s}var o=function(){var s=r;r=[],s.forEach(i)},l=function(){return Promise.resolve().then(o)};l(),s={push:function(i){r.push(i),l()},filter:function(i){return r=r.filter(i),s}}}}}var sr=(void 0===s&&(s={}),(n=si(null)).options=rV({async:!0,ssr:!1},s),n),ss=function(){},sn=r$.forwardRef(function(i,r){var s=r$.useRef(null),n=r$.useState({onScrollCapture:ss,onWheelCapture:ss,onTouchMoveCapture:ss}),a=n[0],o=n[1],l=i.forwardProps,h=i.children,c=i.className,d=i.removeScrollBar,u=i.enabled,p=i.shards,m=i.sideCar,g=i.noRelative,f=i.noIsolation,A=i.inert,b=i.allowPinchZoom,y=i.as,x=void 0===y?"div":y,E=i.gapMode,T=rq(i,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=m,v=st([s,r]),S=rV(rV({},T),a);return r$.createElement(r$.Fragment,null,u&&r$.createElement(C,{sideCar:sr,removeScrollBar:d,shards:p,noRelative:g,noIsolation:f,inert:A,setCallbacks:o,allowPinchZoom:!!b,lockRef:s,gapMode:E}),l?r$.cloneElement(r$.Children.only(h),rV(rV({},S),{ref:v})):r$.createElement(x,rV({},S,{className:c,ref:v}),h))});sn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},sn.classNames={fullWidth:r1,zeroRight:r0};var sa=c,so=function(i){var r=i.sideCar,s=rq(i,["sideCar"]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=r.read();if(!n)throw Error("Sidecar medium not found");return sa.createElement(n,rV({},s))};function sl(i,r){return i.useMedium(r),so}so.isSideCarExport=!0;var sh=c,sc=c,sd=c,su=function(){return o||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0)};function sp(){if(!document)return null;var i=document.createElement("style");i.type="text/css";var r=su();return r&&i.setAttribute("nonce",r),i}function sm(i,r){i.styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r))}function sg(i){(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}var sf=function(){var i=0,r=null;return{add:function(s){0==i&&(r=sp())&&(sm(r,s),sg(r)),i++},remove:function(){--i||!r||(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},sA=function(){var i=sf();return function(r,s){sd.useEffect(function(){return i.add(r),function(){i.remove()}},[r&&s])}},sb=function(){var i=sA();return function(r){return i(r.styles,r.dynamic),null}},sy={left:0,top:0,right:0,gap:0},sx=function(i){return parseInt(i||"",10)||0},sE=function(i){var r=window.getComputedStyle(document.body),s=r["padding"===i?"paddingLeft":"marginLeft"],n=r["padding"===i?"paddingTop":"marginTop"],a=r["padding"===i?"paddingRight":"marginRight"];return[sx(s),sx(n),sx(a)]},sT=function(i){if(void 0===i&&(i="margin"),"u"<typeof window)return sy;var r=sE(i),s=document.documentElement.clientWidth,n=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,n-s+r[2]-r[0])}},sC=sb(),sv="data-scroll-locked",sS=function(i,r,s,n){var a=i.left,o=i.top,l=i.right,h=i.gap;return void 0===s&&(s="margin"),"\n .".concat(r2," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(h,"px ").concat(n,";\n }\n body[").concat(sv,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([r&&"position: relative ".concat(n,";"),"margin"===s&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(h,"px ").concat(n,";\n "),"padding"===s&&"padding-right: ".concat(h,"px ").concat(n,";
43")].filter(Boolean).join(""),"\n }\n \n .").concat(r0," {\n right: ").concat(h,"px ").concat(n,";\n }\n \n .").concat(r1," {\n margin-right: ").concat(h,"px ").concat(n,";\n }\n \n .").concat(r0," .").concat(r0," {\n right: 0 ").concat(n,";\n }\n \n .").concat(r1," .").concat(r1," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(sv,"] {\n ").concat(r3,": ").concat(h,"px;\n }\n")},sI=function(){var i=parseInt(document.body.getAttribute(sv)||"0",10);return isFinite(i)?i:0},sw=function(){sc.useEffect(function(){return document.body.setAttribute(sv,(sI()+1).toString()),function(){var i=sI()-1;i<=0?document.body.removeAttribute(sv):document.body.setAttribute(sv,i.toString())}},[])},s_=function(i){var r=i.noRelative,s=i.noImportant,n=i.gapMode,a=void 0===n?"margin":n;sw();var o=sc.useMemo(function(){return sT(a)},[a]);return sc.createElement(sC,{styles:sS(o,!r,a,s?"":"!important")})},sk=!1;if("u">typeof window)try{var sN=Object.defineProperty({},"passive",{get:function(){return sk=!0,!0}});window.addEventListener("test",sN,sN),window.removeEventListener("test",sN,sN)}catch(i){sk=!1}var sM=!!sk&&{passive:!1},sL=function(i){return"TEXTAREA"===i.tagName},sD=function(i,r){if(!(i instanceof Element))return!1;var s=window.getComputedStyle(i);return"hidden"!==s[r]&&!(s.overflowY===s.overflowX&&!sL(i)&&"visible"===s[r])},sO=function(i){return sD(i,"overflowY")},sP=function(i){return sD(i,"overflowX")},sR=function(i,r){var s=r.ownerDocument,n=r;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),sH(i,n)){var a=sG(i,n);if(a[1]>a[2])return!0}n=n.parentNode}while(n&&n!==s.body)return!1},sB=function(i){return[i.scrollTop,i.scrollHeight,i.clientHeight]},sF=function(i){return[i.scrollLeft,i.scrollWidth,i.clientWidth]},sH=function(i,r){return"v"===i?sO(r):sP(r)},sG=function(i,r){return"v"===i?sB(r):sF(r)},sU=function(i,r){return"h"===i&&"rtl"===r?-1:1},sY=function(i,r,s,n,a){var o=sU(i,window.getComputedStyle(r).direction),l=o*n,h=s.target,c=r.contains(h),d=!1,u=l>0,p=0,m=0;do{if(!h)break;var g=sG(i,h),f=g[0],A=g[1]-g[2]-o*f;(f||A)&&sH(i,h)&&(p+=A,m+=f);var b=h.parentNode;h=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!c&&h!==document.body||c&&(r.contains(h)||r===h))return u&&(a&&1>Math.abs(p)||!a&&l>p)?d=!0:!u&&(a&&1>Math.abs(m)||!a&&-l>m)&&(d=!0),d},sW=function(i){return"changedTouches"in i?[i.changedTouches[0].clientX,i.changedTouches[0].clientY]:[0,0]},sj=function(i){return[i.deltaX,i.deltaY]},sz=function(i){return i&&"current"in i?i.current:i},sX=function(i,r){return i[0]===r[0]&&i[1]===r[1]},sQ=function(i){return"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")},sK=0,sV=[];function sq(i){for(var r=null;null!==i;)i instanceof ShadowRoot&&(r=i.host,i=i.host),i=i.parentNode;return r}let sZ=sl(sr,function(i){var r=sh.useRef([]),s=sh.useRef([0,0]),n=sh.useRef(),a=sh.useState(sK++)[0],o=sh.useState(sb)[0],l=sh.useRef(i);sh.useEffect(function(){l.current=i},[i]),sh.useEffect(function(){if(i.inert){document.body.classList.add("block-interactivity-".concat(a));var r=rZ([i.lockRef.current],(i.shards||[]).map(sz),!0).filter(Boolean);return r.forEach(function(i){return i.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),r.forEach(function(i){return i.classList.remove("allow-interactivity-".concat(a))})}}},[i.inert,i.lockRef.current,i.shards]);var h=sh.useCallback(function(i,r){if("touches"in i&&2===i.touches.length||"wheel"===i.type&&i.ctrlKey)return!l.current.allowPinchZoom;var a,o=sW(i),h=s.current,c="deltaX"in i?i.deltaX:h[0]-o[0],d="deltaY"in i?i.deltaY:h[1]-o[1],u=i.target,p=Math.abs(c)>Math.abs(d)?"h":"v";if("touches"in i&&"h"===p&&"range"===u.type)return!1;var m=window.getSelection(),g=m&&m.anchorNode;if(g&&(g===u||g.contains(u)))return!1;var f=sR(p,u);if(!f)return!0;if(f?a=p:(a="v"===p?"h":"v",f=sR(p,u)),!f)return!1;if(!n.current&&"changedTouches"in i&&(c||d)&&(n.current=a),!a)return!0;var A=n.current||a;return sY(A,r,i,"h"===A?c:d,!0)},[]),c=sh.useCallback(function(i){var s=i;if(sV.length&&sV[sV.length-1]===o){var n="deltaY"in s?sj(s):sW(s),a=r.current.filter(function(i){return i.name===s.type&&(i.target===s.target||s.target===i.shadowParent)&&sX(i.delta,n)})[0];
43if(a&&a.should){s.cancelable&&s.preventDefault();return}if(!a){var c=(l.current.shards||[]).map(sz).filter(Boolean).filter(function(i){return i.contains(s.target)});(c.length>0?h(s,c[0]):!l.current.noIsolation)&&s.cancelable&&s.preventDefault()}}},[]),d=sh.useCallback(function(i,s,n,a){var o={name:i,delta:s,target:n,should:a,shadowParent:sq(n)};r.current.push(o),setTimeout(function(){r.current=r.current.filter(function(i){return i!==o})},1)},[]),u=sh.useCallback(function(i){s.current=sW(i),n.current=void 0},[]),p=sh.useCallback(function(r){d(r.type,sj(r),r.target,h(r,i.lockRef.current))},[]),m=sh.useCallback(function(r){d(r.type,sW(r),r.target,h(r,i.lockRef.current))},[]);sh.useEffect(function(){return sV.push(o),i.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,sM),document.addEventListener("touchmove",c,sM),document.addEventListener("touchstart",u,sM),function(){sV=sV.filter(function(i){return i!==o}),document.removeEventListener("wheel",c,sM),document.removeEventListener("touchmove",c,sM),document.removeEventListener("touchstart",u,sM)}},[]);var g=i.removeScrollBar,f=i.inert;return sh.createElement(sh.Fragment,null,f?sh.createElement(o,{styles:sQ(a)}):null,g?sh.createElement(s_,{noRelative:i.noRelative,gapMode:i.gapMode}):null)});var sJ=rJ.forwardRef(function(i,r){return rJ.createElement(sn,rV({},i,{ref:r,sideCar:sZ}))});sJ.classNames=sn.classNames;let s$=sJ;var s0=l,s1=Object.defineProperty,s2=(i,r)=>s1(i,"name",{value:r,configurable:!0}),s3="Popover",[s5,s4]=U(s3,[i1]),s8=i1(),[s6,s9]=s5(s3),s7=s2(i=>{let{__scopePopover:r,children:s,open:n,defaultOpen:a,onOpenChange:o,modal:l=!1}=i,h=s8(r),c=w.useRef(null),[d,u]=w.useState(!1),[p,m]=rR({prop:n,defaultProp:a??!1,onChange:o,caller:s3});return(0,s0.jsx)(ro,{...h,children:(0,s0.jsx)(s6,{scope:r,contentId:tJ(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:w.useCallback(()=>m(i=>!i),[m]),hasCustomAnchor:d,onCustomAnchorAdd:w.useCallback(()=>u(!0),[]),onCustomAnchorRemove:w.useCallback(()=>u(!1),[]),modal:l,children:s})})},"Popover"),nt="PopoverTrigger",ne=w.forwardRef(s2(function(i,r){let{__scopePopover:s,...n}=i,a=s9(nt,s),o=s8(s),l=F(r,a.triggerRef),h=(0,s0.jsx)(ta.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":np(a.open),...n,ref:l,onClick:M(i.onClick,a.onOpenToggle)});return a.hasCustomAnchor?h:(0,s0.jsx)(rl,{asChild:!0,...o,children:h})},"PopoverTrigger")),ni="PopoverPortal",[nr,ns]=s5(ni,{forceMount:void 0}),nn=s2(i=>{let{__scopePopover:r,forceMount:s,children:n,container:a}=i,o=s9(ni,r);return(0,s0.jsx)(nr,{scope:r,forceMount:s,children:(0,s0.jsx)(rE,{present:s||o.open,children:(0,s0.jsx)(rf,{asChild:!0,container:a,children:n})})})},"PopoverPortal"),na="PopoverContent",no=w.forwardRef(s2(function(i,r){let s=ns(na,i.__scopePopover),{forceMount:n=s.forceMount,...a}=i,o=s9(na,i.__scopePopover);return(0,s0.jsx)(rE,{present:n||o.open,children:o.modal?(0,s0.jsx)(nh,{...a,ref:r}):(0,s0.jsx)(nc,{...a,ref:r})})},"PopoverContent")),nl=Q("PopoverContent.RemoveScroll"),nh=w.forwardRef(s2(function(i,r){let s=s9(na,i.__scopePopover),n=w.useRef(null),a=F(r,n),o=w.useRef(!1);return w.useEffect(()=>{let i=n.current;if(i)return rK(i)},[]),(0,s0.jsx)(s$,{as:nl,allowPinchZoom:!0,children:(0,s0.jsx)(nd,{...i,ref:a,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:M(i.onCloseAutoFocus,i=>{i.preventDefault(),o.current||s.triggerRef.current?.focus()}),onPointerDownOutside:M(i.onPointerDownOutside,i=>{let r=i.detail.originalEvent,s=0===r.button&&!0===r.ctrlKey;o.current=2===r.button||s},{checkForDefaultPrevented:!1}),onFocusOutside:M(i.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),nc=w.forwardRef(s2(function(i,r){let s=s9(na,i.__scopePopover),n=w.useRef(!1),a=w.useRef(!1);return(0,s0.jsx)(nd,{...i,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{i.onCloseAutoFocus?.(r),r.defaultPrevented||(n.current||s.triggerRef.current?.focus(),r.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:r=>{i.onInteractOutside?.(r),r.defaultPrevented||(n.current=!0,"pointerdown"===r.detail.originalEvent.type&&(a.current=!0));let o=r.target;s.triggerRef.current?.contains(o)&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&a.current&&r.preventDefault()}})},"PopoverContentNonModal")),nd=w.forwardRef(s2(function(i,r){let{__scopePopover:s,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:l,onEscapeKeyDown:h,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:u,...p}=i,m=s9(na,s),g=s8(s);return tI(),(0,s0.jsx)(tP,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,s0.jsx)(tA,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:u,onEscapeKeyDown:h,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,s0.jsx)(rh,{"data-state":np(m.open),role:"dialog",id:m.contentId,...g,...p,ref:r,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl")),nu=w.forwardRef(s2(function(i,r){let{__scopePopover:s,...n}=i,a=s8(s);return(0,s0.jsx)(rc,{...a,...n,ref:r})},"PopoverArrow"));function np(i){return i?"open":"closed"}s2(np,"getState");var nm=s7,ng=ne,nf=nn,nA=no,nb=nu,ny=T,nx=i.i(56966);let nE=({children:i,content:r})=>{let{type:s,texte:n}=r,[a,o]=(0,S.useState)(!1),[l,h]=(0,S.useState)("start"),c=(0,S.useRef)(null),d=(0,S.useRef)(null),u=(0,S.useId)(),p=(0,I.useTranslations)("elements-activables"),m=()=>{o(i=>!i)},g=i=>{"Escape"===i.key&&(i.preventDefault(),m())};return(0,S.useEffect)(()=>{function i(){c.current&&(c.current.getBoundingClientRect().left+300>window.innerWidth?h("end"):h("start"))}function r(i){c.current?.contains(i.target)||d.current?.contains(i.target)||o(!1)}return i(),window.addEventListener("resize",i),a?document.addEventListener("mousedown",r):document.removeEventListener("mousedown",r),()=>{window.removeEventListener("resize",i),document.removeEventListener("mousedown",r)}},[a,o,c,d]),(0,v.jsxs)(nm,{open:a,children:[(0,v.jsx)(ng,{asChild:!0,children:(0,v.jsx)("button",{ref:c,onClick:m,className:"cursor-help underline decoration-dotted underline-offset-4 outline-none hover:bg-bleu-old-tooltip focus:bg-bleu-old-tooltip","aria-label":`${n[0].texte??""} (${p(s).toLowerCase()})`,"aria-describedby":`tooltip-${u}`,children:(0,v.jsx)(ny.default,{content:n})})}),(0,v.jsx)(nf,{children:(0,v.jsxs)(nA,{id:`tooltip-${u}`,ref:d,role:"tooltip",side:"bottom",align:l,sideOffset:5,avoidCollisions:!1,className:"tooltip z-10 w-120 rounded-lg bg-bleu-old-tooltip p-4 wrap-break-word text-bleu-texte shadow-xl","data-testid":"tooltip-content",children:[(0,v.jsxs)("div",{className:"flex items-start justify-between",children:[(0,v.jsxs)("h3",{children:[`${p(s)} : `,(0,v.jsx)(ny.default,{content:n})]}),(0,v.jsx)("button",{onClick:m,onKeyDown:g,"aria-label":p("fermer-infobulle"),className:"p-1 text-bleu-texte hover:text-noir-texte hover:outline-1 hover:outline-dashed focus:outline-1 focus:outline-dashed",children:(0,v.jsx)(nx.RiCloseFill,{size:18,className:"thicker","aria-hidden":!0,role:"presentation",focusable:"false"})})]}),i??(0,v.jsx)(v.Fragment,{}),(0,v.jsx)(nb,{className:"fill-bleu-old-tooltip"})]})})]})}},37657,49974,64899,63906,i=>{"use strict";i.s(["default",()=>o],49974);var r=i.i(34552);let s=()=>(0,r.jsx)(r.Fragment,{children:"Â "});i.s(["default",0,s],37657);var n=r,a=i.i(8286);let o=({content:i})=>{let{locale:r,children:s}=i;return(0,n.jsx)("span",{lang:r,className:"italic",children:(0,n.jsx)(a.default,{content:s})})};function l(i,r){let s=document.querySelector(i);if(s){let i=s.closest("section[data-tab-name]"),n=i?.getAttribute("data-tab-name");if(n)return r(n),setTimeout(()=>{s.scrollIntoView({behavior:"smooth"})},10),!0}return!1}i.s(["scrollToHash",0,l],64899);let h=["consulter","presentation","telechargement","documentation","dictionnaire-variables","insee-mesures"],c=["avertissements-methodologiques","documents-methodologiques","documentation-pour-comprendre","sources","methodes","definitions","champs","geographies","nomenclatures"];i.s(["DOCUMENTATION_TAB",0,c,"TAB_NAMES",0,h],63906)},4813,8286,i=>{"use strict";i.s(["BaseLien",()=>u,"ContentLien",()=>m,"isInternalUrl",()=>p],4813),i.s(["default",()=>c],8286);var r=i.i(34552),s=i.i(94364),n=i.i(43108),a=i.i(17360),o=i.i(7284),l=r,h=i.i(56082);let c=({content:i})=>(0,l.jsx)(l.Fragment,{children:i.map((i,r)=>(0,l.jsx)(h.default,{content:i},r))});var d=i.i(56966);let u=({children:i,url:l,isExternal:h,underline:c,style:u,labelledBy:p})=>{let m=(0,s.useTranslations)("accessibilite-general"),g=l.includes("www.insee.fr"),f=/^(\/fr\/|\/en\/)/.test(l),A=l;return((h||g)&&!f&&!l.startsWith("http")&&(A=`https://${l}`),f||g)?(0,r.jsx)(a.default,{href:A,className:(0,o.default)(c&&"hover:underline focus:underline",u),"aria-labelledby":p,children:i}):h?(0,r.jsxs)(a.default,{href:A,target:"_blank",rel:"noopener noreferrer",className:(0,o.default)("inline-flex flex-row items-center",c&&"hover:underline focus:underline",u),"aria-labelledby":p,children:[i,(0,r.jsx)(d.RiExternalLinkLine,{"aria-label":m("lien-externe"),className:"mx-2",size:16})]}):(0,r.jsx)(n.Link,{href:A,className:(0,o.default)(c&&"hover:underline focus:underline",u),"aria-labelledby":p,children:i})};function p(i){let r=i.includes("www.insee.fr"),s=/^(\/fr\/|\/en\/)/.test(i);return r||s}let m=({content:i,underline:s})=>{let{isExternal:n,url:a,texte:o}=i;return(0,r.jsx)(u,{url:a,isExternal:n,underline:s,children:(0,r.jsx)(c,{content:o})})}},14667,i=>{"use strict";var r=i.i(34552);let s={italic:i=>(0,r.jsx)("i",{children:i}),bold:i=>
43(0,r.jsx)("b",{children:i}),sub:i=>(0,r.jsx)("sub",{children:i}),sup:i=>(0,r.jsx)("sup",{children:i})},n=({content:i})=>{let{styles:n,texte:a}=i,o=a;for(let i of Object.keys(n))n[i]&&(o=(0,s[i])(o));return(0,r.jsx)(r.Fragment,{children:o})};i.s(["default",0,n])},52667,i=>{"use strict";i.s([]),i.i(56082),i.i(8286)},24469,i=>{"use strict";let r=i=>{switch(i.type){case"texte":return i.texte;case"lien":case"ancre":case"lien_definition":case"lien_infobulle":return s(i.texte);case"lang":return s(i.children);default:return" "}},s=i=>i.map(i=>r(i)).join("");i.s(["getRawText",0,s])},99716,67202,i=>{"use strict";var r=i.i(34552),s=i.i(83741);let n=({title:i})=>(0,r.jsx)("b",{id:"title-"+(0,s.toHref)(i),className:"mx-auto block w-fit rounded-3xl bg-blanc px-sm py-xs text-md font-bold",children:i});i.s(["BubbleTitle",0,n],67202),i.s([],99716)},29729,90294,i=>{"use strict";i.i(34552),i.i(67202),i.i(83741),i.i(93408),i.i(81815),i.i(43108),i.s([],29729),i.i(56966),i.i(7284),i.s([],90294)},42911,38008,44108,i=>{"use strict";i.s([],42911),i.s(["default",()=>b],44108),i.s(["SOCIAL_MEDIA_SHARE_LINKS",()=>m,"ShareLinks",()=>f],38008);var r=i.i(34552),s=i.i(7284);i.i(99716),i.i(29729),i.i(90294);var n=r;i.i(52667);var a=i.i(24469),o=i.i(97658),l=i.i(94364),h=i.i(43108),c=i.i(29802),d=i.i(56966),u=s;let p=24,m=[{icon:(0,n.jsx)(d.RiBlueskyFill,{size:p,"aria-hidden":!0,role:"presentation",focusable:"false"}),translationKey:"bluesky"},{icon:(0,n.jsx)(d.RiLinkedinBoxFill,{size:p,"aria-hidden":!0,role:"presentation",focusable:"false"}),translationKey:"linkedin"},{icon:(0,n.jsx)(d.RiTwitterXFill,{size:p,"aria-hidden":!0,role:"presentation",focusable:"false"}),translationKey:"x"}],g=(i,r,s)=>{let n=encodeURIComponent(r),a=encodeURIComponent(s);switch(i){case"bluesky":return`https://bsky.app/intent/compose?text=${a}%20${n}`;case"linkedin":return`https://www.linkedin.com/shareArticle?mini=true&url=${n}&title=${a}`;case"x":return`https://x.com/intent/post?url=${n}&text=${a}`}},f=({title:i})=>{let r=(0,l.useTranslations)("partager"),s=(0,l.useTranslations)("accessibilite-general"),d="string"==typeof i?i:(0,a.getRawText)(i),p="www.insee.fr/"+(0,o.useLocale)()+((0,h.usePathname)()??"");return(0,n.jsx)(c.default,{id:"share-links",title:r("titre"),variant:"share-links",children:(0,n.jsx)("div",{className:(0,u.default)("mt-sm mb-0 list-none rounded-xl bg-bleu-sec-60 p-sm","relative before:absolute before:-top-sm before:left-1/3 before:border-r-8 before:border-b-16 before:border-l-8","before:border-r-transparent before:border-b-bleu-sec-60 before:border-l-transparent"),children:m.map(({icon:i,translationKey:a})=>(0,n.jsxs)(h.Link,{"data-testid":a+"-test-id","aria-label":r(a)+" - "+s("lien-externe"),href:g(a,p,d),className:(0,u.default)("rounded-xl text-md font-normal text-noir-texte","flex items-center gap-sm p-xs","hover:bg-bleu-sec-20 focus:bg-bleu-sec-20"),rel:"noopener noreferrer",target:"_blank",children:[i,r(a)]},a+"-share"))})})};var A=i.i(5435);let b=({gridStyle:i,summaryStyle:n,summary:a,mainStyle:o,main:l,isOnlySummaryLayout:h,asideStyle:c,aside:d,addShareButton:u})=>(0,r.jsxs)("div",{className:(0,s.default)("max-w-[1266px]","mx-lg flex flex-col gap-md md:mx-auto md:px-sm",a&&"md:grid md:grid-cols-[30%_5%_65%] md:gap-0",!h&&"lg:grid lg:grid-cols-[23%_3%_51%_6%_17%] lg:gap-0",i??""),children:[a&&(0,r.jsx)("aside",{className:n??"flex flex-col gap-sm",children:a}),(0,r.jsxs)("div",{className:(0,s.default)("md:col-start-3",o??""),"data-testid":"grid-main",children:[u&&(0,r.jsx)(A.default,{show:"mobile",isLargeBreakpoint:!0,children:(0,r.jsx)("div",{className:"mb-sm flex justify-end",children:(0,r.jsx)(f,{title:u.pageTitle})})}),l]}),(d||u)&&(0,r.jsxs)("aside",{className:(0,s.default)(c??"flex flex-col gap-sm","md:col-start-3","lg:col-start-5"),children:[u&&(0,r.jsx)(A.default,{show:"desktop",isLargeBreakpoint:!0,children:(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(f,{title:u.pageTitle})})}),d]})]})},23382,78495,i=>{"use strict";var r=i.i(34552),s=i.i(86024),n=i.i(56966),a=i.i(7284);let o=i=>i.toLowerCase().includes("graph")?(0,r.jsx)(n.RiLineChartLine,{size:20,"aria-hidden":!0,role:"presentation",focusable:"false"}):i.toLowerCase().includes("table")?(0,r.jsx)(n.RiTable2,{size:20,"aria-hidden":!0,role:"presentation",focusable:"false"}):null,l=({label:i,tabs:n,currentIndex:l,displayTab:h,uniqueId:c})=>{let d=i=>{("ArrowRight"===i.key||"Tab"===i.key&&!i.shiftKey)&&l<n.length-1&&(h(l+1),(0,s.focusElementById)(`tab-${c}-${l+1}`),i.preventDefault()),("ArrowLeft"===i.key||"Tab"===i.key&&i.shiftKey)&&l>0&&(h(l-1),(0,s.focusElementById)(`tab-${c}-${l-1}`),i.preventDefault())};return(0,r.jsx)("div",{role:"tablist","aria-label":i,className:"flex flex-row gap-xs sm:gap-sm",children:n.map((i,s)=>{let n=l===s;return(0,r.jsxs)("button",{onClick:()=>h(s),role:"tab","aria-selected":n,"aria-controls":`panel-${c}-${s}`,id:`tab-${c}-${s}`,tabIndex:n?0:-1,onKeyDown:d,className:(0,a.default)("cursor-pointer rounded-4xl border border-bleu-100","flex items-center gap-xs px-sm py-xs text-center text-md font-semibold","duration-500 ease-in-out motion-safe:transition-all",n?"bg-bleu-100 text-blanc hover:border-bleu hover:bg-bleu focus:border-bleu focus:bg-bleu":"bg-blanc text-noir-texte hover:bg-bleu-sec-60 hover:text-bleu-texte hover:ring-1 hover:ring-bleu-100"),children:[o(i),i]},`${i}-${s}`)})})};i.s(["default",0,l],23382);var h=r;let c=({children:i,index:r,uniqueId:s,visible:n,...a})=>(0,h.jsx)("div",{...a,id:`panel-${s}-${r}`,role:"tabpanel","aria-labelledby":`tab-${s}-${r}`,hidden:!n,tabIndex:0,children:i});i.s(["default",0,c],78495)},54468,i=>{"use strict";let r=5;i.s(["VIEWPORT_HEIGHT",0,r])},24287,i=>{"use strict";function r(i){return{type:"texte",texte:i,styles:{}}}function s(i,s){return{type:"lien",isExternal:!1,url:i,texte:[r(s)]}}i.s(["asLienProps",0,s,"asTexteInlineContent",0,r])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.